/[pcre]/code/trunk/configure
ViewVC logotype

Diff of /code/trunk/configure

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

revision 71 by nigel, Sat Feb 24 21:40:24 2007 UTC revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.57.  # Generated by GNU Autoconf 2.59.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Copyright (C) 2003 Free Software Foundation, Inc.
 # Free Software Foundation, Inc.  
6  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
7  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
8  ## --------------------- ##  ## --------------------- ##
# Line 20  if test -n "${ZSH_VERSION+set}" && (emul Line 19  if test -n "${ZSH_VERSION+set}" && (emul
19  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20    set -o posix    set -o posix
21  fi  fi
22    DUALCASE=1; export DUALCASE # for MKS sh
23    
24  # Support unset when possible.  # Support unset when possible.
25  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26    as_unset=unset    as_unset=unset
27  else  else
28    as_unset=false    as_unset=false
# Line 41  for as_var in \ Line 41  for as_var in \
41    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42    LC_TELEPHONE LC_TIME    LC_TELEPHONE LC_TIME
43  do  do
44    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45      eval $as_var=C; export $as_var      eval $as_var=C; export $as_var
46    else    else
47      $as_unset $as_var      $as_unset $as_var
# Line 218  rm -f conf$$ conf$$.exe conf$$.file Line 218  rm -f conf$$ conf$$.exe conf$$.file
218  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
219    as_mkdir_p=:    as_mkdir_p=:
220  else  else
221      test -d ./-p && rmdir ./-p
222    as_mkdir_p=false    as_mkdir_p=false
223  fi  fi
224    
225  as_executable_p="test -f"  as_executable_p="test -f"
226    
227  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
228  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229    
230  # Sed expression to map a string onto a valid variable name.  # Sed expression to map a string onto a valid variable name.
231  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232    
233    
234  # IFS  # IFS
# Line 240  IFS="  $as_nl" Line 241  IFS="  $as_nl"
241  $as_unset CDPATH  $as_unset CDPATH
242    
243    
 # Find the correct PATH separator.  Usually this is `:', but  
 # DJGPP uses `;' like DOS.  
 if test "X${PATH_SEPARATOR+set}" != Xset; then  
   UNAME=${UNAME-`uname 2>/dev/null`}  
   case X$UNAME in  
     *-DOS) lt_cv_sys_path_separator=';' ;;  
     *)     lt_cv_sys_path_separator=':' ;;  
   esac  
 fi  
   
