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

Diff of /code/trunk/configure

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

revision 67 by nigel, Sat Feb 24 21:40:13 2007 UTC revision 85 by nigel, Sat Feb 24 21:41:13 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 CXX CXXFLAGS ac_ct_CXX 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 CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_have_bits_type_traits pcre_have_type_traits MAYBE_CPP_TARGETS HAVE_CPP pcre_have_long_long pcre_have_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_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 PCRE_CPPLIB_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 923  ac_env_CPPFLAGS_set=${CPPFLAGS+set} Line 920  ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920  ac_env_CPPFLAGS_value=$CPPFLAGS  ac_env_CPPFLAGS_value=$CPPFLAGS
921  ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}  ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922  ac_cv_env_CPPFLAGS_value=$CPPFLAGS  ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923    ac_env_CXX_set=${CXX+set}
924    ac_env_CXX_value=$CXX
925    ac_cv_env_CXX_set=${CXX+set}
926    ac_cv_env_CXX_value=$CXX
927    ac_env_CXXFLAGS_set=${CXXFLAGS+set}
928    ac_env_CXXFLAGS_value=$CXXFLAGS
929    ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
930    ac_cv_env_CXXFLAGS_value=$CXXFLAGS
931  ac_env_CPP_set=${CPP+set}  ac_env_CPP_set=${CPP+set}
932  ac_env_CPP_value=$CPP  ac_env_CPP_value=$CPP
933  ac_cv_env_CPP_set=${CPP+set}  ac_cv_env_CPP_set=${CPP+set}
934  ac_cv_env_CPP_value=$CPP  ac_cv_env_CPP_value=$CPP
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.
950  #  #
951  if test "$ac_init_help" = "long"; then  if test "$ac_init_help" = "long"; then
952    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
     # The list generated by autoconf has been trimmed to remove many  
     # options that are totally irrelevant to PCRE (e.g. relating to X),  
     # or are not supported by its Makefile.  
