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

Diff of /code/trunk/configure

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

revision 74 by nigel, Sat Feb 24 21:40:30 2007 UTC revision 75 by nigel, Sat Feb 24 21:40:37 2007 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.57.  # Generated by GNU Autoconf 2.59.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Copyright (C) 2003 Free Software Foundation, Inc.
 # Free Software Foundation, Inc.  
6  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
7  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
8  ## --------------------- ##  ## --------------------- ##
# Line 20  if test -n "${ZSH_VERSION+set}" && (emul Line 19  if test -n "${ZSH_VERSION+set}" && (emul
19  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20    set -o posix    set -o posix
21  fi  fi
22    DUALCASE=1; export DUALCASE # for MKS sh
23    
24  # Support unset when possible.  # Support unset when possible.
25  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26    as_unset=unset    as_unset=unset
27  else  else
28    as_unset=false    as_unset=false
# Line 41  for as_var in \ Line 41  for as_var in \
41    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42    LC_TELEPHONE LC_TIME    LC_TELEPHONE LC_TIME
43  do  do
44    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45      eval $as_var=C; export $as_var      eval $as_var=C; export $as_var
46    else    else
47      $as_unset $as_var      $as_unset $as_var
# Line 218  rm -f conf$$ conf$$.exe conf$$.file Line 218  rm -f conf$$ conf$$.exe conf$$.file
218  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
219    as_mkdir_p=:    as_mkdir_p=:
220  else  else
221      test -d ./-p && rmdir ./-p
222    as_mkdir_p=false    as_mkdir_p=false
223  fi  fi
224    
225  as_executable_p="test -f"  as_executable_p="test -f"
226    
227  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
228  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229    
230  # Sed expression to map a string onto a valid variable name.  # Sed expression to map a string onto a valid variable name.
231  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232    
233    
234  # IFS  # IFS
# Line 240  IFS=" $as_nl" Line 241  IFS=" $as_nl"
241  $as_unset CDPATH  $as_unset CDPATH
242    
243    
 # Find the correct PATH separator.  Usually this is `:', but  
 # DJGPP uses `;' like DOS.  
 if test "X${PATH_SEPARATOR+set}" != Xset; then  
   UNAME=${UNAME-`uname 2>/dev/null`}  
   case X$UNAME in  
     *-DOS) lt_cv_sys_path_separator=';' ;;  
     *)     lt_cv_sys_path_separator=':' ;;  
   esac  
 fi  
   