244    
245  # Check that we are running under the correct shell.  # Check that we are running under the correct shell.
246  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
# Line 268  if test "X$1" = X--no-reexec; then Line 259  if test "X$1" = X--no-reexec; then
259  elif test "X$1" = X--fallback-echo; then  elif test "X$1" = X--fallback-echo; then
260    # Avoid inline document here, it may be left over    # Avoid inline document here, it may be left over
261    :    :
262  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263    # Yippee, $echo works!    # Yippee, $echo works!
264    :    :
265  else  else
# Line 280  if test "X$1" = X--fallback-echo; then Line 271  if test "X$1" = X--fallback-echo; then
271    # used as fallback echo    # used as fallback echo
272    shift    shift
273    cat <<EOF    cat <<EOF
274    $*
275  EOF  EOF
276    exit 0    exit 0
277  fi  fi
278    
279  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
280  # if CDPATH is set.  # if CDPATH is set.
281  if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282    
283  if test -z "$ECHO"; then  if test -z "$ECHO"; then
284  if test "X${echo_test_string+set}" != Xset; then  if test "X${echo_test_string+set}" != Xset; then
# Line 314  else Line 305  else
305    #    #
306    # So, first we look for a working echo in the user's PATH.    # So, first we look for a working echo in the user's PATH.
307    
308    IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309    for dir in $PATH /usr/ucb; do    for dir in $PATH /usr/ucb; do
310        IFS="$lt_save_ifs"
311      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
# Line 324  else Line 316  else
316        break        break
317      fi      fi
318    done    done
319    IFS="$save_ifs"    IFS="$lt_save_ifs"
320    
321    if test "X$echo" = Xecho; then    if test "X$echo" = Xecho; then
322      # We didn't find a better echo, so look for alternatives.      # We didn't find a better echo, so look for alternatives.
# Line 398  fi Line 390  fi
390    
391    
392    
393    
394    tagnames=${tagnames+${tagnames},}CXX
395    
396    tagnames=${tagnames+${tagnames},}F77
397    
398  # Name of the host.  # Name of the host.
399  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400  # so uname gets run too.  # so uname gets run too.
# Line 466  ac_includes_default="\ Line 463  ac_includes_default="\
463  # include <unistd.h>  # include <unistd.h>
464  #endif"  #endif"
465    
466  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'
467  ac_subst_files=''  ac_subst_files=''
468    
469  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 825  done Line 822  done
822    
823  # Be sure to have absolute paths.  # Be sure to have absolute paths.
824  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825                localstatedir libdir includedir oldincludedir infodir mandir                localstatedir libdir includedir oldincludedir infodir mandir
826  do  do
827    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
828    case $ac_val in    case $ac_val in
# Line 865  if test -z "$srcdir"; then Line 862  if test -z "$srcdir"; then
862    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
863    ac_confdir=`(dirname "$0") 2>/dev/null ||    ac_confdir=`(dirname "$0") 2>/dev/null ||
864  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865           X"$0" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
866           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
867           X"$0" : 'X\(/\)' \| \           X"$0" : 'X\(/\)' \| \
868           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
869  echo X"$0" |  echo X"$0" |
870      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 927  ac_env_CPP_set=${CPP+set} Line 924  ac_env_CPP_set=${CPP+set}
924  ac_env_CPP_value=$CPP  ac_env_CPP_value=$CPP
925  ac_cv_env_CPP_set=${CPP+set}  ac_cv_env_CPP_set=${CPP+set}
926  ac_cv_env_CPP_value=$CPP  ac_cv_env_CPP_value=$CPP
927    ac_env_CXX_set=${CXX+set}
928    ac_env_CXX_value=$CXX
929    ac_cv_env_CXX_set=${CXX+set}
930    ac_cv_env_CXX_value=$CXX
931    ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932    ac_env_CXXFLAGS_value=$CXXFLAGS
933    ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934    ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935    ac_env_CXXCPP_set=${CXXCPP+set}
936    ac_env_CXXCPP_value=$CXXCPP
937    ac_cv_env_CXXCPP_set=${CXXCPP+set}
938    ac_cv_env_CXXCPP_value=$CXXCPP
939    ac_env_F77_set=${F77+set}
940    ac_env_F77_value=$F77
941    ac_cv_env_F77_set=${F77+set}
942    ac_cv_env_F77_value=$F77
943    ac_env_FFLAGS_set=${FFLAGS+set}
944    ac_env_FFLAGS_value=$FFLAGS
945    ac_cv_env_FFLAGS_set=${FFLAGS+set}
946    ac_cv_env_FFLAGS_value=$FFLAGS
947    
948  #  #
949  # Report the --help message.  # Report the --help message.
# Line 939  if test "$ac_init_help" = "long"; then Line 956  if test "$ac_init_help" = "long"; then
956      # The list generated by autoconf has been trimmed to remove many      # The list generated by autoconf has been trimmed to remove many
957      # options that are totally irrelevant to PCRE (e.g. relating to X),      # options that are totally irrelevant to PCRE (e.g. relating to X),
958      # or are not supported by its Makefile.      # or are not supported by its Makefile.
959        # The list generated by autoconf has been trimmed to remove many
960        # options that are totally irrelevant to PCRE (e.g. relating to X),
961        # or are not supported by its Makefile.
962        # The list generated by autoconf has been trimmed to remove many
963        # options that are totally irrelevant to PCRE (e.g. relating to X),
964        # or are not supported by its Makefile.
965        # The list generated by autoconf has been trimmed to remove many
966        # options that are totally irrelevant to PCRE (e.g. relating to X),
967        # or are not supported by its Makefile.
968        # The list generated by autoconf has been trimmed to remove many
969        # options that are totally irrelevant to PCRE (e.g. relating to X),
970        # or are not supported by its Makefile.
971    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
972    cat <<_ACEOF    cat <<_ACEOF
973  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
# Line 966  _ACEOF Line 995  _ACEOF
995    cat <<_ACEOF    cat <<_ACEOF
996  Installation directories:  Installation directories:
997    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
998                            [$ac_default_prefix]                            [$ac_default_prefix]
999    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1000                            [PREFIX]                            [PREFIX]
1001    
1002  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1003  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 996  if test -n "$ac_init_help"; then Line 1025  if test -n "$ac_init_help"; then
1025  Optional Features:  Optional Features:
1026    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1027    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1028    --enable-shared       build shared libraries default=yes    --enable-shared[     ]
1029    --enable-static       build static libraries default=yes                            build shared libraries [default=yes]
1030    --enable-fast-install       optimize for fast installation default=yes    --enable-static[     ]
1031                              build static libraries [default=yes]
1032      --enable-fast-install[     ]
1033                              optimize for fast installation [default=yes]
1034    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1035    --enable-utf8           enable UTF8 support    --enable-utf8           enable UTF8 support
1036      --enable-unicode-properties  enable Unicode properties support
1037    --enable-newline-is-cr  use CR as the newline character    --enable-newline-is-cr  use CR as the newline character
1038    --enable-newline-is-lf  use LF as the newline character    --enable-newline-is-lf  use LF as the newline character
1039      --enable-ebcdic         assume EBCDIC coding rather than ASCII
1040      --disable-stack-for-recursion  disable use of stack recursion when matching
1041    
1042  Optional Packages:  Optional Packages:
1043    --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1044    --with-pic              try to use only PIC/non-PIC objects default=use both    --with-pic              try to use only PIC/non-PIC objects [default=use
1045                              both]
1046      --with-tags[=TAGS]
1047                              include additional configurations [automatic]
1048    --with-posix-malloc-threshold=5  threshold for POSIX malloc usage    --with-posix-malloc-threshold=5  threshold for POSIX malloc usage
1049    --with-link-size=2    internal link size (2, 3, or 4 allowed)    --with-link-size=2    internal link size (2, 3, or 4 allowed)
1050    --with-match-limit=10000000      default limit on internal looping)    --with-match-limit=10000000      default limit on internal looping)
# Line 1019  Some influential environment variables: Line 1057  Some influential environment variables:
1057    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1058                headers in a nonstandard directory <include dir>                headers in a nonstandard directory <include dir>
1059    CPP         C preprocessor    CPP         C preprocessor
1060      CXX         C++ compiler command
1061      CXXFLAGS    C++ compiler flags
1062      CXXCPP      C++ preprocessor
1063      F77         Fortran 77 compiler command
1064      FFLAGS      Fortran 77 compiler flags
1065    
1066  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1067  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1056  case $srcdir in Line 1099  case $srcdir in
1099      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
1101  esac  esac
1102  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
1103  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
1104  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
1105  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
1106  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
1107  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
1108      case "$ac_dir" in
1109      .) ac_abs_builddir=`pwd`;;
1110      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1111      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1112      esac;;
1113    esac
1114    case $ac_abs_builddir in
1115    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116    *)
1117      case ${ac_top_builddir}. in
1118      .) ac_abs_top_builddir=$ac_abs_builddir;;
1119      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1120      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1121      esac;;
1122    esac
1123    case $ac_abs_builddir in
1124    .) ac_abs_srcdir=$ac_srcdir;;
1125    *)
1126      case $ac_srcdir in
1127      .) ac_abs_srcdir=$ac_abs_builddir;;
1128      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1129      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1130      esac;;
1131    esac
1132    case $ac_abs_builddir in
1133    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134    *)
1135      case $ac_top_srcdir in
1136      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1137      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1138      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1139      esac;;
1140    esac
1141    
1142      cd $ac_dir      cd $ac_dir
1143      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 1072  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 1148  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
1148        echo        echo
1149        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1150      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1151             test -f $ac_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1152        echo        echo
1153        $ac_configure --help        $ac_configure --help
1154      else      else
# Line 1086  test -n "$ac_init_help" && exit 0 Line 1162  test -n "$ac_init_help" && exit 0
1162  if $ac_init_version; then  if $ac_init_version; then
1163    cat <<\_ACEOF    cat <<\_ACEOF
1164    
1165  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1166  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1167  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1168  _ACEOF  _ACEOF
# Line 1099  This file contains any messages produced Line 1174  This file contains any messages produced
1174  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1175    
1176  It was created by $as_me, which was  It was created by $as_me, which was
1177  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1178    
1179    $ $0 $@    $ $0 $@
1180    
# Line 1176  do Line 1251  do
1251      2)      2)
1252        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1253        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1254          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1255        else        else
1256          case $ac_arg in          case $ac_arg in
1257            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1258            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1259            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1260            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1261              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1262                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1263              esac              esac
1264              ;;              ;;
1265            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1266          esac          esac
1267        fi        fi
1268        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1269        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1222  _ASBOX Line 1297  _ASBOX
1297      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1298      *ac_space=\ *)      *ac_space=\ *)
1299        sed -n \        sed -n \
1300          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1301            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1302        ;;        ;;
1303      *)      *)
1304        sed -n \        sed -n \
1305          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1306        ;;        ;;
1307      esac;      esac;
1308  }  }
# Line 1256  _ASBOX Line 1331  _ASBOX
1331        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1332        do        do
1333          eval ac_val=$`echo $ac_var`          eval ac_val=$`echo $ac_var`
1334          echo "$ac_var='"'"'$ac_val'"'"'"          echo "$ac_var='"'"'$ac_val'"'"'"
1335        done | sort        done | sort
1336        echo        echo
1337      fi      fi
# Line 1275  _ASBOX Line 1350  _ASBOX
1350        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1351      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1352    } >&5    } >&5
1353    rm -f core core.* *.core &&    rm -f core *.core &&
1354    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1355      exit $exit_status      exit $exit_status
1356       ' 0       ' 0
# Line 1355  fi Line 1430  fi
1430  # value.  # value.
1431  ac_cache_corrupted=false  ac_cache_corrupted=false
1432  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1433                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1434    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1435    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1436    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1372  echo "$as_me: error: \`$ac_var' was not Line 1447  echo "$as_me: error: \`$ac_var' was not
1447      ,);;      ,);;
1448      *)      *)
1449        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1450          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1451  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1452          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1453  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1454          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1455  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1456          ac_cache_corrupted=:          ac_cache_corrupted=:
1457        fi;;        fi;;
1458    esac    esac
1459    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1434  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1509  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509    
1510    
1511    
1512  PCRE_MAJOR=4  PCRE_MAJOR=5
1513  PCRE_MINOR=4  PCRE_MINOR=0
1514  PCRE_DATE=21-August-2003  PCRE_DATE=13-Sep-2004
1515  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
1516    
1517    
# Line 1783  ac_compiler=`set X $ac_compile; echo $2` Line 1858  ac_compiler=`set X $ac_compile; echo $2`
1858    (exit $ac_status); }    (exit $ac_status); }
1859    
1860  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
1861  /* confdefs.h.  */  /* confdefs.h.  */
1862  _ACEOF  _ACEOF
1863  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1803  ac_clean_files="$ac_clean_files a.out a. Line 1877  ac_clean_files="$ac_clean_files a.out a.
1877  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1878  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1879  # of exeext.  # of exeext.
1880  echo "$as_me:$LINENO: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1881  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1882  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1883  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1884    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 1824  do Line 1898  do
1898    test -f "$ac_file" || continue    test -f "$ac_file" || continue
1899    case $ac_file in    case $ac_file in
1900      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1901          ;;          ;;
1902      conftest.$ac_ext )      conftest.$ac_ext )
1903          # This is the source file.          # This is the source file.
1904          ;;          ;;
1905      [ab].out )      [ab].out )
1906          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
1907          # certainly right.          # certainly right.
1908          break;;          break;;
1909      *.* )      *.* )
1910          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1911          # FIXME: I believe we export ac_cv_exeext for Libtool,          # FIXME: I believe we export ac_cv_exeext for Libtool,
1912          # but it would be cool to find out if it's true.  Does anybody          # but it would be cool to find out if it's true.  Does anybody
1913          # maintain Libtool? --akim.          # maintain Libtool? --akim.
1914          export ac_cv_exeext          export ac_cv_exeext
1915          break;;          break;;
1916      * )      * )
1917          break;;          break;;
1918    esac    esac
1919  done  done
1920  else  else
# Line 1914  for ac_file in conftest.exe conftest con Line 1988  for ac_file in conftest.exe conftest con
1988    case $ac_file in    case $ac_file in
1989      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1990      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1991            export ac_cv_exeext            export ac_cv_exeext
1992            break;;            break;;
1993      * ) break;;      * ) break;;
1994    esac    esac
1995  done  done
# Line 1940  if test "${ac_cv_objext+set}" = set; the Line 2014  if test "${ac_cv_objext+set}" = set; the
2014    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2015  else  else
2016    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2017  /* confdefs.h.  */  /* confdefs.h.  */
2018  _ACEOF  _ACEOF
2019  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1991  if test "${ac_cv_c_compiler_gnu+set}" = Line 2064  if test "${ac_cv_c_compiler_gnu+set}" =
2064    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2065  else  else
2066    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2067  /* confdefs.h.  */  /* confdefs.h.  */
2068  _ACEOF  _ACEOF
2069  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2011  main () Line 2083  main ()
2083  _ACEOF  _ACEOF
2084  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2085  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2086    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2087    ac_status=$?    ac_status=$?
2088      grep -v '^ *+' conftest.er1 >conftest.err
2089      rm -f conftest.er1
2090      cat conftest.err >&5
2091    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092    (exit $ac_status); } &&    (exit $ac_status); } &&
2093           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2094                             || test ! -s conftest.err'
2095      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096      (eval $ac_try) 2>&5
2097      ac_status=$?
2098      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099      (exit $ac_status); }; } &&
2100             { ac_try='test -s conftest.$ac_objext'
2101    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2103    ac_status=$?    ac_status=$?
# Line 2028  sed 's/^/| /' conftest.$ac_ext >&5 Line 2110  sed 's/^/| /' conftest.$ac_ext >&5
2110    
2111  ac_compiler_gnu=no  ac_compiler_gnu=no
2112  fi  fi
2113  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2114  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2115    
2116  fi  fi
# Line 2044  if test "${ac_cv_prog_cc_g+set}" = set; Line 2126  if test "${ac_cv_prog_cc_g+set}" = set;
2126    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2127  else  else
2128    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2129  /* confdefs.h.  */  /* confdefs.h.  */
2130  _ACEOF  _ACEOF
2131  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2061  main () Line 2142  main ()
2142  _ACEOF  _ACEOF
2143  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2144  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2146    ac_status=$?    ac_status=$?
2147      grep -v '^ *+' conftest.er1 >conftest.err
2148      rm -f conftest.er1
2149      cat conftest.err >&5
2150    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151    (exit $ac_status); } &&    (exit $ac_status); } &&
2152           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2153                             || test ! -s conftest.err'
2154      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155      (eval $ac_try) 2>&5
2156      ac_status=$?
2157      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158      (exit $ac_status); }; } &&
2159             { ac_try='test -s conftest.$ac_objext'
2160    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2162    ac_status=$?    ac_status=$?
# Line 2078  sed 's/^/| /' conftest.$ac_ext >&5 Line 2169  sed 's/^/| /' conftest.$ac_ext >&5
2169    
2170  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2171  fi  fi
2172  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2173  fi  fi
2174  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2175  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2105  else Line 2196  else
2196    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
2197  ac_save_CC=$CC  ac_save_CC=$CC
2198  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2199  /* confdefs.h.  */  /* confdefs.h.  */
2200  _ACEOF  _ACEOF
2201  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2133  static char *f (char * (*g) (char **, in Line 2223  static char *f (char * (*g) (char **, in
2223    va_end (v);    va_end (v);
2224    return s;    return s;
2225  }  }
2226    
2227    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2228       function prototypes and stuff, but not '\xHH' hex character constants.
2229       These don't provoke an error unfortunately, instead are silently treated
2230       as 'x'.  The following induces an error, until -std1 is added to get
2231       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2232       array size at least.  It's necessary to write '\x00'==0 to get something
2233       that's true only with -std1.  */
2234    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2235    
2236  int test (int i, double x);  int test (int i, double x);
2237  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
2238  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 2159  do Line 2259  do
2259    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2260    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
2261  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2263    ac_status=$?    ac_status=$?
2264      grep -v '^ *+' conftest.er1 >conftest.err
2265      rm -f conftest.er1
2266      cat conftest.err >&5
2267    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268    (exit $ac_status); } &&    (exit $ac_status); } &&
2269           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2270                             || test ! -s conftest.err'
2271      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272      (eval $ac_try) 2>&5
2273      ac_status=$?
2274      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275      (exit $ac_status); }; } &&
2276             { ac_try='test -s conftest.$ac_objext'
2277    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2279    ac_status=$?    ac_status=$?
# Line 2176  else Line 2286  else
2286  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2287    
2288  fi  fi
2289  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
2290  done  done
2291  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
2292  CC=$ac_save_CC  CC=$ac_save_CC
# Line 2204  cat >conftest.$ac_ext <<_ACEOF Line 2314  cat >conftest.$ac_ext <<_ACEOF
2314  _ACEOF  _ACEOF
2315  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2316  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2318    ac_status=$?    ac_status=$?
2319      grep -v '^ *+' conftest.er1 >conftest.err
2320      rm -f conftest.er1
2321      cat conftest.err >&5
2322    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323    (exit $ac_status); } &&    (exit $ac_status); } &&
2324           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2325                             || test ! -s conftest.err'
2326      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327      (eval $ac_try) 2>&5
2328      ac_status=$?
2329      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330      (exit $ac_status); }; } &&
2331             { ac_try='test -s conftest.$ac_objext'
2332    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2334    ac_status=$?    ac_status=$?
2335    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2337    for ac_declaration in \    for ac_declaration in \
2338     ''\     '' \
    '#include <stdlib.h>' \  
2339     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2340     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2341     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2224  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2343  if { (eval echo "$as_me:$LINENO: \"$ac_c
2343     'void exit (int);'     'void exit (int);'
2344  do  do
2345    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2346  /* confdefs.h.  */  /* confdefs.h.  */
2347  _ACEOF  _ACEOF
2348  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2349  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2350  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2351  $ac_declaration  $ac_declaration
2352    #include <stdlib.h>
2353  int  int
2354  main ()  main ()
2355  {  {
# Line 2242  exit (42); Line 2360  exit (42);
2360  _ACEOF  _ACEOF
2361  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2362  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2364    ac_status=$?    ac_status=$?
2365      grep -v '^ *+' conftest.er1 >conftest.err
2366      rm -f conftest.er1
2367      cat conftest.err >&5
2368    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369    (exit $ac_status); } &&    (exit $ac_status); } &&
2370           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2371                             || test ! -s conftest.err'
2372      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373      (eval $ac_try) 2>&5
2374      ac_status=$?
2375      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376      (exit $ac_status); }; } &&
2377             { ac_try='test -s conftest.$ac_objext'
2378    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2380    ac_status=$?    ac_status=$?
# Line 2259  sed 's/^/| /' conftest.$ac_ext >&5 Line 2387  sed 's/^/| /' conftest.$ac_ext >&5
2387    
2388  continue  continue
2389  fi  fi
2390  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2391    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2392  /* confdefs.h.  */  /* confdefs.h.  */
2393  _ACEOF  _ACEOF
2394  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2278  exit (42); Line 2405  exit (42);
2405  _ACEOF  _ACEOF
2406  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2407  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2409    ac_status=$?    ac_status=$?
2410      grep -v '^ *+' conftest.er1 >conftest.err
2411      rm -f conftest.er1
2412      cat conftest.err >&5
2413    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414    (exit $ac_status); } &&    (exit $ac_status); } &&
2415           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2416                             || test ! -s conftest.err'
2417      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418      (eval $ac_try) 2>&5
2419      ac_status=$?
2420      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421      (exit $ac_status); }; } &&
2422             { ac_try='test -s conftest.$ac_objext'
2423    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2425    ac_status=$?    ac_status=$?
# Line 2294  else Line 2431  else
2431  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2432    
2433  fi  fi
2434  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2435  done  done
2436  rm -f conftest*  rm -f conftest*
2437  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2308  else Line 2445  else
2445  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2446    
2447  fi  fi
2448  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2449  ac_ext=c  ac_ext=c
2450  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2451  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454    
2455    
2456    
2457  ac_aux_dir=  ac_aux_dir=
2458  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2459    if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
# Line 2351  ac_configure="$SHELL $ac_aux_dir/configu Line 2490  ac_configure="$SHELL $ac_aux_dir/configu
2490  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2491  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2492  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2493    # OS/2's system install, which has a completely different semantic
2494  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2495  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2496  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 2367  do Line 2507  do
2507  case $as_dir/ in  case $as_dir/ in
2508    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
2509    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2510      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2511    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2512    *)    *)
2513      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2374  case $as_dir/ in Line 2515  case $as_dir/ in
2515      # by default.      # by default.
2516      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
2517        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
2518          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2519            if test $ac_prog = install &&            if test $ac_prog = install &&
2520              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2521              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
2522              :              :
2523            elif test $ac_prog = install &&            elif test $ac_prog = install &&
2524              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2526              :              :
2527            else            else
2528              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2529              break 3              break 3
2530            fi            fi
2531          fi          fi
2532        done        done
2533      done      done
2534      ;;      ;;
# Line 2418  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2559  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2559  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2560    
2561    
2562    
2563  # Check whether --enable-shared or --disable-shared was given.  # Check whether --enable-shared or --disable-shared was given.
2564  if test "${enable_shared+set}" = set; then  if test "${enable_shared+set}" = set; then
2565    enableval="$enable_shared"    enableval="$enable_shared"
2566    p=${PACKAGE-default}    p=${PACKAGE-default}
2567  case $enableval in      case $enableval in
2568  yes) enable_shared=yes ;;      yes) enable_shared=yes ;;
2569  no) enable_shared=no ;;      no) enable_shared=no ;;
2570  *)      *)
2571    enable_shared=no        enable_shared=no
2572    # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
2573    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2574    for pkg in $enableval; do        for pkg in $enableval; do
2575      if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
2576        enable_shared=yes          if test "X$pkg" = "X$p"; then
2577      fi            enable_shared=yes
2578    done          fi
2579    IFS="$ac_save_ifs"        done
2580    ;;        IFS="$lt_save_ifs"
2581  esac        ;;
2582        esac
2583  else  else
2584    enable_shared=yes    enable_shared=yes
2585  fi;  fi;
2586    
2587  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
2588  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
2589    enableval="$enable_static"    enableval="$enable_static"
2590    p=${PACKAGE-default}    p=${PACKAGE-default}
2591  case $enableval in      case $enableval in
2592  yes) enable_static=yes ;;      yes) enable_static=yes ;;
2593  no) enable_static=no ;;      no) enable_static=no ;;
2594  *)      *)
2595    enable_static=no       enable_static=no
2596    # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
2597    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2598    for pkg in $enableval; do        for pkg in $enableval; do
2599      if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
2600        enable_static=yes          if test "X$pkg" = "X$p"; then
2601      fi            enable_static=yes
2602    done          fi
2603    IFS="$ac_save_ifs"        done
2604    ;;        IFS="$lt_save_ifs"
2605  esac        ;;
2606        esac
2607  else  else
2608    enable_static=yes    enable_static=yes
2609  fi;  fi;
2610    
2611  # Check whether --enable-fast-install or --disable-fast-install was given.  # Check whether --enable-fast-install or --disable-fast-install was given.
2612  if test "${enable_fast_install+set}" = set; then  if test "${enable_fast_install+set}" = set; then
2613    enableval="$enable_fast_install"    enableval="$enable_fast_install"
2614    p=${PACKAGE-default}    p=${PACKAGE-default}
2615  case $enableval in      case $enableval in
2616  yes) enable_fast_install=yes ;;      yes) enable_fast_install=yes ;;
2617  no) enable_fast_install=no ;;      no) enable_fast_install=no ;;
2618  *)      *)
2619    enable_fast_install=no        enable_fast_install=no
2620    # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
2621    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2622    for pkg in $enableval; do        for pkg in $enableval; do
2623      if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
2624        enable_fast_install=yes          if test "X$pkg" = "X$p"; then
2625      fi            enable_fast_install=yes
2626    done          fi
2627    IFS="$ac_save_ifs"        done
2628    ;;        IFS="$lt_save_ifs"
2629  esac        ;;
2630        esac
2631  else  else
2632    enable_fast_install=yes    enable_fast_install=yes
2633  fi;  fi;
2634    
2635  # Make sure we can run config.sub.  # Make sure we can run config.sub.
2636  $ac_config_sub sun4 >/dev/null 2>&1 ||  $ac_config_sub sun4 >/dev/null 2>&1 ||
2637    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
# Line 2538  host_vendor=`echo $ac_cv_host | sed 's/^ Line 2686  host_vendor=`echo $ac_cv_host | sed 's/^
2686  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2687    
2688    
2689    echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2690    echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
2691    if test "${lt_cv_path_SED+set}" = set; then
2692      echo $ECHO_N "(cached) $ECHO_C" >&6
2693    else
2694      # Loop through the user's path and test for sed and gsed.
2695    # Then use that list of sed's as ones to test for truncation.
2696    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697    for as_dir in $PATH
2698    do
2699      IFS=$as_save_IFS
2700      test -z "$as_dir" && as_dir=.
2701      for lt_ac_prog in sed gsed; do
2702        for ac_exec_ext in '' $ac_executable_extensions; do
2703          if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
2704            lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2705          fi
2706        done
2707      done
2708    done
2709    lt_ac_max=0
2710    lt_ac_count=0
2711    # Add /usr/xpg4/bin/sed as it is typically found on Solaris
2712    # along with /bin/sed that truncates output.
2713    for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
2714      test ! -f $lt_ac_sed && break
2715      cat /dev/null > conftest.in
2716      lt_ac_count=0
2717      echo $ECHO_N "0123456789$ECHO_C" >conftest.in
2718      # Check for GNU sed and select it if it is found.
2719      if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
2720        lt_cv_path_SED=$lt_ac_sed
2721        break
2722      fi
2723      while true; do
2724        cat conftest.in conftest.in >conftest.tmp
2725        mv conftest.tmp conftest.in
2726        cp conftest.in conftest.nl
2727        echo >>conftest.nl
2728        $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
2729        cmp -s conftest.out conftest.nl || break
2730        # 10000 chars as input seems more than enough
2731        test $lt_ac_count -gt 10 && break
2732        lt_ac_count=`expr $lt_ac_count + 1`
2733        if test $lt_ac_count -gt $lt_ac_max; then
2734          lt_ac_max=$lt_ac_count
2735          lt_cv_path_SED=$lt_ac_sed
2736        fi
2737      done
2738    done
2739    
2740    fi
2741    
2742    SED=$lt_cv_path_SED
2743    echo "$as_me:$LINENO: result: $SED" >&5
2744    echo "${ECHO_T}$SED" >&6
2745    
2746    echo "$as_me:$LINENO: checking for egrep" >&5
2747    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2748    if test "${ac_cv_prog_egrep+set}" = set; then
2749      echo $ECHO_N "(cached) $ECHO_C" >&6
2750    else
2751      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2752        then ac_cv_prog_egrep='grep -E'
2753        else ac_cv_prog_egrep='egrep'
2754        fi
2755    fi
2756    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2757    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2758     EGREP=$ac_cv_prog_egrep
2759    
2760    
2761    
2762  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
2763  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
# Line 2549  fi; Line 2769  fi;
2769  ac_prog=ld  ac_prog=ld
2770  if test "$GCC" = yes; then  if test "$GCC" = yes; then
2771    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
2772    echo "$as_me:$LINENO: checking for ld used by GCC" >&5    echo "$as_me:$LINENO: checking for ld used by $CC" >&5
2773  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6  echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
2774    case $host in    case $host in
2775    *-*-mingw*)    *-*-mingw*)
2776      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 2560  echo $ECHO_N "checking for ld used by GC Line 2780  echo $ECHO_N "checking for ld used by GC
2780    esac    esac
2781    case $ac_prog in    case $ac_prog in
2782      # Accept absolute paths.      # Accept absolute paths.
2783      [\\/]* | [A-Za-z]:[\\/]*)      [\\/]* | ?:[\\/]*)
2784        re_direlt='/[^/][^/]*/\.\./'        re_direlt='/[^/][^/]*/\.\./'
2785        # Canonicalize the path of ld        # Canonicalize the pathname of ld
2786        ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2787        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2788          ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`          ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2789        done        done
2790        test -z "$LD" && LD="$ac_prog"        test -z "$LD" && LD="$ac_prog"
2791        ;;        ;;
# Line 2589  if test "${lt_cv_path_LD+set}" = set; th Line 2809  if test "${lt_cv_path_LD+set}" = set; th
2809    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2810  else  else
2811    if test -z "$LD"; then    if test -z "$LD"; then
2812    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2813    for ac_dir in $PATH; do    for ac_dir in $PATH; do
2814        IFS="$lt_save_ifs"
2815      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
2816      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2817        lt_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
2818        # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
2819        # but apparently some GNU ld's only accept -v.        # but apparently some GNU ld's only accept -v.
2820        # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
2821        if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2822          *GNU* | *'with BFD'*)
2823          test "$with_gnu_ld" != no && break          test "$with_gnu_ld" != no && break
2824        else          ;;
2825          *)
2826          test "$with_gnu_ld" != yes && break          test "$with_gnu_ld" != yes && break
2827        fi          ;;
2828          esac
2829      fi      fi
2830    done    done
2831    IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
2832  else  else
2833    lt_cv_path_LD="$LD" # Let the user override the test with a path.    lt_cv_path_LD="$LD" # Let the user override the test with a path.
2834  fi  fi
# Line 2627  if test "${lt_cv_prog_gnu_ld+set}" = set Line 2851  if test "${lt_cv_prog_gnu_ld+set}" = set
2851    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2852  else  else
2853    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2854  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  case `$LD -v 2>&1 </dev/null` in
2855    *GNU* | *'with BFD'*)
2856    lt_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
2857  else    ;;
2858    *)
2859    lt_cv_prog_gnu_ld=no    lt_cv_prog_gnu_ld=no
2860  fi    ;;
2861    esac
2862  fi  fi
2863  echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5  echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
2864  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
# Line 2648  fi Line 2875  fi
2875  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
2876  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
2877  reload_flag=$lt_cv_ld_reload_flag  reload_flag=$lt_cv_ld_reload_flag
2878  test -n "$reload_flag" && reload_flag=" $reload_flag"  case $reload_flag in
2879    "" | " "*) ;;
2880    *) reload_flag=" $reload_flag" ;;
2881    esac
2882    reload_cmds='$LD$reload_flag -o $output$reload_objs'
2883    case $host_os in
2884      darwin*)
2885        if test "$GCC" = yes; then
2886          reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
2887        else
2888          reload_cmds='$LD$reload_flag -o $output$reload_objs'
2889        fi
2890        ;;
2891    esac
2892    
2893  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
2894  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
# Line 2659  else Line 2899  else
2899    # Let the user override the test.    # Let the user override the test.
2900    lt_cv_path_NM="$NM"    lt_cv_path_NM="$NM"
2901  else  else
2902    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2903    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2904        IFS="$lt_save_ifs"
2905      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
2906      tmp_nm=$ac_dir/${ac_tool_prefix}nm      tmp_nm="$ac_dir/${ac_tool_prefix}nm"
2907      if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2908        # Check to see if the nm accepts a BSD-compat flag.        # Check to see if the nm accepts a BSD-compat flag.
2909        # Adding the `sed 1q' prevents false positives on HP-UX, which says:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2910        #   nm: unknown option "B" ignored        #   nm: unknown option "B" ignored
2911        # Tru64's nm complains that /dev/null is an invalid object file        # Tru64's nm complains that /dev/null is an invalid object file
2912        if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2913          */dev/null* | *'Invalid file or object type'*)
2914          lt_cv_path_NM="$tmp_nm -B"          lt_cv_path_NM="$tmp_nm -B"
2915          break          break
2916        elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then          ;;
2917          lt_cv_path_NM="$tmp_nm -p"        *)
2918          break          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2919        else          */dev/null*)
2920          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but            lt_cv_path_NM="$tmp_nm -p"
2921          continue # so that we can try to find one that supports BSD flags            break
2922        fi            ;;
2923            *)
2924              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2925              continue # so that we can try to find one that supports BSD flags
2926              ;;
2927            esac
2928          esac
2929      fi      fi
2930    done    done
2931    IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
2932    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2933  fi  fi
2934  fi  fi
2935    echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
2936    echo "${ECHO_T}$lt_cv_path_NM" >&6
2937  NM="$lt_cv_path_NM"  NM="$lt_cv_path_NM"
 echo "$as_me:$LINENO: result: $NM" >&5  
 echo "${ECHO_T}$NM" >&6  