953    # 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.
954    cat <<_ACEOF    cat <<_ACEOF
955  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
# Line 972  _ACEOF Line 977  _ACEOF
977    cat <<_ACEOF    cat <<_ACEOF
978  Installation directories:  Installation directories:
979    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
980                            [$ac_default_prefix]                            [$ac_default_prefix]
981    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
982                            [PREFIX]                            [PREFIX]
983    
984  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
985  \`$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 985  For better control, use the options belo Line 990  For better control, use the options belo
990    
991  Fine tuning of the installation directories:  Fine tuning of the installation directories:
992    --bindir=DIR           user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
993      --sbindir=DIR          system admin executables [EPREFIX/sbin]
994      --libexecdir=DIR       program executables [EPREFIX/libexec]
995      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999    --libdir=DIR           object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1000    --includedir=DIR       C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1001      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002      --infodir=DIR          info documentation [PREFIX/info]
1003    --mandir=DIR           man documentation [PREFIX/man]    --mandir=DIR           man documentation [PREFIX/man]
1004  _ACEOF  _ACEOF
1005    
1006    cat <<\_ACEOF    cat <<\_ACEOF
1007    
1008    System types:
1009      --build=BUILD     configure for building on BUILD [guessed]
1010      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1011  _ACEOF  _ACEOF
1012  fi  fi
1013    
# Line 1002  if test -n "$ac_init_help"; then Line 1018  if test -n "$ac_init_help"; then
1018  Optional Features:  Optional Features:
1019    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1020    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1021    --enable-shared       build shared libraries default=yes    --disable-cpp           disable C++ support
1022    --enable-static       build static libraries default=yes    --enable-shared[=PKGS]
1023    --enable-fast-install       optimize for fast installation default=yes                            build shared libraries [default=yes]
1024      --enable-static[=PKGS]
1025                              build static libraries [default=yes]
1026      --enable-fast-install[=PKGS]
1027                              optimize for fast installation [default=yes]
1028    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1029    --enable-utf8           enable UTF8 support    --enable-utf8           enable UTF8 support
1030      --enable-unicode-properties  enable Unicode properties support
1031    --enable-newline-is-cr  use CR as the newline character    --enable-newline-is-cr  use CR as the newline character
1032    --enable-newline-is-lf  use LF as the newline character    --enable-newline-is-lf  use LF as the newline character
1033      --enable-ebcdic         assume EBCDIC coding rather than ASCII
1034      --disable-stack-for-recursion  disable use of stack recursion when matching
1035    
1036  Optional Packages:  Optional Packages:
1037    --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1038    --with-pic              try to use only PIC/non-PIC objects default=use both    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1039      --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1040      --with-pic              try to use only PIC/non-PIC objects [default=use
1041                              both]
1042      --with-tags[=TAGS]
1043                              include additional configurations [automatic]
1044    --with-posix-malloc-threshold=5  threshold for POSIX malloc usage    --with-posix-malloc-threshold=5  threshold for POSIX malloc usage
1045    --with-link-size=2    internal link size (2, 3, or 4 allowed)    --with-link-size=2    internal link size (2, 3, or 4 allowed)
1046    --with-match-limit=10000000      default limit on internal looping)    --with-match-limit=10000000      default limit on internal looping)
# Line 1024  Some influential environment variables: Line 1052  Some influential environment variables:
1052                nonstandard directory <lib dir>                nonstandard directory <lib dir>
1053    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
1054                headers in a nonstandard directory <include dir>                headers in a nonstandard directory <include dir>
1055      CXX         C++ compiler command
1056      CXXFLAGS    C++ compiler flags
1057    CPP         C preprocessor    CPP         C preprocessor
1058      CXXCPP      C++ preprocessor
1059      F77         Fortran 77 compiler command
1060      FFLAGS      Fortran 77 compiler flags
1061    
1062  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
1063  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1062  case $srcdir in Line 1095  case $srcdir in
1095      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1096      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
1097  esac  esac
1098  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
1099  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
1100  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
1101  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
1102  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
1103  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
1104      case "$ac_dir" in
1105      .) ac_abs_builddir=`pwd`;;
1106      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1107      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1108      esac;;
1109    esac
1110    case $ac_abs_builddir in
1111    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1112    *)
1113      case ${ac_top_builddir}. in
1114      .) ac_abs_top_builddir=$ac_abs_builddir;;
1115      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1116      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1117      esac;;
1118    esac
1119    case $ac_abs_builddir in
1120    .) ac_abs_srcdir=$ac_srcdir;;
1121    *)
1122      case $ac_srcdir in
1123      .) ac_abs_srcdir=$ac_abs_builddir;;
1124      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1125      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1126      esac;;
1127    esac
1128    case $ac_abs_builddir in
1129    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1130    *)
1131      case $ac_top_srcdir in
1132      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1133      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1134      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1135      esac;;
1136    esac
1137    
1138      cd $ac_dir      cd $ac_dir
1139      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 1078  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 1144  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
1144        echo        echo
1145        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1146      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1147             test -f $ac_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1148        echo        echo
1149        $ac_configure --help        $ac_configure --help
1150      else      else
# Line 1092  test -n "$ac_init_help" && exit 0 Line 1158  test -n "$ac_init_help" && exit 0
1158  if $ac_init_version; then  if $ac_init_version; then
1159    cat <<\_ACEOF    cat <<\_ACEOF
1160    
1161  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1162  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1163  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1164  _ACEOF  _ACEOF
# Line 1105  This file contains any messages produced Line 1170  This file contains any messages produced
1170  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1171    
1172  It was created by $as_me, which was  It was created by $as_me, which was
1173  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1174    
1175    $ $0 $@    $ $0 $@
1176    
# Line 1182  do Line 1247  do
1247      2)      2)
1248        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1249        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1250          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1251        else        else
1252          case $ac_arg in          case $ac_arg in
1253            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1254            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1255            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1256            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1257              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1258                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1259              esac              esac
1260              ;;              ;;
1261            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1262          esac          esac
1263        fi        fi
1264        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1265        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1228  _ASBOX Line 1293  _ASBOX
1293      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1294      *ac_space=\ *)      *ac_space=\ *)
1295        sed -n \        sed -n \
1296          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1297            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1298        ;;        ;;
1299      *)      *)
1300        sed -n \        sed -n \
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      esac;      esac;
1304  }  }
# Line 1262  _ASBOX Line 1327  _ASBOX
1327        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1328        do        do
1329          eval ac_val=$`echo $ac_var`          eval ac_val=$`echo $ac_var`
1330          echo "$ac_var='"'"'$ac_val'"'"'"          echo "$ac_var='"'"'$ac_val'"'"'"
1331        done | sort        done | sort
1332        echo        echo
1333      fi      fi
# Line 1281  _ASBOX Line 1346  _ASBOX
1346        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1347      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1348    } >&5    } >&5
1349    rm -f core core.* *.core &&    rm -f core *.core &&
1350    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1351      exit $exit_status      exit $exit_status
1352       ' 0       ' 0
# Line 1361  fi Line 1426  fi
1426  # value.  # value.
1427  ac_cache_corrupted=false  ac_cache_corrupted=false
1428  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1429                 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
1430    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1431    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1432    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1378  echo "$as_me: error: \`$ac_var' was not Line 1443  echo "$as_me: error: \`$ac_var' was not
1443      ,);;      ,);;
1444      *)      *)
1445        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1446          { 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
1447  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;}
1448          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1449  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1450          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1451  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1452          ac_cache_corrupted=:          ac_cache_corrupted=:
1453        fi;;        fi;;
1454    esac    esac
1455    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1436  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1501  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1501    
1502    
1503    
1504            ac_config_headers="$ac_config_headers config.h:config.in"            ac_config_headers="$ac_config_headers config.h"
1505    
1506    
1507    
1508  PCRE_MAJOR=4  PCRE_MAJOR=6
1509  PCRE_MINOR=2  PCRE_MINOR=4
1510  PCRE_DATE=14-Apr-2003  PCRE_DATE=05-Sep-2005
1511  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
1512    
1513    
# Line 1451  POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_TH Line 1516  POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_TH
1516    
1517  PCRE_LIB_VERSION=0:1:0  PCRE_LIB_VERSION=0:1:0
1518  PCRE_POSIXLIB_VERSION=0:0:0  PCRE_POSIXLIB_VERSION=0:0:0
1519    PCRE_CPPLIB_VERSION=0:0:0
1520    
1521    
1522    # Check whether --enable-cpp or --disable-cpp was given.
1523    if test "${enable_cpp+set}" = set; then
1524      enableval="$enable_cpp"
1525      want_cpp="$enableval"
1526    else
1527      want_cpp=yes
1528    fi;
1529    
1530    
1531  ac_ext=c  ac_ext=c
# Line 1789  ac_compiler=`set X $ac_compile; echo $2` Line 1864  ac_compiler=`set X $ac_compile; echo $2`
1864    (exit $ac_status); }    (exit $ac_status); }
1865    
1866  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
1867  /* confdefs.h.  */  /* confdefs.h.  */
1868  _ACEOF  _ACEOF
1869  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1809  ac_clean_files="$ac_clean_files a.out a. Line 1883  ac_clean_files="$ac_clean_files a.out a.
1883  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1884  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1885  # of exeext.  # of exeext.
1886  echo "$as_me:$LINENO: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1887  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
1888  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1889  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1890    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 1830  do Line 1904  do
1904    test -f "$ac_file" || continue    test -f "$ac_file" || continue
1905    case $ac_file in    case $ac_file in
1906      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1907          ;;          ;;
1908      conftest.$ac_ext )      conftest.$ac_ext )
1909          # This is the source file.          # This is the source file.
1910          ;;          ;;
1911      [ab].out )      [ab].out )
1912          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
1913          # certainly right.          # certainly right.
1914          break;;          break;;
1915      *.* )      *.* )
1916          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1917          # FIXME: I believe we export ac_cv_exeext for Libtool,          # FIXME: I believe we export ac_cv_exeext for Libtool,
1918          # 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
1919          # maintain Libtool? --akim.          # maintain Libtool? --akim.
1920          export ac_cv_exeext          export ac_cv_exeext
1921          break;;          break;;
1922      * )      * )
1923          break;;          break;;
1924    esac    esac
1925  done  done
1926  else  else
# Line 1920  for ac_file in conftest.exe conftest con Line 1994  for ac_file in conftest.exe conftest con
1994    case $ac_file in    case $ac_file in
1995      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1996      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1997            export ac_cv_exeext            export ac_cv_exeext
1998            break;;            break;;
1999      * ) break;;      * ) break;;
2000    esac    esac
2001  done  done
# Line 1946  if test "${ac_cv_objext+set}" = set; the Line 2020  if test "${ac_cv_objext+set}" = set; the
2020    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2021  else  else
2022    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2023  /* confdefs.h.  */  /* confdefs.h.  */
2024  _ACEOF  _ACEOF
2025  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1997  if test "${ac_cv_c_compiler_gnu+set}" = Line 2070  if test "${ac_cv_c_compiler_gnu+set}" =
2070    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2071  else  else
2072    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2073  /* confdefs.h.  */  /* confdefs.h.  */
2074  _ACEOF  _ACEOF
2075  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2017  main () Line 2089  main ()
2089  _ACEOF  _ACEOF
2090  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2091  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2092    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2093    ac_status=$?    ac_status=$?
2094      grep -v '^ *+' conftest.er1 >conftest.err
2095      rm -f conftest.er1
2096      cat conftest.err >&5
2097    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098    (exit $ac_status); } &&    (exit $ac_status); } &&
2099           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2100                             || test ! -s conftest.err'
2101      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102      (eval $ac_try) 2>&5
2103      ac_status=$?
2104      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105      (exit $ac_status); }; } &&
2106             { ac_try='test -s conftest.$ac_objext'
2107    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2108    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2109    ac_status=$?    ac_status=$?
# Line 2034  sed 's/^/| /' conftest.$ac_ext >&5 Line 2116  sed 's/^/| /' conftest.$ac_ext >&5
2116    
2117  ac_compiler_gnu=no  ac_compiler_gnu=no
2118  fi  fi
2119  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2120  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2121    
2122  fi  fi
# Line 2050  if test "${ac_cv_prog_cc_g+set}" = set; Line 2132  if test "${ac_cv_prog_cc_g+set}" = set;
2132    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2133  else  else
2134    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2135  /* confdefs.h.  */  /* confdefs.h.  */
2136  _ACEOF  _ACEOF
2137  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2067  main () Line 2148  main ()
2148  _ACEOF  _ACEOF
2149  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2150  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2151    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2152    ac_status=$?    ac_status=$?
2153      grep -v '^ *+' conftest.er1 >conftest.err
2154      rm -f conftest.er1
2155      cat conftest.err >&5
2156    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157    (exit $ac_status); } &&    (exit $ac_status); } &&
2158           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2159                             || test ! -s conftest.err'
2160      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161      (eval $ac_try) 2>&5
2162      ac_status=$?
2163      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164      (exit $ac_status); }; } &&
2165             { ac_try='test -s conftest.$ac_objext'
2166    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2168    ac_status=$?    ac_status=$?
# Line 2084  sed 's/^/| /' conftest.$ac_ext >&5 Line 2175  sed 's/^/| /' conftest.$ac_ext >&5
2175    
2176  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2177  fi  fi
2178  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2179  fi  fi
2180  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2181  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2111  else Line 2202  else
2202    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
2203  ac_save_CC=$CC  ac_save_CC=$CC
2204  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2205  /* confdefs.h.  */  /* confdefs.h.  */
2206  _ACEOF  _ACEOF
2207  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2139  static char *f (char * (*g) (char **, in Line 2229  static char *f (char * (*g) (char **, in
2229    va_end (v);    va_end (v);
2230    return s;    return s;
2231  }  }
2232    
2233    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2234       function prototypes and stuff, but not '\xHH' hex character constants.
2235       These don't provoke an error unfortunately, instead are silently treated
2236       as 'x'.  The following induces an error, until -std1 is added to get
2237       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2238       array size at least.  It's necessary to write '\x00'==0 to get something
2239       that's true only with -std1.  */
2240    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2241    
2242  int test (int i, double x);  int test (int i, double x);
2243  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
2244  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 2165  do Line 2265  do
2265    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2266    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
2267  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2269    ac_status=$?    ac_status=$?
2270      grep -v '^ *+' conftest.er1 >conftest.err
2271      rm -f conftest.er1
2272      cat conftest.err >&5
2273    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274    (exit $ac_status); } &&    (exit $ac_status); } &&
2275           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2276                             || test ! -s conftest.err'
2277      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278      (eval $ac_try) 2>&5
2279      ac_status=$?
2280      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281      (exit $ac_status); }; } &&
2282             { ac_try='test -s conftest.$ac_objext'
2283    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2285    ac_status=$?    ac_status=$?
# Line 2182  else Line 2292  else
2292  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2293    
2294  fi  fi
2295  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
2296  done  done
2297  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
2298  CC=$ac_save_CC  CC=$ac_save_CC
# Line 2210  cat >conftest.$ac_ext <<_ACEOF Line 2320  cat >conftest.$ac_ext <<_ACEOF
2320  _ACEOF  _ACEOF
2321  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2322  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2323    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2324    ac_status=$?    ac_status=$?
2325      grep -v '^ *+' conftest.er1 >conftest.err
2326      rm -f conftest.er1
2327      cat conftest.err >&5
2328    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329    (exit $ac_status); } &&    (exit $ac_status); } &&
2330           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2331                             || test ! -s conftest.err'
2332      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333      (eval $ac_try) 2>&5
2334      ac_status=$?
2335      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336      (exit $ac_status); }; } &&
2337             { ac_try='test -s conftest.$ac_objext'
2338    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2340    ac_status=$?    ac_status=$?
2341    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2343    for ac_declaration in \    for ac_declaration in \
2344     ''\     '' \
    '#include <stdlib.h>' \  
2345     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2346     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2347     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2230  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2349  if { (eval echo "$as_me:$LINENO: \"$ac_c
2349     'void exit (int);'     'void exit (int);'
2350  do  do
2351    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2352  /* confdefs.h.  */  /* confdefs.h.  */
2353  _ACEOF  _ACEOF
2354  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2355  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2356  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2357  $ac_declaration  $ac_declaration
2358    #include <stdlib.h>
2359  int  int
2360  main ()  main ()
2361  {  {
# Line 2248  exit (42); Line 2366  exit (42);
2366  _ACEOF  _ACEOF
2367  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2368  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2369    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2370    ac_status=$?    ac_status=$?
2371      grep -v '^ *+' conftest.er1 >conftest.err
2372      rm -f conftest.er1
2373      cat conftest.err >&5
2374    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375    (exit $ac_status); } &&    (exit $ac_status); } &&
2376           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2377                             || test ! -s conftest.err'
2378      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379      (eval $ac_try) 2>&5
2380      ac_status=$?
2381      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382      (exit $ac_status); }; } &&
2383             { ac_try='test -s conftest.$ac_objext'
2384    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2386    ac_status=$?    ac_status=$?
# Line 2265  sed 's/^/| /' conftest.$ac_ext >&5 Line 2393  sed 's/^/| /' conftest.$ac_ext >&5
2393    
2394  continue  continue
2395  fi  fi
2396  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2397    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2398  /* confdefs.h.  */  /* confdefs.h.  */
2399  _ACEOF  _ACEOF
2400  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2284  exit (42); Line 2411  exit (42);
2411  _ACEOF  _ACEOF
2412  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2413  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2415    ac_status=$?    ac_status=$?
2416      grep -v '^ *+' conftest.er1 >conftest.err
2417      rm -f conftest.er1
2418      cat conftest.err >&5
2419    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420    (exit $ac_status); } &&    (exit $ac_status); } &&
2421           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2422                             || test ! -s conftest.err'
2423      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424      (eval $ac_try) 2>&5
2425      ac_status=$?
2426      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427      (exit $ac_status); }; } &&
2428             { ac_try='test -s conftest.$ac_objext'
2429    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2431    ac_status=$?    ac_status=$?
# Line 2300  else Line 2437  else
2437  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2438    
2439  fi  fi
2440  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2441  done  done
2442  rm -f conftest*  rm -f conftest*
2443  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2314  else Line 2451  else
2451  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2452    
2453  fi  fi
2454  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2455  ac_ext=c  ac_ext=c
2456  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2457  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458  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'
2459  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460    
2461  ac_aux_dir=  
2462  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  
2463    if test -f $ac_dir/install-sh; then  ac_ext=cc
2464      ac_aux_dir=$ac_dir  ac_cpp='$CXXCPP $CPPFLAGS'
2465      ac_install_sh="$ac_aux_dir/install-sh -c"  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466      break  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467    elif test -f $ac_dir/install.sh; then  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2468      ac_aux_dir=$ac_dir  if test -n "$ac_tool_prefix"; then
2469      ac_install_sh="$ac_aux_dir/install.sh -c"    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2470      break    do
2471    elif test -f $ac_dir/shtool; then      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472      ac_aux_dir=$ac_dir  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2473      ac_install_sh="$ac_aux_dir/shtool install -c"  echo "$as_me:$LINENO: checking for $ac_word" >&5
2474      break  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2475    if test "${ac_cv_prog_CXX+set}" = set; then
2476      echo $ECHO_N "(cached) $ECHO_C" >&6
2477    else
2478      if test -n "$CXX"; then
2479      ac_cv_prog_CXX="$CXX" # Let the user override the test.
2480    else
2481    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482    for as_dir in $PATH
2483    do
2484      IFS=$as_save_IFS
2485      test -z "$as_dir" && as_dir=.
2486      for ac_exec_ext in '' $ac_executable_extensions; do
2487      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2488        ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2489        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490        break 2
2491    fi    fi
2492  done  done
2493  if test -z "$ac_aux_dir"; then  done
2494    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5  
2495  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}  fi
2496     { (exit 1); exit 1; }; }  fi
2497    CXX=$ac_cv_prog_CXX
2498    if test -n "$CXX"; then
2499      echo "$as_me:$LINENO: result: $CXX" >&5
2500    echo "${ECHO_T}$CXX" >&6
2501    else
2502      echo "$as_me:$LINENO: result: no" >&5
2503    echo "${ECHO_T}no" >&6
2504  fi  fi
 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  
 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.  
2505    
2506  # Find a good install program.  We prefer a C program (faster),      test -n "$CXX" && break
2507  # so one script is as good as another.  But avoid the broken or    done
2508  # incompatible versions:  fi
2509  # SysV /etc/install, /usr/sbin/install  if test -z "$CXX"; then
2510  # SunOS /usr/etc/install    ac_ct_CXX=$CXX
2511  # IRIX /sbin/install    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2512  # AIX /bin/install  do
2513  # AmigaOS /C/install, which installs bootblocks on floppy discs    # Extract the first word of "$ac_prog", so it can be a program name with args.
2514  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  set dummy $ac_prog; ac_word=$2
2515  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  echo "$as_me:$LINENO: checking for $ac_word" >&5
2516  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517  # ./install, which can be erroneously created by make from ./install.sh.  if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  
 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  
 if test -z "$INSTALL"; then  
 if test "${ac_cv_path_install+set}" = set; then  
2518    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2519  else  else
2520    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    if test -n "$ac_ct_CXX"; then
2521      ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2522    else
2523    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524  for as_dir in $PATH  for as_dir in $PATH
2525  do  do
2526    IFS=$as_save_IFS    IFS=$as_save_IFS
2527    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
2528    # Account for people who put trailing slashes in PATH elements.    for ac_exec_ext in '' $ac_executable_extensions; do
2529  case $as_dir/ in    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530    ./ | .// | /cC/* | \      ac_cv_prog_ac_ct_CXX="$ac_prog"
2531    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532    /usr/ucb/* ) ;;      break 2
2533    *)    fi
2534      # OSF1 and SCO ODT 3.0 have their own names for install.  done
     # Don't use installbsd from OSF since it installs stuff as root  
     # by default.  
     for ac_prog in ginstall scoinst install; do  
       for ac_exec_ext in '' $ac_executable_extensions; do  
         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then  
           if test $ac_prog = install &&  
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           elif test $ac_prog = install &&  
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
             break 3  
           fi  
         fi  
       done  
     done  
     ;;  
 esac  
2535  done  done
   
2536    
2537  fi  fi
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL=$ac_cv_path_install  
   else  
     # As a last resort, use the slow shell script.  We don't cache a  
     # path for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the path is relative.  
     INSTALL=$ac_install_sh  
   fi  
2538  fi  fi
2539  echo "$as_me:$LINENO: result: $INSTALL" >&5  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2540  echo "${ECHO_T}$INSTALL" >&6  if test -n "$ac_ct_CXX"; then
2541      echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2542    echo "${ECHO_T}$ac_ct_CXX" >&6
2543    else
2544      echo "$as_me:$LINENO: result: no" >&5
2545    echo "${ECHO_T}no" >&6
2546    fi
2547    
2548  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.    test -n "$ac_ct_CXX" && break
2549  # It thinks the first close brace ends the variable substitution.  done
2550  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2551    
2552  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'    CXX=$ac_ct_CXX
2553    fi
2554    
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  
2555    
2556    # Provide some information about the compiler.
2557    echo "$as_me:$LINENO:" \
2558         "checking for C++ compiler version" >&5
2559    ac_compiler=`set X $ac_compile; echo $2`
2560    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2561      (eval $ac_compiler --version </dev/null >&5) 2>&5
2562      ac_status=$?
2563      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564      (exit $ac_status); }
2565    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2566      (eval $ac_compiler -v </dev/null >&5) 2>&5
2567      ac_status=$?
2568      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569      (exit $ac_status); }
2570    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2571      (eval $ac_compiler -V </dev/null >&5) 2>&5
2572      ac_status=$?
2573      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574      (exit $ac_status); }
2575    
2576  # Check whether --enable-shared or --disable-shared was given.  echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2577  if test "${enable_shared+set}" = set; then  echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2578    enableval="$enable_shared"  if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2579    p=${PACKAGE-default}    echo $ECHO_N "(cached) $ECHO_C" >&6
 case $enableval in  
 yes) enable_shared=yes ;;  
 no) enable_shared=no ;;  
 *)  
   enable_shared=no  
   # Look at the argument we got.  We use all the common list separators.  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  
   for pkg in $enableval; do  
     if test "X$pkg" = "X$p"; then  
       enable_shared=yes  
     fi  
   done  
   IFS="$ac_save_ifs"  
   ;;  
 esac  
 else  
   enable_shared=yes  
 fi;  
 # Check whether --enable-static or --disable-static was given.  
 if test "${enable_static+set}" = set; then  
   enableval="$enable_static"  
   p=${PACKAGE-default}  
 case $enableval in  
 yes) enable_static=yes ;;  
 no) enable_static=no ;;  
 *)  
   enable_static=no  
   # Look at the argument we got.  We use all the common list separators.  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  
   for pkg in $enableval; do  
     if test "X$pkg" = "X$p"; then  
       enable_static=yes  
     fi  
   done  
   IFS="$ac_save_ifs"  
   ;;  
 esac  
 else  
   enable_static=yes  
 fi;  
 # Check whether --enable-fast-install or --disable-fast-install was given.  
 if test "${enable_fast_install+set}" = set; then  
   enableval="$enable_fast_install"  
   p=${PACKAGE-default}  
 case $enableval in  
 yes) enable_fast_install=yes ;;  
 no) enable_fast_install=no ;;  
 *)  
   enable_fast_install=no  
   # Look at the argument we got.  We use all the common list separators.  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"  
   for pkg in $enableval; do  
     if test "X$pkg" = "X$p"; then  
       enable_fast_install=yes  
     fi  
   done  
   IFS="$ac_save_ifs"  
   ;;  
 esac  
2580  else  else
2581    enable_fast_install=yes    cat >conftest.$ac_ext <<_ACEOF
2582  fi;  /* confdefs.h.  */
2583  # Make sure we can run config.sub.  _ACEOF
2584  $ac_config_sub sun4 >/dev/null 2>&1 ||  cat confdefs.h >>conftest.$ac_ext
2585    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5  cat >>conftest.$ac_ext <<_ACEOF
2586  echo "$as_me: error: cannot run $ac_config_sub" >&2;}  /* end confdefs.h.  */
    { (exit 1); exit 1; }; }  
   
 echo "$as_me:$LINENO: checking build system type" >&5  
 echo $ECHO_N "checking build system type... $ECHO_C" >&6  
 if test "${ac_cv_build+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_build_alias=$build_alias  
 test -z "$ac_cv_build_alias" &&  
   ac_cv_build_alias=`$ac_config_guess`  
 test -z "$ac_cv_build_alias" &&  
   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5  
 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  
    { (exit 1); exit 1; }; }  
 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_build" >&5  
 echo "${ECHO_T}$ac_cv_build" >&6  
 build=$ac_cv_build  
 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
2587    
2588    int
2589    main ()
2590    {
2591    #ifndef __GNUC__
2592           choke me
2593    #endif
2594    
2595  echo "$as_me:$LINENO: checking host system type" >&5    ;
2596  echo $ECHO_N "checking host system type... $ECHO_C" >&6    return 0;
2597  if test "${ac_cv_host+set}" = set; then  }
2598    echo $ECHO_N "(cached) $ECHO_C" >&6  _ACEOF
2599    rm -f conftest.$ac_objext
2600    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601      (eval $ac_compile) 2>conftest.er1
2602      ac_status=$?
2603      grep -v '^ *+' conftest.er1 >conftest.err
2604      rm -f conftest.er1
2605      cat conftest.err >&5
2606      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607      (exit $ac_status); } &&
2608             { ac_try='test -z "$ac_cxx_werror_flag"
2609                             || test ! -s conftest.err'
2610      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611      (eval $ac_try) 2>&5
2612      ac_status=$?
2613      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614      (exit $ac_status); }; } &&
2615             { ac_try='test -s conftest.$ac_objext'
2616      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617      (eval $ac_try) 2>&5
2618      ac_status=$?
2619      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620      (exit $ac_status); }; }; then
2621      ac_compiler_gnu=yes
2622  else  else
2623    ac_cv_host_alias=$host_alias    echo "$as_me: failed program was:" >&5
2624  test -z "$ac_cv_host_alias" &&  sed 's/^/| /' conftest.$ac_ext >&5
   ac_cv_host_alias=$ac_cv_build_alias  
 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_host" >&5  
 echo "${ECHO_T}$ac_cv_host" >&6  
 host=$ac_cv_host  
 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
2625    
2626  # Check whether --with-gnu-ld or --without-gnu-ld was given.  ac_compiler_gnu=no
 if test "${with_gnu_ld+set}" = set; then  
   withval="$with_gnu_ld"  
   test "$withval" = no || with_gnu_ld=yes  
 else  
   with_gnu_ld=no  
 fi;  
 ac_prog=ld  
 if test "$GCC" = yes; then  
   # Check if gcc -print-prog-name=ld gives a path.  
   echo "$as_me:$LINENO: checking for ld used by GCC" >&5  
 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6  
   case $host in  
   *-*-mingw*)  
     # gcc leaves a trailing carriage return which upsets mingw  
     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;  
   *)  
     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;  
   esac  
   case $ac_prog in  
     # Accept absolute paths.  
     [\\/]* | [A-Za-z]:[\\/]*)  
       re_direlt='/[^/][^/]*/\.\./'  
       # Canonicalize the path of ld  
       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`  
       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do  
         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`  
       done  
       test -z "$LD" && LD="$ac_prog"  
       ;;  
   "")  
     # If it fails, then pretend we aren't using GCC.  
     ac_prog=ld  
     ;;  
   *)  
     # If it is relative, then search for the first ld in PATH.  
     with_gnu_ld=unknown  
     ;;  
   esac  
 elif test "$with_gnu_ld" = yes; then  
   echo "$as_me:$LINENO: checking for GNU ld" >&5  
 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6  
 else  
   echo "$as_me:$LINENO: checking for non-GNU ld" >&5  
 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6  
 fi  
 if test "${lt_cv_path_LD+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -z "$LD"; then  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"  
   for ac_dir in $PATH; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then  
       lt_cv_path_LD="$ac_dir/$ac_prog"  
       # Check to see if the program is GNU ld.  I'd rather use --version,  
       # but apparently some GNU ld's only accept -v.  
       # Break only if it was the GNU/non-GNU ld that we prefer.  
       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then  
         test "$with_gnu_ld" != no && break  
       else  
         test "$with_gnu_ld" != yes && break  
       fi  
     fi  
   done  
   IFS="$ac_save_ifs"  
 else  
   lt_cv_path_LD="$LD" # Let the user override the test with a path.  
 fi  
2627  fi  fi
2628    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2629    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2630    
 LD="$lt_cv_path_LD"  
 if test -n "$LD"; then  
   echo "$as_me:$LINENO: result: $LD" >&5  
 echo "${ECHO_T}$LD" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
2631  fi  fi
2632  test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5  echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2633  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}  echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2634     { (exit 1); exit 1; }; }  GXX=`test $ac_compiler_gnu = yes && echo yes`
2635  echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5  ac_test_CXXFLAGS=${CXXFLAGS+set}
2636  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6  ac_save_CXXFLAGS=$CXXFLAGS
2637  if test "${lt_cv_prog_gnu_ld+set}" = set; then  CXXFLAGS="-g"
2638    echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2639    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2640    if test "${ac_cv_prog_cxx_g+set}" = set; then
2641    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2642  else  else
2643    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    cat >conftest.$ac_ext <<_ACEOF
2644  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  /* confdefs.h.  */
2645    lt_cv_prog_gnu_ld=yes  _ACEOF
2646  else  cat confdefs.h >>conftest.$ac_ext
2647    lt_cv_prog_gnu_ld=no  cat >>conftest.$ac_ext <<_ACEOF
2648  fi  /* end confdefs.h.  */
 fi  
 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5  
 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6  
 with_gnu_ld=$lt_cv_prog_gnu_ld  
2649    
2650    int
2651    main ()
2652    {
2653    
2654  echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5    ;
2655  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6    return 0;
2656  if test "${lt_cv_ld_reload_flag+set}" = set; then  }
2657    echo $ECHO_N "(cached) $ECHO_C" >&6  _ACEOF
2658    rm -f conftest.$ac_objext
2659    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2660      (eval $ac_compile) 2>conftest.er1
2661      ac_status=$?
2662      grep -v '^ *+' conftest.er1 >conftest.err
2663      rm -f conftest.er1
2664      cat conftest.err >&5
2665      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666      (exit $ac_status); } &&
2667             { ac_try='test -z "$ac_cxx_werror_flag"
2668                             || test ! -s conftest.err'
2669      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670      (eval $ac_try) 2>&5
2671      ac_status=$?
2672      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673      (exit $ac_status); }; } &&
2674             { ac_try='test -s conftest.$ac_objext'
2675      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676      (eval $ac_try) 2>&5
2677      ac_status=$?
2678      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679      (exit $ac_status); }; }; then
2680      ac_cv_prog_cxx_g=yes
2681  else  else
2682    lt_cv_ld_reload_flag='-r'    echo "$as_me: failed program was:" >&5
2683  fi  sed 's/^/| /' conftest.$ac_ext >&5
 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5  
 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6  
 reload_flag=$lt_cv_ld_reload_flag  
 test -n "$reload_flag" && reload_flag=" $reload_flag"  
2684    
2685  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  ac_cv_prog_cxx_g=no
 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  
 if test "${lt_cv_path_NM+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$NM"; then  
   # Let the user override the test.  
   lt_cv_path_NM="$NM"  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"  
   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do  
     test -z "$ac_dir" && ac_dir=.  
     tmp_nm=$ac_dir/${ac_tool_prefix}nm  
     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then  
       # Check to see if the nm accepts a BSD-compat flag.  
       # Adding the `sed 1q' prevents false positives on HP-UX, which says:  
       #   nm: unknown option "B" ignored  
       # Tru64's nm complains that /dev/null is an invalid object file  
       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then  
         lt_cv_path_NM="$tmp_nm -B"  
         break  
       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then  
         lt_cv_path_NM="$tmp_nm -p"  
         break  
       else  
         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but  
         continue # so that we can try to find one that supports BSD flags  
       fi  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm  
