]> granicus.if.org Git - postgresql/commitdiff
Move YACC and YFLAGS into the template files
authorMarc G. Fournier <scrappy@hub.org>
Fri, 4 Apr 1997 11:23:15 +0000 (11:23 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 4 Apr 1997 11:23:15 +0000 (11:23 +0000)
Clean up the .sample files...comment out all sample entries except for
the localhost one

28 files changed:
src/Makefile.global.in
src/backend/libpq/pg_hba.conf.sample
src/backend/libpq/pg_ident.conf.sample
src/build
src/configure
src/configure.in
src/template/aix
src/template/alpha
src/template/bsdi
src/template/bsdi-2.1
src/template/dgux
src/template/freebsd
src/template/generic
src/template/hpux-cc
src/template/hpux-gcc
src/template/i386_solaris-cc
src/template/i386_solaris-gcc
src/template/irix5
src/template/linux
src/template/linux-elf
src/template/nextstep
src/template/sparc_solaris-cc
src/template/sparc_solaris-gcc
src/template/sunos4-cc
src/template/sunos4-gcc
src/template/svr4
src/template/ultrix4
src/template/univel

index c890fe174314f5862d6bd6543f7e42821f4ed014..a3f3d0e465c12e5660429d30288eb11c194d4e42 100644 (file)
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.18 1997/04/04 10:38:23 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.19 1997/04/04 11:21:39 scrappy Exp $
 #
 # NOTES
 #    Essentially all Postgres make files include this file and use the 
@@ -198,11 +198,6 @@ X11_INCDIR= /usr/include
 X11_LIBDIR= /usr/lib
 X11_LIB= -lX11 @SOCKET_LIB@ @NSL_LIB@
 
-##############################################################################
-#
-#  YACC
-
-YFLAGS= -d
 
 ##############################################################################
 #
@@ -247,6 +242,8 @@ endif
 # See the subdirectory template for default settings for these
 #-------------------------------------------------------------
 CC= @CC@
+YFLAGS= @YFLAGS@
+YACC= @YACC@
 LEX= @LEX@
 AROPT= @AROPT@
 CFLAGS= @CPPFLAGS@ @CFLAGS@
@@ -306,9 +303,6 @@ endif
 ifeq ($(PORTNAME), dgux)
 %.so: %.o
        $(CC) -shared -o $@ $<
-
-YACC= bison -y
-
 endif
 
 #----------------------------------------------------------------------------
@@ -342,11 +336,8 @@ endif
 #--------------------------------------------------------------------------
 
 ifeq ($(PORTNAME), i386_solaris)
-# cc won't work!
-
 %.so: %.o
        $(LD) -G -Bdynamic -o $@ $<
-
 endif
 
 #----------------------------------------------------------------------------
@@ -384,17 +375,13 @@ endif
 #----------------------------------------------------------------------------
 
 ifeq ($(PORTNAME), sparc_solaris)
-
 %.so: %.o
        $(LD) -G -Bdynamic -o $@ $<
-
 endif
 
 #-----------------------------------------------------------------------------
 
 ifeq ($(PORTNAME), svr4)
-YACC= bison -y
-
 # MAKE_EXPORTS is required for svr4 loaders that want a file of
 # symbol names to tell them what to export/import.
 MAKE_EXPORTS= true
@@ -420,8 +407,6 @@ endif
 #      The univel port is almost guaranteed NOT to work yet.
 #
 ifeq ($(PORTNAME), univel)
-YACC= bison -y
-
 # MAKE_EXPORTS is required for svr4 loaders that want a file of
 # symbol names to tell them what to export/import.
 #MAKE_EXPORTS= true
index 30a8c78d9576f49022af270ae3b5dcf1f3b09265..bb0d34f4019556ce6920fbe7f0e58c480b8f7ff2 100644 (file)
@@ -80,7 +80,7 @@ host         all         127.0.0.1     255.255.255.255   trust
 # The above allows any user on the local system to connect to any database
 # under any username.
  
-host         template1   192.168.0.0   255.255.255.0     ident     sameuser
+#host         template1   192.168.0.0   255.255.255.0     ident     sameuser
  
 # The above allows any user from any host with IP address 192.168.0.x to
 # connect to database template1 as the same username that ident on that host
index 9baff6a1910c9bab19b742863a00af2fa7b9aa56..f0e9481a1d4dadff969373c5fd871070f511bb19 100644 (file)
@@ -19,7 +19,7 @@
 # A user always has to specify when he connects what Postgres username he is
 # using.  This file is only used to validate that selection.
 
-testmap   robert   bob
-testmap   lucy     lucy
+#testmap   robert   bob
+#testmap   lucy     lucy
 
 
index b51cb259564429d31e39f5f0bbede590743f80e3..e1b83df907bb003e2f4f0ca7ce510af922f479e9 100644 (file)
--- a/src/build
+++ b/src/build
@@ -35,6 +35,8 @@ else
        USE_LOCALE=`grep USE_LOCALE $TEMPLATE | awk -F: '{print $2}'`
        DLSUFFIX=`grep DLSUFFIX $TEMPLATE | awk -F: '{print $2}'`
        DL_LIB=`grep DL_LIB $TEMPLATE | awk -F: '{print $2}'`
+       YACC=`grep YACC $TEMPLATE | awk -F: '{print $2}'`
+       YFLAGS=`grep YFLAGS $TEMPLATE | awk -F: '{print $2}'`
 fi
 
 $ECHO_N "Additional directories to search for .h files [$SRCH_INC]: $ECHO_C"
@@ -70,6 +72,7 @@ then
         IDIR=${a}
 fi
 
+echo ""
 echo "Define USE_LOCALE to get Postgres work (sort, search)"
 $ECHO_N "with national alphabet. [$USE_LOCALE]: $ECHO_C"
 read a
@@ -105,8 +108,8 @@ then
         NOHBA=${a}
 fi
 
-export BUILDRUN USE_LOCALE DEF_PGPORT NOHBA AROPT DLSUFFIX DL_LIB
-export SHARED_LIB CFLAGS CPPFLAGS LDFLAGS
+export BUILDRUN USE_LOCALE DEF_PGPORT NOHBA AROPT DLSUFFIX DL_LIB YACC
+export SHARED_LIB CFLAGS CPPFLAGS LDFLAGS YFLAGS
 
 ./configure --prefix=${IDIR}
 
index 66bf7652e5fb29d87bc0d5e9e4a82b7d14af7482..ec243c3e93704ef05c213045fca8dbe5b7320b8f 100755 (executable)
@@ -3642,6 +3642,8 @@ s%@AROPT@%$AROPT%g
 s%@SHARED_LIB@%$SHARED_LIB%g
 s%@DLSUFFIX@%$DLSUFFIX%g
 s%@DL_LIB@%$DL_LIB%g
+s%@YACC@%$YACC%g
+s%@YFLAGS@%$YFLAGS%g
 s%@HAVECXX@%$HAVECXX%g
 s%@INSTALL@%$INSTALL%g
 s%@BSDINST@%$BSDINST%g
index 5011652ab0813e311da44ee66e3ec27b33f67066..e25f6f206af732771ec4272510500eb967b8c853 100644 (file)
@@ -59,8 +59,8 @@ AC_SUBST(SHARED_LIB)
 AC_SUBST(CFLAGS)
 AC_SUBST(DLSUFFIX)
 AC_SUBST(DL_LIB)
-
-
+AC_SUBST(YACC)
+AC_SUBST(YFLAGS)
 
 dnl ****************************************************************
 dnl Hold off on the C++ stuff until we can figure out why it doesn't 
index 229e7c429500c3ae092362b92918dc49d9ad94f8..96b68d7c587df3e92c7a8d028458e3aca9776963 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 9600955e98daaad1115789733aa95dbe66ad5817..a8e22c8cbed2a17c60b1f9182778d8b75008bfcb 100644 (file)
@@ -12,3 +12,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 9382e5a03783e6dfc3b36d1d4f6ff881bd5ec398..6c00b239ae39f8744efafe9c9d7dfa1c8ddb899d 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:/usr/local/include
 SRCH_LIB:/usr/local/lib
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index ca4be08a5cd2c6c0ca6bed5a0ce8845df1e3b022..2a089e29fcc67d38eed559d1ef566d05f541b84c 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:/usr/local/include
 SRCH_LIB:/usr/local/lib
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index 12eacc9694b97bbc05db3b442618feda440f0e56..ad9c1d0e2c8defa6b618768fd46d330fed4b5b93 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
index feff9e248f6499fc28edb6c80b4819955dacb786..4e14205422755d3b0ebe1ed5f1fefc16e122df3a 100644 (file)
@@ -5,3 +5,5 @@ SRCH_INC:/usr/local/include
 SRCH_LIB:/usr/local/lib
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
index 7df8389b2328ce7eeef682db2fd8b012d758997e..6260bc0dcb358210cf2a3e52198d65a3112f4faf 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 27bea8a58ea8cba3402d657c53b833b01bf4f217..621687929fb1782f0e1dc3a57a61a47919aa7d3a 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.sl
+YFLAGS:-d
+YACC:
index c685b01a9c8993ebd9598f6732aa1a77c4cabffb..9915ba5b5b7b32d4e22ade965b5534040fd079ce 100644 (file)
@@ -7,3 +7,5 @@ SRCH_LIB:
 USE_LOCALE:no
 DL_LIB:/usr/lib/libdld.sl
 DLSUFFIX:.sl
+YFLAGS:-d
+YACC:
index 574d16a7fd743e48c699e0d3faf3c605ba8f6f25..0b957d293d8817acc53783a7eba54cffd954c249 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 36f87789c932099712554db0c807edf88f5e516a..73a51db6780153d37df76b39fde932fe72823eb0 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 7df8389b2328ce7eeef682db2fd8b012d758997e..6260bc0dcb358210cf2a3e52198d65a3112f4faf 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 12eacc9694b97bbc05db3b442618feda440f0e56..26d2d7969b4d4da9e98fa8f9a62d26f677fdc71e 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 241e6c34e4ccf0bdc430a9f0609d86fa26d11410..86ae0f833c0eb8a0a8ac4e6d2178185404318682 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index fb70ef397f3d2c58d6dd08b0e76fd90d93005a18..6a6e169c2443ce258a9b32e7b77e64e2f08d36d8 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index 37eee8f568c40a379a654dbf524086db7431efae..b0a80e42256858ff5757989786a4569a30855f70 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 574d16a7fd743e48c699e0d3faf3c605ba8f6f25..0b957d293d8817acc53783a7eba54cffd954c249 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 155a026ad480afb821b1059cf089b9e71f39f7c8..f1c51a104c60d6de100d3c408dde2a22dfbf5586 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index d43a41a83a72ac5aaea51d86aaeba29e7750cbb7..3c094643de3d62cb160628e27f6cb9e41d91164a 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index f22a6350866666591e7bcca278bbd9450edc106e..136e10c93a47742d56e9596f356427e266e53ba6 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
index 79fb9e839a3bddefd80272c8690c2485e1e3d920..e5bcdad82d14252d23193a32f87a46789d7d34cb 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index 255e9a7ee14e24127ca2db099ff0c95073071d41..6c1cb2a476a21b4c64c53e3f59235d297cee974d 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y