2938    
2939  echo "$as_me:$LINENO: checking whether ln -s works" >&5  echo "$as_me:$LINENO: checking whether ln -s works" >&5
2940  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
# Line 2700  else Line 2947  else
2947  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
2948  fi  fi
2949    
2950  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5  echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
2951  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6  echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
2952  if test "${lt_cv_deplibs_check_method+set}" = set; then  if test "${lt_cv_deplibs_check_method+set}" = set; then
2953    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2954  else  else
# Line 2714  lt_cv_deplibs_check_method='unknown' Line 2961  lt_cv_deplibs_check_method='unknown'
2961  # `unknown' -- same as none, but documents that we really don't know.  # `unknown' -- same as none, but documents that we really don't know.
2962  # 'pass_all' -- all dependencies passed with no checks.  # 'pass_all' -- all dependencies passed with no checks.
2963  # 'test_compile' -- check by making test program.  # 'test_compile' -- check by making test program.
2964  # ['file_magic [regex]'] -- check by looking for files in library path  # 'file_magic [[regex]]' -- check by looking for files in library path
2965  # which responds to the $file_magic_cmd with a given egrep regex.  # which responds to the $file_magic_cmd with a given extended regex.
2966  # If you have `file' or equivalent on your system and you're not sure  # If you have `file' or equivalent on your system and you're not sure
2967  # whether `pass_all' will *always* work, you probably want this one.  # whether `pass_all' will *always* work, you probably want this one.
2968    
# Line 2728  beos*) Line 2975  beos*)
2975    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2976    ;;    ;;
2977    
2978  bsdi4*)  bsdi[45]*)
2979    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2980    lt_cv_file_magic_cmd='/usr/bin/file -L'    lt_cv_file_magic_cmd='/usr/bin/file -L'
2981    lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
2982    ;;    ;;
2983    
2984  cygwin* | mingw* | pw32*)  cygwin*)
2985      # func_win32_libid is a shell function defined in ltmain.sh
2986      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2987      lt_cv_file_magic_cmd='func_win32_libid'
2988      ;;
2989    
2990    mingw* | pw32*)
2991      # Base MSYS/MinGW do not provide the 'file' command needed by
2992      # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2993    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2994    lt_cv_file_magic_cmd='$OBJDUMP -f'    lt_cv_file_magic_cmd='$OBJDUMP -f'
2995    ;;    ;;
2996    
2997  darwin* | rhapsody*)  darwin* | rhapsody*)
2998    lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_cmd='/usr/bin/file -L'  
   case "$host_os" in  
   rhapsody* | darwin1.012)  
     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`  
     ;;  
   *) # Darwin 1.3 on  
     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'  
     ;;  
   esac  
2999    ;;    ;;
3000    
3001  freebsd*)  freebsd* | kfreebsd*-gnu)
3002    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3003      case $host_cpu in      case $host_cpu in
3004      i*86 )      i*86 )
# Line 2772  gnu*) Line 3018  gnu*)
3018    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3019    ;;    ;;
3020    
3021  hpux10.20*|hpux11*)  hpux10.20* | hpux11*)
   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'  
3022    lt_cv_file_magic_cmd=/usr/bin/file    lt_cv_file_magic_cmd=/usr/bin/file
3023    lt_cv_file_magic_test_file=/usr/lib/libc.sl    case "$host_cpu" in
3024    ;;    ia64*)
3025        lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3026  irix5* | irix6*)      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3027    case $host_os in      ;;
3028    irix5*)    hppa*64*)
3029      # this will be overridden with pass_all, but let us keep it just in case      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3030      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3031      ;;      ;;
3032    *)    *)
3033      case $LD in      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3034      *-32|*"-32 ") libmagic=32-bit;;      lt_cv_file_magic_test_file=/usr/lib/libc.sl
     *-n32|*"-n32 ") libmagic=N32;;  
     *-64|*"-64 ") libmagic=64-bit;;  
     *) libmagic=never-match;;  
     esac  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"  
3035      ;;      ;;
3036    esac    esac
3037    lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`    ;;
3038    
3039    irix5* | irix6* | nonstopux*)
3040      case $LD in
3041      *-32|*"-32 ") libmagic=32-bit;;
3042      *-n32|*"-n32 ") libmagic=N32;;
3043      *-64|*"-64 ") libmagic=64-bit;;
3044      *) libmagic=never-match;;
3045      esac
3046    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3047    ;;    ;;
3048    
3049  # This must be Linux ELF.  # This must be Linux ELF.
3050  linux-gnu*)  linux*)
3051    case $host_cpu in    case $host_cpu in
3052    alpha* | i*86 | powerpc* | sparc* | ia64* )    alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
3053      lt_cv_deplibs_check_method=pass_all ;;      lt_cv_deplibs_check_method=pass_all ;;
3054    *)    *)
3055      # glibc up to 2.1.1 does not perform some relocations on ARM      # glibc up to 2.1.1 does not perform some relocations on ARM
3056        # this will be overridden with pass_all, but let us keep it just in case
3057      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3058    esac    esac
3059    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3060      lt_cv_deplibs_check_method=pass_all
3061    ;;    ;;
3062    
3063  netbsd*)  netbsd*)
3064    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3065      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3066    else    else
3067      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3068    fi    fi
3069    ;;    ;;
3070    
# Line 2825  newos6*) Line 3074  newos6*)
3074    lt_cv_file_magic_test_file=/usr/lib/libnls.so    lt_cv_file_magic_test_file=/usr/lib/libnls.so
3075    ;;    ;;
3076    
3077    nto-qnx*)
3078      lt_cv_deplibs_check_method=unknown
3079      ;;
3080    
3081    openbsd*)
3082      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3083        lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3084      else
3085        lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3086      fi
3087      ;;
3088    
3089  osf3* | osf4* | osf5*)  osf3* | osf4* | osf5*)
   # this will be overridden with pass_all, but let us keep it just in case  
   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'  
   lt_cv_file_magic_test_file=/shlib/libc.so  
3090    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3091    ;;    ;;
3092    
# Line 2838  sco3.2v5*) Line 3096  sco3.2v5*)
3096    
3097  solaris*)  solaris*)
3098    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_test_file=/lib/libc.so  
   ;;  
   
 sysv5uw[78]* | sysv4*uw2*)  
   lt_cv_deplibs_check_method=pass_all  
3099    ;;    ;;
3100    
3101  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
# Line 2863  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 3116  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3116      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3117      lt_cv_file_magic_test_file=/lib/libc.so      lt_cv_file_magic_test_file=/lib/libc.so
3118      ;;      ;;
3119      siemens)
3120        lt_cv_deplibs_check_method=pass_all
3121        ;;
3122    esac    esac
3123    ;;    ;;
3124    
3125    sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
3126      lt_cv_deplibs_check_method=pass_all
3127      ;;
3128  esac  esac
3129    
3130  fi  fi
# Line 2872  echo "$as_me:$LINENO: result: $lt_cv_dep Line 3132  echo "$as_me:$LINENO: result: $lt_cv_dep
3132  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3133  file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
3134  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
3135    test -z "$deplibs_check_method" && deplibs_check_method=unknown
3136    
3137    
3138    
3139    
3140    # If no C compiler was specified, use CC.
3141    LTCC=${LTCC-"$CC"}
3142    
3143    # Allow CC to be a program name with arguments.
3144    compiler=$CC
3145    
3146    
3147    # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3148    if test "${enable_libtool_lock+set}" = set; then
3149      enableval="$enable_libtool_lock"
3150    
3151  # Check for command to grab the raw symbol name followed by C symbol from nm.  fi;
3152  echo "$as_me:$LINENO: checking command to parse $NM output" >&5  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6  
 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   
 # These are sane defaults that work on at least a few old systems.  
 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  
   
 # Character class describing NM global symbol codes.  
 symcode='[BCDEGRST]'  
   
 # Regexp to match symbols that can be accessed directly from C.  
 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  
   
 # Transform the above into a raw symbol and a C symbol.  
 symxfrm='\1 \2\3 \3'  
   
 # Transform an extracted symbol line into a proper C declaration  
 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"  
   
 # Define system-specific variables.  
 case $host_os in  
 aix*)  
   symcode='[BCDT]'  
   ;;  
 cygwin* | mingw* | pw32*)  
   symcode='[ABCDGISTW]'  
   ;;  
 hpux*) # Its linker distinguishes data from code symbols  
   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"  
   ;;  
 irix*)  
   symcode='[BCDEGRST]'  
   ;;  
 solaris* | sysv5*)  
   symcode='[BDT]'  
   ;;  
 sysv4)  
   symcode='[DFNSTU]'  
   ;;  
 esac  
   
 # Handle CRLF in mingw tool chain  
 opt_cr=  
 case $host_os in  
 mingw*)  
   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp  
   ;;  
 esac  
   
 # If we're using GNU nm, then use its standard symbol codes.  
 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then  
   symcode='[ABCDGISTW]'  
 fi  
   
 # Try without a prefix undercore, then with it.  
 for ac_symprfx in "" "_"; do  
   
   # Write the raw and C identifiers.  
 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"  
   
   # Check to see that the pipe works correctly.  
   pipe_works=no  
   rm -f conftest*  
   cat > conftest.$ac_ext <<EOF  
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
 char nm_test_var;  
 void nm_test_func(){}  
 #ifdef __cplusplus  
 }  
 #endif  
 int main(){nm_test_var='a';nm_test_func();return(0);}  
 EOF  