2686  fi  fi
2687    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2688  fi  fi
2689    echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2690  NM="$lt_cv_path_NM"  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2691  echo "$as_me:$LINENO: result: $NM" >&5  if test "$ac_test_CXXFLAGS" = set; then
2692  echo "${ECHO_T}$NM" >&6    CXXFLAGS=$ac_save_CXXFLAGS
2693    elif test $ac_cv_prog_cxx_g = yes; then
2694  echo "$as_me:$LINENO: checking whether ln -s works" >&5    if test "$GXX" = yes; then
2695  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6      CXXFLAGS="-g -O2"
2696  LN_S=$as_ln_s    else
2697  if test "$LN_S" = "ln -s"; then      CXXFLAGS="-g"
2698    echo "$as_me:$LINENO: result: yes" >&5    fi
 echo "${ECHO_T}yes" >&6  
2699  else  else
2700    echo "$as_me:$LINENO: result: no, using $LN_S" >&5    if test "$GXX" = yes; then
2701  echo "${ECHO_T}no, using $LN_S" >&6      CXXFLAGS="-O2"
2702      else
2703        CXXFLAGS=
2704      fi
2705  fi  fi
2706    for ac_declaration in \
2707       '' \
2708       'extern "C" void std::exit (int) throw (); using std::exit;' \
2709       'extern "C" void std::exit (int); using std::exit;' \
2710       'extern "C" void exit (int) throw ();' \
2711       'extern "C" void exit (int);' \
2712       'void exit (int);'
2713    do
2714      cat >conftest.$ac_ext <<_ACEOF
2715    /* confdefs.h.  */
2716    _ACEOF
2717    cat confdefs.h >>conftest.$ac_ext
2718    cat >>conftest.$ac_ext <<_ACEOF
2719    /* end confdefs.h.  */
2720    $ac_declaration
2721    #include <stdlib.h>
2722    int
2723    main ()
2724    {
2725    exit (42);
2726      ;
2727      return 0;
2728    }
2729    _ACEOF
2730    rm -f conftest.$ac_objext
2731    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732      (eval $ac_compile) 2>conftest.er1
2733      ac_status=$?
2734      grep -v '^ *+' conftest.er1 >conftest.err
2735      rm -f conftest.er1
2736      cat conftest.err >&5
2737      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738      (exit $ac_status); } &&
2739             { ac_try='test -z "$ac_cxx_werror_flag"
2740                             || test ! -s conftest.err'
2741      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742      (eval $ac_try) 2>&5
2743      ac_status=$?
2744      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745      (exit $ac_status); }; } &&
2746             { ac_try='test -s conftest.$ac_objext'
2747      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748      (eval $ac_try) 2>&5
2749      ac_status=$?
2750      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751      (exit $ac_status); }; }; then
2752      :
2753    else
2754      echo "$as_me: failed program was:" >&5
2755    sed 's/^/| /' conftest.$ac_ext >&5
2756    
2757  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5  continue
2758  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6  fi
2759  if test "${lt_cv_deplibs_check_method+set}" = set; then  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2760    echo $ECHO_N "(cached) $ECHO_C" >&6    cat >conftest.$ac_ext <<_ACEOF
2761  else  /* confdefs.h.  */
2762    lt_cv_file_magic_cmd='$MAGIC_CMD'  _ACEOF
2763  lt_cv_file_magic_test_file=  cat confdefs.h >>conftest.$ac_ext
2764  lt_cv_deplibs_check_method='unknown'  cat >>conftest.$ac_ext <<_ACEOF
2765  # Need to set the preceding variable on all platforms that support  /* end confdefs.h.  */
2766  # interlibrary dependencies.  $ac_declaration
2767  # 'none' -- dependencies not supported.  int
2768  # `unknown' -- same as none, but documents that we really don't know.  main ()
2769  # 'pass_all' -- all dependencies passed with no checks.  {
2770  # 'test_compile' -- check by making test program.  exit (42);
2771  # ['file_magic [regex]'] -- check by looking for files in library path    ;
2772  # which responds to the $file_magic_cmd with a given egrep regex.    return 0;
2773  # If you have `file' or equivalent on your system and you're not sure  }
2774  # whether `pass_all' will *always* work, you probably want this one.  _ACEOF
2775    rm -f conftest.$ac_objext
2776  case $host_os in  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2777  aix4* | aix5*)    (eval $ac_compile) 2>conftest.er1
2778    lt_cv_deplibs_check_method=pass_all    ac_status=$?
2779    ;;    grep -v '^ *+' conftest.er1 >conftest.err
2780      rm -f conftest.er1
2781      cat conftest.err >&5
2782      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783      (exit $ac_status); } &&
2784             { ac_try='test -z "$ac_cxx_werror_flag"
2785                             || test ! -s conftest.err'
2786      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787      (eval $ac_try) 2>&5
2788      ac_status=$?
2789      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790      (exit $ac_status); }; } &&
2791             { ac_try='test -s conftest.$ac_objext'
2792      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2793      (eval $ac_try) 2>&5
2794      ac_status=$?
2795      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796      (exit $ac_status); }; }; then
2797      break
2798    else
2799      echo "$as_me: failed program was:" >&5
2800    sed 's/^/| /' conftest.$ac_ext >&5
2801    
2802  beos*)  fi
2803    lt_cv_deplibs_check_method=pass_all  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2804    ;;  done
2805    rm -f conftest*
2806    if test -n "$ac_declaration"; then
2807      echo '#ifdef __cplusplus' >>confdefs.h
2808      echo $ac_declaration      >>confdefs.h
2809      echo '#endif'             >>confdefs.h
2810    fi
2811    
2812  bsdi4*)  ac_ext=c
2813    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'  ac_cpp='$CPP $CPPFLAGS'
2814    lt_cv_file_magic_cmd='/usr/bin/file -L'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2815    lt_cv_file_magic_test_file=/shlib/libc.so  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2816    ;;  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817    
 cygwin* | mingw* | pw32*)  
   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'  
   lt_cv_file_magic_cmd='$OBJDUMP -f'  
   ;;  
2818    
 darwin* | rhapsody*)  
   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'  
   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  
   ;;  
2819    
2820  freebsd*)  ac_aux_dir=
2821    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2822      case $host_cpu in    if test -f $ac_dir/install-sh; then
2823      i*86 )      ac_aux_dir=$ac_dir
2824        # Not sure whether the presence of OpenBSD here was a mistake.      ac_install_sh="$ac_aux_dir/install-sh -c"
2825        # Let's accept both of them until this is cleared up.      break
2826        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'    elif test -f $ac_dir/install.sh; then
2827        lt_cv_file_magic_cmd=/usr/bin/file      ac_aux_dir=$ac_dir
2828        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`      ac_install_sh="$ac_aux_dir/install.sh -c"
2829        ;;      break
2830      esac    elif test -f $ac_dir/shtool; then
2831    else      ac_aux_dir=$ac_dir
2832      lt_cv_deplibs_check_method=pass_all      ac_install_sh="$ac_aux_dir/shtool install -c"
2833        break
2834    fi    fi
2835    ;;  done
2836    if test -z "$ac_aux_dir"; then
2837  gnu*)    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2838    lt_cv_deplibs_check_method=pass_all  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2839    ;;     { (exit 1); exit 1; }; }
2840    fi
2841  hpux10.20*|hpux11*)  ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2842    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'  ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2843    lt_cv_file_magic_cmd=/usr/bin/file  ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   lt_cv_file_magic_test_file=/usr/lib/libc.sl  
   ;;  
2844    
2845  irix5* | irix6*)  # Find a good install program.  We prefer a C program (faster),
2846    case $host_os in  # so one script is as good as another.  But avoid the broken or
2847    irix5*)  # incompatible versions:
2848      # this will be overridden with pass_all, but let us keep it just in case  # SysV /etc/install, /usr/sbin/install
2849      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"  # SunOS /usr/etc/install
2850      ;;  # IRIX /sbin/install
2851    # AIX /bin/install
2852    # AmigaOS /C/install, which installs bootblocks on floppy discs
2853    # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2854    # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2855    # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2856    # OS/2's system install, which has a completely different semantic
2857    # ./install, which can be erroneously created by make from ./install.sh.
2858    echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2859    echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2860    if test -z "$INSTALL"; then
2861    if test "${ac_cv_path_install+set}" = set; then
2862      echo $ECHO_N "(cached) $ECHO_C" >&6
2863    else
2864      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865    for as_dir in $PATH
2866    do
2867      IFS=$as_save_IFS
2868      test -z "$as_dir" && as_dir=.
2869      # Account for people who put trailing slashes in PATH elements.
2870    case $as_dir/ in
2871      ./ | .// | /cC/* | \
2872      /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2873      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2874      /usr/ucb/* ) ;;
2875    *)    *)
2876      case $LD in      # OSF1 and SCO ODT 3.0 have their own names for install.
2877      *-32|*"-32 ") libmagic=32-bit;;      # Don't use installbsd from OSF since it installs stuff as root
2878      *-n32|*"-n32 ") libmagic=N32;;      # by default.
2879      *-64|*"-64 ") libmagic=64-bit;;      for ac_prog in ginstall scoinst install; do
2880      *) libmagic=never-match;;        for ac_exec_ext in '' $ac_executable_extensions; do
2881      esac          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2882      # this will be overridden with pass_all, but let us keep it just in case            if test $ac_prog = install &&
2883      lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2884                # AIX install.  It has an incompatible calling convention.
2885                :
2886              elif test $ac_prog = install &&
2887                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2888                # program-specific install script used by HP pwplus--don't use.
2889                :
2890              else
2891                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2892                break 3
2893              fi
2894            fi
2895          done
2896        done
2897      ;;      ;;
2898    esac  esac
2899    lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`  done
   lt_cv_deplibs_check_method=pass_all  
   ;;  
