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.18 by hiroo, Sun Mar 3 12:53:55 2002 UTC revision 1.19 by aono, Sat Mar 9 16:50:31 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 351  Configuration: Line 350  Configuration:
350    --help                  print this message    --help                  print this message
351    --no-create             do not create output files    --no-create             do not create output files
352    --quiet, --silent       do not print \`checking...' messages    --quiet, --silent       do not print \`checking...' messages
   --site-file=FILE        use FILE as the site file  
353    --version               print the version of autoconf that created configure    --version               print the version of autoconf that created configure
354  Directory and file names:  Directory and file names:
355    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
# Line 522  EOF Line 520  EOF
520    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
521      site="$ac_optarg" ;;      site="$ac_optarg" ;;
522    
   -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" ;;  
   
523    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
524      ac_prev=srcdir ;;      ac_prev=srcdir ;;
525    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
# Line 692  fi Line 685  fi
685  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
686    
687  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
688  if test -z "$sitefile"; then  if test -z "$CONFIG_SITE"; then
689    if test -z "$CONFIG_SITE"; then    if test "x$prefix" != xNONE; then
690      if test "x$prefix" != xNONE; then      CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
691        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"    else
692      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  
693    fi    fi
 else  
   CONFIG_SITE="$sitefile"  
694  fi  fi
695  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
696    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
# Line 770  else { echo "configure: error: can not r Line 759  else { echo "configure: error: can not r
759  fi  fi
760    
761  echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
762  echo "configure:774: checking host system type" >&5  echo "configure:763: checking host system type" >&5
763    
764  host_alias=$host  host_alias=$host
765  case "$host_alias" in  case "$host_alias" in
# Line 1077  fi Line 1066  fi
1066  # 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.
1067  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1068  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1069  echo "configure:1081: checking for $ac_word" >&5  echo "configure:1070: checking for $ac_word" >&5
1070  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1071    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1072  else  else
# Line 1107  if test -z "$CC"; then Line 1096  if test -z "$CC"; then
1096    # 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.
1097  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1098  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1099  echo "configure:1111: checking for $ac_word" >&5  echo "configure:1100: checking for $ac_word" >&5
1100  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1101    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1102  else  else
# Line 1158  fi Line 1147  fi
1147        # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
1148  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
1149  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1150  echo "configure:1162: checking for $ac_word" >&5  echo "configure:1151: checking for $ac_word" >&5
1151  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1152    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1153  else  else
# Line 1190  fi Line 1179  fi
1179  fi  fi
1180    
1181  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
1182  echo "configure:1194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1183: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1183    
1184  ac_ext=c  ac_ext=c
1185  # 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 1190  cross_compiling=$ac_cv_prog_cc_cross
1190    
1191  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1192    
1193  #line 1205 "configure"  #line 1194 "configure"
1194  #include "confdefs.h"  #include "confdefs.h"
1195    
1196  main(){return(0);}  main(){return(0);}
1197  EOF  EOF
1198  if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1199    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1200    # 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.
1201    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 1221  if test $ac_cv_prog_cc_works = no; then
1221    { 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; }
1222  fi  fi
1223  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
1224  echo "configure:1236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1225  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1226  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1227    
1228  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
1229  echo "configure:1241: checking whether we are using GNU C" >&5  echo "configure:1230: checking whether we are using GNU C" >&5
1230  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1231    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1232  else  else
# Line 1246  else Line 1235  else
1235    yes;    yes;
1236  #endif  #endif
1237  EOF  EOF
1238  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:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1239    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1240  else  else
1241    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 1265  ac_test_CFLAGS="${CFLAGS+set}" Line 1254  ac_test_CFLAGS="${CFLAGS+set}"
1254  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1255  CFLAGS=  CFLAGS=
1256  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
1257  echo "configure:1269: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1258: checking whether ${CC-cc} accepts -g" >&5
1258  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1259    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1260  else  else
# Line 1377  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"' Line 1366  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
1366  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
1367    
1368  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
1369  echo "configure:1381: checking how to run the C preprocessor" >&5  echo "configure:1370: checking how to run the C preprocessor" >&5
1370  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1371  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1372    CPP=    CPP=
# Line 1392  else Line 1381  else
1381    # 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,
1382    # not just through cpp.    # not just through cpp.
1383    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1384  #line 1396 "configure"  #line 1385 "configure"
1385  #include "confdefs.h"  #include "confdefs.h"
1386  #include <assert.h>  #include <assert.h>
1387  Syntax Error  Syntax Error
1388  EOF  EOF
1389  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1390  { (eval echo configure:1402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1391  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1392  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1393    :    :
# Line 1409  else Line 1398  else
1398    rm -rf conftest*    rm -rf conftest*
1399    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1400    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1401  #line 1413 "configure"  #line 1402 "configure"
1402  #include "confdefs.h"  #include "confdefs.h"
1403  #include <assert.h>  #include <assert.h>
1404  Syntax Error  Syntax Error
1405  EOF  EOF
1406  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1407  { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1408  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1409  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1410    :    :
# Line 1426  else Line 1415  else
1415    rm -rf conftest*    rm -rf conftest*
1416    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1417    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1418  #line 1430 "configure"  #line 1419 "configure"
1419  #include "confdefs.h"  #include "confdefs.h"
1420  #include <assert.h>  #include <assert.h>
1421  Syntax Error  Syntax Error
1422  EOF  EOF
1423  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1424  { (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1425  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1426  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1427    :    :
# Line 1469  echo "$ac_t""$CPP" 1>&6 Line 1458  echo "$ac_t""$CPP" 1>&6
1458  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1459  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1460  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
1461  echo "configure:1473: checking for a BSD compatible install" >&5  echo "configure:1462: checking for a BSD compatible install" >&5
1462  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
1463  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1464    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1522  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 1511  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
1511  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1512    
1513  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1514  echo "configure:1526: checking whether ln -s works" >&5  echo "configure:1515: checking whether ln -s works" >&5
1515  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1516    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1517  else  else
# Line 1543  else Line 1532  else
1532  fi  fi
1533    
1534  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
1535  echo "configure:1547: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:1536: checking whether ${MAKE-make} sets \${MAKE}" >&5
1536  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1537  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
1538    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1570  else Line 1559  else
1559  fi  fi
1560    
1561  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1562  echo "configure:1574: checking for Cygwin environment" >&5  echo "configure:1563: checking for Cygwin environment" >&5
1563  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1564    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1565  else  else
1566    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1567  #line 1579 "configure"  #line 1568 "configure"
1568  #include "confdefs.h"  #include "confdefs.h"
1569    
1570  int main() {  int main() {
# Line 1586  int main() { Line 1575  int main() {
1575  return __CYGWIN__;  return __CYGWIN__;
1576  ; return 0; }  ; return 0; }
1577  EOF  EOF
1578  if { (eval echo configure:1590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1579    rm -rf conftest*    rm -rf conftest*
1580    ac_cv_cygwin=yes    ac_cv_cygwin=yes
1581  else  else
# Line 1603  echo "$ac_t""$ac_cv_cygwin" 1>&6 Line 1592  echo "$ac_t""$ac_cv_cygwin" 1>&6
1592  CYGWIN=  CYGWIN=
1593  test "$ac_cv_cygwin" = yes && CYGWIN=yes  test "$ac_cv_cygwin" = yes && CYGWIN=yes
1594  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1595  echo "configure:1607: checking for mingw32 environment" >&5  echo "configure:1596: checking for mingw32 environment" >&5
1596  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1597    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1598  else  else
1599    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1600  #line 1612 "configure"  #line 1601 "configure"
1601  #include "confdefs.h"  #include "confdefs.h"
1602    
1603  int main() {  int main() {
1604  return __MINGW32__;  return __MINGW32__;
1605  ; return 0; }  ; return 0; }
1606  EOF  EOF
1607  if { (eval echo configure:1619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1608    rm -rf conftest*    rm -rf conftest*
1609    ac_cv_mingw32=yes    ac_cv_mingw32=yes
1610  else  else
# Line 1701  else Line 1690  else
1690  fi  fi
1691    
1692  echo $ac_n "checking build system type""... $ac_c" 1>&6  echo $ac_n "checking build system type""... $ac_c" 1>&6
1693  echo "configure:1705: checking build system type" >&5  echo "configure:1694: checking build system type" >&5
1694    
1695  build_alias=$build  build_alias=$build
1696  case "$build_alias" in  case "$build_alias" in
# Line 1730  ac_prog=ld Line 1719  ac_prog=ld
1719  if test "$GCC" = yes; then  if test "$GCC" = yes; then
1720    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
1721    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
1722  echo "configure:1734: checking for ld used by GCC" >&5  echo "configure:1723: checking for ld used by GCC" >&5
1723    case $host in    case $host in
1724    *-*-mingw*)    *-*-mingw*)
1725      # 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 1749  echo "configure:1734: checking for ld us
1749    esac    esac
1750  elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
1751    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1752  echo "configure:1764: checking for GNU ld" >&5  echo "configure:1753: checking for GNU ld" >&5
1753  else  else
1754    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6    echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1755  echo "configure:1767: checking for non-GNU ld" >&5  echo "configure:1756: checking for non-GNU ld" >&5
1756  fi  fi
1757  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1758    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1798  else Line 1787  else
1787  fi  fi
1788  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; }
1789  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
1790  echo "configure:1802: checking if the linker ($LD) is GNU ld" >&5  echo "configure:1791: checking if the linker ($LD) is GNU ld" >&5
1791  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1792    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1793  else  else
# Line 1815  with_gnu_ld=$lt_cv_prog_gnu_ld Line 1804  with_gnu_ld=$lt_cv_prog_gnu_ld
1804    
1805    
1806  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
1807  echo "configure:1819: checking for $LD option to reload object files" >&5  echo "configure:1808: checking for $LD option to reload object files" >&5
1808  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1809    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1810  else  else
# Line 1827  reload_flag=$lt_cv_ld_reload_flag Line 1816  reload_flag=$lt_cv_ld_reload_flag
1816  test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
1817    
1818  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6  echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1819  echo "configure:1831: checking for BSD-compatible nm" >&5  echo "configure:1820: checking for BSD-compatible nm" >&5
1820  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1821    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1822  else  else
# Line 1865  NM="$lt_cv_path_NM" Line 1854  NM="$lt_cv_path_NM"
1854  echo "$ac_t""$NM" 1>&6  echo "$ac_t""$NM" 1>&6
1855    
1856  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
1857  echo "configure:1869: checking how to recognise dependant libraries" >&5  echo "configure:1858: checking how to recognise dependant libraries" >&5
1858  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1859    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1860  else  else
# Line 2038  file_magic_cmd=$lt_cv_file_magic_cmd Line 2027  file_magic_cmd=$lt_cv_file_magic_cmd
2027  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
2028    
2029  echo $ac_n "checking for object suffix""... $ac_c" 1>&6  echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2030  echo "configure:2042: checking for object suffix" >&5  echo "configure:2031: checking for object suffix" >&5
2031  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2032    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2033  else  else
2034    rm -f conftest*    rm -f conftest*
2035  echo 'int i = 1;' > conftest.$ac_ext  echo 'int i = 1;' > conftest.$ac_ext
2036  if { (eval echo configure:2048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2037    for ac_file in conftest.*; do    for ac_file in conftest.*; do
2038      case $ac_file in      case $ac_file in
2039      *.c) ;;      *.c) ;;
# Line 2064  ac_objext=$ac_cv_objext Line 2053  ac_objext=$ac_cv_objext
2053    
2054    
2055  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
2056  echo "configure:2068: checking for executable suffix" >&5  echo "configure:2057: checking for executable suffix" >&5
2057  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
2058    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2059  else  else
# Line 2074  else Line 2063  else
2063    rm -f conftest*    rm -f conftest*
2064    echo 'int main () { return 0; }' > conftest.$ac_ext    echo 'int main () { return 0; }' > conftest.$ac_ext
2065    ac_cv_exeext=    ac_cv_exeext=
2066    if { (eval echo configure:2078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2067      for file in conftest.*; do      for file in conftest.*; do
2068        case $file in        case $file in
2069        *.c | *.C | *.o | *.obj | *.ilk | *.pdb) ;;        *.c | *.o | *.obj) ;;
2070        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
2071        esac        esac
2072      done      done
# Line 2105  fi Line 2094  fi
2094    
2095  # 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.
2096  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
2097  echo "configure:2109: checking command to parse $NM output" >&5  echo "configure:2098: checking command to parse $NM output" >&5
2098  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
2099    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2100  else  else
# Line 2181  void nm_test_func(){} Line 2170  void nm_test_func(){}
2170  int main(){nm_test_var='a';nm_test_func();return(0);}  int main(){nm_test_var='a';nm_test_func();return(0);}
2171  EOF  EOF
2172    
2173    if { (eval echo configure:2185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2174      # Now try to grab the symbols.      # Now try to grab the symbols.
2175      nlist=conftest.nm      nlist=conftest.nm
2176      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:2177: \"$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
2177        # Try sorting and uniquifying the output.        # Try sorting and uniquifying the output.
2178        if sort "$nlist" | uniq > "$nlist"T; then        if sort "$nlist" | uniq > "$nlist"T; then
2179          mv -f "$nlist"T "$nlist"          mv -f "$nlist"T "$nlist"
# Line 2235  EOF Line 2224  EOF
2224            save_CFLAGS="$CFLAGS"            save_CFLAGS="$CFLAGS"
2225            LIBS="conftstm.$ac_objext"            LIBS="conftstm.$ac_objext"
2226            CFLAGS="$CFLAGS$no_builtin_flag"            CFLAGS="$CFLAGS$no_builtin_flag"
2227            if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then            if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2228              pipe_works=yes              pipe_works=yes
2229            fi            fi
2230            LIBS="$save_LIBS"            LIBS="$save_LIBS"
# Line 2281  for ac_hdr in dlfcn.h Line 2270  for ac_hdr in dlfcn.h
2270  do  do
2271  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2272  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2273  echo "configure:2285: checking for $ac_hdr" >&5  echo "configure:2274: checking for $ac_hdr" >&5
2274  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2275    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2276  else  else
2277    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2278  #line 2290 "configure"  #line 2279 "configure"
2279  #include "confdefs.h"  #include "confdefs.h"
2280  #include <$ac_hdr>  #include <$ac_hdr>
2281  EOF  EOF
2282  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2283  { (eval echo configure:2295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2284  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2285  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2286    rm -rf conftest*    rm -rf conftest*
# Line 2326  case $deplibs_check_method in Line 2315  case $deplibs_check_method in
2315  file_magic*)  file_magic*)
2316    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2317      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
2318  echo "configure:2330: checking for ${ac_tool_prefix}file" >&5  echo "configure:2319: checking for ${ac_tool_prefix}file" >&5
2319  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2320    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2321  else  else
# Line 2388  fi Line 2377  fi
2377  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
2378    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
2379      echo $ac_n "checking for file""... $ac_c" 1>&6      echo $ac_n "checking for file""... $ac_c" 1>&6
2380  echo "configure:2392: checking for file" >&5  echo "configure:2381: checking for file" >&5
2381  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2382    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2383  else  else
# Line 2459  esac Line 2448  esac
2448  # 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.
2449  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2450  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2451  echo "configure:2463: checking for $ac_word" >&5  echo "configure:2452: checking for $ac_word" >&5
2452  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2453    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2454  else  else
# Line 2491  if test -n "$ac_tool_prefix"; then Line 2480  if test -n "$ac_tool_prefix"; then
2480    # 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.
2481  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
2482  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2483  echo "configure:2495: checking for $ac_word" >&5  echo "configure:2484: checking for $ac_word" >&5
2484  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2485    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2486  else  else
# Line 2526  fi Line 2515  fi
2515  # 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.
2516  set dummy ${ac_tool_prefix}strip; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
2517  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2518  echo "configure:2530: checking for $ac_word" >&5  echo "configure:2519: checking for $ac_word" >&5
2519  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2520    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2521  else  else
# Line 2558  if test -n "$ac_tool_prefix"; then Line 2547  if test -n "$ac_tool_prefix"; then
2547    # 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.
2548  set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
2549  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2550  echo "configure:2562: checking for $ac_word" >&5  echo "configure:2551: checking for $ac_word" >&5
2551  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2552    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2553  else  else
# Line 2607  test "x$enable_libtool_lock" != xno && e Line 2596  test "x$enable_libtool_lock" != xno && e
2596  case $host in  case $host in
2597  *-*-irix6*)  *-*-irix6*)
2598    # Find out which ABI we are using.    # Find out which ABI we are using.
2599    echo '#line 2611 "configure"' > conftest.$ac_ext    echo '#line 2600 "configure"' > conftest.$ac_ext
2600    if { (eval echo configure:2612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:2601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2601      case `/usr/bin/file conftest.$ac_objext` in      case `/usr/bin/file conftest.$ac_objext` in
2602      *32-bit*)      *32-bit*)
2603        LD="${LD-ld} -32"        LD="${LD-ld} -32"
# Line 2629  case $host in Line 2618  case $host in
2618    SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
2619    CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
2620    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
2621  echo "configure:2633: checking whether the C compiler needs -belf" >&5  echo "configure:2622: checking whether the C compiler needs -belf" >&5
2622  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2623    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2624  else  else
# Line 2642  ac_link='${CC-cc} -o conftest${ac_exeext Line 2631  ac_link='${CC-cc} -o conftest${ac_exeext
2631  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
2632    
2633       cat > conftest.$ac_ext <<EOF       cat > conftest.$ac_ext <<EOF
2634  #line 2646 "configure"  #line 2635 "configure"
2635  #include "confdefs.h"  #include "confdefs.h"
2636    
2637  int main() {  int main() {
2638    
2639  ; return 0; }  ; return 0; }
2640  EOF  EOF
2641  if { (eval echo configure:2653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2642    rm -rf conftest*    rm -rf conftest*
2643    lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
2644  else  else
# Line 2762  set dummy $CC Line 2751  set dummy $CC
2751  compiler="$2"  compiler="$2"
2752    
2753  echo $ac_n "checking for objdir""... $ac_c" 1>&6  echo $ac_n "checking for objdir""... $ac_c" 1>&6
2754  echo "configure:2766: checking for objdir" >&5  echo "configure:2755: checking for objdir" >&5
2755  rm -f .libs 2>/dev/null  rm -f .libs 2>/dev/null
2756  mkdir .libs 2>/dev/null  mkdir .libs 2>/dev/null
2757  if test -d .libs; then  if test -d .libs; then
# Line 2789  test -z "$pic_mode" && pic_mode=default Line 2778  test -z "$pic_mode" && pic_mode=default
2778  # in isolation, and that seeing it set (from the cache) indicates that  # in isolation, and that seeing it set (from the cache) indicates that
2779  # the associated values are set (in the cache) correctly too.  # the associated values are set (in the cache) correctly too.
2780  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
2781  echo "configure:2793: checking for $compiler option to produce PIC" >&5  echo "configure:2782: checking for $compiler option to produce PIC" >&5
2782  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
2783    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2784  else  else
# Line 2941  else Line 2930  else
2930    
2931    # Check to make sure the pic_flag actually works.    # Check to make sure the pic_flag actually works.
2932    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
2933  echo "configure:2945: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5  echo "configure:2934: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
2934    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
2935    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2936  else  else
2937        save_CFLAGS="$CFLAGS"        save_CFLAGS="$CFLAGS"
2938      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
2939      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
2940  #line 2952 "configure"  #line 2941 "configure"
2941  #include "confdefs.h"  #include "confdefs.h"
2942    
2943  int main() {  int main() {
2944    
2945  ; return 0; }  ; return 0; }
2946  EOF  EOF
2947  if { (eval echo configure:2959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2948    rm -rf conftest*    rm -rf conftest*
2949          case $host_os in          case $host_os in
2950        hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
# Line 3007  if test -n "$lt_cv_prog_cc_shlib"; then Line 2996  if test -n "$lt_cv_prog_cc_shlib"; then
2996  fi  fi
2997    
2998  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
2999  echo "configure:3011: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  echo "configure:3000: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3000  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
3001    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3002  else  else
# Line 3015  else Line 3004  else
3004    save_LDFLAGS="$LDFLAGS"    save_LDFLAGS="$LDFLAGS"
3005    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"    LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
3006    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3007  #line 3019 "configure"  #line 3008 "configure"
3008  #include "confdefs.h"  #include "confdefs.h"
3009    
3010  int main() {  int main() {
3011    
3012  ; return 0; }  ; return 0; }
3013  EOF  EOF
3014  if { (eval echo configure:3026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3015    rm -rf conftest*    rm -rf conftest*
3016    lt_cv_prog_cc_static_works=yes    lt_cv_prog_cc_static_works=yes
3017  else  else
# Line 3049  can_build_shared="$lt_cv_prog_cc_can_bui Line 3038  can_build_shared="$lt_cv_prog_cc_can_bui
3038    
3039  # 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
3040  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
3041  echo "configure:3053: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "configure:3042: checking if $compiler supports -c -o file.$ac_objext" >&5
3042  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
3043    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3044  else  else
# Line 3068  chmod -w . Line 3057  chmod -w .
3057  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
3058  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
3059  compiler_c_o=no  compiler_c_o=no
3060  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:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3061    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
3062    # So say no if there are warnings    # So say no if there are warnings
3063    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 3086  echo "$ac_t""$compiler_c_o" 1>&6
3086  if test x"$compiler_c_o" = x"yes"; then  if test x"$compiler_c_o" = x"yes"; then
3087    # Check to see if we can write to a .lo    # Check to see if we can write to a .lo
3088    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
3089  echo "configure:3101: checking if $compiler supports -c -o file.lo" >&5  echo "configure:3090: checking if $compiler supports -c -o file.lo" >&5
3090    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then    if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
3091    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3092  else  else
# Line 3106  else Line 3095  else
3095    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3096    CFLAGS="$CFLAGS -c -o conftest.lo"    CFLAGS="$CFLAGS -c -o conftest.lo"
3097    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3098  #line 3110 "configure"  #line 3099 "configure"
3099  #include "confdefs.h"  #include "confdefs.h"
3100    
3101  int main() {  int main() {
3102  int some_variable = 0;  int some_variable = 0;
3103  ; return 0; }  ; return 0; }
3104  EOF  EOF
3105  if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3106    rm -rf conftest*    rm -rf conftest*
3107        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3108      # So say no if there are warnings      # So say no if there are warnings
# Line 3143  hard_links="nottested" Line 3132  hard_links="nottested"
3132  if test "$compiler_c_o" = no && test "$need_locks" != no; then  if test "$compiler_c_o" = no && test "$need_locks" != no; then
3133    # do not overwrite the value of need_locks provided by the user    # do not overwrite the value of need_locks provided by the user
3134    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
3135  echo "configure:3147: checking if we can lock with hard links" >&5  echo "configure:3136: checking if we can lock with hard links" >&5
3136    hard_links=yes    hard_links=yes
3137    $rm conftest*    $rm conftest*
3138    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 3151  fi
3151  if test "$GCC" = yes; then  if test "$GCC" = yes; then
3152    # 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
3153    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
3154  echo "configure:3166: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  echo "configure:3155: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
3155    echo "int some_variable = 0;" > conftest.$ac_ext    echo "int some_variable = 0;" > conftest.$ac_ext
3156    save_CFLAGS="$CFLAGS"    save_CFLAGS="$CFLAGS"
3157    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"    CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
3158    compiler_rtti_exceptions=no    compiler_rtti_exceptions=no
3159    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3160  #line 3172 "configure"  #line 3161 "configure"
3161  #include "confdefs.h"  #include "confdefs.h"
3162    
3163  int main() {  int main() {
3164  int some_variable = 0;  int some_variable = 0;
3165  ; return 0; }  ; return 0; }
3166  EOF  EOF
3167  if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3168    rm -rf conftest*    rm -rf conftest*
3169        # The compiler can only warn and ignore the option if not recognized        # The compiler can only warn and ignore the option if not recognized
3170      # So say no if there are warnings      # So say no if there are warnings
# Line 3202  fi Line 3191  fi
3191    
3192  # See if the linker supports building shared libraries.  # See if the linker supports building shared libraries.
3193  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
3194  echo "configure:3206: checking whether the linker ($LD) supports shared libraries" >&5  echo "configure:3195: checking whether the linker ($LD) supports shared libraries" >&5
3195    
3196  allow_undefined_flag=  allow_undefined_flag=
3197  no_undefined_flag=  no_undefined_flag=
# Line 3818  test "$ld_shlibs" = no && can_build_shar Line 3807  test "$ld_shlibs" = no && can_build_shar
3807    
3808  # Check hardcoding attributes.  # Check hardcoding attributes.
3809  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
3810  echo "configure:3822: checking how to hardcode library paths into programs" >&5  echo "configure:3811: checking how to hardcode library paths into programs" >&5
3811  hardcode_action=  hardcode_action=
3812  if test -n "$hardcode_libdir_flag_spec" || \  if test -n "$hardcode_libdir_flag_spec" || \
3813     test -n "$runpath_var"; then     test -n "$runpath_var"; then
# Line 3846  echo "$ac_t""$hardcode_action" 1>&6 Line 3835  echo "$ac_t""$hardcode_action" 1>&6
3835  striplib=  striplib=
3836  old_striplib=  old_striplib=
3837  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
3838  echo "configure:3850: checking whether stripping libraries is possible" >&5  echo "configure:3839: checking whether stripping libraries is possible" >&5
3839  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
3840    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3841    test -z "$striplib" && striplib="$STRIP --strip-unneeded"    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
# Line 3860  test -z "$deplibs_check_method" && depli Line 3849  test -z "$deplibs_check_method" && depli
3849    
3850  # PORTME Fill in your ld.so characteristics  # PORTME Fill in your ld.so characteristics
3851  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6  echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
3852  echo "configure:3864: checking dynamic linker characteristics" >&5  echo "configure:3853: checking dynamic linker characteristics" >&5
3853  library_names_spec=  library_names_spec=
3854  libname_spec='lib$name'  libname_spec='lib$name'
3855  soname_spec=  soname_spec=
# Line 4246  test "$dynamic_linker" = no && can_build Line 4235  test "$dynamic_linker" = no && can_build
4235    
4236  # Report the final consequences.  # Report the final consequences.
4237  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
4238  echo "configure:4250: checking if libtool supports shared libraries" >&5  echo "configure:4239: checking if libtool supports shared libraries" >&5
4239  echo "$ac_t""$can_build_shared" 1>&6  echo "$ac_t""$can_build_shared" 1>&6
4240    
4241  if test "$hardcode_action" = relink; then  if test "$hardcode_action" = relink; then
# Line 4285  else Line 4274  else
4274    
4275    *)    *)
4276      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6      echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
4277  echo "configure:4289: checking for dlopen in -ldl" >&5  echo "configure:4278: checking for dlopen in -ldl" >&5
4278  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
4279  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
4280    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4293  else Line 4282  else
4282    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4283  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
4284  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4285  #line 4297 "configure"  #line 4286 "configure"
4286  #include "confdefs.h"  #include "confdefs.h"
4287  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4288  /* 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 4293  int main() {
4293  dlopen()  dlopen()
4294  ; return 0; }  ; return 0; }
4295  EOF  EOF
4296  if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4297    rm -rf conftest*    rm -rf conftest*
4298    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4299  else  else
# Line 4323  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4312  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4312  else  else
4313    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4314  echo $ac_n "checking for dlopen""... $ac_c" 1>&6  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
4315  echo "configure:4327: checking for dlopen" >&5  echo "configure:4316: checking for dlopen" >&5
4316  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
4317    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4318  else  else
4319    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4320  #line 4332 "configure"  #line 4321 "configure"
4321  #include "confdefs.h"  #include "confdefs.h"
4322  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4323      which can conflict with char dlopen(); below.  */      which can conflict with char dlopen(); below.  */
# Line 4351  dlopen(); Line 4340  dlopen();
4340    
4341  ; return 0; }  ; return 0; }
4342  EOF  EOF
4343  if { (eval echo configure:4355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4344    rm -rf conftest*    rm -rf conftest*
4345    eval "ac_cv_func_dlopen=yes"    eval "ac_cv_func_dlopen=yes"
4346  else  else
# Line 4369  if eval "test \"`echo '$ac_cv_func_'dlop Line 4358  if eval "test \"`echo '$ac_cv_func_'dlop
4358  else  else
4359    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4360  echo $ac_n "checking for shl_load""... $ac_c" 1>&6  echo $ac_n "checking for shl_load""... $ac_c" 1>&6
4361  echo "configure:4373: checking for shl_load" >&5  echo "configure:4362: checking for shl_load" >&5
4362  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
4363    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4364  else  else
4365    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4366  #line 4378 "configure"  #line 4367 "configure"
4367  #include "confdefs.h"  #include "confdefs.h"
4368  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4369      which can conflict with char shl_load(); below.  */      which can conflict with char shl_load(); below.  */
# Line 4397  shl_load(); Line 4386  shl_load();
4386    
4387  ; return 0; }  ; return 0; }
4388  EOF  EOF
4389  if { (eval echo configure:4401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4390    rm -rf conftest*    rm -rf conftest*
4391    eval "ac_cv_func_shl_load=yes"    eval "ac_cv_func_shl_load=yes"
4392  else  else
# Line 4415  if eval "test \"`echo '$ac_cv_func_'shl_ Line 4404  if eval "test \"`echo '$ac_cv_func_'shl_
4404  else  else
4405    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4406  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
4407  echo "configure:4419: checking for dlopen in -lsvld" >&5  echo "configure:4408: checking for dlopen in -lsvld" >&5
4408  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
4409  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
4410    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4423  else Line 4412  else
4412    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4413  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
4414  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4415  #line 4427 "configure"  #line 4416 "configure"
4416  #include "confdefs.h"  #include "confdefs.h"
4417  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4418  /* 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 4423  int main() {
4423  dlopen()  dlopen()
4424  ; return 0; }  ; return 0; }
4425  EOF  EOF
4426  if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4427    rm -rf conftest*    rm -rf conftest*
4428    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4429  else  else
# Line 4453  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 4442  if eval "test \"`echo '$ac_cv_lib_'$ac_l
4442  else  else
4443    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
4444  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
4445  echo "configure:4457: checking for shl_load in -ldld" >&5  echo "configure:4446: checking for shl_load in -ldld" >&5
4446  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
4447  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
4448    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 4461  else Line 4450  else
4450    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
4451  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
4452  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
4453  #line 4465 "configure"  #line 4454 "configure"
4454  #include "confdefs.h"  #include "confdefs.h"
4455  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4456  /* 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 4461  int main() {
4461  shl_load()  shl_load()
4462  ; return 0; }  ; return 0; }
4463  EOF  EOF
4464  if { (eval echo configure:4476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4465    rm -rf conftest*    rm -rf conftest*
4466    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
4467  else  else
# Line 4525  fi Line 4514  fi
4514      LIBS="$lt_cv_dlopen_libs $LIBS"      LIBS="$lt_cv_dlopen_libs $LIBS"
4515    
4516      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
4517  echo "configure:4529: checking whether a program can dlopen itself" >&5  echo "configure:4518: checking whether a program can dlopen itself" >&5
4518  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
4519    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4520  else  else
# Line 4535  else Line 4524  else
4524      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4525    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4526    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4527  #line 4539 "configure"  #line 4528 "configure"
4528  #include "confdefs.h"  #include "confdefs.h"
4529    
4530  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4596  int main () Line 4585  int main ()
4585      exit (status);      exit (status);
4586  }  }
4587  EOF  EOF
4588    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:4589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4589      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4590      lt_status=$?      lt_status=$?
4591      case x$lt_status in      case x$lt_status in
# Line 4619  echo "$ac_t""$lt_cv_dlopen_self" 1>&6 Line 4608  echo "$ac_t""$lt_cv_dlopen_self" 1>&6
4608      if test "x$lt_cv_dlopen_self" = xyes; then      if test "x$lt_cv_dlopen_self" = xyes; then
4609        LDFLAGS="$LDFLAGS $link_static_flag"        LDFLAGS="$LDFLAGS $link_static_flag"
4610        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
4611  echo "configure:4623: checking whether a statically linked program can dlopen itself" >&5  echo "configure:4612: checking whether a statically linked program can dlopen itself" >&5
4612  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
4613    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4614  else  else
# Line 4629  else Line 4618  else
4618      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
4619    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
4620    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
4621  #line 4633 "configure"  #line 4622 "configure"
4622  #include "confdefs.h"  #include "confdefs.h"
4623    
4624  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 4690  int main () Line 4679  int main ()
4679      exit (status);      exit (status);
4680  }  }
4681  EOF  EOF
4682    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:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4683      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) 2>/dev/null
4684      lt_status=$?      lt_status=$?
4685      case x$lt_status in      case x$lt_status in
# Line 4739  if test "$enable_shared" = yes && test " Line 4728  if test "$enable_shared" = yes && test "
4728      # systems, -lgcc has to come before -lc. If gcc already passes -lc      # systems, -lgcc has to come before -lc. If gcc already passes -lc
4729      # to ld, don't add -lc before -lgcc.      # to ld, don't add -lc before -lgcc.
4730      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
4731  echo "configure:4743: checking whether -lc should be explicitly linked in" >&5  echo "configure:4732: checking whether -lc should be explicitly linked in" >&5
4732      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
4733    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
4734  else  else
4735    $rm conftest*    $rm conftest*
4736      echo 'static int dummy;' > conftest.$ac_ext      echo 'static int dummy;' > conftest.$ac_ext
4737    
4738      if { (eval echo configure:4750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then      if { (eval echo configure:4739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4739        soname=conftest        soname=conftest
4740        lib=conftest        lib=conftest
4741        libobjs=conftest.$ac_objext        libobjs=conftest.$ac_objext
# Line 4759  else Line 4748  else
4748        libname=conftest        libname=conftest
4749        save_allow_undefined_flag=$allow_undefined_flag        save_allow_undefined_flag=$allow_undefined_flag
4750        allow_undefined_flag=        allow_undefined_flag=
4751        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:4752: \"$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; }
4752        then        then
4753          lt_cv_archive_cmds_need_lc=no          lt_cv_archive_cmds_need_lc=no
4754        else        else
# Line 5342  LIBTOOL='$(SHELL) $(top_builddir)/libtoo Line 5331  LIBTOOL='$(SHELL) $(top_builddir)/libtoo
5331    
5332    
5333  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
5334  echo "configure:5346: checking for crypt in -lcrypt" >&5  echo "configure:5335: checking for crypt in -lcrypt" >&5
5335  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
5336  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
5337    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5350  else Line 5339  else
5339    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5340  LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
5341  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5342  #line 5354 "configure"  #line 5343 "configure"
5343  #include "confdefs.h"  #include "confdefs.h"
5344  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5345  /* 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 5350  int main() {
5350  crypt()  crypt()
5351  ; return 0; }  ; return 0; }
5352  EOF  EOF
5353  if { (eval echo configure:5365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5354    rm -rf conftest*    rm -rf conftest*
5355    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5356  else  else
# Line 5389  else Line 5378  else
5378  fi  fi
5379    
5380  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
5381  echo "configure:5393: checking for connect in -lsocket" >&5  echo "configure:5382: checking for connect in -lsocket" >&5
5382  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
5383  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
5384    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5397  else Line 5386  else
5386    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5387  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5388  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5389  #line 5401 "configure"  #line 5390 "configure"
5390  #include "confdefs.h"  #include "confdefs.h"
5391  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5392  /* 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 5397  int main() {
5397  connect()  connect()
5398  ; return 0; }  ; return 0; }
5399  EOF  EOF
5400  if { (eval echo configure:5412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5401    rm -rf conftest*    rm -rf conftest*
5402    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5403  else  else
# Line 5436  else Line 5425  else
5425  fi  fi
5426    
5427  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
5428  echo "configure:5440: checking for gethostbyname in -lnsl" >&5  echo "configure:5429: checking for gethostbyname in -lnsl" >&5
5429  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
5430  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
5431    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5444  else Line 5433  else
5433    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5434  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5435  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5436  #line 5448 "configure"  #line 5437 "configure"
5437  #include "confdefs.h"  #include "confdefs.h"
5438  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5439  /* 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 5444  int main() {
5444  gethostbyname()  gethostbyname()
5445  ; return 0; }  ; return 0; }
5446  EOF  EOF
5447  if { (eval echo configure:5459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5448    rm -rf conftest*    rm -rf conftest*
5449    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5450  else  else
# Line 5488  fi Line 5477  fi
5477  # 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.
5478  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
5479  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
5480  echo "configure:5492: checking for X" >&5  echo "configure:5481: checking for X" >&5
5481    
5482  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
5483  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 5550  if test "$ac_x_includes" = NO; then Line 5539  if test "$ac_x_includes" = NO; then
5539    
5540    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5541  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5542  #line 5554 "configure"  #line 5543 "configure"
5543  #include "confdefs.h"  #include "confdefs.h"
5544  #include <$x_direct_test_include>  #include <$x_direct_test_include>
5545  EOF  EOF
5546  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5547  { (eval echo configure:5559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5548  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5549  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5550    rm -rf conftest*    rm -rf conftest*
# Line 5624  if test "$ac_x_libraries" = NO; then Line 5613  if test "$ac_x_libraries" = NO; then
5613    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5614    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
5615  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5616  #line 5628 "configure"  #line 5617 "configure"
5617  #include "confdefs.h"  #include "confdefs.h"
5618    
5619  int main() {  int main() {
5620  ${x_direct_test_function}()  ${x_direct_test_function}()
5621  ; return 0; }  ; return 0; }
5622  EOF  EOF
5623  if { (eval echo configure:5635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5624    rm -rf conftest*    rm -rf conftest*
5625    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
5626  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5718  else Line 5707  else
5707  fi  fi
5708    
5709  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
5710  echo "configure:5722: checking for ANSI C header files" >&5  echo "configure:5711: checking for ANSI C header files" >&5
5711  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
5712    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5713  else  else
5714    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5715  #line 5727 "configure"  #line 5716 "configure"
5716  #include "confdefs.h"  #include "confdefs.h"
5717  #include <stdlib.h>  #include <stdlib.h>
5718  #include <stdarg.h>  #include <stdarg.h>
# Line 5731  else Line 5720  else
5720  #include <float.h>  #include <float.h>
5721  EOF  EOF
5722  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5723  { (eval echo configure:5735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5724  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5725  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5726    rm -rf conftest*    rm -rf conftest*
# Line 5748  rm -f conftest* Line 5737  rm -f conftest*
5737  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5738    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5739  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5740  #line 5752 "configure"  #line 5741 "configure"
5741  #include "confdefs.h"  #include "confdefs.h"
5742  #include <string.h>  #include <string.h>
5743  EOF  EOF
# Line 5766  fi Line 5755  fi
5755  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5756    # 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.
5757  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5758  #line 5770 "configure"  #line 5759 "configure"
5759  #include "confdefs.h"  #include "confdefs.h"
5760  #include <stdlib.h>  #include <stdlib.h>
5761  EOF  EOF
# Line 5787  if test "$cross_compiling" = yes; then Line 5776  if test "$cross_compiling" = yes; then
5776    :    :
5777  else  else
5778    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5779  #line 5791 "configure"  #line 5780 "configure"
5780  #include "confdefs.h"  #include "confdefs.h"
5781  #include <ctype.h>  #include <ctype.h>
5782  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 5798  if (XOR (islower (i), ISLOWER (i)) || to Line 5787  if (XOR (islower (i), ISLOWER (i)) || to
5787  exit (0); }  exit (0); }
5788    
5789  EOF  EOF
5790  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:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5791  then  then
5792    :    :
5793  else  else
# Line 5822  EOF Line 5811  EOF
5811  fi  fi
5812    
5813  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
5814  echo "configure:5826: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:5815: checking for sys/wait.h that is POSIX.1 compatible" >&5
5815  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
5816    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5817  else  else
5818    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5819  #line 5831 "configure"  #line 5820 "configure"
5820  #include "confdefs.h"  #include "confdefs.h"
5821  #include <sys/types.h>  #include <sys/types.h>
5822  #include <sys/wait.h>  #include <sys/wait.h>
# Line 5843  wait (&s); Line 5832  wait (&s);
5832  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5833  ; return 0; }  ; return 0; }
5834  EOF  EOF
5835  if { (eval echo configure:5847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5836    rm -rf conftest*    rm -rf conftest*
5837    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
5838  else  else
# Line 5867  for ac_hdr in fcntl.h limits.h malloc.h Line 5856  for ac_hdr in fcntl.h limits.h malloc.h
5856  do  do
5857  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5858  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5859  echo "configure:5871: checking for $ac_hdr" >&5  echo "configure:5860: checking for $ac_hdr" >&5
5860  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5861    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5862  else  else
5863    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5864  #line 5876 "configure"  #line 5865 "configure"
5865  #include "confdefs.h"  #include "confdefs.h"
5866  #include <$ac_hdr>  #include <$ac_hdr>
5867  EOF  EOF
5868  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5869  { (eval echo configure:5881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5870  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5871  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5872    rm -rf conftest*    rm -rf conftest*
# Line 5907  for ac_hdr in sys/file.h sys/ioctl.h sys Line 5896  for ac_hdr in sys/file.h sys/ioctl.h sys
5896  do  do
5897  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5898  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5899  echo "configure:5911: checking for $ac_hdr" >&5  echo "configure:5900: checking for $ac_hdr" >&5
5900  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5901    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5902  else  else
5903    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5904  #line 5916 "configure"  #line 5905 "configure"
5905  #include "confdefs.h"  #include "confdefs.h"
5906  #include <$ac_hdr>  #include <$ac_hdr>
5907  EOF  EOF
5908  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5909  { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5910  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5911  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5912    rm -rf conftest*    rm -rf conftest*
# Line 5945  done Line 5934  done
5934    
5935    
5936  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
5937  echo "configure:5949: checking for mode_t" >&5  echo "configure:5938: checking for mode_t" >&5
5938  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
5939    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5940  else  else
5941    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5942  #line 5954 "configure"  #line 5943 "configure"
5943  #include "confdefs.h"  #include "confdefs.h"
5944  #include <sys/types.h>  #include <sys/types.h>
5945  #if STDC_HEADERS  #if STDC_HEADERS
# Line 5978  EOF Line 5967  EOF
5967  fi  fi
5968    
5969  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
5970  echo "configure:5982: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:5971: checking whether time.h and sys/time.h may both be included" >&5
5971  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
5972    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5973  else  else
5974    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5975  #line 5987 "configure"  #line 5976 "configure"
5976  #include "confdefs.h"  #include "confdefs.h"
5977  #include <sys/types.h>  #include <sys/types.h>
5978  #include <sys/time.h>  #include <sys/time.h>
# Line 5992  int main() { Line 5981  int main() {
5981  struct tm *tp;  struct tm *tp;
5982  ; return 0; }  ; return 0; }
5983  EOF  EOF
5984  if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5985    rm -rf conftest*    rm -rf conftest*
5986    ac_cv_header_time=yes    ac_cv_header_time=yes
5987  else  else
# Line 6013  EOF Line 6002  EOF
6002  fi  fi
6003    
6004  echo $ac_n "checking for time_t""... $ac_c" 1>&6  echo $ac_n "checking for time_t""... $ac_c" 1>&6
6005  echo "configure:6017: checking for time_t" >&5  echo "configure:6006: checking for time_t" >&5
6006  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then
6007    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6008  else  else
6009    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6010  #line 6022 "configure"  #line 6011 "configure"
6011  #include "confdefs.h"  #include "confdefs.h"
6012  #include <sys/types.h>  #include <sys/types.h>
6013  #if STDC_HEADERS  #if STDC_HEADERS
# Line 6047  fi Line 6036  fi
6036    
6037    
6038  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
6039  echo "configure:6051: checking for socklen_t" >&5  echo "configure:6040: checking for socklen_t" >&5
6040  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6041  #line 6053 "configure"  #line 6042 "configure"
6042  #include "confdefs.h"  #include "confdefs.h"
6043  #include <sys/socket.h>  #include <sys/socket.h>
6044  EOF  EOF
# Line 6072  rm -f conftest* Line 6061  rm -f conftest*
6061    
6062    
6063  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6  echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6
6064  echo "configure:6076: checking for RAND_MAX" >&5  echo "configure:6065: checking for RAND_MAX" >&5
6065  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6066  #line 6078 "configure"  #line 6067 "configure"
6067  #include "confdefs.h"  #include "confdefs.h"
6068  #include <stdlib.h>  #include <stdlib.h>
6069  #ifdef RAND_MAX  #ifdef RAND_MAX
# Line 6095  rm -f conftest* Line 6084  rm -f conftest*
6084    
6085  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
6086      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
6087  echo "configure:6099: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:6088: checking whether ${CC-cc} needs -traditional" >&5
6088  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6089    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6090  else  else
6091      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
6092    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6093  #line 6105 "configure"  #line 6094 "configure"
6094  #include "confdefs.h"  #include "confdefs.h"
6095  #include <sgtty.h>  #include <sgtty.h>
6096  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 6119  rm -f conftest* Line 6108  rm -f conftest*
6108    
6109    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
6110      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
6111  #line 6123 "configure"  #line 6112 "configure"
6112  #include "confdefs.h"  #include "confdefs.h"
6113  #include <termio.h>  #include <termio.h>
6114  Autoconf TCGETA  Autoconf TCGETA
# Line 6141  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 6130  echo "$ac_t""$ac_cv_prog_gcc_traditional
6130  fi  fi
6131    
6132  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
6133  echo "configure:6145: checking for 8-bit clean memcmp" >&5  echo "configure:6134: checking for 8-bit clean memcmp" >&5
6134  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
6135    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6136  else  else
# Line 6149  else Line 6138  else
6138    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
6139  else  else
6140    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6141  #line 6153 "configure"  #line 6142 "configure"
6142  #include "confdefs.h"  #include "confdefs.h"
6143    
6144  main()  main()
# Line 6159  main() Line 6148  main()
6148  }  }
6149    
6150  EOF  EOF
6151  if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6152  then  then
6153    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
6154  else  else
# Line 6177  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 6166  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
6166  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
6167    
6168  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
6169  echo "configure:6181: checking return type of signal handlers" >&5  echo "configure:6170: checking return type of signal handlers" >&5
6170  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
6171    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6172  else  else
6173    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6174  #line 6186 "configure"  #line 6175 "configure"
6175  #include "confdefs.h"  #include "confdefs.h"
6176  #include <sys/types.h>  #include <sys/types.h>
6177  #include <signal.h>  #include <signal.h>
# Line 6199  int main() { Line 6188  int main() {
6188  int i;  int i;
6189  ; return 0; }  ; return 0; }
6190  EOF  EOF
6191  if { (eval echo configure:6203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:6192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6192    rm -rf conftest*    rm -rf conftest*
6193    ac_cv_type_signal=void    ac_cv_type_signal=void
6194  else  else
# Line 6218  EOF Line 6207  EOF
6207    
6208    
6209  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
6210  echo "configure:6222: checking for wait3 that fills in rusage" >&5  echo "configure:6211: checking for wait3 that fills in rusage" >&5
6211  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
6212    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6213  else  else
# Line 6226  else Line 6215  else
6215    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
6216  else  else
6217    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6218  #line 6230 "configure"  #line 6219 "configure"
6219  #include "confdefs.h"  #include "confdefs.h"
6220  #include <sys/types.h>  #include <sys/types.h>
6221  #include <sys/time.h>  #include <sys/time.h>
# Line 6257  main() { Line 6246  main() {
6246    }    }
6247  }  }
6248  EOF  EOF
6249  if { (eval echo configure:6261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6250  then  then
6251    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
6252  else  else
# Line 6279  EOF Line 6268  EOF
6268    
6269  fi  fi
6270    
6271  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname select socket strtol
6272  do  do
6273  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6274  echo "configure:6286: checking for $ac_func" >&5  echo "configure:6275: checking for $ac_func" >&5
6275  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6276    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6277  else  else
6278    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6279  #line 6291 "configure"  #line 6280 "configure"
6280  #include "confdefs.h"  #include "confdefs.h"
6281  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6282      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6310  $ac_func(); Line 6299  $ac_func();
6299    
6300  ; return 0; }  ; return 0; }
6301  EOF  EOF
6302  if { (eval echo configure:6314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6303    rm -rf conftest*    rm -rf conftest*
6304    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6305  else  else
# Line 6337  done Line 6326  done
6326  for ac_func in drand48  for ac_func in drand48
6327  do  do
6328  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6329  echo "configure:6341: checking for $ac_func" >&5  echo "configure:6330: checking for $ac_func" >&5
6330  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6331    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6332  else  else
6333    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6334  #line 6346 "configure"  #line 6335 "configure"
6335  #include "confdefs.h"  #include "confdefs.h"
6336  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6337      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6365  $ac_func(); Line 6354  $ac_func();
6354    
6355  ; return 0; }  ; return 0; }
6356  EOF  EOF
6357  if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6358    rm -rf conftest*    rm -rf conftest*
6359    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6360  else  else
# Line 6392  done Line 6381  done
6381  for ac_func in perror  for ac_func in perror
6382  do  do
6383  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6384  echo "configure:6396: checking for $ac_func" >&5  echo "configure:6385: checking for $ac_func" >&5
6385  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6386    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6387  else  else
6388    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6389  #line 6401 "configure"  #line 6390 "configure"
6390  #include "confdefs.h"  #include "confdefs.h"
6391  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6392      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6420  $ac_func(); Line 6409  $ac_func();
6409    
6410  ; return 0; }  ; return 0; }
6411  EOF  EOF
6412  if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6413    rm -rf conftest*    rm -rf conftest*
6414    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6415  else  else
# Line 6447  done Line 6436  done
6436  for ac_func in closesocket setsockopt send recv  for ac_func in closesocket setsockopt send recv
6437  do  do
6438  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6439  echo "configure:6451: checking for $ac_func" >&5  echo "configure:6440: checking for $ac_func" >&5
6440  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6441    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6442  else  else
6443    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6444  #line 6456 "configure"  #line 6445 "configure"
6445  #include "confdefs.h"  #include "confdefs.h"
6446  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6447      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 6475  $ac_func(); Line 6464  $ac_func();
6464    
6465  ; return 0; }  ; return 0; }
6466  EOF  EOF
6467  if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6468    rm -rf conftest*    rm -rf conftest*
6469    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
6470  else  else
# Line 6500  fi Line 6489  fi
6489  done  done
6490    
6491  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6  echo $ac_n "checking for setpgrp""... $ac_c" 1>&6
6492  echo "configure:6504: checking for setpgrp" >&5  echo "configure:6493: checking for setpgrp" >&5
6493  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then
6494    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6495  else  else
6496    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6497  #line 6509 "configure"  #line 6498 "configure"
6498  #include "confdefs.h"  #include "confdefs.h"
6499  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6500      which can conflict with char setpgrp(); below.  */      which can conflict with char setpgrp(); below.  */
# Line 6528  setpgrp(); Line 6517  setpgrp();
6517    
6518  ; return 0; }  ; return 0; }
6519  EOF  EOF
6520  if { (eval echo configure:6532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6521    rm -rf conftest*    rm -rf conftest*
6522    eval "ac_cv_func_setpgrp=yes"    eval "ac_cv_func_setpgrp=yes"
6523  else  else
# Line 6547  else Line 6536  else
6536    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6537  fi  fi
6538    
6539    for ac_func in vsyslog
6540    do
6541    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6542    echo "configure:6543: checking for $ac_func" >&5
6543    if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6544      echo $ac_n "(cached) $ac_c" 1>&6
6545    else
6546      cat > conftest.$ac_ext <<EOF
6547    #line 6548 "configure"
6548    #include "confdefs.h"
6549    /* System header to define __stub macros and hopefully few prototypes,
6550        which can conflict with char $ac_func(); below.  */
6551    #include <assert.h>
6552    /* Override any gcc2 internal prototype to avoid an error.  */
6553    /* We use char because int might match the return type of a gcc2
6554        builtin and then its argument prototype would still apply.  */
6555    char $ac_func();
6556    
6557    int main() {
6558    
6559    /* The GNU C library defines this for functions which it implements
6560        to always fail with ENOSYS.  Some functions are actually named
6561        something starting with __ and the normal name is an alias.  */
6562    #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6563    choke me
6564    #else
6565    $ac_func();
6566    #endif
6567    
6568    ; return 0; }
6569    EOF
6570    if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6571      rm -rf conftest*
6572      eval "ac_cv_func_$ac_func=yes"
6573    else
6574      echo "configure: failed program was:" >&5
6575      cat conftest.$ac_ext >&5
6576      rm -rf conftest*
6577      eval "ac_cv_func_$ac_func=no"
6578    fi
6579    rm -f conftest*
6580    fi
6581    
6582    if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6583      echo "$ac_t""yes" 1>&6
6584        ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6585      cat >> confdefs.h <<EOF
6586    #define $ac_tr_func 1
6587    EOF
6588    
6589    else
6590      echo "$ac_t""no" 1>&6
6591    fi
6592    done
6593    
6594  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
6595  echo "configure:6552: checking whether setpgrp takes no argument" >&5  echo "configure:6596: checking whether setpgrp takes no argument" >&5
6596  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then
6597    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6598  else  else
# Line 6556  else Line 6600  else
6600    { 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; }
6601  else  else
6602    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6603  #line 6560 "configure"  #line 6604 "configure"
6604  #include "confdefs.h"  #include "confdefs.h"
6605    
6606  #ifdef HAVE_UNISTD_H  #ifdef HAVE_UNISTD_H
# Line 6576  main() Line 6620  main()
6620  }  }
6621    
6622  EOF  EOF
6623  if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6624  then  then
6625    ac_cv_func_setpgrp_void=no    ac_cv_func_setpgrp_void=no
6626  else  else
# Line 6600  EOF Line 6644  EOF
6644  fi  fi
6645    
6646    
6647    JS_SUPPORTOBJS=
6648    for ac_func in mkdir vasprintf
6649    do
6650    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6651    echo "configure:6652: checking for $ac_func" >&5
6652    if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6653      echo $ac_n "(cached) $ac_c" 1>&6
6654    else
6655      cat > conftest.$ac_ext <<EOF
6656    #line 6657 "configure"
6657    #include "confdefs.h"
6658    /* System header to define __stub macros and hopefully few prototypes,
6659        which can conflict with char $ac_func(); below.  */
6660    #include <assert.h>
6661    /* Override any gcc2 internal prototype to avoid an error.  */
6662    /* We use char because int might match the return type of a gcc2
6663        builtin and then its argument prototype would still apply.  */
6664    char $ac_func();
6665    
6666    int main() {
6667    
6668    /* The GNU C library defines this for functions which it implements
6669        to always fail with ENOSYS.  Some functions are actually named
6670        something starting with __ and the normal name is an alias.  */
6671    #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6672    choke me
6673    #else
6674    $ac_func();
6675    #endif
6676    
6677    ; return 0; }
6678    EOF
6679    if { (eval echo configure:6680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6680      rm -rf conftest*
6681      eval "ac_cv_func_$ac_func=yes"
6682    else
6683      echo "configure: failed program was:" >&5
6684      cat conftest.$ac_ext >&5
6685      rm -rf conftest*
6686      eval "ac_cv_func_$ac_func=no"
6687    fi
6688    rm -f conftest*
6689    fi
6690    
6691    if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6692      echo "$ac_t""yes" 1>&6
6693        ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6694      cat >> confdefs.h <<EOF
6695    #define $ac_tr_func 1
6696    EOF
6697    
6698    else
6699      echo "$ac_t""no" 1>&6
6700    JS_SUPPORTOBJS="$JS_SUPPORTOBJS ${ac_func}.o"
6701    fi
6702    done
6703    
6704    
6705    
6706    
6707    # mkdir -p Contrib/dic/gerodic in case builddir != srcdir
6708    for dir in Contrib Contrib/dic Contrib/dic/gerodic; do
6709      if test ! -d $dir; then
6710        echo "creating $dir ..."
6711        mkdir $dir
6712      fi
6713    done
6714    
6715    # Wnn / kWnn part is not available yet ...
6716    if test "x$cWnn" = "xcWnn"; then
6717    makefiles_cwnn="cWnn/Makefile cWnn/cdic/Makefile cWnn/conv/Makefile cWnn/etc/Makefile \
6718    cWnn/cd/Makefile cWnn/cd/rk/Makefile cWnn/cd/rk_p/Makefile cWnn/cd/rk_z/Makefile \
6719    cWnn/td/Makefile cWnn/td/rk/Makefile cWnn/td/rk_z/Makefile cWnn/td/rk_p/Makefile \
6720    cWnn/include/Makefile cWnn/jlib/Makefile cWnn/jserver/Makefile cWnn/jutil/Makefile \
6721    cWnn/man/Makefile cWnn/man/1.intro/Makefile cWnn/man/2.env/Makefile \
6722    cWnn/man/4.cmd/Makefile cWnn/man/6.jutil/Makefile \
6723    cWnn/tdic/Makefile cWnn/romkan/Makefile cWnn/uum/Makefile"
6724    fi
6725    
6726  trap '' 1 2 15  trap '' 1 2 15
6727  cat > confcache <<\EOF  cat > confcache <<\EOF
# Line 6702  done Line 6824  done
6824  ac_given_srcdir=$srcdir  ac_given_srcdir=$srcdir
6825  ac_given_INSTALL="$INSTALL"  ac_given_INSTALL="$INSTALL"
6826    
6827  trap 'rm -fr `echo "makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdicplus/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile PubdicPlus/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15  trap 'rm -fr `echo "makerule.mk Makefile Contrib/dic/gerodic/Makefile \
6828    Wnn/Makefile Wnn/conv/Makefile Wnn/include/Makefile Wnn/jutil/Makefile \
6829    Wnn/jd/Makefile Wnn/jd/rk/Makefile Wnn/jd/rk.vi/Makefile \
6830    Wnn/jlib/Makefile Wnn/jlib.V3/Makefile Wnn/jserver/Makefile \
6831    Wnn/ld/Makefile Wnn/ld/rk/Makefile Wnn/man/Makefile \
6832    Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/4.cmd/Makefile Wnn/man/6.jutil/Makefile \
6833    Wnn/man/2.env/dic/Makefile Wnn/man/2.env/wnn/Makefile \
6834    Wnn/man/3.libwnn/jl_lib/Makefile Wnn/man/3.libwnn/js_lib/Makefile \
6835    Wnn/man/3.libwnn/misc_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile \
6836    Wnn/pubdicplus/Makefile Wnn/romkan/Makefile Wnn/uum/Makefile \
6837    Wnn/wnncons/Makefile Wnn/wnncons/dic/Makefile \
6838    $makefiles_cwnn \
6839    kWnn/Makefile kWnn/conv/Makefile kWnn/etc/Makefile kWnn/include/Makefile \
6840    kWnn/jlib/Makefile kWnn/jutil/Makefile kWnn/jserver/Makefile \
6841    kWnn/kd/Makefile kWnn/kd/rk/Makefile kWnn/kdic/Makefile \
6842    kWnn/romkan/Makefile kWnn/uum/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
6843  EOF  EOF
6844  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
6845    
# Line 6780  s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g Line 6917  s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g
6917  s%@CCOPTIONS@%$CCOPTIONS%g  s%@CCOPTIONS@%$CCOPTIONS%g
6918  s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g  s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g
6919  s%@LIBOBJS@%$LIBOBJS%g  s%@LIBOBJS@%$LIBOBJS%g
6920    s%@JS_SUPPORTOBJS@%$JS_SUPPORTOBJS%g
6921    
6922  CEOF  CEOF
6923  EOF  EOF
# Line 6821  EOF Line 6959  EOF
6959    
6960  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
6961    
6962  CONFIG_FILES=\${CONFIG_FILES-"makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdicplus/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile PubdicPlus/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile"}  CONFIG_FILES=\${CONFIG_FILES-"makerule.mk Makefile Contrib/dic/gerodic/Makefile \
6963    Wnn/Makefile Wnn/conv/Makefile Wnn/include/Makefile Wnn/jutil/Makefile \
6964    Wnn/jd/Makefile Wnn/jd/rk/Makefile Wnn/jd/rk.vi/Makefile \
6965    Wnn/jlib/Makefile Wnn/jlib.V3/Makefile Wnn/jserver/Makefile \
6966    Wnn/ld/Makefile Wnn/ld/rk/Makefile Wnn/man/Makefile \
6967    Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/4.cmd/Makefile Wnn/man/6.jutil/Makefile \
6968    Wnn/man/2.env/dic/Makefile Wnn/man/2.env/wnn/Makefile \
6969    Wnn/man/3.libwnn/jl_lib/Makefile Wnn/man/3.libwnn/js_lib/Makefile \
6970    Wnn/man/3.libwnn/misc_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile \
6971    Wnn/pubdicplus/Makefile Wnn/romkan/Makefile Wnn/uum/Makefile \
6972    Wnn/wnncons/Makefile Wnn/wnncons/dic/Makefile \
6973    $makefiles_cwnn \
6974    kWnn/Makefile kWnn/conv/Makefile kWnn/etc/Makefile kWnn/include/Makefile \
6975    kWnn/jlib/Makefile kWnn/jutil/Makefile kWnn/jserver/Makefile \
6976    kWnn/kd/Makefile kWnn/kd/rk/Makefile kWnn/kdic/Makefile \
6977    kWnn/romkan/Makefile kWnn/uum/Makefile"}
6978  EOF  EOF
6979  cat >> $CONFIG_STATUS <<\EOF  cat >> $CONFIG_STATUS <<\EOF
6980  for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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