244    
245  # Check that we are running under the correct shell.  # Check that we are running under the correct shell.
246  SHELL=${CONFIG_SHELL-/bin/sh}  SHELL=${CONFIG_SHELL-/bin/sh}
# Line 268  if test "X$1" = X--no-reexec; then Line 259  if test "X$1" = X--no-reexec; then
259  elif test "X$1" = X--fallback-echo; then  elif test "X$1" = X--fallback-echo; then
260    # Avoid inline document here, it may be left over    # Avoid inline document here, it may be left over
261    :    :
262  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then  elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263    # Yippee, $echo works!    # Yippee, $echo works!
264    :    :
265  else  else
# Line 280  if test "X$1" = X--fallback-echo; then Line 271  if test "X$1" = X--fallback-echo; then
271    # used as fallback echo    # used as fallback echo
272    shift    shift
273    cat <<EOF    cat <<EOF
274    $*
275  EOF  EOF
276    exit 0    exit 0
277  fi  fi
278    
279  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
280  # if CDPATH is set.  # if CDPATH is set.
281  if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282    
283  if test -z "$ECHO"; then  if test -z "$ECHO"; then
284  if test "X${echo_test_string+set}" != Xset; then  if test "X${echo_test_string+set}" != Xset; then
# Line 314  else Line 305  else
305    #    #
306    # So, first we look for a working echo in the user's PATH.    # So, first we look for a working echo in the user's PATH.
307    
308    IFS="${IFS=   }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309    for dir in $PATH /usr/ucb; do    for dir in $PATH /usr/ucb; do
310        IFS="$lt_save_ifs"
311      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
# Line 324  else Line 316  else
316        break        break
317      fi      fi
318    done    done
319    IFS="$save_ifs"    IFS="$lt_save_ifs"
320    
321    if test "X$echo" = Xecho; then    if test "X$echo" = Xecho; then
322      # We didn't find a better echo, so look for alternatives.      # We didn't find a better echo, so look for alternatives.
# Line 398  fi Line 390  fi
390    
391    
392    
393    
394    tagnames=${tagnames+${tagnames},}CXX
395    
396    tagnames=${tagnames+${tagnames},}F77
397    
398  # Name of the host.  # Name of the host.
399  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400  # so uname gets run too.  # so uname gets run too.
# Line 466  ac_includes_default="\ Line 463  ac_includes_default="\
463  # include <unistd.h>  # include <unistd.h>
464  #endif"  #endif"
465    
466  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP EGREP LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS'
467  ac_subst_files=''  ac_subst_files=''
468    
469  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 825  done Line 822  done
822    
823  # Be sure to have absolute paths.  # Be sure to have absolute paths.
824  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825                localstatedir libdir includedir oldincludedir infodir mandir                localstatedir libdir includedir oldincludedir infodir mandir
826  do  do
827    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
828    case $ac_val in    case $ac_val in
# Line 865  if test -z "$srcdir"; then Line 862  if test -z "$srcdir"; then
862    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
863    ac_confdir=`(dirname "$0") 2>/dev/null ||    ac_confdir=`(dirname "$0") 2>/dev/null ||
864  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865           X"$0" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
866           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
867           X"$0" : 'X\(/\)' \| \           X"$0" : 'X\(/\)' \| \
868           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
869  echo X"$0" |  echo X"$0" |
870      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 927  ac_env_CPP_set=${CPP+set} Line 924  ac_env_CPP_set=${CPP+set}
924  ac_env_CPP_value=$CPP  ac_env_CPP_value=$CPP
925  ac_cv_env_CPP_set=${CPP+set}  ac_cv_env_CPP_set=${CPP+set}
926  ac_cv_env_CPP_value=$CPP  ac_cv_env_CPP_value=$CPP
927    ac_env_CXX_set=${CXX+set}
928    ac_env_CXX_value=$CXX
929    ac_cv_env_CXX_set=${CXX+set}
930    ac_cv_env_CXX_value=$CXX
931    ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932    ac_env_CXXFLAGS_value=$CXXFLAGS
933    ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934    ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935    ac_env_CXXCPP_set=${CXXCPP+set}
936    ac_env_CXXCPP_value=$CXXCPP
937    ac_cv_env_CXXCPP_set=${CXXCPP+set}
938    ac_cv_env_CXXCPP_value=$CXXCPP
939    ac_env_F77_set=${F77+set}
940    ac_env_F77_value=$F77
941    ac_cv_env_F77_set=${F77+set}
942    ac_cv_env_F77_value=$F77
943    ac_env_FFLAGS_set=${FFLAGS+set}
944    ac_env_FFLAGS_value=$FFLAGS
945    ac_cv_env_FFLAGS_set=${FFLAGS+set}
946    ac_cv_env_FFLAGS_value=$FFLAGS
947    
948  #  #
949  # Report the --help message.  # Report the --help message.
# Line 942  if test "$ac_init_help" = "long"; then Line 959  if test "$ac_init_help" = "long"; then
959      # The list generated by autoconf has been trimmed to remove many      # The list generated by autoconf has been trimmed to remove many
960      # options that are totally irrelevant to PCRE (e.g. relating to X),      # options that are totally irrelevant to PCRE (e.g. relating to X),
961      # or are not supported by its Makefile.      # or are not supported by its Makefile.
962        # The list generated by autoconf has been trimmed to remove many
963        # options that are totally irrelevant to PCRE (e.g. relating to X),
964        # or are not supported by its Makefile.
965        # The list generated by autoconf has been trimmed to remove many
966        # options that are totally irrelevant to PCRE (e.g. relating to X),
967        # or are not supported by its Makefile.
968        # The list generated by autoconf has been trimmed to remove many
969        # options that are totally irrelevant to PCRE (e.g. relating to X),
970        # or are not supported by its Makefile.
971    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
972    cat <<_ACEOF    cat <<_ACEOF
973  \`configure' configures this package to adapt to many kinds of systems.  \`configure' configures this package to adapt to many kinds of systems.
# Line 969  _ACEOF Line 995  _ACEOF
995    cat <<_ACEOF    cat <<_ACEOF
996  Installation directories:  Installation directories:
997    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
998                            [$ac_default_prefix]                            [$ac_default_prefix]
999    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1000                            [PREFIX]                            [PREFIX]
1001    
1002  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1003  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 999  if test -n "$ac_init_help"; then Line 1025  if test -n "$ac_init_help"; then
1025  Optional Features:  Optional Features:
1026    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1027    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1028    --enable-shared       build shared libraries default=yes    --enable-shared[     ]
1029    --enable-static       build static libraries default=yes                            build shared libraries [default=yes]
1030    --enable-fast-install       optimize for fast installation default=yes    --enable-static[     ]
1031                              build static libraries [default=yes]
1032      --enable-fast-install[     ]
1033                              optimize for fast installation [default=yes]
1034    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1035    --enable-utf8           enable UTF8 support    --enable-utf8           enable UTF8 support
1036      --enable-unicode-properties  enable Unicode properties support
1037    --enable-newline-is-cr  use CR as the newline character    --enable-newline-is-cr  use CR as the newline character
1038    --enable-newline-is-lf  use LF as the newline character    --enable-newline-is-lf  use LF as the newline character
1039    --enable-ebcdic         assume EBCDIC coding rather than ASCII    --enable-ebcdic         assume EBCDIC coding rather than ASCII
1040    --disable-stack-for-recursion  disable use of stack recursion when matching    --disable-stack-for-recursion  disable use of stack recursion when matching
1041    
1042  Optional Packages:  Optional Packages:
1043    --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1044    --with-pic              try to use only PIC/non-PIC objects default=use both    --with-pic              try to use only PIC/non-PIC objects [default=use
1045                              both]
1046      --with-tags[=TAGS]
1047                              include additional configurations [automatic]
1048    --with-posix-malloc-threshold=5  threshold for POSIX malloc usage    --with-posix-malloc-threshold=5  threshold for POSIX malloc usage
1049    --with-link-size=2    internal link size (2, 3, or 4 allowed)    --with-link-size=2    internal link size (2, 3, or 4 allowed)
1050    --with-match-limit=10000000      default limit on internal looping)    --with-match-limit=10000000      default limit on internal looping)
# Line 1024  Some influential environment variables: Line 1057  Some influential environment variables:
1057    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1058                headers in a nonstandard directory <include dir>                headers in a nonstandard directory <include dir>
1059    CPP         C preprocessor    CPP         C preprocessor
1060      CXX         C++ compiler command
1061      CXXFLAGS    C++ compiler flags
1062      CXXCPP      C++ preprocessor
1063      F77         Fortran 77 compiler command
1064      FFLAGS      Fortran 77 compiler flags
1065    
1066  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1067  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1061  case $srcdir in Line 1099  case $srcdir in
1099      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
1101  esac  esac
1102  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
1103  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
1104  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
1105  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
1106  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
1107  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
1108      case "$ac_dir" in
1109      .) ac_abs_builddir=`pwd`;;
1110      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1111      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1112      esac;;
1113    esac
1114    case $ac_abs_builddir in
1115    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116    *)
1117      case ${ac_top_builddir}. in
1118      .) ac_abs_top_builddir=$ac_abs_builddir;;
1119      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1120      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1121      esac;;
1122    esac
1123    case $ac_abs_builddir in
1124    .) ac_abs_srcdir=$ac_srcdir;;
1125    *)
1126      case $ac_srcdir in
1127      .) ac_abs_srcdir=$ac_abs_builddir;;
1128      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1129      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1130      esac;;
1131    esac
1132    case $ac_abs_builddir in
1133    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134    *)
1135      case $ac_top_srcdir in
1136      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1137      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1138      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1139      esac;;
1140    esac
1141    
1142      cd $ac_dir      cd $ac_dir
1143      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 1077  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 1148  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
1148        echo        echo
1149        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1150      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1151             test -f $ac_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1152        echo        echo
1153        $ac_configure --help        $ac_configure --help
1154      else      else
# Line 1091  test -n "$ac_init_help" && exit 0 Line 1162  test -n "$ac_init_help" && exit 0
1162  if $ac_init_version; then  if $ac_init_version; then
1163    cat <<\_ACEOF    cat <<\_ACEOF
1164    
1165  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1166  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1167  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1168  _ACEOF  _ACEOF
# Line 1104  This file contains any messages produced Line 1174  This file contains any messages produced
1174  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1175    
1176  It was created by $as_me, which was  It was created by $as_me, which was
1177  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1178    
1179    $ $0 $@    $ $0 $@
1180    
# Line 1181  do Line 1251  do
1251      2)      2)
1252        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1253        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1254          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1255        else        else
1256          case $ac_arg in          case $ac_arg in
1257            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1258            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1259            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1260            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1261              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1262                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1263              esac              esac
1264              ;;              ;;
1265            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1266          esac          esac
1267        fi        fi
1268        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1269        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1227  _ASBOX Line 1297  _ASBOX
1297      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1298      *ac_space=\ *)      *ac_space=\ *)
1299        sed -n \        sed -n \
1300          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1301            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1302        ;;        ;;
1303      *)      *)
1304        sed -n \        sed -n \
1305          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1306        ;;        ;;
1307      esac;      esac;
1308  }  }
# Line 1261  _ASBOX Line 1331  _ASBOX
1331        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1332        do        do
1333          eval ac_val=$`echo $ac_var`          eval ac_val=$`echo $ac_var`
1334          echo "$ac_var='"'"'$ac_val'"'"'"          echo "$ac_var='"'"'$ac_val'"'"'"
1335        done | sort        done | sort
1336        echo        echo
1337      fi      fi
# Line 1280  _ASBOX Line 1350  _ASBOX
1350        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1351      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1352    } >&5    } >&5
1353    rm -f core core.* *.core &&    rm -f core *.core &&
1354    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1355      exit $exit_status      exit $exit_status
1356       ' 0       ' 0
# Line 1360  fi Line 1430  fi
1430  # value.  # value.
1431  ac_cache_corrupted=false  ac_cache_corrupted=false
1432  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1433                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1434    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1435    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1436    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1377  echo "$as_me: error: \`$ac_var' was not Line 1447  echo "$as_me: error: \`$ac_var' was not
1447      ,);;      ,);;
1448      *)      *)
1449        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1450          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1451  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1452          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1453  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1454          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1455  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1456          ac_cache_corrupted=:          ac_cache_corrupted=:
1457        fi;;        fi;;
1458    esac    esac
1459    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1439  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1509  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509    
1510    
1511    
1512  PCRE_MAJOR=4  PCRE_MAJOR=5
1513  PCRE_MINOR=5  PCRE_MINOR=0
1514  PCRE_DATE=01-December-2003  PCRE_DATE=13-Sep-2004
1515  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}  PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
1516    
1517    
# Line 1788  ac_compiler=`set X $ac_compile; echo $2` Line 1858  ac_compiler=`set X $ac_compile; echo $2`
1858    (exit $ac_status); }    (exit $ac_status); }
1859    
1860  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
1861  /* confdefs.h.  */  /* confdefs.h.  */
1862  _ACEOF  _ACEOF
1863  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1808  ac_clean_files="$ac_clean_files a.out a. Line 1877  ac_clean_files="$ac_clean_files a.out a.
1877  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1878  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1879  # of exeext.  # of exeext.
1880  echo "$as_me:$LINENO: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1881  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1882  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1883  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1884    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 1829  do Line 1898  do
1898    test -f "$ac_file" || continue    test -f "$ac_file" || continue
1899    case $ac_file in    case $ac_file in
1900      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1901          ;;          ;;
1902      conftest.$ac_ext )      conftest.$ac_ext )
1903          # This is the source file.          # This is the source file.
1904          ;;          ;;
1905      [ab].out )      [ab].out )
1906          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
1907          # certainly right.          # certainly right.
1908          break;;          break;;
1909      *.* )      *.* )
1910          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1911          # FIXME: I believe we export ac_cv_exeext for Libtool,          # FIXME: I believe we export ac_cv_exeext for Libtool,
1912          # but it would be cool to find out if it's true.  Does anybody          # but it would be cool to find out if it's true.  Does anybody
1913          # maintain Libtool? --akim.          # maintain Libtool? --akim.
1914          export ac_cv_exeext          export ac_cv_exeext
1915          break;;          break;;
1916      * )      * )
1917          break;;          break;;
1918    esac    esac
1919  done  done
1920  else  else
# Line 1919  for ac_file in conftest.exe conftest con Line 1988  for ac_file in conftest.exe conftest con
1988    case $ac_file in    case $ac_file in
1989      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1990      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1991            export ac_cv_exeext            export ac_cv_exeext
1992            break;;            break;;
1993      * ) break;;      * ) break;;
1994    esac    esac
1995  done  done
# Line 1945  if test "${ac_cv_objext+set}" = set; the Line 2014  if test "${ac_cv_objext+set}" = set; the
2014    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2015  else  else
2016    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2017  /* confdefs.h.  */  /* confdefs.h.  */
2018  _ACEOF  _ACEOF
2019  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1996  if test "${ac_cv_c_compiler_gnu+set}" = Line 2064  if test "${ac_cv_c_compiler_gnu+set}" =
2064    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2065  else  else
2066    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2067  /* confdefs.h.  */  /* confdefs.h.  */
2068  _ACEOF  _ACEOF
2069  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2016  main () Line 2083  main ()
2083  _ACEOF  _ACEOF
2084  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2085  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2086    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2087    ac_status=$?    ac_status=$?
2088      grep -v '^ *+' conftest.er1 >conftest.err
2089      rm -f conftest.er1
2090      cat conftest.err >&5
2091    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092    (exit $ac_status); } &&    (exit $ac_status); } &&
2093           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2094                             || test ! -s conftest.err'
2095      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096      (eval $ac_try) 2>&5
2097      ac_status=$?
2098      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099      (exit $ac_status); }; } &&
2100             { ac_try='test -s conftest.$ac_objext'
2101    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2103    ac_status=$?    ac_status=$?
# Line 2033  sed 's/^/| /' conftest.$ac_ext >&5 Line 2110  sed 's/^/| /' conftest.$ac_ext >&5
2110    
2111  ac_compiler_gnu=no  ac_compiler_gnu=no
2112  fi  fi
2113  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2114  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2115    
2116  fi  fi
# Line 2049  if test "${ac_cv_prog_cc_g+set}" = set; Line 2126  if test "${ac_cv_prog_cc_g+set}" = set;
2126    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2127  else  else
2128    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2129  /* confdefs.h.  */  /* confdefs.h.  */
2130  _ACEOF  _ACEOF
2131  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2066  main () Line 2142  main ()
2142  _ACEOF  _ACEOF
2143  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2144  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2146    ac_status=$?    ac_status=$?
2147      grep -v '^ *+' conftest.er1 >conftest.err
2148      rm -f conftest.er1
2149      cat conftest.err >&5
2150    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151    (exit $ac_status); } &&    (exit $ac_status); } &&
2152           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2153                             || test ! -s conftest.err'
2154      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155      (eval $ac_try) 2>&5
2156      ac_status=$?
2157      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158      (exit $ac_status); }; } &&
2159             { ac_try='test -s conftest.$ac_objext'
2160    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2162    ac_status=$?    ac_status=$?
# Line 2083  sed 's/^/| /' conftest.$ac_ext >&5 Line 2169  sed 's/^/| /' conftest.$ac_ext >&5
2169    
2170  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2171  fi  fi
2172  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2173  fi  fi
2174  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2175  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2110  else Line 2196  else
2196    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
2197  ac_save_CC=$CC  ac_save_CC=$CC
2198  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2199  /* confdefs.h.  */  /* confdefs.h.  */
2200  _ACEOF  _ACEOF
2201  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2138  static char *f (char * (*g) (char **, in Line 2223  static char *f (char * (*g) (char **, in
2223    va_end (v);    va_end (v);
2224    return s;    return s;
2225  }  }
2226    
2227    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2228       function prototypes and stuff, but not '\xHH' hex character constants.
2229       These don't provoke an error unfortunately, instead are silently treated
2230       as 'x'.  The following induces an error, until -std1 is added to get
2231       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2232       array size at least.  It's necessary to write '\x00'==0 to get something
2233       that's true only with -std1.  */
2234    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2235    
2236  int test (int i, double x);  int test (int i, double x);
2237  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
2238  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 2164  do Line 2259  do
2259    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2260    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
2261  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2263    ac_status=$?    ac_status=$?
2264      grep -v '^ *+' conftest.er1 >conftest.err
2265      rm -f conftest.er1
2266      cat conftest.err >&5
2267    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268    (exit $ac_status); } &&    (exit $ac_status); } &&
2269           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2270                             || test ! -s conftest.err'
2271      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272      (eval $ac_try) 2>&5
2273      ac_status=$?
2274      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275      (exit $ac_status); }; } &&
2276             { ac_try='test -s conftest.$ac_objext'
2277    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2279    ac_status=$?    ac_status=$?
# Line 2181  else Line 2286  else
2286  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2287    
2288  fi  fi
2289  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
2290  done  done
2291  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
2292  CC=$ac_save_CC  CC=$ac_save_CC
# Line 2209  cat >conftest.$ac_ext <<_ACEOF Line 2314  cat >conftest.$ac_ext <<_ACEOF
2314  _ACEOF  _ACEOF
2315  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2316  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2318    ac_status=$?    ac_status=$?
2319      grep -v '^ *+' conftest.er1 >conftest.err
2320      rm -f conftest.er1
2321      cat conftest.err >&5
2322    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323    (exit $ac_status); } &&    (exit $ac_status); } &&
2324           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2325                             || test ! -s conftest.err'
2326      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327      (eval $ac_try) 2>&5
2328      ac_status=$?
2329      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330      (exit $ac_status); }; } &&
2331             { ac_try='test -s conftest.$ac_objext'
2332    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2334    ac_status=$?    ac_status=$?
2335    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2337    for ac_declaration in \    for ac_declaration in \
2338     ''\     '' \
    '#include <stdlib.h>' \  
2339     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2340     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2341     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2229  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2343  if { (eval echo "$as_me:$LINENO: \"$ac_c
2343     'void exit (int);'     'void exit (int);'
2344  do  do
2345    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2346  /* confdefs.h.  */  /* confdefs.h.  */
2347  _ACEOF  _ACEOF
2348  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2349  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2350  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2351  $ac_declaration  $ac_declaration
2352    #include <stdlib.h>
2353  int  int
2354  main ()  main ()
2355  {  {
# Line 2247  exit (42); Line 2360  exit (42);
2360  _ACEOF  _ACEOF
2361  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2362  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2364    ac_status=$?    ac_status=$?
2365      grep -v '^ *+' conftest.er1 >conftest.err
2366      rm -f conftest.er1
2367      cat conftest.err >&5
2368    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369    (exit $ac_status); } &&    (exit $ac_status); } &&
2370           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2371                             || test ! -s conftest.err'
2372      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373      (eval $ac_try) 2>&5
2374      ac_status=$?
2375      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376      (exit $ac_status); }; } &&
2377             { ac_try='test -s conftest.$ac_objext'
2378    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2380    ac_status=$?    ac_status=$?
# Line 2264  sed 's/^/| /' conftest.$ac_ext >&5 Line 2387  sed 's/^/| /' conftest.$ac_ext >&5
2387    
2388  continue  continue
2389  fi  fi
2390  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2391    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2392  /* confdefs.h.  */  /* confdefs.h.  */
2393  _ACEOF  _ACEOF
2394  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2283  exit (42); Line 2405  exit (42);
2405  _ACEOF  _ACEOF
2406  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2407  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2409    ac_status=$?    ac_status=$?
2410      grep -v '^ *+' conftest.er1 >conftest.err
2411      rm -f conftest.er1
2412      cat conftest.err >&5
2413    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414    (exit $ac_status); } &&    (exit $ac_status); } &&
2415           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2416                             || test ! -s conftest.err'
2417      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418      (eval $ac_try) 2>&5
2419      ac_status=$?
2420      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421      (exit $ac_status); }; } &&
2422             { ac_try='test -s conftest.$ac_objext'
2423    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2425    ac_status=$?    ac_status=$?
# Line 2299  else Line 2431  else
2431  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2432    
2433  fi  fi
2434  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2435  done  done
2436  rm -f conftest*  rm -f conftest*
2437  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2313  else Line 2445  else
2445  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2446    
2447  fi  fi
2448  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2449  ac_ext=c  ac_ext=c
2450  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2451  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2454    
2455    
2456    
2457  ac_aux_dir=  ac_aux_dir=
2458  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2459    if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
# Line 2356  ac_configure="$SHELL $ac_aux_dir/configu Line 2490  ac_configure="$SHELL $ac_aux_dir/configu
2490  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2491  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2492  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2493    # OS/2's system install, which has a completely different semantic
2494  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2495  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2496  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 2372  do Line 2507  do
2507  case $as_dir/ in  case $as_dir/ in
2508    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
2509    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2510      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2511    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
2512    *)    *)
2513      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 2379  case $as_dir/ in Line 2515  case $as_dir/ in
2515      # by default.      # by default.
2516      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
2517        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
2518          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2519            if test $ac_prog = install &&            if test $ac_prog = install &&
2520              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2521              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
2522              :              :
2523            elif test $ac_prog = install &&            elif test $ac_prog = install &&
2524              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2526              :              :
2527            else            else
2528              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2529              break 3              break 3
2530            fi            fi
2531          fi          fi
2532        done        done
2533      done      done
2534      ;;      ;;
# Line 2423  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2559  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2559  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2560    
2561    
2562    
2563  # Check whether --enable-shared or --disable-shared was given.  # Check whether --enable-shared or --disable-shared was given.
2564  if test "${enable_shared+set}" = set; then  if test "${enable_shared+set}" = set; then
2565    enableval="$enable_shared"    enableval="$enable_shared"
2566    p=${PACKAGE-default}    p=${PACKAGE-default}
2567  case $enableval in      case $enableval in
2568  yes) enable_shared=yes ;;      yes) enable_shared=yes ;;
2569  no) enable_shared=no ;;      no) enable_shared=no ;;
2570  *)      *)
2571    enable_shared=no        enable_shared=no
2572    # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
2573    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2574    for pkg in $enableval; do        for pkg in $enableval; do
2575      if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
2576        enable_shared=yes          if test "X$pkg" = "X$p"; then
2577      fi            enable_shared=yes
2578    done          fi
2579    IFS="$ac_save_ifs"        done
2580    ;;        IFS="$lt_save_ifs"
2581  esac        ;;
2582        esac
2583  else  else
2584    enable_shared=yes    enable_shared=yes
2585  fi;  fi;
2586    
2587  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
2588  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
2589    enableval="$enable_static"    enableval="$enable_static"
2590    p=${PACKAGE-default}    p=${PACKAGE-default}
2591  case $enableval in      case $enableval in
2592  yes) enable_static=yes ;;      yes) enable_static=yes ;;
2593  no) enable_static=no ;;      no) enable_static=no ;;
2594  *)      *)
2595    enable_static=no       enable_static=no
2596    # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
2597    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2598    for pkg in $enableval; do        for pkg in $enableval; do
2599      if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
2600        enable_static=yes          if test "X$pkg" = "X$p"; then
2601      fi            enable_static=yes
2602    done          fi
2603    IFS="$ac_save_ifs"        done
2604    ;;        IFS="$lt_save_ifs"
2605  esac        ;;
2606        esac
2607  else  else
2608    enable_static=yes    enable_static=yes
2609  fi;  fi;
2610    
2611  # Check whether --enable-fast-install or --disable-fast-install was given.  # Check whether --enable-fast-install or --disable-fast-install was given.
2612  if test "${enable_fast_install+set}" = set; then  if test "${enable_fast_install+set}" = set; then
2613    enableval="$enable_fast_install"    enableval="$enable_fast_install"
2614    p=${PACKAGE-default}    p=${PACKAGE-default}
2615  case $enableval in      case $enableval in
2616  yes) enable_fast_install=yes ;;      yes) enable_fast_install=yes ;;
2617  no) enable_fast_install=no ;;      no) enable_fast_install=no ;;
2618  *)      *)
2619    enable_fast_install=no        enable_fast_install=no
2620    # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
2621    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2622    for pkg in $enableval; do        for pkg in $enableval; do
2623      if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
2624        enable_fast_install=yes          if test "X$pkg" = "X$p"; then
2625      fi            enable_fast_install=yes
2626    done          fi
2627    IFS="$ac_save_ifs"        done
2628    ;;        IFS="$lt_save_ifs"
2629  esac        ;;
2630        esac
2631  else  else
2632    enable_fast_install=yes    enable_fast_install=yes
2633  fi;  fi;
2634    
2635  # Make sure we can run config.sub.  # Make sure we can run config.sub.
2636  $ac_config_sub sun4 >/dev/null 2>&1 ||  $ac_config_sub sun4 >/dev/null 2>&1 ||
2637    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5    { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
# Line 2543  host_vendor=`echo $ac_cv_host | sed 's/^ Line 2686  host_vendor=`echo $ac_cv_host | sed 's/^
2686  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2687    
2688    
2689    echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2690    echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
2691    if test "${lt_cv_path_SED+set}" = set; then
2692      echo $ECHO_N "(cached) $ECHO_C" >&6
2693    else
2694      # Loop through the user's path and test for sed and gsed.
2695    # Then use that list of sed's as ones to test for truncation.
2696    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697    for as_dir in $PATH
2698    do
2699      IFS=$as_save_IFS
2700      test -z "$as_dir" && as_dir=.
2701      for lt_ac_prog in sed gsed; do
2702        for ac_exec_ext in '' $ac_executable_extensions; do
2703          if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
2704            lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2705          fi
2706        done
2707      done
2708    done
2709    lt_ac_max=0
2710    lt_ac_count=0
2711    # Add /usr/xpg4/bin/sed as it is typically found on Solaris
2712    # along with /bin/sed that truncates output.
2713    for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
2714      test ! -f $lt_ac_sed && break
2715      cat /dev/null > conftest.in
2716      lt_ac_count=0
2717      echo $ECHO_N "0123456789$ECHO_C" >conftest.in
2718      # Check for GNU sed and select it if it is found.
2719      if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
2720        lt_cv_path_SED=$lt_ac_sed
2721        break
2722      fi
2723      while true; do
2724        cat conftest.in conftest.in >conftest.tmp
2725        mv conftest.tmp conftest.in
2726        cp conftest.in conftest.nl
2727        echo >>conftest.nl
2728        $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
2729        cmp -s conftest.out conftest.nl || break
2730        # 10000 chars as input seems more than enough
2731        test $lt_ac_count -gt 10 && break
2732        lt_ac_count=`expr $lt_ac_count + 1`
2733        if test $lt_ac_count -gt $lt_ac_max; then
2734          lt_ac_max=$lt_ac_count
2735          lt_cv_path_SED=$lt_ac_sed
2736        fi
2737      done
2738    done
2739    
2740    fi
2741    
2742    SED=$lt_cv_path_SED
2743    echo "$as_me:$LINENO: result: $SED" >&5
2744    echo "${ECHO_T}$SED" >&6
2745    
2746    echo "$as_me:$LINENO: checking for egrep" >&5
2747    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2748    if test "${ac_cv_prog_egrep+set}" = set; then
2749      echo $ECHO_N "(cached) $ECHO_C" >&6
2750    else
2751      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2752        then ac_cv_prog_egrep='grep -E'
2753        else ac_cv_prog_egrep='egrep'
2754        fi
2755    fi
2756    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2757    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2758     EGREP=$ac_cv_prog_egrep
2759    
2760    
2761    
2762  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
2763  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
# Line 2554  fi; Line 2769  fi;
2769  ac_prog=ld  ac_prog=ld
2770  if test "$GCC" = yes; then  if test "$GCC" = yes; then
2771    # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
2772    echo "$as_me:$LINENO: checking for ld used by GCC" >&5    echo "$as_me:$LINENO: checking for ld used by $CC" >&5
2773  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6  echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
2774    case $host in    case $host in
2775    *-*-mingw*)    *-*-mingw*)
2776      # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
# Line 2565  echo $ECHO_N "checking for ld used by GC Line 2780  echo $ECHO_N "checking for ld used by GC
2780    esac    esac
2781    case $ac_prog in    case $ac_prog in
2782      # Accept absolute paths.      # Accept absolute paths.
2783      [\\/]* | [A-Za-z]:[\\/]*)      [\\/]* | ?:[\\/]*)
2784        re_direlt='/[^/][^/]*/\.\./'        re_direlt='/[^/][^/]*/\.\./'
2785        # Canonicalize the path of ld        # Canonicalize the pathname of ld
2786        ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2787        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2788          ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`          ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2789        done        done
2790        test -z "$LD" && LD="$ac_prog"        test -z "$LD" && LD="$ac_prog"
2791        ;;        ;;
# Line 2594  if test "${lt_cv_path_LD+set}" = set; th Line 2809  if test "${lt_cv_path_LD+set}" = set; th
2809    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2810  else  else
2811    if test -z "$LD"; then    if test -z "$LD"; then
2812    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2813    for ac_dir in $PATH; do    for ac_dir in $PATH; do
2814        IFS="$lt_save_ifs"
2815      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
2816      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2817        lt_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
2818        # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
2819        # but apparently some GNU ld's only accept -v.        # but apparently some GNU ld's only accept -v.
2820        # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
2821        if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2822          *GNU* | *'with BFD'*)
2823          test "$with_gnu_ld" != no && break          test "$with_gnu_ld" != no && break
2824        else          ;;
2825          *)
2826          test "$with_gnu_ld" != yes && break          test "$with_gnu_ld" != yes && break
2827        fi          ;;
2828          esac
2829      fi      fi
2830    done    done
2831    IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
2832  else  else
2833    lt_cv_path_LD="$LD" # Let the user override the test with a path.    lt_cv_path_LD="$LD" # Let the user override the test with a path.
2834  fi  fi
# Line 2632  if test "${lt_cv_prog_gnu_ld+set}" = set Line 2851  if test "${lt_cv_prog_gnu_ld+set}" = set
2851    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2852  else  else
2853    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2854  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  case `$LD -v 2>&1 </dev/null` in
2855    *GNU* | *'with BFD'*)
2856    lt_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
2857  else    ;;
2858    *)
2859    lt_cv_prog_gnu_ld=no    lt_cv_prog_gnu_ld=no
2860  fi    ;;
2861    esac
2862  fi  fi
2863  echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5  echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
2864  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
# Line 2653  fi Line 2875  fi
2875  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5  echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
2876  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6  echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
2877  reload_flag=$lt_cv_ld_reload_flag  reload_flag=$lt_cv_ld_reload_flag
2878  test -n "$reload_flag" && reload_flag=" $reload_flag"  case $reload_flag in
2879    "" | " "*) ;;
2880    *) reload_flag=" $reload_flag" ;;
2881    esac
2882    reload_cmds='$LD$reload_flag -o $output$reload_objs'
2883    case $host_os in
2884      darwin*)
2885        if test "$GCC" = yes; then
2886          reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
2887        else
2888          reload_cmds='$LD$reload_flag -o $output$reload_objs'
2889        fi
2890        ;;
2891    esac
2892    
2893  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
2894  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
# Line 2664  else Line 2899  else
2899    # Let the user override the test.    # Let the user override the test.
2900    lt_cv_path_NM="$NM"    lt_cv_path_NM="$NM"
2901  else  else
2902    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2903    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2904        IFS="$lt_save_ifs"
2905      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
2906      tmp_nm=$ac_dir/${ac_tool_prefix}nm      tmp_nm="$ac_dir/${ac_tool_prefix}nm"
2907      if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2908        # Check to see if the nm accepts a BSD-compat flag.        # Check to see if the nm accepts a BSD-compat flag.
2909        # Adding the `sed 1q' prevents false positives on HP-UX, which says:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2910        #   nm: unknown option "B" ignored        #   nm: unknown option "B" ignored
2911        # Tru64's nm complains that /dev/null is an invalid object file        # Tru64's nm complains that /dev/null is an invalid object file
2912        if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2913          */dev/null* | *'Invalid file or object type'*)
2914          lt_cv_path_NM="$tmp_nm -B"          lt_cv_path_NM="$tmp_nm -B"
2915          break          break
2916        elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then          ;;
2917          lt_cv_path_NM="$tmp_nm -p"        *)
2918          break          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2919        else          */dev/null*)
2920          lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but            lt_cv_path_NM="$tmp_nm -p"
2921          continue # so that we can try to find one that supports BSD flags            break
2922        fi            ;;
2923            *)
2924              lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2925              continue # so that we can try to find one that supports BSD flags
2926              ;;
2927            esac
2928          esac
2929      fi      fi
2930    done    done
2931    IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
2932    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2933  fi  fi
2934  fi  fi
2935    echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
2936    echo "${ECHO_T}$lt_cv_path_NM" >&6
2937  NM="$lt_cv_path_NM"  NM="$lt_cv_path_NM"
 echo "$as_me:$LINENO: result: $NM" >&5  
 echo "${ECHO_T}$NM" >&6  