2900    
 # This must be Linux ELF.  
 linux-gnu*)  
   case $host_cpu in  
   alpha* | i*86 | powerpc* | sparc* | ia64* )  
     lt_cv_deplibs_check_method=pass_all ;;  
   *)  
     # glibc up to 2.1.1 does not perform some relocations on ARM  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;  
   esac  
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  
   ;;  
2901    
2902  netbsd*)  fi
2903    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if test "${ac_cv_path_install+set}" = set; then
2904      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'      INSTALL=$ac_cv_path_install
2905    else    else
2906      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'      # As a last resort, use the slow shell script.  We don't cache a
2907        # path for INSTALL within a source directory, because that will
2908        # break other packages using the cache if that directory is
2909        # removed, or if the path is relative.
2910        INSTALL=$ac_install_sh
2911    fi    fi
2912    ;;  fi
2913    echo "$as_me:$LINENO: result: $INSTALL" >&5
2914    echo "${ECHO_T}$INSTALL" >&6
2915    
2916  newos6*)  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2917    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'  # It thinks the first close brace ends the variable substitution.
2918    lt_cv_file_magic_cmd=/usr/bin/file  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   lt_cv_file_magic_test_file=/usr/lib/libnls.so  
   ;;  
2919    
2920  osf3* | osf4* | osf5*)  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   # 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  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
2921    
2922  sco3.2v5*)  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   lt_cv_deplibs_check_method=pass_all  
   ;;  
2923    
 solaris*)  
   lt_cv_deplibs_check_method=pass_all  
   lt_cv_file_magic_test_file=/lib/libc.so  
   ;;  
2924    
 sysv5uw[78]* | sysv4*uw2*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
2925    
2926  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  # Check whether --enable-shared or --disable-shared was given.
2927    case $host_vendor in  if test "${enable_shared+set}" = set; then
2928    motorola)    enableval="$enable_shared"
2929      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'    p=${PACKAGE-default}
2930      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`      case $enableval in
2931      ;;      yes) enable_shared=yes ;;
2932    ncr)      no) enable_shared=no ;;
2933      lt_cv_deplibs_check_method=pass_all      *)
2934      ;;        enable_shared=no
2935    sequent)        # Look at the argument we got.  We use all the common list separators.
2936      lt_cv_file_magic_cmd='/bin/file'        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2937      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'        for pkg in $enableval; do
2938      ;;          IFS="$lt_save_ifs"
2939    sni)          if test "X$pkg" = "X$p"; then
2940      lt_cv_file_magic_cmd='/bin/file'            enable_shared=yes
2941      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"          fi
2942      lt_cv_file_magic_test_file=/lib/libc.so        done
2943      ;;        IFS="$lt_save_ifs"
2944    esac        ;;
2945    ;;      esac
2946  esac  else
2947      enable_shared=yes
2948    fi;
2949    
2950  fi  # Check whether --enable-static or --disable-static was given.
2951  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5  if test "${enable_static+set}" = set; then
2952  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6    enableval="$enable_static"
2953  file_magic_cmd=$lt_cv_file_magic_cmd    p=${PACKAGE-default}
2954  deplibs_check_method=$lt_cv_deplibs_check_method      case $enableval in
2955        yes) enable_static=yes ;;
2956        no) enable_static=no ;;
2957        *)
2958         enable_static=no
2959          # Look at the argument we got.  We use all the common list separators.
2960          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2961          for pkg in $enableval; do
2962            IFS="$lt_save_ifs"
2963            if test "X$pkg" = "X$p"; then
2964              enable_static=yes
2965            fi
2966          done
2967          IFS="$lt_save_ifs"
2968          ;;
2969        esac
2970    else
2971      enable_static=yes
2972    fi;
2973    
2974    # Check whether --enable-fast-install or --disable-fast-install was given.
2975    if test "${enable_fast_install+set}" = set; then
2976      enableval="$enable_fast_install"
2977      p=${PACKAGE-default}
2978        case $enableval in
2979        yes) enable_fast_install=yes ;;
2980        no) enable_fast_install=no ;;
2981        *)
2982          enable_fast_install=no
2983          # Look at the argument we got.  We use all the common list separators.
2984          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2985          for pkg in $enableval; do
2986            IFS="$lt_save_ifs"
2987            if test "X$pkg" = "X$p"; then
2988              enable_fast_install=yes
2989            fi
2990          done
2991          IFS="$lt_save_ifs"
2992          ;;
2993        esac
2994    else
2995      enable_fast_install=yes
2996    fi;
2997    
2998    # Make sure we can run config.sub.
2999    $ac_config_sub sun4 >/dev/null 2>&1 ||
3000      { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3001    echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3002       { (exit 1); exit 1; }; }
3003    
3004    echo "$as_me:$LINENO: checking build system type" >&5
3005    echo $ECHO_N "checking build system type... $ECHO_C" >&6
3006    if test "${ac_cv_build+set}" = set; then
3007      echo $ECHO_N "(cached) $ECHO_C" >&6
3008    else
3009      ac_cv_build_alias=$build_alias
3010    test -z "$ac_cv_build_alias" &&
3011      ac_cv_build_alias=`$ac_config_guess`
3012    test -z "$ac_cv_build_alias" &&
3013      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3014    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3015       { (exit 1); exit 1; }; }
3016    ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3017      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3018    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3019       { (exit 1); exit 1; }; }
3020    
3021    fi
3022    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3023    echo "${ECHO_T}$ac_cv_build" >&6
3024    build=$ac_cv_build
3025    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3026    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3027    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3028    
3029    
3030    echo "$as_me:$LINENO: checking host system type" >&5
3031    echo $ECHO_N "checking host system type... $ECHO_C" >&6
3032    if test "${ac_cv_host+set}" = set; then
3033      echo $ECHO_N "(cached) $ECHO_C" >&6
3034    else
3035      ac_cv_host_alias=$host_alias
3036    test -z "$ac_cv_host_alias" &&
3037      ac_cv_host_alias=$ac_cv_build_alias
3038    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3039      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3040    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3041       { (exit 1); exit 1; }; }
3042    
3043    fi
3044    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3045    echo "${ECHO_T}$ac_cv_host" >&6
3046    host=$ac_cv_host
3047    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3048    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3049    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3050    
3051    
3052  # Check for command to grab the raw symbol name followed by C symbol from nm.  echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3053  echo "$as_me:$LINENO: checking command to parse $NM output" >&5  echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3054  echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6  if test "${lt_cv_path_SED+set}" = set; then
 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then  
3055    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3056  else  else
3057      # Loop through the user's path and test for sed and gsed.
3058    # Then use that list of sed's as ones to test for truncation.
3059    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060    for as_dir in $PATH
3061    do
3062      IFS=$as_save_IFS
3063      test -z "$as_dir" && as_dir=.
3064      for lt_ac_prog in sed gsed; do
3065        for ac_exec_ext in '' $ac_executable_extensions; do
3066          if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3067            lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3068          fi
3069        done
3070      done
3071    done
3072    lt_ac_max=0
3073    lt_ac_count=0
3074    # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3075    # along with /bin/sed that truncates output.
3076    for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3077      test ! -f $lt_ac_sed && continue
3078      cat /dev/null > conftest.in
3079      lt_ac_count=0
3080      echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3081      # Check for GNU sed and select it if it is found.
3082      if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3083        lt_cv_path_SED=$lt_ac_sed
3084        break
3085      fi
3086      while true; do
3087        cat conftest.in conftest.in >conftest.tmp
3088        mv conftest.tmp conftest.in
3089        cp conftest.in conftest.nl
3090        echo >>conftest.nl
3091        $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3092        cmp -s conftest.out conftest.nl || break
3093        # 10000 chars as input seems more than enough
3094        test $lt_ac_count -gt 10 && break
3095        lt_ac_count=`expr $lt_ac_count + 1`
3096        if test $lt_ac_count -gt $lt_ac_max; then
3097          lt_ac_max=$lt_ac_count
3098          lt_cv_path_SED=$lt_ac_sed
3099        fi
3100      done
3101    done
3102    
3103  # These are sane defaults that work on at least a few old systems.  fi
 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  
3104    
3105  # Character class describing NM global symbol codes.  SED=$lt_cv_path_SED
3106  symcode='[BCDEGRST]'  echo "$as_me:$LINENO: result: $SED" >&5
3107    echo "${ECHO_T}$SED" >&6
3108    
3109  # Regexp to match symbols that can be accessed directly from C.  echo "$as_me:$LINENO: checking for egrep" >&5
3110  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3111    if test "${ac_cv_prog_egrep+set}" = set; then
3112      echo $ECHO_N "(cached) $ECHO_C" >&6
3113    else
3114      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3115        then ac_cv_prog_egrep='grep -E'
3116        else ac_cv_prog_egrep='egrep'
3117        fi
3118    fi
3119    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3120    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3121     EGREP=$ac_cv_prog_egrep
3122    
 # Transform the above into a raw symbol and a C symbol.  
 symxfrm='\1 \2\3 \3'  
3123    
 # Transform an extracted symbol line into a proper C declaration  
 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"  
3124    
3125  # Define system-specific variables.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
3126  case $host_os in  if test "${with_gnu_ld+set}" = set; then
3127  aix*)    withval="$with_gnu_ld"
3128    symcode='[BCDT]'    test "$withval" = no || with_gnu_ld=yes
3129    ;;  else
3130  cygwin* | mingw* | pw32*)    with_gnu_ld=no
3131    symcode='[ABCDGISTW]'  fi;
3132    ;;  ac_prog=ld
3133  hpux*) # Its linker distinguishes data from code symbols  if test "$GCC" = yes; then
3134    lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"    # Check if gcc -print-prog-name=ld gives a path.
3135    ;;    echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3136  irix*)  echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3137    symcode='[BCDEGRST]'    case $host in
3138    ;;    *-*-mingw*)
3139  solaris* | sysv5*)      # gcc leaves a trailing carriage return which upsets mingw
3140    symcode='[BDT]'      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3141      *)
3142        ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3143      esac
3144      case $ac_prog in
3145        # Accept absolute paths.
3146        [\\/]* | ?:[\\/]*)
3147          re_direlt='/[^/][^/]*/\.\./'
3148          # Canonicalize the pathname of ld
3149          ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3150          while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3151            ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3152          done
3153          test -z "$LD" && LD="$ac_prog"
3154          ;;
3155      "")
3156        # If it fails, then pretend we aren't using GCC.
3157        ac_prog=ld
3158        ;;
3159      *)
3160        # If it is relative, then search for the first ld in PATH.
3161        with_gnu_ld=unknown
3162        ;;
3163      esac
3164    elif test "$with_gnu_ld" = yes; then
3165      echo "$as_me:$LINENO: checking for GNU ld" >&5
3166    echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3167    else
3168      echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3169    echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3170    fi
3171    if test "${lt_cv_path_LD+set}" = set; then
3172      echo $ECHO_N "(cached) $ECHO_C" >&6
3173    else
3174      if test -z "$LD"; then
3175      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3176      for ac_dir in $PATH; do
3177        IFS="$lt_save_ifs"
3178        test -z "$ac_dir" && ac_dir=.
3179        if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3180          lt_cv_path_LD="$ac_dir/$ac_prog"
3181          # Check to see if the program is GNU ld.  I'd rather use --version,
3182          # but apparently some GNU ld's only accept -v.
3183          # Break only if it was the GNU/non-GNU ld that we prefer.
3184          case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3185          *GNU* | *'with BFD'*)
3186            test "$with_gnu_ld" != no && break
3187            ;;
3188          *)
3189            test "$with_gnu_ld" != yes && break
3190            ;;
3191          esac
3192        fi
3193      done
3194      IFS="$lt_save_ifs"
3195    else
3196      lt_cv_path_LD="$LD" # Let the user override the test with a path.
3197    fi
3198    fi
3199    
3200    LD="$lt_cv_path_LD"
3201    if test -n "$LD"; then
3202      echo "$as_me:$LINENO: result: $LD" >&5
3203    echo "${ECHO_T}$LD" >&6
3204    else
3205      echo "$as_me:$LINENO: result: no" >&5
3206    echo "${ECHO_T}no" >&6
3207    fi
3208    test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3209    echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3210       { (exit 1); exit 1; }; }
3211    echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3212    echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3213    if test "${lt_cv_prog_gnu_ld+set}" = set; then
3214      echo $ECHO_N "(cached) $ECHO_C" >&6
3215    else
3216      # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3217    case `$LD -v 2>&1 </dev/null` in
3218    *GNU* | *'with BFD'*)
3219      lt_cv_prog_gnu_ld=yes
3220    ;;    ;;
3221  sysv4)  *)
3222    symcode='[DFNSTU]'    lt_cv_prog_gnu_ld=no
3223    ;;    ;;
3224  esac  esac
3225    fi
3226    echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3227    echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3228    with_gnu_ld=$lt_cv_prog_gnu_ld
3229    
 # 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  
3230    
3231  # If we're using GNU nm, then use its standard symbol codes.  echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3232  if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3233    symcode='[ABCDGISTW]'  if test "${lt_cv_ld_reload_flag+set}" = set; then
3234      echo $ECHO_N "(cached) $ECHO_C" >&6
3235    else
3236      lt_cv_ld_reload_flag='-r'
3237  fi  fi
3238    echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3239    echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3240    reload_flag=$lt_cv_ld_reload_flag
3241    case $reload_flag in
3242    "" | " "*) ;;
3243    *) reload_flag=" $reload_flag" ;;
3244    esac
3245    reload_cmds='$LD$reload_flag -o $output$reload_objs'
3246    case $host_os in
3247      darwin*)
3248        if test "$GCC" = yes; then
3249          reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
3250        else
3251          reload_cmds='$LD$reload_flag -o $output$reload_objs'
3252        fi
3253        ;;
3254    esac
3255    
3256  # Try without a prefix undercore, then with it.  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3257  for ac_symprfx in "" "_"; do  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3258    if test "${lt_cv_path_NM+set}" = set; then
3259      echo $ECHO_N "(cached) $ECHO_C" >&6
3260    else
3261      if test -n "$NM"; then
3262      # Let the user override the test.
3263      lt_cv_path_NM="$NM"
3264    else
3265      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3266      for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3267        IFS="$lt_save_ifs"
3268        test -z "$ac_dir" && ac_dir=.
3269        tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3270        if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3271          # Check to see if the nm accepts a BSD-compat flag.
3272          # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3273          #   nm: unknown option "B" ignored
3274          # Tru64's nm complains that /dev/null is an invalid object file
3275          case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3276          */dev/null* | *'Invalid file or object type'*)
3277            lt_cv_path_NM="$tmp_nm -B"
3278            break
3279            ;;
3280          *)
3281            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3282            */dev/null*)
3283              lt_cv_path_NM="$tmp_nm -p"
3284              break
3285              ;;
3286            *)
3287              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3288              continue # so that we can try to find one that supports BSD flags
3289              ;;
3290            esac
3291          esac
3292        fi
3293      done
3294      IFS="$lt_save_ifs"
3295      test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3296    fi
3297    fi
3298    echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3299    echo "${ECHO_T}$lt_cv_path_NM" >&6
3300    NM="$lt_cv_path_NM"
3301    
3302    # Write the raw and C identifiers.  echo "$as_me:$LINENO: checking whether ln -s works" >&5
3303  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3304    LN_S=$as_ln_s
3305    if test "$LN_S" = "ln -s"; then
3306      echo "$as_me:$LINENO: result: yes" >&5
3307    echo "${ECHO_T}yes" >&6
3308    else
3309      echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3310    echo "${ECHO_T}no, using $LN_S" >&6
3311    fi
3312    
3313    # Check to see that the pipe works correctly.  echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3314    pipe_works=no  echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3315    rm -f conftest*  if test "${lt_cv_deplibs_check_method+set}" = set; then
3316    cat > conftest.$ac_ext <<EOF    echo $ECHO_N "(cached) $ECHO_C" >&6
3317  #ifdef __cplusplus  else
3318  extern "C" {    lt_cv_file_magic_cmd='$MAGIC_CMD'
3319  #endif  lt_cv_file_magic_test_file=
3320  char nm_test_var;  lt_cv_deplibs_check_method='unknown'
3321  void nm_test_func(){}  # Need to set the preceding variable on all platforms that support
3322  #ifdef __cplusplus  # interlibrary dependencies.
3323  }  # 'none' -- dependencies not supported.
3324  #endif  # `unknown' -- same as none, but documents that we really don't know.
3325  int main(){nm_test_var='a';nm_test_func();return(0);}  # 'pass_all' -- all dependencies passed with no checks.
3326  EOF  # 'test_compile' -- check by making test program.
3327    # 'file_magic [[regex]]' -- check by looking for files in library path
3328    # which responds to the $file_magic_cmd with a given extended regex.
3329    # If you have `file' or equivalent on your system and you're not sure
3330    # whether `pass_all' will *always* work, you probably want this one.
3331    
3332    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  case $host_os in
3333    (eval $ac_compile) 2>&5  aix4* | aix5*)
3334    ac_status=$?    lt_cv_deplibs_check_method=pass_all
3335    echo "$as_me:$LINENO: \$? = $ac_status" >&5    ;;
   (exit $ac_status); }; then  
     # Now try to grab the symbols.  
     nlist=conftest.nm  
     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5  
   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && test -s "$nlist"; then  
       # Try sorting and uniquifying the output.  
       if sort "$nlist" | uniq > "$nlist"T; then  
         mv -f "$nlist"T "$nlist"  
       else  
         rm -f "$nlist"T  
       fi  
