Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.21 by hiroo, Sat Mar 30 02:35:20 2002 UTC revision 1.22 by h-abe, Sun Mar 31 11:30:21 2002 UTC
# Line 236  program_suffix=NONE Line 236  program_suffix=NONE
236  program_transform_name=s,x,x,  program_transform_name=s,x,x,
237  silent=  silent=
238  site=  site=
 sitefile=  
239  srcdir=  srcdir=
240  target=NONE  target=NONE
241  verbose=  verbose=
# Line 253  libdir='${exec_prefix}/lib' Line 252  libdir='${exec_prefix}/lib'
252  includedir='${prefix}/include'  includedir='${prefix}/include'
253  oldincludedir='/usr/include'  oldincludedir='/usr/include'
254  infodir='${prefix}/info'  infodir='${prefix}/info'
255    guidedir='${prefix}/guide'
256    htmldir='${prefix}/html'
257    psdir='${prefix}/ps'
258    dvidir='${prefix}/dvi'
259  mandir='${prefix}/man'  mandir='${prefix}/man'
260    
261  # Initialize some other variables.  # Initialize some other variables.
# Line 351  Configuration: Line 354  Configuration:
354    --help                  print this message    --help                  print this message
355    --no-create             do not create output files    --no-create             do not create output files
356    --quiet, --silent       do not print \`checking...' messages    --quiet, --silent       do not print \`checking...' messages
   --site-file=FILE        use FILE as the site file  
357    --version               print the version of autoconf that created configure    --version               print the version of autoconf that created configure
358  Directory and file names:  Directory and file names:
359    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
# Line 371  Directory and file names: Line 373  Directory and file names:
373    --includedir=DIR        C header files in DIR [PREFIX/include]    --includedir=DIR        C header files in DIR [PREFIX/include]
374    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]    --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
375    --infodir=DIR           info documentation in DIR [PREFIX/info]    --infodir=DIR           info documentation in DIR [PREFIX/info]
376      --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
377      --htmldir=DIR           HTML documentation in DIR [PREFIX/html]
378      --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
379      --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
380    --mandir=DIR            man documentation in DIR [PREFIX/man]    --mandir=DIR            man documentation in DIR [PREFIX/man]
381    --srcdir=DIR            find the sources in DIR [configure dir or ..]    --srcdir=DIR            find the sources in DIR [configure dir or ..]
382    --program-prefix=PREFIX prepend PREFIX to installed program names    --program-prefix=PREFIX prepend PREFIX to installed program names
# Line 413  EOF Line 419  EOF
419    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
420      infodir="$ac_optarg" ;;      infodir="$ac_optarg" ;;
421    
422     -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
423       ac_prev=guidedir ;;
424     -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
425    
426     -htmldir | --htmldir | --htmldi | --htmld | --html | --htm)
427       ac_prev=htmldir ;;
428     -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* |--htm=*)+    htmldir="$ac_optarg" ;;
429    
430     -psdir | --psdir | --psdi | --psd | --ps)
431       ac_prev=psdir ;;
432     -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
433    
434     -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
435       ac_prev=dvidir ;;
436     -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
437    
438    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
439      ac_prev=libdir ;;      ac_prev=libdir ;;
440    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
# Line 522  EOF Line 544  EOF
544    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
545      site="$ac_optarg" ;;      site="$ac_optarg" ;;
546    
   -site-file | --site-file | --site-fil | --site-fi | --site-f)  
     ac_prev=sitefile ;;  
   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)  
     sitefile="$ac_optarg" ;;  
   
547    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
548      ac_prev=srcdir ;;      ac_prev=srcdir ;;
549    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
# Line 692  fi Line 709  fi
709  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
710    
711  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
712  if test -z "$sitefile"; then  if test -z "$CONFIG_SITE"; then
713    if test -z "$CONFIG_SITE"; then    if test "x$prefix" != xNONE; then
714      if test "x$prefix" != xNONE; then      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
715        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"    else
716      else      CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
       CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  
     fi  
717    fi    fi
 else  
   CONFIG_SITE="$sitefile"  
718  fi  fi
719  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
720    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
# Line 769  else { echo "configure: error: can not r Line 782  else { echo "configure: error: can not r
782  fi  fi
783    
784  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
785  echo "configure:773: checking host system type" >&5  echo "configure:786: checking host system type" >&5
786    
787  host_alias=$host  host_alias=$host
788  case "$host_alias" in  case "$host_alias" in
# Line 1077  fi Line 1090  fi
1090  # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
1091  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1092  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1093  echo "configure:1081: checking for $ac_word" >&5  echo "configure:1094: checking for $ac_word" >&5
1094  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1095    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1096  else  else
# Line 1104  else Line 1117  else
1117  fi  fi
1118    
1119  if test -z "$CC"; then  if test -z "$CC"; then
1120      # Extract the first word of "bcc", so it can be a program name with args.
1121    set dummy bcc; ac_word=$2
1122    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1123    echo "configure:1124: checking for $ac_word" >&5
1124    if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1125      echo $ac_n "(cached) $ac_c" 1>&6
1126    else
1127      if test -n "$CC"; then
1128      ac_cv_prog_CC="$CC" # Let the user override the test.
1129    else
1130      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1131      ac_dummy="$PATH"
1132      for ac_dir in $ac_dummy; do
1133        test -z "$ac_dir" && ac_dir=.
1134        if test -f $ac_dir/$ac_word; then
1135          ac_cv_prog_CC="bcc"
1136          break
1137        fi
1138      done
1139      IFS="$ac_save_ifs"
1140    fi
1141    fi
1142    CC="$ac_cv_prog_CC"
1143    if test -n "$CC"; then
1144      echo "$ac_t""$CC" 1>&6
1145    else
1146      echo "$ac_t""no" 1>&6
1147    fi
1148    
1149    fi
1150    if test -z "$CC"; then
1151      machine=`(uname -m 2>/dev/null)` || machine=unknown
1152      case "$machine" in
1153        BePC) # Extract the first word of "mwccx86", so it can be a program name with args.
1154    set dummy mwccx86; ac_word=$2
1155    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1156    echo "configure:1157: checking for $ac_word" >&5
1157    if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1158      echo $ac_n "(cached) $ac_c" 1>&6
1159    else
1160      if test -n "$CC"; then
1161      ac_cv_prog_CC="$CC" # Let the user override the test.
1162    else
1163      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1164      ac_dummy="$PATH"
1165      for ac_dir in $ac_dummy; do
1166        test -z "$ac_dir" && ac_dir=.
1167        if test -f $ac_dir/$ac_word; then
1168          ac_cv_prog_CC="mwccx86"
1169          break
1170        fi
1171      done
1172      IFS="$ac_save_ifs"
1173    fi
1174    fi
1175    CC="$ac_cv_prog_CC"
1176    if test -n "$CC"; then
1177      echo "$ac_t""$CC" 1>&6
1178    else
1179      echo "$ac_t""no" 1>&6
1180    fi
1181     ;;
1182        BeBox | BeMac ) # Extract the first word of "mwcc", so it can be a program name with args.
1183    set dummy mwcc; ac_word=$2
1184    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1185    echo "configure:1186: checking for $ac_word" >&5
1186    if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1187      echo $ac_n "(cached) $ac_c" 1>&6
1188    else
1189      if test -n "$CC"; then
1190      ac_cv_prog_CC="$CC" # Let the user override the test.
1191    else
1192      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1193      ac_dummy="$PATH"
1194      for ac_dir in $ac_dummy; do
1195        test -z "$ac_dir" && ac_dir=.
1196        if test -f $ac_dir/$ac_word; then
1197          ac_cv_prog_CC="mwcc"
1198          break
1199        fi
1200      done
1201      IFS="$ac_save_ifs"
1202    fi
1203    fi
1204    CC="$ac_cv_prog_CC"
1205    if test -n "$CC"; then
1206      echo "$ac_t""$CC" 1>&6
1207    else
1208      echo "$ac_t""no" 1>&6
1209    fi
1210     ;;
1211        *) ;;
1212      esac
1213    fi
1214    if test -z "$CC"; then
1215    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1216  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1217  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1218  echo "configure:1111: checking for $ac_word" >&5  echo "configure:1219: checking for $ac_word" >&5
1219  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1220    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1221  else  else
# Line 1152  else Line 1260  else
1260    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1261  fi  fi
1262    
1263    if test -z "$CC"; then  fi
1264      case "`uname -s`" in  if test -z "$CC"; then
1265      *win32* | *WIN32*)    case "`uname -s`" in
1266        # Extract the first word of "cl", so it can be a program name with args.    *win32* | *WIN32*)
1267        # Extract the first word of "cl", so it can be a program name with args.
1268  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1269  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1270  echo "configure:1162: checking for $ac_word" >&5  echo "configure:1271: checking for $ac_word" >&5
1271  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1272    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1273  else  else
# Line 1184  else Line 1293  else
1293    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1294  fi  fi
1295   ;;   ;;
1296      esac    esac
   fi  
   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  
1297  fi  fi
1298    test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1299    
1300  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1301  echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1302: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1302    
1303  ac_ext=c  ac_ext=c
1304  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 1201  cross_compiling=$ac_cv_prog_cc_cross Line 1309  cross_compiling=$ac_cv_prog_cc_cross
1309    
1310  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1311    
1312  #line 1205 "configure"  #line 1313 "configure"
1313  #include "confdefs.h"  #include "confdefs.h"
1314    
1315  main(){return(0);}  main(){return(0);}
1316  EOF  EOF
1317  if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1318    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1319    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
1320    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 1232  if test $ac_cv_prog_cc_works = no; then Line 1340  if test $ac_cv_prog_cc_works = no; then
1340    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1341  fi  fi
1342  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1343  echo "configure:1236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1344: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1344  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1345  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1346    
1347  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1348  echo "configure:1241: checking whether we are using GNU C" >&5  echo "configure:1349: checking whether we are using GNU C" >&5
1349  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1350    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1351  else  else
# Line 1246  else Line 1354  else
1354    yes;    yes;
1355  #endif  #endif
1356  EOF  EOF
1357  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1250: \"$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:1358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1358    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1359  else  else
1360    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1265  ac_test_CFLAGS="${CFLAGS+set}" Line 1373  ac_test_CFLAGS="${CFLAGS+set}"
1373  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1374  CFLAGS=  CFLAGS=
1375  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1376  echo "configure:1269: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1377: checking whether ${CC-cc} accepts -g" >&5
1377  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1378    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1379  else  else
# Line 1295  else Line 1403  else
1403      CFLAGS=      CFLAGS=
1404    fi    fi
1405  fi  fi
1406    case "$CC" in
1407      bcc )
1408        AR=${AR-mwld}
1409        LD=${LD-mwld}
1410        RANLIB=${RANLIB-true};;
1411      mwcc )
1412        CC="mwcc -I- -I. -I/boot/apps/GeekGadgets/include -L/boot/apps/GeekGadgets/lib -opt global -nodup"
1413        AR=${AR-mwld}
1414        LD=${LD-mwld}
1415        RANLIB=${RANLIB-true};;
1416      mwccx86 )
1417        CC="mwccx86 -I- -I. -I/boot/apps/GeekGadgets/include -L/boot/apps/GeekGadgets/lib"
1418        AR=${AR-mwldx86}
1419        LD=${LD-mwldx86}
1420        RANLIB=${RANLIB-true};;
1421      ${host_alias}-gcc)
1422        ;;
1423      *)
1424        AR=${AR-ar}
1425        LD=${LD-ld}
1426        RANLIB=${RANLIB-ranlib};;
1427    esac
1428    
1429    
1430    
1431  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}  CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}
1432  case $host in  case $host in
# Line 1377  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"' Line 1508  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
1508  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
1509    
1510  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1511  echo "configure:1381: checking how to run the C preprocessor" >&5  echo "configure:1512: checking how to run the C preprocessor" >&5
1512  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1513  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1514    CPP=    CPP=
# Line 1392  else Line 1523  else
1523    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
1524    # not just through cpp.    # not just through cpp.
1525    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1526  #line 1396 "configure"  #line 1527 "configure"
1527  #include "confdefs.h"  #include "confdefs.h"
1528  #include <assert.h>  #include <assert.h>
1529  Syntax Error  Syntax Error
1530  EOF  EOF
1531  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1532  { (eval echo configure:1402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1533  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1534  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1535    :    :
# Line 1409  else Line 1540  else
1540    rm -rf conftest*    rm -rf conftest*
1541    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1542    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1543  #line 1413 "configure"  #line 1544 "configure"
1544  #include "confdefs.h"  #include "confdefs.h"
1545  #include <assert.h>  #include <assert.h>
1546  Syntax Error  Syntax Error
1547  EOF  EOF
1548  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1549  { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1550  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1551  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1552    :    :
# Line 1426  else Line 1557  else
1557    rm -rf conftest*    rm -rf conftest*
1558    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1559    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1560  #line 1430 "configure"  #line 1561 "configure"
1561  #include "confdefs.h"  #include "confdefs.h"
1562  #include <assert.h>  #include <assert.h>
1563  Syntax Error  Syntax Error
1564  EOF  EOF
1565  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1566  { (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1567  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1568  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1569    :    :
# Line 1464  echo "$ac_t""$CPP" 1>&6 Line 1595  echo "$ac_t""$CPP" 1>&6
1595  # SunOS /usr/etc/install  # SunOS /usr/etc/install
1596  # IRIX /sbin/install  # IRIX /sbin/install
1597  # AIX /bin/install  # AIX /bin/install
1598    # AmigaOS /c/install
1599  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1600  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1601  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1602  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1603  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1604  echo "configure:1473: checking for a BSD compatible install" >&5  echo "configure:1605: checking for a BSD compatible install" >&5
1605  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1606  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1607    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1478  else Line 1610  else
1610    for ac_dir in $PATH; do    for ac_dir in $PATH; do
1611      # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
1612      case "$ac_dir/" in      case "$ac_dir/" in
1613      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;      /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1614      *)      *)
1615        # OSF1 and SCO ODT 3.0 have their own names for install.        # OSF1 and SCO ODT 3.0 have their own names for install.
1616        # Don't use installbsd from OSF since it installs stuff as root        # Don't use installbsd from OSF since it installs stuff as root
# Line 1522  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1654  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1654  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1655    
1656  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1657  echo "configure:1526: checking whether ln -s works" >&5  echo "configure:1658: checking whether ln -s works" >&5
1658  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1659    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1660  else  else
# Line 1532  then Line 1664  then
1664    rm -f conftestdata    rm -f conftestdata
1665    ac_cv_prog_LN_S="ln -s"    ac_cv_prog_LN_S="ln -s"
1666  else  else
1667    ac_cv_prog_LN_S=ln    if ln X conftestdata 2>/dev/null
1668      then
1669        rm -f conftestdata
1670        ac_cv_prog_LN_S=ln
1671      else
1672        ac_cv_prog_LN_S=cp
1673      fi
1674  fi  fi
1675  fi  fi
1676  LN_S="$ac_cv_prog_LN_S"  LN_S="$ac_cv_prog_LN_S"
1677  if test "$ac_cv_prog_LN_S" = "ln -s"; then  if test "$ac_cv_prog_LN_S" = "ln -s"; then
1678    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
1679  else  else
1680    echo "$ac_t""no" 1>&6    if test "$ac_cv_prog_LN_S" = "ln"; then
1681        echo "$ac_t""no, using ln" 1>&6
1682      else
1683        echo "$ac_t""no, and neither does ln, so using cp" 1>&6
1684      fi
1685  fi  fi
1686    
1687  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1688  echo "configure:1547: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:1689: checking whether ${MAKE-make} sets \${MAKE}" >&5
1689  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1690  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1691    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1570  else Line 1712  else
1712  fi  fi
1713    
1714  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1715  echo "configure:1574: checking for Cygwin environment" >&5  echo "configure:1716: checking for Cygwin environment" >&5
1716  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1717    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1718  else  else
1719    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1720  #line 1579 "configure"  #line 1721 "configure"
1721  #include "confdefs.h"  #include "confdefs.h"
1722    
1723  int main() {  int main() {
# Line 1586  int main() { Line 1728  int main() {
1728  return __CYGWIN__;  return __CYGWIN__;
1729  ; return 0; }  ; return 0; }
1730  EOF  EOF
1731  if { (eval echo configure:1590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1732    rm -rf conftest*    rm -rf conftest*
1733    ac_cv_cygwin=yes    ac_cv_cygwin=yes
1734  else  else
# Line 1603  echo "$ac_t""$ac_cv_cygwin" 1>&6 Line 1745  echo "$ac_t""$ac_cv_cygwin" 1>&6
1745  CYGWIN=  CYGWIN=
1746  test "$ac_cv_cygwin" = yes && CYGWIN=yes  test "$ac_cv_cygwin" = yes && CYGWIN=yes
1747  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1748  echo "configure:1607: checking for mingw32 environment" >&5  echo "configure:1749: checking for mingw32 environment" >&5
1749  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1750    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1751  else  else
1752    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1753  #line 1612 "configure"  #line 1754 "configure"
1754  #include "confdefs.h"  #include "confdefs.h"
1755    
1756  int main() {  int main() {
1757  return __MINGW32__;  return __MINGW32__;
1758  ; return 0; }  ; return 0; }
1759  EOF  EOF
1760  if { (eval echo configure:1619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1761    rm -rf conftest*    rm -rf conftest*
1762    ac_cv_mingw32=yes    ac_cv_mingw32=yes
1763  else  else
# Line 1701  else Line 1843  else
1843  fi  fi
1844    
1845  echo $ac_n "checking build system type""... $ac_c" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6
1846  echo "configure:1705: checking build system type" >&5  echo "configure:1847: checking build system type" >&5
1847    
1848  build_alias=$build  build_alias=$build
1849  case "$build_alias" in  case "$build_alias" in
# Line 1730  ac_prog=ld Line 1872  ac_prog=ld
1872  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1873    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
1874    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6    echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1875  echo "configure:1734: checking for ld used by GCC" >&5  echo "configure:1876: checking for ld used by GCC" >&5
1876    case $host in    case $host in
1877    *-*-mingw*)    *-*-mingw*)
1878      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 1760  echo "configure:1734: checking for ld us Line 1902  echo "configure:1734: checking for ld us
1902    esac    esac
1903  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
1904    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1905  echo "configure:1764: checking for GNU ld" >&5  echo "configure:1906: checking for GNU ld" >&5
1906  else  else
1907    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1908  echo "configure:1767: checking for non-GNU ld" >&5  echo "configure:1909: checking for non-GNU ld" >&5
1909  fi  fi
1910  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1911    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1798  else Line 1940  else
1940  fi  fi
1941  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1942  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6  echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1943  echo "configure:1802: checking if the linker ($LD) is GNU ld" >&5  echo "configure:1944: checking if the linker ($LD) is GNU ld" >&5
1944  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1945    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1946  else  else
# Line 1815  with_gnu_ld=$lt_cv_prog_gnu_ld Line 1957  with_gnu_ld=$lt_cv_prog_gnu_ld
1957    
1958    
1959  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6  echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1960  echo "configure:1819: checking for $LD option to reload object files" >&5  echo "configure:1961: checking for $LD option to reload object files" >&5
1961  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1962    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1963  else  else
# Line 1827  reload_flag=$lt_cv_ld_reload_flag Line 1969  reload_flag=$lt_cv_ld_reload_flag
1969  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
1970    
1971  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1972  echo "configure:1831: checking for BSD-compatible nm" >&5  echo "configure:1973: checking for BSD-compatible nm" >&5
1973  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1974    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1975  else  else
# Line 1865  NM="$lt_cv_path_NM" Line 2007  NM="$lt_cv_path_NM"
2007  echo "$ac_t""$NM" 1>&6  echo "$ac_t""$NM" 1>&6
2008    
2009  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6  echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
2010  echo "configure:1869: checking how to recognise dependant libraries" >&5  echo "configure:2011: checking how to recognise dependant libraries" >&5
2011  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
2012    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2013  else  else
# Line 2038  file_magic_cmd=$lt_cv_file_magic_cmd Line 2180  file_magic_cmd=$lt_cv_file_magic_cmd
2180  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
2181    
2182  echo $ac_n "checking for object suffix""... $ac_c" 1>&6  echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2183  echo "configure:2042: checking for object suffix" >&5  echo "configure:2184: checking for object suffix" >&5
2184  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2185    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2186  else  else
2187    rm -f conftest*    rm -f conftest*
2188  echo 'int i = 1;' > conftest.$ac_ext  echo 'int i = 1;' > conftest.$ac_ext
2189  if { (eval echo configure:2048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2190    for ac_file in conftest.*; do    for ac_file in conftest.*; do
2191      case $ac_file in      case $ac_file in
2192      *.c) ;;      *.c) ;;
# Line 2064  ac_objext=$ac_cv_objext Line 2206  ac_objext=$ac_cv_objext
2206    
2207    
2208  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2209  echo "configure:2068: checking for executable suffix" >&5  echo "configure:2210: checking for executable suffix" >&5
2210  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2211    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2212  else  else
# Line 2074  else Line 2216  else
2216    rm -f conftest*    rm -f conftest*
2217    echo 'int main () { return 0; }' > conftest.$ac_ext    echo 'int main () { return 0; }' > conftest.$ac_ext
2218    ac_cv_exeext=    ac_cv_exeext=
2219    if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2220      for file in conftest.*; do      for file in conftest.*; do
2221        case $file in        case $file in
2222        *.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;        *.c | *.o | *.obj | *.xSYM) ;;
2223        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
2224        esac        esac
2225      done      done
# Line 2105  fi Line 2247  fi
2247    
2248  # Check for command to grab the raw symbol name followed by C symbol from nm.  # Check for command to grab the raw symbol name followed by C symbol from nm.
2249  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6  echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
2250  echo "configure:2109: checking command to parse $NM output" >&5  echo "configure:2251: checking command to parse $NM output" >&5
2251  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
2252    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2253  else  else
# Line 2181  void nm_test_func(){} Line 2323  void nm_test_func(){}
2323  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
2324  EOF  EOF
2325    
2326    if { (eval echo configure:2185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2327      # Now try to grab the symbols.      # Now try to grab the symbols.
2328      nlist=conftest.nm      nlist=conftest.nm
2329      if { (eval echo configure:2188: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then      if { (eval echo configure:2330: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
2330        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
2331        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
2332          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 2235  EOF Line 2377  EOF
2377            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
2378            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
2379            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
2380            if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then            if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2381              pipe_works=yes              pipe_works=yes
2382            fi            fi
2383            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 2281  for ac_hdr in dlfcn.h Line 2423  for ac_hdr in dlfcn.h
2423  do  do
2424  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2425  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2426  echo "configure:2285: checking for $ac_hdr" >&5  echo "configure:2427: checking for $ac_hdr" >&5
2427  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2428    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2429  else  else
2430    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2431  #line 2290 "configure"  #line 2432 "configure"
2432  #include "confdefs.h"  #include "confdefs.h"
2433  #include <$ac_hdr>  #include <$ac_hdr>
2434  EOF  EOF
2435  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2436  { (eval echo configure:2295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2437  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2438  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2439    rm -rf conftest*    rm -rf conftest*
# Line 2326  case $deplibs_check_method in Line 2468  case $deplibs_check_method in
2468  file_magic*)  file_magic*)
2469    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2470      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6      echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2471  echo "configure:2330: checking for ${ac_tool_prefix}file" >&5  echo "configure:2472: checking for ${ac_tool_prefix}file" >&5
2472  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2473    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2474  else  else
# Line 2388  fi Line 2530  fi
2530  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
2531    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2532      echo $ac_n "checking for file""... $ac_c" 1>&6      echo $ac_n "checking for file""... $ac_c" 1>&6
2533  echo "configure:2392: checking for file" >&5  echo "configure:2534: checking for file" >&5
2534  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2535    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2536  else  else
# Line 2459  esac Line 2601  esac
2601  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2602  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2603  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2604  echo "configure:2463: checking for $ac_word" >&5  echo "configure:2605: checking for $ac_word" >&5
2605  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2606    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2607  else  else
# Line 2491  if test -n "$ac_tool_prefix"; then Line 2633  if test -n "$ac_tool_prefix"; then
2633    # Extract the first word of "ranlib", so it can be a program name with args.    # Extract the first word of "ranlib", so it can be a program name with args.
2634  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2635  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2636  echo "configure:2495: checking for $ac_word" >&5  echo "configure:2637: checking for $ac_word" >&5
2637  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2638    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2639  else  else
# Line 2526  fi Line 2668  fi
2668  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2669  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
2670  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2671  echo "configure:2530: checking for $ac_word" >&5  echo "configure:2672: checking for $ac_word" >&5
2672  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2673    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2674  else  else
# Line 2558  if test -n "$ac_tool_prefix"; then Line 2700  if test -n "$ac_tool_prefix"; then
2700    # Extract the first word of "strip", so it can be a program name with args.    # Extract the first word of "strip", so it can be a program name with args.
2701  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2702  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2703  echo "configure:2562: checking for $ac_word" >&5  echo "configure:2704: checking for $ac_word" >&5
2704  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2705    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2706  else  else
# Line 2607  test "x$enable_libtool_lock" != xno && e Line 2749  test "x$enable_libtool_lock" != xno && e
2749  case $host in  case $host in
2750  *-*-irix6*)  *-*-irix6*)
2751    # Find out which ABI we are using.    # Find out which ABI we are using.
2752    echo '#line 2611 "configure"' > conftest.$ac_ext    echo '#line 2753 "configure"' > conftest.$ac_ext
2753    if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2754      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
2755      *32-bit*)      *32-bit*)
2756        LD="${LD-ld} -32"        LD="${LD-ld} -32"
# Line 2629  case $host in Line 2771  case $host in
2771    SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
2772    CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
2773    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6    echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2774  echo "configure:2633: checking whether the C compiler needs -belf" >&5  echo "configure:2775: checking whether the C compiler needs -belf" >&5
2775  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2776    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2777  else  else
# Line 2642  ac_link='${CC-cc} -o conftest${ac_exeext Line 2784  ac_link='${CC-cc} -o conftest${ac_exeext
2784  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
2785    
2786       cat > conftest.$ac_ext <<EOF       cat > conftest.$ac_ext <<EOF
2787  #line 2646 "configure"  #line 2788 "configure"
2788  #include "confdefs.h"  #include "confdefs.h"
2789    
2790  int main() {  int main() {
2791    
2792  ; return 0; }  ; return 0; }
2793  EOF  EOF
2794  if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2795    rm -rf conftest*    rm -rf conftest*
2796    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
2797  else  else
# Line 2762  set dummy $CC Line 2904  set dummy $CC
2904  compiler="$2"  compiler="$2"
2905    
2906  echo $ac_n "checking for objdir""... $ac_c" 1>&6  echo $ac_n "checking for objdir""... $ac_c" 1>&6
2907  echo "configure:2766: checking for objdir" >&5  echo "configure:2908: checking for objdir" >&5
2908  rm -f .libs 2>/dev/null  rm -f .libs 2>/dev/null
2909  mkdir .libs 2>/dev/null  mkdir .libs 2>/dev/null
2910  if test -d .libs; then  if test -d .libs; then
# Line 2789  test -z "$pic_mode" && pic_mode=default Line 2931  test -z "$pic_mode" && pic_mode=default
2931  # in isolation, and that seeing it set (from the cache) indicates that  # in isolation, and that seeing it set (from the cache) indicates that
2932  # the associated values are set (in the cache) correctly too.  # the associated values are set (in the cache) correctly too.
2933  echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6  echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
2934  echo "configure:2793: checking for $compiler option to produce PIC" >&5  echo "configure:2935: checking for $compiler option to produce PIC" >&5
2935  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
2936    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2937  else  else
# Line 2941  else Line 3083  else
3083    
3084    # Check to make sure the pic_flag actually works.    # Check to make sure the pic_flag actually works.
3085    echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6    echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
3086  echo "configure:2945: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5  echo "configure:3087: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
3087    if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then    if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
3088    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3089  else  else
3090        save_CFLAGS="$CFLAGS"        save_CFLAGS="$CFLAGS"
3091      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
3092      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
3093  #line 2952 "configure"  #line 3094 "configure"
3094  #include "confdefs.h"  #include "confdefs.h"
3095    
3096  int main() {  int main() {
3097    
3098  ; return 0; }  ; return 0; }
3099  EOF  EOF
3100  if { (eval echo configure:2959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3101    rm -rf conftest*    rm -rf conftest*
3102          case $host_os in          case $host_os in
3103        hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
# Line 3007  if test -n "$lt_cv_prog_cc_shlib"; then Line 3149  if test -n "$lt_cv_prog_cc_shlib"; then
3149  fi  fi
3150    
3151  echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6  echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
3152  echo "configure:3011: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  echo "configure:3153: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3153  if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
3154    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3155  else  else
# Line 3015  else Line 3157  else
3157    save_LDFLAGS="$LDFLAGS"    save_LDFLAGS="$LDFLAGS"
3158    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
3159    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3160  #line 3019 "configure"  #line 3161 "configure"
3161  #include "confdefs.h"  #include "confdefs.h"
3162    
3163  int main() {  int main() {
3164    
3165  ; return 0; }  ; return 0; }
3166  EOF  EOF
3167  if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3168    rm -rf conftest*    rm -rf conftest*
3169    lt_cv_prog_cc_static_works=yes    lt_cv_prog_cc_static_works=yes
3170  else  else
# Line 3049  can_build_shared="$lt_cv_prog_cc_can_bui Line 3191  can_build_shared="$lt_cv_prog_cc_can_bui
3191    
3192  # Check to see if options -o and -c are simultaneously supported by compiler  # Check to see if options -o and -c are simultaneously supported by compiler
3193  echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6  echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
3194  echo "configure:3053: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "configure:3195: checking if $compiler supports -c -o file.$ac_objext" >&5
3195  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
3196    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3197  else  else
# Line 3068  chmod -w . Line 3210  chmod -w .
3210  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
3211  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
3212  compiler_c_o=no  compiler_c_o=no
3213  if { (eval echo configure:3072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3214    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
3215    # So say no if there are warnings    # So say no if there are warnings
3216    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 3097  echo "$ac_t""$compiler_c_o" 1>&6 Line 3239  echo "$ac_t""$compiler_c_o" 1>&6
3239  if test x"$compiler_c_o" = x"yes"; then  if test x"$compiler_c_o" = x"yes"; then
3240    # Check to see if we can write to a .lo    # Check to see if we can write to a .lo
3241    echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6    echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
3242  echo "configure:3101: checking if $compiler supports -c -o file.lo" >&5  echo "configure:3243: checking if $compiler supports -c -o file.lo" >&5
3243    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
3244    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3245  else  else
# Line 3106  else Line 3248  else
3248    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3249    CFLAGS="$CFLAGS -c -o conftest.lo"    CFLAGS="$CFLAGS -c -o conftest.lo"
3250    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3251  #line 3110 "configure"  #line 3252 "configure"
3252  #include "confdefs.h"  #include "confdefs.h"
3253    
3254  int main() {  int main() {
3255  int some_variable = 0;  int some_variable = 0;
3256  ; return 0; }  ; return 0; }
3257  EOF  EOF
3258  if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3259    rm -rf conftest*    rm -rf conftest*
3260        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3261      # So say no if there are warnings      # So say no if there are warnings
# Line 3143  hard_links="nottested" Line 3285  hard_links="nottested"
3285  if test "$compiler_c_o" = no && test "$need_locks" != no; then  if test "$compiler_c_o" = no && test "$need_locks" != no; then
3286    # do not overwrite the value of need_locks provided by the user    # do not overwrite the value of need_locks provided by the user
3287    echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6    echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
3288  echo "configure:3147: checking if we can lock with hard links" >&5  echo "configure:3289: checking if we can lock with hard links" >&5
3289    hard_links=yes    hard_links=yes
3290    $rm conftest*    $rm conftest*
3291    ln conftest.a conftest.b 2>/dev/null && hard_links=no    ln conftest.a conftest.b 2>/dev/null && hard_links=no
# Line 3162  fi Line 3304  fi
3304  if test "$GCC" = yes; then  if test "$GCC" = yes; then
3305    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler    # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
3306    echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6    echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
3307  echo "configure:3166: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  echo "configure:3308: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
3308    echo "int some_variable = 0;" > conftest.$ac_ext    echo "int some_variable = 0;" > conftest.$ac_ext
3309    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3310    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
3311    compiler_rtti_exceptions=no    compiler_rtti_exceptions=no
3312    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3313  #line 3172 "configure"  #line 3314 "configure"
3314  #include "confdefs.h"  #include "confdefs.h"
3315    
3316  int main() {  int main() {
3317  int some_variable = 0;  int some_variable = 0;
3318  ; return 0; }  ; return 0; }
3319  EOF  EOF
3320  if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3321    rm -rf conftest*    rm -rf conftest*
3322        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3323      # So say no if there are warnings      # So say no if there are warnings
# Line 3202  fi Line 3344  fi
3344    
3345  # See if the linker supports building shared libraries.  # See if the linker supports building shared libraries.
3346  echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6  echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
3347  echo "configure:3206: checking whether the linker ($LD) supports shared libraries" >&5  echo "configure:3348: checking whether the linker ($LD) supports shared libraries" >&5
3348    
3349  allow_undefined_flag=  allow_undefined_flag=
3350  no_undefined_flag=  no_undefined_flag=
# Line 3818  test "$ld_shlibs" = no && can_build_shar Line 3960  test "$ld_shlibs" = no && can_build_shar
3960    
3961  # Check hardcoding attributes.  # Check hardcoding attributes.
3962  echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6  echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
3963  echo "configure:3822: checking how to hardcode library paths into programs" >&5  echo "configure:3964: checking how to hardcode library paths into programs" >&5
3964  hardcode_action=  hardcode_action=
3965  if test -n "$hardcode_libdir_flag_spec" || \  if test -n "$hardcode_libdir_flag_spec" || \
3966     test -n "$runpath_var"; then     test -n "$runpath_var"; then
# Line 3846  echo "$ac_t""$hardcode_action" 1>&6 Line 3988  echo "$ac_t""$hardcode_action" 1>&6
3988  striplib=  striplib=
3989  old_striplib=  old_striplib=
3990  echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6  echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
3991  echo "configure:3850: checking whether stripping libraries is possible" >&5  echo "configure:3992: checking whether stripping libraries is possible" >&5
3992  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
3993    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3994    test -z "$striplib" && striplib="$STRIP --strip-unneeded"    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
# Line 3860  test -z "$deplibs_check_method" && depli Line 4002  test -z "$deplibs_check_method" && depli
4002    
4003  # PORTME Fill in your ld.so characteristics  # PORTME Fill in your ld.so characteristics
4004  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
4005  echo "configure:3864: checking dynamic linker characteristics" >&5  echo "configure:4006: checking dynamic linker characteristics" >&5
4006  library_names_spec=  library_names_spec=
4007  libname_spec='lib$name'  libname_spec='lib$name'
4008  soname_spec=  soname_spec=
# Line 4246  test "$dynamic_linker" = no && can_build Line 4388  test "$dynamic_linker" = no && can_build
4388    
4389  # Report the final consequences.  # Report the final consequences.
4390  echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6  echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
4391  echo "configure:4250: checking if libtool supports shared libraries" >&5  echo "configure:4392: checking if libtool supports shared libraries" >&5
4392  echo "$ac_t""$can_build_shared" 1>&6  echo "$ac_t""$can_build_shared" 1>&6
4393    
4394  if test "$hardcode_action" = relink; then  if test "$hardcode_action" = relink; then
# Line 4285  else Line 4427  else
4427    
4428    *)    *)
4429      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4430  echo "configure:4289: checking for dlopen in -ldl" >&5  echo "configure:4431: checking for dlopen in -ldl" >&5
4431  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4432  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4433    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4293  else Line 4435  else
4435    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4436  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
4437  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4438  #line 4297 "configure"  #line 4439 "configure"
4439  #include "confdefs.h"  #include "confdefs.h"
4440  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4441  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4304  int main() { Line 4446  int main() {
4446  dlopen()  dlopen()
4447  ; return 0; }  ; return 0; }
4448  EOF  EOF
4449  if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4450    rm -rf conftest*    rm -rf conftest*
4451    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4452  else  else
# Line 4323  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4465  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4465  else  else
4466    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4467  echo $ac_n "checking for dlopen""... $ac_c" 1>&6  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4468  echo "configure:4327: checking for dlopen" >&5  echo "configure:4469: checking for dlopen" >&5
4469  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4470    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4471  else  else
4472    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4473  #line 4332 "configure"  #line 4474 "configure"
4474  #include "confdefs.h"  #include "confdefs.h"
4475  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4476      which can conflict with char dlopen(); below.  */      which can conflict with char dlopen(); below.  */
# Line 4351  dlopen(); Line 4493  dlopen();
4493    
4494  ; return 0; }  ; return 0; }
4495  EOF  EOF
4496  if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4497    rm -rf conftest*    rm -rf conftest*
4498    eval "ac_cv_func_dlopen=yes"    eval "ac_cv_func_dlopen=yes"
4499  else  else
# Line 4369  if eval "test \"`echo '$ac_cv_func_'dlop Line 4511  if eval "test \"`echo '$ac_cv_func_'dlop
4511  else  else
4512    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4513  echo $ac_n "checking for shl_load""... $ac_c" 1>&6  echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4514  echo "configure:4373: checking for shl_load" >&5  echo "configure:4515: checking for shl_load" >&5
4515  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4516    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4517  else  else
4518    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4519  #line 4378 "configure"  #line 4520 "configure"
4520  #include "confdefs.h"  #include "confdefs.h"
4521  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4522      which can conflict with char shl_load(); below.  */      which can conflict with char shl_load(); below.  */
# Line 4397  shl_load(); Line 4539  shl_load();
4539    
4540  ; return 0; }  ; return 0; }
4541  EOF  EOF
4542  if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4543    rm -rf conftest*    rm -rf conftest*
4544    eval "ac_cv_func_shl_load=yes"    eval "ac_cv_func_shl_load=yes"
4545  else  else
# Line 4415  if eval "test \"`echo '$ac_cv_func_'shl_ Line 4557  if eval "test \"`echo '$ac_cv_func_'shl_
4557  else  else
4558    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4559  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4560  echo "configure:4419: checking for dlopen in -lsvld" >&5  echo "configure:4561: checking for dlopen in -lsvld" >&5
4561  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4562  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4563    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4423  else Line 4565  else
4565    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4566  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
4567  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4568  #line 4427 "configure"  #line 4569 "configure"
4569  #include "confdefs.h"  #include "confdefs.h"
4570  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4571  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4434  int main() { Line 4576  int main() {
4576  dlopen()  dlopen()
4577  ; return 0; }  ; return 0; }
4578  EOF  EOF
4579  if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4580    rm -rf conftest*    rm -rf conftest*
4581    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4582  else  else
# Line 4453  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4595  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4595  else  else
4596    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4597  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
4598  echo "configure:4457: checking for shl_load in -ldld" >&5  echo "configure:4599: checking for shl_load in -ldld" >&5
4599  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
4600  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4601    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4461  else Line 4603  else
4603    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4604  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
4605  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4606  #line 4465 "configure"  #line 4607 "configure"
4607  #include "confdefs.h"  #include "confdefs.h"
4608  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4609  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 4472  int main() { Line 4614  int main() {
4614  shl_load()  shl_load()
4615  ; return 0; }  ; return 0; }
4616  EOF  EOF
4617  if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4618    rm -rf conftest*    rm -rf conftest*
4619    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4620  else  else
# Line 4525  fi Line 4667  fi
4667      LIBS="$lt_cv_dlopen_libs $LIBS"      LIBS="$lt_cv_dlopen_libs $LIBS"
4668    
4669      echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6      echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
4670  echo "configure:4529: checking whether a program can dlopen itself" >&5  echo "configure:4671: checking whether a program can dlopen itself" >&5
4671  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
4672    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4673  else  else
# Line 4535  else Line 4677  else
4677      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4678    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4679    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4680  #line 4539 "configure"  #line 4681 "configure"
4681  #include "confdefs.h"  #include "confdefs.h"
4682    
4683  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4596  int main () Line 4738  int main ()
4738      exit (status);      exit (status);
4739  }  }
4740  EOF  EOF
4741    if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then    if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4742      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4743      lt_status=$?      lt_status=$?
4744      case x$lt_status in      case x$lt_status in
# Line 4619  echo "$ac_t""$lt_cv_dlopen_self" 1>&6 Line 4761  echo "$ac_t""$lt_cv_dlopen_self" 1>&6
4761      if test "x$lt_cv_dlopen_self" = xyes; then      if test "x$lt_cv_dlopen_self" = xyes; then
4762        LDFLAGS="$LDFLAGS $link_static_flag"        LDFLAGS="$LDFLAGS $link_static_flag"
4763        echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6        echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
4764  echo "configure:4623: checking whether a statically linked program can dlopen itself" >&5  echo "configure:4765: checking whether a statically linked program can dlopen itself" >&5
4765  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
4766    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4767  else  else
# Line 4629  else Line 4771  else
4771      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4772    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4773    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4774  #line 4633 "configure"  #line 4775 "configure"
4775  #include "confdefs.h"  #include "confdefs.h"
4776    
4777  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4690  int main () Line 4832  int main ()
4832      exit (status);      exit (status);
4833  }  }
4834  EOF  EOF
4835    if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then    if { (eval echo configure:4836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4836      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4837      lt_status=$?      lt_status=$?
4838      case x$lt_status in      case x$lt_status in
# Line 4739  if test "$enable_shared" = yes && test " Line 4881  if test "$enable_shared" = yes && test "
4881      # systems, -lgcc has to come before -lc. If gcc already passes -lc      # systems, -lgcc has to come before -lc. If gcc already passes -lc
4882      # to ld, don't add -lc before -lgcc.      # to ld, don't add -lc before -lgcc.
4883      echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6      echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
4884  echo "configure:4743: checking whether -lc should be explicitly linked in" >&5  echo "configure:4885: checking whether -lc should be explicitly linked in" >&5
4885      if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then      if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
4886    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4887  else  else
4888    $rm conftest*    $rm conftest*
4889      echo 'static int dummy;' > conftest.$ac_ext      echo 'static int dummy;' > conftest.$ac_ext
4890    
4891      if { (eval echo configure:4750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then      if { (eval echo configure:4892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4892        soname=conftest        soname=conftest
4893        lib=conftest        lib=conftest
4894        libobjs=conftest.$ac_objext        libobjs=conftest.$ac_objext
# Line 4759  else Line 4901  else
4901        libname=conftest        libname=conftest
4902        save_allow_undefined_flag=$allow_undefined_flag        save_allow_undefined_flag=$allow_undefined_flag
4903        allow_undefined_flag=        allow_undefined_flag=
4904        if { (eval echo configure:4763: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }        if { (eval echo configure:4905: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
4905        then        then
4906          lt_cv_archive_cmds_need_lc=no          lt_cv_archive_cmds_need_lc=no
4907        else        else
# Line 5342  LIBTOOL='$(SHELL) $(top_builddir)/libtoo Line 5484  LIBTOOL='$(SHELL) $(top_builddir)/libtoo
5484    
5485    
5486  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
5487  echo "configure:5346: checking for crypt in -lcrypt" >&5  echo "configure:5488: checking for crypt in -lcrypt" >&5
5488  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
5489  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5490    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5350  else Line 5492  else
5492    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5493  LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
5494  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5495  #line 5354 "configure"  #line 5496 "configure"
5496  #include "confdefs.h"  #include "confdefs.h"
5497  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5498  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5361  int main() { Line 5503  int main() {
5503  crypt()  crypt()
5504  ; return 0; }  ; return 0; }
5505  EOF  EOF
5506  if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5507    rm -rf conftest*    rm -rf conftest*
5508    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5509  else  else
# Line 5389  else Line 5531  else
5531  fi  fi
5532    
5533  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
5534  echo "configure:5393: checking for connect in -lsocket" >&5  echo "configure:5535: checking for connect in -lsocket" >&5
5535  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
5536  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5537    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5397  else Line 5539  else
5539    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5540  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5541  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5542  #line 5401 "configure"  #line 5543 "configure"
5543  #include "confdefs.h"  #include "confdefs.h"
5544  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5545  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5408  int main() { Line 5550  int main() {
5550  connect()  connect()
5551  ; return 0; }  ; return 0; }
5552  EOF  EOF
5553  if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5554    rm -rf conftest*    rm -rf conftest*
5555    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5556  else  else
# Line 5436  else Line 5578  else
5578  fi  fi
5579    
5580  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
5581  echo "configure:5440: checking for gethostbyname in -lnsl" >&5  echo "configure:5582: checking for gethostbyname in -lnsl" >&5
5582  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
5583  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5584    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5444  else Line 5586  else
5586    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5587  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5588  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5589  #line 5448 "configure"  #line 5590 "configure"
5590  #include "confdefs.h"  #include "confdefs.h"
5591  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5592  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5455  int main() { Line 5597  int main() {
5597  gethostbyname()  gethostbyname()
5598  ; return 0; }  ; return 0; }
5599  EOF  EOF
5600  if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5601    rm -rf conftest*    rm -rf conftest*
5602    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5603  else  else
# Line 5488  fi Line 5630  fi
5630  # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
5631  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
5632  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
5633  echo "configure:5492: checking for X" >&5  echo "configure:5634: checking for X" >&5
5634    
5635  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
5636  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 5532  EOF Line 5674  EOF
5674      # bogus both because they are the default anyway, and because      # bogus both because they are the default anyway, and because
5675      # using them would break gcc on systems where it needs fixed includes.      # using them would break gcc on systems where it needs fixed includes.
5676      case "$ac_im_incroot" in      case "$ac_im_incroot" in
5677          /usr/include) ;;          /gg/include) ;;
5678          *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;          *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
5679      esac      esac
5680      case "$ac_im_usrlibdir" in      case "$ac_im_usrlibdir" in
5681          /usr/lib | /lib) ;;          /gg/lib) ;;
5682          *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;          *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
5683      esac      esac
5684    fi    fi
5685    cd ..    cd ..
5686      # AmigaOS hack - give lock on conftestdir time to expire before rm -fr.
5687      sleep 2
5688    rm -fr conftestdir    rm -fr conftestdir
5689  fi  fi
5690    
# Line 5550  if test "$ac_x_includes" = NO; then Line 5694  if test "$ac_x_includes" = NO; then
5694    
5695    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5696  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5697  #line 5554 "configure"  #line 5698 "configure"
5698  #include "confdefs.h"  #include "confdefs.h"
5699  #include <$x_direct_test_include>  #include <$x_direct_test_include>
5700  EOF  EOF
5701  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5702  { (eval echo configure:5559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5703  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5704  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5705    rm -rf conftest*    rm -rf conftest*
# Line 5602  else Line 5746  else
5746                                \                                \
5747      /usr/openwin/include      \      /usr/openwin/include      \
5748      /usr/openwin/share/include \      /usr/openwin/share/include \
5749                                  \
5750        /gg/X11/include          \
5751        /gg/include/X11          \
5752      ; \      ; \
5753    do    do
5754      if test -r "$ac_dir/$x_direct_test_include"; then      if test -r "$ac_dir/$x_direct_test_include"; then
# Line 5624  if test "$ac_x_libraries" = NO; then Line 5771  if test "$ac_x_libraries" = NO; then
5771    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5772    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
5773  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5774  #line 5628 "configure"  #line 5775 "configure"
5775  #include "confdefs.h"  #include "confdefs.h"
5776    
5777  int main() {  int main() {
5778  ${x_direct_test_function}()  ${x_direct_test_function}()
5779  ; return 0; }  ; return 0; }
5780  EOF  EOF
5781  if { (eval echo configure:5635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5782    rm -rf conftest*    rm -rf conftest*
5783    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
5784  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5678  for ac_dir in `echo "$ac_x_includes" | s Line 5825  for ac_dir in `echo "$ac_x_includes" | s
5825                            \                            \
5826      /usr/openwin/lib      \      /usr/openwin/lib      \
5827      /usr/openwin/share/lib \      /usr/openwin/share/lib \
5828                               \
5829        /gg/X11/lib           \
5830        /gg/lib/X11           \
5831      ; \      ; \
5832  do  do
5833    for ac_extension in a so sl; do    for ac_extension in a so sl; do
# Line 5718  else Line 5868  else
5868  fi  fi
5869    
5870  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
5871  echo "configure:5722: checking for ANSI C header files" >&5  echo "configure:5872: checking for ANSI C header files" >&5
5872  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
5873    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5874  else  else
5875    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5876  #line 5727 "configure"  #line 5877 "configure"
5877  #include "confdefs.h"  #include "confdefs.h"
5878  #include <stdlib.h>  #include <stdlib.h>
5879  #include <stdarg.h>  #include <stdarg.h>
# Line 5731  else Line 5881  else
5881  #include <float.h>  #include <float.h>
5882  EOF  EOF
5883  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5884  { (eval echo configure:5735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5885  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5886  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5887    rm -rf conftest*    rm -rf conftest*
# Line 5748  rm -f conftest* Line 5898  rm -f conftest*
5898  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5899    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5900  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5901  #line 5752 "configure"  #line 5902 "configure"
5902  #include "confdefs.h"  #include "confdefs.h"
5903  #include <string.h>  #include <string.h>
5904  EOF  EOF
# Line 5766  fi Line 5916  fi
5916  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5917    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5918  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5919  #line 5770 "configure"  #line 5920 "configure"
5920  #include "confdefs.h"  #include "confdefs.h"
5921  #include <stdlib.h>  #include <stdlib.h>
5922  EOF  EOF
# Line 5787  if test "$cross_compiling" = yes; then Line 5937  if test "$cross_compiling" = yes; then
5937    :    :
5938  else  else
5939    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5940  #line 5791 "configure"  #line 5941 "configure"
5941  #include "confdefs.h"  #include "confdefs.h"
5942  #include <ctype.h>  #include <ctype.h>
5943  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 5798  if (XOR (islower (i), ISLOWER (i)) || to Line 5948  if (XOR (islower (i), ISLOWER (i)) || to
5948  exit (0); }  exit (0); }
5949    
5950  EOF  EOF
5951  if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5952  then  then
5953    :    :
5954  else  else
# Line 5822  EOF Line 5972  EOF
5972  fi  fi
5973    
5974  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
5975  echo "configure:5826: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:5976: checking for sys/wait.h that is POSIX.1 compatible" >&5
5976  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
5977    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5978  else  else
5979    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5980  #line 5831 "configure"  #line 5981 "configure"
5981  #include "confdefs.h"  #include "confdefs.h"
5982  #include <sys/types.h>  #include <sys/types.h>
5983  #include <sys/wait.h>  #include <sys/wait.h>
# Line 5843  wait (&s); Line 5993  wait (&s);
5993  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5994  ; return 0; }  ; return 0; }
5995  EOF  EOF
5996  if { (eval echo configure:5847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5997    rm -rf conftest*    rm -rf conftest*
5998    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
5999  else  else
# Line 5867  for ac_hdr in fcntl.h sgtty.h termio.h u Line 6017  for ac_hdr in fcntl.h sgtty.h termio.h u
6017  do  do
6018  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6019  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6020  echo "configure:5871: checking for $ac_hdr" >&5  echo "configure:6021: checking for $ac_hdr" >&5
6021  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6022    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6023  else  else
6024    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6025  #line 5876 "configure"  #line 6026 "configure"
6026  #include "confdefs.h"  #include "confdefs.h"
6027  #include <$ac_hdr>  #include <$ac_hdr>
6028  EOF  EOF
6029  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6030  { (eval echo configure:5881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6031  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6032  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6033    rm -rf conftest*    rm -rf conftest*
# Line 5907  for ac_hdr in sys/file.h sys/ioctl.h sys Line 6057  for ac_hdr in sys/file.h sys/ioctl.h sys
6057  do  do
6058  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6059  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6060  echo "configure:5911: checking for $ac_hdr" >&5  echo "configure:6061: checking for $ac_hdr" >&5
6061  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6062    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6063  else  else
6064    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6065  #line 5916 "configure"  #line 6066 "configure"
6066  #include "confdefs.h"  #include "confdefs.h"
6067  #include <$ac_hdr>  #include <$ac_hdr>
6068  EOF  EOF
6069  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6070  { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6071  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6072  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6073    rm -rf conftest*    rm -rf conftest*
# Line 5947  for ac_hdr in malloc.h strings.h memory. Line 6097  for ac_hdr in malloc.h strings.h memory.
6097  do  do
6098  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6099  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6100  echo "configure:5951: checking for $ac_hdr" >&5  echo "configure:6101: checking for $ac_hdr" >&5
6101  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6102    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6103  else  else
6104    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6105  #line 5956 "configure"  #line 6106 "configure"
6106  #include "confdefs.h"  #include "confdefs.h"
6107  #include <$ac_hdr>  #include <$ac_hdr>
6108  EOF  EOF
6109  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6110  { (eval echo configure:5961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6111  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6112  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6113    rm -rf conftest*    rm -rf conftest*
# Line 5985  done Line 6135  done
6135    
6136    
6137  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
6138  echo "configure:5989: checking for mode_t" >&5  echo "configure:6139: checking for mode_t" >&5
6139  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
6140    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6141  else  else
6142    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6143  #line 5994 "configure"  #line 6144 "configure"
6144  #include "confdefs.h"  #include "confdefs.h"
6145  #include <sys/types.h>  #include <sys/types.h>
6146  #if STDC_HEADERS  #if STDC_HEADERS
# Line 6018  EOF Line 6168  EOF
6168  fi  fi
6169    
6170  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
6171  echo "configure:6022: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:6172: checking whether time.h and sys/time.h may both be included" >&5
6172  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
6173    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6174  else  else
6175    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6176  #line 6027 "configure"  #line 6177 "configure"
6177  #include "confdefs.h"  #include "confdefs.h"
6178  #include <sys/types.h>  #include <sys/types.h>
6179  #include <sys/time.h>  #include <sys/time.h>
# Line 6032  int main() { Line 6182  int main() {
6182  struct tm *tp;  struct tm *tp;
6183  ; return 0; }  ; return 0; }
6184  EOF  EOF
6185  if { (eval echo configure:6036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6186    rm -rf conftest*    rm -rf conftest*
6187    ac_cv_header_time=yes    ac_cv_header_time=yes
6188  else  else
# Line 6053  EOF Line 6203  EOF
6203  fi  fi
6204    
6205  echo $ac_n "checking for time_t""... $ac_c" 1>&6  echo $ac_n "checking for time_t""... $ac_c" 1>&6
6206  echo "configure:6057: checking for time_t" >&5  echo "configure:6207: checking for time_t" >&5
6207  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then
6208    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6209  else  else
6210    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6211  #line 6062 "configure"  #line 6212 "configure"
6212  #include "confdefs.h"  #include "confdefs.h"
6213  #include <sys/types.h>  #include <sys/types.h>
6214  #if STDC_HEADERS  #if STDC_HEADERS
# Line 6087  fi Line 6237  fi
6237    
6238    
6239  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
6240  echo "configure:6091: checking for socklen_t" >&5  echo "configure:6241: checking for socklen_t" >&5
6241  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6242  #line 6093 "configure"  #line 6243 "configure"
6243  #include "confdefs.h"  #include "confdefs.h"
6244  #include <sys/socket.h>  #include <sys/socket.h>
6245  EOF  EOF
# Line 6112  rm -f conftest* Line 6262  rm -f conftest*
6262    
6263    
6264  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6
6265  echo "configure:6116: checking for RAND_MAX" >&5  echo "configure:6266: checking for RAND_MAX" >&5
6266  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6267  #line 6118 "configure"  #line 6268 "configure"
6268  #include "confdefs.h"  #include "confdefs.h"
6269  #include <stdlib.h>  #include <stdlib.h>
6270  #ifdef RAND_MAX  #ifdef RAND_MAX
# Line 6135  rm -f conftest* Line 6285  rm -f conftest*
6285    
6286  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
6287      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6288  echo "configure:6139: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:6289: checking whether ${CC-cc} needs -traditional" >&5
6289  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6290    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6291  else  else
6292      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
6293    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6294  #line 6145 "configure"  #line 6295 "configure"
6295  #include "confdefs.h"  #include "confdefs.h"
6296  #include <sgtty.h>  #include <sgtty.h>
6297  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 6159  rm -f conftest* Line 6309  rm -f conftest*
6309    
6310    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
6311      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
6312  #line 6163 "configure"  #line 6313 "configure"
6313  #include "confdefs.h"  #include "confdefs.h"
6314  #include <termio.h>  #include <termio.h>
6315  Autoconf TCGETA  Autoconf TCGETA
# Line 6181  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 6331  echo "$ac_t""$ac_cv_prog_gcc_traditional
6331  fi  fi
6332    
6333  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
6334  echo "configure:6185: checking for 8-bit clean memcmp" >&5  echo "configure:6335: checking for 8-bit clean memcmp" >&5
6335  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
6336    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6337  else  else
# Line 6189  else Line 6339  else
6339    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
6340  else  else
6341    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6342  #line 6193 "configure"  #line 6343 "configure"
6343  #include "confdefs.h"  #include "confdefs.h"
6344    
6345  main()  main()
# Line 6199  main() Line 6349  main()
6349  }  }
6350    
6351  EOF  EOF
6352  if { (eval echo configure:6203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6353  then  then
6354    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
6355  else  else
# Line 6217  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 6367  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
6367  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
6368    
6369  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
6370  echo "configure:6221: checking return type of signal handlers" >&5  echo "configure:6371: checking return type of signal handlers" >&5
6371  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
6372    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6373  else  else
6374    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6375  #line 6226 "configure"  #line 6376 "configure"
6376  #include "confdefs.h"  #include "confdefs.h"
6377  #include <sys/types.h>  #include <sys/types.h>
6378  #include <signal.h>  #include <signal.h>
# Line 6239  int main() { Line 6389  int main() {
6389  int i;  int i;
6390  ; return 0; }  ; return 0; }
6391  EOF  EOF
6392  if { (eval echo configure:6243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6393    rm -rf conftest*    rm -rf conftest*
6394    ac_cv_type_signal=void    ac_cv_type_signal=void
6395  else  else
# Line 6258  EOF Line 6408  EOF
6408    
6409    
6410  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6
6411  echo "configure:6262: checking for wait3 that fills in rusage" >&5  echo "configure:6412: checking for wait3 that fills in rusage" >&5
6412  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
6413    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6414  else  else
# Line 6266  else Line 6416  else
6416    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
6417  else  else
6418    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6419  #line 6270 "configure"  #line 6420 "configure"
6420  #include "confdefs.h"  #include "confdefs.h"
6421  #include <sys/types.h>  #include <sys/types.h>
6422  #include <sys/time.h>  #include <sys/time.h>
# Line 6284  main() { Line 6434  main() {
6434    r.ru_stime.tv_sec = 0;    r.ru_stime.tv_sec = 0;
6435    r.ru_stime.tv_usec = 0;    r.ru_stime.tv_usec = 0;
6436    r.ru_majflt = r.ru_minflt = 0;    r.ru_majflt = r.ru_minflt = 0;
6437    #ifdef __amigaos__
6438      switch (vfork()) {
6439    #else
6440    switch (fork()) {    switch (fork()) {
6441    #endif
6442    case 0: /* Child.  */    case 0: /* Child.  */
6443      sleep(1); /* Give up the CPU.  */      sleep(1); /* Give up the CPU.  */
6444      _exit(0);      _exit(0);
# Line 6292  main() { Line 6446  main() {
6446    default: /* Parent.  */    default: /* Parent.  */
6447      wait3(&i, 0, &r);      wait3(&i, 0, &r);
6448      sleep(2); /* Avoid "text file busy" from rm on fast HP-UX machines.  */      sleep(2); /* Avoid "text file busy" from rm on fast HP-UX machines.  */
6449    #ifdef __amigaos__
6450      /* On AmigaOS, using ixemul.library, the ru_stime fields are actually
6451         filled in by wait3, however sometimes this test ends up with zero
6452         in them, perhaps because it runs "too fast".  For now, just force
6453         the result we want.  */
6454      exit (0);
6455    #else
6456      exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0      exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
6457           && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);           && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
6458    #endif
6459    }    }
6460  }  }
6461  EOF  EOF
6462  if { (eval echo configure:6301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6463  then  then
6464    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
6465  else  else
# Line 6322  fi Line 6484  fi
6484  for ac_func in perror  for ac_func in perror
6485  do  do
6486  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6487  echo "configure:6326: checking for $ac_func" >&5  echo "configure:6488: checking for $ac_func" >&5
6488  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6489    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6490  else  else
6491    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6492  #line 6331 "configure"  #line 6493 "configure"
6493  #include "confdefs.h"  #include "confdefs.h"
6494  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6495      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6350  $ac_func(); Line 6512  $ac_func();
6512    
6513  ; return 0; }  ; return 0; }
6514  EOF  EOF
6515  if { (eval echo configure:6354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6516    rm -rf conftest*    rm -rf conftest*
6517    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6518  else  else
# Line 6377  done Line 6539  done
6539  for ac_func in drand48 strtol  for ac_func in drand48 strtol
6540  do  do
6541  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6542  echo "configure:6381: checking for $ac_func" >&5  echo "configure:6543: checking for $ac_func" >&5
6543  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6544    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6545  else  else
6546    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6547  #line 6386 "configure"  #line 6548 "configure"
6548  #include "confdefs.h"  #include "confdefs.h"
6549  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6550      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6405  $ac_func(); Line 6567  $ac_func();
6567    
6568  ; return 0; }  ; return 0; }
6569  EOF  EOF
6570  if { (eval echo configure:6409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6571    rm -rf conftest*    rm -rf conftest*
6572    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6573  else  else
# Line 6432  done Line 6594  done
6594  for ac_func in fchmod  for ac_func in fchmod
6595  do  do
6596  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6597  echo "configure:6436: checking for $ac_func" >&5  echo "configure:6598: checking for $ac_func" >&5
6598  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6599    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6600  else  else
6601    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6602  #line 6441 "configure"  #line 6603 "configure"
6603  #include "confdefs.h"  #include "confdefs.h"
6604  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6605      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6460  $ac_func(); Line 6622  $ac_func();
6622    
6623  ; return 0; }  ; return 0; }
6624  EOF  EOF
6625  if { (eval echo configure:6464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6626    rm -rf conftest*    rm -rf conftest*
6627    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6628  else  else
# Line 6485  fi Line 6647  fi
6647  done  done
6648    
6649  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
6650  echo "configure:6489: checking for setpgrp" >&5  echo "configure:6651: checking for setpgrp" >&5
6651  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
6652    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6653  else  else
6654    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6655  #line 6494 "configure"  #line 6656 "configure"
6656  #include "confdefs.h"  #include "confdefs.h"
6657  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6658      which can conflict with char setpgrp(); below.  */      which can conflict with char setpgrp(); below.  */
# Line 6513  setpgrp(); Line 6675  setpgrp();
6675    
6676  ; return 0; }  ; return 0; }
6677  EOF  EOF
6678  if { (eval echo configure:6517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6679    rm -rf conftest*    rm -rf conftest*
6680    eval "ac_cv_func_setpgrp=yes"    eval "ac_cv_func_setpgrp=yes"
6681  else  else
# Line 6533  else Line 6695  else
6695  fi  fi
6696    
6697  echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6  echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6
6698  echo "configure:6537: checking whether setpgrp takes no argument" >&5  echo "configure:6699: checking whether setpgrp takes no argument" >&5
6699  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
6700    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6701  else  else
# Line 6541  else Line 6703  else
6703    { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }    { echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; }
6704  else  else
6705    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6706  #line 6545 "configure"  #line 6707 "configure"
6707  #include "confdefs.h"  #include "confdefs.h"
6708    
6709  #ifdef HAVE_UNISTD_H  #ifdef HAVE_UNISTD_H
# Line 6561  main() Line 6723  main()
6723  }  }
6724    
6725  EOF  EOF
6726  if { (eval echo configure:6565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6727  then  then
6728    ac_cv_func_setpgrp_void=no    ac_cv_func_setpgrp_void=no
6729  else  else
# Line 6587  fi Line 6749  fi
6749  for ac_func in gethostname select  for ac_func in gethostname select
6750  do  do
6751  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6752  echo "configure:6591: checking for $ac_func" >&5  echo "configure:6753: checking for $ac_func" >&5
6753  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6754    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6755  else  else
6756    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6757  #line 6596 "configure"  #line 6758 "configure"
6758  #include "confdefs.h"  #include "confdefs.h"
6759  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6760      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6615  $ac_func(); Line 6777  $ac_func();
6777    
6778  ; return 0; }  ; return 0; }
6779  EOF  EOF
6780  if { (eval echo configure:6619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6781    rm -rf conftest*    rm -rf conftest*
6782    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6783  else  else
# Line 6642  done Line 6804  done
6804  for ac_func in socket closesocket setsockopt send recv  for ac_func in socket closesocket setsockopt send recv
6805  do  do
6806  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6807  echo "configure:6646: checking for $ac_func" >&5  echo "configure:6808: checking for $ac_func" >&5
6808  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6809    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6810  else  else
6811    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6812  #line 6651 "configure"  #line 6813 "configure"
6813  #include "confdefs.h"  #include "confdefs.h"
6814  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6815      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6670  $ac_func(); Line 6832  $ac_func();
6832    
6833  ; return 0; }  ; return 0; }
6834  EOF  EOF
6835  if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6836    rm -rf conftest*    rm -rf conftest*
6837    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6838  else  else
# Line 6697  done Line 6859  done
6859  for ac_func in vsyslog  for ac_func in vsyslog
6860  do  do
6861  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6862  echo "configure:6701: checking for $ac_func" >&5  echo "configure:6863: checking for $ac_func" >&5
6863  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6864    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6865  else  else
6866    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6867  #line 6706 "configure"  #line 6868 "configure"
6868  #include "confdefs.h"  #include "confdefs.h"
6869  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6870      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6725  $ac_func(); Line 6887  $ac_func();
6887    
6888  ; return 0; }  ; return 0; }
6889  EOF  EOF
6890  if { (eval echo configure:6729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6891    rm -rf conftest*    rm -rf conftest*
6892    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6893  else  else
# Line 6754  JS_SUPPORTOBJS= Line 6916  JS_SUPPORTOBJS=
6916  for ac_func in mkdir vasprintf  for ac_func in mkdir vasprintf
6917  do  do
6918  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6919  echo "configure:6758: checking for $ac_func" >&5  echo "configure:6920: checking for $ac_func" >&5
6920  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6921    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6922  else  else
6923    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6924  #line 6763 "configure"  #line 6925 "configure"
6925  #include "confdefs.h"  #include "confdefs.h"
6926  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6927      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6782  $ac_func(); Line 6944  $ac_func();
6944    
6945  ; return 0; }  ; return 0; }
6946  EOF  EOF
6947  if { (eval echo configure:6786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6948    rm -rf conftest*    rm -rf conftest*
6949    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6950  else  else
# Line 6809  done Line 6971  done
6971    
6972    
6973    
6974    case $host in
6975    i[34567]86-pc-beos*)
6976            JS_SUPPORTLIBS=-lbe
6977            ;;
6978    *)
6979            ;;
6980    esac
6981    
6982    
6983  # mkdir -p Contrib/dic/gerodic in case builddir != srcdir  # mkdir -p Contrib/dic/gerodic in case builddir != srcdir
6984  for dir in Contrib Contrib/dic Contrib/dic/gerodic; do  for dir in Contrib Contrib/dic Contrib/dic/gerodic; do
# Line 6898  DEFS=-DHAVE_CONFIG_H Line 7068  DEFS=-DHAVE_CONFIG_H
7068  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
7069    
7070  echo creating $CONFIG_STATUS  echo creating $CONFIG_STATUS
7071  rm -f $CONFIG_STATUS  # Some systems, like AmigaOS, won't allow you to remove a script that is
7072    # being executed, so just move it out of the way instead.
7073    if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
7074  cat > $CONFIG_STATUS <<EOF  cat > $CONFIG_STATUS <<EOF
7075  #! /bin/sh  #! /bin/sh
7076  # Generated automatically by configure.  # Generated automatically by configure.
# Line 6976  s%@libdir@%$libdir%g Line 7148  s%@libdir@%$libdir%g
7148  s%@includedir@%$includedir%g  s%@includedir@%$includedir%g
7149  s%@oldincludedir@%$oldincludedir%g  s%@oldincludedir@%$oldincludedir%g
7150  s%@infodir@%$infodir%g  s%@infodir@%$infodir%g
7151    s%@guidedir@%$guidedir%g
7152    s%@htmldir@%$htmldir%g
7153    s%@psdir@%$psdir%g
7154    s%@dvidir@%$dvidir%g
7155  s%@mandir@%$mandir%g  s%@mandir@%$mandir%g
7156  s%@host@%$host%g  s%@host@%$host%g
7157  s%@host_alias@%$host_alias%g  s%@host_alias@%$host_alias%g
# Line 7001  s%@KHINSI_DATA@%$KHINSI_DATA%g Line 7177  s%@KHINSI_DATA@%$KHINSI_DATA%g
7177  s%@ipv6@%$ipv6%g  s%@ipv6@%$ipv6%g
7178  s%@unsafe_path@%$unsafe_path%g  s%@unsafe_path@%$unsafe_path%g
7179  s%@CC@%$CC%g  s%@CC@%$CC%g
7180    s%@AR@%$AR%g
7181    s%@RANLIB@%$RANLIB%g
7182  s%@INSTPGMFLAGS@%$INSTPGMFLAGS%g  s%@INSTPGMFLAGS@%$INSTPGMFLAGS%g
7183  s%@CPP@%$CPP%g  s%@CPP@%$CPP%g
7184  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
# Line 7016  s%@build_os@%$build_os%g Line 7194  s%@build_os@%$build_os%g
7194  s%@OBJEXT@%$OBJEXT%g  s%@OBJEXT@%$OBJEXT%g
7195  s%@EXEEXT@%$EXEEXT%g  s%@EXEEXT@%$EXEEXT%g
7196  s%@ECHO@%$ECHO%g  s%@ECHO@%$ECHO%g
 s%@RANLIB@%$RANLIB%g  
7197  s%@STRIP@%$STRIP%g  s%@STRIP@%$STRIP%g
7198  s%@LIBTOOL@%$LIBTOOL%g  s%@LIBTOOL@%$LIBTOOL%g
7199  s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g  s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g
# Line 7024  s%@CCOPTIONS@%$CCOPTIONS%g Line 7201  s%@CCOPTIONS@%$CCOPTIONS%g
7201  s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g  s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g
7202  s%@LIBOBJS@%$LIBOBJS%g  s%@LIBOBJS@%$LIBOBJS%g
7203  s%@JS_SUPPORTOBJS@%$JS_SUPPORTOBJS%g  s%@JS_SUPPORTOBJS@%$JS_SUPPORTOBJS%g
7204    s%@JS_SUPPORTLIBS@%$JS_SUPPORTLIBS%g
7205    
7206  CEOF  CEOF
7207  EOF  EOF
# Line 7181  for ac_file in .. $CONFIG_HEADERS; do if Line 7359  for ac_file in .. $CONFIG_HEADERS; do if
7359    
7360  EOF  EOF
7361    
7362    
7363  # Transform confdefs.h into a sed script conftest.vals that substitutes  # Transform confdefs.h into a sed script conftest.vals that substitutes
7364  # the proper values into config.h.in to produce config.h.  And first:  # the proper values into config.h.in to produce config.h.  And first:
7365  # Protect against being on the right side of a sed subst in config.status.  # Protect against being on the right side of a sed subst in config.status.
# Line 7226  do Line 7405  do
7405  done  done
7406  rm -f conftest.vals  rm -f conftest.vals
7407    
7408    
7409  cat >> $CONFIG_STATUS <<\EOF  cat >> $CONFIG_STATUS <<\EOF
7410    rm -f conftest.frag conftest.h    rm -f conftest.frag conftest.h
7411    echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h    echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
# Line 7255  cat >> $CONFIG_STATUS <<\EOF Line 7435  cat >> $CONFIG_STATUS <<\EOF
7435  exit 0  exit 0
7436  EOF  EOF
7437  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
7438    rm -f CONFIG.STATUS.old
7439  rm -fr confdefs* $ac_clean_files  rm -fr confdefs* $ac_clean_files
7440  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7441    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26