2938    
2939  echo "$as_me:$LINENO: checking whether ln -s works" >&5  echo "$as_me:$LINENO: checking whether ln -s works" >&5
2940  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
# Line 2705  else Line 2947  else
2947  echo "${ECHO_T}no, using $LN_S" >&6  echo "${ECHO_T}no, using $LN_S" >&6
2948  fi  fi
2949    
2950  echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5  echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
2951  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6  echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
2952  if test "${lt_cv_deplibs_check_method+set}" = set; then  if test "${lt_cv_deplibs_check_method+set}" = set; then
2953    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2954  else  else
# Line 2719  lt_cv_deplibs_check_method='unknown' Line 2961  lt_cv_deplibs_check_method='unknown'
2961  # `unknown' -- same as none, but documents that we really don't know.  # `unknown' -- same as none, but documents that we really don't know.
2962  # 'pass_all' -- all dependencies passed with no checks.  # 'pass_all' -- all dependencies passed with no checks.
2963  # 'test_compile' -- check by making test program.  # 'test_compile' -- check by making test program.
2964  # ['file_magic [regex]'] -- check by looking for files in library path  # 'file_magic [[regex]]' -- check by looking for files in library path
2965  # which responds to the $file_magic_cmd with a given egrep regex.  # which responds to the $file_magic_cmd with a given extended regex.
2966  # If you have `file' or equivalent on your system and you're not sure  # If you have `file' or equivalent on your system and you're not sure
2967  # whether `pass_all' will *always* work, you probably want this one.  # whether `pass_all' will *always* work, you probably want this one.
2968    
# Line 2733  beos*) Line 2975  beos*)
2975    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2976    ;;    ;;
2977    
2978  bsdi4*)  bsdi[45]*)
2979    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2980    lt_cv_file_magic_cmd='/usr/bin/file -L'    lt_cv_file_magic_cmd='/usr/bin/file -L'
2981    lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
2982    ;;    ;;
2983    
2984  cygwin* | mingw* | pw32*)  cygwin*)
2985      # func_win32_libid is a shell function defined in ltmain.sh
2986      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2987      lt_cv_file_magic_cmd='func_win32_libid'
2988      ;;
2989    
2990    mingw* | pw32*)
2991      # Base MSYS/MinGW do not provide the 'file' command needed by
2992      # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2993    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2994    lt_cv_file_magic_cmd='$OBJDUMP -f'    lt_cv_file_magic_cmd='$OBJDUMP -f'
2995    ;;    ;;
2996    
2997  darwin* | rhapsody*)  darwin* | rhapsody*)
2998    lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_cmd='/usr/bin/file -L'  
   case "$host_os" in  
   rhapsody* | darwin1.012)  
     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`  
     ;;  
   *) # Darwin 1.3 on  
     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'  
     ;;  
   esac  
2999    ;;    ;;
3000    
3001  freebsd*)  freebsd* | kfreebsd*-gnu)
3002    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3003      case $host_cpu in      case $host_cpu in
3004      i*86 )      i*86 )
# Line 2777  gnu*) Line 3018  gnu*)
3018    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3019    ;;    ;;
3020    
3021  hpux10.20*|hpux11*)  hpux10.20* | hpux11*)
   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'  
3022    lt_cv_file_magic_cmd=/usr/bin/file    lt_cv_file_magic_cmd=/usr/bin/file
3023    lt_cv_file_magic_test_file=/usr/lib/libc.sl    case "$host_cpu" in
3024    ;;    ia64*)
3025        lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3026  irix5* | irix6*)      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3027    case $host_os in      ;;
3028    irix5*)    hppa*64*)
3029      # this will be overridden with pass_all, but let us keep it just in case      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3030      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3031      ;;      ;;
3032    *)    *)
3033      case $LD in      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3034      *-32|*"-32 ") libmagic=32-bit;;      lt_cv_file_magic_test_file=/usr/lib/libc.sl
     *-n32|*"-n32 ") libmagic=N32;;  
     *-64|*"-64 ") libmagic=64-bit;;  
     *) libmagic=never-match;;  
     esac  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"  
3035      ;;      ;;
3036    esac    esac
3037    lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`    ;;
3038    
3039    irix5* | irix6* | nonstopux*)
3040      case $LD in
3041      *-32|*"-32 ") libmagic=32-bit;;
3042      *-n32|*"-n32 ") libmagic=N32;;
3043      *-64|*"-64 ") libmagic=64-bit;;
3044      *) libmagic=never-match;;
3045      esac
3046    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3047    ;;    ;;
3048    
3049  # This must be Linux ELF.  # This must be Linux ELF.
3050  linux-gnu*)  linux*)
3051    case $host_cpu in    case $host_cpu in
3052    alpha* | i*86 | powerpc* | sparc* | ia64* )    alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*)
3053      lt_cv_deplibs_check_method=pass_all ;;      lt_cv_deplibs_check_method=pass_all ;;
3054    *)    *)
3055      # glibc up to 2.1.1 does not perform some relocations on ARM      # glibc up to 2.1.1 does not perform some relocations on ARM
3056        # this will be overridden with pass_all, but let us keep it just in case
3057      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3058    esac    esac
3059    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3060      lt_cv_deplibs_check_method=pass_all
3061    ;;    ;;
3062    
3063  netbsd*)  netbsd*)
3064    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3065      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3066    else    else
3067      lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3068    fi    fi
3069    ;;    ;;
3070    
# Line 2830  newos6*) Line 3074  newos6*)
3074    lt_cv_file_magic_test_file=/usr/lib/libnls.so    lt_cv_file_magic_test_file=/usr/lib/libnls.so
3075    ;;    ;;
3076    
3077    nto-qnx*)
3078      lt_cv_deplibs_check_method=unknown
3079      ;;
3080    
3081    openbsd*)
3082      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3083        lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
3084      else
3085        lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3086      fi
3087      ;;
3088    
3089  osf3* | osf4* | osf5*)  osf3* | osf4* | osf5*)
   # this will be overridden with pass_all, but let us keep it just in case  
   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'  
   lt_cv_file_magic_test_file=/shlib/libc.so  
3090    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3091    ;;    ;;
3092    
# Line 2843  sco3.2v5*) Line 3096  sco3.2v5*)
3096    
3097  solaris*)  solaris*)
3098    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_test_file=/lib/libc.so  
   ;;  
   
 sysv5uw[78]* | sysv4*uw2*)  
   lt_cv_deplibs_check_method=pass_all  
3099    ;;    ;;
3100    
3101  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
# Line 2868  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 3116  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3116      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3117      lt_cv_file_magic_test_file=/lib/libc.so      lt_cv_file_magic_test_file=/lib/libc.so
3118      ;;      ;;
3119      siemens)
3120        lt_cv_deplibs_check_method=pass_all
3121        ;;
3122    esac    esac
3123    ;;    ;;
3124    
3125    sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
3126      lt_cv_deplibs_check_method=pass_all
3127      ;;
3128  esac  esac
3129    
3130  fi  fi
# Line 2877  echo "$as_me:$LINENO: result: $lt_cv_dep Line 3132  echo "$as_me:$LINENO: result: $lt_cv_dep
3132  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6  echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3133  file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
3134  deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
3135    test -z "$deplibs_check_method" && deplibs_check_method=unknown
3136    
3137    
3138    
3139    
3140    # If no C compiler was specified, use CC.
3141    LTCC=${LTCC-"$CC"}
3142    
3143    # Allow CC to be a program name with arguments.
3144    compiler=$CC
3145    
3146    
3147    # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3148    if test "${enable_libtool_lock+set}" = set; then
3149      enableval="$enable_libtool_lock"
3150    
3151  # Check for command to grab the raw symbol name followed by C symbol from nm.  fi;
3152  echo "$as_me:$LINENO: checking command to parse $NM output" >&5  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6  
 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   
 # These are sane defaults that work on at least a few old systems.  
 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]  
   
 # Character class describing NM global symbol codes.  
 symcode='[BCDEGRST]'  
   
 # Regexp to match symbols that can be accessed directly from C.  
 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  
   
 # Transform the above into a raw symbol and a C symbol.  
 symxfrm='\1 \2\3 \3'  
   
 # Transform an extracted symbol line into a proper C declaration  
 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"  
   
 # Define system-specific variables.  
 case $host_os in  
 aix*)  
   symcode='[BCDT]'  
   ;;  
 cygwin* | mingw* | pw32*)  
   symcode='[ABCDGISTW]'  
   ;;  
 hpux*) # Its linker distinguishes data from code symbols  
   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"  
   ;;  
 irix*)  
   symcode='[BCDEGRST]'  
   ;;  
 solaris* | sysv5*)  
   symcode='[BDT]'  
   ;;  
 sysv4)  
   symcode='[DFNSTU]'  
   ;;  
 esac  
   
 # Handle CRLF in mingw tool chain  
 opt_cr=  
 case $host_os in  
 mingw*)  
   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp  
   ;;  
 esac  
   
 # If we're using GNU nm, then use its standard symbol codes.  
 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then  
   symcode='[ABCDGISTW]'  
 fi  
   
 # Try without a prefix undercore, then with it.  
 for ac_symprfx in "" "_"; do  
   
   # Write the raw and C identifiers.  
 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[         ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"  
   
   # Check to see that the pipe works correctly.  
   pipe_works=no  
   rm -f conftest*  
   cat > conftest.$ac_ext <<EOF  
 #ifdef __cplusplus  
 extern "C" {  
 #endif  
 char nm_test_var;  
 void nm_test_func(){}  
 #ifdef __cplusplus  
 }  
 #endif  
 int main(){nm_test_var='a';nm_test_func();return(0);}  
 EOF  
3153    
3154    # Some flags need to be propagated to the compiler or linker for good
3155    # libtool support.
3156    case $host in
3157    ia64-*-hpux*)
3158      # Find out which ABI we are using.
3159      echo 'int i;' > conftest.$ac_ext
3160    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
3162    ac_status=$?    ac_status=$?
3163    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164    (exit $ac_status); }; then    (exit $ac_status); }; then
3165      # Now try to grab the symbols.      case `/usr/bin/file conftest.$ac_objext` in
3166      nlist=conftest.nm      *ELF-32*)
3167      if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5        HPUX_IA64_MODE="32"
3168    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5        ;;
3169        *ELF-64*)
3170          HPUX_IA64_MODE="64"
3171          ;;
3172        esac
3173      fi
3174      rm -rf conftest*
3175      ;;
3176    *-*-irix6*)
3177      # Find out which ABI we are using.
3178      echo '#line 3173 "configure"' > conftest.$ac_ext
3179      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180      (eval $ac_compile) 2>&5
3181    ac_status=$?    ac_status=$?
3182    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183    (exit $ac_status); } && test -s "$nlist"; then    (exit $ac_status); }; then
3184        # Try sorting and uniquifying the output.     if test "$lt_cv_prog_gnu_ld" = yes; then
3185        if sort "$nlist" | uniq > "$nlist"T; then      case `/usr/bin/file conftest.$ac_objext` in
3186          mv -f "$nlist"T "$nlist"      *32-bit*)
3187        else        LD="${LD-ld} -melf32bsmip"
3188          rm -f "$nlist"T        ;;
3189        fi      *N32*)
3190          LD="${LD-ld} -melf32bmipn32"
3191        # Make sure that we snagged all the symbols we need.        ;;
3192        if egrep ' nm_test_var$' "$nlist" >/dev/null; then      *64-bit*)
3193          if egrep ' nm_test_func$' "$nlist" >/dev/null; then        LD="${LD-ld} -melf64bmip"
3194            cat <<EOF > conftest.$ac_ext        ;;
3195  #ifdef __cplusplus      esac
3196  extern "C" {     else
3197  #endif      case `/usr/bin/file conftest.$ac_objext` in
3198        *32-bit*)
3199  EOF        LD="${LD-ld} -32"
3200            # Now generate the symbol file.        ;;
3201            eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'      *N32*)
3202          LD="${LD-ld} -n32"
3203            cat <<EOF >> conftest.$ac_ext        ;;
3204  #if defined (__STDC__) && __STDC__      *64-bit*)
3205  # define lt_ptr_t void *        LD="${LD-ld} -64"
3206  #else        ;;
3207  # define lt_ptr_t char *      esac
3208  # define const     fi
3209  #endif    fi
3210      rm -rf conftest*
3211  /* The mapping between symbol names and symbols. */    ;;
 const struct {  
   const char *name;  
   lt_ptr_t address;  
 }  
 lt_preloaded_symbols[] =  
 {  
 EOF  
           sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext  
           cat <<\EOF >> conftest.$ac_ext  
   {0, (lt_ptr_t) 0}  
 };  