3336    
3337        # Make sure that we snagged all the symbols we need.  beos*)
3338        if egrep ' nm_test_var$' "$nlist" >/dev/null; then    lt_cv_deplibs_check_method=pass_all
3339          if egrep ' nm_test_func$' "$nlist" >/dev/null; then    ;;
           cat <<EOF > conftest.$ac_ext  
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
3340    
3341  EOF  bsdi[45]*)
3342            # Now generate the symbol file.    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3343            eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'    lt_cv_file_magic_cmd='/usr/bin/file -L'
3344      lt_cv_file_magic_test_file=/shlib/libc.so
3345      ;;
3346    
3347            cat <<EOF >> conftest.$ac_ext  cygwin*)
3348  #if defined (__STDC__) && __STDC__    # func_win32_libid is a shell function defined in ltmain.sh
3349  # define lt_ptr_t void *    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3350  #else    lt_cv_file_magic_cmd='func_win32_libid'
3351  # define lt_ptr_t char *    ;;
 # define const  
 #endif  
3352    
3353  /* The mapping between symbol names and symbols. */  mingw* | pw32*)
3354  const struct {    # Base MSYS/MinGW do not provide the 'file' command needed by
3355    const char *name;    # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3356    lt_ptr_t address;    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3357  }    lt_cv_file_magic_cmd='$OBJDUMP -f'
3358  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}  
 };  
3359    
3360  #ifdef __cplusplus  darwin* | rhapsody*)
3361  }    lt_cv_deplibs_check_method=pass_all
3362  #endif    ;;
3363  EOF  
3364            # Now try linking the two files.  freebsd* | kfreebsd*-gnu | dragonfly*)
3365            mv conftest.$ac_objext conftstm.$ac_objext    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3366            save_LIBS="$LIBS"      case $host_cpu in
3367            save_CFLAGS="$CFLAGS"      i*86 )
3368            LIBS="conftstm.$ac_objext"        # Not sure whether the presence of OpenBSD here was a mistake.
3369            CFLAGS="$CFLAGS$no_builtin_flag"        # Let's accept both of them until this is cleared up.
3370            if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3371    (eval $ac_link) 2>&5        lt_cv_file_magic_cmd=/usr/bin/file
3372    ac_status=$?        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3373    echo "$as_me:$LINENO: \$? = $ac_status" >&5        ;;
3374    (exit $ac_status); } && test -s conftest; then      esac
             pipe_works=yes  
           fi  
           LIBS="$save_LIBS"  
           CFLAGS="$save_CFLAGS"  
         else  
           echo "cannot find nm_test_func in $nlist" >&5  
         fi  
       else  
         echo "cannot find nm_test_var in $nlist" >&5  
       fi  
     else  
       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5  
     fi  
3375    else    else
3376      echo "$progname: failed program was:" >&5      lt_cv_deplibs_check_method=pass_all
     cat conftest.$ac_ext >&5  
3377    fi    fi
3378    rm -f conftest* conftst*    ;;
3379    
3380    # Do not use the global_symbol_pipe unless it works.  gnu*)
3381    if test "$pipe_works" = yes; then    lt_cv_deplibs_check_method=pass_all
3382      break    ;;
3383    
3384    hpux10.20* | hpux11*)
3385      lt_cv_file_magic_cmd=/usr/bin/file
3386      case "$host_cpu" in
3387      ia64*)
3388        lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3389        lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3390        ;;
3391      hppa*64*)
3392        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]'
3393        lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3394        ;;
3395      *)
3396        lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3397        lt_cv_file_magic_test_file=/usr/lib/libc.sl
3398        ;;
3399      esac
3400      ;;
3401    
3402    irix5* | irix6* | nonstopux*)
3403      case $LD in
3404      *-32|*"-32 ") libmagic=32-bit;;
3405      *-n32|*"-n32 ") libmagic=N32;;
3406      *-64|*"-64 ") libmagic=64-bit;;
3407      *) libmagic=never-match;;
3408      esac
3409      lt_cv_deplibs_check_method=pass_all
3410      ;;
3411    
3412    # This must be Linux ELF.
3413    linux*)
3414      lt_cv_deplibs_check_method=pass_all
3415      ;;
3416    
3417    netbsd*)
3418      if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3419        lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3420    else    else
3421      lt_cv_sys_global_symbol_pipe=      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3422    fi    fi
3423  done    ;;
3424    
3425  fi  newos6*)
3426      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3427      lt_cv_file_magic_cmd=/usr/bin/file
3428      lt_cv_file_magic_test_file=/usr/lib/libnls.so
3429      ;;
3430    
3431  global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"  nto-qnx*)
3432  if test -z "$lt_cv_sys_global_symbol_pipe"; then    lt_cv_deplibs_check_method=unknown
3433    global_symbol_to_cdecl=    ;;
 else  
   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"  
 fi  
 if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then  
   echo "$as_me:$LINENO: result: failed" >&5  
 echo "${ECHO_T}failed" >&6  
 else  
   echo "$as_me:$LINENO: result: ok" >&5  
 echo "${ECHO_T}ok" >&6  
 fi  
3434    
3435  ac_ext=c  openbsd*)
3436  ac_cpp='$CPP $CPPFLAGS'    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3437  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5  
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  
 # 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"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
                      Syntax error  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
3438    else    else
3439      ac_cpp_err=      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3440    fi    fi
3441  else    ;;
3442    ac_cpp_err=yes  
3443  fi  osf3* | osf4* | osf5*)
3444  if test -z "$ac_cpp_err"; then    lt_cv_deplibs_check_method=pass_all
3445    :    ;;
3446  else  
3447    echo "$as_me: failed program was:" >&5  sco3.2v5*)
3448  sed 's/^/| /' conftest.$ac_ext >&5    lt_cv_deplibs_check_method=pass_all
3449      ;;
3450    
3451    solaris*)
3452      lt_cv_deplibs_check_method=pass_all
3453      ;;
3454    
3455    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3456      case $host_vendor in
3457      motorola)
3458        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3459        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3460        ;;
3461      ncr)
3462        lt_cv_deplibs_check_method=pass_all
3463        ;;
3464      sequent)
3465        lt_cv_file_magic_cmd='/bin/file'
3466        lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3467        ;;
3468      sni)
3469        lt_cv_file_magic_cmd='/bin/file'
3470        lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3471        lt_cv_file_magic_test_file=/lib/libc.so
3472        ;;
3473      siemens)
3474        lt_cv_deplibs_check_method=pass_all
3475        ;;
3476      esac
3477      ;;
3478    
3479    sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
3480      lt_cv_deplibs_check_method=pass_all
3481      ;;
3482    esac
3483    
   # Broken: fails on valid input.  
 continue  
