OSDN Git Service

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 c890fe1..a3f3d0e 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 30a8c78..bb0d34f 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 9baff6a..f0e9481 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 b51cb25..e1b83df 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 66bf765..ec243c3 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 5011652..e25f6f2 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 229e7c4..96b68d7 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 9600955..a8e22c8 100644 (file)
@@ -12,3 +12,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 9382e5a..6c00b23 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 ca4be08..2a089e2 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 12eacc9..ad9c1d0 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
index feff9e2..4e14205 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 7df8389..6260bc0 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 27bea8a..6216879 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.sl
+YFLAGS:-d
+YACC:
index c685b01..9915ba5 100644 (file)
@@ -7,3 +7,5 @@ SRCH_LIB:
 USE_LOCALE:no
 DL_LIB:/usr/lib/libdld.sl
 DLSUFFIX:.sl
+YFLAGS:-d
+YACC:
index 574d16a..0b957d2 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 36f8778..73a51db 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 7df8389..6260bc0 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 12eacc9..26d2d79 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 241e6c3..86ae0f8 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index fb70ef3..6a6e169 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index 37eee8f..b0a80e4 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 574d16a..0b957d2 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index 155a026..f1c51a1 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index d43a41a..3c09464 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:
index f22a635..136e10c 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y
index 79fb9e8..e5bcdad 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.o
+YFLAGS:-d
+YACC:
index 255e9a7..6c1cb2a 100644 (file)
@@ -6,3 +6,5 @@ SRCH_INC:
 SRCH_LIB:
 USE_LOCALE:no
 DLSUFFIX:.so
+YFLAGS:-d
+YACC:bison -y