3212    
3213  #ifdef __cplusplus  x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3214  }    # Find out which ABI we are using.
3215  #endif    echo 'int i;' > conftest.$ac_ext
3216  EOF    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217            # Now try linking the two files.    (eval $ac_compile) 2>&5
           mv conftest.$ac_objext conftstm.$ac_objext  
           save_LIBS="$LIBS"  
           save_CFLAGS="$CFLAGS"  
           LIBS="conftstm.$ac_objext"  
           CFLAGS="$CFLAGS$no_builtin_flag"  
           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
3218    ac_status=$?    ac_status=$?
3219    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220    (exit $ac_status); } && test -s conftest; then    (exit $ac_status); }; then
3221              pipe_works=yes      case "`/usr/bin/file conftest.o`" in
3222            fi      *32-bit*)
3223            LIBS="$save_LIBS"        case $host in
3224            CFLAGS="$save_CFLAGS"          x86_64-*linux*)
3225          else            LD="${LD-ld} -m elf_i386"
3226            echo "cannot find nm_test_func in $nlist" >&5            ;;
3227          fi          ppc64-*linux*|powerpc64-*linux*)
3228        else            LD="${LD-ld} -m elf32ppclinux"
3229          echo "cannot find nm_test_var in $nlist" >&5            ;;
3230        fi          s390x-*linux*)
3231      else            LD="${LD-ld} -m elf_s390"
3232        echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5            ;;
3233      fi          sparc64-*linux*)
3234    else            LD="${LD-ld} -m elf32_sparc"
3235      echo "$progname: failed program was:" >&5            ;;
3236      cat conftest.$ac_ext >&5        esac
3237    fi        ;;
3238    rm -f conftest* conftst*      *64-bit*)
3239          case $host in
3240    # Do not use the global_symbol_pipe unless it works.          x86_64-*linux*)
3241    if test "$pipe_works" = yes; then            LD="${LD-ld} -m elf_x86_64"
3242      break            ;;
3243    else          ppc*-*linux*|powerpc*-*linux*)
3244      lt_cv_sys_global_symbol_pipe=            LD="${LD-ld} -m elf64ppc"
3245              ;;
3246            s390*-*linux*)
3247              LD="${LD-ld} -m elf64_s390"
3248              ;;
3249            sparc*-*linux*)
3250              LD="${LD-ld} -m elf64_sparc"
3251              ;;
3252          esac
3253          ;;
3254        esac
3255    fi    fi
3256  done    rm -rf conftest*
3257      ;;
 fi  
3258    
3259  global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"  *-*-sco3.2v5*)
3260  if test -z "$lt_cv_sys_global_symbol_pipe"; then    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3261    global_symbol_to_cdecl=    SAVE_CFLAGS="$CFLAGS"
3262  else    CFLAGS="$CFLAGS -belf"
3263    global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"    echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3264  fi  echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3265  if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then  if test "${lt_cv_cc_needs_belf+set}" = set; then
3266    echo "$as_me:$LINENO: result: failed" >&5    echo $ECHO_N "(cached) $ECHO_C" >&6
 echo "${ECHO_T}failed" >&6  
3267  else  else
3268    echo "$as_me:$LINENO: result: ok" >&5    ac_ext=c
 echo "${ECHO_T}ok" >&6  
 fi  
   
 ac_ext=c  