3484  fi  fi
3485  rm -f conftest.err conftest.$ac_ext  echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3486    echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3487    file_magic_cmd=$lt_cv_file_magic_cmd
3488    deplibs_check_method=$lt_cv_deplibs_check_method
3489    test -z "$deplibs_check_method" && deplibs_check_method=unknown
3490    
3491    # OK, works on sane cases.  Now check whether non-existent headers  
3492    # can be detected and how.  
3493    cat >conftest.$ac_ext <<_ACEOF  
3494  #line $LINENO "configure"  # If no C compiler was specified, use CC.
3495    LTCC=${LTCC-"$CC"}
3496    
3497    # Allow CC to be a program name with arguments.
3498    compiler=$CC
3499    
3500    
3501    # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3502    if test "${enable_libtool_lock+set}" = set; then
3503      enableval="$enable_libtool_lock"
3504    
3505    fi;
3506    test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3507    
3508    # Some flags need to be propagated to the compiler or linker for good
3509    # libtool support.
3510    case $host in
3511    ia64-*-hpux*)
3512      # Find out which ABI we are using.
3513      echo 'int i;' > conftest.$ac_ext
3514      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3515      (eval $ac_compile) 2>&5
3516      ac_status=$?
3517      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518      (exit $ac_status); }; then
3519        case `/usr/bin/file conftest.$ac_objext` in
3520        *ELF-32*)
3521          HPUX_IA64_MODE="32"
3522          ;;
3523        *ELF-64*)
3524          HPUX_IA64_MODE="64"
3525          ;;
3526        esac
3527      fi
3528      rm -rf conftest*
3529      ;;
3530    *-*-irix6*)
3531      # Find out which ABI we are using.
3532      echo '#line 3532 "configure"' > conftest.$ac_ext
3533      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534      (eval $ac_compile) 2>&5
3535      ac_status=$?
3536      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537      (exit $ac_status); }; then
3538       if test "$lt_cv_prog_gnu_ld" = yes; then
3539        case `/usr/bin/file conftest.$ac_objext` in
3540        *32-bit*)
3541          LD="${LD-ld} -melf32bsmip"
3542          ;;
3543        *N32*)
3544          LD="${LD-ld} -melf32bmipn32"
3545          ;;
3546        *64-bit*)
3547          LD="${LD-ld} -melf64bmip"
3548          ;;
3549        esac
3550       else
3551        case `/usr/bin/file conftest.$ac_objext` in
3552        *32-bit*)
3553          LD="${LD-ld} -32"
3554          ;;
3555        *N32*)
3556          LD="${LD-ld} -n32"
3557          ;;
3558        *64-bit*)
3559          LD="${LD-ld} -64"
3560          ;;
3561        esac
3562       fi
3563      fi
3564      rm -rf conftest*
3565      ;;
3566    
3567    x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3568      # Find out which ABI we are using.
3569      echo 'int i;' > conftest.$ac_ext
3570      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3571      (eval $ac_compile) 2>&5
3572      ac_status=$?
3573      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574      (exit $ac_status); }; then
3575        case "`/usr/bin/file conftest.o`" in
3576        *32-bit*)
3577          case $host in
3578            x86_64-*linux*)
3579              LD="${LD-ld} -m elf_i386"
3580              ;;
3581            ppc64-*linux*|powerpc64-*linux*)
3582              LD="${LD-ld} -m elf32ppclinux"
3583              ;;
3584            s390x-*linux*)
3585              LD="${LD-ld} -m elf_s390"
3586              ;;
3587            sparc64-*linux*)
3588              LD="${LD-ld} -m elf32_sparc"
3589              ;;
3590          esac
3591          ;;
3592        *64-bit*)
3593          case $host in
3594            x86_64-*linux*)
3595              LD="${LD-ld} -m elf_x86_64"
3596              ;;
3597            ppc*-*linux*|powerpc*-*linux*)
3598              LD="${LD-ld} -m elf64ppc"
3599              ;;
3600            s390*-*linux*)
3601              LD="${LD-ld} -m elf64_s390"
3602              ;;
3603            sparc*-*linux*)
3604              LD="${LD-ld} -m elf64_sparc"
3605              ;;
3606          esac
3607          ;;
3608        esac
3609      fi
3610      rm -rf conftest*
3611      ;;
3612    
3613    *-*-linux*)
3614      # Test if the compiler is 64bit
3615      echo 'int i;' > conftest.$ac_ext
3616      lt_cv_cc_64bit_output=no
3617      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618      (eval $ac_compile) 2>&5
3619      ac_status=$?
3620      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621      (exit $ac_status); }; then
3622        case `/usr/bin/file conftest.$ac_objext` in
3623        *"ELF 64"*)
3624          lt_cv_cc_64bit_output=yes
3625          ;;
3626        esac
3627      fi
3628      rm -rf conftest*
3629      ;;
3630    
3631    *-*-sco3.2v5*)
3632      # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3633      SAVE_CFLAGS="$CFLAGS"
3634      CFLAGS="$CFLAGS -belf"
3635      echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3636    echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3637    if test "${lt_cv_cc_needs_belf+set}" = set; then
3638      echo $ECHO_N "(cached) $ECHO_C" >&6
3639    else
3640      ac_ext=c
3641    ac_cpp='$CPP $CPPFLAGS'
3642    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645    
3646         cat >conftest.$ac_ext <<_ACEOF
3647  /* confdefs.h.  */  /* confdefs.h.  */
3648  _ACEOF  _ACEOF
3649  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3650  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3651  /* end confdefs.h.  */  /* end confdefs.h.  */
3652  #include <ac_nonexistent.h>  
3653    int
3654    main ()
3655    {
3656    
3657      ;
3658      return 0;
3659    }
3660  _ACEOF  _ACEOF
3661  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext conftest$ac_exeext
3662    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3663      (eval $ac_link) 2>conftest.er1
3664    ac_status=$?    ac_status=$?
3665    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3666    rm -f conftest.er1    rm -f conftest.er1
3667    cat conftest.err >&5    cat conftest.err >&5
3668    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } &&
3670    if test -s conftest.err; then           { ac_try='test -z "$ac_c_werror_flag"
3671      ac_cpp_err=$ac_c_preproc_warn_flag                           || test ! -s conftest.err'
3672    else    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673      ac_cpp_err=    (eval $ac_try) 2>&5
3674    fi    ac_status=$?
3675  else    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676    ac_cpp_err=yes    (exit $ac_status); }; } &&
3677  fi           { ac_try='test -s conftest$ac_exeext'
3678  if test -z "$ac_cpp_err"; then    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679    # Broken: success on invalid input.    (eval $ac_try) 2>&5
3680  continue    ac_status=$?
3681      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682      (exit $ac_status); }; }; then
3683      lt_cv_cc_needs_belf=yes
3684  else  else
3685    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3686  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3687    
3688    # Passes both tests.  lt_cv_cc_needs_belf=no
 ac_preproc_ok=:  
 break  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
 done  
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   break  
3689  fi  fi
3690    rm -f conftest.err conftest.$ac_objext \
3691      done        conftest$ac_exeext conftest.$ac_ext
3692      ac_cv_prog_CPP=$CPP       ac_ext=c
3693    ac_cpp='$CPP $CPPFLAGS'
3694    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697    
3698  fi  fi
3699    CPP=$ac_cv_prog_CPP  echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3700    echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3701      if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3702        # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3703        CFLAGS="$SAVE_CFLAGS"
3704      fi
3705      ;;
3706    *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3707      if test -n "$ac_tool_prefix"; then
3708      # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3709    set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3710    echo "$as_me:$LINENO: checking for $ac_word" >&5
3711    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3712    if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3713      echo $ECHO_N "(cached) $ECHO_C" >&6
3714  else  else
3715    ac_cv_prog_CPP=$CPP    if test -n "$DLLTOOL"; then
3716      ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3717    else
3718    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719    for as_dir in $PATH
3720    do
3721      IFS=$as_save_IFS
3722      test -z "$as_dir" && as_dir=.
3723      for ac_exec_ext in '' $ac_executable_extensions; do
3724      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725        ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3726        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3727        break 2
3728      fi
3729    done
3730    done
3731    
3732  fi  fi
3733  echo "$as_me:$LINENO: result: $CPP" >&5  fi
3734  echo "${ECHO_T}$CPP" >&6  DLLTOOL=$ac_cv_prog_DLLTOOL
3735  ac_preproc_ok=false  if test -n "$DLLTOOL"; then
3736      echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3737    echo "${ECHO_T}$DLLTOOL" >&6
3738    else
3739      echo "$as_me:$LINENO: result: no" >&5
3740    echo "${ECHO_T}no" >&6
3741    fi
3742    
3743    fi
3744    if test -z "$ac_cv_prog_DLLTOOL"; then
3745      ac_ct_DLLTOOL=$DLLTOOL
3746      # Extract the first word of "dlltool", so it can be a program name with args.
3747    set dummy dlltool; ac_word=$2
3748    echo "$as_me:$LINENO: checking for $ac_word" >&5
3749    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3750    if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3751      echo $ECHO_N "(cached) $ECHO_C" >&6
3752    else
3753      if test -n "$ac_ct_DLLTOOL"; then
3754      ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3755    else
3756    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757    for as_dir in $PATH
3758    do
3759      IFS=$as_save_IFS
3760      test -z "$as_dir" && as_dir=.
3761      for ac_exec_ext in '' $ac_executable_extensions; do
3762      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3763        ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3764        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3765        break 2
3766      fi
3767    done
3768    done
3769    
3770      test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3771    fi
3772    fi
3773    ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3774    if test -n "$ac_ct_DLLTOOL"; then
3775      echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3776    echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3777    else
3778      echo "$as_me:$LINENO: result: no" >&5
3779    echo "${ECHO_T}no" >&6
3780    fi
3781    
3782      DLLTOOL=$ac_ct_DLLTOOL
3783    else
3784      DLLTOOL="$ac_cv_prog_DLLTOOL"
3785    fi
3786    
3787      if test -n "$ac_tool_prefix"; then
3788      # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3789    set dummy ${ac_tool_prefix}as; ac_word=$2
3790    echo "$as_me:$LINENO: checking for $ac_word" >&5
3791    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3792    if test "${ac_cv_prog_AS+set}" = set; then
3793      echo $ECHO_N "(cached) $ECHO_C" >&6
3794    else
3795      if test -n "$AS"; then
3796      ac_cv_prog_AS="$AS" # Let the user override the test.
3797    else
3798    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799    for as_dir in $PATH
3800    do
3801      IFS=$as_save_IFS
3802      test -z "$as_dir" && as_dir=.
3803      for ac_exec_ext in '' $ac_executable_extensions; do
3804      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805        ac_cv_prog_AS="${ac_tool_prefix}as"
3806        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3807        break 2
3808      fi
3809    done
3810    done
3811    
3812    fi
3813    fi
3814    AS=$ac_cv_prog_AS
3815    if test -n "$AS"; then
3816      echo "$as_me:$LINENO: result: $AS" >&5
3817    echo "${ECHO_T}$AS" >&6
3818    else
3819      echo "$as_me:$LINENO: result: no" >&5
3820    echo "${ECHO_T}no" >&6
3821    fi
3822    
3823    fi
3824    if test -z "$ac_cv_prog_AS"; then
3825      ac_ct_AS=$AS
3826      # Extract the first word of "as", so it can be a program name with args.
3827    set dummy as; ac_word=$2
3828    echo "$as_me:$LINENO: checking for $ac_word" >&5
3829    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3830    if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3831      echo $ECHO_N "(cached) $ECHO_C" >&6
3832    else
3833      if test -n "$ac_ct_AS"; then
3834      ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3835    else
3836    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837    for as_dir in $PATH
3838    do
3839      IFS=$as_save_IFS
3840      test -z "$as_dir" && as_dir=.
3841      for ac_exec_ext in '' $ac_executable_extensions; do
3842      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3843        ac_cv_prog_ac_ct_AS="as"
3844        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3845        break 2
3846      fi
3847    done
3848    done
3849    
3850      test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3851    fi
3852    fi
3853    ac_ct_AS=$ac_cv_prog_ac_ct_AS
3854    if test -n "$ac_ct_AS"; then
3855      echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3856    echo "${ECHO_T}$ac_ct_AS" >&6
3857    else
3858      echo "$as_me:$LINENO: result: no" >&5
3859    echo "${ECHO_T}no" >&6
3860    fi
3861    
3862      AS=$ac_ct_AS
3863    else
3864      AS="$ac_cv_prog_AS"
3865    fi
3866    
3867      if test -n "$ac_tool_prefix"; then
3868      # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3869    set dummy ${ac_tool_prefix}objdump; ac_word=$2
3870    echo "$as_me:$LINENO: checking for $ac_word" >&5
3871    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3872    if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3873      echo $ECHO_N "(cached) $ECHO_C" >&6
3874    else
3875      if test -n "$OBJDUMP"; then
3876      ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3877    else
3878    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879    for as_dir in $PATH
3880    do
3881      IFS=$as_save_IFS
3882      test -z "$as_dir" && as_dir=.
3883      for ac_exec_ext in '' $ac_executable_extensions; do
3884      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885        ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3886        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3887        break 2
3888      fi
3889    done
3890    done
3891    
3892    fi
3893    fi
3894    OBJDUMP=$ac_cv_prog_OBJDUMP
3895    if test -n "$OBJDUMP"; then
3896      echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3897    echo "${ECHO_T}$OBJDUMP" >&6
3898    else
3899      echo "$as_me:$LINENO: result: no" >&5
3900    echo "${ECHO_T}no" >&6
3901    fi
3902    
3903    fi
3904    if test -z "$ac_cv_prog_OBJDUMP"; then
3905      ac_ct_OBJDUMP=$OBJDUMP
3906      # Extract the first word of "objdump", so it can be a program name with args.
3907    set dummy objdump; ac_word=$2
3908    echo "$as_me:$LINENO: checking for $ac_word" >&5
3909    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3910    if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3911      echo $ECHO_N "(cached) $ECHO_C" >&6
3912    else
3913      if test -n "$ac_ct_OBJDUMP"; then
3914      ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3915    else
3916    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917    for as_dir in $PATH
3918    do
3919      IFS=$as_save_IFS
3920      test -z "$as_dir" && as_dir=.
3921      for ac_exec_ext in '' $ac_executable_extensions; do
3922      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3923        ac_cv_prog_ac_ct_OBJDUMP="objdump"
3924        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925        break 2
3926      fi
3927    done
3928    done
3929    
3930      test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3931    fi
3932    fi
3933    ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3934    if test -n "$ac_ct_OBJDUMP"; then
3935      echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3936    echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3937    else
3938      echo "$as_me:$LINENO: result: no" >&5
3939    echo "${ECHO_T}no" >&6
3940    fi
3941    
3942      OBJDUMP=$ac_ct_OBJDUMP
3943    else
3944      OBJDUMP="$ac_cv_prog_OBJDUMP"
3945    fi
3946    
3947      ;;
3948    
3949    esac
3950    
3951    need_locks="$enable_libtool_lock"
3952    
3953    
3954    ac_ext=c
3955    ac_cpp='$CPP $CPPFLAGS'
3956    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3960    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3961    # On Suns, sometimes $CPP names a directory.
3962    if test -n "$CPP" && test -d "$CPP"; then
3963      CPP=
3964    fi
3965    if test -z "$CPP"; then
3966      if test "${ac_cv_prog_CPP+set}" = set; then
3967      echo $ECHO_N "(cached) $ECHO_C" >&6
3968    else
3969          # Double quotes because CPP needs to be expanded
3970        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3971        do
3972          ac_preproc_ok=false
3973  for ac_c_preproc_warn_flag in '' yes  for ac_c_preproc_warn_flag in '' yes
3974  do  do
3975    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
# Line 3209  do Line 3979  do
3979    # 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,
3980    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3981    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3982  /* confdefs.h.  */  /* confdefs.h.  */
3983  _ACEOF  _ACEOF
3984  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3220  cat >>conftest.$ac_ext <<_ACEOF Line 3989  cat >>conftest.$ac_ext <<_ACEOF
3989  #else  #else
3990  # include <assert.h>  # include <assert.h>
3991  #endif  #endif
3992                       Syntax error                       Syntax error
3993  _ACEOF  _ACEOF
3994  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3995    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3232  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4001  if { (eval echo "$as_me:$LINENO: \"$ac_c
4001    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4002    if test -s conftest.err; then    if test -s conftest.err; then
4003      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4004        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4005    else    else
4006      ac_cpp_err=      ac_cpp_err=
4007    fi    fi
# Line 3252  rm -f conftest.err conftest.$ac_ext Line 4022  rm -f conftest.err conftest.$ac_ext
4022    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
4023    # can be detected and how.    # can be detected and how.
4024    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4025  /* confdefs.h.  */  /* confdefs.h.  */
4026  _ACEOF  _ACEOF
4027  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3270  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4039  if { (eval echo "$as_me:$LINENO: \"$ac_c
4039    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4040    if test -s conftest.err; then    if test -s conftest.err; then
4041      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4042        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4043    else    else
4044      ac_cpp_err=      ac_cpp_err=
4045    fi    fi
# Line 3293  done Line 4063  done
4063  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4064  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
4065  if $ac_preproc_ok; then  if $ac_preproc_ok; then
4066    :    break
 else  
   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
4067  fi  fi
4068    
4069  ac_ext=c      done
4070  ac_cpp='$CPP $CPPFLAGS'      ac_cv_prog_CPP=$CPP
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
   
4071    
 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  
4072  fi  fi
4073  echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5    CPP=$ac_cv_prog_CPP
 echo "${ECHO_T}$ac_cv_prog_egrep" >&6  
  EGREP=$ac_cv_prog_egrep  
   
   
 echo "$as_me:$LINENO: checking for ANSI C header files" >&5  
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  
 if test "${ac_cv_header_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
4074  else  else
4075      ac_cv_prog_CPP=$CPP
4076    fi
4077    echo "$as_me:$LINENO: result: $CPP" >&5
4078    echo "${ECHO_T}$CPP" >&6
4079    ac_preproc_ok=false
4080    for ac_c_preproc_warn_flag in '' yes
4081    do
4082      # Use a header file that comes with gcc, so configuring glibc
4083      # with a fresh cross-compiler works.
4084      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4085      # <limits.h> exists even on freestanding compilers.
4086      # On the NeXT, cc -E runs the code through the compiler's parser,
4087      # not just through cpp. "Syntax error" is here to catch this case.
4088    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4089  /* confdefs.h.  */  /* confdefs.h.  */
4090  _ACEOF  _ACEOF
4091  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4092  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4093  /* end confdefs.h.  */  /* end confdefs.h.  */
4094  #include <stdlib.h>  #ifdef __STDC__
4095  #include <stdarg.h>  # include <limits.h>
4096  #include <string.h>  #else
4097  #include <float.h>  # include <assert.h>
4098    #endif
4099  int                       Syntax error
 main ()  
 {  
   
   ;  
   return 0;  
 }  
4100  _ACEOF  _ACEOF
4101  rm -f conftest.$ac_objext  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4102  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4103    (eval $ac_compile) 2>&5    ac_status=$?
4104      grep -v '^ *+' conftest.er1 >conftest.err
4105      rm -f conftest.er1
4106      cat conftest.err >&5
4107      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108      (exit $ac_status); } >/dev/null; then
4109      if test -s conftest.err; then
4110        ac_cpp_err=$ac_c_preproc_warn_flag
4111        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4112      else
4113        ac_cpp_err=
4114      fi
4115    else
4116      ac_cpp_err=yes
4117    fi
4118    if test -z "$ac_cpp_err"; then
4119      :
4120    else
4121      echo "$as_me: failed program was:" >&5
4122    sed 's/^/| /' conftest.$ac_ext >&5
4123    
4124      # Broken: fails on valid input.
4125    continue
4126    fi
4127    rm -f conftest.err conftest.$ac_ext
4128    
4129      # OK, works on sane cases.  Now check whether non-existent headers
4130      # can be detected and how.
4131      cat >conftest.$ac_ext <<_ACEOF
4132    /* confdefs.h.  */
4133    _ACEOF
4134    cat confdefs.h >>conftest.$ac_ext
4135    cat >>conftest.$ac_ext <<_ACEOF
4136    /* end confdefs.h.  */
4137    #include <ac_nonexistent.h>
4138    _ACEOF
4139    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4140      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4141      ac_status=$?
4142      grep -v '^ *+' conftest.er1 >conftest.err
4143      rm -f conftest.er1
4144      cat conftest.err >&5
4145      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146      (exit $ac_status); } >/dev/null; then
4147      if test -s conftest.err; then
4148        ac_cpp_err=$ac_c_preproc_warn_flag
4149        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4150      else
4151        ac_cpp_err=
4152      fi
4153    else
4154      ac_cpp_err=yes
4155    fi
4156    if test -z "$ac_cpp_err"; then
4157      # Broken: success on invalid input.
4158    continue
4159    else
4160      echo "$as_me: failed program was:" >&5
4161    sed 's/^/| /' conftest.$ac_ext >&5
4162    
4163      # Passes both tests.
4164    ac_preproc_ok=:
4165    break
4166    fi
4167    rm -f conftest.err conftest.$ac_ext
4168    
4169    done
4170    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4171    rm -f conftest.err conftest.$ac_ext
4172    if $ac_preproc_ok; then
4173      :
4174    else
4175      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4176    See \`config.log' for more details." >&5
4177    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4178    See \`config.log' for more details." >&2;}
4179       { (exit 1); exit 1; }; }
4180    fi
4181    
4182    ac_ext=c
4183    ac_cpp='$CPP $CPPFLAGS'
4184    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4185    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4186    ac_compiler_gnu=$ac_cv_c_compiler_gnu
4187    
4188    
4189    echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4190    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4191    if test "${ac_cv_header_stdc+set}" = set; then
4192      echo $ECHO_N "(cached) $ECHO_C" >&6
4193    else
4194      cat >conftest.$ac_ext <<_ACEOF
4195    /* confdefs.h.  */
4196    _ACEOF
4197    cat confdefs.h >>conftest.$ac_ext
4198    cat >>conftest.$ac_ext <<_ACEOF
4199    /* end confdefs.h.  */
4200    #include <stdlib.h>
4201    #include <stdarg.h>
4202    #include <string.h>
4203    #include <float.h>
4204    
4205    int
4206    main ()
4207    {
4208    
4209      ;
4210      return 0;
4211    }
4212    _ACEOF
4213    rm -f conftest.$ac_objext
4214    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4215      (eval $ac_compile) 2>conftest.er1
4216    ac_status=$?    ac_status=$?
4217      grep -v '^ *+' conftest.er1 >conftest.err
4218      rm -f conftest.er1
4219      cat conftest.err >&5
4220    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221    (exit $ac_status); } &&    (exit $ac_status); } &&
4222           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4223                             || test ! -s conftest.err'
4224      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4225      (eval $ac_try) 2>&5
4226      ac_status=$?
4227      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228      (exit $ac_status); }; } &&
4229             { ac_try='test -s conftest.$ac_objext'
4230    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4231    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4232    ac_status=$?    ac_status=$?
# Line 3368  sed 's/^/| /' conftest.$ac_ext >&5 Line 4239  sed 's/^/| /' conftest.$ac_ext >&5
4239    
4240  ac_cv_header_stdc=no  ac_cv_header_stdc=no
4241  fi  fi
4242  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4243    
4244  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4245    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4246    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4247  /* confdefs.h.  */  /* confdefs.h.  */
4248  _ACEOF  _ACEOF
4249  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3395  fi Line 4265  fi
4265  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4266    # 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.
4267    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4268  /* confdefs.h.  */  /* confdefs.h.  */
4269  _ACEOF  _ACEOF
4270  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3420  if test $ac_cv_header_stdc = yes; then Line 4289  if test $ac_cv_header_stdc = yes; then
4289    :    :
4290  else  else
4291    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4292  /* confdefs.h.  */  /* confdefs.h.  */
4293  _ACEOF  _ACEOF
4294  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3432  cat >>conftest.$ac_ext <<_ACEOF Line 4300  cat >>conftest.$ac_ext <<_ACEOF
4300  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4301  #else  #else
4302  # define ISLOWER(c) \  # define ISLOWER(c) \
4303                     (('a' <= (c) && (c) <= 'i') \                     (('a' <= (c) && (c) <= 'i') \
4304                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
4305                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
4306  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4307  #endif  #endif
4308    
# Line 3445  main () Line 4313  main ()
4313    int i;    int i;
4314    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
4315      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
4316          || toupper (i) != TOUPPER (i))          || toupper (i) != TOUPPER (i))
4317        exit(2);        exit(2);
4318    exit (0);    exit (0);
4319  }  }
# Line 3470  sed 's/^/| /' conftest.$ac_ext >&5 Line 4338  sed 's/^/| /' conftest.$ac_ext >&5
4338  ( exit $ac_status )  ( exit $ac_status )
4339  ac_cv_header_stdc=no  ac_cv_header_stdc=no
4340  fi  fi
4341  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
4342  fi  fi
4343  fi  fi
4344  fi  fi
# Line 3495  fi Line 4363  fi
4363    
4364    
4365  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 \
4366                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
4367  do  do
4368  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4369  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 3504  if eval "test \"\${$as_ac_Header+set}\" Line 4372  if eval "test \"\${$as_ac_Header+set}\"
4372    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4373  else  else
4374    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4375  /* confdefs.h.  */  /* confdefs.h.  */
4376  _ACEOF  _ACEOF
4377  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3516  $ac_includes_default Line 4383  $ac_includes_default
4383  _ACEOF  _ACEOF
4384  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4385  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4386    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4387    ac_status=$?    ac_status=$?
4388      grep -v '^ *+' conftest.er1 >conftest.err
4389      rm -f conftest.er1
4390      cat conftest.err >&5
4391    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392    (exit $ac_status); } &&    (exit $ac_status); } &&
4393           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4394                             || test ! -s conftest.err'
4395      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396      (eval $ac_try) 2>&5
4397      ac_status=$?
4398      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399      (exit $ac_status); }; } &&
4400             { ac_try='test -s conftest.$ac_objext'
4401    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4403    ac_status=$?    ac_status=$?
# Line 3533  sed 's/^/| /' conftest.$ac_ext >&5 Line 4410  sed 's/^/| /' conftest.$ac_ext >&5
4410    
4411  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
4412  fi  fi
4413  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4414  fi  fi
4415  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4416  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 3564  else Line 4441  else
4441  echo "$as_me:$LINENO: checking $ac_header usability" >&5  echo "$as_me:$LINENO: checking $ac_header usability" >&5
4442  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4443  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4444  /* confdefs.h.  */  /* confdefs.h.  */
4445  _ACEOF  _ACEOF
4446  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3575  $ac_includes_default Line 4451  $ac_includes_default
4451  _ACEOF  _ACEOF
4452  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4453  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4454    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4455    ac_status=$?    ac_status=$?
4456      grep -v '^ *+' conftest.er1 >conftest.err
4457      rm -f conftest.er1
4458      cat conftest.err >&5
4459    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460    (exit $ac_status); } &&    (exit $ac_status); } &&
4461           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4462                             || test ! -s conftest.err'
4463      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464      (eval $ac_try) 2>&5
4465      ac_status=$?
4466      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467      (exit $ac_status); }; } &&
4468             { ac_try='test -s conftest.$ac_objext'
4469    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4471    ac_status=$?    ac_status=$?
# Line 3592  sed 's/^/| /' conftest.$ac_ext >&5 Line 4478  sed 's/^/| /' conftest.$ac_ext >&5
4478    
4479  ac_header_compiler=no  ac_header_compiler=no
4480  fi  fi
4481  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4482  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4483  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
4484    
# Line 3600  echo "${ECHO_T}$ac_header_compiler" >&6 Line 4486  echo "${ECHO_T}$ac_header_compiler" >&6
4486  echo "$as_me:$LINENO: checking $ac_header presence" >&5  echo "$as_me:$LINENO: checking $ac_header presence" >&5
4487  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4488  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4489  /* confdefs.h.  */  /* confdefs.h.  */
4490  _ACEOF  _ACEOF
4491  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3618  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4503  if { (eval echo "$as_me:$LINENO: \"$ac_c
4503    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4504    if test -s conftest.err; then    if test -s conftest.err; then
4505      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4506        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4507    else    else
4508      ac_cpp_err=      ac_cpp_err=
4509    fi    fi
# Line 3637  echo "$as_me:$LINENO: result: $ac_header Line 4523  echo "$as_me:$LINENO: result: $ac_header
4523  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
4524    
4525  # So?  What about this header?  # So?  What about this header?
4526  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4527    yes:no )    yes:no: )
4528      { 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
4529  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;}
4530      { 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
4531  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;}
4532      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
4533      ;;      ;;
4534    no:yes )    no:yes:* )
4535      { 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
4536  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4537      { 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
4538  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4539        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4540    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4541        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4542    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4543      { 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
4544  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;}
4545        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4546    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4547      (      (
4548        cat <<\_ASBOX        cat <<\_ASBOX
4549  ## ------------------------------------ ##  ## ------------------------------------------ ##
4550  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
4551  ## ------------------------------------ ##  ## ------------------------------------------ ##
4552  _ASBOX  _ASBOX
4553      ) |      ) |
4554        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 3674  echo $ECHO_N "checking for $ac_header... Line 4559  echo $ECHO_N "checking for $ac_header...
4559  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4560    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4561  else  else
4562    eval "$as_ac_Header=$ac_header_preproc"    eval "$as_ac_Header=\$ac_header_preproc"
4563  fi  fi
4564  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4565  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 3691  done Line 4576  done
4576    
4577    
4578    
4579    if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4580        ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4581  # Only perform the check for file, if the check method requires it      (test "X$CXX" != "Xg++"))) ; then
4582  case $deplibs_check_method in    ac_ext=cc
4583  file_magic*)  ac_cpp='$CXXCPP $CPPFLAGS'
4584    if test "$file_magic_cmd" = '$MAGIC_CMD'; then  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585      echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586  echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4587  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4588    echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4589    if test -z "$CXXCPP"; then
4590      if test "${ac_cv_prog_CXXCPP+set}" = set; then
4591    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4592  else  else
4593    case $MAGIC_CMD in        # Double quotes because CXXCPP needs to be expanded
4594    /*)      for CXXCPP in "$CXX -E" "/lib/cpp"
4595    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.      do
4596    ;;        ac_preproc_ok=false
4597    ?:/*)  for ac_cxx_preproc_warn_flag in '' yes
4598    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  do
4599    ;;    # Use a header file that comes with gcc, so configuring glibc
4600    *)    # with a fresh cross-compiler works.
4601    ac_save_MAGIC_CMD="$MAGIC_CMD"    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4602    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    # <limits.h> exists even on freestanding compilers.
4603    ac_dummy="/usr/bin:$PATH"    # On the NeXT, cc -E runs the code through the compiler's parser,
4604    for ac_dir in $ac_dummy; do    # not just through cpp. "Syntax error" is here to catch this case.
4605      test -z "$ac_dir" && ac_dir=.    cat >conftest.$ac_ext <<_ACEOF
4606      if test -f $ac_dir/${ac_tool_prefix}file; then  /* confdefs.h.  */
4607        lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"  _ACEOF
4608        if test -n "$file_magic_test_file"; then  cat confdefs.h >>conftest.$ac_ext
4609          case $deplibs_check_method in  cat >>conftest.$ac_ext <<_ACEOF
4610          "file_magic "*)  /* end confdefs.h.  */
4611            file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  #ifdef __STDC__
4612            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  # include <limits.h>
4613            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  #else
4614              egrep "$file_magic_regex" > /dev/null; then  # include <assert.h>
4615              :  #endif
4616            else                       Syntax error
4617              cat <<EOF 1>&2  _ACEOF
4618    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4619  *** Warning: the command libtool uses to detect shared libraries,    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4620  *** $file_magic_cmd, produces output that libtool cannot recognize.    ac_status=$?
4621  *** The result is that libtool may fail to recognize shared libraries    grep -v '^ *+' conftest.er1 >conftest.err
4622  *** as such.  This will affect the creation of libtool libraries that    rm -f conftest.er1
4623  *** depend on shared libraries, but programs linked with such libtool    cat conftest.err >&5
4624  *** libraries will work regardless of this problem.  Nevertheless, you    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625  *** may want to report the problem to your system manager and/or to    (exit $ac_status); } >/dev/null; then
4626  *** bug-libtool@gnu.org    if test -s conftest.err; then
4627        ac_cpp_err=$ac_cxx_preproc_warn_flag
4628  EOF      ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4629            fi ;;    else
4630          esac      ac_cpp_err=
4631        fi    fi
4632        break  else
4633      fi    ac_cpp_err=yes
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
4634  fi  fi
4635    if test -z "$ac_cpp_err"; then
4636  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"    :
 if test -n "$MAGIC_CMD"; then  
   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5  
 echo "${ECHO_T}$MAGIC_CMD" >&6  
4637  else  else
4638    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me: failed program was:" >&5
4639  echo "${ECHO_T}no" >&6  sed 's/^/| /' conftest.$ac_ext >&5
4640    
4641      # Broken: fails on valid input.
4642    continue
4643  fi  fi
4644    rm -f conftest.err conftest.$ac_ext
4645    
4646  if test -z "$lt_cv_path_MAGIC_CMD"; then    # OK, works on sane cases.  Now check whether non-existent headers
4647    if test -n "$ac_tool_prefix"; then    # can be detected and how.
4648      echo "$as_me:$LINENO: checking for file" >&5    cat >conftest.$ac_ext <<_ACEOF
4649  echo $ECHO_N "checking for file... $ECHO_C" >&6  /* confdefs.h.  */
4650  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  _ACEOF
4651    echo $ECHO_N "(cached) $ECHO_C" >&6  cat confdefs.h >>conftest.$ac_ext
4652  else  cat >>conftest.$ac_ext <<_ACEOF
4653    case $MAGIC_CMD in  /* end confdefs.h.  */
4654    /*)  #include <ac_nonexistent.h>
4655    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  _ACEOF
4656    ;;  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4657    ?:/*)    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4658    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.    ac_status=$?
4659    ;;    grep -v '^ *+' conftest.er1 >conftest.err
4660    *)    rm -f conftest.er1
4661    ac_save_MAGIC_CMD="$MAGIC_CMD"    cat conftest.err >&5
4662    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663    ac_dummy="/usr/bin:$PATH"    (exit $ac_status); } >/dev/null; then
4664    for ac_dir in $ac_dummy; do    if test -s conftest.err; then
4665      test -z "$ac_dir" && ac_dir=.      ac_cpp_err=$ac_cxx_preproc_warn_flag
4666      if test -f $ac_dir/file; then      ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4667        lt_cv_path_MAGIC_CMD="$ac_dir/file"    else
4668        if test -n "$file_magic_test_file"; then      ac_cpp_err=
4669          case $deplibs_check_method in    fi
4670          "file_magic "*)  else
4671            file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"    ac_cpp_err=yes
4672            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  fi
4673            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  if test -z "$ac_cpp_err"; then
4674              egrep "$file_magic_regex" > /dev/null; then    # Broken: success on invalid input.
4675              :  continue
4676            else  else
4677              cat <<EOF 1>&2    echo "$as_me: failed program was:" >&5
4678    sed 's/^/| /' conftest.$ac_ext >&5
4679    
4680  *** Warning: the command libtool uses to detect shared libraries,    # Passes both tests.
4681  *** $file_magic_cmd, produces output that libtool cannot recognize.  ac_preproc_ok=:
4682  *** The result is that libtool may fail to recognize shared libraries  break
4683  *** as such.  This will affect the creation of libtool libraries that  fi
4684  *** depend on shared libraries, but programs linked with such libtool  rm -f conftest.err conftest.$ac_ext
 *** 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  
4685    
4686  EOF  done
4687            fi ;;  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4688          esac  rm -f conftest.err conftest.$ac_ext
4689        fi  if $ac_preproc_ok; then
4690        break    break
     fi  
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
4691  fi  fi
4692    
4693  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"      done
4694  if test -n "$MAGIC_CMD"; then      ac_cv_prog_CXXCPP=$CXXCPP
4695    echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5  
4696  echo "${ECHO_T}$MAGIC_CMD" >&6  fi
4697      CXXCPP=$ac_cv_prog_CXXCPP
4698  else  else
4699    echo "$as_me:$LINENO: result: no" >&5    ac_cv_prog_CXXCPP=$CXXCPP
 echo "${ECHO_T}no" >&6  
4700  fi  fi
4701    echo "$as_me:$LINENO: result: $CXXCPP" >&5
4702    echo "${ECHO_T}$CXXCPP" >&6
4703    ac_preproc_ok=false
4704    for ac_cxx_preproc_warn_flag in '' yes
4705    do
4706      # Use a header file that comes with gcc, so configuring glibc
4707      # with a fresh cross-compiler works.
4708      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709      # <limits.h> exists even on freestanding compilers.
4710      # On the NeXT, cc -E runs the code through the compiler's parser,
4711      # not just through cpp. "Syntax error" is here to catch this case.
4712      cat >conftest.$ac_ext <<_ACEOF
4713    /* confdefs.h.  */
4714    _ACEOF
4715    cat confdefs.h >>conftest.$ac_ext
4716    cat >>conftest.$ac_ext <<_ACEOF
4717    /* end confdefs.h.  */
4718    #ifdef __STDC__
4719    # include <limits.h>
4720    #else
4721    # include <assert.h>
4722    #endif
4723                         Syntax error
4724    _ACEOF
4725    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4726      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4727      ac_status=$?
4728      grep -v '^ *+' conftest.er1 >conftest.err
4729      rm -f conftest.er1
4730      cat conftest.err >&5
4731      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732      (exit $ac_status); } >/dev/null; then
4733      if test -s conftest.err; then
4734        ac_cpp_err=$ac_cxx_preproc_warn_flag
4735        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4736    else    else
4737      MAGIC_CMD=:      ac_cpp_err=
4738    fi    fi
4739    else
4740      ac_cpp_err=yes
4741  fi  fi
4742    if test -z "$ac_cpp_err"; then
4743      :
4744    else
4745      echo "$as_me: failed program was:" >&5
4746    sed 's/^/| /' conftest.$ac_ext >&5
4747    
4748    fi    # Broken: fails on valid input.
4749    ;;  continue
4750  esac  fi
4751    rm -f conftest.err conftest.$ac_ext
4752    
4753  if test -n "$ac_tool_prefix"; then    # OK, works on sane cases.  Now check whether non-existent headers
4754    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.    # can be detected and how.
4755  set dummy ${ac_tool_prefix}ranlib; ac_word=$2    cat >conftest.$ac_ext <<_ACEOF
4756  echo "$as_me:$LINENO: checking for $ac_word" >&5  /* confdefs.h.  */
4757  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  _ACEOF
4758  if test "${ac_cv_prog_RANLIB+set}" = set; then  cat confdefs.h >>conftest.$ac_ext
4759    echo $ECHO_N "(cached) $ECHO_C" >&6  cat >>conftest.$ac_ext <<_ACEOF
4760    /* end confdefs.h.  */
4761    #include <ac_nonexistent.h>
4762    _ACEOF
4763    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4764      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4765      ac_status=$?
4766      grep -v '^ *+' conftest.er1 >conftest.err
4767      rm -f conftest.er1
4768      cat conftest.err >&5
4769      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770      (exit $ac_status); } >/dev/null; then
4771      if test -s conftest.err; then
4772        ac_cpp_err=$ac_cxx_preproc_warn_flag
4773        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4774      else
4775        ac_cpp_err=
4776      fi
4777  else  else
4778    if test -n "$RANLIB"; then    ac_cpp_err=yes
4779    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  fi
4780    if test -z "$ac_cpp_err"; then
4781      # Broken: success on invalid input.
4782    continue
4783  else  else
4784  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    echo "$as_me: failed program was:" >&5
4785  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_RANLIB="${ac_tool_prefix}ranlib"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
4786    
4787      # Passes both tests.
4788    ac_preproc_ok=:
4789    break
4790  fi  fi
4791  fi  rm -f conftest.err conftest.$ac_ext
4792  RANLIB=$ac_cv_prog_RANLIB  
4793  if test -n "$RANLIB"; then  done
4794    echo "$as_me:$LINENO: result: $RANLIB" >&5  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4795  echo "${ECHO_T}$RANLIB" >&6  rm -f conftest.err conftest.$ac_ext
4796    if $ac_preproc_ok; then
4797      :
4798  else  else
4799    echo "$as_me:$LINENO: result: no" >&5    { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4800  echo "${ECHO_T}no" >&6  See \`config.log' for more details." >&5
4801    echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4802    See \`config.log' for more details." >&2;}
4803       { (exit 1); exit 1; }; }
4804  fi  fi
4805    
4806    ac_ext=cc
4807    ac_cpp='$CXXCPP $CPPFLAGS'
4808    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4811    
4812  fi  fi
4813  if test -z "$ac_cv_prog_RANLIB"; then  
4814    ac_ct_RANLIB=$RANLIB  
4815    # Extract the first word of "ranlib", so it can be a program name with args.  ac_ext=f
4816  set dummy ranlib; ac_word=$2  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4817    ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4818    ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4819    if test -n "$ac_tool_prefix"; then
4820      for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4821      do
4822        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4823    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4824  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4825  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4826  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_F77+set}" = set; then
4827    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4828  else  else
4829    if test -n "$ac_ct_RANLIB"; then    if test -n "$F77"; then
4830    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.    ac_cv_prog_F77="$F77" # Let the user override the test.
4831  else  else
4832  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833  for as_dir in $PATH  for as_dir in $PATH
# Line 3888  do Line 4836  do
4836    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4837    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4838    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4839      ac_cv_prog_ac_ct_RANLIB="ranlib"      ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4840      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4841      break 2      break 2
4842    fi    fi
4843  done  done
4844  done  done
4845    
   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  
4846  fi  fi
4847  fi  fi
4848  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  F77=$ac_cv_prog_F77
4849  if test -n "$ac_ct_RANLIB"; then  if test -n "$F77"; then
4850    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5    echo "$as_me:$LINENO: result: $F77" >&5
4851  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$F77" >&6
4852  else  else
4853    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4854  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4855  fi  fi
4856    
4857    RANLIB=$ac_ct_RANLIB      test -n "$F77" && break
4858  else    done
   RANLIB="$ac_cv_prog_RANLIB"  
4859  fi  fi
4860    if test -z "$F77"; then
4861  if test -n "$ac_tool_prefix"; then    ac_ct_F77=$F77
4862    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.    for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4863  set dummy ${ac_tool_prefix}strip; ac_word=$2  do
4864      # Extract the first word of "$ac_prog", so it can be a program name with args.
4865    set dummy $ac_prog; ac_word=$2
4866  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4867  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4868  if test "${ac_cv_prog_STRIP+set}" = set; then  if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4869    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4870  else  else
4871    if test -n "$STRIP"; then    if test -n "$ac_ct_F77"; then
4872    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4873  else  else
4874  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875  for as_dir in $PATH  for as_dir in $PATH
# Line 3930  do Line 4878  do
4878    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4879    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4880    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4881      ac_cv_prog_STRIP="${ac_tool_prefix}strip"      ac_cv_prog_ac_ct_F77="$ac_prog"
4882      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4883      break 2      break 2
4884    fi    fi
# Line 3939  done Line 4887  done
4887    
4888  fi  fi
4889  fi  fi
4890  STRIP=$ac_cv_prog_STRIP  ac_ct_F77=$ac_cv_prog_ac_ct_F77
4891  if test -n "$STRIP"; then  if test -n "$ac_ct_F77"; then
4892    echo "$as_me:$LINENO: result: $STRIP" >&5    echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4893  echo "${ECHO_T}$STRIP" >&6  echo "${ECHO_T}$ac_ct_F77" >&6
4894  else  else
4895    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4896  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4897  fi  fi
4898    
4899  fi    test -n "$ac_ct_F77" && break
 if test -z "$ac_cv_prog_STRIP"; then  
   ac_ct_STRIP=$STRIP  
   # Extract the first word of "strip", so it can be a program name with args.  
 set dummy strip; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_STRIP"; then  
   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 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_STRIP="strip"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
4900  done  done
4901    
4902    test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"    F77=$ac_ct_F77
4903  fi  fi
 fi  
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  
 if test -n "$ac_ct_STRIP"; then  
   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5  
 echo "${ECHO_T}$ac_ct_STRIP" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   STRIP=$ac_ct_STRIP  
 else  
   STRIP="$ac_cv_prog_STRIP"  
 fi  
   
   
 enable_dlopen=no  
 enable_win32_dll=no  
   
 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.  
 if test "${enable_libtool_lock+set}" = set; then  
   enableval="$enable_libtool_lock"  
4904    
 fi;  
 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes  
4905    
4906  # Some flags need to be propagated to the compiler or linker for good  # Provide some information about the compiler.
4907  # libtool support.  echo "$as_me:4907:" \
4908  case $host in       "checking for Fortran 77 compiler version" >&5
4909  *-*-irix6*)  ac_compiler=`set X $ac_compile; echo $2`
4910    # Find out which ABI we are using.  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4911    echo '#line 4012 "configure"' > conftest.$ac_ext    (eval $ac_compiler --version </dev/null >&5) 2>&5
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (eval $ac_compile) 2>&5  
4912    ac_status=$?    ac_status=$?
4913    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914    (exit $ac_status); }; then    (exit $ac_status); }
4915      case `/usr/bin/file conftest.$ac_objext` in  { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4916      *32-bit*)    (eval $ac_compiler -v </dev/null >&5) 2>&5
4917        LD="${LD-ld} -32"    ac_status=$?
4918        ;;    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919      *N32*)    (exit $ac_status); }
4920        LD="${LD-ld} -n32"  { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4921        ;;    (eval $ac_compiler -V </dev/null >&5) 2>&5
4922      *64-bit*)    ac_status=$?
4923        LD="${LD-ld} -64"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924        ;;    (exit $ac_status); }
4925      esac  rm -f a.out
   fi  
   rm -rf conftest*  
   ;;  
4926    
4927  *-*-sco3.2v5*)  # If we don't use `.F' as extension, the preprocessor is not run on the
4928    # On SCO OpenServer 5, we need -belf to get full-featured binaries.  # input file.  (Note that this only needs to work for GNU compilers.)
4929    SAVE_CFLAGS="$CFLAGS"  ac_save_ext=$ac_ext
4930    CFLAGS="$CFLAGS -belf"  ac_ext=F
4931    echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5  echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4932  echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4933  if test "${lt_cv_cc_needs_belf+set}" = set; then  if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4934    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4935  else  else
4936      cat >conftest.$ac_ext <<_ACEOF
4937          program main
4938    #ifndef __GNUC__
4939           choke me
4940    #endif
4941    
4942          end
      ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
   
      cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
4943  _ACEOF  _ACEOF
4944  cat confdefs.h >>conftest.$ac_ext  rm -f conftest.$ac_objext
4945  cat >>conftest.$ac_ext <<_ACEOF  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4946  /* end confdefs.h.  */    (eval $ac_compile) 2>conftest.er1
4947      ac_status=$?
4948      grep -v '^ *+' conftest.er1 >conftest.err
4949      rm -f conftest.er1
4950      cat conftest.err >&5
4951      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952      (exit $ac_status); } &&
4953             { ac_try='test -z "$ac_f77_werror_flag"
4954                             || test ! -s conftest.err'
4955      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956      (eval $ac_try) 2>&5
4957      ac_status=$?
4958