diff --git a/src/Makefile.global.in b/src/Makefile.global.in index f114843eba05c992ce4f610b63a4d3510a424196..6edd0fc2b9acb74fd00f1abb3443eef6d713aa0d 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.16 1997/04/03 21:25:59 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.17 1997/04/04 07:57:45 scrappy Exp $ # # NOTES # Essentially all Postgres make files include this file and use the @@ -243,60 +243,22 @@ ifneq ($(wildcard $(SRCDIR)/Makefile.custom), ) include $(SRCDIR)/Makefile.custom endif -############################################################################# -# include port specific rules and variables. -# -# -# HISTORY: Before October 1996, this file included the following line: -# -include $(MKDIR)/port/postgres.mk.$(PORTNAME) -# Now, we instead have all the former contents of those .mk files inline -# with ifeq ($(PORTNAME) ...). This makes it easier to read the make -# files and to make certain updates. It should also help with the migration -# to autoconf. -Bryan - -# Since there are no longer separate files for each platform, much of the -# commonality among the platforms ought to be factored out of the following. - -############################################################################## -# -# AR - -ifneq (,$(findstring /$(PORTNAME)/, /BSD44_derived/bsdi/sparc/)) - AROPT = cq -else - AROPT = crs -endif - -############################################################################## -# -# Shared libraries. -# This is overridden for many PORTNAMEs below. - -DLSUFFIX= .so - -# -# CC -# +#------------------------------------------------------------- +# See the subdirectory template for default settings for these +#------------------------------------------------------------- CC= @CC@ - -# -# LEX -# LEX= @LEX@ - -CFLAGS= @CPPFLAGS@ +AROPT= @AROPT@ +CFLAGS= @CPPFLAGS@ @ALL@ +CFLAGS_SL= @SHARED_LIBS@ +CFLAGS_BE= @BACKEND@ LDFLAGS= @LDFLAGS@ LDADD_BE= @LIBS@ LD_ADD= $(LDADD_BE) +DLSUFFIX= @DLSUFFIX@ #---------------------------------------------------------------------- ifeq ($(PORTNAME), BSD44_derived) -# cc is gcc, but never mind about that... - -# FreeBSD 2.1R with new Flex v2.5.2 in /usr/local - -CFLAGS_SL= -fpic -DPIC - %.so: %.o $(LD) -x -r -o $<.obj $< @echo building shared object $@ @@ -316,17 +278,6 @@ ifeq ($(PORTNAME), aix) # symbol names to tell them what to export/import. MAKE_EXPORTS= true -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The -qmaxmem is because of optimizer limits. -# The HAVE_ANSI_CPP flag indicates that cc isn't ANSI but also doesn't -# have a Reiser (pcc-style) cpp. -# -CFLAGS_BE= -qchars=signed -qmaxmem=4000 - - EXPSUFF= .exp POSTGRES_EXP= $(SRCDIR)/backend/postgres$(EXPSUFF) @@ -349,57 +300,13 @@ endif #--------------------------------------------------------------------------- ifeq ($(PORTNAME), alpha) -# NOFIXADE disallows unaligned access. -# on Ultrix and OSF/1 it invokes an explicit syscall. -# on HP-UX it turns off certain compiler options. -# This is defined here because a bunch of clients include tmp/c.h, -# which is where the work is done on HP-UX. It only affects the -# backend on Ultrix and OSF/1. -ifdef ENFORCE_ALIGNMENT -CFLAGS_BE= -DNOFIXADE -else -CFLAGS_BE= -DNOPRINTADE -endif - -# use the regex library -USE_REGEX= 1 - %.so: %.o $(LD) -shared -expect_unresolved '*' -o $@ $< - -DASH_N= -BACKSLASH_C= '\\\\c' - -endif - -#--------------------------------------------------------------------------- - -ifeq ($(PORTNAME), bsdi) - -PRE_BSDI_2_1= false -ifeq ($(shell uname -r), 2.0) -PRE_BSDI_2_1= true -endif -ifeq ($(shell uname -r), 2.01) -PRE_BSDI_2_1= true -endif - -ifeq ($(PRE_BSDI_2_1), true) -# cc is gcc v1.42 -# gcc is gcc v2.6.3 -# use the regex library - USE_REGEX= 1 - CFLAGS_BE= -DPRE_BSDI_2_1 -endif - -DLSUFFIX= .o - endif #-------------------------------------------------------------------------- ifeq ($(PORTNAME), dgux) -CFLAGS_SL= -fpic %.so: %.o $(CC) -shared -o $@ $< @@ -410,50 +317,29 @@ endif #---------------------------------------------------------------------------- ifeq ($(PORTNAME), hpux) -# -W l,-E export symbols for linking with the shared libraries -# dynamic loader - -ifeq ($(CC), cc) - CFLAGS_BE= -W l,-E - LDFLAGS_BE= -W l,-E -endif -ifeq ($(CC), gcc) - LDADD_BE+= /usr/lib/libdld.sl -endif - -ifdef ENFORCE_ALIGNMENT - CFLAGS_BE= -DNOFIXADE -else - HPUX_VERS:= $(shell uname -r) - HPUX_MAJOR= ${HPUX_VERS:R:E} - HPUX_MINOR= ${HPUX_VERS:E} - ifeq ($(HPUX_MAJOR), 08) - CFLAGS_BE+= +u -DHP_S500_ALIGN - LDFLAGS_BE+= +u - else - ifeq ($(HPUX_MAJOR), 09) - ifeq ($(CC), cc) - CFLAGS_BE+= +u4 - LDFLAGS_BE+= +u4 - endif - endif - endif -endif -# (extended) ANSI flag for cc (-Ae is same as -Aa -D_HPUX_SOURCE) -ifeq ($(CC), cc) -CFLAGS_BE+= -Ae -endif - -CFLAGS_SL= +z -DLSUFFIX= .sl +#ifdef ENFORCE_ALIGNMENT +# CFLAGS_BE= -DNOFIXADE +#else +# HPUX_VERS:= $(shell uname -r) +# HPUX_MAJOR= ${HPUX_VERS:R:E} +# HPUX_MINOR= ${HPUX_VERS:E} +# ifeq ($(HPUX_MAJOR), 08) +# CFLAGS_BE+= +u -DHP_S500_ALIGN +# LDFLAGS_BE+= +u +# else +# ifeq ($(HPUX_MAJOR), 09) +# ifeq ($(CC), cc) +# CFLAGS_BE+= +u4 +# LDFLAGS_BE+= +u4 +# endif +# endif +# endif +#endif %.sl: %.o $(LD) -b -o $@ $< -DASH_N= '' -BACKSLASH_C= '\\\\c' - endif #-------------------------------------------------------------------------- @@ -461,27 +347,9 @@ endif ifeq ($(PORTNAME), i386_solaris) # cc won't work! -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -# This needs to be fixed. Things other than the backend should not be -# accessing headers in the backend directory. -CFLAGS_BE= -I$(SRCDIR)/backend/port/sparc_solaris - -ifeq ($(CC), cc) -CFLAGS_SL= -K PIC -else -CFLAGS_SL= -fPIC -endif - %.so: %.o $(LD) -G -Bdynamic -o $@ $< -DASH_N='' -BACKSLASH_C='\\\\c' - endif #---------------------------------------------------------------------------- @@ -494,26 +362,16 @@ RANLIB= touch %.so: %.o $(LD) -G -Bdynamic -o $@ $< $(LD_ADD) -DASH_N='' -BACKSLASH_C='\\\\c' - endif #--------------------------------------------------------------------------- ifeq ($(PORTNAME), linux) -ifndef LINUX_ELF -DLSUFFIX= .o -else -DLSUFFIX= .so +ifdef LINUX_ELF LDFLAGS_BE= -rdynamic endif MK_NO_LORDER= true -# use the regex library -USE_REGEX= 1 - -CFLAGS_SL= -fpic %.so: %.o $(CC) -shared -o $@ $< @@ -522,13 +380,6 @@ endif #--------------------------------------------------------------------------- ifeq ($(PORTNAME), sunos4) - -ifeq ($(CC), cc) -CFLAGS_SL= -PIC -else -CFLAGS_SL= -fPIC -endif - %.so: %.o $(LD) -dc -dp -Bdynamic -o $@ $< endif @@ -536,66 +387,34 @@ endif #---------------------------------------------------------------------------- ifeq ($(PORTNAME), sparc_solaris) -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -CFLAGS_BE= -I$(SRCDIR)/backend/port/sparc_solaris - -ifeq ($(CC), cc) -CFLAGS_SL= -K PIC -else -CFLAGS_SL= -fPIC -endif %.so: %.o $(LD) -G -Bdynamic -o $@ $< -DASH_N= '' -BACKSLASH_C= '\\\\c' - endif #----------------------------------------------------------------------------- ifeq ($(PORTNAME), svr4) -CFLAGS+= -W0 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 -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -CFLAGS_BE+= -I$(SRCDIR)/backend/port/svr4 LDADD_BE+= /usr/ucblib/libucb.a LDFLAGS_BE= -LD-Blargedynsym %.so: %.o $(LD) -G -Bdynamic -o $@ $< -DASH_N= '' -BACKSLASH_C= '\\\\c' endif #--------------------------------------------------------------------------- ifeq ($(PORTNAME), ultrix4) -ifdef ENFORCE_ALIGNMENT -CFLAGS_BE= -DNOFIXADE -endif - # install creates intermediate directories NO_BEFOREINSTL= true - -CFLAGS_SL= -G 0 -DLSUFFIX= .o - endif @@ -605,10 +424,6 @@ endif # The univel port is almost guaranteed NOT to work yet. # ifeq ($(PORTNAME), univel) -#CFLAGS+= -DHAVE_RUSAGE -DTRACEDEBUG -DASYNC_DEBUG -CFLAGS+= -DHAVE_RUSAGE -m486 -Dsvr4 -CFLAGS_SL= -fPIC - YACC= bison -y # @@ -621,29 +436,13 @@ LDADD= $(LD_ADD) # symbol names to tell them what to export/import. #MAKE_EXPORTS= true -# -# Random things that must be passed everywhere to enable -# everything to compile. :-/ -# -# The extra -I flag is to scoop up extra BSD-emulating headers. -CFLAGS_BE+= -I$(SRCDIR)/backend/port/univel - %.so: %.o $(LD) -G -Bdynamic -o $@ $< -DASH_N= '' -BACKSLASH_C= '\\\\c' - INSTALL= /usr/ucb/install endif -#--------------------------------------------------------------------------- -ifeq ($(PORTNAME), nextstep) -AROPT= rc -DLSUFFIX= .o -endif - # This goes here so that customization in Makefile.custom is effective ############################################################################## diff --git a/src/build b/src/build index 42e02df41678d3a61578dd90f42b82923282fcb3..69c85ab621ae4cf1aa6b7107e9f21dfca1c9f7b7 100644 --- a/src/build +++ b/src/build @@ -13,23 +13,53 @@ else ECHO_C='\c' fi -$ECHO_N "Additional directories to search for .h files []: $ECHO_C" +ls template +TEMPLATE=generic +$ECHO_N "Appropriate template file [$TEMPLATE]: $ECHO_C" read a -if [ "$a." = "." ] +if [ "$a." = " ." ] then - ADD_INC_DIRS= + echo "You must choose an appropriate template file" + exit else - ADD_INC_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g'` - INC_CFLAGS="$ADD_INC_DIRS" - CPPFLAGS="$ADD_INC_DIRS" ; export CPPFLAGS + if [ "$a." = "." ]; then + TEMPLATE=template/$TEMPLATE + else + TEMPLATE=template/$a + fi + AROPT=`grep AROPT $TEMPLATE | awk -F: '{print $2}'` + SHARED_LIBS=`grep SHARED_LIBS $TEMPLATE | awk -F: '{print $2}'` + ALL=`grep ALL $TEMPLATE | awk -F: '{print $2}'` + BACKEND=`grep BACKEND $TEMPLATE | awk -F: '{print $2}'` + SRCH_INC=`grep SRCH_INC $TEMPLATE | awk -F: '{print $2}'` + SRCH_LIB=`grep SRCH_LIB $TEMPLATE | awk -F: '{print $2}'` + USE_LOCALE=`grep USE_LOCALE $TEMPLATE | awk -F: '{print $2}'` fi -$ECHO_N "Additional directories to search for library files []: $ECHO_C" +$ECHO_N "Additional directories to search for .h files [$SRCH_INC]: $ECHO_C" read a -if [ "$a." != "." ] +if [ "$a." = " ." ] +then + CPPFLAGS= +else + if [ "$a." != "." ]; then + SRCH_INC = $a + fi + echo $a + CPPFLAGS=`echo "$SRCH_INC" | sed 's@ *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g'` +fi + +echo "" +$ECHO_N "Additional directories to search for library files [$SRCH_LIB]: $ECHO_C" +read a +if [ "$a." != " ." ] then - ADD_LIB_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g'` - LDFLAGS="$ADD_LIB_DIRS" ; export LDFLAGS + LDFLAGS= +else + if [ "$a." != "." ]; then + SRCH_LIB = $a + fi + LDFLAGS=`echo "$SRCH_LIB" | sed 's@ *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g'` fi IDIR=/usr/local/pgsql @@ -40,13 +70,16 @@ then IDIR=${a} fi -USE_LOCALE=no echo "Define USE_LOCALE to get Postgres work (sort, search)" $ECHO_N "with national alphabet. [$USE_LOCALE]: $ECHO_C" read a -if [ "$a." != "." ] +if [ "$a." != " ." ] then - USE_LOCALE=${a} + USE_LOCALE=no +else + if [ "$a." != "." ]; then + USE_LOCALE=$a + fi fi DEF_PGPORT=5432 @@ -72,7 +105,8 @@ then NOHBA=${a} fi -export BUILDRUN USE_LOCALE DEF_PGPORT NOHBA +export BUILDRUN USE_LOCALE DEF_PGPORT NOHBA AROPT +export SHARED_LIBS CFLAGS CPPFLAGS LDFLAGS ./configure --prefix=${IDIR} diff --git a/src/configure b/src/configure index bbd7c4c3b76c54d8f04b49a9fcd29f241280c8e5..17087525183e39e04045028b69f1fea8468d32b1 100755 --- a/src/configure +++ b/src/configure @@ -608,17 +608,10 @@ nextstep*) PORTNAME='nextstep';; esac - - - - - - - # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:622: checking for $ac_word" >&5 +echo "configure:615: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -647,7 +640,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:651: checking for $ac_word" >&5 +echo "configure:644: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -695,7 +688,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:699: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:692: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -705,11 +698,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -729,12 +722,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:726: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:738: checking whether we are using GNU C" >&5 +echo "configure:731: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -743,7 +736,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -758,7 +751,7 @@ if test $ac_cv_prog_gcc = yes; then ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:762: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:755: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -786,7 +779,7 @@ else fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:790: checking how to run the C preprocessor" >&5 +echo "configure:783: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -801,13 +794,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -818,13 +811,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -847,13 +840,24 @@ fi echo "$ac_t""$CPP" 1>&6 + + + + + + + + + + + HAVECXX='HAVE_Cplusplus=false' # Extract the first word of "install", so it can be a program name with args. set dummy install; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:857: checking for $ac_word" >&5 +echo "configure:861: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_INSTALL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -885,7 +889,7 @@ fi # Extract the first word of "bsdinst", so it can be a program name with args. set dummy bsdinst; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:889: checking for $ac_word" >&5 +echo "configure:893: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_BSDINST'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -948,7 +952,7 @@ fi # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:952: checking for $ac_word" >&5 +echo "configure:956: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -981,7 +985,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:985: checking for yywrap in -l$ac_lib" >&5 +echo "configure:989: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -989,7 +993,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1023,7 +1027,7 @@ fi fi echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1027: checking whether ln -s works" >&5 +echo "configure:1031: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1044,7 +1048,7 @@ else fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1048: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:1052: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1073,7 +1077,7 @@ fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1077: checking for $ac_word" >&5 +echo "configure:1081: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1102,7 +1106,7 @@ fi # Extract the first word of "find", so it can be a program name with args. set dummy find; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1106: checking for $ac_word" >&5 +echo "configure:1110: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_find'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1133,7 +1137,7 @@ fi # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1137: checking for $ac_word" >&5 +echo "configure:1141: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_tar'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1164,7 +1168,7 @@ fi # Extract the first word of "split", so it can be a program name with args. set dummy split; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1168: checking for $ac_word" >&5 +echo "configure:1172: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_split'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1195,7 +1199,7 @@ fi # Extract the first word of "etags", so it can be a program name with args. set dummy etags; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1199: checking for $ac_word" >&5 +echo "configure:1203: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_etags'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1226,7 +1230,7 @@ fi # Extract the first word of "xargs", so it can be a program name with args. set dummy xargs; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1230: checking for $ac_word" >&5 +echo "configure:1234: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_xargs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1257,7 +1261,7 @@ fi # Extract the first word of "ipcs", so it can be a program name with args. set dummy ipcs; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1261: checking for $ac_word" >&5 +echo "configure:1265: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ipcs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1288,7 +1292,7 @@ fi # Extract the first word of "ipcrm", so it can be a program name with args. set dummy ipcrm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1292: checking for $ac_word" >&5 +echo "configure:1296: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ipcrm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1318,7 +1322,7 @@ fi echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6 -echo "configure:1322: checking for main in -lcurses" >&5 +echo "configure:1326: checking for main in -lcurses" >&5 ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1326,14 +1330,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1361,7 +1365,7 @@ else fi echo $ac_n "checking for main in -ltermcap""... $ac_c" 1>&6 -echo "configure:1365: checking for main in -ltermcap" >&5 +echo "configure:1369: checking for main in -ltermcap" >&5 ac_lib_var=`echo termcap'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1369,14 +1373,14 @@ else ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1404,7 +1408,7 @@ else fi echo $ac_n "checking for main in -lhistory""... $ac_c" 1>&6 -echo "configure:1408: checking for main in -lhistory" >&5 +echo "configure:1412: checking for main in -lhistory" >&5 ac_lib_var=`echo history'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1412,14 +1416,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lhistory $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1447,7 +1451,7 @@ else fi echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6 -echo "configure:1451: checking for main in -lreadline" >&5 +echo "configure:1455: checking for main in -lreadline" >&5 ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1455,14 +1459,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lreadline $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1490,7 +1494,7 @@ else fi echo $ac_n "checking for write_history in -lreadline""... $ac_c" 1>&6 -echo "configure:1494: checking for write_history in -lreadline" >&5 +echo "configure:1498: checking for write_history in -lreadline" >&5 ac_lib_var=`echo readline'_'write_history | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1498,7 +1502,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lreadline $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1533,7 +1537,7 @@ else fi echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:1537: checking for main in -lm" >&5 +echo "configure:1541: checking for main in -lm" >&5 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1541,14 +1545,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1576,7 +1580,7 @@ else fi echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6 -echo "configure:1580: checking for main in -ldl" >&5 +echo "configure:1584: checking for main in -ldl" >&5 ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1584,14 +1588,14 @@ else ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1619,7 +1623,7 @@ else fi echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6 -echo "configure:1623: checking for main in -lsocket" >&5 +echo "configure:1627: checking for main in -lsocket" >&5 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1627,14 +1631,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1662,7 +1666,7 @@ else fi echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 -echo "configure:1666: checking for main in -lnsl" >&5 +echo "configure:1670: checking for main in -lnsl" >&5 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1670,14 +1674,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1705,7 +1709,7 @@ else fi echo $ac_n "checking for main in -lipc""... $ac_c" 1>&6 -echo "configure:1709: checking for main in -lipc" >&5 +echo "configure:1713: checking for main in -lipc" >&5 ac_lib_var=`echo ipc'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1713,14 +1717,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lipc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1748,7 +1752,7 @@ else fi echo $ac_n "checking for main in -lIPC""... $ac_c" 1>&6 -echo "configure:1752: checking for main in -lIPC" >&5 +echo "configure:1756: checking for main in -lIPC" >&5 ac_lib_var=`echo IPC'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1756,14 +1760,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lIPC $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1791,7 +1795,7 @@ else fi echo $ac_n "checking for main in -llc""... $ac_c" 1>&6 -echo "configure:1795: checking for main in -llc" >&5 +echo "configure:1799: checking for main in -llc" >&5 ac_lib_var=`echo lc'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1799,14 +1803,14 @@ else ac_save_LIBS="$LIBS" LIBS="-llc $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1834,7 +1838,7 @@ else fi echo $ac_n "checking for main in -ldld""... $ac_c" 1>&6 -echo "configure:1838: checking for main in -ldld" >&5 +echo "configure:1842: checking for main in -ldld" >&5 ac_lib_var=`echo dld'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1842,14 +1846,14 @@ else ac_save_LIBS="$LIBS" LIBS="-ldld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1877,7 +1881,7 @@ else fi echo $ac_n "checking for main in -lln""... $ac_c" 1>&6 -echo "configure:1881: checking for main in -lln" >&5 +echo "configure:1885: checking for main in -lln" >&5 ac_lib_var=`echo ln'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1885,14 +1889,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lln $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1920,7 +1924,7 @@ else fi echo $ac_n "checking for main in -lbsd""... $ac_c" 1>&6 -echo "configure:1924: checking for main in -lbsd" >&5 +echo "configure:1928: checking for main in -lbsd" >&5 ac_lib_var=`echo bsd'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1928,14 +1932,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lbsd $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1963,7 +1967,7 @@ else fi echo $ac_n "checking for main in -lld""... $ac_c" 1>&6 -echo "configure:1967: checking for main in -lld" >&5 +echo "configure:1971: checking for main in -lld" >&5 ac_lib_var=`echo ld'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1971,14 +1975,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2006,7 +2010,7 @@ else fi echo $ac_n "checking for main in -lcompat""... $ac_c" 1>&6 -echo "configure:2010: checking for main in -lcompat" >&5 +echo "configure:2014: checking for main in -lcompat" >&5 ac_lib_var=`echo compat'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2014,14 +2018,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lcompat $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2049,7 +2053,7 @@ else fi echo $ac_n "checking for main in -lBSD""... $ac_c" 1>&6 -echo "configure:2053: checking for main in -lBSD" >&5 +echo "configure:2057: checking for main in -lBSD" >&5 ac_lib_var=`echo BSD'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2057,14 +2061,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lBSD $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2092,7 +2096,7 @@ else fi echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 -echo "configure:2096: checking for main in -lcrypt" >&5 +echo "configure:2100: checking for main in -lcrypt" >&5 ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2100,14 +2104,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2135,7 +2139,7 @@ else fi echo $ac_n "checking for main in -lgen""... $ac_c" 1>&6 -echo "configure:2139: checking for main in -lgen" >&5 +echo "configure:2143: checking for main in -lgen" >&5 ac_lib_var=`echo gen'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2143,14 +2147,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lgen $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2179,12 +2183,12 @@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2183: checking for ANSI C header files" >&5 +echo "configure:2187: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2192,7 +2196,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2209,7 +2213,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2227,7 +2231,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2248,7 +2252,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2259,7 +2263,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else @@ -2283,12 +2287,12 @@ EOF fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:2287: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:2291: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2304,7 +2308,7 @@ wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:2308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@ -2328,17 +2332,17 @@ for ac_hdr in limits.h unistd.h termios.h values.h sys/select.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2332: checking for $ac_hdr" >&5 +echo "configure:2336: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2368,17 +2372,17 @@ for ac_hdr in readline.h history.h dld.h crypt.h endian.h float.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2372: checking for $ac_hdr" >&5 +echo "configure:2376: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2406,12 +2410,12 @@ done echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:2410: checking for working const" >&5 +echo "configure:2414: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -2481,12 +2485,12 @@ EOF fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2485: checking for uid_t in sys/types.h" >&5 +echo "configure:2489: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -2515,21 +2519,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:2519: checking for inline" >&5 +echo "configure:2523: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -2555,12 +2559,12 @@ EOF esac echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:2559: checking for mode_t" >&5 +echo "configure:2563: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2588,12 +2592,12 @@ EOF fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2592: checking for off_t" >&5 +echo "configure:2596: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2621,12 +2625,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2625: checking for size_t" >&5 +echo "configure:2629: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2654,12 +2658,12 @@ EOF fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:2658: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:2662: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2668,7 +2672,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:2672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -2689,12 +2693,12 @@ EOF fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:2693: checking whether struct tm is in sys/time.h or time.h" >&5 +echo "configure:2697: checking whether struct tm is in sys/time.h or time.h" >&5 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2702,7 +2706,7 @@ int main() { struct tm *tp; tp->tm_sec; ; return 0; } EOF -if { (eval echo configure:2706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else @@ -2724,16 +2728,16 @@ fi echo $ac_n "checking for int timezone""... $ac_c" 1>&6 -echo "configure:2728: checking for int timezone" >&5 +echo "configure:2732: checking for int timezone" >&5 cat > conftest.$ac_ext < int main() { int res = timezone / 60; ; return 0; } EOF -if { (eval echo configure:2737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cat >> confdefs.h <<\EOF #define HAVE_INT_TIMEZONE 1 @@ -2748,9 +2752,9 @@ fi rm -f conftest* echo $ac_n "checking for union semun""... $ac_c" 1>&6 -echo "configure:2752: checking for union semun" >&5 +echo "configure:2756: checking for union semun" >&5 cat > conftest.$ac_ext < #include @@ -2759,7 +2763,7 @@ int main() { union semun semun; ; return 0; } EOF -if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cat >> confdefs.h <<\EOF #define HAVE_UNION_SEMUN 1 @@ -2775,13 +2779,13 @@ rm -f conftest* if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:2779: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:2783: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP @@ -2799,7 +2803,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA @@ -2821,7 +2825,7 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 fi echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 -echo "configure:2825: checking for 8-bit clean memcmp" >&5 +echo "configure:2829: checking for 8-bit clean memcmp" >&5 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2829,7 +2833,7 @@ else ac_cv_func_memcmp_clean=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_memcmp_clean=yes else @@ -2857,12 +2861,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o" echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2861: checking return type of signal handlers" >&5 +echo "configure:2865: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2879,7 +2883,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:2883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -2898,12 +2902,12 @@ EOF echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:2902: checking for vprintf" >&5 +echo "configure:2906: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else @@ -2950,12 +2954,12 @@ fi if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:2954: checking for _doprnt" >&5 +echo "configure:2958: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else @@ -3005,12 +3009,12 @@ fi for ac_func in isinf tzset getrusage vfork memmove sigsetjmp kill sysconf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3009: checking for $ac_func" >&5 +echo "configure:3013: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3060,12 +3064,12 @@ done for ac_func in sigprocmask waitpid setsid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:3064: checking for $ac_func" >&5 +echo "configure:3068: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -3113,12 +3117,12 @@ fi done echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 -echo "configure:3117: checking for inet_aton" >&5 +echo "configure:3121: checking for inet_aton" >&5 if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_inet_aton=yes" else @@ -3165,12 +3169,12 @@ INET_ATON='inet_aton.o' fi echo $ac_n "checking for strerror""... $ac_c" 1>&6 -echo "configure:3169: checking for strerror" >&5 +echo "configure:3173: checking for strerror" >&5 if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strerror=yes" else @@ -3217,12 +3221,12 @@ STRERROR='strerror.o' fi echo $ac_n "checking for strdup""... $ac_c" 1>&6 -echo "configure:3221: checking for strdup" >&5 +echo "configure:3225: checking for strdup" >&5 if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_strdup=yes" else @@ -3272,12 +3276,12 @@ fi echo $ac_n "checking for cbrt""... $ac_c" 1>&6 -echo "configure:3276: checking for cbrt" >&5 +echo "configure:3280: checking for cbrt" >&5 if eval "test \"`echo '$''{'ac_cv_func_cbrt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_cbrt=yes" else @@ -3321,7 +3325,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for cbrt in -lm""... $ac_c" 1>&6 -echo "configure:3325: checking for cbrt in -lm" >&5 +echo "configure:3329: checking for cbrt in -lm" >&5 ac_lib_var=`echo m'_'cbrt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3329,7 +3333,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3366,12 +3370,12 @@ fi fi echo $ac_n "checking for rint""... $ac_c" 1>&6 -echo "configure:3370: checking for rint" >&5 +echo "configure:3374: checking for rint" >&5 if eval "test \"`echo '$''{'ac_cv_func_rint'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_rint=yes" else @@ -3415,7 +3419,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for rint in -lm""... $ac_c" 1>&6 -echo "configure:3419: checking for rint in -lm" >&5 +echo "configure:3423: checking for rint in -lm" >&5 ac_lib_var=`echo m'_'rint | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3423,7 +3427,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3461,7 +3465,7 @@ fi echo $ac_n "checking setting USE_LOCALE""... $ac_c" 1>&6 -echo "configure:3465: checking setting USE_LOCALE" >&5 +echo "configure:3469: checking setting USE_LOCALE" >&5 if test "$USE_LOCALE" = "yes" then echo "$ac_t""enabled" 1>&6 @@ -3473,14 +3477,14 @@ else echo "$ac_t""disabled" 1>&6 fi echo $ac_n "checking setting DEF_PGPORT""... $ac_c" 1>&6 -echo "configure:3477: checking setting DEF_PGPORT" >&5 +echo "configure:3481: checking setting DEF_PGPORT" >&5 cat >> confdefs.h <&6 echo $ac_n "checking setting HBA""... $ac_c" 1>&6 -echo "configure:3484: checking setting HBA" >&5 +echo "configure:3488: checking setting HBA" >&5 if test "$NOHBA" = "no" then echo "$ac_t""enabled" 1>&6 @@ -3628,10 +3632,12 @@ s%@host_alias@%$host_alias%g s%@host_cpu@%$host_cpu%g s%@host_vendor@%$host_vendor%g s%@host_os@%$host_os%g -s%@PORTNAME@%$PORTNAME%g -s%@TR@%$TR%g s%@CC@%$CC%g s%@CPP@%$CPP%g +s%@PORTNAME@%$PORTNAME%g +s%@TR@%$TR%g +s%@AROPT@%$AROPT%g +s%@CFLAGS_SL@%$CFLAGS_SL%g s%@HAVECXX@%$HAVECXX%g s%@INSTALL@%$INSTALL%g s%@BSDINST@%$BSDINST%g diff --git a/src/configure.in b/src/configure.in index 72beb6b6d82c5d1f52b5e9be3d435c3dc53a7078..6e0f51d3edbcbf2a29376b87758d12ae1e1f14ed 100644 --- a/src/configure.in +++ b/src/configure.in @@ -43,18 +43,23 @@ nextstep*) PORTNAME='nextstep';; echo "" exit;; esac +AC_CONFIG_HEADER(include/config.h) + +dnl Checks for programs. +AC_PROG_CC +AC_PROG_CPP + AC_LINK_FILES(port/${PORTNAME}.h, include/os.h) AC_SUBST(PORTNAME) AC_SUBST(TR) AC_SUBST(LDFLAGS) AC_SUBST(CPPFLAGS) +AC_SUBST(AROPT) +AC_SUBST(SHARED_LIBS) +AC_SUBST(ALL) +AC_SUBST(BACKEND) -AC_CONFIG_HEADER(include/config.h) - -dnl Checks for programs. -AC_PROG_CC -AC_PROG_CPP 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 new file mode 100644 index 0000000000000000000000000000000000000000..e0e88b7d393273a2198305ae4557e5c226f580f0 --- /dev/null +++ b/src/template/aix @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-qchars=signed -qmaxmem=4000 +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/alpha b/src/template/alpha new file mode 100644 index 0000000000000000000000000000000000000000..af96fd35ca895b2aa3650a3ec403dac5af03652c --- /dev/null +++ b/src/template/alpha @@ -0,0 +1,14 @@ +AROPT:cq +# NOFIXADE disallows unaligned access. +# on Ultrix and OSF/1 it invokes an explicit syscall. +# on HP-UX it turns off certain compiler options. +# This is defined here because a bunch of clients include tmp/c.h, +# which is where the work is done on HP-UX. It only affects the +# backend on Ultrix and OSF/1. +BACKEND:-DNOFIXADE +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/bsdi b/src/template/bsdi new file mode 100644 index 0000000000000000000000000000000000000000..3fa70ac8c7f2726547a259c5852101af1d5e09e0 --- /dev/null +++ b/src/template/bsdi @@ -0,0 +1,8 @@ +AROPT:crs +BACKEND:-DPRE_BSDI_2_1 +SHARED_LIB: +ALL: +SRCH_INC:/usr/local/include +SRCH_LIB:/usr/local/lib +USE_LOCALE:no +DLSUFFIX:.o diff --git a/src/template/bsdi-2.1 b/src/template/bsdi-2.1 new file mode 100644 index 0000000000000000000000000000000000000000..d0ad833b0d70f23642bdd52650aa9e77c33fd91c --- /dev/null +++ b/src/template/bsdi-2.1 @@ -0,0 +1,8 @@ +AROPT:crs +BACKEND: +SHARED_LIB: +ALL: +SRCH_INC:/usr/local/include +SRCH_LIB:/usr/local/lib +USE_LOCALE:no +DLSUFFIX:.o diff --git a/src/template/dgux b/src/template/dgux new file mode 100644 index 0000000000000000000000000000000000000000..f1abe2b27bd55ff43c701887bb7e96d9a83f50a9 --- /dev/null +++ b/src/template/dgux @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB:-fpic +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/freebsd b/src/template/freebsd new file mode 100644 index 0000000000000000000000000000000000000000..6d37085b6b6dc933ccc0a2597a891999c7115b25 --- /dev/null +++ b/src/template/freebsd @@ -0,0 +1,8 @@ +AROPT:crs +BACKEND: +SHARED_LIB:-fpic -DPIC +ALL:-O2 -m486 -pipe +SRCH_INC:/usr/local/include +SRCH_LIB:/usr/local/lib +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/generic b/src/template/generic new file mode 100644 index 0000000000000000000000000000000000000000..1771c941b9ae29f8e642174d8079a2a7be7927d9 --- /dev/null +++ b/src/template/generic @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/hpux-cc b/src/template/hpux-cc new file mode 100644 index 0000000000000000000000000000000000000000..66ce2dbe7bbab411cf1e334135910ffa6f039982 --- /dev/null +++ b/src/template/hpux-cc @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-W l,-E -Ae -DNOFIXADE +SHARED_LIB:+z +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.sl diff --git a/src/template/hpux-gcc b/src/template/hpux-gcc new file mode 100644 index 0000000000000000000000000000000000000000..15b30767097ab3e234707f4a7c29fab5b806a437 --- /dev/null +++ b/src/template/hpux-gcc @@ -0,0 +1,9 @@ +AROPT:cq +BACKEND:-DNOFIXADE +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DL_LIB:/usr/lib/libdld.sl +DLSUFFIX:.sl diff --git a/src/template/i386_solaris b/src/template/i386_solaris new file mode 100644 index 0000000000000000000000000000000000000000..36f87789c932099712554db0c807edf88f5e516a --- /dev/null +++ b/src/template/i386_solaris @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris +SHARED_LIB:-K PIC +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/i386_solaris-cc b/src/template/i386_solaris-cc new file mode 100644 index 0000000000000000000000000000000000000000..c5f1f5be2f0075e63745ef3402172ea39b5e199b --- /dev/null +++ b/src/template/i386_solaris-cc @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris +SHARED_LIB:-fPIC +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/irix5 b/src/template/irix5 new file mode 100644 index 0000000000000000000000000000000000000000..1771c941b9ae29f8e642174d8079a2a7be7927d9 --- /dev/null +++ b/src/template/irix5 @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/linux b/src/template/linux new file mode 100644 index 0000000000000000000000000000000000000000..f1abe2b27bd55ff43c701887bb7e96d9a83f50a9 --- /dev/null +++ b/src/template/linux @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB:-fpic +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/linux-elf b/src/template/linux-elf new file mode 100644 index 0000000000000000000000000000000000000000..ace23ea065525dfe605ff0089110919a7833a4d0 --- /dev/null +++ b/src/template/linux-elf @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB:-fpic +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX=.o diff --git a/src/template/nextstep b/src/template/nextstep new file mode 100644 index 0000000000000000000000000000000000000000..fb70ef397f3d2c58d6dd08b0e76fd90d93005a18 --- /dev/null +++ b/src/template/nextstep @@ -0,0 +1,8 @@ +AROPT:rc +BACKEND: +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.o diff --git a/src/template/sparc b/src/template/sparc new file mode 100644 index 0000000000000000000000000000000000000000..7df8389b2328ce7eeef682db2fd8b012d758997e --- /dev/null +++ b/src/template/sparc @@ -0,0 +1,8 @@ +AROPT:crs +BACKEND: +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/sparc_solaris b/src/template/sparc_solaris new file mode 100644 index 0000000000000000000000000000000000000000..1771c941b9ae29f8e642174d8079a2a7be7927d9 --- /dev/null +++ b/src/template/sparc_solaris @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB: +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/sparc_solaris-cc b/src/template/sparc_solaris-cc new file mode 100644 index 0000000000000000000000000000000000000000..36f87789c932099712554db0c807edf88f5e516a --- /dev/null +++ b/src/template/sparc_solaris-cc @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris +SHARED_LIB:-K PIC +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/sparc_solaris-gcc b/src/template/sparc_solaris-gcc new file mode 100644 index 0000000000000000000000000000000000000000..c5f1f5be2f0075e63745ef3402172ea39b5e199b --- /dev/null +++ b/src/template/sparc_solaris-gcc @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-I$(SRCDIR)/backend/port/sparc_solaris +SHARED_LIB:-fPIC +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/sunos4-cc b/src/template/sunos4-cc new file mode 100644 index 0000000000000000000000000000000000000000..fb57bf0d87bf844bb29b2763872af711753f9e4a --- /dev/null +++ b/src/template/sunos4-cc @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB:-PIC +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/sunos4-gcc b/src/template/sunos4-gcc new file mode 100644 index 0000000000000000000000000000000000000000..aa37eb7b5be9bcffd643c7b593cc257ef50c84fb --- /dev/null +++ b/src/template/sunos4-gcc @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND: +SHARED_LIB:-fPIC +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/svr4 b/src/template/svr4 new file mode 100644 index 0000000000000000000000000000000000000000..99539cf5ed4d36b726a1d974784d1cff56ef60a9 --- /dev/null +++ b/src/template/svr4 @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-I$(SRCDIR)/backend/port/svr4 +SHARED_LIB: +ALL:+W0 +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so diff --git a/src/template/ultrix4 b/src/template/ultrix4 new file mode 100644 index 0000000000000000000000000000000000000000..b9476bcd09c4f53fb64b9374928a4de4adbf6f89 --- /dev/null +++ b/src/template/ultrix4 @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-DNOFIXADE +SHARED_LIB:-G 0 +ALL: +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.o diff --git a/src/template/univel b/src/template/univel new file mode 100644 index 0000000000000000000000000000000000000000..bcc1bf980586935d3b4eef698e096364bf5281a8 --- /dev/null +++ b/src/template/univel @@ -0,0 +1,8 @@ +AROPT:cq +BACKEND:-I$(SRCDIR)/backend/port/univel +SHARED_LIB:-fPIC +ALL:-DHAVE_RUSAGE -m486 -Dsvr4 +SRCH_INC: +SRCH_LIB: +USE_LOCALE:no +DLSUFFIX:.so