3269  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
3270  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273  echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5  
3274  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6       cat >conftest.$ac_ext <<_ACEOF
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
 fi  
 if test -z "$CPP"; then  
   if test "${ac_cv_prog_CPP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
       # Double quotes because CPP needs to be expanded  
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  
     do  
       ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
 do  
   # Use a header file that comes with gcc, so configuring glibc  
   # with a fresh cross-compiler works.  
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
3275  /* confdefs.h.  */  /* confdefs.h.  */
3276  _ACEOF  _ACEOF
3277  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3278  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3279  /* end confdefs.h.  */  /* end confdefs.h.  */
3280  #ifdef __STDC__  
3281  # include <limits.h>  int
3282  #else  main ()
3283  # include <assert.h>  {
3284  #endif  
3285                       Syntax error    ;
3286      return 0;
3287    }
3288  _ACEOF  _ACEOF
3289  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext conftest$ac_exeext
3290    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3291      (eval $ac_link) 2>conftest.er1
3292    ac_status=$?    ac_status=$?
3293    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3294    rm -f conftest.er1    rm -f conftest.er1
3295    cat conftest.err >&5    cat conftest.err >&5
3296    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } &&
3298    if test -s conftest.err; then           { ac_try='test -z "$ac_c_werror_flag"
3299      ac_cpp_err=$ac_c_preproc_warn_flag                           || test ! -s conftest.err'
3300    else    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301      ac_cpp_err=    (eval $ac_try) 2>&5
3302    fi    ac_status=$?
3303      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304      (exit $ac_status); }; } &&
3305             { ac_try='test -s conftest$ac_exeext'
3306      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307      (eval $ac_try) 2>&5
3308      ac_status=$?
3309      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310      (exit $ac_status); }; }; then
3311      lt_cv_cc_needs_belf=yes
3312  else  else
3313    ac_cpp_err=yes    echo "$as_me: failed program was:" >&5
3314  fi  sed 's/^/| /' conftest.$ac_ext >&5
3315    
3316    lt_cv_cc_needs_belf=no
3317    fi
3318    rm -f conftest.err conftest.$ac_objext \
3319          conftest$ac_exeext conftest.$ac_ext
3320         ac_ext=c
3321    ac_cpp='$CPP $CPPFLAGS'
3322    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325    
3326    fi
3327    echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3328    echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3329      if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3330        # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3331        CFLAGS="$SAVE_CFLAGS"
3332      fi
3333      ;;
3334    *-*-cygwin* | *-*-mingw* | *-*-pw32*)
3335      if test -n "$ac_tool_prefix"; then
3336      # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3337    set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3338    echo "$as_me:$LINENO: checking for $ac_word" >&5
3339    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3340    if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3341      echo $ECHO_N "(cached) $ECHO_C" >&6
3342    else
3343      if test -n "$DLLTOOL"; then
3344      ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3345    else
3346    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347    for as_dir in $PATH
3348    do
3349      IFS=$as_save_IFS
3350      test -z "$as_dir" && as_dir=.
3351      for ac_exec_ext in '' $ac_executable_extensions; do
3352      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3353        ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3354        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355        break 2
3356      fi
3357    done
3358    done
3359    
3360    fi
3361    fi
3362    DLLTOOL=$ac_cv_prog_DLLTOOL
3363    if test -n "$DLLTOOL"; then
3364      echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3365    echo "${ECHO_T}$DLLTOOL" >&6
3366    else
3367      echo "$as_me:$LINENO: result: no" >&5
3368    echo "${ECHO_T}no" >&6
3369    fi
3370    
3371    fi
3372    if test -z "$ac_cv_prog_DLLTOOL"; then
3373      ac_ct_DLLTOOL=$DLLTOOL
3374      # Extract the first word of "dlltool", so it can be a program name with args.
3375    set dummy dlltool; ac_word=$2
3376    echo "$as_me:$LINENO: checking for $ac_word" >&5
3377    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3378    if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3379      echo $ECHO_N "(cached) $ECHO_C" >&6
3380    else
3381      if test -n "$ac_ct_DLLTOOL"; then
3382      ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3383    else
3384    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385    for as_dir in $PATH
3386    do
3387      IFS=$as_save_IFS
3388      test -z "$as_dir" && as_dir=.
3389      for ac_exec_ext in '' $ac_executable_extensions; do
3390      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391        ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3392        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393        break 2
3394      fi
3395    done
3396    done
3397    
3398      test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3399    fi
3400    fi
3401    ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3402    if test -n "$ac_ct_DLLTOOL"; then
3403      echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3404    echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3405    else
3406      echo "$as_me:$LINENO: result: no" >&5
3407    echo "${ECHO_T}no" >&6
3408    fi
3409    
3410      DLLTOOL=$ac_ct_DLLTOOL
3411    else
3412      DLLTOOL="$ac_cv_prog_DLLTOOL"
3413    fi
3414    
3415      if test -n "$ac_tool_prefix"; then
3416      # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3417    set dummy ${ac_tool_prefix}as; ac_word=$2
3418    echo "$as_me:$LINENO: checking for $ac_word" >&5
3419    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420    if test "${ac_cv_prog_AS+set}" = set; then
3421      echo $ECHO_N "(cached) $ECHO_C" >&6
3422    else
3423      if test -n "$AS"; then
3424      ac_cv_prog_AS="$AS" # Let the user override the test.
3425    else
3426    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427    for as_dir in $PATH
3428    do
3429      IFS=$as_save_IFS
3430      test -z "$as_dir" && as_dir=.
3431      for ac_exec_ext in '' $ac_executable_extensions; do
3432      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433        ac_cv_prog_AS="${ac_tool_prefix}as"
3434        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3435        break 2
3436      fi
3437    done
3438    done
3439    
3440    fi
3441    fi
3442    AS=$ac_cv_prog_AS
3443    if test -n "$AS"; then
3444      echo "$as_me:$LINENO: result: $AS" >&5
3445    echo "${ECHO_T}$AS" >&6
3446    else
3447      echo "$as_me:$LINENO: result: no" >&5
3448    echo "${ECHO_T}no" >&6
3449    fi
3450    
3451    fi
3452    if test -z "$ac_cv_prog_AS"; then
3453      ac_ct_AS=$AS
3454      # Extract the first word of "as", so it can be a program name with args.
3455    set dummy as; ac_word=$2
3456    echo "$as_me:$LINENO: checking for $ac_word" >&5
3457    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458    if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3459      echo $ECHO_N "(cached) $ECHO_C" >&6
3460    else
3461      if test -n "$ac_ct_AS"; then
3462      ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3463    else
3464    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465    for as_dir in $PATH
3466    do
3467      IFS=$as_save_IFS
3468      test -z "$as_dir" && as_dir=.
3469      for ac_exec_ext in '' $ac_executable_extensions; do
3470      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471        ac_cv_prog_ac_ct_AS="as"
3472        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473        break 2
3474      fi
3475    done
3476    done
3477    
3478      test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3479    fi
3480    fi
3481    ac_ct_AS=$ac_cv_prog_ac_ct_AS
3482    if test -n "$ac_ct_AS"; then
3483      echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3484    echo "${ECHO_T}$ac_ct_AS" >&6
3485    else
3486      echo "$as_me:$LINENO: result: no" >&5
3487    echo "${ECHO_T}no" >&6
3488    fi
3489    
3490      AS=$ac_ct_AS
3491    else
3492      AS="$ac_cv_prog_AS"
3493    fi
3494    
3495      if test -n "$ac_tool_prefix"; then
3496      # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3497    set dummy ${ac_tool_prefix}objdump; ac_word=$2
3498    echo "$as_me:$LINENO: checking for $ac_word" >&5
3499    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500    if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3501      echo $ECHO_N "(cached) $ECHO_C" >&6
3502    else
3503      if test -n "$OBJDUMP"; then
3504      ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3505    else
3506    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507    for as_dir in $PATH
3508    do
3509      IFS=$as_save_IFS
3510      test -z "$as_dir" && as_dir=.
3511      for ac_exec_ext in '' $ac_executable_extensions; do
3512      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513        ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3514        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515        break 2
3516      fi
3517    done
3518    done
3519    
3520    fi
3521    fi
3522    OBJDUMP=$ac_cv_prog_OBJDUMP
3523    if test -n "$OBJDUMP"; then
3524      echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3525    echo "${ECHO_T}$OBJDUMP" >&6
3526    else
3527      echo "$as_me:$LINENO: result: no" >&5
3528    echo "${ECHO_T}no" >&6
3529    fi
3530    
3531    fi
3532    if test -z "$ac_cv_prog_OBJDUMP"; then
3533      ac_ct_OBJDUMP=$OBJDUMP
3534      # Extract the first word of "objdump", so it can be a program name with args.
3535    set dummy objdump; ac_word=$2
3536    echo "$as_me:$LINENO: checking for $ac_word" >&5
3537    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538    if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3539      echo $ECHO_N "(cached) $ECHO_C" >&6
3540    else
3541      if test -n "$ac_ct_OBJDUMP"; then
3542      ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3543    else
3544    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545    for as_dir in $PATH
3546    do
3547      IFS=$as_save_IFS
3548      test -z "$as_dir" && as_dir=.
3549      for ac_exec_ext in '' $ac_executable_extensions; do
3550      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551        ac_cv_prog_ac_ct_OBJDUMP="objdump"
3552        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553        break 2
3554      fi
3555    done
3556    done
3557    
3558      test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3559    fi
3560    fi
3561    ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3562    if test -n "$ac_ct_OBJDUMP"; then
3563      echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3564    echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3565    else
3566      echo "$as_me:$LINENO: result: no" >&5
3567    echo "${ECHO_T}no" >&6
3568    fi
3569    
3570      OBJDUMP=$ac_ct_OBJDUMP
3571    else
3572      OBJDUMP="$ac_cv_prog_OBJDUMP"
3573    fi
3574    
3575      ;;
3576    
3577    esac
3578    
3579    need_locks="$enable_libtool_lock"
3580    
3581    
3582    ac_ext=c
3583    ac_cpp='$CPP $CPPFLAGS'
3584    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3588    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3589    # On Suns, sometimes $CPP names a directory.
3590    if test -n "$CPP" && test -d "$CPP"; then
3591      CPP=
3592    fi
3593    if test -z "$CPP"; then
3594      if test "${ac_cv_prog_CPP+set}" = set; then
3595      echo $ECHO_N "(cached) $ECHO_C" >&6
3596    else
3597          # Double quotes because CPP needs to be expanded
3598        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3599        do
3600          ac_preproc_ok=false
3601    for ac_c_preproc_warn_flag in '' yes
3602    do
3603      # Use a header file that comes with gcc, so configuring glibc
3604      # with a fresh cross-compiler works.
3605      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3606      # <limits.h> exists even on freestanding compilers.
3607      # On the NeXT, cc -E runs the code through the compiler's parser,
3608      # not just through cpp. "Syntax error" is here to catch this case.
3609      cat >conftest.$ac_ext <<_ACEOF
3610    /* confdefs.h.  */
3611    _ACEOF
3612    cat confdefs.h >>conftest.$ac_ext
3613    cat >>conftest.$ac_ext <<_ACEOF
3614    /* end confdefs.h.  */
3615    #ifdef __STDC__
3616    # include <limits.h>
3617    #else
3618    # include <assert.h>
3619    #endif
3620                         Syntax error
3621    _ACEOF
3622    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3623      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3624      ac_status=$?
3625      grep -v '^ *+' conftest.er1 >conftest.err
3626      rm -f conftest.er1
3627      cat conftest.err >&5
3628      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629      (exit $ac_status); } >/dev/null; then
3630      if test -s conftest.err; then
3631        ac_cpp_err=$ac_c_preproc_warn_flag
3632        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3633      else
3634        ac_cpp_err=
3635      fi
3636    else
3637      ac_cpp_err=yes
3638    fi
3639  if test -z "$ac_cpp_err"; then  if test -z "$ac_cpp_err"; then
3640    :    :
3641  else  else
# Line 3144  rm -f conftest.err conftest.$ac_ext Line 3650  rm -f conftest.err conftest.$ac_ext
3650    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3651    # can be detected and how.    # can be detected and how.
3652    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3653  /* confdefs.h.  */  /* confdefs.h.  */
3654  _ACEOF  _ACEOF
3655  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3162  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3667  if { (eval echo "$as_me:$LINENO: \"$ac_c
3667    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3668    if test -s conftest.err; then    if test -s conftest.err; then
3669      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3670        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3671    else    else
3672      ac_cpp_err=      ac_cpp_err=
3673    fi    fi
# Line 3208  do Line 3714  do
3714    # 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,
3715    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3716    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3717  /* confdefs.h.  */  /* confdefs.h.  */
3718  _ACEOF  _ACEOF
3719  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3219  cat >>conftest.$ac_ext <<_ACEOF Line 3724  cat >>conftest.$ac_ext <<_ACEOF
3724  #else  #else
3725  # include <assert.h>  # include <assert.h>
3726  #endif  #endif
3727                       Syntax error                       Syntax error
3728  _ACEOF  _ACEOF
3729  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3730    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3231  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3736  if { (eval echo "$as_me:$LINENO: \"$ac_c
3736    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3737    if test -s conftest.err; then    if test -s conftest.err; then
3738      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3739        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3740    else    else
3741      ac_cpp_err=      ac_cpp_err=
3742    fi    fi
# Line 3251  rm -f conftest.err conftest.$ac_ext Line 3757  rm -f conftest.err conftest.$ac_ext
3757    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3758    # can be detected and how.    # can be detected and how.
3759    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3760  /* confdefs.h.  */  /* confdefs.h.  */
3761  _ACEOF  _ACEOF
3762  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3269  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3774  if { (eval echo "$as_me:$LINENO: \"$ac_c
3774    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3775    if test -s conftest.err; then    if test -s conftest.err; then
3776      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3777        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3778    else    else
3779      ac_cpp_err=      ac_cpp_err=
3780    fi    fi
# Line 3308  ac_link='$CC -o conftest$ac_exeext $CFLA Line 3814  ac_link='$CC -o conftest$ac_exeext $CFLA
3814  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815    
3816    
3817  echo "$as_me:$LINENO: checking for egrep" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3818  echo $ECHO_N "checking for egrep... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3819  if test "${ac_cv_prog_egrep+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if echo a | (grep -E '(a|b)') >/dev/null 2>&1  
     then ac_cv_prog_egrep='grep -E'  
     else ac_cv_prog_egrep='egrep'  
     fi  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5  
 echo "${ECHO_T}$ac_cv_prog_egrep" >&6  
  EGREP=$ac_cv_prog_egrep  
   
   
 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  
3820    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3821  else  else
3822    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3823  /* confdefs.h.  */  /* confdefs.h.  */
3824  _ACEOF  _ACEOF
3825  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3350  main () Line 3840  main ()
3840  _ACEOF  _ACEOF
3841  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3842  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3843    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3844    ac_status=$?    ac_status=$?
3845      grep -v '^ *+' conftest.er1 >conftest.err
3846      rm -f conftest.er1
3847      cat conftest.err >&5
3848    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849    (exit $ac_status); } &&    (exit $ac_status); } &&
3850           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3851                             || test ! -s conftest.err'
3852      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853      (eval $ac_try) 2>&5
3854      ac_status=$?
3855      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856      (exit $ac_status); }; } &&
3857             { ac_try='test -s conftest.$ac_objext'
3858    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3860    ac_status=$?    ac_status=$?
# Line 3367  sed 's/^/| /' conftest.$ac_ext >&5 Line 3867  sed 's/^/| /' conftest.$ac_ext >&5
3867    
3868  ac_cv_header_stdc=no  ac_cv_header_stdc=no
3869  fi  fi
3870  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3871    
3872  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3873    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3874    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3875  /* confdefs.h.  */  /* confdefs.h.  */
3876  _ACEOF  _ACEOF
3877  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3394  fi Line 3893  fi
3893  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3894    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3895    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3896  /* confdefs.h.  */  /* confdefs.h.  */
3897  _ACEOF  _ACEOF
3898  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3419  if test $ac_cv_header_stdc = yes; then Line 3917  if test $ac_cv_header_stdc = yes; then
3917    :    :
3918  else  else
3919    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3920  /* confdefs.h.  */  /* confdefs.h.  */
3921  _ACEOF  _ACEOF
3922  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3431  cat >>conftest.$ac_ext <<_ACEOF Line 3928  cat >>conftest.$ac_ext <<_ACEOF
3928  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3929  #else  #else
3930  # define ISLOWER(c) \  # define ISLOWER(c) \
3931                     (('a' <= (c) && (c) <= 'i') \                     (('a' <= (c) && (c) <= 'i') \
3932                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
3933                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
3934  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3935  #endif  #endif
3936    
# Line 3444  main () Line 3941  main ()
3941    int i;    int i;
3942    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
3943      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
3944          || toupper (i) != TOUPPER (i))          || toupper (i) != TOUPPER (i))
3945        exit(2);        exit(2);
3946    exit (0);    exit (0);
3947  }  }
# Line 3469  sed 's/^/| /' conftest.$ac_ext >&5 Line 3966  sed 's/^/| /' conftest.$ac_ext >&5
3966  ( exit $ac_status )  ( exit $ac_status )
3967  ac_cv_header_stdc=no  ac_cv_header_stdc=no
3968  fi  fi
3969  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3970  fi  fi
3971  fi  fi
3972  fi  fi
# Line 3494  fi Line 3991  fi
3991    
3992    
3993  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3994                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
3995  do  do
3996  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3997  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 3503  if eval "test \"\${$as_ac_Header+set}\" Line 4000  if eval "test \"\${$as_ac_Header+set}\"
4000    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4001  else  else
4002    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4003  /* confdefs.h.  */  /* confdefs.h.  */
4004  _ACEOF  _ACEOF
4005  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3515  $ac_includes_default Line 4011  $ac_includes_default
4011  _ACEOF  _ACEOF
4012  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4013  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4014    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4015    ac_status=$?    ac_status=$?
4016      grep -v '^ *+' conftest.er1 >conftest.err
4017      rm -f conftest.er1
4018      cat conftest.err >&5
4019    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020    (exit $ac_status); } &&    (exit $ac_status); } &&
4021           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4022                             || test ! -s conftest.err'
4023      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024      (eval $ac_try) 2>&5
4025      ac_status=$?
4026      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027      (exit $ac_status); }; } &&
4028             { ac_try='test -s conftest.$ac_objext'
4029    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4031    ac_status=$?    ac_status=$?
# Line 3532  sed 's/^/| /' conftest.$ac_ext >&5 Line 4038  sed 's/^/| /' conftest.$ac_ext >&5
4038    
4039  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
4040  fi  fi
4041  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4042  fi  fi
4043  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4044  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 3563  else Line 4069  else
4069  echo "$as_me:$LINENO: checking $ac_header usability" >&5  echo "$as_me:$LINENO: checking $ac_header usability" >&5
4070  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4071  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4072  /* confdefs.h.  */  /* confdefs.h.  */
4073  _ACEOF  _ACEOF
4074  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3574  $ac_includes_default Line 4079  $ac_includes_default
4079  _ACEOF  _ACEOF
4080  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4081  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4082    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4083    ac_status=$?    ac_status=$?
4084      grep -v '^ *+' conftest.er1 >conftest.err
4085      rm -f conftest.er1
4086      cat conftest.err >&5
4087    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088    (exit $ac_status); } &&    (exit $ac_status); } &&
4089           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4090                             || test ! -s conftest.err'
4091      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4092      (eval $ac_try) 2>&5
4093      ac_status=$?
4094      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095      (exit $ac_status); }; } &&
4096             { ac_try='test -s conftest.$ac_objext'
4097    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4099    ac_status=$?    ac_status=$?
# Line 3591  sed 's/^/| /' conftest.$ac_ext >&5 Line 4106  sed 's/^/| /' conftest.$ac_ext >&5
4106    
4107  ac_header_compiler=no  ac_header_compiler=no
4108  fi  fi
4109  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4110  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4111  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
4112    
# Line 3599  echo "${ECHO_T}$ac_header_compiler" >&6 Line 4114  echo "${ECHO_T}$ac_header_compiler" >&6
4114  echo "$as_me:$LINENO: checking $ac_header presence" >&5  echo "$as_me:$LINENO: checking $ac_header presence" >&5
4115  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4116  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4117  /* confdefs.h.  */  /* confdefs.h.  */
4118  _ACEOF  _ACEOF
4119  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3617  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4131  if { (eval echo "$as_me:$LINENO: \"$ac_c
4131    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4132    if test -s conftest.err; then    if test -s conftest.err; then
4133      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4134        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4135    else    else
4136      ac_cpp_err=      ac_cpp_err=
4137    fi    fi
# Line 3636  echo "$as_me:$LINENO: result: $ac_header Line 4151  echo "$as_me:$LINENO: result: $ac_header
4151  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
4152    
4153  # So?  What about this header?  # So?  What about this header?
4154  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4155    yes:no )    yes:no: )
4156      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4157  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4158      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4159  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4160      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
4161      ;;      ;;
4162    no:yes )    no:yes:* )
4163      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4164  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4165      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4166  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4167        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4168    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4169        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4170    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4171      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4172  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4173        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4174    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4175      (      (
4176        cat <<\_ASBOX        cat <<\_ASBOX
4177  ## ------------------------------------ ##  ## ------------------------------------------ ##
4178  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
4179  ## ------------------------------------ ##  ## ------------------------------------------ ##
4180  _ASBOX  _ASBOX
4181      ) |      ) |
4182        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 3673  echo $ECHO_N "checking for $ac_header... Line 4187  echo $ECHO_N "checking for $ac_header...
4187  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
4188    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4189  else  else
4190    eval "$as_ac_Header=$ac_header_preproc"    eval "$as_ac_Header=\$ac_header_preproc"
4191  fi  fi
4192  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4193  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 3688  fi Line 4202  fi
4202    
4203  done  done
4204    
4205    ac_ext=cc
4206    ac_cpp='$CXXCPP $CPPFLAGS'
4207    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209  # Only perform the check for file, if the check method requires it  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 case $deplibs_check_method in  
 file_magic*)  
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then  
     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5  
 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6  
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   case $MAGIC_CMD in  
   /*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  
   ;;  
   ?:/*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  
   ;;  
   *)  
   ac_save_MAGIC_CMD="$MAGIC_CMD"  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="/usr/bin:$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/${ac_tool_prefix}file; then  
       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"  
       if test -n "$file_magic_test_file"; then  
         case $deplibs_check_method in  
         "file_magic "*)  
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  
           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  
             egrep "$file_magic_regex" > /dev/null; then  
             :  
           else  
             cat <<EOF 1>&2  
   
 *** Warning: the command libtool uses to detect shared libraries,  
 *** $file_magic_cmd, produces output that libtool cannot recognize.  
 *** The result is that libtool may fail to recognize shared libraries  
 *** as such.  This will affect the creation of libtool libraries that  
 *** depend on shared libraries, but programs linked with such libtool  
 *** libraries will work regardless of this problem.  Nevertheless, you  
 *** may want to report the problem to your system manager and/or to  
 *** bug-libtool@gnu.org  
   
 EOF  
           fi ;;  
         esac  
       fi  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
 fi  
   
 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  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
 if test -z "$lt_cv_path_MAGIC_CMD"; then  
   if test -n "$ac_tool_prefix"; then  
     echo "$as_me:$LINENO: checking for file" >&5  
 echo $ECHO_N "checking for file... $ECHO_C" >&6  
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   case $MAGIC_CMD in  
   /*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  
   ;;  
   ?:/*)  
   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.  
   ;;  
   *)  
   ac_save_MAGIC_CMD="$MAGIC_CMD"  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="/usr/bin:$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/file; then  
       lt_cv_path_MAGIC_CMD="$ac_dir/file"  
       if test -n "$file_magic_test_file"; then  
         case $deplibs_check_method in  
         "file_magic "*)  
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"  
           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"  
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |  
             egrep "$file_magic_regex" > /dev/null; then  
             :  
           else  
             cat <<EOF 1>&2  
   
 *** Warning: the command libtool uses to detect shared libraries,  
 *** $file_magic_cmd, produces output that libtool cannot recognize.  
 *** The result is that libtool may fail to recognize shared libraries  
 *** as such.  This will affect the creation of libtool libraries that  
 *** depend on shared libraries, but programs linked with such libtool  
 *** libraries will work regardless of this problem.  Nevertheless, you  
 *** may want to report the problem to your system manager and/or to  
 *** bug-libtool@gnu.org  
   
 EOF  
           fi ;;  
         esac  
       fi  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   MAGIC_CMD="$ac_save_MAGIC_CMD"  
   ;;  
 esac  
 fi  
   
 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  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   else  
     MAGIC_CMD=:  
   fi  
 fi  
   
   fi  
   ;;  
 esac  
   
4210  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
4211    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4212  set dummy ${ac_tool_prefix}ranlib; ac_word=$2    do
4213        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4214    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4215  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4216  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4217  if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_CXX+set}" = set; then
4218    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4219  else  else
4220    if test -n "$RANLIB"; then    if test -n "$CXX"; then
4221    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_cv_prog_CXX="$CXX" # Let the user override the test.
4222  else  else
4223  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224  for as_dir in $PATH  for as_dir in $PATH
# Line 3849  do Line 4227  do
4227    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4228    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4229    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4231      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
4232      break 2      break 2
4233    fi    fi
# Line 3858  done Line 4236  done
4236    
4237  fi  fi
4238  fi  fi
4239  RANLIB=$ac_cv_prog_RANLIB  CXX=$ac_cv_prog_CXX
4240  if test -n "$RANLIB"; then  if test -n "$CXX"; then
4241    echo "$as_me:$LINENO: result: $RANLIB" >&5    echo "$as_me:$LINENO: result: $CXX" >&5
4242  echo "${ECHO_T}$RANLIB" >&6  echo "${ECHO_T}$CXX" >&6
4243  else  else
4244    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4245  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4246  fi  fi
4247    
4248        test -n "$CXX" && break
4249      done
4250  fi  fi
4251  if test -z "$ac_cv_prog_RANLIB"; then  if test -z "$CXX"; then
4252    ac_ct_RANLIB=$RANLIB    ac_ct_CXX=$CXX
4253    # Extract the first word of "ranlib", so it can be a program name with args.    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4254  set dummy ranlib; ac_word=$2  do
4255      # Extract the first word of "$ac_prog", so it can be a program name with args.
4256    set dummy $ac_prog; ac_word=$2
4257  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4258  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4259  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4260    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4261  else  else
4262    if test -n "$ac_ct_RANLIB"; then    if test -n "$ac_ct_CXX"; then
4263    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4264  else  else
4265  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266  for as_dir in $PATH  for as_dir in $PATH
# Line 3887  do Line 4269  do
4269    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4270    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4271    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272      ac_cv_prog_ac_ct_RANLIB="ranlib"      ac_cv_prog_ac_ct_CXX="$ac_prog"
4273      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
4274      break 2      break 2
4275    fi    fi
4276  done  done
4277  done  done
4278    
   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  
4279  fi  fi
4280  fi  fi
4281  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4282  if test -n "$ac_ct_RANLIB"; then  if test -n "$ac_ct_CXX"; then
4283    echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5    echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4284  echo "${ECHO_T}$ac_ct_RANLIB" >&6  echo "${ECHO_T}$ac_ct_CXX" >&6
4285  else  else
4286    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4287  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4288  fi  fi
4289    
4290    RANLIB=$ac_ct_RANLIB    test -n "$ac_ct_CXX" && break
4291  else  done
4292    RANLIB="$ac_cv_prog_RANLIB"  test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4293    
4294      CXX=$ac_ct_CXX
4295  fi  fi
4296    
4297  if test -n "$ac_tool_prefix"; then  
4298    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  # Provide some information about the compiler.
4299  set dummy ${ac_tool_prefix}strip; ac_word=$2  echo "$as_me:$LINENO:" \
4300  echo "$as_me:$LINENO: checking for $ac_word" >&5       "checking for C++ compiler version" >&5
4301  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  ac_compiler=`set X $ac_compile; echo $2`
4302  if test "${ac_cv_prog_STRIP+set}" = set; then  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4303      (eval $ac_compiler --version </dev/null >&5) 2>&5
4304      ac_status=$?
4305      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306      (exit $ac_status); }
4307    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4308      (eval $ac_compiler -v </dev/null >&5) 2>&5
4309      ac_status=$?
4310      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311      (exit $ac_status); }
4312    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4313      (eval $ac_compiler -V </dev/null >&5) 2>&5
4314      ac_status=$?
4315      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316      (exit $ac_status); }
4317    
4318    echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4319    echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4320    if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4321    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4322  else  else
4323    if test -n "$STRIP"; then    cat >conftest.$ac_ext <<_ACEOF
4324    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.  /* confdefs.h.  */
4325  else  _ACEOF
4326  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  cat confdefs.h >>conftest.$ac_ext
4327  for as_dir in $PATH  cat >>conftest.$ac_ext <<_ACEOF
4328  do  /* end confdefs.h.  */
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
4329    
4330  fi  int
4331  fi  main ()
4332  STRIP=$ac_cv_prog_STRIP  {
4333  if test -n "$STRIP"; then  #ifndef __GNUC__
4334    echo "$as_me:$LINENO: result: $STRIP" >&5         choke me
4335  echo "${ECHO_T}$STRIP" >&6  #endif
4336    
4337      ;
4338      return 0;
4339    }
4340    _ACEOF
4341    rm -f conftest.$ac_objext
4342    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343      (eval $ac_compile) 2>conftest.er1
4344      ac_status=$?
4345      grep -v '^ *+' conftest.er1 >conftest.err
4346      rm -f conftest.er1
4347      cat conftest.err >&5
4348      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349      (exit $ac_status); } &&
4350             { ac_try='test -z "$ac_cxx_werror_flag"
4351                             || test ! -s conftest.err'
4352      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353      (eval $ac_try) 2>&5
4354      ac_status=$?
4355      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356      (exit $ac_status); }; } &&
4357             { ac_try='test -s conftest.$ac_objext'
4358      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359      (eval $ac_try) 2>&5
4360      ac_status=$?
4361      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362      (exit $ac_status); }; }; then
4363      ac_compiler_gnu=yes
4364  else  else
4365    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me: failed program was:" >&5
4366  echo "${ECHO_T}no" >&6  sed 's/^/| /' conftest.$ac_ext >&5
4367    
4368    ac_compiler_gnu=no
4369  fi  fi
4370    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4371    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4372    
4373  fi  fi
4374  if test -z "$ac_cv_prog_STRIP"; then  echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4375    ac_ct_STRIP=$STRIP  echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4376    # Extract the first word of "strip", so it can be a program name with args.  GXX=`test $ac_compiler_gnu = yes && echo yes`
4377  set dummy strip; ac_word=$2  ac_test_CXXFLAGS=${CXXFLAGS+set}
4378  echo "$as_me:$LINENO: checking for $ac_word" >&5  ac_save_CXXFLAGS=$CXXFLAGS
4379  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  CXXFLAGS="-g"
4380  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4381    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4382    if test "${ac_cv_prog_cxx_g+set}" = set; then
4383    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4384  else  else
4385    if test -n "$ac_ct_STRIP"; then    cat >conftest.$ac_ext <<_ACEOF
4386    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.  /* confdefs.h.  */
4387    _ACEOF
4388    cat confdefs.h >>conftest.$ac_ext
4389    cat >>conftest.$ac_ext <<_ACEOF
4390    /* end confdefs.h.  */
4391    
4392    int
4393    main ()
4394    {
4395    
4396      ;
4397      return 0;
4398    }
4399    _ACEOF
4400    rm -f conftest.$ac_objext
4401    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402      (eval $ac_compile) 2>conftest.er1
4403      ac_status=$?
4404      grep -v '^ *+' conftest.er1 >conftest.err
4405      rm -f conftest.er1
4406      cat conftest.err >&5
4407      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408      (exit $ac_status); } &&
4409             { ac_try='test -z "$ac_cxx_werror_flag"
4410                             || test ! -s conftest.err'
4411      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412      (eval $ac_try) 2>&5
4413      ac_status=$?
4414      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415      (exit $ac_status); }; } &&
4416             { ac_try='test -s conftest.$ac_objext'
4417      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418      (eval $ac_try) 2>&5
4419      ac_status=$?
4420      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421      (exit $ac_status); }; }; then
4422      ac_cv_prog_cxx_g=yes
4423  else  else
4424  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    echo "$as_me: failed program was:" >&5
4425  for as_dir in $PATH  sed 's/^/| /' conftest.$ac_ext >&5
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_STRIP="strip"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
4426    
4427    test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"  ac_cv_prog_cxx_g=no
4428  fi  fi
4429    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4430  fi  fi
4431  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4432  if test -n "$ac_ct_STRIP"; then  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4433    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5  if test "$ac_test_CXXFLAGS" = set; then
4434  echo "${ECHO_T}$ac_ct_STRIP" >&6    CXXFLAGS=$ac_save_CXXFLAGS
4435  else  elif test $ac_cv_prog_cxx_g = yes; then
4436    echo "$as_me:$LINENO: result: no" >&5    if test "$GXX" = yes; then
4437  echo "${ECHO_T}no" >&6      CXXFLAGS="-g -O2"
4438  fi    else
4439        CXXFLAGS="-g"
4440    STRIP=$ac_ct_STRIP    fi
4441  else  else
4442    STRIP="$ac_cv_prog_STRIP"    if test "$GXX" = yes; then
4443        CXXFLAGS="-O2"
4444      else
4445        CXXFLAGS=
4446      fi
4447  fi  fi
4448    for ac_declaration in \
4449       '' \
4450  enable_dlopen=no     'extern "C" void std::exit (int) throw (); using std::exit;' \
4451  enable_win32_dll=no     'extern "C" void std::exit (int); using std::exit;' \
4452       'extern "C" void exit (int) throw ();' \
4453  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.     'extern "C" void exit (int);' \
4454  if test "${enable_libtool_lock+set}" = set; then     'void exit (int);'
4455    enableval="$enable_libtool_lock"  do
4456      cat >conftest.$ac_ext <<_ACEOF
4457  fi;  /* confdefs.h.  */
4458  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes  _ACEOF
4459    cat confdefs.h >>conftest.$ac_ext
4460  # Some flags need to be propagated to the compiler or linker for good  cat >>conftest.$ac_ext <<_ACEOF
4461  # libtool support.  /* end confdefs.h.  */
4462  case $host in  $ac_declaration
4463  *-*-irix6*)  #include <stdlib.h>
4464    # Find out which ABI we are using.  int
4465    echo '#line 4014 "configure"' > conftest.$ac_ext  main ()
4466    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  {
4467    (eval $ac_compile) 2>&5  exit (42);
4468      ;
4469      return 0;
4470    }
4471    _ACEOF
4472    rm -f conftest.$ac_objext
4473    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4474      (eval $ac_compile) 2>conftest.er1
4475    ac_status=$?    ac_status=$?
4476      grep -v '^ *+' conftest.er1 >conftest.err
4477      rm -f conftest.er1
4478      cat conftest.err >&5
4479    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480    (exit $ac_status); }; then    (exit $ac_status); } &&
4481      case `/usr/bin/file conftest.$ac_objext` in           { ac_try='test -z "$ac_cxx_werror_flag"
4482      *32-bit*)                           || test ! -s conftest.err'
4483        LD="${LD-ld} -32"    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484        ;;    (eval $ac_try) 2>&5
4485      *N32*)    ac_status=$?
4486        LD="${LD-ld} -n32"    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487        ;;    (exit $ac_status); }; } &&
4488      *64-bit*)           { ac_try='test -s conftest.$ac_objext'
4489        LD="${LD-ld} -64"    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490        ;;    (eval $ac_try) 2>&5
4491      esac    ac_status=$?
4492    fi    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493    rm -rf conftest*    (exit $ac_status); }; }; then
4494    ;;    :
   
 *-*-sco3.2v5*)  
   # On SCO OpenServer 5, we need -belf to get full-featured binaries.  
   SAVE_CFLAGS="$CFLAGS"  
   CFLAGS="$CFLAGS -belf"  
   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5  
 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6  
 if test "${lt_cv_cc_needs_belf+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