3153    
3154    # Some flags need to be propagated to the compiler or linker for good
3155    # libtool support.
3156    case $host in
3157    ia64-*-hpux*)
3158      # Find out which ABI we are using.
3159      echo 'int i;' > conftest.$ac_ext
3160    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3162    ac_status=$?    ac_status=$?
3163    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164    (exit $ac_status); }; then    (exit $ac_status); }; then
3165      # Now try to grab the symbols.      case `/usr/bin/file conftest.$ac_objext` in
3166      nlist=conftest.nm      *ELF-32*)
3167      if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5        HPUX_IA64_MODE="32"
3168    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5        ;;
3169        *ELF-64*)
3170          HPUX_IA64_MODE="64"
3171          ;;
3172        esac
3173      fi
3174      rm -rf conftest*
3175      ;;
3176    *-*-irix6*)
3177      # Find out which ABI we are using.
3178      echo '#line 3173 "configure"' > conftest.$ac_ext
3179      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180      (eval $ac_compile) 2>&5
3181    ac_status=$?    ac_status=$?
3182    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183    (exit $ac_status); } && test -s "$nlist"; then    (exit $ac_status); }; then
3184        # Try sorting and uniquifying the output.     if test "$lt_cv_prog_gnu_ld" = yes; then
3185        if sort "$nlist" | uniq > "$nlist"T; then      case `/usr/bin/file conftest.$ac_objext` in
3186          mv -f "$nlist"T "$nlist"      *32-bit*)
3187        else        LD="${LD-ld} -melf32bsmip"
3188          rm -f "$nlist"T        ;;
3189        fi      *N32*)
3190          LD="${LD-ld} -melf32bmipn32"
3191        # Make sure that we snagged all the symbols we need.        ;;
3192        if egrep ' nm_test_var$' "$nlist" >/dev/null; then      *64-bit*)
3193          if egrep ' nm_test_func$' "$nlist" >/dev/null; then        LD="${LD-ld} -melf64bmip"
3194            cat <<EOF > conftest.$ac_ext        ;;
3195  #ifdef __cplusplus      esac
3196  extern "C" {     else
3197  #endif      case `/usr/bin/file conftest.$ac_objext` in
3198        *32-bit*)
3199  EOF        LD="${LD-ld} -32"
3200            # Now generate the symbol file.        ;;
3201            eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'      *N32*)
3202          LD="${LD-ld} -n32"
3203            cat <<EOF >> conftest.$ac_ext        ;;
3204  #if defined (__STDC__) && __STDC__      *64-bit*)
3205  # define lt_ptr_t void *        LD="${LD-ld} -64"
3206  #else        ;;
3207  # define lt_ptr_t char *      esac
3208  # define const     fi
3209  #endif    fi
3210      rm -rf conftest*
3211  /* The mapping between symbol names and symbols. */    ;;
 const struct {  
   const char *name;  
   lt_ptr_t address;  
 }  
 lt_preloaded_symbols[] =  
 {  
 EOF  
           sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext  
           cat <<\EOF >> conftest.$ac_ext  
   {0, (lt_ptr_t) 0}  
 };  
3212    
3213  #ifdef __cplusplus  x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3214  }    # Find out which ABI we are using.
3215  #endif    echo 'int i;' > conftest.$ac_ext
3216  EOF    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217            # Now try linking the two files.    (eval $ac_compile) 2>&5
           mv conftest.$ac_objext conftstm.$ac_objext  
           save_LIBS="$LIBS"  
           save_CFLAGS="$CFLAGS"  
           LIBS="conftstm.$ac_objext"  
           CFLAGS="$CFLAGS$no_builtin_flag"  
           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
3218    ac_status=$?    ac_status=$?
3219    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220    (exit $ac_status); } && test -s conftest; then    (exit $ac_status); }; then
3221              pipe_works=yes      case "`/usr/bin/file conftest.o`" in
3222            fi      *32-bit*)
3223            LIBS="$save_LIBS"        case $host in
3224            CFLAGS="$save_CFLAGS"          x86_64-*linux*)
3225          else            LD="${LD-ld} -m elf_i386"
3226            echo "cannot find nm_test_func in $nlist" >&5            ;;
3227          fi          ppc64-*linux*|powerpc64-*linux*)
3228        else            LD="${LD-ld} -m elf32ppclinux"
3229          echo "cannot find nm_test_var in $nlist" >&5            ;;
3230        fi          s390x-*linux*)
3231      else            LD="${LD-ld} -m elf_s390"
3232        echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5            ;;
3233      fi          sparc64-*linux*)
3234    else            LD="${LD-ld} -m elf32_sparc"
3235      echo "$progname: failed program was:" >&5            ;;
3236      cat conftest.$ac_ext >&5        esac
3237    fi        ;;
3238    rm -f conftest* conftst*      *64-bit*)
3239          case $host in
3240    # Do not use the global_symbol_pipe unless it works.          x86_64-*linux*)
3241    if test "$pipe_works" = yes; then            LD="${LD-ld} -m elf_x86_64"
3242      break            ;;
3243    else          ppc*-*linux*|powerpc*-*linux*)
3244      lt_cv_sys_global_symbol_pipe=            LD="${LD-ld} -m elf64ppc"
3245              ;;
3246            s390*-*linux*)
3247              LD="${LD-ld} -m elf64_s390"
3248              ;;
3249            sparc*-*linux*)
3250              LD="${LD-ld} -m elf64_sparc"
3251              ;;
3252          esac
3253          ;;
3254        esac
3255    fi    fi
3256  done    rm -rf conftest*
3257      ;;
 fi  
3258    
3259  global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"  *-*-sco3.2v5*)
3260  if test -z "$lt_cv_sys_global_symbol_pipe"; then    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3261    global_symbol_to_cdecl=    SAVE_CFLAGS="$CFLAGS"
3262  else    CFLAGS="$CFLAGS -belf"
3263    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"    echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3264  fi  echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3265  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then  if test "${lt_cv_cc_needs_belf+set}" = set; then
3266    echo "$as_me:$LINENO: result: failed" >&5    echo $ECHO_N "(cached) $ECHO_C" >&6
 echo "${ECHO_T}failed" >&6  
3267  else  else
3268    echo "$as_me:$LINENO: result: ok" >&5    ac_ext=c
 echo "${ECHO_T}ok" >&6  
 fi  
   
 ac_ext=c  
