Changeset 3063


Ignore:
Timestamp:
2002-03-21T03:26:37+12:00 (22 years ago)
Author:
cs025
Message:

Added support for the modules directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/configure

    r2951 r3063  
    610610
    611611
    612 
    613 
    614612LDFLAGS=
    615613if test -z "$CFLAGS"; then
     
    621619set dummy gcc; ac_word=$2
    622620echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    623 echo "configure:624: checking for $ac_word" >&5
     621echo "configure:622: checking for $ac_word" >&5
    624622if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    625623  echo $ac_n "(cached) $ac_c" 1>&6
     
    651649set dummy cc; ac_word=$2
    652650echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    653 echo "configure:654: checking for $ac_word" >&5
     651echo "configure:652: checking for $ac_word" >&5
    654652if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    655653  echo $ac_n "(cached) $ac_c" 1>&6
     
    702700set dummy cl; ac_word=$2
    703701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    704 echo "configure:705: checking for $ac_word" >&5
     702echo "configure:703: checking for $ac_word" >&5
    705703if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    706704  echo $ac_n "(cached) $ac_c" 1>&6
     
    734732
    735733echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    736 echo "configure:737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     734echo "configure:735: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    737735
    738736ac_ext=c
     
    745743cat > conftest.$ac_ext << EOF
    746744
    747 #line 748 "configure"
     745#line 746 "configure"
    748746#include "confdefs.h"
    749747
    750748main(){return(0);}
    751749EOF
    752 if { (eval echo configure:753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     750if { (eval echo configure:751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    753751  ac_cv_prog_cc_works=yes
    754752  # If we can't run a trivial program, we are probably using a cross compiler.
     
    776774fi
    777775echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    778 echo "configure:779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     776echo "configure:777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    779777echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    780778cross_compiling=$ac_cv_prog_cc_cross
    781779
    782780echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    783 echo "configure:784: checking whether we are using GNU C" >&5
     781echo "configure:782: checking whether we are using GNU C" >&5
    784782if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    785783  echo $ac_n "(cached) $ac_c" 1>&6
     
    790788#endif
    791789EOF
    792 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     790if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    793791  ac_cv_prog_gcc=yes
    794792else
     
    809807CFLAGS=
    810808echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    811 echo "configure:812: checking whether ${CC-cc} accepts -g" >&5
     809echo "configure:810: checking whether ${CC-cc} accepts -g" >&5
    812810if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    813811  echo $ac_n "(cached) $ac_c" 1>&6
     
    845843set dummy $ac_prog; ac_word=$2
    846844echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    847 echo "configure:848: checking for $ac_word" >&5
     845echo "configure:846: checking for $ac_word" >&5
    848846if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    849847  echo $ac_n "(cached) $ac_c" 1>&6
     
    877875
    878876echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    879 echo "configure:880: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     877echo "configure:878: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    880878
    881879ac_ext=C
     
    888886cat > conftest.$ac_ext << EOF
    889887
    890 #line 891 "configure"
     888#line 889 "configure"
    891889#include "confdefs.h"
    892890
    893891int main(){return(0);}
    894892EOF
    895 if { (eval echo configure:896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     893if { (eval echo configure:894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    896894  ac_cv_prog_cxx_works=yes
    897895  # If we can't run a trivial program, we are probably using a cross compiler.
     
    919917fi
    920918echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    921 echo "configure:922: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     919echo "configure:920: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    922920echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    923921cross_compiling=$ac_cv_prog_cxx_cross
    924922
    925923echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    926 echo "configure:927: checking whether we are using GNU C++" >&5
     924echo "configure:925: checking whether we are using GNU C++" >&5
    927925if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    928926  echo $ac_n "(cached) $ac_c" 1>&6
     
    933931#endif
    934932EOF
    935 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     933if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    936934  ac_cv_prog_gxx=yes
    937935else
     
    952950CXXFLAGS=
    953951echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    954 echo "configure:955: checking whether ${CXX-g++} accepts -g" >&5
     952echo "configure:953: checking whether ${CXX-g++} accepts -g" >&5
    955953if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    956954  echo $ac_n "(cached) $ac_c" 1>&6
     
    983981fi
    984982
    985 for ac_prog in mawk gawk nawk awk
     983for ac_declaration in \
     984   ''\
     985   '#include <stdlib.h>' \
     986   'extern "C" void std::exit (int) throw (); using std::exit;' \
     987   'extern "C" void std::exit (int); using std::exit;' \
     988   'extern "C" void exit (int) throw ();' \
     989   'extern "C" void exit (int);' \
     990   'void exit (int);'
     991do
     992  cat > conftest.$ac_ext <<EOF
     993#line 994 "configure"
     994#include "confdefs.h"
     995#include <stdlib.h>
     996$ac_declaration
     997int main() {
     998exit (42);
     999; return 0; }
     1000EOF
     1001if { (eval echo configure:1002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1002  :
     1003else
     1004  echo "configure: failed program was:" >&5
     1005  cat conftest.$ac_ext >&5
     1006  rm -rf conftest*
     1007  continue
     1008fi
     1009rm -f conftest*
     1010  cat > conftest.$ac_ext <<EOF
     1011#line 1012 "configure"
     1012#include "confdefs.h"
     1013$ac_declaration
     1014int main() {
     1015exit (42);
     1016; return 0; }
     1017EOF
     1018if { (eval echo configure:1019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1019  rm -rf conftest*
     1020  break
     1021else
     1022  echo "configure: failed program was:" >&5
     1023  cat conftest.$ac_ext >&5
     1024fi
     1025rm -f conftest*
     1026done
     1027if test -n "$ac_declaration"; then
     1028  echo '#ifdef __cplusplus' >>confdefs.h
     1029  echo $ac_declaration      >>confdefs.h
     1030  echo '#endif'             >>confdefs.h
     1031fi
     1032
     1033
     1034for ac_prog in gawk mawk nawk awk
    9861035do
    9871036# Extract the first word of "$ac_prog", so it can be a program name with args.
    9881037set dummy $ac_prog; ac_word=$2
    9891038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    990 echo "configure:991: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9911040if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
    9921041  echo $ac_n "(cached) $ac_c" 1>&6
     
    10221071set dummy $ac_prog; ac_word=$2
    10231072echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1024 echo "configure:1025: checking for $ac_word" >&5
     1073echo "configure:1074: checking for $ac_word" >&5
    10251074if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
    10261075  echo $ac_n "(cached) $ac_c" 1>&6
     
    10991148
    11001149echo $ac_n "checking host system type""... $ac_c" 1>&6
    1101 echo "configure:1102: checking host system type" >&5
     1150echo "configure:1151: checking host system type" >&5
    11021151
    11031152host_alias=$host
     
    11201169
    11211170echo $ac_n "checking target system type""... $ac_c" 1>&6
    1122 echo "configure:1123: checking target system type" >&5
     1171echo "configure:1172: checking target system type" >&5
    11231172
    11241173target_alias=$target
     
    11381187
    11391188echo $ac_n "checking build system type""... $ac_c" 1>&6
    1140 echo "configure:1141: checking build system type" >&5
     1189echo "configure:1190: checking build system type" >&5
    11411190
    11421191build_alias=$build
     
    11721221# ./install, which can be erroneously created by make from ./install.sh.
    11731222echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1174 echo "configure:1175: checking for a BSD compatible install" >&5
     1223echo "configure:1224: checking for a BSD compatible install" >&5
    11751224if test -z "$INSTALL"; then
    11761225if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    12251274
    12261275echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1227 echo "configure:1228: checking whether ln -s works" >&5
     1276echo "configure:1277: checking whether ln -s works" >&5
    12281277if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12291278  echo $ac_n "(cached) $ac_c" 1>&6
     
    12461295
    12471296echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1248 echo "configure:1249: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1297echo "configure:1298: checking whether ${MAKE-make} sets \${MAKE}" >&5
    12491298set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    12501299if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12751324set dummy ranlib; ac_word=$2
    12761325echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1277 echo "configure:1278: checking for $ac_word" >&5
     1326echo "configure:1327: checking for $ac_word" >&5
    12781327if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    12791328  echo $ac_n "(cached) $ac_c" 1>&6
     
    13031352
    13041353
    1305 
    13061354#moved CORBA MICO directory test to get version of MICO
    13071355if test $USE_CORBA = 1; then
     
    13371385
    13381386echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1339 echo "configure:1340: checking how to run the C preprocessor" >&5
     1387echo "configure:1388: checking how to run the C preprocessor" >&5
    13401388# On Suns, sometimes $CPP names a directory.
    13411389if test -n "$CPP" && test -d "$CPP"; then
     
    13521400  # not just through cpp.
    13531401  cat > conftest.$ac_ext <<EOF
    1354 #line 1355 "configure"
     1402#line 1403 "configure"
    13551403#include "confdefs.h"
    13561404#include <assert.h>
     
    13581406EOF
    13591407ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1360 { (eval echo configure:1361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1408{ (eval echo configure:1409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13611409ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13621410if test -z "$ac_err"; then
     
    13691417  CPP="${CC-cc} -E -traditional-cpp"
    13701418  cat > conftest.$ac_ext <<EOF
    1371 #line 1372 "configure"
     1419#line 1420 "configure"
    13721420#include "confdefs.h"
    13731421#include <assert.h>
     
    13751423EOF
    13761424ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1377 { (eval echo configure:1378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1425{ (eval echo configure:1426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13781426ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13791427if test -z "$ac_err"; then
     
    13861434  CPP="${CC-cc} -nologo -E"
    13871435  cat > conftest.$ac_ext <<EOF
    1388 #line 1389 "configure"
     1436#line 1437 "configure"
    13891437#include "confdefs.h"
    13901438#include <assert.h>
     
    13921440EOF
    13931441ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1394 { (eval echo configure:1395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1442{ (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13951443ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13961444if test -z "$ac_err"; then
     
    14171465
    14181466echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1419 echo "configure:1420: checking for AIX" >&5
     1467echo "configure:1468: checking for AIX" >&5
    14201468cat > conftest.$ac_ext <<EOF
    1421 #line 1422 "configure"
     1469#line 1470 "configure"
    14221470#include "confdefs.h"
    14231471#ifdef _AIX
     
    14411489
    14421490echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
    1443 echo "configure:1444: checking for POSIXized ISC" >&5
     1491echo "configure:1492: checking for POSIXized ISC" >&5
    14441492if test -d /etc/conf/kconfig.d &&
    14451493  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
     
    14631511ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
    14641512echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
    1465 echo "configure:1466: checking for minix/config.h" >&5
     1513echo "configure:1514: checking for minix/config.h" >&5
    14661514if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    14671515  echo $ac_n "(cached) $ac_c" 1>&6
    14681516else
    14691517  cat > conftest.$ac_ext <<EOF
    1470 #line 1471 "configure"
     1518#line 1519 "configure"
    14711519#include "confdefs.h"
    14721520#include <minix/config.h>
    14731521EOF
    14741522ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1475 { (eval echo configure:1476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1523{ (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14761524ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14771525if test -z "$ac_err"; then
     
    15111559
    15121560echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
    1513 echo "configure:1514: checking for ${CC-cc} option to accept ANSI C" >&5
     1561echo "configure:1562: checking for ${CC-cc} option to accept ANSI C" >&5
    15141562if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then
    15151563  echo $ac_n "(cached) $ac_c" 1>&6
     
    15271575  CFLAGS="$ac_save_CFLAGS $ac_arg"
    15281576  cat > conftest.$ac_ext <<EOF
    1529 #line 1530 "configure"
     1577#line 1578 "configure"
    15301578#include "confdefs.h"
    15311579#if !defined(__STDC__) || __STDC__ != 1
     
    15391587; return 0; }
    15401588EOF
    1541 if { (eval echo configure:1542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1589if { (eval echo configure:1590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    15421590  rm -rf conftest*
    15431591  ac_cv_prog_cc_stdc="$ac_arg"; break
     
    15601608
    15611609echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
    1562 echo "configure:1563: checking for function prototypes" >&5
     1610echo "configure:1611: checking for function prototypes" >&5
    15631611if test "$ac_cv_prog_cc_stdc" != no; then
    15641612  echo "$ac_t""yes" 1>&6
     
    15741622
    15751623echo $ac_n "checking for working const""... $ac_c" 1>&6
    1576 echo "configure:1577: checking for working const" >&5
     1624echo "configure:1625: checking for working const" >&5
    15771625if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    15781626  echo $ac_n "(cached) $ac_c" 1>&6
    15791627else
    15801628  cat > conftest.$ac_ext <<EOF
    1581 #line 1582 "configure"
     1629#line 1630 "configure"
    15821630#include "confdefs.h"
    15831631
     
    16281676; return 0; }
    16291677EOF
    1630 if { (eval echo configure:1631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1678if { (eval echo configure:1679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    16311679  rm -rf conftest*
    16321680  ac_cv_c_const=yes
     
    16491697
    16501698echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1651 echo "configure:1652: checking for ANSI C header files" >&5
     1699echo "configure:1700: checking for ANSI C header files" >&5
    16521700if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    16531701  echo $ac_n "(cached) $ac_c" 1>&6
    16541702else
    16551703  cat > conftest.$ac_ext <<EOF
    1656 #line 1657 "configure"
     1704#line 1705 "configure"
    16571705#include "confdefs.h"
    16581706#include <stdlib.h>
     
    16621710EOF
    16631711ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1664 { (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1712{ (eval echo configure:1713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    16651713ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16661714if test -z "$ac_err"; then
     
    16791727  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    16801728cat > conftest.$ac_ext <<EOF
    1681 #line 1682 "configure"
     1729#line 1730 "configure"
    16821730#include "confdefs.h"
    16831731#include <string.h>
     
    16971745  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    16981746cat > conftest.$ac_ext <<EOF
    1699 #line 1700 "configure"
     1747#line 1748 "configure"
    17001748#include "confdefs.h"
    17011749#include <stdlib.h>
     
    17181766else
    17191767  cat > conftest.$ac_ext <<EOF
    1720 #line 1721 "configure"
     1768#line 1769 "configure"
    17211769#include "confdefs.h"
    17221770#include <ctype.h>
     
    17291777
    17301778EOF
    1731 if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1779if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    17321780then
    17331781  :
     
    17531801
    17541802echo $ac_n "checking for off_t""... $ac_c" 1>&6
    1755 echo "configure:1756: checking for off_t" >&5
     1803echo "configure:1804: checking for off_t" >&5
    17561804if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
    17571805  echo $ac_n "(cached) $ac_c" 1>&6
    17581806else
    17591807  cat > conftest.$ac_ext <<EOF
    1760 #line 1761 "configure"
     1808#line 1809 "configure"
    17611809#include "confdefs.h"
    17621810#include <sys/types.h>
     
    17861834
    17871835echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1788 echo "configure:1789: checking for size_t" >&5
     1836echo "configure:1837: checking for size_t" >&5
    17891837if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    17901838  echo $ac_n "(cached) $ac_c" 1>&6
    17911839else
    17921840  cat > conftest.$ac_ext <<EOF
    1793 #line 1794 "configure"
     1841#line 1842 "configure"
    17941842#include "confdefs.h"
    17951843#include <sys/types.h>
     
    18191867
    18201868echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    1821 echo "configure:1822: checking whether time.h and sys/time.h may both be included" >&5
     1869echo "configure:1870: checking whether time.h and sys/time.h may both be included" >&5
    18221870if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    18231871  echo $ac_n "(cached) $ac_c" 1>&6
    18241872else
    18251873  cat > conftest.$ac_ext <<EOF
    1826 #line 1827 "configure"
     1874#line 1875 "configure"
    18271875#include "confdefs.h"
    18281876#include <sys/types.h>
     
    18331881; return 0; }
    18341882EOF
    1835 if { (eval echo configure:1836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1883if { (eval echo configure:1884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18361884  rm -rf conftest*
    18371885  ac_cv_header_time=yes
     
    18541902
    18551903echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    1856 echo "configure:1857: checking whether struct tm is in sys/time.h or time.h" >&5
     1904echo "configure:1905: checking whether struct tm is in sys/time.h or time.h" >&5
    18571905if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    18581906  echo $ac_n "(cached) $ac_c" 1>&6
    18591907else
    18601908  cat > conftest.$ac_ext <<EOF
    1861 #line 1862 "configure"
     1909#line 1910 "configure"
    18621910#include "confdefs.h"
    18631911#include <sys/types.h>
     
    18671915; return 0; }
    18681916EOF
    1869 if { (eval echo configure:1870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1917if { (eval echo configure:1918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18701918  rm -rf conftest*
    18711919  ac_cv_struct_tm=time.h
     
    18901938if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    18911939cat > conftest.$ac_ext <<EOF
    1892 #line 1893 "configure"
     1940#line 1941 "configure"
    18931941#include "confdefs.h"
    18941942#include <stdio.h>
     
    18981946; return 0; }
    18991947EOF
    1900 if { (eval echo configure:1901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1948if { (eval echo configure:1949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19011949  :
    19021950else
     
    19111959
    19121960echo $ac_n "checking for main in -lg""... $ac_c" 1>&6
    1913 echo "configure:1914: checking for main in -lg" >&5
     1961echo "configure:1962: checking for main in -lg" >&5
    19141962ac_lib_var=`echo g'_'main | sed 'y%./+-%__p_%'`
    19151963if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19191967LIBS="-lg  $LIBS"
    19201968cat > conftest.$ac_ext <<EOF
    1921 #line 1922 "configure"
     1969#line 1970 "configure"
    19221970#include "confdefs.h"
    19231971
     
    19261974; return 0; }
    19271975EOF
    1928 if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1976if { (eval echo configure:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19291977  rm -rf conftest*
    19301978  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19542002
    19552003echo $ac_n "checking for main in -lgdbm""... $ac_c" 1>&6
    1956 echo "configure:1957: checking for main in -lgdbm" >&5
     2004echo "configure:2005: checking for main in -lgdbm" >&5
    19572005ac_lib_var=`echo gdbm'_'main | sed 'y%./+-%__p_%'`
    19582006if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19622010LIBS="-lgdbm  $LIBS"
    19632011cat > conftest.$ac_ext <<EOF
    1964 #line 1965 "configure"
     2012#line 2013 "configure"
    19652013#include "confdefs.h"
    19662014
     
    19692017; return 0; }
    19702018EOF
    1971 if { (eval echo configure:1972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2019if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19722020  rm -rf conftest*
    19732021  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19972045
    19982046echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
    1999 echo "configure:2000: checking for main in -lm" >&5
     2047echo "configure:2048: checking for main in -lm" >&5
    20002048ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
    20012049if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20052053LIBS="-lm  $LIBS"
    20062054cat > conftest.$ac_ext <<EOF
    2007 #line 2008 "configure"
     2055#line 2056 "configure"
    20082056#include "confdefs.h"
    20092057
     
    20122060; return 0; }
    20132061EOF
    2014 if { (eval echo configure:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2062if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20152063  rm -rf conftest*
    20162064  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20402088
    20412089echo $ac_n "checking for main in -lstdc++""... $ac_c" 1>&6
    2042 echo "configure:2043: checking for main in -lstdc++" >&5
     2090echo "configure:2091: checking for main in -lstdc++" >&5
    20432091ac_lib_var=`echo stdc++'_'main | sed 'y%./+-%__p_%'`
    20442092if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20482096LIBS="-lstdc++  $LIBS"
    20492097cat > conftest.$ac_ext <<EOF
    2050 #line 2051 "configure"
     2098#line 2099 "configure"
    20512099#include "confdefs.h"
    20522100
     
    20552103; return 0; }
    20562104EOF
    2057 if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2105if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20582106  rm -rf conftest*
    20592107  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20832131
    20842132echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6
    2085 echo "configure:2086: checking for main in -lcrypt" >&5
     2133echo "configure:2134: checking for main in -lcrypt" >&5
    20862134ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`
    20872135if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20912139LIBS="-lcrypt  $LIBS"
    20922140cat > conftest.$ac_ext <<EOF
    2093 #line 2094 "configure"
     2141#line 2142 "configure"
    20942142#include "confdefs.h"
    20952143
     
    20982146; return 0; }
    20992147EOF
    2100 if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2148if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21012149  rm -rf conftest*
    21022150  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21322180ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    21332181echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    2134 echo "configure:2135: checking for $ac_hdr that defines DIR" >&5
     2182echo "configure:2183: checking for $ac_hdr that defines DIR" >&5
    21352183if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    21362184  echo $ac_n "(cached) $ac_c" 1>&6
    21372185else
    21382186  cat > conftest.$ac_ext <<EOF
    2139 #line 2140 "configure"
     2187#line 2188 "configure"
    21402188#include "confdefs.h"
    21412189#include <sys/types.h>
     
    21452193; return 0; }
    21462194EOF
    2147 if { (eval echo configure:2148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2195if { (eval echo configure:2196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21482196  rm -rf conftest*
    21492197  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    21702218if test $ac_header_dirent = dirent.h; then
    21712219echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    2172 echo "configure:2173: checking for opendir in -ldir" >&5
     2220echo "configure:2221: checking for opendir in -ldir" >&5
    21732221ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    21742222if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21782226LIBS="-ldir  $LIBS"
    21792227cat > conftest.$ac_ext <<EOF
    2180 #line 2181 "configure"
     2228#line 2229 "configure"
    21812229#include "confdefs.h"
    21822230/* Override any gcc2 internal prototype to avoid an error.  */
     
    21892237; return 0; }
    21902238EOF
    2191 if { (eval echo configure:2192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2239if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21922240  rm -rf conftest*
    21932241  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22112259else
    22122260echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    2213 echo "configure:2214: checking for opendir in -lx" >&5
     2261echo "configure:2262: checking for opendir in -lx" >&5
    22142262ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    22152263if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22192267LIBS="-lx  $LIBS"
    22202268cat > conftest.$ac_ext <<EOF
    2221 #line 2222 "configure"
     2269#line 2270 "configure"
    22222270#include "confdefs.h"
    22232271/* Override any gcc2 internal prototype to avoid an error.  */
     
    22302278; return 0; }
    22312279EOF
    2232 if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2280if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22332281  rm -rf conftest*
    22342282  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22532301
    22542302echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2255 echo "configure:2256: checking for ANSI C header files" >&5
     2303echo "configure:2304: checking for ANSI C header files" >&5
    22562304if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    22572305  echo $ac_n "(cached) $ac_c" 1>&6
    22582306else
    22592307  cat > conftest.$ac_ext <<EOF
    2260 #line 2261 "configure"
     2308#line 2309 "configure"
    22612309#include "confdefs.h"
    22622310#include <stdlib.h>
     
    22662314EOF
    22672315ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2268 { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2316{ (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    22692317ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    22702318if test -z "$ac_err"; then
     
    22832331  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    22842332cat > conftest.$ac_ext <<EOF
    2285 #line 2286 "configure"
     2333#line 2334 "configure"
    22862334#include "confdefs.h"
    22872335#include <string.h>
     
    23012349  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    23022350cat > conftest.$ac_ext <<EOF
    2303 #line 2304 "configure"
     2351#line 2352 "configure"
    23042352#include "confdefs.h"
    23052353#include <stdlib.h>
     
    23222370else
    23232371  cat > conftest.$ac_ext <<EOF
    2324 #line 2325 "configure"
     2372#line 2373 "configure"
    23252373#include "confdefs.h"
    23262374#include <ctype.h>
     
    23332381
    23342382EOF
    2335 if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2383if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    23362384then
    23372385  :
     
    23602408ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    23612409echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2362 echo "configure:2363: checking for $ac_hdr" >&5
     2410echo "configure:2411: checking for $ac_hdr" >&5
    23632411if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23642412  echo $ac_n "(cached) $ac_c" 1>&6
    23652413else
    23662414  cat > conftest.$ac_ext <<EOF
    2367 #line 2368 "configure"
     2415#line 2416 "configure"
    23682416#include "confdefs.h"
    23692417#include <$ac_hdr>
    23702418EOF
    23712419ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2372 { (eval echo configure:2373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2420{ (eval echo configure:2421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23732421ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    23742422if test -z "$ac_err"; then
     
    23972445
    23982446cat > conftest.$ac_ext <<EOF
    2399 #line 2400 "configure"
     2447#line 2448 "configure"
    24002448#include "confdefs.h"
    24012449#include <stdio.h>
     
    24122460
    24132461cat > conftest.$ac_ext <<EOF
    2414 #line 2415 "configure"
     2462#line 2463 "configure"
    24152463#include "confdefs.h"
    24162464#include <stdio.h>
     
    24272475
    24282476cat > conftest.$ac_ext <<EOF
    2429 #line 2430 "configure"
     2477#line 2478 "configure"
    24302478#include "confdefs.h"
    24312479#include <sys/procfs.h>
     
    24452493# for constant arguments.  Useless!
    24462494echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2447 echo "configure:2448: checking for working alloca.h" >&5
     2495echo "configure:2496: checking for working alloca.h" >&5
    24482496if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    24492497  echo $ac_n "(cached) $ac_c" 1>&6
    24502498else
    24512499  cat > conftest.$ac_ext <<EOF
    2452 #line 2453 "configure"
     2500#line 2501 "configure"
    24532501#include "confdefs.h"
    24542502#include <alloca.h>
     
    24572505; return 0; }
    24582506EOF
    2459 if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2507if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24602508  rm -rf conftest*
    24612509  ac_cv_header_alloca_h=yes
     
    24782526
    24792527echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2480 echo "configure:2481: checking for alloca" >&5
     2528echo "configure:2529: checking for alloca" >&5
    24812529if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    24822530  echo $ac_n "(cached) $ac_c" 1>&6
    24832531else
    24842532  cat > conftest.$ac_ext <<EOF
    2485 #line 2486 "configure"
     2533#line 2534 "configure"
    24862534#include "confdefs.h"
    24872535
     
    25112559; return 0; }
    25122560EOF
    2513 if { (eval echo configure:2514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2561if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25142562  rm -rf conftest*
    25152563  ac_cv_func_alloca_works=yes
     
    25432591
    25442592echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2545 echo "configure:2546: checking whether alloca needs Cray hooks" >&5
     2593echo "configure:2594: checking whether alloca needs Cray hooks" >&5
    25462594if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    25472595  echo $ac_n "(cached) $ac_c" 1>&6
    25482596else
    25492597  cat > conftest.$ac_ext <<EOF
    2550 #line 2551 "configure"
     2598#line 2599 "configure"
    25512599#include "confdefs.h"
    25522600#if defined(CRAY) && ! defined(CRAY2)
     
    25732621for ac_func in _getb67 GETB67 getb67; do
    25742622  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2575 echo "configure:2576: checking for $ac_func" >&5
     2623echo "configure:2624: checking for $ac_func" >&5
    25762624if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    25772625  echo $ac_n "(cached) $ac_c" 1>&6
    25782626else
    25792627  cat > conftest.$ac_ext <<EOF
    2580 #line 2581 "configure"
     2628#line 2629 "configure"
    25812629#include "confdefs.h"
    25822630/* System header to define __stub macros and hopefully few prototypes,
     
    26012649; return 0; }
    26022650EOF
    2603 if { (eval echo configure:2604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2651if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26042652  rm -rf conftest*
    26052653  eval "ac_cv_func_$ac_func=yes"
     
    26282676
    26292677echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2630 echo "configure:2631: checking stack direction for C alloca" >&5
     2678echo "configure:2679: checking stack direction for C alloca" >&5
    26312679if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    26322680  echo $ac_n "(cached) $ac_c" 1>&6
     
    26362684else
    26372685  cat > conftest.$ac_ext <<EOF
    2638 #line 2639 "configure"
     2686#line 2687 "configure"
    26392687#include "confdefs.h"
    26402688find_stack_direction ()
     
    26552703}
    26562704EOF
    2657 if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2705if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    26582706then
    26592707  ac_cv_c_stack_direction=1
     
    26782726if test $ac_cv_prog_gcc = yes; then
    26792727    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2680 echo "configure:2681: checking whether ${CC-cc} needs -traditional" >&5
     2728echo "configure:2729: checking whether ${CC-cc} needs -traditional" >&5
    26812729if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    26822730  echo $ac_n "(cached) $ac_c" 1>&6
     
    26842732    ac_pattern="Autoconf.*'x'"
    26852733  cat > conftest.$ac_ext <<EOF
    2686 #line 2687 "configure"
     2734#line 2735 "configure"
    26872735#include "confdefs.h"
    26882736#include <sgtty.h>
     
    27022750  if test $ac_cv_prog_gcc_traditional = no; then
    27032751    cat > conftest.$ac_ext <<EOF
    2704 #line 2705 "configure"
     2752#line 2753 "configure"
    27052753#include "confdefs.h"
    27062754#include <termio.h>
     
    27242772
    27252773echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2726 echo "configure:2727: checking return type of signal handlers" >&5
     2774echo "configure:2775: checking return type of signal handlers" >&5
    27272775if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    27282776  echo $ac_n "(cached) $ac_c" 1>&6
    27292777else
    27302778  cat > conftest.$ac_ext <<EOF
    2731 #line 2732 "configure"
     2779#line 2780 "configure"
    27322780#include "confdefs.h"
    27332781#include <sys/types.h>
     
    27462794; return 0; }
    27472795EOF
    2748 if { (eval echo configure:2749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2796if { (eval echo configure:2797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27492797  rm -rf conftest*
    27502798  ac_cv_type_signal=void
     
    27652813
    27662814echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2767 echo "configure:2768: checking for vprintf" >&5
     2815echo "configure:2816: checking for vprintf" >&5
    27682816if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    27692817  echo $ac_n "(cached) $ac_c" 1>&6
    27702818else
    27712819  cat > conftest.$ac_ext <<EOF
    2772 #line 2773 "configure"
     2820#line 2821 "configure"
    27732821#include "confdefs.h"
    27742822/* System header to define __stub macros and hopefully few prototypes,
     
    27932841; return 0; }
    27942842EOF
    2795 if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2843if { (eval echo configure:2844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27962844  rm -rf conftest*
    27972845  eval "ac_cv_func_vprintf=yes"
     
    28172865if test "$ac_cv_func_vprintf" != yes; then
    28182866echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2819 echo "configure:2820: checking for _doprnt" >&5
     2867echo "configure:2868: checking for _doprnt" >&5
    28202868if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    28212869  echo $ac_n "(cached) $ac_c" 1>&6
    28222870else
    28232871  cat > conftest.$ac_ext <<EOF
    2824 #line 2825 "configure"
     2872#line 2873 "configure"
    28252873#include "confdefs.h"
    28262874/* System header to define __stub macros and hopefully few prototypes,
     
    28452893; return 0; }
    28462894EOF
    2847 if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2895if { (eval echo configure:2896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28482896  rm -rf conftest*
    28492897  eval "ac_cv_func__doprnt=yes"
     
    28722920do
    28732921echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2874 echo "configure:2875: checking for $ac_func" >&5
     2922echo "configure:2923: checking for $ac_func" >&5
    28752923if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28762924  echo $ac_n "(cached) $ac_c" 1>&6
    28772925else
    28782926  cat > conftest.$ac_ext <<EOF
    2879 #line 2880 "configure"
     2927#line 2928 "configure"
    28802928#include "confdefs.h"
    28812929/* System header to define __stub macros and hopefully few prototypes,
     
    29002948; return 0; }
    29012949EOF
    2902 if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2950if { (eval echo configure:2951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29032951  rm -rf conftest*
    29042952  eval "ac_cv_func_$ac_func=yes"
     
    29272975do
    29282976echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2929 echo "configure:2930: checking for $ac_func" >&5
     2977echo "configure:2978: checking for $ac_func" >&5
    29302978if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29312979  echo $ac_n "(cached) $ac_c" 1>&6
    29322980else
    29332981  cat > conftest.$ac_ext <<EOF
    2934 #line 2935 "configure"
     2982#line 2983 "configure"
    29352983#include "confdefs.h"
    29362984/* System header to define __stub macros and hopefully few prototypes,
     
    29553003; return 0; }
    29563004EOF
    2957 if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3005if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29583006  rm -rf conftest*
    29593007  eval "ac_cv_func_$ac_func=yes"
     
    29863034# ---------------------------------------------------------------------------
    29873035echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6
    2988 echo "configure:2989: checking for HP-UX needing gmalloc" >&5
     3036echo "configure:3037: checking for HP-UX needing gmalloc" >&5
    29893037if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    29903038  echo "$ac_t""yes" 1>&6
     
    29993047do
    30003048echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3001 echo "configure:3002: checking for $ac_func" >&5
     3049echo "configure:3050: checking for $ac_func" >&5
    30023050if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    30033051  echo $ac_n "(cached) $ac_c" 1>&6
    30043052else
    30053053  cat > conftest.$ac_ext <<EOF
    3006 #line 3007 "configure"
     3054#line 3055 "configure"
    30073055#include "confdefs.h"
    30083056/* System header to define __stub macros and hopefully few prototypes,
     
    30273075; return 0; }
    30283076EOF
    3029 if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3077if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30303078  rm -rf conftest*
    30313079  eval "ac_cv_func_$ac_func=yes"
     
    30543102
    30553103echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
    3056 echo "configure:3057: checking if malloc debugging is wanted" >&5
     3104echo "configure:3105: checking if malloc debugging is wanted" >&5
    30573105# Check whether --with-dmalloc or --without-dmalloc was given.
    30583106if test "${with_dmalloc+set}" = set; then
     
    30753123
    30763124echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6
    3077 echo "configure:3078: checking which of rx or regex is wanted" >&5
     3125echo "configure:3126: checking which of rx or regex is wanted" >&5
    30783126# Check whether --with-regex or --without-regex was given.
    30793127if test "${with_regex+set}" = set; then
     
    30933141  echo "$ac_t""rx" 1>&6
    30943142  echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6
    3095 echo "configure:3096: checking for re_rx_search" >&5
     3143echo "configure:3144: checking for re_rx_search" >&5
    30963144if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then
    30973145  echo $ac_n "(cached) $ac_c" 1>&6
    30983146else
    30993147  cat > conftest.$ac_ext <<EOF
    3100 #line 3101 "configure"
     3148#line 3149 "configure"
    31013149#include "confdefs.h"
    31023150/* System header to define __stub macros and hopefully few prototypes,
     
    31213169; return 0; }
    31223170EOF
    3123 if { (eval echo configure:3124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3171if { (eval echo configure:3172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31243172  rm -rf conftest*
    31253173  eval "ac_cv_func_re_rx_search=yes"
     
    31623210
    31633211echo $ac_n "checking that the GDBM library is available""... $ac_c" 1>&6
    3164 echo "configure:3165: checking that the GDBM library is available" >&5
     3212echo "configure:3213: checking that the GDBM library is available" >&5
    31653213if test ! -z "$gdbmdir" ; then
    31663214  # look in given directory for header file
     
    31853233    echo "$ac_t""can't find gdbm.h and libgdbm.a in $gdbmdir" 1>&6;
    31863234    echo $ac_n "checking looking for GDBM library in default locations""... $ac_c" 1>&6
    3187 echo "configure:3188: checking looking for GDBM library in default locations" >&5
     3235echo "configure:3236: checking looking for GDBM library in default locations" >&5
    31883236  fi
    31893237fi
     
    31933241  # try in system directory
    31943242  cat > conftest.$ac_ext <<EOF
    3195 #line 3196 "configure"
     3243#line 3244 "configure"
    31963244#include "confdefs.h"
    31973245#include <gdbm.h>
     
    32013249; return 0; }
    32023250EOF
    3203 if { (eval echo configure:3204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3251if { (eval echo configure:3252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32043252  rm -rf conftest*
    32053253  success=yes
     
    32223270      LIBS="$LIBS -L/usr/local/lib -lgdbm"
    32233271      cat > conftest.$ac_ext <<EOF
    3224 #line 3225 "configure"
     3272#line 3273 "configure"
    32253273#include "confdefs.h"
    32263274#include <gdbm.h>
     
    32313279; return 0; }
    32323280EOF
    3233 if { (eval echo configure:3234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3281if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32343282  rm -rf conftest*
    32353283  success=/usr/local
     
    32603308
    32613309echo $ac_n "checking that Perl 5 is available""... $ac_c" 1>&6
    3262 echo "configure:3263: checking that Perl 5 is available" >&5
     3310echo "configure:3311: checking that Perl 5 is available" >&5
    32633311success="no"
    32643312pl_path="$PATH"
     
    32903338success=no
    32913339echo $ac_n "checking "whether STL library has known faults"""... $ac_c" 1>&6
    3292 echo "configure:3293: checking "whether STL library has known faults"" >&5
     3340echo "configure:3341: checking "whether STL library has known faults"" >&5
    32933341
    32943342cat > conftest.$ac_ext <<EOF
    3295 #line 3296 "configure"
     3343#line 3344 "configure"
    32963344#include "confdefs.h"
    32973345#include <vector>
     
    33013349; return 0; }
    33023350EOF
    3303 if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3351if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33043352  rm -rf conftest*
    33053353  success=yes
     
    33123360if test $success = "no"; then
    33133361cat > conftest.$ac_ext <<EOF
    3314 #line 3315 "configure"
     3362#line 3363 "configure"
    33153363#include "confdefs.h"
    33163364#include <vector.h>
     
    33203368; return 0; }
    33213369EOF
    3322 if { (eval echo configure:3323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3370if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33233371  rm -rf conftest*
    33243372  success="yes"
     
    33323380if test $success = "no"; then
    33333381cat > conftest.$ac_ext <<EOF
    3334 #line 3335 "configure"
     3382#line 3383 "configure"
    33353383#include "confdefs.h"
    33363384#include <ospace\\std\\vector>
     
    33403388; return 0; }
    33413389EOF
    3342 if { (eval echo configure:3343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3390if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33433391  rm -rf conftest*
    33443392  success="yes"
     
    33703418fi
    33713419
     3420# ---------------------------------------------------------------------------
     3421
     3422moduleDirs=""
     3423MODULEDIRS=""
     3424for x in `find modules -mindepth 1 -maxdepth 2`; do
     3425  if test -d "$x"; then
     3426    d="$x/Makefile.in"
     3427    if test -e "$d"; then
     3428      moduleDirs="$moduleDirs $x/Makefile"
     3429      MODULEDIRS="$MODULEDIRS $x"
     3430    fi
     3431  fi
     3432done
     3433echo "Making$moduleDirs in modules directory"
     3434
    33723435
    33733436# ---------------------------------------------------------------------------
     
    33753438subdirs="packages"
    33763439
     3440
     3441# the list of folders in the src folder
     3442srclist="src/mgpp/lib/Makefile src/mgpp/text/Makefile src/mgpp/Makefile \
     3443          src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile \
     3444          src/db2txt/Makefile src/getpw/Makefile src/phind/generate/Makefile"
    33773445
    33783446trap '' 1 2 15
     
    34783546
    34793547trap 'rm -fr `echo "packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile
    3480           packages/mg/src/scripts/Makefile packages/mg/lib/Makefile src/mgpp/Makefile
    3481       src/mgpp/lib/Makefile src/mgpp/text/Makefile
    3482           src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile
    3483           src/db2txt/Makefile lib/Makefile Makefile src/getpw/Makefile
    3484       src/phind/generate/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     3548          packages/mg/src/scripts/Makefile packages/mg/lib/Makefile
     3549      lib/Makefile Makefile $srclist $moduleDirs config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    34853550EOF
    34863551cat >> $CONFIG_STATUS <<EOF
     
    35543619s%@GDBM_INCLUDE@%$GDBM_INCLUDE%g
    35553620s%@gsdlos@%$gsdlos%g
     3621s%@MODULEDIRS@%$MODULEDIRS%g
    35563622s%@subdirs@%$subdirs%g
    35573623
     
    35973663
    35983664CONFIG_FILES=\${CONFIG_FILES-"packages/Makefile packages/mg/Makefile packages/mg/src/text/Makefile packages/mg/src/images/Makefile
    3599           packages/mg/src/scripts/Makefile packages/mg/lib/Makefile src/mgpp/Makefile
    3600       src/mgpp/lib/Makefile src/mgpp/text/Makefile
    3601           src/hashfile/Makefile src/colservr/Makefile src/recpt/Makefile src/txt2db/Makefile
    3602           src/db2txt/Makefile lib/Makefile Makefile src/getpw/Makefile
    3603       src/phind/generate/Makefile"}
     3665          packages/mg/src/scripts/Makefile packages/mg/lib/Makefile
     3666      lib/Makefile Makefile $srclist $moduleDirs"}
    36043667EOF
    36053668cat >> $CONFIG_STATUS <<\EOF
     
    38763939fi
    38773940
    3878 
    3879 
    3880 
     3941#AC_OUTPUT($srclist)
     3942
     3943
Note: See TracChangeset for help on using the changeset viewer.