4495  else  else
4496      echo "$as_me: failed program was:" >&5
4497    sed 's/^/| /' conftest.$ac_ext >&5
4498    
4499    continue
4500       ac_ext=c  fi
4501  ac_cpp='$CPP $CPPFLAGS'  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4502  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'    cat >conftest.$ac_ext <<_ACEOF
 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"  
4503  /* confdefs.h.  */  /* confdefs.h.  */
4504  _ACEOF  _ACEOF
4505  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4506  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4507  /* end confdefs.h.  */  /* end confdefs.h.  */
4508    $ac_declaration
4509  int  int
4510  main ()  main ()
4511  {  {
4512    exit (42);
4513    ;    ;
4514    return 0;    return 0;
4515  }  }
4516  _ACEOF  _ACEOF
4517  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext
4518  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4519    (eval $ac_link) 2>&5    (eval $ac_compile) 2>conftest.er1
4520    ac_status=$?    ac_status=$?
4521      grep -v '^ *+' conftest.er1 >conftest.err
4522      rm -f conftest.er1
4523      cat conftest.err >&5
4524    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525    (exit $ac_status); } &&    (exit $ac_status); } &&
4526           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"
4527                             || test ! -s conftest.err'
4528      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529      (eval $ac_try) 2>&5
4530      ac_status=$?
4531      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532      (exit $ac_status); }; } &&
4533             { ac_try='test -s conftest.$ac_objext'
4534    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4536    ac_status=$?    ac_status=$?
4537    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4539    lt_cv_cc_needs_belf=yes    break
4540  else  else
4541    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4542  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4543    
 lt_cv_cc_needs_belf=no  
4544  fi  fi
4545  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4546       ac_ext=c  done
4547  ac_cpp='$CPP $CPPFLAGS'  rm -f conftest*
4548  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  if test -n "$ac_declaration"; then
4549  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'    echo '#ifdef __cplusplus' >>confdefs.h
4550  ac_compiler_gnu=$ac_cv_c_compiler_gnu    echo $ac_declaration      >>confdefs.h
4551      echo '#endif'             >>confdefs.h
4552  fi  fi
 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5  
 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6  
   if test x"$lt_cv_cc_needs_belf" != x"yes"; then  
     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf  
     CFLAGS="$SAVE_CFLAGS"  
   fi  
   ;;  
   
   
 esac  
   
 # Sed substitution that helps us do robust quoting.  It backslashifies  
 # metacharacters that are still active within double-quoted strings.  
 Xsed='sed -e s/^X//'  
 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'  
   
 # Same as above, but do not quote variable references.  
 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'  
   
 # Sed substitution to delay expansion of an escaped shell variable in a  
 # double_quote_subst'ed string.  
 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'  
   
 # Constants:  
 rm="rm -f"  
4553    
4554  # Global variables:  ac_ext=cc
4555  default_ofile=libtool  ac_cpp='$CXXCPP $CPPFLAGS'
4556  can_build_shared=yes  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558  # All known linkers require a `.a' archive for static linking (except M$VC,  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4559  # which needs '.lib').  
4560  libext=a  ac_ext=cc
4561  ltmain="$ac_aux_dir/ltmain.sh"  ac_cpp='$CXXCPP $CPPFLAGS'
4562  ofile="$default_ofile"  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563  with_gnu_ld="$lt_cv_prog_gnu_ld"  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564  need_locks="$enable_libtool_lock"  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4565    echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4566  old_CC="$CC"  echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4567  old_CFLAGS="$CFLAGS"  if test -z "$CXXCPP"; then
4568      if test "${ac_cv_prog_CXXCPP+set}" = set; then
 # Set sane defaults for various variables  
 test -z "$AR" && AR=ar  
 test -z "$AR_FLAGS" && AR_FLAGS=cru  
 test -z "$AS" && AS=as  
 test -z "$CC" && CC=cc  
 test -z "$DLLTOOL" && DLLTOOL=dlltool  
 test -z "$LD" && LD=ld  
 test -z "$LN_S" && LN_S="ln -s"  
 test -z "$MAGIC_CMD" && MAGIC_CMD=file  
 test -z "$NM" && NM=nm  
 test -z "$OBJDUMP" && OBJDUMP=objdump  
 test -z "$RANLIB" && RANLIB=:  
 test -z "$STRIP" && STRIP=:  
 test -z "$ac_objext" && ac_objext=o  
   
 if test x"$host" != x"$build"; then  
   ac_tool_prefix=${host_alias}-  
 else  
   ac_tool_prefix=  
 fi  
   
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.  
 case $host_os in  
 linux-gnu*) ;;  
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`  
 esac  
   
 case $host_os in  
 aix3*)  
   # AIX sometimes has problems with the GCC collect2 program.  For some  
   # reason, if we set the COLLECT_NAMES environment variable, the problems  
   # vanish in a puff of smoke.  
   if test "X${COLLECT_NAMES+set}" != Xset; then  
     COLLECT_NAMES=  
     export COLLECT_NAMES  
   fi  
   ;;  
 esac  
   
 # Determine commands to create old-style static archives.  
 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'  
 old_postinstall_cmds='chmod 644 $oldlib'  
 old_postuninstall_cmds=  
   
 if test -n "$RANLIB"; then  
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"  
   old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"  
 fi  
   
 # Allow CC to be a program name with arguments.  
 set dummy $CC  
 compiler="$2"  
   
 ## FIXME: this should be a separate macro  
 ##  
 echo "$as_me:$LINENO: checking for objdir" >&5  
 echo $ECHO_N "checking for objdir... $ECHO_C" >&6  
 rm -f .libs 2>/dev/null  
 mkdir .libs 2>/dev/null  
 if test -d .libs; then  
   objdir=.libs  
 else  
   # MS-DOS does not allow filenames that begin with a dot.  
   objdir=_libs  
 fi  
 rmdir .libs 2>/dev/null  
 echo "$as_me:$LINENO: result: $objdir" >&5  
 echo "${ECHO_T}$objdir" >&6  
 ##  
 ## END FIXME  
   
   
 ## FIXME: this should be a separate macro  
 ##  
   
 # Check whether --with-pic or --without-pic was given.  
 if test "${with_pic+set}" = set; then  
   withval="$with_pic"  
   pic_mode="$withval"  
 else  
   pic_mode=default  
 fi;  
 test -z "$pic_mode" && pic_mode=default  
   
 # We assume here that the value for lt_cv_prog_cc_pic will not be cached  
 # in isolation, and that seeing it set (from the cache) indicates that  
 # the associated values are set (in the cache) correctly too.  
 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5  
 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6  
 if test "${lt_cv_prog_cc_pic+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
    lt_cv_prog_cc_pic=  
   lt_cv_prog_cc_shlib=  
   lt_cv_prog_cc_wl=  
   lt_cv_prog_cc_static=  
   lt_cv_prog_cc_no_builtin=  
   lt_cv_prog_cc_can_build_shared=$can_build_shared  
   
   if test "$GCC" = yes; then  
     lt_cv_prog_cc_wl='-Wl,'  
     lt_cv_prog_cc_static='-static'  
   
     case $host_os in  
     aix*)  
       # Below there is a dirty hack to force normal static linking with -ldl  
       # The problem is because libdl dynamically linked with both libc and  
       # libC (AIX C++ library), which obviously doesn't included in libraries  
       # list by gcc. This cause undefined symbols with -static flags.  
       # This hack allows C programs to be linked with "-static -ldl", but  
       # we not sure about C++ programs.  
       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"  
       ;;  
     amigaos*)  
       # FIXME: we need at least 68020 code to build shared libraries, but  
       # adding the `-m68020' flag to GCC prevents building anything better,  
       # like `-m68040'.  
       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'  
       ;;  
     beos* | irix5* | irix6* | osf3* | osf4* | osf5*)  
       # PIC is the default for these OSes.  
       ;;  
     darwin* | rhapsody*)  
       # PIC is the default on this platform  
       # Common symbols not allowed in MH_DYLIB files  
       lt_cv_prog_cc_pic='-fno-common'  
       ;;  
     cygwin* | mingw* | pw32* | os2*)  
       # This hack is so that the source file can tell whether it is being  
       # built for inclusion in a dll (and should export symbols for example).  
       lt_cv_prog_cc_pic='-DDLL_EXPORT'  
       ;;  
     sysv4*MP*)  
       if test -d /usr/nec; then  
          lt_cv_prog_cc_pic=-Kconform_pic  
       fi  
       ;;  
     *)  
       lt_cv_prog_cc_pic='-fPIC'  
       ;;  
     esac  
   else  
     # PORTME Check for PIC flags for the system compiler.  
     case $host_os in  
     aix3* | aix4* | aix5*)  
       # All AIX code is PIC.  
       if test "$host_cpu" = ia64; then  
         # AIX 5 now supports IA64 processor  
         lt_cv_prog_cc_static='-Bstatic'  
         lt_cv_prog_cc_wl='-Wl,'  
       else  
         lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'  
       fi  
       ;;  
   
     hpux9* | hpux10* | hpux11*)  
       # Is there a better lt_cv_prog_cc_static that works with the bundled CC?  
       lt_cv_prog_cc_wl='-Wl,'  
       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"  
       lt_cv_prog_cc_pic='+Z'  
       ;;  
   
     irix5* | irix6*)  
       lt_cv_prog_cc_wl='-Wl,'  
       lt_cv_prog_cc_static='-non_shared'  
       # PIC (with -KPIC) is the default.  
       ;;  
   
     cygwin* | mingw* | pw32* | os2*)  
       # This hack is so that the source file can tell whether it is being  
       # built for inclusion in a dll (and should export symbols for example).  
       lt_cv_prog_cc_pic='-DDLL_EXPORT'  
       ;;  
   
     newsos6)  
       lt_cv_prog_cc_pic='-KPIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       ;;  
   
     osf3* | osf4* | osf5*)  
       # All OSF/1 code is PIC.  
       lt_cv_prog_cc_wl='-Wl,'  
       lt_cv_prog_cc_static='-non_shared'  
       ;;  
   
     sco3.2v5*)  
       lt_cv_prog_cc_pic='-Kpic'  
       lt_cv_prog_cc_static='-dn'  
       lt_cv_prog_cc_shlib='-belf'  
       ;;  
   
     solaris*)  
       lt_cv_prog_cc_pic='-KPIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       lt_cv_prog_cc_wl='-Wl,'  
       ;;  
   
     sunos4*)  
       lt_cv_prog_cc_pic='-PIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       lt_cv_prog_cc_wl='-Qoption ld '  
       ;;  
   
     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  
       lt_cv_prog_cc_pic='-KPIC'  
       lt_cv_prog_cc_static='-Bstatic'  
       if test "x$host_vendor" = xsni; then  
         lt_cv_prog_cc_wl='-LD'  
       else  
         lt_cv_prog_cc_wl='-Wl,'  
       fi  
       ;;  
   
     uts4*)  
       lt_cv_prog_cc_pic='-pic'  
       lt_cv_prog_cc_static='-Bstatic'  
       ;;  
   
     sysv4*MP*)  
       if test -d /usr/nec ;then  
         lt_cv_prog_cc_pic='-Kconform_pic'  
         lt_cv_prog_cc_static='-Bstatic'  
       fi  
       ;;  
   
     *)  
       lt_cv_prog_cc_can_build_shared=no  
       ;;  
     esac  
   fi  
   
 fi  
   
 if test -z "$lt_cv_prog_cc_pic"; then  
   echo "$as_me:$LINENO: result: none" >&5  
 echo "${ECHO_T}none" >&6  
 else  
   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5  
 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6  
   
   # Check to make sure the pic_flag actually works.  
   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5  
 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6  
   if test "${lt_cv_prog_cc_pic_works+set}" = set; then  