3269  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
3270  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273  echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5  
3274  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6       cat >conftest.$ac_ext <<_ACEOF
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
 fi  
 if test -z "$CPP"; then  
   if test "${ac_cv_prog_CPP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
       # Double quotes because CPP needs to be expanded  
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  
     do  
       ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
 do  
   # Use a header file that comes with gcc, so configuring glibc  
   # with a fresh cross-compiler works.  
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
3275  /* confdefs.h.  */  /* confdefs.h.  */
3276  _ACEOF  _ACEOF
3277  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3278  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3279  /* end confdefs.h.  */  /* end confdefs.h.  */
3280  #ifdef __STDC__  
3281  # include <limits.h>  int
3282  #else  main ()
3283  # include <assert.h>  {
3284  #endif  
3285                       Syntax error    ;
3286      return 0;
3287    }
3288  _ACEOF  _ACEOF
3289  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext conftest$ac_exeext
3290    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3291      (eval $ac_link) 2>conftest.er1
3292    ac_status=$?    ac_status=$?
3293    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3294    rm -f conftest.er1    rm -f conftest.er1
3295    cat conftest.err >&5    cat conftest.err >&5
3296    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } &&
3298    if test -s conftest.err; then           { ac_try='test -z "$ac_c_werror_flag"
3299      ac_cpp_err=$ac_c_preproc_warn_flag                           || test ! -s conftest.err'
3300    else    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301      ac_cpp_err=    (eval $ac_try) 2>&5
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Broken: fails on valid input.  
 continue  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
   # OK, works on sane cases.  Now check whether non-existent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <ac_nonexistent.h>  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
3302    ac_status=$?    ac_status=$?
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
3303    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304    (exit $ac_status); } >/dev/null; then    (exit $ac_status); }; } &&
3305    if test -s conftest.err; then           { ac_try='test -s conftest$ac_exeext'
3306      ac_cpp_err=$ac_c_preproc_warn_flag    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307    else    (eval $ac_try) 2>&5
3308      ac_cpp_err=    ac_status=$?
3309      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310      (exit $ac_status); }; }; then
3311      lt_cv_cc_needs_belf=yes
3312    else
3313      echo "$as_me: failed program was:" >&5
3314    sed 's/^/| /' conftest.$ac_ext >&5
3315    
3316    lt_cv_cc_needs_belf=no
3317    fi
3318    rm -f conftest.err conftest.$ac_objext \
3319          conftest$ac_exeext conftest.$ac_ext
3320         ac_ext=c
3321    ac_cpp='$CPP $CPPFLAGS'
3322    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325    
3326    fi
3327    echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3328    echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3329      if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3330        # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3331        CFLAGS="$SAVE_CFLAGS"
3332    fi    fi
3333      ;;
3334    *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3335      if test -n "$ac_tool_prefix"; then
3336      # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3337    set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3338    echo "$as_me:$LINENO: checking for $ac_word" >&5
3339    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3340    if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3341      echo $ECHO_N "(cached) $ECHO_C" >&6
3342  else  else
3343    ac_cpp_err=yes    if test -n "$DLLTOOL"; then
3344      ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3345    else
3346    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347    for as_dir in $PATH
3348    do
3349      IFS=$as_save_IFS
3350      test -z "$as_dir" && as_dir=.
3351      for ac_exec_ext in '' $ac_executable_extensions; do
3352      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353        ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3354        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355        break 2
3356      fi
3357    done
3358    done
3359    
3360  fi  fi
3361  if test -z "$ac_cpp_err"; then  fi
3362    # Broken: success on invalid input.  DLLTOOL=$ac_cv_prog_DLLTOOL
3363  continue  if test -n "$DLLTOOL"; then
3364      echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3365    echo "${ECHO_T}$DLLTOOL" >&6
3366  else  else
3367    echo "$as_me: failed program was:" >&5    echo "$as_me:$LINENO: result: no" >&5
3368  sed 's/^/| /' conftest.$ac_ext >&5  echo "${ECHO_T}no" >&6
3369    fi
3370    
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
3371  fi  fi
3372  rm -f conftest.err conftest.$ac_ext  if test -z "$ac_cv_prog_DLLTOOL"; then
3373      ac_ct_DLLTOOL=$DLLTOOL
3374      # Extract the first word of "dlltool", so it can be a program name with args.
3375    set dummy dlltool; ac_word=$2
3376    echo "$as_me:$LINENO: checking for $ac_word" >&5
3377    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3378    if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3379      echo $ECHO_N "(cached) $ECHO_C" >&6
3380    else
3381      if test -n "$ac_ct_DLLTOOL"; then
3382      ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3383    else
3384    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385    for as_dir in $PATH
3386    do
3387      IFS=$as_save_IFS
3388      test -z "$as_dir" && as_dir=.
3389      for ac_exec_ext in '' $ac_executable_extensions; do
3390      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391        ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3392        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393        break 2
3394      fi
3395    done
3396    done
3397    
3398      test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3399    fi
3400    fi
3401    ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3402    if test -n "$ac_ct_DLLTOOL"; then
3403      echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3404    echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3405    else
3406      echo "$as_me:$LINENO: result: no" >&5
3407    echo "${ECHO_T}no" >&6
3408    fi
3409    
3410      DLLTOOL=$ac_ct_DLLTOOL
3411    else
3412      DLLTOOL="$ac_cv_prog_DLLTOOL"
3413    fi
3414    
3415      if test -n "$ac_tool_prefix"; then
3416      # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3417    set dummy ${ac_tool_prefix}as; ac_word=$2
3418    echo "$as_me:$LINENO: checking for $ac_word" >&5
3419    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420    if test "${ac_cv_prog_AS+set}" = set; then
3421      echo $ECHO_N "(cached) $ECHO_C" >&6
3422    else
3423      if test -n "$AS"; then
3424      ac_cv_prog_AS="$AS" # Let the user override the test.
3425    else
3426    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427    for as_dir in $PATH
3428    do
3429      IFS=$as_save_IFS
3430      test -z "$as_dir" && as_dir=.
3431      for ac_exec_ext in '' $ac_executable_extensions; do
3432      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433        ac_cv_prog_AS="${ac_tool_prefix}as"
3434        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3435        break 2
3436      fi
3437  done  done
3438  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  done
3439  rm -f conftest.err conftest.$ac_ext  
3440  if $ac_preproc_ok; then  fi
3441    break  fi
3442    AS=$ac_cv_prog_AS
3443    if test -n "$AS"; then
3444      echo "$as_me:$LINENO: result: $AS" >&5
3445    echo "${ECHO_T}$AS" >&6
3446    else
3447      echo "$as_me:$LINENO: result: no" >&5
3448    echo "${ECHO_T}no" >&6
3449  fi  fi
3450    
3451      done  fi
3452      ac_cv_prog_CPP=$CPP  if test -z "$ac_cv_prog_AS"; then
3453      ac_ct_AS=$AS
3454      # Extract the first word of "as", so it can be a program name with args.
3455    set dummy as; ac_word=$2
3456    echo "$as_me:$LINENO: checking for $ac_word" >&5
3457    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458    if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3459      echo $ECHO_N "(cached) $ECHO_C" >&6
3460    else
3461      if test -n "$ac_ct_AS"; then
3462      ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3463    else
3464    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465    for as_dir in $PATH
3466    do
3467      IFS=$as_save_IFS
3468      test -z "$as_dir" && as_dir=.
3469      for ac_exec_ext in '' $ac_executable_extensions; do
3470      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471        ac_cv_prog_ac_ct_AS="as"
3472        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473        break 2
3474      fi
3475    done
3476    done
3477    
3478      test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3479  fi  fi
3480    CPP=$ac_cv_prog_CPP  fi
3481    ac_ct_AS=$ac_cv_prog_ac_ct_AS
3482    if test -n "$ac_ct_AS"; then
3483      echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3484    echo "${ECHO_T}$ac_ct_AS" >&6
3485  else  else
3486    ac_cv_prog_CPP=$CPP    echo "$as_me:$LINENO: result: no" >&5
3487    echo "${ECHO_T}no" >&6
3488  fi  fi
3489  echo "$as_me:$LINENO: result: $CPP" >&5  
3490  echo "${ECHO_T}$CPP" >&6    AS=$ac_ct_AS
3491  ac_preproc_ok=false  else
3492      AS="$ac_cv_prog_AS"
3493    fi
3494    
3495      if test -n "$ac_tool_prefix"; then
3496      # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3497    set dummy ${ac_tool_prefix}objdump; ac_word=$2
3498    echo "$as_me:$LINENO: checking for $ac_word" >&5
3499    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500    if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3501      echo $ECHO_N "(cached) $ECHO_C" >&6
3502    else
3503      if test -n "$OBJDUMP"; then
3504      ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3505    else
3506    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507    for as_dir in $PATH
3508    do
3509      IFS=$as_save_IFS
3510      test -z "$as_dir" && as_dir=.
3511      for ac_exec_ext in '' $ac_executable_extensions; do
3512      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513        ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3514        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515        break 2
3516      fi
3517    done
3518    done
3519    
3520    fi
3521    fi
3522    OBJDUMP=$ac_cv_prog_OBJDUMP
3523    if test -n "$OBJDUMP"; then
3524      echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3525    echo "${ECHO_T}$OBJDUMP" >&6
3526    else
3527      echo "$as_me:$LINENO: result: no" >&5
3528    echo "${ECHO_T}no" >&6
3529    fi
3530    
3531    fi
3532    if test -z "$ac_cv_prog_OBJDUMP"; then
3533      ac_ct_OBJDUMP=$OBJDUMP
3534      # Extract the first word of "objdump", so it can be a program name with args.
3535    set dummy objdump; ac_word=$2
3536    echo "$as_me:$LINENO: checking for $ac_word" >&5
3537    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538    if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3539      echo $ECHO_N "(cached) $ECHO_C" >&6
3540    else
3541      if test -n "$ac_ct_OBJDUMP"; then
3542      ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3543    else
3544    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545    for as_dir in $PATH
3546    do
3547      IFS=$as_save_IFS
3548      test -z "$as_dir" && as_dir=.
3549      for ac_exec_ext in '' $ac_executable_extensions; do
3550      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551        ac_cv_prog_ac_ct_OBJDUMP="objdump"
3552        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553        break 2
3554      fi
3555    done
3556    done
3557    
3558      test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3559    fi
3560    fi
3561    ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3562    if test -n "$ac_ct_OBJDUMP"; then
3563      echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3564    echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3565    else
3566      echo "$as_me:$LINENO: result: no" >&5
3567    echo "${ECHO_T}no" >&6
3568    fi
3569    
3570      OBJDUMP=$ac_ct_OBJDUMP
3571    else
3572      OBJDUMP="$ac_cv_prog_OBJDUMP"
3573    fi
3574    
3575      ;;
3576    
3577    esac
3578    
3579    need_locks="$enable_libtool_lock"
3580    
3581    
3582    ac_ext=c
3583    ac_cpp='$CPP $CPPFLAGS'
3584    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3588    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3589    # On Suns, sometimes $CPP names a directory.
3590    if test -n "$CPP" && test -d "$CPP"; then
3591      CPP=
3592    fi
3593    if test -z "$CPP"; then
3594      if test "${ac_cv_prog_CPP+set}" = set; then
3595      echo $ECHO_N "(cached) $ECHO_C" >&6
3596    else
3597          # Double quotes because CPP needs to be expanded
3598        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3599        do
3600          ac_preproc_ok=false
3601  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
3602  do  do
3603    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
# Line 3203  do Line 3607  do
3607    # 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,
3608    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3609    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3610  /* confdefs.h.  */  /* confdefs.h.  */
3611  _ACEOF  _ACEOF
3612  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3214  cat >>conftest.$ac_ext <<_ACEOF Line 3617  cat >>conftest.$ac_ext <<_ACEOF
3617  #else  #else
3618  # include <assert.h>  # include <assert.h>
3619  #endif  #endif
3620                       Syntax error                       Syntax error
3621  _ACEOF  _ACEOF
3622  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3623    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3226  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3629  if { (eval echo "$as_me:$LINENO: \"$ac_c
3629    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3630    if test -s conftest.err; then    if test -s conftest.err; then
3631      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3632        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3633    else    else
3634      ac_cpp_err=      ac_cpp_err=
3635    fi    fi
# Line 3246  rm -f conftest.err conftest.$ac_ext Line 3650  rm -f conftest.err conftest.$ac_ext
3650    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3651    # can be detected and how.    # can be detected and how.
3652    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3653  /* confdefs.h.  */  /* confdefs.h.  */
3654  _ACEOF  _ACEOF
3655  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3264  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3667  if { (eval echo "$as_me:$LINENO: \"$ac_c
3667    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3668    if test -s conftest.err; then    if test -s conftest.err; then
3669      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3670        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3671    else    else
3672      ac_cpp_err=      ac_cpp_err=
3673    fi    fi
# Line 3287  done Line 3691  done
3691  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3692  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
3693  if $ac_preproc_ok; then  if $ac_preproc_ok; then
3694    :    break
3695  else  fi
3696    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check  
3697  See \`config.log' for more details." >&5      done
3698  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check      ac_cv_prog_CPP=$CPP
3699    
3700    fi
3701      CPP=$ac_cv_prog_CPP
3702    else
3703      ac_cv_prog_CPP=$CPP
3704    fi
3705    echo "$as_me:$LINENO: result: $CPP" >&5
3706    echo "${ECHO_T}$CPP" >&6
3707    ac_preproc_ok=false
3708    for ac_c_preproc_warn_flag in '' yes
3709    do
3710      # Use a header file that comes with gcc, so configuring glibc
3711      # with a fresh cross-compiler works.
3712      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713      # <limits.h> exists even on freestanding compilers.
3714      # On the NeXT, cc -E runs the code through the compiler's parser,
3715      # not just through cpp. "Syntax error" is here to catch this case.
3716      cat >conftest.$ac_ext <<_ACEOF
3717    /* confdefs.h.  */
3718    _ACEOF
3719    cat confdefs.h >>conftest.$ac_ext
3720    cat >>conftest.$ac_ext <<_ACEOF
3721    /* end confdefs.h.  */
3722    #ifdef __STDC__
3723    # include <limits.h>
3724    #else
3725    # include <assert.h>
3726    #endif
3727                         Syntax error
3728    _ACEOF
3729    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3730      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3731      ac_status=$?
3732      grep -v '^ *+' conftest.er1 >conftest.err
3733      rm -f conftest.er1
3734      cat conftest.err >&5
3735      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736      (exit $ac_status); } >/dev/null; then
3737      if test -s conftest.err; then
3738        ac_cpp_err=$ac_c_preproc_warn_flag
3739        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3740      else
3741        ac_cpp_err=
3742      fi
3743    else
3744      ac_cpp_err=yes
3745    fi
3746    if test -z "$ac_cpp_err"; then
3747      :
3748    else
3749      echo "$as_me: failed program was:" >&5
3750    sed 's/^/| /' conftest.$ac_ext >&5
3751    
3752      # Broken: fails on valid input.
3753    continue
3754    fi
3755    rm -f conftest.err conftest.$ac_ext
3756    
3757      # OK, works on sane cases.  Now check whether non-existent headers
3758      # can be detected and how.
3759      cat >conftest.$ac_ext <<_ACEOF
3760    /* confdefs.h.  */
3761    _ACEOF
3762    cat confdefs.h >>conftest.$ac_ext
3763    cat >>conftest.$ac_ext <<_ACEOF
3764    /* end confdefs.h.  */
3765    #include <ac_nonexistent.h>
3766    _ACEOF
3767    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3768      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3769      ac_status=$?
3770      grep -v '^ *+' conftest.er1 >conftest.err
3771      rm -f conftest.er1
3772      cat conftest.err >&5
3773      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774      (exit $ac_status); } >/dev/null; then
3775      if test -s conftest.err; then
3776        ac_cpp_err=$ac_c_preproc_warn_flag
3777        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3778      else
3779        ac_cpp_err=
3780      fi
3781    else
3782      ac_cpp_err=yes
3783    fi
3784    if test -z "$ac_cpp_err"; then
3785      # Broken: success on invalid input.
3786    continue
3787    else
3788      echo "$as_me: failed program was:" >&5
3789    sed 's/^/| /' conftest.$ac_ext >&5
3790    
3791      # Passes both tests.
3792    ac_preproc_ok=:
3793    break
3794    fi
3795    rm -f conftest.err conftest.$ac_ext
3796    
3797    done
3798    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3799    rm -f conftest.err conftest.$ac_ext
3800    if $ac_preproc_ok; then
3801      :
3802    else
3803      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3804    See \`config.log' for more details." >&5
3805    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3806  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
3807     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3808  fi  fi
# Line 3303  ac_link='$CC -o conftest$ac_exeext $CFLA Line 3814  ac_link='$CC -o conftest$ac_exeext $CFLA
3814  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815    
3816    
 echo "$as_me:$LINENO: checking for egrep" >&5  
 echo $ECHO_N "checking for egrep... $ECHO_C" >&6  
 if test "${ac_cv_prog_egrep+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if echo a | (grep -E '(a|b)') >/dev/null 2>&1  
     then ac_cv_prog_egrep='grep -E'  
     else ac_cv_prog_egrep='egrep'  
     fi  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5  
 echo "${ECHO_T}$ac_cv_prog_egrep" >&6  
  EGREP=$ac_cv_prog_egrep  
   
   
3817  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3818  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3819  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
3820    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3821  else  else
3822    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3823  /* confdefs.h.  */  /* confdefs.h.  */
3824  _ACEOF  _ACEOF
3825  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3345  main () Line 3840  main ()
3840  _ACEOF  _ACEOF
3841  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3842  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3843    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3844    ac_status=$?    ac_status=$?
3845      grep -v '^ *+' conftest.er1 >conftest.err
3846      rm -f conftest.er1
3847      cat conftest.err >&5
3848    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849    (exit $ac_status); } &&    (exit $ac_status); } &&
3850           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3851                             || test ! -s conftest.err'
3852      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853      (eval $ac_try) 2>&5
3854      ac_status=$?
3855      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856      (exit $ac_status); }; } &&
3857             { ac_try='test -s conftest.$ac_objext'
3858    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3860    ac_status=$?    ac_status=$?
# Line 3362  sed 's/^/| /' conftest.$ac_ext >&5 Line 3867  sed 's/^/| /' conftest.$ac_ext >&5
3867    
3868  ac_cv_header_stdc=no  ac_cv_header_stdc=no
3869  fi  fi
3870  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3871    
3872  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3873    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3874    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3875  /* confdefs.h.  */  /* confdefs.h.  */
3876  _ACEOF  _ACEOF
3877  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3389  fi Line 3893  fi
3893  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3894    # 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.
3895    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3896  /* confdefs.h.  */  /* confdefs.h.  */
3897  _ACEOF  _ACEOF
3898  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3414  if test $ac_cv_header_stdc = yes; then Line 3917  if test $ac_cv_header_stdc = yes; then
3917    :    :
3918  else  else
3919    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3920  /* confdefs.h.  */  /* confdefs.h.  */
3921  _ACEOF  _ACEOF
3922  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3426  cat >>conftest.$ac_ext <<_ACEOF Line 3928  cat >>conftest.$ac_ext <<_ACEOF
3928  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3929  #else  #else
3930  # define ISLOWER(c) \  # define ISLOWER(c) \
3931                     (('a' <= (c) && (c) <= 'i') \                     (('a' <= (c) && (c) <= 'i') \
3932                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
3933                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
3934  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3935  #endif  #endif
3936    
# Line 3439  main () Line 3941  main ()
3941    int i;    int i;
3942    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
3943      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
3944          || toupper (i) != TOUPPER (i))          || toupper (i) != TOUPPER (i))
3945        exit(2);        exit(2);
3946    exit (0);    exit (0);
3947  }  }
# Line 3464  sed 's/^/| /' conftest.$ac_ext >&5 Line 3966  sed 's/^/| /' conftest.$ac_ext >&5
3966  ( exit $ac_status )  ( exit $ac_status )
3967  ac_cv_header_stdc=no  ac_cv_header_stdc=no
3968  fi  fi
3969  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3970  fi  fi
3971  fi  fi
3972  fi  fi
# Line 3489  fi Line 3991  fi
3991    
3992    
3993  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3994                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
3995  do  do
3996  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3997  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 3498  if eval "test \"\${$as_ac_Header+set}\" Line 4000  if eval "test \"\${$as_ac_Header+set}\"
4000    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4001  else  else
4002    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4003  /* confdefs.h.  */  /* confdefs.h.  */
4004  _ACEOF  _ACEOF
4005  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3510  $ac_includes_default Line 4011  $ac_includes_default
4011  _ACEOF  _ACEOF
4012  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4013  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4014    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4015    ac_status=$?    ac_status=$?
4016      grep -v '^ *+' conftest.er1 >conftest.err
4017      rm -f conftest.er1
4018      cat conftest.err >&5
4019    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020    (exit $ac_status); } &&    (exit $ac_status); } &&
4021           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4022                             || test ! -s conftest.err'
4023      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024      (eval $ac_try) 2>&5
4025      ac_status=$?
4026      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027      (exit $ac_status); }; } &&
4028             { ac_try='test -s conftest.$ac_objext'
4029    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4031    ac_status=$?    ac_status=$?
# Line 3527  sed 's/^/| /' conftest.$ac_ext >&5 Line 4038  sed 's/^/| /' conftest.$ac_ext >&5
4038    
4039  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
4040  fi  fi
4041  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4042  fi  fi
4043  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4044  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 3558  else Line 4069  else
4069  echo "$as_me:$LINENO: checking $ac_header usability" >&5  echo "$as_me:$LINENO: checking $ac_header usability" >&5
4070  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4071  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4072  /* confdefs.h.  */  /* confdefs.h.  */
4073  _ACEOF  _ACEOF
4074  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3569  $ac_includes_default Line 4079  $ac_includes_default
4079  _ACEOF  _ACEOF
4080  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4081  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4082    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4083    ac_status=$?    ac_status=$?
4084      grep -v '^ *+' conftest.er1 >conftest.err
4085      rm -f conftest.er1
4086      cat conftest.err >&5
4087    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088    (exit $ac_status); } &&    (exit $ac_status); } &&
4089           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4090                             || test ! -s conftest.err'
4091      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4092      (eval $ac_try) 2>&5
4093      ac_status=$?
4094      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095      (exit $ac_status); }; } &&
4096             { ac_try='test -s conftest.$ac_objext'
4097    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4099    ac_status=$?    ac_status=$?
# Line 3586  sed 's/^/| /' conftest.$ac_ext >&5 Line 4106  sed 's/^/| /' conftest.$ac_ext >&5
4106    
4107  ac_header_compiler=no  ac_header_compiler=no
4108  fi  fi
4109  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4110  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4111  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
4112    
# Line 3594  echo "${ECHO_T}$ac_header_compiler" >&6 Line 4114  echo "${ECHO_T}$ac_header_compiler" >&6
4114  echo "$as_me:$LINENO: checking $ac_header presence" >&5  echo "$as_me:$LINENO: checking $ac_header presence" >&5
4115  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4116  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4117  /* confdefs.h.  */  /* confdefs.h.  */
4118  _ACEOF  _ACEOF
4119  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3612  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4131  if { (eval echo "$as_me:$LINENO: \"$ac_c
4131    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4132    if test -s conftest.err; then    if test -s conftest.err; then
4133      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4134        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4135    else    else
4136      ac_cpp_err=      ac_cpp_err=
4137    fi    fi
# Line 3631  echo "$as_me:$LINENO: result: $ac_header Line 4151  echo "$as_me:$LINENO: result: $ac_header
4151  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
4152    
4153  # So?  What about this header?  # So?  What about this header?
4154  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4155    yes:no )    yes:no: )
4156      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4157  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4158      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4159  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4160      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
4161      ;;      ;;
4162    no:yes )    no:yes:* )
4163      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4164  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4165      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4166  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4167        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4168    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4169        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4170    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4171      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4172  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4173        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4174    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4175      (      (
4176        cat <<\_ASBOX        cat <<\_ASBOX
4177  ## ------------------------------------ ##  ## ------------------------------------------ ##
4178  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
4179  ## ------------------------------------ ##  ## ------------------------------------------ ##
4180  _ASBOX  _ASBOX
4181      ) |      ) |
4182        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 3668  echo $ECHO_N "checking for $ac_header... Line 4187  echo $ECHO_N "checking for $ac_header...
4187  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4188    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4189  else  else
4190    eval "$as_ac_Header=$ac_header_preproc"    eval "$as_ac_Header=\$ac_header_preproc"
4191  fi  fi
4192  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4193  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 3683  fi Line 4202  fi
4202    
4203  done  done
4204    
4205    ac_ext=cc
4206    ac_cpp='$CXXCPP $CPPFLAGS'
4207    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209  # Only perform the check for file, if the check method requires it  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4210  case $deplibs_check_method in  if test -n "$ac_tool_prefix"; then
4211  file_magic*)    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4212    if test "$file_magic_cmd" = '$MAGIC_CMD'; then    do
4213      echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4214  echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4215  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  echo "$as_me:$LINENO: checking for $ac_word" >&5
4216    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4217    if test "${ac_cv_prog_CXX+set}" = set; then
4218    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4219  else  else
4220    case $MAGIC_CMD in    if test -n "$CXX"; then
4221    /*)    ac_cv_prog_CXX="$CXX" # Let the user override the test.
4222    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  else
4223    ;;  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224    ?:/*)  for as_dir in $PATH
4225    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  do
4226    ;;    IFS=$as_save_IFS
4227    *)    test -z "$as_dir" && as_dir=.
4228    ac_save_MAGIC_CMD="$MAGIC_CMD"    for ac_exec_ext in '' $ac_executable_extensions; do
4229    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230    ac_dummy="/usr/bin:$PATH"      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4231    for ac_dir in $ac_dummy; do      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4232      test -z "$ac_dir" && ac_dir=.      break 2
4233      if test -f $ac_dir/${ac_tool_prefix}file; then    fi
4234        lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"  done
4235        if test -n "$file_magic_test_file"; then  done
         case $deplibs_check_method in  
         "file_magic "*)  
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  
           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  
             egrep "$file_magic_regex" > /dev/null; then  
             :  
           else  
             cat <<EOF 1>&2  
4236    
4237  *** Warning: the command libtool uses to detect shared libraries,  fi
4238  *** $file_magic_cmd, produces output that libtool cannot recognize.  fi
4239  *** The result is that libtool may fail to recognize shared libraries  CXX=$ac_cv_prog_CXX
4240  *** as such.  This will affect the creation of libtool libraries that  if test -n "$CXX"; then
4241  *** depend on shared libraries, but programs linked with such libtool    echo "$as_me:$LINENO: result: $CXX" >&5
4242  *** libraries will work regardless of this problem.  Nevertheless, you  echo "${ECHO_T}$CXX" >&6
4243  *** may want to report the problem to your system manager and/or to  else
4244  *** bug-libtool@gnu.org    echo "$as_me:$LINENO: result: no" >&5
4245    echo "${ECHO_T}no" >&6
4246    fi
4247    
4248  EOF      test -n "$CXX" && break
           fi ;;  
         esac  
       fi  
       break  
     fi  
4249    done    done
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
4250  fi  fi
4251    if test -z "$CXX"; then
4252      ac_ct_CXX=$CXX
4253      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4254    do
4255      # Extract the first word of "$ac_prog", so it can be a program name with args.
4256    set dummy $ac_prog; ac_word=$2
4257    echo "$as_me:$LINENO: checking for $ac_word" >&5
4258    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4259    if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4260      echo $ECHO_N "(cached) $ECHO_C" >&6
4261    else
4262      if test -n "$ac_ct_CXX"; then
4263      ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4264    else
4265    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266    for as_dir in $PATH
4267    do
4268      IFS=$as_save_IFS
4269      test -z "$as_dir" && as_dir=.
4270      for ac_exec_ext in '' $ac_executable_extensions; do
4271      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272        ac_cv_prog_ac_ct_CXX="$ac_prog"
4273        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4274        break 2
4275      fi
4276    done
4277    done
4278    
4279  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  fi
4280  if test -n "$MAGIC_CMD"; then  fi
4281    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4282  echo "${ECHO_T}$MAGIC_CMD" >&6  if test -n "$ac_ct_CXX"; then
4283      echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4284    echo "${ECHO_T}$ac_ct_CXX" >&6
4285  else  else
4286    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4287  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4288  fi  fi
4289    
4290  if test -z "$lt_cv_path_MAGIC_CMD"; then    test -n "$ac_ct_CXX" && break
4291    if test -n "$ac_tool_prefix"; then  done
4292      echo "$as_me:$LINENO: checking for file" >&5  test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 echo $ECHO_N "checking for file... $ECHO_C" >&6  
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   case $MAGIC_CMD in  
   /*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  
   ;;  
   ?:/*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  
   ;;  
   *)  
   ac_save_MAGIC_CMD="$MAGIC_CMD"  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="/usr/bin:$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/file; then  
       lt_cv_path_MAGIC_CMD="$ac_dir/file"  
       if test -n "$file_magic_test_file"; then  
         case $deplibs_check_method in  
         "file_magic "*)  
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  
           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  
             egrep "$file_magic_regex" > /dev/null; then  
             :  
           else  
             cat <<EOF 1>&2  
   
 *** Warning: the command libtool uses to detect shared libraries,  
 *** $file_magic_cmd, produces output that libtool cannot recognize.  
 *** The result is that libtool may fail to recognize shared libraries  
 *** as such.  This will affect the creation of libtool libraries that  
 *** depend on shared libraries, but programs linked with such libtool  
 *** libraries will work regardless of this problem.  Nevertheless, you  
 *** may want to report the problem to your system manager and/or to  
 *** bug-libtool@gnu.org  
   
 EOF  
           fi ;;  
         esac  
       fi  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
 fi  
4293    
4294  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"    CXX=$ac_ct_CXX
 if test -n "$MAGIC_CMD"; then  
   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5  
 echo "${ECHO_T}$MAGIC_CMD" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
4295  fi  fi
4296    
   else  
     MAGIC_CMD=:  
   fi  
 fi  
4297    
4298    fi  # Provide some information about the compiler.
4299    ;;  echo "$as_me:$LINENO:" \
4300  esac       "checking for C++ compiler version" >&5
4301    ac_compiler=`set X $ac_compile; echo $2`
4302    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4303      (eval $ac_compiler --version </dev/null >&5) 2>&5
4304      ac_status=$?
4305      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306      (exit $ac_status); }
4307    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4308      (eval $ac_compiler -v </dev/null >&5) 2>&5
4309      ac_status=$?
4310      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311      (exit $ac_status); }
4312    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4313      (eval $ac_compiler -V </dev/null >&5) 2>&5
4314      ac_status=$?
4315      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316      (exit $ac_status); }
4317    
4318  if test -n "$ac_tool_prefix"; then  echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4319    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4320  set dummy ${ac_tool_prefix}ranlib; ac_word=$2  if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_RANLIB+set}" = set; then  
4321    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4322  else  else
4323    if test -n "$RANLIB"; then    cat >conftest.$ac_ext <<_ACEOF
4324    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  /* confdefs.h.  */
4325  else  _ACEOF
4326  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  cat confdefs.h >>conftest.$ac_ext
4327  for as_dir in $PATH  cat >>conftest.$ac_ext <<_ACEOF
4328  do  /* end confdefs.h.  */
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
4329    
4330  fi  int
4331  fi  main ()
4332  RANLIB=$ac_cv_prog_RANLIB  {
4333  if test -n "$RANLIB"; then  #ifndef __GNUC__
4334    echo "$as_me:$LINENO: result: $RANLIB" >&5         choke me
4335  echo "${ECHO_T}$RANLIB" >&6  #endif
4336    
4337      ;
4338      return 0;
4339    }
4340    _ACEOF
4341    rm -f conftest.$ac_objext
4342    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343      (eval $ac_compile) 2>conftest.er1
4344      ac_status=$?
4345      grep -v '^ *+' conftest.er1 >conftest.err
4346      rm -f conftest.er1
4347      cat conftest.err >&5
4348      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349      (exit $ac_status); } &&
4350             { ac_try='test -z "$ac_cxx_werror_flag"
4351                             || test ! -s conftest.err'
4352      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353      (eval $ac_try) 2>&5
4354      ac_status=$?
4355      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356      (exit $ac_status); }; } &&
4357             { ac_try='test -s conftest.$ac_objext'
4358      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359      (eval $ac_try) 2>&5
4360      ac_status=$?
4361      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362      (exit $ac_status); }; }; then
4363      ac_compiler_gnu=yes
4364  else  else
4365    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me: failed program was:" >&5
4366  echo "${ECHO_T}no" >&6  sed 's/^/| /' conftest.$ac_ext >&5
4367    
4368    ac_compiler_gnu=no
4369  fi  fi
4370    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4371    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4372    
4373  fi  fi
4374  if test -z "$ac_cv_prog_RANLIB"; then  echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4375    ac_ct_RANLIB=$RANLIB  echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4376    # Extract the first word of "ranlib", so it can be a program name with args.  GXX=`test $ac_compiler_gnu = yes && echo yes`
4377  set dummy ranlib; ac_word=$2  ac_test_CXXFLAGS=${CXXFLAGS+set}
4378  echo "$as_me:$LINENO: checking for $ac_word" >&5  ac_save_CXXFLAGS=$CXXFLAGS
4379  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  CXXFLAGS="-g"
4380  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4381    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4382    if test "${ac_cv_prog_cxx_g+set}" = set; then
4383    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4384  else  else
4385    if test -n "$ac_ct_RANLIB"; then    cat >conftest.$ac_ext <<_ACEOF
4386    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.  /* confdefs.h.  */
4387    _ACEOF
4388    cat confdefs.h >>conftest.$ac_ext
4389    cat >>conftest.$ac_ext <<_ACEOF
4390    /* end confdefs.h.  */
4391    
4392    int
4393    main ()
4394    {
4395    
4396      ;
4397      return 0;
4398    }
4399    _ACEOF
4400    rm -f conftest.$ac_objext
4401    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402      (eval $ac_compile) 2>conftest.er1
4403      ac_status=$?
4404      grep -v '^ *+' conftest.er1 >conftest.err
4405      rm -f conftest.er1
4406      cat conftest.err >&5
4407      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408      (exit $ac_status); } &&
4409             { ac_try='test -z "$ac_cxx_werror_flag"
4410                             || test ! -s conftest.err'
4411      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412      (eval $ac_try) 2>&5
4413      ac_status=$?
4414      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415      (exit $ac_status); }; } &&
4416             { ac_try='test -s conftest.$ac_objext'
4417      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418      (eval $ac_try) 2>&5
4419      ac_status=$?
4420      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421      (exit $ac_status); }; }; then
4422      ac_cv_prog_cxx_g=yes
4423  else  else
4424  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    echo "$as_me: failed program was:" >&5
4425  for as_dir in $PATH  sed 's/^/| /' conftest.$ac_ext >&5
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_RANLIB="ranlib"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
4426    
4427    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  ac_cv_prog_cxx_g=no
4428  fi  fi
4429    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4430  fi  fi
4431  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4432  if test -n "$ac_ct_RANLIB"; then  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4433    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5  if test "$ac_test_CXXFLAGS" = set; then
4434  echo "${ECHO_T}$ac_ct_RANLIB" >&6    CXXFLAGS=$ac_save_CXXFLAGS
4435    elif test $ac_cv_prog_cxx_g = yes; then
4436      if test "$GXX" = yes; then
4437        CXXFLAGS="-g -O2"
4438      else
4439        CXXFLAGS="-g"
4440      fi
4441  else  else
4442    echo "$as_me:$LINENO: result: no" >&5    if test "$GXX" = yes; then
4443  echo "${ECHO_T}no" >&6      CXXFLAGS="-O2"
4444      else
4445        CXXFLAGS=
4446      fi
4447    fi
4448    for ac_declaration in \
4449       '' \
4450       'extern "C" void std::exit (int) throw (); using std::exit;' \
4451       'extern "C" void std::exit (int); using std::exit;' \
4452       'extern "C" void exit (int) throw ();' \
4453       'extern "C" void exit (int);' \
4454       'void exit (int);'
4455    do
4456      cat >conftest.$ac_ext <<_ACEOF
4457    /* confdefs.h.  */
4458    _ACEOF
4459    cat confdefs.h >>conftest.$ac_ext
4460    cat >>conftest.$ac_ext <<_ACEOF
4461    /* end confdefs.h.  */
4462    $ac_declaration
4463    #include <stdlib.h>
4464    int
4465    main ()
4466    {
4467    exit (42);
4468      ;
4469      return 0;
4470    }
4471    _ACEOF
4472    rm -f conftest.$ac_objext
4473    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4474      (eval $ac_compile) 2>conftest.er1
4475      ac_status=$?
4476      grep -v '^ *+' conftest.er1 >conftest.err
4477      rm -f conftest.er1
4478      cat conftest.err >&5
4479      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480      (exit $ac_status); } &&
4481             { ac_try='test -z "$ac_cxx_werror_flag"
4482                             || test ! -s conftest.err'
4483      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484      (eval $ac_try) 2>&5
4485      ac_status=$?
4486      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487      (exit $ac_status); }; } &&
4488             { ac_try='test -s conftest.$ac_objext'
4489      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490      (eval $ac_try) 2>&5
4491      ac_status=$?
4492      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493      (exit $ac_status); }; }; then
4494      :
4495    else
4496      echo "$as_me: failed program was:" >&5
4497    sed 's/^/| /' conftest.$ac_ext >&5
4498    
4499    continue
4500  fi  fi
4501    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4502      cat >conftest.$ac_ext <<_ACEOF
4503    /* confdefs.h.  */
4504    _ACEOF
4505    cat confdefs.h >>conftest.$ac_ext
4506    cat >>conftest.$ac_ext <<_ACEOF
4507    /* end confdefs.h.  */
4508    $ac_declaration
4509    int
4510    main ()
4511    {
4512    exit (42);
4513      ;
4514      return 0;
4515    }
4516    _ACEOF
4517    rm -f conftest.$ac_objext
4518    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4519      (eval $ac_compile) 2>conftest.er1
4520      ac_status=$?
4521      grep -v '^ *+' conftest.er1 >conftest.err
4522      rm -f conftest.er1
4523      cat conftest.err >&5
4524      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525      (exit $ac_status); } &&
4526             { ac_try='test -z "$ac_cxx_werror_flag"
4527                             || test ! -s conftest.err'
4528      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529      (eval $ac_try) 2>&5
4530      ac_status=$?
4531      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532      (exit $ac_status); }; } &&
4533             { ac_try='test -s conftest.$ac_objext'
4534      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535      (eval $ac_try) 2>&5
4536      ac_status=$?
4537      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538      (exit $ac_status); }; }; then
4539      break
4540    else
4541      echo "$as_me: failed program was:" >&5
4542    sed 's/^/| /' conftest.$ac_ext >&5
4543    
4544    fi
4545    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4546    done
4547    rm -f conftest*
4548    if test -n "$ac_declaration"; then
4549      echo '#ifdef __cplusplus' >>confdefs.h
4550      echo $ac_declaration      >>confdefs.h
4551      echo '#endif'             >>confdefs.h
4552    fi
4553    
4554    ac_ext=cc
4555    ac_cpp='$CXXCPP $CPPFLAGS'
4556    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4559    
4560    ac_ext=cc
4561    ac_cpp='$CXXCPP $CPPFLAGS'
4562    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4565    echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4566    echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4567    if test -z "$CXXCPP"; then
4568      if test "${ac_cv_prog_CXXCPP+set}" = set; then
4569      echo $ECHO_N "(cached) $ECHO_C" >&6
4570    else
4571          # Double quotes because CXXCPP needs to be expanded
4572        for CXXCPP in "$CXX -E" "/lib/cpp"
4573        do
4574          ac_preproc_ok=false
4575    for ac_cxx_preproc_warn_flag in '' yes
4576    do
4577      # Use a header file that comes with gcc, so configuring glibc
4578      # with a fresh cross-compiler works.
4579      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4580      # <limits.h> exists even on freestanding compilers.
4581      # On the NeXT, cc -E runs the code through the compiler's parser,
4582      # not just through cpp. "Syntax error" is here to catch this case.
4583      cat >conftest.$ac_ext <<_ACEOF
4584    /* confdefs.h.  */
4585    _ACEOF
4586    cat confdefs.h >>conftest.$ac_ext
4587    cat >>conftest.$ac_ext <<_ACEOF
4588    /* end confdefs.h.  */
4589    #ifdef __STDC__
4590    # include <limits.h>
4591    #else
4592    # include <assert.h>
4593    #endif
4594                         Syntax error
4595    _ACEOF
4596    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4597      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4598      ac_status=$?
4599      grep -v '^ *+' conftest.er1 >conftest.err
4600      rm -f conftest.er1
4601      cat conftest.err >&5
4602      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603      (exit $ac_status); } >/dev/null; then
4604      if test -s conftest.err; then
4605        ac_cpp_err=$ac_cxx_preproc_warn_flag
4606        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4607      else
4608        ac_cpp_err=
4609      fi
4610    else
4611      ac_cpp_err=yes
4612    fi
4613    if test -z "$ac_cpp_err"; then
4614      :
4615    else
4616      echo "$as_me: failed program was:" >&5
4617    sed 's/^/| /' conftest.$ac_ext >&5
4618    
4619      # Broken: fails on valid input.
4620    continue
4621    fi
4622    rm -f conftest.err conftest.$ac_ext
4623    
4624      # OK, works on sane cases.  Now check whether non-existent headers
4625      # can be detected and how.
4626      cat >conftest.$ac_ext <<_ACEOF
4627    /* confdefs.h.  */
4628    _ACEOF
4629    cat confdefs.h >>conftest.$ac_ext
4630    cat >>conftest.$ac_ext <<_ACEOF
4631    /* end confdefs.h.  */
4632    #include <ac_nonexistent.h>
4633    _ACEOF
4634    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4635      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4636      ac_status=$?
4637      grep -v '^ *+' conftest.er1 >conftest.err
4638      rm -f conftest.er1
4639      cat conftest.err >&5
4640      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641      (exit $ac_status); } >/dev/null; then
4642      if test -s conftest.err; then
4643        ac_cpp_err=$ac_cxx_preproc_warn_flag
4644        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4645      else
4646        ac_cpp_err=
4647      fi
4648    else
4649      ac_cpp_err=yes
4650    fi
4651    if test -z "$ac_cpp_err"; then
4652      # Broken: success on invalid input.
4653    continue
4654    else
4655      echo "$as_me: failed program was:" >&5
4656    sed 's/^/| /' conftest.$ac_ext >&5
4657    
4658      # Passes both tests.
4659    ac_preproc_ok=:
4660    break
4661    fi
4662    rm -f conftest.err conftest.$ac_ext
4663    
4664    done
4665    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4666    rm -f conftest.err conftest.$ac_ext
4667    if $ac_preproc_ok; then
4668      break
4669    fi
4670    
4671        done
4672        ac_cv_prog_CXXCPP=$CXXCPP
4673    
4674    fi
4675      CXXCPP=$ac_cv_prog_CXXCPP
4676    else
4677      ac_cv_prog_CXXCPP=$CXXCPP
4678    fi
4679    echo "$as_me:$LINENO: result: $CXXCPP" >&5
4680    echo "${ECHO_T}$CXXCPP" >&6
4681    ac_preproc_ok=false
4682    for ac_cxx_preproc_warn_flag in '' yes
4683    do
4684      # Use a header file that comes with gcc, so configuring glibc
4685      # with a fresh cross-compiler works.
4686      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4687      # <limits.h> exists even on freestanding compilers.
4688      # On the NeXT, cc -E runs the code through the compiler's parser,
4689      # not just through cpp. "Syntax error" is here to catch this case.
4690      cat >conftest.$ac_ext <<_ACEOF
4691    /* confdefs.h.  */
4692    _ACEOF
4693    cat confdefs.h >>conftest.$ac_ext
4694    cat >>conftest.$ac_ext <<_ACEOF
4695    /* end confdefs.h.  */
4696    #ifdef __STDC__
4697    # include <limits.h>
4698    #else
4699    # include <assert.h>
4700    #endif
4701                         Syntax error
4702    _ACEOF
4703    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4704      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4705      ac_status=$?
4706      grep -v '^ *+' conftest.er1 >conftest.err
4707      rm -f conftest.er1
4708      cat conftest.err >&5
4709      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710      (exit $ac_status); } >/dev/null; then
4711      if test -s conftest.err; then
4712        ac_cpp_err=$ac_cxx_preproc_warn_flag
4713        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4714      else
4715        ac_cpp_err=
4716      fi
4717    else
4718      ac_cpp_err=yes
4719    fi
4720    if test -z "$ac_cpp_err"; then
4721      :
4722    else
4723      echo "$as_me: failed program was:" >&5
4724    sed 's/^/| /' conftest.$ac_ext >&5
4725    
4726      # Broken: fails on valid input.
4727    continue
4728    fi
4729    rm -f conftest.err conftest.$ac_ext
4730    
4731      # OK, works on sane cases.  Now check whether non-existent headers
4732      # can be detected and how.
4733      cat >conftest.$ac_ext <<_ACEOF
4734    /* confdefs.h.  */
4735    _ACEOF
4736    cat confdefs.h >>conftest.$ac_ext
4737    cat >>conftest.$ac_ext <<_ACEOF
4738    /* end confdefs.h.  */
4739    #include <ac_nonexistent.h>
4740    _ACEOF
4741    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4742      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4743      ac_status=$?
4744      grep -v '^ *+' conftest.er1 >conftest.err
4745      rm -f conftest.er1
4746      cat conftest.err >&5
4747      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748      (exit $ac_status); } >/dev/null; then
4749      if test -s conftest.err; then
4750        ac_cpp_err=$ac_cxx_preproc_warn_flag
4751        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4752      else
4753        ac_cpp_err=
4754      fi
4755    else
4756      ac_cpp_err=yes
4757    fi
4758    if test -z "$ac_cpp_err"; then
4759      # Broken: success on invalid input.
4760    continue
4761    else
4762      echo "$as_me: failed program was:" >&5
4763    sed 's/^/| /' conftest.$ac_ext >&5
4764    
4765      # Passes both tests.
4766    ac_preproc_ok=:
4767    break
4768    fi
4769    rm -f conftest.err conftest.$ac_ext
4770    
4771    done
4772    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4773    rm -f conftest.err conftest.$ac_ext
4774    if $ac_preproc_ok; then
4775      :
4776    else
4777      { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4778    See \`config.log' for more details." >&5
4779    echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4780    See \`config.log' for more details." >&2;}
4781       { (exit 1); exit 1; }; }
4782    fi
4783    
4784    ac_ext=cc
4785    ac_cpp='$CXXCPP $CPPFLAGS'
4786    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4789    
4790    
4791    ac_ext=f
4792    ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4793    ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794    ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4795    if test -n "$ac_tool_prefix"; then
4796      for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4797      do
4798        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4799    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4800    echo "$as_me:$LINENO: checking for $ac_word" >&5
4801    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802    if test "${ac_cv_prog_F77+set}" = set; then
4803      echo $ECHO_N "(cached) $ECHO_C" >&6
4804    else
4805      if test -n "$F77"; then
4806      ac_cv_prog_F77="$F77" # Let the user override the test.
4807    else
4808    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809    for as_dir in $PATH
4810    do
4811      IFS=$as_save_IFS
4812      test -z "$as_dir" && as_dir=.
4813      for ac_exec_ext in '' $ac_executable_extensions; do
4814      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815        ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4816        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817        break 2
4818      fi
4819    done
4820    done
4821    
4822    fi
4823    fi
4824    F77=$ac_cv_prog_F77
4825    if test -n "$F77"; then
4826      echo "$as_me:$LINENO: result: $F77" >&5
4827    echo "${ECHO_T}$F77" >&6
4828    else
4829      echo "$as_me:$LINENO: result: no" >&5
4830    echo "${ECHO_T}no" >&6
4831    fi
4832    
4833        test -n "$F77" && break
4834      done
4835    fi
4836    if test -z "$F77"; then
4837      ac_ct_F77=$F77
4838      for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4839    do
4840      # Extract the first word of "$ac_prog", so it can be a program name with args.
4841    set dummy $ac_prog; ac_word=$2
4842    echo "$as_me:$LINENO: checking for $ac_word" >&5
4843    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4844    if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4845      echo $ECHO_N "(cached) $ECHO_C" >&6
4846    else
4847      if test -n "$ac_ct_F77"; then
4848      ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4849    else
4850    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851    for as_dir in $PATH
4852    do
4853      IFS=$as_save_IFS
4854      test -z "$as_dir" && as_dir=.
4855      for ac_exec_ext in '' $ac_executable_extensions; do
4856      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857        ac_cv_prog_ac_ct_F77="$ac_prog"
4858        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859        break 2
4860      fi
4861    done
4862    done
4863    
4864    fi
4865    fi
4866    ac_ct_F77=$ac_cv_prog_ac_ct_F77
4867    if test -n "$ac_ct_F77"; then
4868      echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4869    echo "${ECHO_T}$ac_ct_F77" >&6
4870    else
4871      echo "$as_me:$LINENO: result: no" >&5
4872    echo "${ECHO_T}no" >&6
4873    fi
4874    
4875      test -n "$ac_ct_F77" && break
4876    done
4877    
4878      F77=$ac_ct_F77
4879    fi
4880    
4881    
4882    # Provide some information about the compiler.
4883    echo "$as_me:4878:" \
4884         "checking for Fortran 77 compiler version" >&5
4885    ac_compiler=`set X $ac_compile; echo $2`
4886    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4887      (eval $ac_compiler --version </dev/null >&5) 2>&5
4888      ac_status=$?
4889      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890      (exit $ac_status); }
4891    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4892      (eval $ac_compiler -v </dev/null >&5) 2>&5
4893      ac_status=$?
4894      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895      (exit $ac_status); }
4896    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4897      (eval $ac_compiler -V </dev/null >&5) 2>&5
4898      ac_status=$?
4899      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900      (exit $ac_status); }
4901    rm -f a.out
4902    
4903    # If we don't use `.F' as extension, the preprocessor is not run on the
4904    # input file.  (Note that this only needs to work for GNU compilers.)
4905    ac_save_ext=$ac_ext
4906    ac_ext=F
4907    echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4908    echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4909    if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4910      echo $ECHO_N "(cached) $ECHO_C" >&6
4911    else
4912      cat >conftest.$ac_ext <<_ACEOF
4913          program main
4914    #ifndef __GNUC__
4915           choke me
4916    #endif
4917    
4918          end
4919    _ACEOF
4920    rm -f conftest.$ac_objext
4921    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4922      (eval $ac_compile) 2>conftest.er1
4923      ac_status=$?
4924      grep -v '^ *+' conftest.er1 >conftest.err
4925      rm -f conftest.er1
4926      cat conftest.err >&5
4927      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928      (exit $ac_status); } &&
4929             { ac_try='test -z "$ac_f77_werror_flag"
4930                             || test ! -s conftest.err'
4931      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932      (eval $ac_try) 2>&5
4933      ac_status=$?
4934      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935      (exit $ac_status); }; } &&
4936             { ac_try='test -s conftest.$ac_objext'
4937      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938      (eval $ac_try) 2>&5
4939      ac_status=$?
4940      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941      (exit $ac_status); }; }; then
4942      ac_compiler_gnu=yes
4943    else
4944      echo "$as_me: failed program was:" >&5
4945    sed 's/^/| /' conftest.$ac_ext >&5
4946    
4947    ac_compiler_gnu=no
4948    fi
4949    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4950    ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4951    
4952    fi
4953    echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4954    echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4955    ac_ext=$ac_save_ext
4956    ac_test_FFLAGS=${FFLAGS+set}
4957    ac_save_FFLAGS=$FFLAGS
4958    FFLAGS=
4959    echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4960    echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4961    if test "${ac_cv_prog_f77_g+set}" = set; then
4962      echo $ECHO_N "(cached) $ECHO_C" >&6
4963    else
4964      FFLAGS=-g
4965    cat >conftest.$ac_ext <<_ACEOF
4966          program main
4967    
4968          end
4969    _ACEOF
4970    rm -f conftest.$ac_objext
4971    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972      (eval $ac_compile) 2>conftest.er1
4973      ac_status=$?
4974      grep -v '^ *+' conftest.er1 >conftest.err
4975      rm -f conftest.er1
4976      cat conftest.err >&5
4977      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978      (exit $ac_status); } &&
4979             { ac_try='test -z "$ac_f77_werror_flag"
4980                             || test ! -s conftest.err'
4981      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982      (eval $ac_try) 2>&5
4983      ac_status=$?
4984      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985      (exit $ac_status); }; } &&
4986             { ac_try='test -s conftest.$ac_objext'
4987      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988      (eval $ac_try) 2>&5
4989      ac_status=$?
4990      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991      (exit $ac_status); }; }; then
4992      ac_cv_prog_f77_g=yes
4993    else
4994      echo "$as_me: failed program was:" >&5
4995    sed 's/^/| /' conftest.$ac_ext >&5
4996    
4997    ac_cv_prog_f77_g=no
4998    fi
4999    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5000    
5001    fi
5002    echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5003    echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5004    if test "$ac_test_FFLAGS" = set; then
5005      FFLAGS=$ac_save_FFLAGS
5006    elif test $ac_cv_prog_f77_g = yes; then
5007      if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5008        FFLAGS="-g -O2"
5009      else
5010        FFLAGS="-g"
5011      fi
5012    else
5013      if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5014        FFLAGS="-O2"
5015      else
5016        FFLAGS=
5017      fi
5018    fi
5019    
5020    G77=`test $ac_compiler_gnu = yes && echo yes`
5021    ac_ext=c
5022    ac_cpp='$CPP $CPPFLAGS'
5023    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025    ac_compiler_gnu=$ac_cv_c_compiler_gnu
5026    
5027    
5028    
5029    # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5030    
5031    # find the maximum length of command line arguments
5032    echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5033    echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5034    if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5035      echo $ECHO_N "(cached) $ECHO_C" >&6
5036    else
5037        i=0
5038      teststring="ABCD"
5039    
5040      case $build_os in
5041      msdosdjgpp*)
5042        # On DJGPP, this test can blow up pretty badly due to problems in libc
5043        # (any single argument exceeding 2000 bytes causes a buffer overrun
5044        # during glob expansion).  Even if it were fixed, the result of this
5045        # check would be larger than it should be.
5046        lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5047        ;;
5048    
5049      gnu*)
5050        # Under GNU Hurd, this test is not required because there is
5051        # no limit to the length of command line arguments.
5052        # Libtool will interpret -1 as no limit whatsoever
5053        lt_cv_sys_max_cmd_len=-1;
5054        ;;
5055    
5056      cygwin* | mingw*)
5057        # On Win9x/ME, this test blows up -- it succeeds, but takes
5058        # about 5 minutes as the teststring grows exponentially.
5059        # Worse, since 9x/ME are not pre-emptively multitasking,
5060        # you end up with a "frozen" computer, even though with patience
5061        # the test eventually succeeds (with a max line length of 256k).
5062        # Instead, let's just punt: use the minimum linelength reported by
5063        # all of the supported platforms: 8192 (on NT/2K/XP).
5064        lt_cv_sys_max_cmd_len=8192;
5065        ;;
5066    
5067      amigaos*)
5068        # On AmigaOS with pdksh, this test takes hours, literally.
5069        # So we just punt and use a minimum line length of 8192.
5070        lt_cv_sys_max_cmd_len=8192;
5071        ;;
5072    
5073      netbsd* | freebsd* | openbsd* | darwin* )
5074        # This has been around since 386BSD, at least.  Likely further.
5075        if test -x /sbin/sysctl; then
5076          lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5077        elif test -x /usr/sbin/sysctl; then
5078          lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5079        else
5080          lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5081        fi
5082        # And add a safety zone
5083        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5084        ;;
5085    
5086     *)
5087        # If test is not a shell built-in, we'll probably end up computing a
5088        # maximum length that is only half of the actual maximum length, but
5089        # we can't tell.
5090        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5091        while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5092                   = "XX$teststring") >/dev/null 2>&1 &&
5093                new_result=`expr "X$teststring" : ".*" 2>&1` &&
5094                lt_cv_sys_max_cmd_len=$new_result &&
5095                test $i != 17 # 1/2 MB should be enough
5096        do
5097          i=`expr $i + 1`
5098          teststring=$teststring$teststring
5099        done
5100        teststring=
5101        # Add a significant safety factor because C++ compilers can tack on massive
5102        # amounts of additional arguments before passing them to the linker.
5103        # It appears as though 1/2 is a usable value.
5104        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5105        ;;
5106      esac
5107    
5108    fi
5109    
5110    if test -n $lt_cv_sys_max_cmd_len ; then
5111      echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5112    echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5113    else
5114      echo "$as_me:$LINENO: result: none" >&5
5115    echo "${ECHO_T}none" >&6
5116    fi
5117    
5118    
5119    
5120    
5121    # Check for command to grab the raw symbol name followed by C symbol from nm.
5122    echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5123    echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5124    if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5125      echo $ECHO_N "(cached) $ECHO_C" >&6
5126    else
5127    
5128    # These are sane defaults that work on at least a few old systems.
5129    # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5130    
5131    # Character class describing NM global symbol codes.
5132    symcode='[BCDEGRST]'
5133    
5134    # Regexp to match symbols that can be accessed directly from C.
5135    sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5136    
5137    # Transform the above into a raw symbol and a C symbol.
5138    symxfrm='\1 \2\3 \3'
5139    
5140    # Transform an extracted symbol line into a proper C declaration
5141    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5142    
5143    # Transform an extracted symbol line into symbol name and symbol address
5144    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5145    
5146    # Define system-specific variables.
5147    case $host_os in
5148    aix*)
5149      symcode='[BCDT]'
5150      ;;
5151    cygwin* | mingw* | pw32*)
5152      symcode='[ABCDGISTW]'
5153      ;;
5154    hpux*) # Its linker distinguishes data from code symbols
5155      if test "$host_cpu" = ia64; then
5156        symcode='[ABCDEGRST]'
5157      fi
5158      lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5159      lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5160      ;;
5161    irix* | nonstopux*)
5162      symcode='[BCDEGRST]'
5163      ;;
5164    osf*)
5165      symcode='[BCDEGQRST]'
5166      ;;
5167    solaris* | sysv5*)
5168      symcode='[BDRT]'
5169      ;;
5170    sysv4)
5171      symcode='[DFNSTU]'
5172      ;;
5173    esac
5174    
5175    # Handle CRLF in mingw tool chain
5176    opt_cr=
5177    case $build_os in
5178    mingw*)
5179      opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5180      ;;
5181    esac
5182    
5183    # If we're using GNU nm, then use its standard symbol codes.
5184    case `$NM -V 2>&1` in
5185    *GNU* | *'with BFD'*)
5186      symcode='[ABCDGIRSTW]' ;;
5187    esac
5188    
5189    # Try without a prefix undercore, then with it.
5190    for ac_symprfx in "" "_"; do
5191    
5192      # Write the raw and C identifiers.
5193      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5194    
5195      # Check to see that the pipe works correctly.
5196      pipe_works=no
5197    
5198      rm -f conftest*
5199      cat > conftest.$ac_ext <<EOF
5200    #ifdef __cplusplus
5201    extern "C" {
5202    #endif
5203    char nm_test_var;
5204    void nm_test_func(){}
5205    #ifdef __cplusplus
5206    }
5207    #endif
5208    int main(){nm_test_var='a';nm_test_func();return(0);}
5209    EOF
5210    
5211      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5212      (eval $ac_compile) 2>&5
5213      ac_status=$?
5214      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215      (exit $ac_status); }; then
5216        # Now try to grab the symbols.
5217        nlist=conftest.nm
5218        if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5219      (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5220      ac_status=$?
5221      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222      (exit $ac_status); } && test -s "$nlist"; then
5223          # Try sorting and uniquifying the output.
5224          if sort "$nlist" | uniq > "$nlist"T; then
5225            mv -f "$nlist"T "$nlist"
5226          else
5227            rm -f "$nlist"T
5228          fi
5229    
5230          # Make sure that we snagged all the symbols we need.
5231          if grep ' nm_test_var$' "$nlist" >/dev/null; then
5232            if grep ' nm_test_func$' "$nlist" >/dev/null; then
5233              cat <<EOF > conftest.$ac_ext
5234    #ifdef __cplusplus
5235    extern "C" {
5236    #endif
5237    
5238    EOF
5239              # Now generate the symbol file.
5240              eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5241    
5242              cat <<EOF >> conftest.$ac_ext
5243    #if defined (__STDC__) && __STDC__
5244    # define lt_ptr_t void *
5245    #else
5246    # define lt_ptr_t char *
5247    # define const
5248    #endif
5249    
5250    /* The mapping between symbol names and symbols. */
5251    const struct {
5252      const char *name;
5253      lt_ptr_t address;
5254    }
5255    lt_preloaded_symbols[] =
5256    {
5257    EOF
5258              $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5259              cat <<\EOF >> conftest.$ac_ext
5260      {0, (lt_ptr_t) 0}
5261    };
5262    
5263    #ifdef __cplusplus
5264    }
5265    #endif
5266    EOF
5267              # Now try linking the two files.
5268              mv conftest.$ac_objext conftstm.$ac_objext
5269              lt_save_LIBS="$LIBS"
5270              lt_save_CFLAGS="$CFLAGS"
5271              LIBS="conftstm.$ac_objext"
5272              CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5273              if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5274      (eval $ac_link) 2>&5
5275      ac_status=$?
5276      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277      (exit $ac_status); } && test -s conftest${ac_exeext}; then
5278                pipe_works=yes
5279              fi
5280              LIBS="$lt_save_LIBS"
5281              CFLAGS="$lt_save_CFLAGS"
5282            else
5283              echo "cannot find nm_test_func in $nlist" >&5
5284            fi
5285          else
5286            echo "cannot find nm_test_var in $nlist" >&5
5287          fi
5288        else
5289          echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5290        fi
5291      else
5292        echo "$progname: failed program was:" >&5
5293        cat conftest.$ac_ext >&5
5294      fi
5295      rm -f conftest* conftst*
5296    
5297      # Do not use the global_symbol_pipe unless it works.
5298      if test "$pipe_works" = yes; then
5299        break
5300      else
5301        lt_cv_sys_global_symbol_pipe=
5302      fi
5303    done
5304    
5305    fi
5306    
5307    if test -z "$lt_cv_sys_global_symbol_pipe"; then
5308      lt_cv_sys_global_symbol_to_cdecl=
5309    fi
5310    if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5311      echo "$as_me:$LINENO: result: failed" >&5
5312    echo "${ECHO_T}failed" >&6
5313    else
5314      echo "$as_me:$LINENO: result: ok" >&5
5315    echo "${ECHO_T}ok" >&6
5316    fi
5317    
5318    echo "$as_me:$LINENO: checking for objdir" >&5
5319    echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5320    if test "${lt_cv_objdir+set}" = set; then
5321      echo $ECHO_N "(cached) $ECHO_C" >&6
5322    else
5323      rm -f .libs 2>/dev/null
5324    mkdir .libs 2>/dev/null
5325    if test -d .libs; then
5326      lt_cv_objdir=.libs
5327    else
5328      # MS-DOS does not allow filenames that begin with a dot.
5329      lt_cv_objdir=_libs
5330    fi
5331    rmdir .libs 2>/dev/null
5332    fi
5333    echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5334    echo "${ECHO_T}$lt_cv_objdir" >&6
5335    objdir=$lt_cv_objdir
5336    
5337    
5338    
5339    
5340    
5341    case $host_os in
5342    aix3*)
5343      # AIX sometimes has problems with the GCC collect2 program.  For some
5344      # reason, if we set the COLLECT_NAMES environment variable, the problems
5345      # vanish in a puff of smoke.
5346      if test "X${COLLECT_NAMES+set}" != Xset; then
5347        COLLECT_NAMES=
5348        export COLLECT_NAMES
5349      fi
5350      ;;
5351    esac
5352    
5353    # Sed substitution that helps us do robust quoting.  It backslashifies
5354    # metacharacters that are still active within double-quoted strings.
5355    Xsed='sed -e s/^X//'
5356    sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5357    
5358    # Same as above, but do not quote variable references.
5359    double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5360    
5361    # Sed substitution to delay expansion of an escaped shell variable in a
5362    # double_quote_subst'ed string.
5363    delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5364    
5365    # Sed substitution to avoid accidental globbing in evaled expressions
5366    no_glob_subst='s/\*/\\\*/g'
5367    
5368    # Constants:
5369    rm="rm -f"
5370    
5371    # Global variables:
5372    default_ofile=libtool
5373    can_build_shared=yes
5374    
5375    # All known linkers require a `.a' archive for static linking (except M$VC,
5376    # which needs '.lib').
5377    libext=a
5378    ltmain="$ac_aux_dir/ltmain.sh"
5379    ofile="$default_ofile"
5380    with_gnu_ld="$lt_cv_prog_gnu_ld"
5381    
5382    if test -n "$ac_tool_prefix"; then
5383      # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5384    set dummy ${ac_tool_prefix}ar; ac_word=$2
5385    echo "$as_me:$LINENO: checking for $ac_word" >&5
5386    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5387    if test "${ac_cv_prog_AR+set}" = set; then
5388      echo $ECHO_N "(cached) $ECHO_C" >&6
5389    else
5390      if test -n "$AR"; then
5391      ac_cv_prog_AR="$AR" # Let the user override the test.
5392    else
5393    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394    for as_dir in $PATH
5395    do
5396      IFS=$as_save_IFS
5397      test -z "$as_dir" && as_dir=.
5398      for ac_exec_ext in '' $ac_executable_extensions; do
5399      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400        ac_cv_prog_AR="${ac_tool_prefix}ar"
5401        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5402        break 2
5403      fi
5404    done
5405    done
5406    
5407    fi
5408    fi
5409    AR=$ac_cv_prog_AR
5410    if test -n "$AR"; then
5411      echo "$as_me:$LINENO: result: $AR" >&5
5412    echo "${ECHO_T}$AR" >&6
5413    else
5414      echo "$as_me:$LINENO: result: no" >&5
5415    echo "${ECHO_T}no" >&6
5416    fi
5417    
5418    fi
5419    if test -z "$ac_cv_prog_AR"; then
5420      ac_ct_AR=$AR
5421      # Extract the first word of "ar", so it can be a program name with args.
5422    set dummy ar; ac_word=$2
5423    echo "$as_me:$LINENO: checking for $ac_word" >&5
5424    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425    if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5426      echo $ECHO_N "(cached) $ECHO_C" >&6
5427    else
5428      if test -n "$ac_ct_AR"; then
5429      ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5430    else
5431    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432    for as_dir in $PATH
5433    do
5434      IFS=$as_save_IFS
5435      test -z "$as_dir" && as_dir=.
5436      for ac_exec_ext in '' $ac_executable_extensions; do
5437      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5438        ac_cv_prog_ac_ct_AR="ar"
5439        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5440        break 2
5441      fi
5442    done
5443    done
5444    
5445      test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5446    fi
5447    fi
5448    ac_ct_AR=$ac_cv_prog_ac_ct_AR
5449    if test -n "$ac_ct_AR"; then
5450      echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5451    echo "${ECHO_T}$ac_ct_AR" >&6
5452    else
5453      echo "$as_me:$LINENO: result: no" >&5
5454    echo "${ECHO_T}no" >&6
5455    fi
5456    
5457      AR=$ac_ct_AR
5458    else
5459      AR="$ac_cv_prog_AR"
5460    fi
5461    
5462    if test -n "$ac_tool_prefix"; then
5463      # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5464    set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5465    echo "$as_me:$LINENO: checking for $ac_word" >&5
5466    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5467    if test "${ac_cv_prog_RANLIB+set}" = set; then
5468      echo $ECHO_N "(cached) $ECHO_C" >&6
5469    else
5470      if test -n "$RANLIB"; then
5471      ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5472    else
5473    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474    for as_dir in $PATH
5475    do
5476      IFS=$as_save_IFS
5477      test -z "$as_dir" && as_dir=.
5478      for ac_exec_ext in '' $ac_executable_extensions; do
5479      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5480        ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5481        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5482        break 2
5483      fi
5484    done
5485    done
5486    
5487    fi
5488    fi
5489    RANLIB=$ac_cv_prog_RANLIB
5490    if test -n "$RANLIB"; then
5491      echo "$as_me:$LINENO: result: $RANLIB" >&5
5492    echo "${ECHO_T}$RANLIB" >&6
5493    else
5494      echo "$as_me:$LINENO: result: no" >&5
5495    echo "${ECHO_T}no" >&6
5496    fi
5497    
5498    fi
5499    if test -z "$ac_cv_prog_RANLIB"; then
5500      ac_ct_RANLIB=$RANLIB
5501      # Extract the first word of "ranlib", so it can be a program name with args.
5502    set dummy ranlib; ac_word=$2
5503    echo "$as_me:$LINENO: checking for $ac_word" >&5
5504    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5505    if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5506      echo $ECHO_N "(cached) $ECHO_C" >&6
5507