diff --git a/src/Makefile.global.in b/src/Makefile.global.in index c890fe174314f5862d6bd6543f7e42821f4ed014..a3f3d0e465c12e5660429d30288eb11c194d4e42 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -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 diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample index 30a8c78d9576f49022af270ae3b5dcf1f3b09265..bb0d34f4019556ce6920fbe7f0e58c480b8f7ff2 100644 --- a/src/backend/libpq/pg_hba.conf.sample +++ b/src/backend/libpq/pg_hba.conf.sample @@ -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 diff --git a/src/backend/libpq/pg_ident.conf.sample b/src/backend/libpq/pg_ident.conf.sample index 9baff6a1910c9bab19b742863a00af2fa7b9aa56..f0e9481a1d4dadff969373c5fd871070f511bb19 100644 --- a/src/backend/libpq/pg_ident.conf.sample +++ b/src/backend/libpq/pg_ident.conf.sample @@ -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 diff --git a/src/build b/src/build index b51cb259564429d31e39f5f0bbede590743f80e3..e1b83df907bb003e2f4f0ca7ce510af922f479e9 100644 --- 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} diff --git a/src/configure b/src/configure index 66bf7652e5fb29d87bc0d5e9e4a82b7d14af7482..ec243c3e93704ef05c213045fca8dbe5b7320b8f 100755 --- a/src/configure +++ b/src/configure @@ -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 diff --git a/src/configure.in b/src/configure.in index 5011652ab0813e311da44ee66e3ec27b33f67066..e25f6f206af732771ec4272510500eb967b8c853 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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 diff --git a/src/template/aix b/src/template/aix index 229e7c429500c3ae092362b92918dc49d9ad94f8..96b68d7c587df3e92c7a8d028458e3aca9776963 100644 --- a/src/template/aix +++ b/src/template/aix @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/alpha b/src/template/alpha index 9600955e98daaad1115789733aa95dbe66ad5817..a8e22c8cbed2a17c60b1f9182778d8b75008bfcb 100644 --- a/src/template/alpha +++ b/src/template/alpha @@ -12,3 +12,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/bsdi b/src/template/bsdi index 9382e5a03783e6dfc3b36d1d4f6ff881bd5ec398..6c00b239ae39f8744efafe9c9d7dfa1c8ddb899d 100644 --- a/src/template/bsdi +++ b/src/template/bsdi @@ -6,3 +6,5 @@ SRCH_INC:/usr/local/include SRCH_LIB:/usr/local/lib USE_LOCALE:no DLSUFFIX:.o +YFLAGS:-d +YACC: diff --git a/src/template/bsdi-2.1 b/src/template/bsdi-2.1 index ca4be08a5cd2c6c0ca6bed5a0ce8845df1e3b022..2a089e29fcc67d38eed559d1ef566d05f541b84c 100644 --- a/src/template/bsdi-2.1 +++ b/src/template/bsdi-2.1 @@ -6,3 +6,5 @@ SRCH_INC:/usr/local/include SRCH_LIB:/usr/local/lib USE_LOCALE:no DLSUFFIX:.o +YFLAGS:-d +YACC: diff --git a/src/template/dgux b/src/template/dgux index 12eacc9694b97bbc05db3b442618feda440f0e56..ad9c1d0e2c8defa6b618768fd46d330fed4b5b93 100644 --- a/src/template/dgux +++ b/src/template/dgux @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC:bison -y diff --git a/src/template/freebsd b/src/template/freebsd index feff9e248f6499fc28edb6c80b4819955dacb786..4e14205422755d3b0ebe1ed5f1fefc16e122df3a 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -5,3 +5,5 @@ SRCH_INC:/usr/local/include SRCH_LIB:/usr/local/lib USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC:bison -y diff --git a/src/template/generic b/src/template/generic index 7df8389b2328ce7eeef682db2fd8b012d758997e..6260bc0dcb358210cf2a3e52198d65a3112f4faf 100644 --- a/src/template/generic +++ b/src/template/generic @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/hpux-cc b/src/template/hpux-cc index 27bea8a58ea8cba3402d657c53b833b01bf4f217..621687929fb1782f0e1dc3a57a61a47919aa7d3a 100644 --- a/src/template/hpux-cc +++ b/src/template/hpux-cc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.sl +YFLAGS:-d +YACC: diff --git a/src/template/hpux-gcc b/src/template/hpux-gcc index c685b01a9c8993ebd9598f6732aa1a77c4cabffb..9915ba5b5b7b32d4e22ade965b5534040fd079ce 100644 --- a/src/template/hpux-gcc +++ b/src/template/hpux-gcc @@ -7,3 +7,5 @@ SRCH_LIB: USE_LOCALE:no DL_LIB:/usr/lib/libdld.sl DLSUFFIX:.sl +YFLAGS:-d +YACC: diff --git a/src/template/i386_solaris-cc b/src/template/i386_solaris-cc index 574d16a7fd743e48c699e0d3faf3c605ba8f6f25..0b957d293d8817acc53783a7eba54cffd954c249 100644 --- a/src/template/i386_solaris-cc +++ b/src/template/i386_solaris-cc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/i386_solaris-gcc b/src/template/i386_solaris-gcc index 36f87789c932099712554db0c807edf88f5e516a..73a51db6780153d37df76b39fde932fe72823eb0 100644 --- a/src/template/i386_solaris-gcc +++ b/src/template/i386_solaris-gcc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/irix5 b/src/template/irix5 index 7df8389b2328ce7eeef682db2fd8b012d758997e..6260bc0dcb358210cf2a3e52198d65a3112f4faf 100644 --- a/src/template/irix5 +++ b/src/template/irix5 @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/linux b/src/template/linux index 12eacc9694b97bbc05db3b442618feda440f0e56..26d2d7969b4d4da9e98fa8f9a62d26f677fdc71e 100644 --- a/src/template/linux +++ b/src/template/linux @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/linux-elf b/src/template/linux-elf index 241e6c34e4ccf0bdc430a9f0609d86fa26d11410..86ae0f833c0eb8a0a8ac4e6d2178185404318682 100644 --- a/src/template/linux-elf +++ b/src/template/linux-elf @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.o +YFLAGS:-d +YACC: diff --git a/src/template/nextstep b/src/template/nextstep index fb70ef397f3d2c58d6dd08b0e76fd90d93005a18..6a6e169c2443ce258a9b32e7b77e64e2f08d36d8 100644 --- a/src/template/nextstep +++ b/src/template/nextstep @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.o +YFLAGS:-d +YACC: diff --git a/src/template/sparc_solaris-cc b/src/template/sparc_solaris-cc index 37eee8f568c40a379a654dbf524086db7431efae..b0a80e42256858ff5757989786a4569a30855f70 100644 --- a/src/template/sparc_solaris-cc +++ b/src/template/sparc_solaris-cc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/sparc_solaris-gcc b/src/template/sparc_solaris-gcc index 574d16a7fd743e48c699e0d3faf3c605ba8f6f25..0b957d293d8817acc53783a7eba54cffd954c249 100644 --- a/src/template/sparc_solaris-gcc +++ b/src/template/sparc_solaris-gcc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/sunos4-cc b/src/template/sunos4-cc index 155a026ad480afb821b1059cf089b9e71f39f7c8..f1c51a104c60d6de100d3c408dde2a22dfbf5586 100644 --- a/src/template/sunos4-cc +++ b/src/template/sunos4-cc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/sunos4-gcc b/src/template/sunos4-gcc index d43a41a83a72ac5aaea51d86aaeba29e7750cbb7..3c094643de3d62cb160628e27f6cb9e41d91164a 100644 --- a/src/template/sunos4-gcc +++ b/src/template/sunos4-gcc @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC: diff --git a/src/template/svr4 b/src/template/svr4 index f22a6350866666591e7bcca278bbd9450edc106e..136e10c93a47742d56e9596f356427e266e53ba6 100644 --- a/src/template/svr4 +++ b/src/template/svr4 @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC:bison -y diff --git a/src/template/ultrix4 b/src/template/ultrix4 index 79fb9e839a3bddefd80272c8690c2485e1e3d920..e5bcdad82d14252d23193a32f87a46789d7d34cb 100644 --- a/src/template/ultrix4 +++ b/src/template/ultrix4 @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.o +YFLAGS:-d +YACC: diff --git a/src/template/univel b/src/template/univel index 255e9a7ee14e24127ca2db099ff0c95073071d41..6c1cb2a476a21b4c64c53e3f59235d297cee974d 100644 --- a/src/template/univel +++ b/src/template/univel @@ -6,3 +6,5 @@ SRCH_INC: SRCH_LIB: USE_LOCALE:no DLSUFFIX:.so +YFLAGS:-d +YACC:bison -y