4569    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4570  else  else
4571        save_CFLAGS="$CFLAGS"        # Double quotes because CXXCPP needs to be expanded
4572      CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"      for CXXCPP in "$CXX -E" "/lib/cpp"
4573      cat >conftest.$ac_ext <<_ACEOF      do
4574  #line $LINENO "configure"        ac_preproc_ok=false
4575    for ac_cxx_preproc_warn_flag in '' yes
4576    do
4577      # Use a header file that comes with gcc, so configuring glibc
4578      # with a fresh cross-compiler works.
4579      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4580      # <limits.h> exists even on freestanding compilers.
4581      # On the NeXT, cc -E runs the code through the compiler's parser,
4582      # not just through cpp. "Syntax error" is here to catch this case.
4583      cat >conftest.$ac_ext <<_ACEOF
4584  /* confdefs.h.  */  /* confdefs.h.  */
4585  _ACEOF  _ACEOF
4586  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4587  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4588  /* end confdefs.h.  */  /* end confdefs.h.  */
4589    #ifdef __STDC__
4590  int  # include <limits.h>
4591  main ()  #else
4592  {  # include <assert.h>
4593    #endif
4594    ;                       Syntax error
   return 0;  
 }  
4595  _ACEOF  _ACEOF
4596  rm -f conftest.$ac_objext  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4597  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
4598    ac_status=$?    ac_status=$?
4599      grep -v '^ *+' conftest.er1 >conftest.err
4600      rm -f conftest.er1
4601      cat conftest.err >&5
4602    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603    (exit $ac_status); }; }; then    (exit $ac_status); } >/dev/null; then
4604          case $host_os in    if test -s conftest.err; then
4605        hpux9* | hpux10* | hpux11*)      ac_cpp_err=$ac_cxx_preproc_warn_flag
4606          # On HP-UX, both CC and GCC only warn that PIC is supported... then      ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
         # they create non-PIC objects.  So, if there were any warnings, we  
         # assume that PIC is not supported.  
         if test -s conftest.err; then  
           lt_cv_prog_cc_pic_works=no  
         else  
           lt_cv_prog_cc_pic_works=yes  
         fi  
         ;;  
       *)  
         lt_cv_prog_cc_pic_works=yes  
         ;;  
       esac  
   
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
       lt_cv_prog_cc_pic_works=no  
   
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
     CFLAGS="$save_CFLAGS"  
   
 fi  
   
   
   if test "X$lt_cv_prog_cc_pic_works" = Xno; then  
     lt_cv_prog_cc_pic=  
     lt_cv_prog_cc_can_build_shared=no  
4607    else    else
4608      lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"      ac_cpp_err=
4609    fi    fi
4610    else
4611    echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5    ac_cpp_err=yes
 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6  
4612  fi  fi
4613  ##  if test -z "$ac_cpp_err"; then
4614  ## END FIXME    :
4615    else
4616      echo "$as_me: failed program was:" >&5
4617    sed 's/^/| /' conftest.$ac_ext >&5
4618    
4619  # Check for any special shared library compilation flags.    # Broken: fails on valid input.
4620  if test -n "$lt_cv_prog_cc_shlib"; then  continue
   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5  
 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}  
   if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_cv_prog_cc_shlib[  ]" >/dev/null; then :  
   else  
    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5  
 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}  
     lt_cv_prog_cc_can_build_shared=no  
   fi  
4621  fi  fi
4622    rm -f conftest.err conftest.$ac_ext
4623    
4624  ## FIXME: this should be a separate macro    # OK, works on sane cases.  Now check whether non-existent headers
4625  ##    # can be detected and how.
 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5  
 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6  
 if test "${lt_cv_prog_cc_static_works+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
     lt_cv_prog_cc_static_works=no  
   save_LDFLAGS="$LDFLAGS"  
   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"  
4626    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4627  /* confdefs.h.  */  /* confdefs.h.  */
4628  _ACEOF  _ACEOF
4629  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4630  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4631  /* end confdefs.h.  */  /* end confdefs.h.  */
4632    #include <ac_nonexistent.h>
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
4633  _ACEOF  _ACEOF
4634  rm -f conftest.$ac_objext conftest$ac_exeext  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4635  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
4636    ac_status=$?    ac_status=$?
4637      grep -v '^ *+' conftest.er1 >conftest.err
4638      rm -f conftest.er1
4639      cat conftest.err >&5
4640    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641    (exit $ac_status); }; }; then    (exit $ac_status); } >/dev/null; then
4642    lt_cv_prog_cc_static_works=yes    if test -s conftest.err; then
4643        ac_cpp_err=$ac_cxx_preproc_warn_flag
4644        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4645      else
4646        ac_cpp_err=
4647      fi
4648    else
4649      ac_cpp_err=yes
4650    fi
4651    if test -z "$ac_cpp_err"; then
4652      # Broken: success on invalid input.
4653    continue
4654  else  else
4655    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4656  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4657    
4658      # Passes both tests.
4659    ac_preproc_ok=:
4660    break
4661  fi  fi
4662  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
   LDFLAGS="$save_LDFLAGS"  
4663    
4664    done
4665    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4666    rm -f conftest.err conftest.$ac_ext
4667    if $ac_preproc_ok; then
4668      break
4669  fi  fi
4670    
4671        done
4672  # Belt *and* braces to stop my trousers falling down:      ac_cv_prog_CXXCPP=$CXXCPP
 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=  
 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5  
 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6  
   
 pic_flag="$lt_cv_prog_cc_pic"  
 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"  
 wl="$lt_cv_prog_cc_wl"  
 link_static_flag="$lt_cv_prog_cc_static"  
 no_builtin_flag="$lt_cv_prog_cc_no_builtin"  
 can_build_shared="$lt_cv_prog_cc_can_build_shared"  
 ##  
 ## END FIXME  
   
   
 ## FIXME: this should be a separate macro  
 ##  
 # Check to see if options -o and -c are simultaneously supported by compiler  
 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5  
 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6  
 if test "${lt_cv_compiler_c_o+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   
 $rm -r conftest 2>/dev/null  
 mkdir conftest  
 cd conftest  
 echo "int some_variable = 0;" > conftest.$ac_ext  
 mkdir out  
 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers  
 # that will create temporary files in the current directory regardless of  
 # the output directory.  Thus, making CWD read-only will cause this test  
 # to fail, enabling locking or at least warning the user not to do parallel  
 # builds.  
 chmod -w .  
 save_CFLAGS="$CFLAGS"  
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  
 compiler_c_o=no  
 if { (eval echo configure:4554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  
   # The compiler can only warn and ignore the option if not recognized  
   # So say no if there are warnings  
   if test -s out/conftest.err; then  
     lt_cv_compiler_c_o=no  
   else  
     lt_cv_compiler_c_o=yes  
   fi  
 else  
   # Append any errors to the config.log.  
   cat out/conftest.err 1>&5  
   lt_cv_compiler_c_o=no  
 fi  
 CFLAGS="$save_CFLAGS"  
 chmod u+w .  
 $rm conftest* out/*  
 rmdir out  
 cd ..  
 rmdir conftest  
 $rm -r conftest 2>/dev/null  
4673    
4674  fi  fi
4675      CXXCPP=$ac_cv_prog_CXXCPP
 compiler_c_o=$lt_cv_compiler_c_o  
 echo "$as_me:$LINENO: result: $compiler_c_o" >&5  
 echo "${ECHO_T}$compiler_c_o" >&6  
   
 if test x"$compiler_c_o" = x"yes"; then  
   # Check to see if we can write to a .lo  
   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5  
 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6  
   if test "${lt_cv_compiler_o_lo+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
4676  else  else
4677      ac_cv_prog_CXXCPP=$CXXCPP
4678    lt_cv_compiler_o_lo=no  fi
4679    save_CFLAGS="$CFLAGS"  echo "$as_me:$LINENO: result: $CXXCPP" >&5
4680    CFLAGS="$CFLAGS -c -o conftest.lo"  echo "${ECHO_T}$CXXCPP" >&6
4681    ac_preproc_ok=false
4682    for ac_cxx_preproc_warn_flag in '' yes
4683    do
4684      # Use a header file that comes with gcc, so configuring glibc
4685      # with a fresh cross-compiler works.
4686      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4687      # <limits.h> exists even on freestanding compilers.
4688      # On the NeXT, cc -E runs the code through the compiler's parser,
4689      # not just through cpp. "Syntax error" is here to catch this case.
4690    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4691  /* confdefs.h.  */  /* confdefs.h.  */
4692  _ACEOF  _ACEOF
4693  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4694  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4695  /* end confdefs.h.  */  /* end confdefs.h.  */
4696    #ifdef __STDC__
4697  int  # include <limits.h>
4698  main ()  #else
4699  {  # include <assert.h>
4700  int some_variable = 0;  #endif
4701    ;                       Syntax error
   return 0;  
 }  
4702  _ACEOF  _ACEOF
4703  rm -f conftest.$ac_objext  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4704  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
4705    ac_status=$?    ac_status=$?
4706      grep -v '^ *+' conftest.er1 >conftest.err
4707      rm -f conftest.er1
4708      cat conftest.err >&5
4709    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710    (exit $ac_status); }; }; then    (exit $ac_status); } >/dev/null; then
4711        # The compiler can only warn and ignore the option if not recognized    if test -s conftest.err; then
4712      # So say no if there are warnings      ac_cpp_err=$ac_cxx_preproc_warn_flag
4713      if test -s conftest.err; then      ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4714        lt_cv_compiler_o_lo=no    else
4715      else      ac_cpp_err=
4716        lt_cv_compiler_o_lo=yes    fi
     fi  
   
4717  else  else
4718    echo "$as_me: failed program was:" >&5    ac_cpp_err=yes
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
   CFLAGS="$save_CFLAGS"  
   
4719  fi  fi
4720    if test -z "$ac_cpp_err"; then
4721    compiler_o_lo=$lt_cv_compiler_o_lo    :
   echo "$as_me:$LINENO: result: $compiler_c_lo" >&5  
 echo "${ECHO_T}$compiler_c_lo" >&6  
4722  else  else
4723    compiler_o_lo=no    echo "$as_me: failed program was:" >&5
4724  fi  sed 's/^/| /' conftest.$ac_ext >&5
 ##  
 ## END FIXME  
4725    
4726  ## FIXME: this should be a separate macro    # Broken: fails on valid input.
4727  ##  continue
 # Check to see if we can do hard links to lock some files if needed  
 hard_links="nottested"  
 if test "$compiler_c_o" = no && test "$need_locks" != no; then  
   # do not overwrite the value of need_locks provided by the user  
   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5  
 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6  
   hard_links=yes  
   $rm conftest*  
   ln conftest.a conftest.b 2>/dev/null && hard_links=no  
   touch conftest.a  
   ln conftest.a conftest.b 2>&5 || hard_links=no  
   ln conftest.a conftest.b 2>/dev/null && hard_links=no  
   echo "$as_me:$LINENO: result: $hard_links" >&5  
 echo "${ECHO_T}$hard_links" >&6  
   if test "$hard_links" = no; then  
     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5  
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}  
     need_locks=warn  
   fi  
 else  
   need_locks=no  
4728  fi  fi
4729  ##  rm -f conftest.err conftest.$ac_ext
 ## END FIXME  
4730    
4731  ## FIXME: this should be a separate macro    # OK, works on sane cases.  Now check whether non-existent headers
4732  ##    # can be detected and how.
 if test "$GCC" = yes; then  
   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler  
   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  
 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6  
   echo "int some_variable = 0;" > conftest.$ac_ext  
   save_CFLAGS="$CFLAGS"  
   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"  
   compiler_rtti_exceptions=no  
4733    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4734  /* confdefs.h.  */  /* confdefs.h.  */
4735  _ACEOF  _ACEOF
4736  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4737  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4738  /* end confdefs.h.  */  /* end confdefs.h.  */
4739    #include <ac_nonexistent.h>
 int  
 main ()  
 {  
 int some_variable = 0;  
   ;  
   return 0;  
 }  
4740  _ACEOF  _ACEOF
4741  rm -f conftest.$ac_objext  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4742  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   (eval $ac_compile) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest.$ac_objext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
4743    ac_status=$?    ac_status=$?
4744      grep -v '^ *+' conftest.er1 >conftest.err
4745      rm -f conftest.er1
4746      cat conftest.err >&5
4747    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748    (exit $ac_status); }; }; then    (exit $ac_status); } >/dev/null; then
4749        # The compiler can only warn and ignore the option if not recognized    if test -s conftest.err; then
4750      # So say no if there are warnings      ac_cpp_err=$ac_cxx_preproc_warn_flag
4751      if test -s conftest.err; then      ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4752        compiler_rtti_exceptions=no    else
4753      else      ac_cpp_err=
4754        compiler_rtti_exceptions=yes    fi
4755      fi  else
4756      ac_cpp_err=yes
4757    fi
4758    if test -z "$ac_cpp_err"; then
4759      # Broken: success on invalid input.
4760    continue
4761  else  else
4762    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4763  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4764    
4765      # Passes both tests.
4766    ac_preproc_ok=:
4767    break
4768  fi  fi
4769  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
   CFLAGS="$save_CFLAGS"  
   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5  
 echo "${ECHO_T}$compiler_rtti_exceptions" >&6  
4770    
4771    if test "$compiler_rtti_exceptions" = "yes"; then  done
4772      no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4773    else  rm -f conftest.err conftest.$ac_ext
4774      no_builtin_flag=' -fno-builtin'  if $ac_preproc_ok; then
4775    fi    :
4776    else
4777      { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4778    See \`config.log' for more details." >&5
4779    echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4780    See \`config.log' for more details." >&2;}
4781       { (exit 1); exit 1; }; }
4782  fi  fi
 ##  
 ## END FIXME  
4783    
4784  ## FIXME: this should be a separate macro  ac_ext=cc
4785  ##  ac_cpp='$CXXCPP $CPPFLAGS'
4786  # See if the linker supports building shared libraries.  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787  echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788  echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4789    
 allow_undefined_flag=  
 no_undefined_flag=  
 need_lib_prefix=unknown  
 need_version=unknown  
 # when you set need_version to no, make sure it does not cause -set_version  
 # flags to be left without arguments  
 archive_cmds=  
 archive_expsym_cmds=  
 old_archive_from_new_cmds=  
 old_archive_from_expsyms_cmds=  
 export_dynamic_flag_spec=  
 whole_archive_flag_spec=  
 thread_safe_flag_spec=  
 hardcode_into_libs=no  
 hardcode_libdir_flag_spec=  
 hardcode_libdir_separator=  
 hardcode_direct=no  
 hardcode_minus_L=no  
 hardcode_shlibpath_var=unsupported  
 runpath_var=  
 link_all_deplibs=unknown  
 always_export_symbols=no  
 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'  
 # include_expsyms should be a list of space-separated symbols to be *always*  
 # included in the symbol list  
 include_expsyms=  
 # exclude_expsyms can be an egrep regular expression of symbols to exclude  
 # it will be wrapped by ` (' and `)$', so one must not match beginning or  
 # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',  
 # as well as any symbol that contains `d'.  
 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"  
 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out  
 # platforms (ab)use it in PIC code, but their linkers get confused if  
 # the symbol is explicitly referenced.  Since portable code cannot  
 # rely on this symbol name, it's probably fine to never include it in  
 # preloaded symbol tables.  
 extract_expsyms_cmds=  
4790    
4791  case $host_os in  ac_ext=f
4792  cygwin* | mingw* | pw32* )  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4793    # FIXME: the MSVC++ port hasn't been tested in a loooong time  ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794    # When not using gcc, we currently assume that we are using  ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4795    # Microsoft Visual C++.  if test -n "$ac_tool_prefix"; then
4796    if test "$GCC" != yes; then    for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4797      with_gnu_ld=no    do
4798        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4799    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4800    echo "$as_me:$LINENO: checking for $ac_word" >&5
4801    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802    if test "${ac_cv_prog_F77+set}" = set; then
4803      echo $ECHO_N "(cached) $ECHO_C" >&6
4804    else
4805      if test -n "$F77"; then
4806      ac_cv_prog_F77="$F77" # Let the user override the test.
4807    else
4808    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809    for as_dir in $PATH
4810    do
4811      IFS=$as_save_IFS
4812      test -z "$as_dir" && as_dir=.
4813      for ac_exec_ext in '' $ac_executable_extensions; do
4814      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815        ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4816        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817        break 2
4818    fi    fi
4819    ;;  done
4820    done
4821    
4822  esac  fi
4823    fi
4824    F77=$ac_cv_prog_F77
4825    if test -n "$F77"; then
4826      echo "$as_me:$LINENO: result: $F77" >&5
4827    echo "${ECHO_T}$F77" >&6
4828    else
4829      echo "$as_me:$LINENO: result: no" >&5
4830    echo "${ECHO_T}no" >&6
4831    fi
4832    
4833  ld_shlibs=yes      test -n "$F77" && break
4834  if test "$with_gnu_ld" = yes; then    done
4835    # If archive_cmds runs LD, not CC, wlarc should be empty  fi
4836    wlarc='${wl}'  if test -z "$F77"; then
4837      ac_ct_F77=$F77
4838      for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4839    do
4840      # Extract the first word of "$ac_prog", so it can be a program name with args.
4841    set dummy $ac_prog; ac_word=$2
4842    echo "$as_me:$LINENO: checking for $ac_word" >&5
4843    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4844    if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4845      echo $ECHO_N "(cached) $ECHO_C" >&6
4846    else
4847      if test -n "$ac_ct_F77"; then
4848      ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4849    else
4850    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851    for as_dir in $PATH
4852    do
4853      IFS=$as_save_IFS
4854      test -z "$as_dir" && as_dir=.
4855      for ac_exec_ext in '' $ac_executable_extensions; do
4856      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857        ac_cv_prog_ac_ct_F77="$ac_prog"
4858        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859        break 2
4860      fi
4861    done
4862    done
4863    
4864    # See if GNU ld supports shared libraries.  fi
4865    case $host_os in  fi
4866    aix3* | aix4* | aix5*)  ac_ct_F77=$ac_cv_prog_ac_ct_F77
4867      # On AIX, the GNU linker is very broken  if test -n "$ac_ct_F77"; then
4868      # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.    echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4869      ld_shlibs=no  echo "${ECHO_T}$ac_ct_F77" >&6
4870      cat <<EOF 1>&2  else
4871      echo "$as_me:$LINENO: result: no" >&5
4872    echo "${ECHO_T}no" >&6
4873    fi
4874    
4875  *** Warning: the GNU linker, at least up to release 2.9.1, is reported    test -n "$ac_ct_F77" && break
4876  *** to be unable to reliably create shared libraries on AIX.  done
 *** Therefore, libtool is disabling shared libraries support.  If you  
 *** really care for shared libraries, you may want to modify your PATH  
 *** so that a non-GNU linker is found, and then restart.  
4877    
4878  EOF    F77=$ac_ct_F77
4879      ;;  fi
4880    
   amigaos*)  
     archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'  
     hardcode_libdir_flag_spec='-L$libdir'  
     hardcode_minus_L=yes  
   
     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports  
     # that the semantics of dynamic libraries on AmigaOS, at least up  
     # to version 4, is to share data among multiple programs linked  
     # with the same dynamic library.  Since this doesn't match the  
     # behavior of shared libraries on other platforms, we can use  
     # them.  
     ld_shlibs=no  
     ;;  
4881    
4882    beos*)  # Provide some information about the compiler.
4883      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  echo "$as_me:4878:" \
4884        allow_undefined_flag=unsupported       "checking for Fortran 77 compiler version" >&5
4885        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc  ac_compiler=`set X $ac_compile; echo $2`
4886        # support --undefined.  This deserves some investigation.  FIXME  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4887        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'    (eval $ac_compiler --version </dev/null >&5) 2>&5
4888      else    ac_status=$?
4889        ld_shlibs=no    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890      fi    (exit $ac_status); }
4891      ;;  { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4892      (eval $ac_compiler -v </dev/null >&5) 2>&5
4893    cygwin* | mingw* | pw32*)    ac_status=$?
4894      # hardcode_libdir_flag_spec is actually meaningless, as there is    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895      # no search path for DLLs.    (exit $ac_status); }
4896      hardcode_libdir_flag_spec='-L$libdir'  { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4897      allow_undefined_flag=unsupported    (eval $ac_compiler -V </dev/null >&5) 2>&5
4898      always_export_symbols=yes    ac_status=$?
4899      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900      extract_expsyms_cmds='test -f $output_objdir/impgen.c || \    (exit $ac_status); }
4901        sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~  rm -f a.out
       test -f $output_objdir/impgen.exe || (cd $output_objdir && \  
       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \  
       else $CC -o impgen impgen.c ; fi)~  
       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'  
   
     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'  
   
     # cygwin and mingw dlls have different entry points and sets of symbols  
     # to exclude.  
     # FIXME: what about values for MSVC?  
     dll_entry=__cygwin_dll_entry@12  
     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~  
     case $host_os in  
     mingw*)  
       # mingw values  
       dll_entry=_DllMainCRTStartup@12  
       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~  
       ;;  
     esac  
   
     # mingw and cygwin differ, and it's simplest to just exclude the union  
     # of the two symbol sets.  
     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12  
   
     # recent cygwin and mingw systems supply a stub DllMain which the user  
     # can override, but on older systems we have to supply one (in ltdll.c)  
     if test "x$lt_cv_need_dllmain" = "xyes"; then  
       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "  
       ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~  
         test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'  
     else  
       ltdll_obj=  
       ltdll_cmds=  
     fi  
   
     # Extract the symbol export list from an `--export-all' def file,  
     # then regenerate the def file from the symbol export list, so that  
     # the compiled dll only exports the symbol export list.  
     # Be careful not to strip the DATA tag left be newer dlltools.  
     export_symbols_cmds="$ltdll_cmds"'  
       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~  
       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'  
   
     # If the export-symbols file already is a .def file (1st line  
     # is EXPORTS), use it as is.  
     # If DATA tags from a recent dlltool are present, honour them!  
     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then  
         cp $export_symbols $output_objdir/$soname-def;  
       else  
         echo EXPORTS > $output_objdir/$soname-def;  
         _lt_hint=1;  
         cat $export_symbols | while read symbol; do  
          set dummy \$symbol;  
          case \$# in  
            2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;  
            *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;  
          esac;  
          _lt_hint=`expr 1 + \$_lt_hint`;  
         done;  
       fi~  
       '"$ltdll_cmds"'  
       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~  
       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~  
       $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~  
       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~  
       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'  
     ;;  
4902    
4903    netbsd*)  # If we don't use `.F' as extension, the preprocessor is not run on the
4904      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then  # input file.  (Note that this only needs to work for GNU compilers.)
4905        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'  ac_save_ext=$ac_ext
4906        wlarc=  ac_ext=F
4907      else  echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4908        archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4909        archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4910      fi    echo $ECHO_N "(cached) $ECHO_C" >&6
4911      ;;  else
4912      cat >conftest.$ac_ext <<_ACEOF
4913          program main
4914    #ifndef __GNUC__
4915           choke me
4916    #endif
4917    
4918    solaris* | sysv5*)        end
4919      if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then  _ACEOF
4920        ld_shlibs=no  rm -f conftest.$ac_objext
4921        cat <<EOF 1>&2  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4922      (eval $ac_compile) 2>conftest.er1
4923      ac_status=$?
4924      grep -v '^ *+' conftest.er1 >conftest.err
4925      rm -f conftest.er1
4926      cat conftest.err >&5
4927      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928      (exit $ac_status); } &&
4929             { ac_try='test -z "$ac_f77_werror_flag"
4930                             || test ! -s conftest.err'
4931      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932      (eval $ac_try) 2>&5
4933      ac_status=$?
4934      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935      (exit $ac_status); }; } &&
4936             { ac_try='test -s conftest.$ac_objext'
4937      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938      (eval $ac_try) 2>&5
4939      ac_status=$?
4940      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941      (exit $ac_status); }; }; then
4942      ac_compiler_gnu=yes
4943    else
4944      echo "$as_me: failed program was:" >&5
4945    sed 's/^/| /' conftest.$ac_ext >&5
4946    
4947  *** Warning: The releases 2.8.* of the GNU linker cannot reliably  ac_compiler_gnu=no
4948  *** create shared libraries on Solaris systems.  Therefore, libtool  fi
4949  *** is disabling shared libraries support.  We urge you to upgrade GNU  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4950  *** binutils to release 2.9.1 or newer.  Another option is to modify  ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 *** your PATH or compiler configuration so that the native linker is  
 *** used, and then restart.  
4951    
4952  EOF  fi
4953      elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4954        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4955        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  ac_ext=$ac_save_ext
4956      else  ac_test_FFLAGS=${FFLAGS+set}
4957        ld_shlibs=no  ac_save_FFLAGS=$FFLAGS
4958      fi  FFLAGS=
4959      ;;  echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4960    echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4961    if test "${ac_cv_prog_f77_g+set}" = set; then
4962      echo $ECHO_N "(cached) $ECHO_C" >&6
4963    else
4964      FFLAGS=-g
4965    cat >conftest.$ac_ext <<_ACEOF
4966          program main
4967    
4968    sunos4*)        end
4969      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'  _ACEOF
4970      wlarc=  rm -f conftest.$ac_objext
4971      hardcode_direct=yes  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972      hardcode_shlibpath_var=no    (eval $ac_compile) 2>conftest.er1
4973      ;;    ac_status=$?
4974      grep -v '^ *+' conftest.er1 >conftest.err
4975      rm -f conftest.er1
4976      cat conftest.err >&5
4977      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978      (exit $ac_status); } &&
4979             { ac_try='test -z "$ac_f77_werror_flag"
4980                             || test ! -s conftest.err'
4981      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982      (eval $ac_try) 2>&5
4983      ac_status=$?
4984      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985      (exit $ac_status); }; } &&
4986             { ac_try='test -s conftest.$ac_objext'
4987      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988      (eval $ac_try) 2>&5
4989      ac_status=$?
4990      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991      (exit $ac_status); }; }; then
4992      ac_cv_prog_f77_g=yes
4993    else
4994      echo "$as_me: failed program was:" >&5
4995    sed 's/^/| /' conftest.$ac_ext >&5
4996    
4997    *)  ac_cv_prog_f77_g=no
4998      if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  fi
4999        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  
     else  
       ld_shlibs=no  
     fi  
     ;;  
   esac  
5000    
5001    if test "$ld_shlibs" = yes; then  fi
5002      runpath_var=LD_RUN_PATH  echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5003      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'  echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5004      export_dynamic_flag_spec='${wl}--export-dynamic'  if test "$ac_test_FFLAGS" = set; then
5005      case $host_os in    FFLAGS=$ac_save_FFLAGS
5006      cygwin* | mingw* | pw32*)  elif test $ac_cv_prog_f77_g = yes; then
5007        # dlltool doesn't understand --whole-archive et. al.    if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5008        whole_archive_flag_spec=      FFLAGS="-g -O2"
5009        ;;    else
5010      *)      FFLAGS="-g"
       # ancient GNU ld didn't support --whole-archive et. al.  
       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then  
         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'  
       else  
         whole_archive_flag_spec=  
       fi  
       ;;  
     esac  
5011    fi    fi
5012  else  else
5013    # PORTME fill in a description of your system's linker (not GNU ld)    if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5014    case $host_os in      FFLAGS="-O2"
5015    aix3*)    else
5016      allow_undefined_flag=unsupported      FFLAGS=
5017      always_export_symbols=yes    fi
5018      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'  fi
     # Note: this linker hardcodes the directories in LIBPATH if there  
     # are no directories specified by -L.  
     hardcode_minus_L=yes