/[svn]/linuxsampler/trunk/configure
ViewVC logotype

Diff of /linuxsampler/trunk/configure

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

revision 9 by schoenebeck, Wed Nov 5 14:47:10 2003 UTC revision 29 by schoenebeck, Fri Jan 2 00:05:42 2004 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.58.
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 462  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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE CC CFLAGS ac_ct_CC CCDEPMODE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS'
467  ac_subst_files=''  ac_subst_files=''
468    
469  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 821  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 861  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 903  ac_env_target_alias_set=${target_alias+s Line 904  ac_env_target_alias_set=${target_alias+s
904  ac_env_target_alias_value=$target_alias  ac_env_target_alias_value=$target_alias
905  ac_cv_env_target_alias_set=${target_alias+set}  ac_cv_env_target_alias_set=${target_alias+set}
906  ac_cv_env_target_alias_value=$target_alias  ac_cv_env_target_alias_value=$target_alias
 ac_env_CXX_set=${CXX+set}  
 ac_env_CXX_value=$CXX  
 ac_cv_env_CXX_set=${CXX+set}  
 ac_cv_env_CXX_value=$CXX  
 ac_env_CXXFLAGS_set=${CXXFLAGS+set}  
 ac_env_CXXFLAGS_value=$CXXFLAGS  
 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}  
 ac_cv_env_CXXFLAGS_value=$CXXFLAGS  
 ac_env_LDFLAGS_set=${LDFLAGS+set}  
 ac_env_LDFLAGS_value=$LDFLAGS  
 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}  
 ac_cv_env_LDFLAGS_value=$LDFLAGS  
 ac_env_CPPFLAGS_set=${CPPFLAGS+set}  
 ac_env_CPPFLAGS_value=$CPPFLAGS  
 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}  
 ac_cv_env_CPPFLAGS_value=$CPPFLAGS  
907  ac_env_CC_set=${CC+set}  ac_env_CC_set=${CC+set}
908  ac_env_CC_value=$CC  ac_env_CC_value=$CC
909  ac_cv_env_CC_set=${CC+set}  ac_cv_env_CC_set=${CC+set}
# Line 927  ac_env_CFLAGS_set=${CFLAGS+set} Line 912  ac_env_CFLAGS_set=${CFLAGS+set}
912  ac_env_CFLAGS_value=$CFLAGS  ac_env_CFLAGS_value=$CFLAGS
913  ac_cv_env_CFLAGS_set=${CFLAGS+set}  ac_cv_env_CFLAGS_set=${CFLAGS+set}
914  ac_cv_env_CFLAGS_value=$CFLAGS  ac_cv_env_CFLAGS_value=$CFLAGS
915    ac_env_LDFLAGS_set=${LDFLAGS+set}
916    ac_env_LDFLAGS_value=$LDFLAGS
917    ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918    ac_cv_env_LDFLAGS_value=$LDFLAGS
919    ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920    ac_env_CPPFLAGS_value=$CPPFLAGS
921    ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922    ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923  ac_env_CPP_set=${CPP+set}  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}  ac_env_CXXCPP_set=${CXXCPP+set}
936  ac_env_CXXCPP_value=$CXXCPP  ac_env_CXXCPP_value=$CXXCPP
937  ac_cv_env_CXXCPP_set=${CXXCPP+set}  ac_cv_env_CXXCPP_set=${CXXCPP+set}
# Line 976  _ACEOF Line 977  _ACEOF
977    cat <<_ACEOF    cat <<_ACEOF
978  Installation directories:  Installation directories:
979    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
980                            [$ac_default_prefix]                            [$ac_default_prefix]
981    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
982                            [PREFIX]                            [PREFIX]
983    
984  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
985  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 1031  Optional Features: Line 1032  Optional Features:
1032                            build static libraries [default=yes]                            build static libraries [default=yes]
1033    --enable-fast-install[=PKGS]    --enable-fast-install[=PKGS]
1034                            optimize for fast installation [default=yes]                            optimize for fast installation [default=yes]
1035    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock
1036                              avoid locking (might break parallel builds)
1037    
1038  Optional Packages:  Optional Packages:
1039    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1040    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1041    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]    --with-gnu-ld
1042    --with-pic              try to use only PIC/non-PIC objects [default=use                            assume the C compiler uses GNU ld [default=no]
1043                            both]    --with-pic
1044                              try to use only PIC/non-PIC objects [default=use both]
1045    --with-tags[=TAGS]    --with-tags[=TAGS]
1046                            include additional configurations [automatic]                            include additional configurations [automatic]
1047    
1048  Some influential environment variables:  Some influential environment variables:
1049    CXX         C++ compiler command    CC
1050    CXXFLAGS    C++ compiler flags                C compiler command
1051    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a    CFLAGS
1052                nonstandard directory <lib dir>                C compiler flags
1053    CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have    LDFLAGS
1054                headers in a nonstandard directory <include dir>                linker flags, e.g. -L<lib dir> if you have
1055    CC          C compiler command                libraries in a nonstandard directory <lib dir>
1056    CFLAGS      C compiler flags    CPPFLAGS
1057    CPP         C preprocessor                C/C++ preprocessor flags, e.g. -I<include dir> if you
1058    CXXCPP      C++ preprocessor                have headers in a nonstandard directory <include dir>
1059    F77         Fortran 77 compiler command    CPP
1060    FFLAGS      Fortran 77 compiler flags                C preprocessor
1061      CXX
1062                  C++ compiler command
1063      CXXFLAGS
1064                  C++ compiler flags
1065      CXXCPP
1066                  C++ preprocessor
1067      F77
1068                  Fortran 77 compiler command
1069      FFLAGS
1070                  Fortran 77 compiler flags
1071    
1072  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
1073  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1092  case $srcdir in Line 1105  case $srcdir in
1105      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1106      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107  esac  esac
1108  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
1109  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
1110  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
1111  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
1112  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
1113  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
1114      case "$ac_dir" in
1115      .) ac_abs_builddir=`pwd`;;
1116      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1117      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1118      esac;;
1119    esac
1120    case $ac_abs_builddir in
1121    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1122    *)
1123      case ${ac_top_builddir}. in
1124      .) ac_abs_top_builddir=$ac_abs_builddir;;
1125      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1126      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1127      esac;;
1128    esac
1129    case $ac_abs_builddir in
1130    .) ac_abs_srcdir=$ac_srcdir;;
1131    *)
1132      case $ac_srcdir in
1133      .) ac_abs_srcdir=$ac_abs_builddir;;
1134      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1135      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1136      esac;;
1137    esac
1138    case $ac_abs_builddir in
1139    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1140    *)
1141      case $ac_top_srcdir in
1142      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1143      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1144      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1145      esac;;
1146    esac
1147    
1148      cd $ac_dir      cd $ac_dir
1149      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 1108  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 1154  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
1154        echo        echo
1155        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1156      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1157             test -f $ac_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1158        echo        echo
1159        $ac_configure --help        $ac_configure --help
1160      else      else
# Line 1122  test -n "$ac_init_help" && exit 0 Line 1168  test -n "$ac_init_help" && exit 0
1168  if $ac_init_version; then  if $ac_init_version; then
1169    cat <<\_ACEOF    cat <<\_ACEOF
1170    
1171  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1172  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1173  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1174  _ACEOF  _ACEOF
# Line 1135  This file contains any messages produced Line 1180  This file contains any messages produced
1180  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1181    
1182  It was created by $as_me, which was  It was created by $as_me, which was
1183  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.58.  Invocation command line was
1184    
1185    $ $0 $@    $ $0 $@
1186    
# Line 1212  do Line 1257  do
1257      2)      2)
1258        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1259        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1260          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1261        else        else
1262          case $ac_arg in          case $ac_arg in
1263            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1264            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1265            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1266            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1267              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1268                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1269              esac              esac
1270              ;;              ;;
1271            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1272          esac          esac
1273        fi        fi
1274        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1275        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1258  _ASBOX Line 1303  _ASBOX
1303      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1304      *ac_space=\ *)      *ac_space=\ *)
1305        sed -n \        sed -n \
1306          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1307            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1308        ;;        ;;
1309      *)      *)
1310        sed -n \        sed -n \
1311          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1312        ;;        ;;
1313      esac;      esac;
1314  }  }
# Line 1292  _ASBOX Line 1337  _ASBOX
1337        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1338        do        do
1339          eval ac_val=$`echo $ac_var`          eval ac_val=$`echo $ac_var`
1340          echo "$ac_var='"'"'$ac_val'"'"'"          echo "$ac_var='"'"'$ac_val'"'"'"
1341        done | sort        done | sort
1342        echo        echo
1343      fi      fi
# Line 1391  fi Line 1436  fi
1436  # value.  # value.
1437  ac_cache_corrupted=false  ac_cache_corrupted=false
1438  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1439                 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
1440    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1441    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1442    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1408  echo "$as_me: error: \`$ac_var' was not Line 1453  echo "$as_me: error: \`$ac_var' was not
1453      ,);;      ,);;
1454      *)      *)
1455        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1456          { 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
1457  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;}
1458          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1459  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1460          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1461  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1462          ac_cache_corrupted=:          ac_cache_corrupted=:
1463        fi;;        fi;;
1464    esac    esac
1465    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1462  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1507  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1507    
1508    
1509    
1510    ac_ext=c
1511  ac_aux_dir=  ac_cpp='$CPP $CPPFLAGS'
1512  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513    if test -f $ac_dir/install-sh; then  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514      ac_aux_dir=$ac_dir  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515      ac_install_sh="$ac_aux_dir/install-sh -c"  if test -n "$ac_tool_prefix"; then
1516      break    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517    elif test -f $ac_dir/install.sh; then  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1518      ac_aux_dir=$ac_dir  echo "$as_me:$LINENO: checking for $ac_word" >&5
1519      ac_install_sh="$ac_aux_dir/install.sh -c"  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520      break  if test "${ac_cv_prog_CC+set}" = set; then
   elif test -f $ac_dir/shtool; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/shtool install -c"  
     break  
   fi  
 done  
 if test -z "$ac_aux_dir"; then  
   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5  
 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  
 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.  
   
 # Make sure we can run config.sub.  
 $ac_config_sub sun4 >/dev/null 2>&1 ||  
   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5  
 echo "$as_me: error: cannot run $ac_config_sub" >&2;}  
    { (exit 1); exit 1; }; }  
   
 echo "$as_me:$LINENO: checking build system type" >&5  
 echo $ECHO_N "checking build system type... $ECHO_C" >&6  
 if test "${ac_cv_build+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_build_alias=$build_alias  
 test -z "$ac_cv_build_alias" &&  
   ac_cv_build_alias=`$ac_config_guess`  
 test -z "$ac_cv_build_alias" &&  
   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5  
 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  
    { (exit 1); exit 1; }; }  
 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_build" >&5  
 echo "${ECHO_T}$ac_cv_build" >&6  
 build=$ac_cv_build  
 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 echo "$as_me:$LINENO: checking host system type" >&5  
 echo $ECHO_N "checking host system type... $ECHO_C" >&6  
 if test "${ac_cv_host+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_host_alias=$host_alias  
 test -z "$ac_cv_host_alias" &&  
   ac_cv_host_alias=$ac_cv_build_alias  
 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_host" >&5  
 echo "${ECHO_T}$ac_cv_host" >&6  
 host=$ac_cv_host  
 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 echo "$as_me:$LINENO: checking target system type" >&5  
 echo $ECHO_N "checking target system type... $ECHO_C" >&6  
 if test "${ac_cv_target+set}" = set; then  
1521    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1522  else  else
1523    ac_cv_target_alias=$target_alias    if test -n "$CC"; then
1524  test "x$ac_cv_target_alias" = "x" &&    ac_cv_prog_CC="$CC" # Let the user override the test.
   ac_cv_target_alias=$ac_cv_host_alias  
 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_target" >&5  
 echo "${ECHO_T}$ac_cv_target" >&6  
 target=$ac_cv_target  
 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 # The aliases save the names the user supplied, while $host etc.  
 # will get canonicalized.  
 test -n "$target_alias" &&  
   test "$program_prefix$program_suffix$program_transform_name" = \  
     NONENONEs,x,x, &&  
   program_prefix=${target_alias}-  
   
 echo -n "Checking whether x86 architecture... "  
 def_arch_x86=0  
 case $target_cpu in  
   "i386" | "i486" | "i586" | "i686" | "i786")  
     echo "yes"  
     def_arch_x86=1;;  
   *)  
     echo "no";;  
 esac  
   
 cat >>confdefs.h <<_ACEOF  
 #define ARCH_X86 $def_arch_x86  
 _ACEOF  
   
   
 # Add the stamp file to the list of files AC keeps track of,  
 # along with our hook.  
           ac_config_headers="$ac_config_headers config.h"  
   
   
   
 am__api_version="1.6"  
 # Find a good install program.  We prefer a C program (faster),  
 # so one script is as good as another.  But avoid the broken or  
 # incompatible versions:  
 # SysV /etc/install, /usr/sbin/install  
 # SunOS /usr/etc/install  
 # IRIX /sbin/install  
 # AIX /bin/install  
 # AmigaOS /C/install, which installs bootblocks on floppy discs  
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  
 # ./install, which can be erroneously created by make from ./install.sh.  
 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  
 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  
 if test -z "$INSTALL"; then  
 if test "${ac_cv_path_install+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
1525  else  else
1526    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527  for as_dir in $PATH  for as_dir in $PATH
1528  do  do
1529    IFS=$as_save_IFS    IFS=$as_save_IFS
1530    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1531    # Account for people who put trailing slashes in PATH elements.    for ac_exec_ext in '' $ac_executable_extensions; do
1532  case $as_dir/ in    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533    ./ | .// | /cC/* | \      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1534    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535    /usr/ucb/* ) ;;      break 2
1536    *)    fi
1537      # OSF1 and SCO ODT 3.0 have their own names for install.  done
     # Don't use installbsd from OSF since it installs stuff as root  
     # by default.  
     for ac_prog in ginstall scoinst install; do  
       for ac_exec_ext in '' $ac_executable_extensions; do  
         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then  
           if test $ac_prog = install &&  
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           elif test $ac_prog = install &&  
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
             break 3  
           fi  
         fi  
       done  
     done  
     ;;  
 esac  
1538  done  done
   
1539    
1540  fi  fi
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL=$ac_cv_path_install  
   else  
     # As a last resort, use the slow shell script.  We don't cache a  
     # path for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the path is relative.  
     INSTALL=$ac_install_sh  
   fi  
1541  fi  fi
1542  echo "$as_me:$LINENO: result: $INSTALL" >&5  CC=$ac_cv_prog_CC
1543  echo "${ECHO_T}$INSTALL" >&6  if test -n "$CC"; then
1544      echo "$as_me:$LINENO: result: $CC" >&5
1545  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  echo "${ECHO_T}$CC" >&6
 # It thinks the first close brace ends the variable substitution.  
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  
   
 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  
   
 echo "$as_me:$LINENO: checking whether build environment is sane" >&5  
 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6  
 # Just in case  
 sleep 1  
 echo timestamp > conftest.file  
 # Do `set' in a subshell so we don't clobber the current shell's  
 # arguments.  Must try -L first in case configure is actually a  
 # symlink; some systems play weird games with the mod time of symlinks  
 # (eg FreeBSD returns the mod time of the symlink's containing  
 # directory).  
 if (  
    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`  
    if test "$*" = "X"; then  
       # -L didn't work.  
       set X `ls -t $srcdir/configure conftest.file`  
    fi  
    rm -f conftest.file  
    if test "$*" != "X $srcdir/configure conftest.file" \  
       && test "$*" != "X conftest.file $srcdir/configure"; then  
   
       # If neither matched, then we have a broken ls.  This can happen  
       # if, for instance, CONFIG_SHELL is bash and it inherits a  
       # broken ls alias from the environment.  This has actually  
       # happened.  Such a system could not be considered "sane".  
       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken  
 alias in your environment" >&5  
 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken  
 alias in your environment" >&2;}  
    { (exit 1); exit 1; }; }  
    fi  
   
    test "$2" = conftest.file  
    )  
 then  
    # Ok.  
    :  
1546  else  else
1547     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!    echo "$as_me:$LINENO: result: no" >&5
1548  Check your system clock" >&5  echo "${ECHO_T}no" >&6
 echo "$as_me: error: newly created file is older than distributed files!  
 Check your system clock" >&2;}  
    { (exit 1); exit 1; }; }  
1549  fi  fi
 echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
 test "$program_prefix" != NONE &&  
   program_transform_name="s,^,$program_prefix,;$program_transform_name"  
 # Use a double $ so make ignores it.  
 test "$program_suffix" != NONE &&  
   program_transform_name="s,\$,$program_suffix,;$program_transform_name"  
 # Double any \ or $.  echo might interpret backslashes.  
 # By default was `s,x,x', remove it if useless.  
 cat <<\_ACEOF >conftest.sed  
 s/[\\$]/&&/g;s/;s,x,x,$//  
 _ACEOF  
 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  
 rm conftest.sed  
   
   
 # expand $ac_aux_dir to an absolute path  
 am_aux_dir=`cd $ac_aux_dir && pwd`  
1550    
 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"  
 # Use eval to expand $SHELL  
 if eval "$MISSING --run true"; then  
   am_missing_run="$MISSING --run "  
 else  
   am_missing_run=  
   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5  
 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}  
1551  fi  fi
1552    if test -z "$ac_cv_prog_CC"; then
1553  for ac_prog in gawk mawk nawk awk    ac_ct_CC=$CC
1554  do    # Extract the first word of "gcc", so it can be a program name with args.
1555    # Extract the first word of "$ac_prog", so it can be a program name with args.  set dummy gcc; ac_word=$2
 set dummy $ac_prog; ac_word=$2  
1556  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1557  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558  if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1560  else  else
1561    if test -n "$AWK"; then    if test -n "$ac_ct_CC"; then
1562    ac_cv_prog_AWK="$AWK" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563  else  else
1564  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565  for as_dir in $PATH  for as_dir in $PATH
# Line 1761  do Line 1568  do
1568    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1569    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1570    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571      ac_cv_prog_AWK="$ac_prog"      ac_cv_prog_ac_ct_CC="gcc"
1572      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
1573      break 2      break 2
1574    fi    fi
# Line 1770  done Line 1577  done
1577    
1578  fi  fi
1579  fi  fi
1580  AWK=$ac_cv_prog_AWK  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581  if test -n "$AWK"; then  if test -n "$ac_ct_CC"; then
1582    echo "$as_me:$LINENO: result: $AWK" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583  echo "${ECHO_T}$AWK" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1584  else  else
1585    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1586  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1587  fi  fi
1588    
1589    test -n "$AWK" && break    CC=$ac_ct_CC
1590  done  else
1591      CC="$ac_cv_prog_CC"
1592    fi
1593    
1594  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  if test -z "$CC"; then
1595  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6    if test -n "$ac_tool_prefix"; then
1596  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  set dummy ${ac_tool_prefix}cc; ac_word=$2
1598    echo "$as_me:$LINENO: checking for $ac_word" >&5
1599    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600    if test "${ac_cv_prog_CC+set}" = set; then
1601    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1602  else  else
1603    cat >conftest.make <<\_ACEOF    if test -n "$CC"; then
1604  all:    ac_cv_prog_CC="$CC" # Let the user override the test.
         @echo 'ac_maketemp="$(MAKE)"'  
 _ACEOF  
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  
 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  
 if test -n "$ac_maketemp"; then  
   eval ac_cv_prog_make_${ac_make}_set=yes  
1605  else  else
1606    eval ac_cv_prog_make_${ac_make}_set=no  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1607    for as_dir in $PATH
1608    do
1609      IFS=$as_save_IFS
1610      test -z "$as_dir" && as_dir=.
1611      for ac_exec_ext in '' $ac_executable_extensions; do
1612      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613        ac_cv_prog_CC="${ac_tool_prefix}cc"
1614        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615        break 2
1616      fi
1617    done
1618    done
1619    
1620  fi  fi
 rm -f conftest.make  
1621  fi  fi
1622  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  CC=$ac_cv_prog_CC
1623    echo "$as_me:$LINENO: result: yes" >&5  if test -n "$CC"; then
1624  echo "${ECHO_T}yes" >&6    echo "$as_me:$LINENO: result: $CC" >&5
1625    SET_MAKE=  echo "${ECHO_T}$CC" >&6
1626  else  else
1627    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1628  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
   SET_MAKE="MAKE=${MAKE-make}"  
1629  fi  fi
1630    
  # test to see if srcdir already configured  
 if test "`cd $srcdir && pwd`" != "`pwd`" &&  
    test -f $srcdir/config.status; then  
   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5  
 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}  
    { (exit 1); exit 1; }; }  
1631  fi  fi
1632    if test -z "$ac_cv_prog_CC"; then
1633  # Define the identity of the package.    ac_ct_CC=$CC
1634   PACKAGE=linuxsampler    # Extract the first word of "cc", so it can be a program name with args.
1635   VERSION=0.1  set dummy cc; ac_word=$2
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE "$PACKAGE"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define VERSION "$VERSION"  
 _ACEOF  
   
 # Some tools Automake needs.  
   
 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}  
   
   
 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}  
   
   
 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}  
   
   
 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}  
   
   
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  
   
   
 AMTAR=${AMTAR-"${am_missing_run}tar"}  
   
 install_sh=${install_sh-"$am_aux_dir/install-sh"}  
   
 # Installed binaries are usually stripped using `strip' when the user  
 # run `make install-strip'.  However `strip' might not be the right  
 # tool to use in cross-compilation environments, therefore Automake  
 # will honor the `STRIP' environment variable to overrule this program.  
 if test "$cross_compiling" != no; then  
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}strip; ac_word=$2  
1636  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1637  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638  if test "${ac_cv_prog_STRIP+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1640  else  else
1641    if test -n "$STRIP"; then    if test -n "$ac_ct_CC"; then
1642    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1643  else  else
1644  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1645  for as_dir in $PATH  for as_dir in $PATH
# Line 1877  do Line 1648  do
1648    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1649    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1650    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651      ac_cv_prog_STRIP="${ac_tool_prefix}strip"      ac_cv_prog_ac_ct_CC="cc"
1652      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
1653      break 2      break 2
1654    fi    fi
# Line 1886  done Line 1657  done
1657    
1658  fi  fi
1659  fi  fi
1660  STRIP=$ac_cv_prog_STRIP  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661  if test -n "$STRIP"; then  if test -n "$ac_ct_CC"; then
1662    echo "$as_me:$LINENO: result: $STRIP" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663  echo "${ECHO_T}$STRIP" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1664  else  else
1665    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1666  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1667  fi  fi
1668    
1669      CC=$ac_ct_CC
1670    else
1671      CC="$ac_cv_prog_CC"
1672  fi  fi
1673  if test -z "$ac_cv_prog_STRIP"; then  
1674    ac_ct_STRIP=$STRIP  fi
1675    # Extract the first word of "strip", so it can be a program name with args.  if test -z "$CC"; then
1676  set dummy strip; ac_word=$2    # Extract the first word of "cc", so it can be a program name with args.
1677    set dummy cc; ac_word=$2
1678  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1679  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1681    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1682  else  else
1683    if test -n "$ac_ct_STRIP"; then    if test -n "$CC"; then
1684    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1685  else  else
1686      ac_prog_rejected=no
1687  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688  for as_dir in $PATH  for as_dir in $PATH
1689  do  do
# Line 1915  do Line 1691  do
1691    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1692    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1693    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694      ac_cv_prog_ac_ct_STRIP="strip"      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695           ac_prog_rejected=yes
1696           continue
1697         fi
1698        ac_cv_prog_CC="cc"
1699      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
1700      break 2      break 2
1701    fi    fi
1702  done  done
1703  done  done
1704    
1705    test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"  if test $ac_prog_rejected = yes; then
1706      # We found a bogon in the path, so make sure we never use it.
1707      set dummy $ac_cv_prog_CC
1708      shift
1709      if test $# != 0; then
1710        # We chose a different compiler from the bogus one.
1711        # However, it has the same basename, so the bogon will be chosen
1712        # first if we set CC to just the basename; use the full file name.
1713        shift
1714        ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1715      fi
1716  fi  fi
1717  fi  fi
1718  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  fi
1719  if test -n "$ac_ct_STRIP"; then  CC=$ac_cv_prog_CC
1720    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5  if test -n "$CC"; then
1721  echo "${ECHO_T}$ac_ct_STRIP" >&6    echo "$as_me:$LINENO: result: $CC" >&5
1722    echo "${ECHO_T}$CC" >&6
1723  else  else
1724    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1725  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1726  fi  fi
1727    
   STRIP=$ac_ct_STRIP  
 else  
   STRIP="$ac_cv_prog_STRIP"  
 fi  
   
1728  fi  fi
1729  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"  if test -z "$CC"; then
1730      if test -n "$ac_tool_prefix"; then
1731  # We need awk for the "check" target.  The system "awk" is bad on    for ac_prog in cl
 # some platforms.  
   
   
   
   
 ac_ext=cc  
 ac_cpp='$CXXCPP $CPPFLAGS'  
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  
   
 ac_ext=cc  
 ac_cpp='$CXXCPP $CPPFLAGS'  
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  
 if test -n "$ac_tool_prefix"; then  
   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC  
1732    do    do
1733      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1735  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1736  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737  if test "${ac_cv_prog_CXX+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1738    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1739  else  else
1740    if test -n "$CXX"; then    if test -n "$CC"; then
1741    ac_cv_prog_CXX="$CXX" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1742  else  else
1743  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744  for as_dir in $PATH  for as_dir in $PATH
# Line 1979  do Line 1747  do
1747    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1748    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1749    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1751      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
1752      break 2      break 2
1753    fi    fi
# Line 1988  done Line 1756  done
1756    
1757  fi  fi
1758  fi  fi
1759  CXX=$ac_cv_prog_CXX  CC=$ac_cv_prog_CC
1760  if test -n "$CXX"; then  if test -n "$CC"; then
1761    echo "$as_me:$LINENO: result: $CXX" >&5    echo "$as_me:$LINENO: result: $CC" >&5
1762  echo "${ECHO_T}$CXX" >&6  echo "${ECHO_T}$CC" >&6
1763  else  else
1764    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1765  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1766  fi  fi
1767    
1768      test -n "$CXX" && break      test -n "$CC" && break
1769    done    done
1770  fi  fi
1771  if test -z "$CXX"; then  if test -z "$CC"; then
1772    ac_ct_CXX=$CXX    ac_ct_CC=$CC
1773    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC    for ac_prog in cl
1774  do  do
1775    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
1776  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
1777  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
1778  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779  if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1781  else  else
1782    if test -n "$ac_ct_CXX"; then    if test -n "$ac_ct_CC"; then
1783    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1784  else  else
1785  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1786  for as_dir in $PATH  for as_dir in $PATH
# Line 2021  do Line 1789  do
1789    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1790    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1791    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792      ac_cv_prog_ac_ct_CXX="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
1793      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
1794      break 2      break 2
1795    fi    fi
# Line 2030  done Line 1798  done
1798    
1799  fi  fi
1800  fi  fi
1801  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802  if test -n "$ac_ct_CXX"; then  if test -n "$ac_ct_CC"; then
1803    echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804  echo "${ECHO_T}$ac_ct_CXX" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
1805  else  else
1806    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
1807  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
1808  fi  fi
1809    
1810    test -n "$ac_ct_CXX" && break    test -n "$ac_ct_CC" && break
1811  done  done
 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"  
1812    
1813    CXX=$ac_ct_CXX    CC=$ac_ct_CC
1814  fi  fi
1815    
1816    fi
1817    
1818    
1819    test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820    See \`config.log' for more details." >&5
1821    echo "$as_me: error: no acceptable C compiler found in \$PATH
1822    See \`config.log' for more details." >&2;}
1823       { (exit 1); exit 1; }; }
1824    
1825  # Provide some information about the compiler.  # Provide some information about the compiler.
1826  echo "$as_me:$LINENO:" \  echo "$as_me:$LINENO:" \
1827       "checking for C++ compiler version" >&5       "checking for C compiler version" >&5
1828  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
1829  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
# Line 2068  ac_compiler=`set X $ac_compile; echo $2` Line 1843  ac_compiler=`set X $ac_compile; echo $2`
1843    (exit $ac_status); }    (exit $ac_status); }
1844    
1845  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
1846  /* confdefs.h.  */  /* confdefs.h.  */
1847  _ACEOF  _ACEOF
1848  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2088  ac_clean_files="$ac_clean_files a.out a. Line 1862  ac_clean_files="$ac_clean_files a.out a.
1862  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1863  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1864  # of exeext.  # of exeext.
1865  echo "$as_me:$LINENO: checking for C++ compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866  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
1867  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1868  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 2109  do Line 1883  do
1883    test -f "$ac_file" || continue    test -f "$ac_file" || continue
1884    case $ac_file in    case $ac_file in
1885      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1886          ;;          ;;
1887      conftest.$ac_ext )      conftest.$ac_ext )
1888          # This is the source file.          # This is the source file.
1889          ;;          ;;
1890      [ab].out )      [ab].out )
1891          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
1892          # certainly right.          # certainly right.
1893          break;;          break;;
1894      *.* )      *.* )
1895          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896          # FIXME: I believe we export ac_cv_exeext for Libtool,          # FIXME: I believe we export ac_cv_exeext for Libtool,
1897          # 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
1898          # maintain Libtool? --akim.          # maintain Libtool? --akim.
1899          export ac_cv_exeext          export ac_cv_exeext
1900          break;;          break;;
1901      * )      * )
1902          break;;          break;;
1903    esac    esac
1904  done  done
1905  else  else
1906    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
1907  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
1908    
1909  { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
1911  echo "$as_me: error: C++ compiler cannot create executables  echo "$as_me: error: C compiler cannot create executables
1912  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
1913     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
1914  fi  fi
# Line 2145  echo "${ECHO_T}$ac_file" >&6 Line 1919  echo "${ECHO_T}$ac_file" >&6
1919    
1920  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
1921  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
1922  echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5  echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1923  echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1924  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
1926  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
# Line 2161  if test "$cross_compiling" != yes; then Line 1935  if test "$cross_compiling" != yes; then
1935      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
1936          cross_compiling=yes          cross_compiling=yes
1937      else      else
1938          { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1939  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
1940  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
1941  echo "$as_me: error: cannot run C++ compiled programs.  echo "$as_me: error: cannot run C compiled programs.
1942  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
1943  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
1944     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
# Line 2199  for ac_file in conftest.exe conftest con Line 1973  for ac_file in conftest.exe conftest con
1973    case $ac_file in    case $ac_file in
1974      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1975      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1976            export ac_cv_exeext            export ac_cv_exeext
1977            break;;            break;;
1978      * ) break;;      * ) break;;
1979    esac    esac
1980  done  done
# Line 2225  if test "${ac_cv_objext+set}" = set; the Line 1999  if test "${ac_cv_objext+set}" = set; the
1999    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2000  else  else
2001    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2002  /* confdefs.h.  */  /* confdefs.h.  */
2003  _ACEOF  _ACEOF
2004  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2270  echo "$as_me:$LINENO: result: $ac_cv_obj Line 2043  echo "$as_me:$LINENO: result: $ac_cv_obj
2043  echo "${ECHO_T}$ac_cv_objext" >&6  echo "${ECHO_T}$ac_cv_objext" >&6
2044  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2045  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2046  echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5  echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047  echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048  if test "${ac_cv_cxx_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2050  else  else
2051    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2052  /* confdefs.h.  */  /* confdefs.h.  */
2053  _ACEOF  _ACEOF
2054  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2296  main () Line 2068  main ()
2068  _ACEOF  _ACEOF
2069  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2070  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2072    ac_status=$?    ac_status=$?
2073      grep -v '^ *+' conftest.er1 >conftest.err
2074      rm -f conftest.er1
2075      cat conftest.err >&5
2076    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077    (exit $ac_status); } &&    (exit $ac_status); } &&
2078           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2079      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2080      (eval $ac_try) 2>&5
2081      ac_status=$?
2082      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083      (exit $ac_status); }; } &&
2084             { ac_try='test -s conftest.$ac_objext'
2085    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2087    ac_status=$?    ac_status=$?
# Line 2313  sed 's/^/| /' conftest.$ac_ext >&5 Line 2094  sed 's/^/| /' conftest.$ac_ext >&5
2094    
2095  ac_compiler_gnu=no  ac_compiler_gnu=no
2096  fi  fi
2097  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2098  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2099    
2100  fi  fi
2101  echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102  echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103  GXX=`test $ac_compiler_gnu = yes && echo yes`  GCC=`test $ac_compiler_gnu = yes && echo yes`
2104  ac_test_CXXFLAGS=${CXXFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2105  ac_save_CXXFLAGS=$CXXFLAGS  ac_save_CFLAGS=$CFLAGS
2106  CXXFLAGS="-g"  CFLAGS="-g"
2107  echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5  echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108  echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109  if test "${ac_cv_prog_cxx_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2110    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2111  else  else
2112    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2113  /* confdefs.h.  */  /* confdefs.h.  */
2114  _ACEOF  _ACEOF
2115  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2346  main () Line 2126  main ()
2126  _ACEOF  _ACEOF
2127  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2128  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2130    ac_status=$?    ac_status=$?
2131      grep -v '^ *+' conftest.er1 >conftest.err
2132      rm -f conftest.er1
2133      cat conftest.err >&5
2134    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135    (exit $ac_status); } &&    (exit $ac_status); } &&
2136           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2137      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138      (eval $ac_try) 2>&5
2139      ac_status=$?
2140      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141      (exit $ac_status); }; } &&
2142             { ac_try='test -s conftest.$ac_objext'
2143    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2144    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2145    ac_status=$?    ac_status=$?
2146    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2148    ac_cv_prog_cxx_g=yes    ac_cv_prog_cc_g=yes
2149  else  else
2150    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2151  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2152    
2153  ac_cv_prog_cxx_g=no  ac_cv_prog_cc_g=no
2154  fi  fi
2155  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2156  fi  fi
2157  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159  if test "$ac_test_CXXFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2160    CXXFLAGS=$ac_save_CXXFLAGS    CFLAGS=$ac_save_CFLAGS
2161  elif test $ac_cv_prog_cxx_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
2162    if test "$GXX" = yes; then    if test "$GCC" = yes; then
2163      CXXFLAGS="-g -O2"      CFLAGS="-g -O2"
2164    else    else
2165      CXXFLAGS="-g"      CFLAGS="-g"
2166    fi    fi
2167  else  else
2168    if test "$GXX" = yes; then    if test "$GCC" = yes; then
2169      CXXFLAGS="-O2"      CFLAGS="-O2"
2170    else    else
2171      CXXFLAGS=      CFLAGS=
2172    fi    fi
2173  fi  fi
2174  for ac_declaration in \  echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176    if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177      echo $ECHO_N "(cached) $ECHO_C" >&6
2178    else
2179      ac_cv_prog_cc_stdc=no
2180    ac_save_CC=$CC
2181    cat >conftest.$ac_ext <<_ACEOF
2182    /* confdefs.h.  */
2183    _ACEOF
2184    cat confdefs.h >>conftest.$ac_ext
2185    cat >>conftest.$ac_ext <<_ACEOF
2186    /* end confdefs.h.  */
2187    #include <stdarg.h>
2188    #include <stdio.h>
2189    #include <sys/types.h>
2190    #include <sys/stat.h>
2191    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2192    struct buf { int x; };
2193    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194    static char *e (p, i)
2195         char **p;
2196         int i;
2197    {
2198      return p[i];
2199    }
2200    static char *f (char * (*g) (char **, int), char **p, ...)
2201    {
2202      char *s;
2203      va_list v;
2204      va_start (v,p);
2205      s = g (p, va_arg (v,int));
2206      va_end (v);
2207      return s;
2208    }
2209    
2210    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2211       function prototypes and stuff, but not '\xHH' hex character constants.
2212       These don't provoke an error unfortunately, instead are silently treated
2213       as 'x'.  The following induces an error, until -std1 is added to get
2214       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2215       array size at least.  It's necessary to write '\x00'==0 to get something
2216       that's true only with -std1.  */
2217    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2218    
2219    int test (int i, double x);
2220    struct s1 {int (*f) (int a);};
2221    struct s2 {int (*f) (double a);};
2222    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2223    int argc;
2224    char **argv;
2225    int
2226    main ()
2227    {
2228    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2229      ;
2230      return 0;
2231    }
2232    _ACEOF
2233    # Don't try gcc -ansi; that turns off useful extensions and
2234    # breaks some systems' header files.
2235    # AIX                   -qlanglvl=ansi
2236    # Ultrix and OSF/1      -std1
2237    # HP-UX 10.20 and later -Ae
2238    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2239    # SVR4                  -Xc -D__EXTENSIONS__
2240    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2241    do
2242      CC="$ac_save_CC $ac_arg"
2243      rm -f conftest.$ac_objext
2244    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245      (eval $ac_compile) 2>conftest.er1
2246      ac_status=$?
2247      grep -v '^ *+' conftest.er1 >conftest.err
2248      rm -f conftest.er1
2249      cat conftest.err >&5
2250      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251      (exit $ac_status); } &&
2252             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2253      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254      (eval $ac_try) 2>&5
2255      ac_status=$?
2256      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257      (exit $ac_status); }; } &&
2258             { ac_try='test -s conftest.$ac_objext'
2259      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260      (eval $ac_try) 2>&5
2261      ac_status=$?
2262      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263      (exit $ac_status); }; }; then
2264      ac_cv_prog_cc_stdc=$ac_arg
2265    break
2266    else
2267      echo "$as_me: failed program was:" >&5
2268    sed 's/^/| /' conftest.$ac_ext >&5
2269    
2270    fi
2271    rm -f conftest.err conftest.$ac_objext
2272    done
2273    rm -f conftest.$ac_ext conftest.$ac_objext
2274    CC=$ac_save_CC
2275    
2276    fi
2277    
2278    case "x$ac_cv_prog_cc_stdc" in
2279      x|xno)
2280        echo "$as_me:$LINENO: result: none needed" >&5
2281    echo "${ECHO_T}none needed" >&6 ;;
2282      *)
2283        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285        CC="$CC $ac_cv_prog_cc_stdc" ;;
2286    esac
2287    
2288    # Some people use a C++ compiler to compile C.  Since we use `exit',
2289    # in C++ we need to declare it.  In case someone uses the same compiler
2290    # for both compiling C and C++ we need to have the C++ compiler decide
2291    # the declaration of exit, since it's the most demanding environment.
2292    cat >conftest.$ac_ext <<_ACEOF
2293    #ifndef __cplusplus
2294      choke me
2295    #endif
2296    _ACEOF
2297    rm -f conftest.$ac_objext
2298    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299      (eval $ac_compile) 2>conftest.er1
2300      ac_status=$?
2301      grep -v '^ *+' conftest.er1 >conftest.err
2302      rm -f conftest.er1
2303      cat conftest.err >&5
2304      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305      (exit $ac_status); } &&
2306             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2307      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308      (eval $ac_try) 2>&5
2309      ac_status=$?
2310      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311      (exit $ac_status); }; } &&
2312             { ac_try='test -s conftest.$ac_objext'
2313      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314      (eval $ac_try) 2>&5
2315      ac_status=$?
2316      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317      (exit $ac_status); }; }; then
2318      for ac_declaration in \
2319     '' \     '' \
2320     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2321     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
# Line 2391  for ac_declaration in \ Line 2324  for ac_declaration in \
2324     'void exit (int);'     'void exit (int);'
2325  do  do
2326    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2327  /* confdefs.h.  */  /* confdefs.h.  */
2328  _ACEOF  _ACEOF
2329  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2409  exit (42); Line 2341  exit (42);
2341  _ACEOF  _ACEOF
2342  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2343  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2345    ac_status=$?    ac_status=$?
2346      grep -v '^ *+' conftest.er1 >conftest.err
2347      rm -f conftest.er1
2348      cat conftest.err >&5
2349    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350    (exit $ac_status); } &&    (exit $ac_status); } &&
2351           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2352      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353      (eval $ac_try) 2>&5
2354      ac_status=$?
2355      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356      (exit $ac_status); }; } &&
2357             { ac_try='test -s conftest.$ac_objext'
2358    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2360    ac_status=$?    ac_status=$?
# Line 2426  sed 's/^/| /' conftest.$ac_ext >&5 Line 2367  sed 's/^/| /' conftest.$ac_ext >&5
2367    
2368  continue  continue
2369  fi  fi
2370  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2372  /* confdefs.h.  */  /* confdefs.h.  */
2373  _ACEOF  _ACEOF
2374  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2445  exit (42); Line 2385  exit (42);
2385  _ACEOF  _ACEOF
2386  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2387  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2389    ac_status=$?    ac_status=$?
2390      grep -v '^ *+' conftest.er1 >conftest.err
2391      rm -f conftest.er1
2392      cat conftest.err >&5
2393    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394    (exit $ac_status); } &&    (exit $ac_status); } &&
2395           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2396      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397      (eval $ac_try) 2>&5
2398      ac_status=$?
2399      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400      (exit $ac_status); }; } &&
2401             { ac_try='test -s conftest.$ac_objext'
2402    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2404    ac_status=$?    ac_status=$?
# Line 2461  else Line 2410  else
2410  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2411    
2412  fi  fi
2413  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2414  done  done
2415  rm -f conftest*  rm -f conftest*
2416  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2470  if test -n "$ac_declaration"; then Line 2419  if test -n "$ac_declaration"; then
2419    echo '#endif'             >>confdefs.h    echo '#endif'             >>confdefs.h
2420  fi  fi
2421    
2422  ac_ext=cc  else
2423  ac_cpp='$CXXCPP $CPPFLAGS'    echo "$as_me: failed program was:" >&5
2424  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  sed 's/^/| /' conftest.$ac_ext >&5
2425  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
2426  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  fi
2427    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2428    ac_ext=c
2429    ac_cpp='$CPP $CPPFLAGS'
2430    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433    
2434    
2435    echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2436    echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2437    if test "${ac_cv_c_bigendian+set}" = set; then
2438      echo $ECHO_N "(cached) $ECHO_C" >&6
2439    else
2440      # See if sys/param.h defines the BYTE_ORDER macro.
2441    cat >conftest.$ac_ext <<_ACEOF
2442    /* confdefs.h.  */
2443    _ACEOF
2444    cat confdefs.h >>conftest.$ac_ext
2445    cat >>conftest.$ac_ext <<_ACEOF
2446    /* end confdefs.h.  */
2447    #include <sys/types.h>
2448    #include <sys/param.h>
2449    
2450    int
2451    main ()
2452    {
2453    #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2454     bogus endian macros
2455    #endif
2456    
2457      ;
2458      return 0;
2459    }
2460    _ACEOF
2461    rm -f conftest.$ac_objext
2462    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463      (eval $ac_compile) 2>conftest.er1
2464      ac_status=$?
2465      grep -v '^ *+' conftest.er1 >conftest.err
2466      rm -f conftest.er1
2467      cat conftest.err >&5
2468      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469      (exit $ac_status); } &&
2470             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2471      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2472      (eval $ac_try) 2>&5
2473      ac_status=$?
2474      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475      (exit $ac_status); }; } &&
2476             { ac_try='test -s conftest.$ac_objext'
2477      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2478      (eval $ac_try) 2>&5
2479      ac_status=$?
2480      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481      (exit $ac_status); }; }; then
2482      # It does; now see whether it defined to BIG_ENDIAN or not.
2483    cat >conftest.$ac_ext <<_ACEOF
2484    /* confdefs.h.  */
2485    _ACEOF
2486    cat confdefs.h >>conftest.$ac_ext
2487    cat >>conftest.$ac_ext <<_ACEOF
2488    /* end confdefs.h.  */
2489    #include <sys/types.h>
2490    #include <sys/param.h>
2491    
2492    int
2493    main ()
2494    {
2495    #if BYTE_ORDER != BIG_ENDIAN
2496     not big endian
2497    #endif
2498    
2499      ;
2500      return 0;
2501    }
2502    _ACEOF
2503    rm -f conftest.$ac_objext
2504    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505      (eval $ac_compile) 2>conftest.er1
2506      ac_status=$?
2507      grep -v '^ *+' conftest.er1 >conftest.err
2508      rm -f conftest.er1
2509      cat conftest.err >&5
2510      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511      (exit $ac_status); } &&
2512             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2513      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514      (eval $ac_try) 2>&5
2515      ac_status=$?
2516      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517      (exit $ac_status); }; } &&
2518             { ac_try='test -s conftest.$ac_objext'
2519      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520      (eval $ac_try) 2>&5
2521      ac_status=$?
2522      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523      (exit $ac_status); }; }; then
2524      ac_cv_c_bigendian=yes
2525    else
2526      echo "$as_me: failed program was:" >&5
2527    sed 's/^/| /' conftest.$ac_ext >&5
2528    
2529    ac_cv_c_bigendian=no
2530    fi
2531    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2532    else
2533      echo "$as_me: failed program was:" >&5
2534    sed 's/^/| /' conftest.$ac_ext >&5
2535    
2536    # It does not; compile a test program.
2537    if test "$cross_compiling" = yes; then
2538      # try to guess the endianness by grepping values into an object file
2539      ac_cv_c_bigendian=unknown
2540      cat >conftest.$ac_ext <<_ACEOF
2541    /* confdefs.h.  */
2542    _ACEOF
2543    cat confdefs.h >>conftest.$ac_ext
2544    cat >>conftest.$ac_ext <<_ACEOF
2545    /* end confdefs.h.  */
2546    short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2547    short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2548    void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2549    short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2550    short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2551    void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2552    int
2553    main ()
2554    {
2555     _ascii (); _ebcdic ();
2556      ;
2557      return 0;
2558    }
2559    _ACEOF
2560    rm -f conftest.$ac_objext
2561    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2562      (eval $ac_compile) 2>conftest.er1
2563      ac_status=$?
2564      grep -v '^ *+' conftest.er1 >conftest.err
2565      rm -f conftest.er1
2566      cat conftest.err >&5
2567      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568      (exit $ac_status); } &&
2569             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2570      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571      (eval $ac_try) 2>&5
2572      ac_status=$?
2573      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574      (exit $ac_status); }; } &&
2575             { ac_try='test -s conftest.$ac_objext'
2576      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577      (eval $ac_try) 2>&5
2578      ac_status=$?
2579      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580      (exit $ac_status); }; }; then
2581      if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2582      ac_cv_c_bigendian=yes
2583    fi
2584    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2585      if test "$ac_cv_c_bigendian" = unknown; then
2586        ac_cv_c_bigendian=no
2587      else
2588        # finding both strings is unlikely to happen, but who knows?
2589        ac_cv_c_bigendian=unknown
2590      fi
2591    fi
2592    else
2593      echo "$as_me: failed program was:" >&5
2594    sed 's/^/| /' conftest.$ac_ext >&5
2595    
2596    fi
2597    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2598    else
2599      cat >conftest.$ac_ext <<_ACEOF
2600    /* confdefs.h.  */
2601    _ACEOF
2602    cat confdefs.h >>conftest.$ac_ext
2603    cat >>conftest.$ac_ext <<_ACEOF
2604    /* end confdefs.h.  */
2605    int
2606    main ()
2607    {
2608      /* Are we little or big endian?  From Harbison&Steele.  */
2609      union
2610      {
2611        long l;
2612        char c[sizeof (long)];
2613      } u;
2614      u.l = 1;
2615      exit (u.c[sizeof (long) - 1] == 1);
2616    }
2617    _ACEOF
2618    rm -f conftest$ac_exeext
2619    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620      (eval $ac_link) 2>&5
2621      ac_status=$?
2622      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2624      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625      (eval $ac_try) 2>&5
2626      ac_status=$?
2627      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628      (exit $ac_status); }; }; then
2629      ac_cv_c_bigendian=no
2630    else
2631      echo "$as_me: program exited with status $ac_status" >&5
2632    echo "$as_me: failed program was:" >&5
2633    sed 's/^/| /' conftest.$ac_ext >&5
2634    
2635    ( exit $ac_status )
2636    ac_cv_c_bigendian=yes
2637    fi
2638    rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2639    fi
2640    fi
2641    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2642    fi
2643    echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2644    echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2645    case $ac_cv_c_bigendian in
2646      yes)
2647    
2648    cat >>confdefs.h <<\_ACEOF
2649    #define WORDS_BIGENDIAN 1
2650    _ACEOF
2651     ;;
2652      no)
2653         ;;
2654      *)
2655        { { echo "$as_me:$LINENO: error: unknown endianness
2656    presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2657    echo "$as_me: error: unknown endianness
2658    presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2659       { (exit 1); exit 1; }; } ;;
2660    esac
2661    
2662    ac_aux_dir=
2663    for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2664      if test -f $ac_dir/install-sh; then
2665        ac_aux_dir=$ac_dir
2666        ac_install_sh="$ac_aux_dir/install-sh -c"
2667        break
2668      elif test -f $ac_dir/install.sh; then
2669        ac_aux_dir=$ac_dir
2670        ac_install_sh="$ac_aux_dir/install.sh -c"
2671        break
2672      elif test -f $ac_dir/shtool; then
2673        ac_aux_dir=$ac_dir
2674        ac_install_sh="$ac_aux_dir/shtool install -c"
2675        break
2676      fi
2677    done
2678    if test -z "$ac_aux_dir"; then
2679      { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2680    echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2681       { (exit 1); exit 1; }; }
2682    fi
2683    ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2684    ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2685    ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2686    
2687    # Make sure we can run config.sub.
2688    $ac_config_sub sun4 >/dev/null 2>&1 ||
2689      { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2690    echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2691       { (exit 1); exit 1; }; }
2692    
2693    echo "$as_me:$LINENO: checking build system type" >&5
2694    echo $ECHO_N "checking build system type... $ECHO_C" >&6
2695    if test "${ac_cv_build+set}" = set; then
2696      echo $ECHO_N "(cached) $ECHO_C" >&6
2697    else
2698      ac_cv_build_alias=$build_alias
2699    test -z "$ac_cv_build_alias" &&
2700      ac_cv_build_alias=`$ac_config_guess`
2701    test -z "$ac_cv_build_alias" &&
2702      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2703    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2704       { (exit 1); exit 1; }; }
2705    ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2706      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2707    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2708       { (exit 1); exit 1; }; }
2709    
2710    fi
2711    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2712    echo "${ECHO_T}$ac_cv_build" >&6
2713    build=$ac_cv_build
2714    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2715    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2716    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2717    
2718    
2719    echo "$as_me:$LINENO: checking host system type" >&5
2720    echo $ECHO_N "checking host system type... $ECHO_C" >&6
2721    if test "${ac_cv_host+set}" = set; then
2722      echo $ECHO_N "(cached) $ECHO_C" >&6
2723    else
2724      ac_cv_host_alias=$host_alias
2725    test -z "$ac_cv_host_alias" &&
2726      ac_cv_host_alias=$ac_cv_build_alias
2727    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2728      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2729    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2730       { (exit 1); exit 1; }; }
2731    
2732    fi
2733    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2734    echo "${ECHO_T}$ac_cv_host" >&6
2735    host=$ac_cv_host
2736    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2737    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2738    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2739    
2740    
2741    echo "$as_me:$LINENO: checking target system type" >&5
2742    echo $ECHO_N "checking target system type... $ECHO_C" >&6
2743    if test "${ac_cv_target+set}" = set; then
2744      echo $ECHO_N "(cached) $ECHO_C" >&6
2745    else
2746      ac_cv_target_alias=$target_alias
2747    test "x$ac_cv_target_alias" = "x" &&
2748      ac_cv_target_alias=$ac_cv_host_alias
2749    ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2750      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2751    echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2752       { (exit 1); exit 1; }; }
2753    
2754    fi
2755    echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2756    echo "${ECHO_T}$ac_cv_target" >&6
2757    target=$ac_cv_target
2758    target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2759    target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2760    target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2761    
2762    
2763    # The aliases save the names the user supplied, while $host etc.
2764    # will get canonicalized.
2765    test -n "$target_alias" &&
2766      test "$program_prefix$program_suffix$program_transform_name" = \
2767        NONENONEs,x,x, &&
2768      program_prefix=${target_alias}-
2769    
2770    
2771    echo -n "checking whether x86 architecture... "
2772    def_arch_x86=0
2773    case $target_cpu in
2774      "i386" | "i486" | "i586" | "i686" | "i786")
2775        echo "yes"
2776        def_arch_x86=1;;
2777      *)
2778        echo "no";;
2779    esac
2780    
2781    cat >>confdefs.h <<_ACEOF
2782    #define ARCH_X86 $def_arch_x86
2783    _ACEOF
2784    
2785    
2786    
2787    ac_ext=c
2788    ac_cpp='$CPP $CPPFLAGS'
2789    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2790    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2791    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792    echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2793    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2794    # On Suns, sometimes $CPP names a directory.
2795    if test -n "$CPP" && test -d "$CPP"; then
2796      CPP=
2797    fi
2798    if test -z "$CPP"; then
2799      if test "${ac_cv_prog_CPP+set}" = set; then
2800      echo $ECHO_N "(cached) $ECHO_C" >&6
2801    else
2802          # Double quotes because CPP needs to be expanded
2803        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2804        do
2805          ac_preproc_ok=false
2806    for ac_c_preproc_warn_flag in '' yes
2807    do
2808      # Use a header file that comes with gcc, so configuring glibc
2809      # with a fresh cross-compiler works.
2810      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2811      # <limits.h> exists even on freestanding compilers.
2812      # On the NeXT, cc -E runs the code through the compiler's parser,
2813      # not just through cpp. "Syntax error" is here to catch this case.
2814      cat >conftest.$ac_ext <<_ACEOF
2815    /* confdefs.h.  */
2816    _ACEOF
2817    cat confdefs.h >>conftest.$ac_ext
2818    cat >>conftest.$ac_ext <<_ACEOF
2819    /* end confdefs.h.  */
2820    #ifdef __STDC__
2821    # include <limits.h>
2822    #else
2823    # include <assert.h>
2824    #endif
2825                         Syntax error
2826    _ACEOF
2827    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2828      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2829      ac_status=$?
2830      grep -v '^ *+' conftest.er1 >conftest.err
2831      rm -f conftest.er1
2832      cat conftest.err >&5
2833      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834      (exit $ac_status); } >/dev/null; then
2835      if test -s conftest.err; then
2836        ac_cpp_err=$ac_c_preproc_warn_flag
2837        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2838      else
2839        ac_cpp_err=
2840      fi
2841    else
2842      ac_cpp_err=yes
2843    fi
2844    if test -z "$ac_cpp_err"; then
2845      :
2846    else
2847      echo "$as_me: failed program was:" >&5
2848    sed 's/^/| /' conftest.$ac_ext >&5
2849    
2850      # Broken: fails on valid input.
2851    continue
2852    fi
2853    rm -f conftest.err conftest.$ac_ext
2854    
2855      # OK, works on sane cases.  Now check whether non-existent headers
2856      # can be detected and how.
2857      cat >conftest.$ac_ext <<_ACEOF
2858    /* confdefs.h.  */
2859    _ACEOF
2860    cat confdefs.h >>conftest.$ac_ext
2861    cat >>conftest.$ac_ext <<_ACEOF
2862    /* end confdefs.h.  */
2863    #include <ac_nonexistent.h>
2864    _ACEOF
2865    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2866      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2867      ac_status=$?
2868      grep -v '^ *+' conftest.er1 >conftest.err
2869      rm -f conftest.er1
2870      cat conftest.err >&5
2871      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872      (exit $ac_status); } >/dev/null; then
2873      if test -s conftest.err; then
2874        ac_cpp_err=$ac_c_preproc_warn_flag
2875        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2876      else
2877        ac_cpp_err=
2878      fi
2879    else
2880      ac_cpp_err=yes
2881    fi
2882    if test -z "$ac_cpp_err"; then
2883      # Broken: success on invalid input.
2884    continue
2885    else
2886      echo "$as_me: failed program was:" >&5
2887    sed 's/^/| /' conftest.$ac_ext >&5
2888    
2889      # Passes both tests.
2890    ac_preproc_ok=:
2891    break
2892    fi
2893    rm -f conftest.err conftest.$ac_ext
2894    
2895    done
2896    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2897    rm -f conftest.err conftest.$ac_ext
2898    if $ac_preproc_ok; then
2899      break
2900    fi
2901    
2902        done
2903        ac_cv_prog_CPP=$CPP
2904    
2905    fi
2906      CPP=$ac_cv_prog_CPP
2907    else
2908      ac_cv_prog_CPP=$CPP
2909    fi
2910    echo "$as_me:$LINENO: result: $CPP" >&5
2911    echo "${ECHO_T}$CPP" >&6
2912    ac_preproc_ok=false
2913    for ac_c_preproc_warn_flag in '' yes
2914    do
2915      # Use a header file that comes with gcc, so configuring glibc
2916      # with a fresh cross-compiler works.
2917      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2918      # <limits.h> exists even on freestanding compilers.
2919      # On the NeXT, cc -E runs the code through the compiler's parser,
2920      # not just through cpp. "Syntax error" is here to catch this case.
2921      cat >conftest.$ac_ext <<_ACEOF
2922    /* confdefs.h.  */
2923    _ACEOF
2924    cat confdefs.h >>conftest.$ac_ext
2925    cat >>conftest.$ac_ext <<_ACEOF
2926    /* end confdefs.h.  */
2927    #ifdef __STDC__
2928    # include <limits.h>
2929    #else
2930    # include <assert.h>
2931    #endif
2932                         Syntax error
2933    _ACEOF
2934    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2935      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2936      ac_status=$?
2937      grep -v '^ *+' conftest.er1 >conftest.err
2938      rm -f conftest.er1
2939      cat conftest.err >&5
2940      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941      (exit $ac_status); } >/dev/null; then
2942      if test -s conftest.err; then
2943        ac_cpp_err=$ac_c_preproc_warn_flag
2944        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2945      else
2946        ac_cpp_err=
2947      fi
2948    else
2949      ac_cpp_err=yes
2950    fi
2951    if test -z "$ac_cpp_err"; then
2952      :
2953    else
2954      echo "$as_me: failed program was:" >&5
2955    sed 's/^/| /' conftest.$ac_ext >&5
2956    
2957      # Broken: fails on valid input.
2958    continue
2959    fi
2960    rm -f conftest.err conftest.$ac_ext
2961    
2962      # OK, works on sane cases.  Now check whether non-existent headers
2963      # can be detected and how.
2964      cat >conftest.$ac_ext <<_ACEOF
2965    /* confdefs.h.  */
2966    _ACEOF
2967    cat confdefs.h >>conftest.$ac_ext
2968    cat >>conftest.$ac_ext <<_ACEOF
2969    /* end confdefs.h.  */
2970    #include <ac_nonexistent.h>
2971    _ACEOF
2972    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2973      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2974      ac_status=$?
2975      grep -v '^ *+' conftest.er1 >conftest.err
2976      rm -f conftest.er1
2977      cat conftest.err >&5
2978      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979      (exit $ac_status); } >/dev/null; then
2980      if test -s conftest.err; then
2981        ac_cpp_err=$ac_c_preproc_warn_flag
2982        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2983      else
2984        ac_cpp_err=
2985      fi
2986    else
2987      ac_cpp_err=yes
2988    fi
2989    if test -z "$ac_cpp_err"; then
2990      # Broken: success on invalid input.
2991    continue
2992    else
2993      echo "$as_me: failed program was:" >&5
2994    sed 's/^/| /' conftest.$ac_ext >&5
2995    
2996      # Passes both tests.
2997    ac_preproc_ok=:
2998    break
2999    fi
3000    rm -f conftest.err conftest.$ac_ext
3001    
3002    done
3003    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3004    rm -f conftest.err conftest.$ac_ext
3005    if $ac_preproc_ok; then
3006      :
3007    else
3008      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3009    See \`config.log' for more details." >&5
3010    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3011    See \`config.log' for more details." >&2;}
3012       { (exit 1); exit 1; }; }
3013    fi
3014    
3015    ac_ext=c
3016    ac_cpp='$CPP $CPPFLAGS'
3017    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020    
3021    
3022    echo "$as_me:$LINENO: checking for egrep" >&5
3023    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3024    if test "${ac_cv_prog_egrep+set}" = set; then
3025      echo $ECHO_N "(cached) $ECHO_C" >&6
3026    else
3027      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3028        then ac_cv_prog_egrep='grep -E'
3029        else ac_cv_prog_egrep='egrep'
3030        fi
3031    fi
3032    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3033    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3034     EGREP=$ac_cv_prog_egrep
3035    
3036    
3037    echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3038    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3039    if test "${ac_cv_header_stdc+set}" = set; then
3040      echo $ECHO_N "(cached) $ECHO_C" >&6
3041    else
3042      cat >conftest.$ac_ext <<_ACEOF
3043    /* confdefs.h.  */
3044    _ACEOF
3045    cat confdefs.h >>conftest.$ac_ext
3046    cat >>conftest.$ac_ext <<_ACEOF
3047    /* end confdefs.h.  */
3048    #include <stdlib.h>
3049    #include <stdarg.h>
3050    #include <string.h>
3051    #include <float.h>
3052    
3053    int
3054    main ()
3055    {
3056    
3057      ;
3058      return 0;
3059    }
3060    _ACEOF
3061    rm -f conftest.$ac_objext
3062    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063      (eval $ac_compile) 2>conftest.er1
3064      ac_status=$?
3065      grep -v '^ *+' conftest.er1 >conftest.err
3066      rm -f conftest.er1
3067      cat conftest.err >&5
3068      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069      (exit $ac_status); } &&
3070             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3071      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072      (eval $ac_try) 2>&5
3073      ac_status=$?
3074      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075      (exit $ac_status); }; } &&
3076             { ac_try='test -s conftest.$ac_objext'
3077      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3078      (eval $ac_try) 2>&5
3079      ac_status=$?
3080      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081      (exit $ac_status); }; }; then
3082      ac_cv_header_stdc=yes
3083    else
3084      echo "$as_me: failed program was:" >&5
3085    sed 's/^/| /' conftest.$ac_ext >&5
3086    
3087    ac_cv_header_stdc=no
3088    fi
3089    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3090    
3091    if test $ac_cv_header_stdc = yes; then
3092      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3093      cat >conftest.$ac_ext <<_ACEOF
3094    /* confdefs.h.  */
3095    _ACEOF
3096    cat confdefs.h >>conftest.$ac_ext
3097    cat >>conftest.$ac_ext <<_ACEOF
3098    /* end confdefs.h.  */
3099    #include <string.h>
3100    
3101    _ACEOF
3102    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3103      $EGREP "memchr" >/dev/null 2>&1; then
3104      :
3105    else
3106      ac_cv_header_stdc=no
3107    fi
3108    rm -f conftest*
3109    
3110    fi
3111    
3112    if test $ac_cv_header_stdc = yes; then
3113      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3114      cat >conftest.$ac_ext <<_ACEOF
3115    /* confdefs.h.  */
3116    _ACEOF
3117    cat confdefs.h >>conftest.$ac_ext
3118    cat >>conftest.$ac_ext <<_ACEOF
3119    /* end confdefs.h.  */
3120    #include <stdlib.h>
3121    
3122    _ACEOF
3123    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3124      $EGREP "free" >/dev/null 2>&1; then
3125      :
3126    else
3127      ac_cv_header_stdc=no
3128    fi
3129    rm -f conftest*
3130    
3131    fi
3132    
3133    if test $ac_cv_header_stdc = yes; then
3134      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3135      if test "$cross_compiling" = yes; then
3136      :
3137    else
3138      cat >conftest.$ac_ext <<_ACEOF
3139    /* confdefs.h.  */
3140    _ACEOF
3141    cat confdefs.h >>conftest.$ac_ext
3142    cat >>conftest.$ac_ext <<_ACEOF
3143    /* end confdefs.h.  */
3144    #include <ctype.h>
3145    #if ((' ' & 0x0FF) == 0x020)
3146    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3147    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3148    #else
3149    # define ISLOWER(c) \
3150                       (('a' <= (c) && (c) <= 'i') \
3151                         || ('j' <= (c) && (c) <= 'r') \
3152                         || ('s' <= (c) && (c) <= 'z'))
3153    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3154    #endif
3155    
3156    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3157    int
3158    main ()
3159    {
3160      int i;
3161      for (i = 0; i < 256; i++)
3162        if (XOR (islower (i), ISLOWER (i))
3163            || toupper (i) != TOUPPER (i))
3164          exit(2);
3165      exit (0);
3166    }
3167    _ACEOF
3168    rm -f conftest$ac_exeext
3169    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3170      (eval $ac_link) 2>&5
3171      ac_status=$?
3172      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3174      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175      (eval $ac_try) 2>&5
3176      ac_status=$?
3177      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178      (exit $ac_status); }; }; then
3179      :
3180    else
3181      echo "$as_me: program exited with status $ac_status" >&5
3182    echo "$as_me: failed program was:" >&5
3183    sed 's/^/| /' conftest.$ac_ext >&5
3184    
3185    ( exit $ac_status )
3186    ac_cv_header_stdc=no
3187    fi
3188    rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3189    fi
3190    fi
3191    fi
3192    echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3193    echo "${ECHO_T}$ac_cv_header_stdc" >&6
3194    if test $ac_cv_header_stdc = yes; then
3195    
3196    cat >>confdefs.h <<\_ACEOF
3197    #define STDC_HEADERS 1
3198    _ACEOF
3199    
3200    fi
3201    
3202    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3203    
3204    
3205    
3206    
3207    
3208    
3209    
3210    
3211    
3212    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3213                      inttypes.h stdint.h unistd.h
3214    do
3215    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3216    echo "$as_me:$LINENO: checking for $ac_header" >&5
3217    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3218    if eval "test \"\${$as_ac_Header+set}\" = set"; then
3219      echo $ECHO_N "(cached) $ECHO_C" >&6
3220    else
3221      cat >conftest.$ac_ext <<_ACEOF
3222    /* confdefs.h.  */
3223    _ACEOF
3224    cat confdefs.h >>conftest.$ac_ext
3225    cat >>conftest.$ac_ext <<_ACEOF
3226    /* end confdefs.h.  */
3227    $ac_includes_default
3228    
3229    #include <$ac_header>
3230    _ACEOF
3231    rm -f conftest.$ac_objext
3232    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3233      (eval $ac_compile) 2>conftest.er1
3234      ac_status=$?
3235      grep -v '^ *+' conftest.er1 >conftest.err
3236      rm -f conftest.er1
3237      cat conftest.err >&5
3238      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239      (exit $ac_status); } &&
3240             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3241      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242      (eval $ac_try) 2>&5
3243      ac_status=$?
3244      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245      (exit $ac_status); }; } &&
3246             { ac_try='test -s conftest.$ac_objext'
3247      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248      (eval $ac_try) 2>&5
3249      ac_status=$?
3250      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251      (exit $ac_status); }; }; then
3252      eval "$as_ac_Header=yes"
3253    else
3254      echo "$as_me: failed program was:" >&5
3255    sed 's/^/| /' conftest.$ac_ext >&5
3256    
3257    eval "$as_ac_Header=no"
3258    fi
3259    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260    fi
3261    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3262    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3263    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3264      cat >>confdefs.h <<_ACEOF
3265    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3266    _ACEOF
3267    
3268    fi
3269    
3270    done
3271    
3272    
3273    if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3274      echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3275    echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3276    if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3277      echo $ECHO_N "(cached) $ECHO_C" >&6
3278    fi
3279    echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3280    echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3281    else
3282      # Is the header compilable?
3283    echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
3284    echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
3285    cat >conftest.$ac_ext <<_ACEOF
3286    /* confdefs.h.  */
3287    _ACEOF
3288    cat confdefs.h >>conftest.$ac_ext
3289    cat >>conftest.$ac_ext <<_ACEOF
3290    /* end confdefs.h.  */
3291    $ac_includes_default
3292    #include <alsa/asoundlib.h>
3293    _ACEOF
3294    rm -f conftest.$ac_objext
3295    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3296      (eval $ac_compile) 2>conftest.er1
3297      ac_status=$?
3298      grep -v '^ *+' conftest.er1 >conftest.err
3299      rm -f conftest.er1
3300      cat conftest.err >&5
3301      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302      (exit $ac_status); } &&
3303             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3304      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305      (eval $ac_try) 2>&5
3306      ac_status=$?
3307      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308      (exit $ac_status); }; } &&
3309             { ac_try='test -s conftest.$ac_objext'
3310      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311      (eval $ac_try) 2>&5
3312      ac_status=$?
3313      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314      (exit $ac_status); }; }; then
3315      ac_header_compiler=yes
3316    else
3317      echo "$as_me: failed program was:" >&5
3318    sed 's/^/| /' conftest.$ac_ext >&5
3319    
3320    ac_header_compiler=no
3321    fi
3322    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3323    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3324    echo "${ECHO_T}$ac_header_compiler" >&6
3325    
3326    # Is the header present?
3327    echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
3328    echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
3329    cat >conftest.$ac_ext <<_ACEOF
3330    /* confdefs.h.  */
3331    _ACEOF
3332    cat confdefs.h >>conftest.$ac_ext
3333    cat >>conftest.$ac_ext <<_ACEOF
3334    /* end confdefs.h.  */
3335    #include <alsa/asoundlib.h>
3336    _ACEOF
3337    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3338      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3339      ac_status=$?
3340      grep -v '^ *+' conftest.er1 >conftest.err
3341      rm -f conftest.er1
3342      cat conftest.err >&5
3343      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344      (exit $ac_status); } >/dev/null; then
3345      if test -s conftest.err; then
3346        ac_cpp_err=$ac_c_preproc_warn_flag
3347        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3348      else
3349        ac_cpp_err=
3350      fi
3351    else
3352      ac_cpp_err=yes
3353    fi
3354    if test -z "$ac_cpp_err"; then
3355      ac_header_preproc=yes
3356    else
3357      echo "$as_me: failed program was:" >&5
3358    sed 's/^/| /' conftest.$ac_ext >&5
3359    
3360      ac_header_preproc=no
3361    fi
3362    rm -f conftest.err conftest.$ac_ext
3363    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3364    echo "${ECHO_T}$ac_header_preproc" >&6
3365    
3366    # So?  What about this header?
3367    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3368      yes:no: )
3369        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3370    echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3371        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
3372    echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
3373        ac_header_preproc=yes
3374        ;;
3375      no:yes:* )
3376        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
3377    echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
3378        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h:     check for missing prerequisite headers?" >&5
3379    echo "$as_me: WARNING: alsa/asoundlib.h:     check for missing prerequisite headers?" >&2;}
3380        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
3381    echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
3382        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h:     section \"Present But Cannot Be Compiled\"" >&5
3383    echo "$as_me: WARNING: alsa/asoundlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3384        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
3385    echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
3386        { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
3387    echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
3388        (
3389          cat <<\_ASBOX
3390    ## ------------------------------------------ ##
3391    ## Report this to the AC_PACKAGE_NAME lists.  ##
3392    ## ------------------------------------------ ##
3393    _ASBOX
3394        ) |
3395          sed "s/^/$as_me: WARNING:     /" >&2
3396        ;;
3397    esac
3398    echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
3399    echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
3400    if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
3401      echo $ECHO_N "(cached) $ECHO_C" >&6
3402    else
3403      ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
3404    fi
3405    echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
3406    echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
3407    
3408    fi
3409    if test $ac_cv_header_alsa_asoundlib_h = yes; then
3410      echo "$as_me:$LINENO: checking for main in -lasound" >&5
3411    echo $ECHO_N "checking for main in -lasound... $ECHO_C" >&6
3412    if test "${ac_cv_lib_asound_main+set}" = set; then
3413      echo $ECHO_N "(cached) $ECHO_C" >&6
3414    else
3415      ac_check_lib_save_LIBS=$LIBS
3416    LIBS="-lasound  $LIBS"
3417    cat >conftest.$ac_ext <<_ACEOF
3418    /* confdefs.h.  */
3419    _ACEOF
3420    cat confdefs.h >>conftest.$ac_ext
3421    cat >>conftest.$ac_ext <<_ACEOF
3422    /* end confdefs.h.  */
3423    
3424    
3425    int
3426    main ()
3427    {
3428    main ();
3429      ;
3430      return 0;
3431    }
3432    _ACEOF
3433    rm -f conftest.$ac_objext conftest$ac_exeext
3434    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435      (eval $ac_link) 2>conftest.er1
3436      ac_status=$?
3437      grep -v '^ *+' conftest.er1 >conftest.err
3438      rm -f conftest.er1
3439      cat conftest.err >&5
3440      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441      (exit $ac_status); } &&
3442             { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3443      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444      (eval $ac_try) 2>&5
3445      ac_status=$?
3446      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447      (exit $ac_status); }; } &&
3448             { ac_try='test -s conftest$ac_exeext'
3449      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450      (eval $ac_try) 2>&5
3451      ac_status=$?
3452      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453      (exit $ac_status); }; }; then
3454      ac_cv_lib_asound_main=yes
3455    else
3456      echo "$as_me: failed program was:" >&5
3457    sed 's/^/| /' conftest.$ac_ext >&5
3458    
3459    ac_cv_lib_asound_main=no
3460    fi
3461    rm -f conftest.err conftest.$ac_objext \
3462          conftest$ac_exeext conftest.$ac_ext
3463    LIBS=$ac_check_lib_save_LIBS
3464    fi
3465    echo "$as_me:$LINENO: result: $ac_cv_lib_asound_main" >&5
3466    echo "${ECHO_T}$ac_cv_lib_asound_main" >&6
3467    if test $ac_cv_lib_asound_main = yes; then
3468      have_alsa="true"
3469    
3470    else
3471      have_alsa="false"
3472    
3473    fi
3474    
3475    
3476    else
3477      have_alsa="false"
3478    
3479    fi
3480    
3481    
3482    if test "$have_alsa" = "false"; then
3483        echo "Alsa not installed!"
3484        echo "Sorry, LinuxSampler only supports Alsa sound drivers at the moment!"
3485        exit -1;
3486    fi
3487    
3488    
3489    echo -n "checking Alsa version... "
3490    
3491    
3492    ac_ext=c
3493    ac_cpp='$CPP $CPPFLAGS'
3494    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3495    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3496    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3497    
3498    if test "$cross_compiling" = yes; then
3499      alsa_major=0
3500    
3501    else
3502      cat >conftest.$ac_ext <<_ACEOF
3503    /* confdefs.h.  */
3504    _ACEOF
3505    cat confdefs.h >>conftest.$ac_ext
3506    cat >>conftest.$ac_ext <<_ACEOF
3507    /* end confdefs.h.  */
3508    
3509    #include <alsa/asoundlib.h>
3510    void main(void) {
3511    /* ensure backward compatibility */
3512    #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
3513    #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
3514    #endif
3515    exit(SND_LIB_MAJOR);
3516    }
3517    
3518    _ACEOF
3519    rm -f conftest$ac_exeext
3520    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3521      (eval $ac_link) 2>&5
3522      ac_status=$?
3523      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3525      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526      (eval $ac_try) 2>&5
3527      ac_status=$?
3528      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529      (exit $ac_status); }; }; then
3530      alsa_major=0
3531    else
3532      echo "$as_me: program exited with status $ac_status" >&5
3533    echo "$as_me: failed program was:" >&5
3534    sed 's/^/| /' conftest.$ac_ext >&5
3535    
3536    ( exit $ac_status )
3537    alsa_major=$?
3538    fi
3539    rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3540    fi
3541    if test "$cross_compiling" = yes; then
3542      alsa_minor=0
3543    
3544    else
3545      cat >conftest.$ac_ext <<_ACEOF
3546    /* confdefs.h.  */
3547    _ACEOF
3548    cat confdefs.h >>conftest.$ac_ext
3549    cat >>conftest.$ac_ext <<_ACEOF
3550    /* end confdefs.h.  */
3551    
3552    #include <alsa/asoundlib.h>
3553    void main(void) {
3554    /* ensure backward compatibility */
3555    #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
3556    #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
3557    #endif
3558    exit(SND_LIB_MINOR);
3559    }
3560    
3561    _ACEOF
3562    rm -f conftest$ac_exeext
3563    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3564      (eval $ac_link) 2>&5
3565      ac_status=$?
3566      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3568      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569      (eval $ac_try) 2>&5
3570      ac_status=$?
3571      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572      (exit $ac_status); }; }; then
3573      alsa_minor=0
3574    else
3575      echo "$as_me: program exited with status $ac_status" >&5
3576    echo "$as_me: failed program was:" >&5
3577    sed 's/^/| /' conftest.$ac_ext >&5
3578    
3579    ( exit $ac_status )
3580    alsa_minor=$?
3581    fi
3582    rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3583    fi
3584    if test "$cross_compiling" = yes; then
3585      alsa_subminor=0
3586    
3587    else
3588      cat >conftest.$ac_ext <<_ACEOF
3589    /* confdefs.h.  */
3590    _ACEOF
3591    cat confdefs.h >>conftest.$ac_ext
3592    cat >>conftest.$ac_ext <<_ACEOF
3593    /* end confdefs.h.  */
3594    
3595    #include <alsa/asoundlib.h>
3596    void main(void) {
3597    /* ensure backward compatibility */
3598    #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
3599    #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
3600    #endif
3601    exit(SND_LIB_SUBMINOR);
3602    }
3603    
3604    _ACEOF
3605    rm -f conftest$ac_exeext
3606    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607      (eval $ac_link) 2>&5
3608      ac_status=$?
3609      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3611      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612      (eval $ac_try) 2>&5
3613      ac_status=$?
3614      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615      (exit $ac_status); }; }; then
3616      alsa_subminor=0
3617    else
3618      echo "$as_me: program exited with status $ac_status" >&5
3619    echo "$as_me: failed program was:" >&5
3620    sed 's/^/| /' conftest.$ac_ext >&5
3621    
3622    ( exit $ac_status )
3623    alsa_subminor=$?
3624    fi
3625    rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3626    fi
3627    ac_ext=c
3628    ac_cpp='$CPP $CPPFLAGS'
3629    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632    
3633    echo "$alsa_major.$alsa_minor.$alsa_subminor";
3634    
3635    cat >>confdefs.h <<_ACEOF
3636    #define ALSA_MAJOR $alsa_major
3637    _ACEOF
3638    
3639    
3640    cat >>confdefs.h <<_ACEOF
3641    #define ALSA_MINOR $alsa_minor
3642    _ACEOF
3643    
3644    
3645    cat >>confdefs.h <<_ACEOF
3646    #define ALSA_SUBMINOR $alsa_subminor
3647    _ACEOF
3648    
3649    
3650    
3651    # Add the stamp file to the list of files AC keeps track of,
3652    # along with our hook.
3653              ac_config_headers="$ac_config_headers config.h"
3654    
3655    
3656    
3657    am__api_version="1.6"
3658    # Find a good install program.  We prefer a C program (faster),
3659    # so one script is as good as another.  But avoid the broken or
3660    # incompatible versions:
3661    # SysV /etc/install, /usr/sbin/install
3662    # SunOS /usr/etc/install
3663    # IRIX /sbin/install
3664    # AIX /bin/install
3665    # AmigaOS /C/install, which installs bootblocks on floppy discs
3666    # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3667    # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3668    # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3669    # OS/2's system install, which has a completely different semantic
3670    # ./install, which can be erroneously created by make from ./install.sh.
3671    echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3672    echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3673    if test -z "$INSTALL"; then
3674    if test "${ac_cv_path_install+set}" = set; then
3675      echo $ECHO_N "(cached) $ECHO_C" >&6
3676    else
3677      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678    for as_dir in $PATH
3679    do
3680      IFS=$as_save_IFS
3681      test -z "$as_dir" && as_dir=.
3682      # Account for people who put trailing slashes in PATH elements.
3683    case $as_dir/ in
3684      ./ | .// | /cC/* | \
3685      /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3686      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3687      /usr/ucb/* ) ;;
3688      *)
3689        # OSF1 and SCO ODT 3.0 have their own names for install.
3690        # Don't use installbsd from OSF since it installs stuff as root
3691        # by default.
3692        for ac_prog in ginstall scoinst install; do
3693          for ac_exec_ext in '' $ac_executable_extensions; do
3694            if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3695              if test $ac_prog = install &&
3696                grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3697                # AIX install.  It has an incompatible calling convention.
3698                :
3699              elif test $ac_prog = install &&
3700                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3701                # program-specific install script used by HP pwplus--don't use.
3702                :
3703              else
3704                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3705                break 3
3706              fi
3707            fi
3708          done
3709        done
3710        ;;
3711    esac
3712    done
3713    
3714    
3715    fi
3716      if test "${ac_cv_path_install+set}" = set; then
3717        INSTALL=$ac_cv_path_install
3718      else
3719        # As a last resort, use the slow shell script.  We don't cache a
3720        # path for INSTALL within a source directory, because that will
3721        # break other packages using the cache if that directory is
3722        # removed, or if the path is relative.
3723        INSTALL=$ac_install_sh
3724      fi
3725    fi
3726    echo "$as_me:$LINENO: result: $INSTALL" >&5
3727    echo "${ECHO_T}$INSTALL" >&6
3728    
3729    # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3730    # It thinks the first close brace ends the variable substitution.
3731    test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3732    
3733    test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3734    
3735    test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3736    
3737    echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3738    echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3739    # Just in case
3740    sleep 1
3741    echo timestamp > conftest.file
3742    # Do `set' in a subshell so we don't clobber the current shell's
3743    # arguments.  Must try -L first in case configure is actually a
3744    # symlink; some systems play weird games with the mod time of symlinks
3745    # (eg FreeBSD returns the mod time of the symlink's containing
3746    # directory).
3747    if (
3748       set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3749       if test "$*" = "X"; then
3750          # -L didn't work.
3751          set X `ls -t $srcdir/configure conftest.file`
3752       fi
3753       rm -f conftest.file
3754       if test "$*" != "X $srcdir/configure conftest.file" \
3755          && test "$*" != "X conftest.file $srcdir/configure"; then
3756    
3757          # If neither matched, then we have a broken ls.  This can happen
3758          # if, for instance, CONFIG_SHELL is bash and it inherits a
3759          # broken ls alias from the environment.  This has actually
3760          # happened.  Such a system could not be considered "sane".
3761          { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
3762    alias in your environment" >&5
3763    echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
3764    alias in your environment" >&2;}
3765       { (exit 1); exit 1; }; }
3766       fi
3767    
3768       test "$2" = conftest.file
3769       )
3770    then
3771       # Ok.
3772       :
3773    else
3774       { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3775    Check your system clock" >&5
3776    echo "$as_me: error: newly created file is older than distributed files!
3777    Check your system clock" >&2;}
3778       { (exit 1); exit 1; }; }
3779    fi
3780    echo "$as_me:$LINENO: result: yes" >&5
3781    echo "${ECHO_T}yes" >&6
3782    test "$program_prefix" != NONE &&
3783      program_transform_name="s,^,$program_prefix,;$program_transform_name"
3784    # Use a double $ so make ignores it.
3785    test "$program_suffix" != NONE &&
3786      program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3787    # Double any \ or $.  echo might interpret backslashes.
3788    # By default was `s,x,x', remove it if useless.
3789    cat <<\_ACEOF >conftest.sed
3790    s/[\\$]/&&/g;s/;s,x,x,$//
3791    _ACEOF
3792    program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3793    rm conftest.sed
3794    
3795    
3796    # expand $ac_aux_dir to an absolute path
3797    am_aux_dir=`cd $ac_aux_dir && pwd`
3798    
3799    test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
3800    # Use eval to expand $SHELL
3801    if eval "$MISSING --run true"; then
3802      am_missing_run="$MISSING --run "
3803    else
3804      am_missing_run=
3805      { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3806    echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3807    fi
3808    
3809    for ac_prog in gawk mawk nawk awk
3810    do
3811      # Extract the first word of "$ac_prog", so it can be a program name with args.
3812    set dummy $ac_prog; ac_word=$2
3813    echo "$as_me:$LINENO: checking for $ac_word" >&5
3814    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815    if test "${ac_cv_prog_AWK+set}" = set; then
3816      echo $ECHO_N "(cached) $ECHO_C" >&6
3817    else
3818      if test -n "$AWK"; then
3819      ac_cv_prog_AWK="$AWK" # Let the user override the test.
3820    else
3821    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822    for as_dir in $PATH
3823    do
3824      IFS=$as_save_IFS
3825      test -z "$as_dir" && as_dir=.
3826      for ac_exec_ext in '' $ac_executable_extensions; do
3827      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828        ac_cv_prog_AWK="$ac_prog"
3829        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830        break 2
3831      fi
3832    done
3833    done
3834    
3835    fi
3836    fi
3837    AWK=$ac_cv_prog_AWK
3838    if test -n "$AWK"; then
3839      echo "$as_me:$LINENO: result: $AWK" >&5
3840    echo "${ECHO_T}$AWK" >&6
3841    else
3842      echo "$as_me:$LINENO: result: no" >&5
3843    echo "${ECHO_T}no" >&6
3844    fi
3845    
3846      test -n "$AWK" && break
3847    done
3848    
3849    echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3850    echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3851    set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3852    if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3853      echo $ECHO_N "(cached) $ECHO_C" >&6
3854    else
3855      cat >conftest.make <<\_ACEOF
3856    all:
3857            @echo 'ac_maketemp="$(MAKE)"'
3858    _ACEOF
3859    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3860    eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3861    if test -n "$ac_maketemp"; then
3862      eval ac_cv_prog_make_${ac_make}_set=yes
3863    else
3864      eval ac_cv_prog_make_${ac_make}_set=no
3865    fi
3866    rm -f conftest.make
3867    fi
3868    if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3869      echo "$as_me:$LINENO: result: yes" >&5
3870    echo "${ECHO_T}yes" >&6
3871      SET_MAKE=
3872    else
3873      echo "$as_me:$LINENO: result: no" >&5
3874    echo "${ECHO_T}no" >&6
3875      SET_MAKE="MAKE=${MAKE-make}"
3876    fi
3877    
3878  rm -f .deps 2>/dev/null  rm -f .deps 2>/dev/null
3879  mkdir .deps 2>/dev/null  mkdir .deps 2>/dev/null
3880  if test -d .deps; then  if test -d .deps; then
# Line 2548  fi Line 3948  fi
3948    
3949    
3950    
3951     # test to see if srcdir already configured
3952    if test "`cd $srcdir && pwd`" != "`pwd`" &&
3953       test -f $srcdir/config.status; then
3954      { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3955    echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3956       { (exit 1); exit 1; }; }
3957    fi
3958    
3959    # Define the identity of the package.
3960     PACKAGE=linuxsampler
3961     VERSION=0.1
3962    
 depcc="$CXX"  am_compiler_list=  
3963    
3964  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5  cat >>confdefs.h <<_ACEOF
3965  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  #define PACKAGE "$PACKAGE"
3966  if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then  _ACEOF
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then  
   # We make a subdir and do the tests there.  Otherwise we can end up  
   # making bogus files that we don't know about and never remove.  For  
   # instance it was reported that on HP-UX the gcc test will end up  
   # making a dummy file named `D' -- because `-MD' means `put the output  
   # in D'.  
   mkdir conftest.dir  
   # Copy depcomp to subdir because otherwise we won't find it if we're  
   # using a relative directory.  
   cp "$am_depcomp" conftest.dir  
   cd conftest.dir  
3967    
   am_cv_CXX_dependencies_compiler_type=none  
   if test "$am_compiler_list" = ""; then  
      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`  
   fi  
   for depmode in $am_compiler_list; do  
     # We need to recreate these files for each test, as the compiler may  
     # overwrite some of them when testing with obscure command lines.  
     # This happens at least with the AIX C compiler.  
     echo '#include "conftest.h"' > conftest.c  
     echo 'int i;' > conftest.h  
     echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf  
3968    
3969      case $depmode in  cat >>confdefs.h <<_ACEOF
3970      nosideeffect)  #define VERSION "$VERSION"
3971        # after this tag, mechanisms are not by side-effect, so they'll  _ACEOF
       # only be used when explicitly requested  
       if test "x$enable_dependency_tracking" = xyes; then  
         continue  
       else  
         break  
       fi  
       ;;  
     none) break ;;  
     esac  
     # We check with `-c' and `-o' for the sake of the "dashmstdout"  
     # mode.  It turns out that the SunPro C++ compiler does not properly  
     # handle `-M -o', and we need to detect this.  
     if depmode=$depmode \  
        source=conftest.c object=conftest.o \  
        depfile=conftest.Po tmpdepfile=conftest.TPo \  
        $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&  
        grep conftest.h conftest.Po > /dev/null 2>&1 &&  
        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then  
       am_cv_CXX_dependencies_compiler_type=$depmode  
       break  
     fi  
   done  
3972    
3973    cd ..  # Some tools Automake needs.
   rm -rf conftest.dir  
 else  
   am_cv_CXX_dependencies_compiler_type=none  
 fi  
3974    
3975  fi  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5  
 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6  
 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type  
3976    
3977    
3978  # Check whether --enable-shared or --disable-shared was given.  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 if test "${enable_shared+set}" = set; then  
   enableval="$enable_shared"  
   p=${PACKAGE-default}  
     case $enableval in  
     yes) enable_shared=yes ;;  
     no) enable_shared=no ;;  
     *)  
       enable_shared=no  
       # Look at the argument we got.  We use all the common list separators.  
       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"  
       for pkg in $enableval; do  
         IFS="$lt_save_ifs"  
         if test "X$pkg" = "X$p"; then  
           enable_shared=yes  
         fi  
       done  
       IFS="$lt_save_ifs"  
       ;;  
     esac  
 else  
   enable_shared=yes  
 fi;  
3979    
 # Check whether --enable-static or --disable-static was given.  
 if test "${enable_static+set}" = set; then  
   enableval="$enable_static"  
   p=${PACKAGE-default}  
     case $enableval in  
     yes) enable_static=yes ;;  
     no) enable_static=no ;;  
     *)  
      enable_static=no  
       # Look at the argument we got.  We use all the common list separators.  
       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"  
       for pkg in $enableval; do  
         IFS="$lt_save_ifs"  
         if test "X$pkg" = "X$p"; then  
           enable_static=yes  
         fi  
       done  
       IFS="$lt_save_ifs"  
       ;;  
     esac  
 else  
   enable_static=yes  
 fi;  
3980    
3981  # Check whether --enable-fast-install or --disable-fast-install was given.  AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 if test "${enable_fast_install+set}" = set; then  
   enableval="$enable_fast_install"  
   p=${PACKAGE-default}  
     case $enableval in  
     yes) enable_fast_install=yes ;;  
     no) enable_fast_install=no ;;  
     *)  
       enable_fast_install=no  
       # Look at the argument we got.  We use all the common list separators.  
       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"  
       for pkg in $enableval; do  
         IFS="$lt_save_ifs"  
         if test "X$pkg" = "X$p"; then  
           enable_fast_install=yes  
         fi  
       done  
       IFS="$lt_save_ifs"  
       ;;  
     esac  
 else  
   enable_fast_install=yes  
 fi;  
3982    
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
 if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}gcc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$CC"; then  
   ac_cv_prog_CC="$CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_CC="${ac_tool_prefix}gcc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
3983    
3984  fi  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 fi  
 CC=$ac_cv_prog_CC  
 if test -n "$CC"; then  
   echo "$as_me:$LINENO: result: $CC" >&5  
 echo "${ECHO_T}$CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
3985    
 fi  
 if test -z "$ac_cv_prog_CC"; then  
   ac_ct_CC=$CC  
   # Extract the first word of "gcc", so it can be a program name with args.  
 set dummy gcc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_CC"; then  
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_CC="gcc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
3986    
3987  fi  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 fi  
 ac_ct_CC=$ac_cv_prog_ac_ct_CC  
 if test -n "$ac_ct_CC"; then  
   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5  
 echo "${ECHO_T}$ac_ct_CC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
3988    
   CC=$ac_ct_CC  
 else  
   CC="$ac_cv_prog_CC"  
 fi  
3989    
3990  if test -z "$CC"; then  AMTAR=${AMTAR-"${am_missing_run}tar"}
3991    
3992    install_sh=${install_sh-"$am_aux_dir/install-sh"}
3993    
3994    # Installed binaries are usually stripped using `strip' when the user
3995    # run `make install-strip'.  However `strip' might not be the right
3996    # tool to use in cross-compilation environments, therefore Automake
3997    # will honor the `STRIP' environment variable to overrule this program.
3998    if test "$cross_compiling" != no; then
3999    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
4000    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4001  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}strip; ac_word=$2
4002  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4003  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4004  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_STRIP+set}" = set; then
4005    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4006  else  else
4007    if test -n "$CC"; then    if test -n "$STRIP"; then
4008    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4009  else  else
4010  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011  for as_dir in $PATH  for as_dir in $PATH
# Line 2793  do Line 4014  do
4014    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4015    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4016    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4017      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4018      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
4019      break 2      break 2
4020    fi    fi
# Line 2802  done Line 4023  done
4023    
4024  fi  fi
4025  fi  fi
4026  CC=$ac_cv_prog_CC  STRIP=$ac_cv_prog_STRIP
4027  if test -n "$CC"; then  if test -n "$STRIP"; then
4028    echo "$as_me:$LINENO: result: $CC" >&5    echo "$as_me:$LINENO: result: $STRIP" >&5
4029  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$STRIP" >&6
4030  else  else
4031    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4032  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4033  fi  fi
4034    
4035  fi  fi
4036  if test -z "$ac_cv_prog_CC"; then  if test -z "$ac_cv_prog_STRIP"; then
4037    ac_ct_CC=$CC    ac_ct_STRIP=$STRIP
4038    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "strip", so it can be a program name with args.
4039  set dummy cc; ac_word=$2  set dummy strip; ac_word=$2
4040  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4041  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4042  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4043    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4044  else  else
4045    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_STRIP"; then
4046    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4047  else  else
4048  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049  for as_dir in $PATH  for as_dir in $PATH
# Line 2831  do Line 4052  do
4052    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4053    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4054    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055      ac_cv_prog_ac_ct_CC="cc"      ac_cv_prog_ac_ct_STRIP="strip"
4056      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
4057      break 2      break 2
4058    fi    fi
4059  done  done
4060  done  done
4061    
4062      test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4063  fi  fi
4064  fi  fi
4065  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4066  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_STRIP"; then
4067    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4068  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_STRIP" >&6
4069  else  else
4070    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4071  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4072  fi  fi
4073    
4074    CC=$ac_ct_CC    STRIP=$ac_ct_STRIP
4075  else  else
4076    CC="$ac_cv_prog_CC"    STRIP="$ac_cv_prog_STRIP"
4077  fi  fi
4078    
4079  fi  fi
4080  if test -z "$CC"; then  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4081    # Extract the first word of "cc", so it can be a program name with args.  
4082  set dummy cc; ac_word=$2  # We need awk for the "check" target.  The system "awk" is bad on
4083  echo "$as_me:$LINENO: checking for $ac_word" >&5  # some platforms.
4084  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
4085  if test "${ac_cv_prog_CC+set}" = set; then  
4086    depcc="$CC"   am_compiler_list=
4087    
4088    echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4089    echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4090    if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4091    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4092  else  else
4093    if test -n "$CC"; then    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4094    ac_cv_prog_CC="$CC" # Let the user override the test.    # We make a subdir and do the tests there.  Otherwise we can end up
4095  else    # making bogus files that we don't know about and never remove.  For
4096    ac_prog_rejected=no    # instance it was reported that on HP-UX the gcc test will end up
4097  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    # making a dummy file named `D' -- because `-MD' means `put the output
4098  for as_dir in $PATH    # in D'.
4099  do    mkdir conftest.dir
4100    IFS=$as_save_IFS    # Copy depcomp to subdir because otherwise we won't find it if we're
4101    test -z "$as_dir" && as_dir=.    # using a relative directory.
4102    for ac_exec_ext in '' $ac_executable_extensions; do    cp "$am_depcomp" conftest.dir
4103    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    cd conftest.dir
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then  
        ac_prog_rejected=yes  
        continue  
      fi  
     ac_cv_prog_CC="cc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
4104    
4105  if test $ac_prog_rejected = yes; then    am_cv_CC_dependencies_compiler_type=none
4106    # We found a bogon in the path, so make sure we never use it.    if test "$am_compiler_list" = ""; then
4107    set dummy $ac_cv_prog_CC       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   shift  
   if test $# != 0; then  
     # We chose a different compiler from the bogus one.  
     # However, it has the same basename, so the bogon will be chosen  
     # first if we set CC to just the basename; use the full file name.  
     shift  
     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"  
4108    fi    fi
4109  fi    for depmode in $am_compiler_list; do
4110  fi      # We need to recreate these files for each test, as the compiler may
4111  fi      # overwrite some of them when testing with obscure command lines.
4112  CC=$ac_cv_prog_CC      # This happens at least with the AIX C compiler.
4113  if test -n "$CC"; then      echo '#include "conftest.h"' > conftest.c
4114    echo "$as_me:$LINENO: result: $CC" >&5      echo 'int i;' > conftest.h
4115  echo "${ECHO_T}$CC" >&6      echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
4116    
4117        case $depmode in
4118        nosideeffect)
4119          # after this tag, mechanisms are not by side-effect, so they'll
4120          # only be used when explicitly requested
4121          if test "x$enable_dependency_tracking" = xyes; then
4122            continue
4123          else
4124            break
4125          fi
4126          ;;
4127        none) break ;;
4128        esac
4129        # We check with `-c' and `-o' for the sake of the "dashmstdout"
4130        # mode.  It turns out that the SunPro C++ compiler does not properly
4131        # handle `-M -o', and we need to detect this.
4132        if depmode=$depmode \
4133           source=conftest.c object=conftest.o \
4134           depfile=conftest.Po tmpdepfile=conftest.TPo \
4135           $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
4136           grep conftest.h conftest.Po > /dev/null 2>&1 &&
4137           ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4138          am_cv_CC_dependencies_compiler_type=$depmode
4139          break
4140        fi
4141      done
4142    
4143      cd ..
4144      rm -rf conftest.dir
4145  else  else
4146    echo "$as_me:$LINENO: result: no" >&5    am_cv_CC_dependencies_compiler_type=none
 echo "${ECHO_T}no" >&6  
4147  fi  fi
4148    
4149  fi  fi
4150  if test -z "$CC"; then  echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4151    if test -n "$ac_tool_prefix"; then  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4152    for ac_prog in cl  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4153    
4154    
4155    
4156    
4157    ac_ext=cc
4158    ac_cpp='$CXXCPP $CPPFLAGS'
4159    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4162    
4163    ac_ext=cc
4164    ac_cpp='$CXXCPP $CPPFLAGS'
4165    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4168    if test -n "$ac_tool_prefix"; then
4169      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4170    do    do
4171      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4172  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4173  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4174  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4175  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CXX+set}" = set; then
4176    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4177  else  else
4178    if test -n "$CC"; then    if test -n "$CXX"; then
4179    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CXX="$CXX" # Let the user override the test.
4180  else  else
4181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182  for as_dir in $PATH  for as_dir in $PATH
# Line 2930  do Line 4185  do
4185    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4186    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4187    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4188      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4189      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
4190      break 2      break 2
4191    fi    fi
# Line 2939  done Line 4194  done
4194    
4195  fi  fi
4196  fi  fi
4197  CC=$ac_cv_prog_CC  CXX=$ac_cv_prog_CXX
4198  if test -n "$CC"; then  if test -n "$CXX"; then
4199    echo "$as_me:$LINENO: result: $CC" >&5    echo "$as_me:$LINENO: result: $CXX" >&5
4200  echo "${ECHO_T}$CC" >&6  echo "${ECHO_T}$CXX" >&6
4201  else  else
4202    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4203  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4204  fi  fi
4205    
4206      test -n "$CC" && break      test -n "$CXX" && break
4207    done    done
4208  fi  fi
4209  if test -z "$CC"; then  if test -z "$CXX"; then
4210    ac_ct_CC=$CC    ac_ct_CXX=$CXX
4211    for ac_prog in cl    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4212  do  do
4213    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
4214  set dummy $ac_prog; ac_word=$2  set dummy $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_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_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 "$ac_ct_CC"; then    if test -n "$ac_ct_CXX"; then
4221    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CXX="$ac_ct_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 2972  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_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CXX="$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 2981  done Line 4236  done
4236    
4237  fi  fi
4238  fi  fi
4239  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4240  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CXX"; then
4241    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4242  echo "${ECHO_T}$ac_ct_CC" >&6  echo "${ECHO_T}$ac_ct_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 "$ac_ct_CC" && break    test -n "$ac_ct_CXX" && break
4249  done  done
4250    test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4251    
4252    CC=$ac_ct_CC    CXX=$ac_ct_CXX
 fi  
   
4253  fi  fi
4254    
4255    
 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: no acceptable C compiler found in \$PATH  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
   
4256  # Provide some information about the compiler.  # Provide some information about the compiler.
4257  echo "$as_me:$LINENO:" \  echo "$as_me:$LINENO:" \
4258       "checking for C compiler version" >&5       "checking for C++ compiler version" >&5
4259  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
4260  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4261    (eval $ac_compiler --version </dev/null >&5) 2>&5    (eval $ac_compiler --version </dev/null >&5) 2>&5
# Line 3025  ac_compiler=`set X $ac_compile; echo $2` Line 4273  ac_compiler=`set X $ac_compile; echo $2`
4273    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274    (exit $ac_status); }    (exit $ac_status); }
4275    
4276  echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4277  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6  echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4278  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4279    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4280  else  else
4281    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4282  /* confdefs.h.  */  /* confdefs.h.  */
4283  _ACEOF  _ACEOF
4284  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3051  main () Line 4298  main ()
4298  _ACEOF  _ACEOF
4299  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4300  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4301    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4302    ac_status=$?    ac_status=$?
4303      grep -v '^ *+' conftest.er1 >conftest.err
4304      rm -f conftest.er1
4305      cat conftest.err >&5
4306    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307    (exit $ac_status); } &&    (exit $ac_status); } &&
4308           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4309      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310      (eval $ac_try) 2>&5
4311      ac_status=$?
4312      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313      (exit $ac_status); }; } &&
4314             { ac_try='test -s conftest.$ac_objext'
4315    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4317    ac_status=$?    ac_status=$?
# Line 3068  sed 's/^/| /' conftest.$ac_ext >&5 Line 4324  sed 's/^/| /' conftest.$ac_ext >&5
4324    
4325  ac_compiler_gnu=no  ac_compiler_gnu=no
4326  fi  fi
4327  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4328  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4329    
4330  fi  fi
4331  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4332  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4333  GCC=`test $ac_compiler_gnu = yes && echo yes`  GXX=`test $ac_compiler_gnu = yes && echo yes`
4334  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CXXFLAGS=${CXXFLAGS+set}
4335  ac_save_CFLAGS=$CFLAGS  ac_save_CXXFLAGS=$CXXFLAGS
4336  CFLAGS="-g"  CXXFLAGS="-g"
4337  echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4338  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6  echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4339  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cxx_g+set}" = set; then
4340    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4341  else  else
4342    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4343  /* confdefs.h.  */  /* confdefs.h.  */
4344  _ACEOF  _ACEOF
4345  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3101  main () Line 4356  main ()
4356  _ACEOF  _ACEOF
4357  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4358  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4359    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4360    ac_status=$?    ac_status=$?
4361      grep -v '^ *+' conftest.er1 >conftest.err
4362      rm -f conftest.er1
4363      cat conftest.err >&5
4364    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365    (exit $ac_status); } &&    (exit $ac_status); } &&
4366           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4367      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368      (eval $ac_try) 2>&5
4369      ac_status=$?
4370      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371      (exit $ac_status); }; } &&
4372             { ac_try='test -s conftest.$ac_objext'
4373    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4375    ac_status=$?    ac_status=$?
4376    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
4378    ac_cv_prog_cc_g=yes    ac_cv_prog_cxx_g=yes
4379  else  else
4380    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4381  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4382    
4383  ac_cv_prog_cc_g=no  ac_cv_prog_cxx_g=no
4384  fi  fi
4385  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4386  fi  fi
4387  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4388  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4389  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CXXFLAGS" = set; then
4390    CFLAGS=$ac_save_CFLAGS    CXXFLAGS=$ac_save_CXXFLAGS
4391  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cxx_g = yes; then
4392    if test "$GCC" = yes; then    if test "$GXX" = yes; then
4393      CFLAGS="-g -O2"      CXXFLAGS="-g -O2"
4394    else    else
4395      CFLAGS="-g"      CXXFLAGS="-g"
4396    fi    fi
4397  else  else
4398    if test "$GCC" = yes; then    if test "$GXX" = yes; then
4399      CFLAGS="-O2"      CXXFLAGS="-O2"
4400    else    else
4401      CFLAGS=      CXXFLAGS=
4402    fi    fi
4403  fi  fi
4404  echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5  for ac_declaration in \
 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6  
 if test "${ac_cv_prog_cc_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_prog_cc_stdc=no  
 ac_save_CC=$CC  
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdarg.h>  
 #include <stdio.h>  
 #include <sys/types.h>  
 #include <sys/stat.h>  
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */  
 struct buf { int x; };  
 FILE * (*rcsopen) (struct buf *, struct stat *, int);  
 static char *e (p, i)  
      char **p;  
      int i;  
 {  
   return p[i];  
 }  
 static char *f (char * (*g) (char **, int), char **p, ...)  
 {  
   char *s;  
   va_list v;  
   va_start (v,p);  
   s = g (p, va_arg (v,int));  
   va_end (v);  
   return s;  
 }  
 int test (int i, double x);  
 struct s1 {int (*f) (int a);};  
 struct s2 {int (*f) (double a);};  
 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);  
 int argc;  
 char **argv;  
 int  
 main ()  
 {  
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];  
   ;  
   return 0;  
 }  
 _ACEOF  
 # Don't try gcc -ansi; that turns off useful extensions and  
 # breaks some systems' header files.  
 # AIX                   -qlanglvl=ansi  
 # Ultrix and OSF/1      -std1  
 # HP-UX 10.20 and later -Ae  
 # HP-UX older versions  -Aa -D_HPUX_SOURCE  
 # SVR4                  -Xc -D__EXTENSIONS__  
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"  
 do  
   CC="$ac_save_CC $ac_arg"  
   rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (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  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_prog_cc_stdc=$ac_arg  
 break  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.$ac_objext  
 done  
 rm -f conftest.$ac_ext conftest.$ac_objext  
 CC=$ac_save_CC  
   
 fi  
   
 case "x$ac_cv_prog_cc_stdc" in  
   x|xno)  
     echo "$as_me:$LINENO: result: none needed" >&5  
 echo "${ECHO_T}none needed" >&6 ;;  
   *)  
     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5  
 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6  
     CC="$CC $ac_cv_prog_cc_stdc" ;;  
 esac  
   
 # Some people use a C++ compiler to compile C.  Since we use `exit',  
 # in C++ we need to declare it.  In case someone uses the same compiler  
 # for both compiling C and C++ we need to have the C++ compiler decide  
 # the declaration of exit, since it's the most demanding environment.  
 cat >conftest.$ac_ext <<_ACEOF  
 #ifndef __cplusplus  
   choke me  
 #endif  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (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  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   for ac_declaration in \  
4405     '' \     '' \
4406     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
4407     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
# Line 3263  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4410  if { (eval echo "$as_me:$LINENO: \"$ac_c
4410     'void exit (int);'     'void exit (int);'
4411  do  do
4412    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4413  /* confdefs.h.  */  /* confdefs.h.  */
4414  _ACEOF  _ACEOF
4415  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3281  exit (42); Line 4427  exit (42);
4427  _ACEOF  _ACEOF
4428  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4429  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4430    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4431    ac_status=$?    ac_status=$?
4432      grep -v '^ *+' conftest.er1 >conftest.err
4433      rm -f conftest.er1
4434      cat conftest.err >&5
4435    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436    (exit $ac_status); } &&    (exit $ac_status); } &&
4437           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4438      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439      (eval $ac_try) 2>&5
4440      ac_status=$?
4441      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442      (exit $ac_status); }; } &&
4443             { ac_try='test -s conftest.$ac_objext'
4444    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4446    ac_status=$?    ac_status=$?
# Line 3298  sed 's/^/| /' conftest.$ac_ext >&5 Line 4453  sed 's/^/| /' conftest.$ac_ext >&5
4453    
4454  continue  continue
4455  fi  fi
4456  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4457    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4458  /* confdefs.h.  */  /* confdefs.h.  */
4459  _ACEOF  _ACEOF
4460  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3317  exit (42); Line 4471  exit (42);
4471  _ACEOF  _ACEOF
4472  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4473  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4474    (eval $ac_compile) 2>&5    (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); } &&    (exit $ac_status); } &&
4481           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4482      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483      (eval $ac_try) 2>&5
4484      ac_status=$?
4485      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486      (exit $ac_status); }; } &&
4487             { ac_try='test -s conftest.$ac_objext'
4488    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4490    ac_status=$?    ac_status=$?
# Line 3333  else Line 4496  else
4496  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4497    
4498  fi  fi
4499  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4500  done  done
4501  rm -f conftest*  rm -f conftest*
4502  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 3342  if test -n "$ac_declaration"; then Line 4505  if test -n "$ac_declaration"; then
4505    echo '#endif'             >>confdefs.h    echo '#endif'             >>confdefs.h
4506  fi  fi
4507    
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
4508  ac_ext=cc  ac_ext=cc
4509  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
4510  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4511  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4512  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4513    
4514  depcc="$CC"   am_compiler_list=  depcc="$CXX"  am_compiler_list=
4515    
4516  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5  echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4517  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4518  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then  if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4519    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4520  else  else
4521    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# Line 3373  else Line 4530  else
4530    cp "$am_depcomp" conftest.dir    cp "$am_depcomp" conftest.dir
4531    cd conftest.dir    cd conftest.dir
4532    
4533    am_cv_CC_dependencies_compiler_type=none    am_cv_CXX_dependencies_compiler_type=none
4534    if test "$am_compiler_list" = ""; then    if test "$am_compiler_list" = ""; then
4535       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4536    fi    fi
# Line 3406  else Line 4563  else
4563         $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&         $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
4564         grep conftest.h conftest.Po > /dev/null 2>&1 &&         grep conftest.h conftest.Po > /dev/null 2>&1 &&
4565         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4566        am_cv_CC_dependencies_compiler_type=$depmode        am_cv_CXX_dependencies_compiler_type=$depmode
4567        break        break
4568      fi      fi
4569    done    done
# Line 3414  else Line 4571  else
4571    cd ..    cd ..
4572    rm -rf conftest.dir    rm -rf conftest.dir
4573  else  else
4574    am_cv_CC_dependencies_compiler_type=none    am_cv_CXX_dependencies_compiler_type=none
4575  fi  fi
4576    
4577  fi  fi
4578  echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5  echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4579  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6  echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4580  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type  CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4581    
4582    
4583    # Check whether --enable-shared or --disable-shared was given.
4584    if test "${enable_shared+set}" = set; then
4585      enableval="$enable_shared"
4586      p=${PACKAGE-default}
4587        case $enableval in
4588        yes) enable_shared=yes ;;
4589        no) enable_shared=no ;;
4590        *)
4591          enable_shared=no
4592          # Look at the argument we got.  We use all the common list separators.
4593          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4594          for pkg in $enableval; do
4595            IFS="$lt_save_ifs"
4596            if test "X$pkg" = "X$p"; then
4597              enable_shared=yes
4598            fi
4599          done
4600          IFS="$lt_save_ifs"
4601          ;;
4602        esac
4603    else
4604      enable_shared=yes
4605    fi;
4606    
4607    # Check whether --enable-static or --disable-static was given.
4608    if test "${enable_static+set}" = set; then
4609      enableval="$enable_static"
4610      p=${PACKAGE-default}
4611        case $enableval in
4612        yes) enable_static=yes ;;
4613        no) enable_static=no ;;
4614        *)
4615         enable_static=no
4616          # Look at the argument we got.  We use all the common list separators.
4617          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4618          for pkg in $enableval; do
4619            IFS="$lt_save_ifs"
4620            if test "X$pkg" = "X$p"; then
4621              enable_static=yes
4622            fi
4623          done
4624          IFS="$lt_save_ifs"
4625          ;;
4626        esac
4627    else
4628      enable_static=yes
4629    fi;
4630    
4631    # Check whether --enable-fast-install or --disable-fast-install was given.
4632    if test "${enable_fast_install+set}" = set; then
4633      enableval="$enable_fast_install"
4634      p=${PACKAGE-default}
4635        case $enableval in
4636        yes) enable_fast_install=yes ;;
4637        no) enable_fast_install=no ;;
4638        *)
4639          enable_fast_install=no
4640          # Look at the argument we got.  We use all the common list separators.
4641          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4642          for pkg in $enableval; do
4643            IFS="$lt_save_ifs"
4644            if test "X$pkg" = "X$p"; then
4645              enable_fast_install=yes
4646            fi
4647          done
4648          IFS="$lt_save_ifs"
4649          ;;
4650        esac
4651    else
4652      enable_fast_install=yes
4653    fi;
4654    
4655  echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5  echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4656  echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6  echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
# Line 3480  fi Line 4709  fi
4709  echo "$as_me:$LINENO: result: $SED" >&5  echo "$as_me:$LINENO: result: $SED" >&5
4710  echo "${ECHO_T}$SED" >&6  echo "${ECHO_T}$SED" >&6
4711    
 echo "$as_me:$LINENO: checking for egrep" >&5  
 echo $ECHO_N "checking for egrep... $ECHO_C" >&6  
 if test "${ac_cv_prog_egrep+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if echo a | (grep -E '(a|b)') >/dev/null 2>&1  
     then ac_cv_prog_egrep='grep -E'  
     else ac_cv_prog_egrep='egrep'  
     fi  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5  
 echo "${ECHO_T}$ac_cv_prog_egrep" >&6  
  EGREP=$ac_cv_prog_egrep  
   
   
4712    
4713  # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
4714  if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
# Line 3709  bsdi4*) Line 4923  bsdi4*)
4923    lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
4924    ;;    ;;
4925    
4926  cygwin* | mingw* | pw32*)  cygwin*)
4927    # win32_libid is a shell function defined in ltmain.sh    # win32_libid is a shell function defined in ltmain.sh
4928    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4929    lt_cv_file_magic_cmd='win32_libid'    lt_cv_file_magic_cmd='win32_libid'
4930    ;;    ;;
4931    
4932    mingw* | pw32*)
4933      # Base MSYS/MinGW do not provide the 'file' command needed by
4934      # win32_libid shell function, so use a weaker test based on 'objdump'.
4935      lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4936      lt_cv_file_magic_cmd='$OBJDUMP -f'
4937      ;;
4938    
4939  darwin* | rhapsody*)  darwin* | rhapsody*)
4940    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4941    ;;    ;;
# Line 3857  LTCC=${LTCC-"$CC"} Line 5078  LTCC=${LTCC-"$CC"}
5078  # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
5079  compiler=$CC  compiler=$CC
5080    
   
5081  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5082  if test "${enable_libtool_lock+set}" = set; then  if test "${enable_libtool_lock+set}" = set; then
5083    enableval="$enable_libtool_lock"    enableval="$enable_libtool_lock"
# Line 3889  ia64-*-hpux*) Line 5109  ia64-*-hpux*)
5109    ;;    ;;
5110  *-*-irix6*)  *-*-irix6*)
5111    # Find out which ABI we are using.    # Find out which ABI we are using.
5112    echo '#line 3892 "configure"' > conftest.$ac_ext    echo '#line 5112 "configure"' > conftest.$ac_ext
5113    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5114    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5115    ac_status=$?    ac_status=$?
# Line 3986  ac_link='$CC -o conftest$ac_exeext $CFLA Line 5206  ac_link='$CC -o conftest$ac_exeext $CFLA
5206  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5207    
5208       cat >conftest.$ac_ext <<_ACEOF       cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5209  /* confdefs.h.  */  /* confdefs.h.  */
5210  _ACEOF  _ACEOF
5211  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4003  main () Line 5222  main ()
5222  _ACEOF  _ACEOF
5223  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5224  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5225    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5226    ac_status=$?    ac_status=$?
5227      grep -v '^ *+' conftest.er1 >conftest.err
5228      rm -f conftest.er1
5229      cat conftest.err >&5
5230    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231    (exit $ac_status); } &&    (exit $ac_status); } &&
5232           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5233      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5234      (eval $ac_try) 2>&5
5235      ac_status=$?
5236      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237      (exit $ac_status); }; } &&
5238             { ac_try='test -s conftest$ac_exeext'
5239    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5241    ac_status=$?    ac_status=$?
# Line 4020  sed 's/^/| /' conftest.$ac_ext >&5 Line 5248  sed 's/^/| /' conftest.$ac_ext >&5
5248    
5249  lt_cv_cc_needs_belf=no  lt_cv_cc_needs_belf=no
5250  fi  fi
5251  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5252          conftest$ac_exeext conftest.$ac_ext
5253       ac_ext=c       ac_ext=c
5254  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
5255  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4041  esac Line 5270  esac
5270  need_locks="$enable_libtool_lock"  need_locks="$enable_libtool_lock"
5271    
5272    
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5  
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6  
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
 fi  
 if test -z "$CPP"; then  
   if test "${ac_cv_prog_CPP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
       # Double quotes because CPP needs to be expanded  
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  
     do  
       ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
 do  
   # Use a header file that comes with gcc, so configuring glibc  
   # with a fresh cross-compiler works.  
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
                      Syntax error  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Broken: fails on valid input.  
 continue  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
   # OK, works on sane cases.  Now check whether non-existent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <ac_nonexistent.h>  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   # Broken: success on invalid input.  
 continue  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
 done  
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   break  
 fi  
   
     done  
     ac_cv_prog_CPP=$CPP  
   
 fi  
   CPP=$ac_cv_prog_CPP  
 else  
   ac_cv_prog_CPP=$CPP  
 fi  
 echo "$as_me:$LINENO: result: $CPP" >&5  
 echo "${ECHO_T}$CPP" >&6  
 ac_preproc_ok=false  
 for ac_c_preproc_warn_flag in '' yes  
 do  
   # Use a header file that comes with gcc, so configuring glibc  
   # with a fresh cross-compiler works.  
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
                      Syntax error  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Broken: fails on valid input.  
 continue  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
   # OK, works on sane cases.  Now check whether non-existent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <ac_nonexistent.h>  
 _ACEOF  
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null; then  
   if test -s conftest.err; then  
     ac_cpp_err=$ac_c_preproc_warn_flag  
   else  
     ac_cpp_err=  
   fi  
 else  
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
   # Broken: success on invalid input.  
 continue  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
 fi  
 rm -f conftest.err conftest.$ac_ext  
   
 done  
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   :  
 else  
   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check  
 See \`config.log' for more details." >&5  
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
   
 ac_ext=c  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  
   
   
 echo "$as_me:$LINENO: checking for ANSI C header files" >&5  
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  
 if test "${ac_cv_header_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
 #include <stdarg.h>  
 #include <string.h>  
 #include <float.h>  
   
 int  
 main ()  
 {  
   
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (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  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_header_stdc=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_header_stdc=no  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
   
 if test $ac_cv_header_stdc = yes; then  
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <string.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   $EGREP "memchr" >/dev/null 2>&1; then  
   :  
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   $EGREP "free" >/dev/null 2>&1; then  
   :  
 else  
   ac_cv_header_stdc=no  
 fi  
 rm -f conftest*  
   
 fi  
   
 if test $ac_cv_header_stdc = yes; then  
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.  
   if test "$cross_compiling" = yes; then  
   :  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <ctype.h>  
 #if ((' ' & 0x0FF) == 0x020)  
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  
 #else  
 # define ISLOWER(c) \  
                    (('a' <= (c) && (c) <= 'i') \  
                      || ('j' <= (c) && (c) <= 'r') \  
                      || ('s' <= (c) && (c) <= 'z'))  
 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  
 #endif  
   
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  
 int  
 main ()  
 {  
   int i;  
   for (i = 0; i < 256; i++)  
     if (XOR (islower (i), ISLOWER (i))  
         || toupper (i) != TOUPPER (i))  
       exit(2);  
   exit (0);  
 }  
 _ACEOF  
 rm -f conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   :  
 else  
   echo "$as_me: program exited with status $ac_status" >&5  
 echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ( exit $ac_status )  
 ac_cv_header_stdc=no  
 fi  
 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  
 fi  
 fi  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5  
 echo "${ECHO_T}$ac_cv_header_stdc" >&6  
 if test $ac_cv_header_stdc = yes; then  
   
 cat >>confdefs.h <<\_ACEOF  
 #define STDC_HEADERS 1  
 _ACEOF  
   
 fi  
   
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.  
   
   
   
   
   
   
   
   
   
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  
                   inttypes.h stdint.h unistd.h  
 do  
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  
 echo "$as_me:$LINENO: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  
 if eval "test \"\${$as_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
   
 #include <$ac_header>  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  
   (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  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   eval "$as_ac_Header=yes"  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 eval "$as_ac_Header=no"  
 fi  
 rm -f conftest.$ac_objext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  
 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  
 if test `eval echo '${'$as_ac_Header'}'` = yes; then  
   cat >>confdefs.h <<_ACEOF  
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
   
 fi  
   
 done  
   
   
5273    
5274  for ac_header in dlfcn.h  for ac_header in dlfcn.h
5275  do  do
# Line 4516  else Line 5287  else
5287  echo "$as_me:$LINENO: checking $ac_header usability" >&5  echo "$as_me:$LINENO: checking $ac_header usability" >&5
5288  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5289  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5290  /* confdefs.h.  */  /* confdefs.h.  */
5291  _ACEOF  _ACEOF
5292  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4527  $ac_includes_default Line 5297  $ac_includes_default
5297  _ACEOF  _ACEOF
5298  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5299  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5300    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5301    ac_status=$?    ac_status=$?
5302      grep -v '^ *+' conftest.er1 >conftest.err
5303      rm -f conftest.er1
5304      cat conftest.err >&5
5305    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306    (exit $ac_status); } &&    (exit $ac_status); } &&
5307           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5308      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309      (eval $ac_try) 2>&5
5310      ac_status=$?
5311      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312      (exit $ac_status); }; } &&
5313             { ac_try='test -s conftest.$ac_objext'
5314    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5316    ac_status=$?    ac_status=$?
# Line 4544  sed 's/^/| /' conftest.$ac_ext >&5 Line 5323  sed 's/^/| /' conftest.$ac_ext >&5
5323    
5324  ac_header_compiler=no  ac_header_compiler=no
5325  fi  fi
5326  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5327  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5328  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
5329    
# Line 4552  echo "${ECHO_T}$ac_header_compiler" >&6 Line 5331  echo "${ECHO_T}$ac_header_compiler" >&6
5331  echo "$as_me:$LINENO: checking $ac_header presence" >&5  echo "$as_me:$LINENO: checking $ac_header presence" >&5
5332  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5333  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5334  /* confdefs.h.  */  /* confdefs.h.  */
5335  _ACEOF  _ACEOF
5336  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4570  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5348  if { (eval echo "$as_me:$LINENO: \"$ac_c
5348    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5349    if test -s conftest.err; then    if test -s conftest.err; then
5350      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
5351        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5352    else    else
5353      ac_cpp_err=      ac_cpp_err=
5354    fi    fi
# Line 4589  echo "$as_me:$LINENO: result: $ac_header Line 5368  echo "$as_me:$LINENO: result: $ac_header
5368  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
5369    
5370  # So?  What about this header?  # So?  What about this header?
5371  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5372    yes:no )    yes:no: )
5373      { 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
5374  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;}
5375      { 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
5376  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;}
5377      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
5378      ;;      ;;
5379    no:yes )    no:yes:* )
5380      { 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
5381  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5382      { 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
5383  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5384        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5385    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5386        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5387    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5388      { 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
5389  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;}
5390        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5391    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5392      (      (
5393        cat <<\_ASBOX        cat <<\_ASBOX
5394  ## ------------------------------------ ##  ## ------------------------------------------ ##
5395  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
5396  ## ------------------------------------ ##  ## ------------------------------------------ ##
5397  _ASBOX  _ASBOX
5398      ) |      ) |
5399        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 4626  echo $ECHO_N "checking for $ac_header... Line 5404  echo $ECHO_N "checking for $ac_header...
5404  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5405    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5406  else  else
5407    eval "$as_ac_Header=$ac_header_preproc"    eval "$as_ac_Header=\$ac_header_preproc"
5408  fi  fi
5409  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5410  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4665  do Line 5443  do
5443    # 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,
5444    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
5445    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5446  /* confdefs.h.  */  /* confdefs.h.  */
5447  _ACEOF  _ACEOF
5448  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4676  cat >>conftest.$ac_ext <<_ACEOF Line 5453  cat >>conftest.$ac_ext <<_ACEOF
5453  #else  #else
5454  # include <assert.h>  # include <assert.h>
5455  #endif  #endif
5456                       Syntax error                       Syntax error
5457  _ACEOF  _ACEOF
5458  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5459    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4688  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5465  if { (eval echo "$as_me:$LINENO: \"$ac_c
5465    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5466    if test -s conftest.err; then    if test -s conftest.err; then
5467      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5468        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5469    else    else
5470      ac_cpp_err=      ac_cpp_err=
5471    fi    fi
# Line 4708  rm -f conftest.err conftest.$ac_ext Line 5486  rm -f conftest.err conftest.$ac_ext
5486    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
5487    # can be detected and how.    # can be detected and how.
5488    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5489  /* confdefs.h.  */  /* confdefs.h.  */
5490  _ACEOF  _ACEOF
5491  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4726  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5503  if { (eval echo "$as_me:$LINENO: \"$ac_c
5503    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5504    if test -s conftest.err; then    if test -s conftest.err; then
5505      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5506        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5507    else    else
5508      ac_cpp_err=      ac_cpp_err=
5509    fi    fi
# Line 4772  do Line 5550  do
5550    # 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,
5551    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
5552    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5553  /* confdefs.h.  */  /* confdefs.h.  */
5554  _ACEOF  _ACEOF
5555  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4783  cat >>conftest.$ac_ext <<_ACEOF Line 5560  cat >>conftest.$ac_ext <<_ACEOF
5560  #else  #else
5561  # include <assert.h>  # include <assert.h>
5562  #endif  #endif
5563                       Syntax error                       Syntax error
5564  _ACEOF  _ACEOF
5565  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5566    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 4795  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5572  if { (eval echo "$as_me:$LINENO: \"$ac_c
5572    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5573    if test -s conftest.err; then    if test -s conftest.err; then
5574      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5575        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5576    else    else
5577      ac_cpp_err=      ac_cpp_err=
5578    fi    fi
# Line 4815  rm -f conftest.err conftest.$ac_ext Line 5593  rm -f conftest.err conftest.$ac_ext
5593    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
5594    # can be detected and how.    # can be detected and how.
5595    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5596  /* confdefs.h.  */  /* confdefs.h.  */
5597  _ACEOF  _ACEOF
5598  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4833  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5610  if { (eval echo "$as_me:$LINENO: \"$ac_c
5610    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5611    if test -s conftest.err; then    if test -s conftest.err; then
5612      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5613        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5614    else    else
5615      ac_cpp_err=      ac_cpp_err=
5616    fi    fi
# Line 4877  ac_compile='$F77 -c $FFLAGS conftest.$ac Line 5655  ac_compile='$F77 -c $FFLAGS conftest.$ac
5655  ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5656  ac_compiler_gnu=$ac_cv_f77_compiler_gnu  ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5657  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
5658    for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95    for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5659    do    do
5660      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 4919  fi Line 5697  fi
5697  fi  fi
5698  if test -z "$F77"; then  if test -z "$F77"; then
5699    ac_ct_F77=$F77    ac_ct_F77=$F77
5700    for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95    for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5701  do  do
5702    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
5703  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 4964  fi Line 5742  fi
5742    
5743    
5744  # Provide some information about the compiler.  # Provide some information about the compiler.
5745  echo "$as_me:4967:" \  echo "$as_me:5745:" \
5746       "checking for Fortran 77 compiler version" >&5       "checking for Fortran 77 compiler version" >&5
5747  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
5748  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
# Line 4982  ac_compiler=`set X $ac_compile; echo $2` Line 5760  ac_compiler=`set X $ac_compile; echo $2`
5760    ac_status=$?    ac_status=$?
5761    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762    (exit $ac_status); }    (exit $ac_status); }
5763    rm -f a.out
5764    
5765  # If we don't use `.F' as extension, the preprocessor is not run on the  # If we don't use `.F' as extension, the preprocessor is not run on the
5766  # input file.  # input file.  (Note that this only needs to work for GNU compilers.)
5767  ac_save_ext=$ac_ext  ac_save_ext=$ac_ext
5768  ac_ext=F  ac_ext=F
5769  echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5  echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
# Line 5002  else Line 5781  else
5781  _ACEOF  _ACEOF
5782  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5783  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5784    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5785    ac_status=$?    ac_status=$?
5786      grep -v '^ *+' conftest.er1 >conftest.err
5787      rm -f conftest.er1
5788      cat conftest.err >&5
5789    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790    (exit $ac_status); } &&    (exit $ac_status); } &&
5791           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5792      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793      (eval $ac_try) 2>&5
5794      ac_status=$?
5795      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796      (exit $ac_status); }; } &&
5797             { ac_try='test -s conftest.$ac_objext'
5798    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5800    ac_status=$?    ac_status=$?
# Line 5019  sed 's/^/| /' conftest.$ac_ext >&5 Line 5807  sed 's/^/| /' conftest.$ac_ext >&5
5807    
5808  ac_compiler_gnu=no  ac_compiler_gnu=no
5809  fi  fi
5810  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5811  ac_cv_f77_compiler_gnu=$ac_compiler_gnu  ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5812    
5813  fi  fi
5814  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5815  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5816  ac_ext=$ac_save_ext  ac_ext=$ac_save_ext
 G77=`test $ac_compiler_gnu = yes && echo yes`  
5817  ac_test_FFLAGS=${FFLAGS+set}  ac_test_FFLAGS=${FFLAGS+set}
5818  ac_save_FFLAGS=$FFLAGS  ac_save_FFLAGS=$FFLAGS
5819  FFLAGS=  FFLAGS=
# Line 5043  cat >conftest.$ac_ext <<_ACEOF Line 5830  cat >conftest.$ac_ext <<_ACEOF
5830  _ACEOF  _ACEOF
5831  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5832  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5833    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5834    ac_status=$?    ac_status=$?
5835      grep -v '^ *+' conftest.er1 >conftest.err
5836      rm -f conftest.er1
5837      cat conftest.err >&5
5838    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839    (exit $ac_status); } &&    (exit $ac_status); } &&
5840           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
5841      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842      (eval $ac_try) 2>&5
5843      ac_status=$?
5844      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845      (exit $ac_status); }; } &&
5846             { ac_try='test -s conftest.$ac_objext'
5847    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5849    ac_status=$?    ac_status=$?
# Line 5060  sed 's/^/| /' conftest.$ac_ext >&5 Line 5856  sed 's/^/| /' conftest.$ac_ext >&5
5856    
5857  ac_cv_prog_f77_g=no  ac_cv_prog_f77_g=no
5858  fi  fi
5859  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5860    
5861  fi  fi
5862  echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
# Line 5068  echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 Line 5864  echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5864  if test "$ac_test_FFLAGS" = set; then  if test "$ac_test_FFLAGS" = set; then
5865    FFLAGS=$ac_save_FFLAGS    FFLAGS=$ac_save_FFLAGS
5866  elif test $ac_cv_prog_f77_g = yes; then  elif test $ac_cv_prog_f77_g = yes; then
5867    if test "$G77" = yes; then    if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5868      FFLAGS="-g -O2"      FFLAGS="-g -O2"
5869    else    else
5870      FFLAGS="-g"      FFLAGS="-g"
5871    fi    fi
5872  else  else
5873    if test "$G77" = yes; then    if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5874      FFLAGS="-O2"      FFLAGS="-O2"
5875    else    else
5876      FFLAGS=      FFLAGS=
5877    fi    fi
5878  fi  fi
5879    
5880    G77=`test $ac_compiler_gnu = yes && echo yes`
5881  ac_ext=cc  ac_ext=cc
5882  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
5883  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5976  else Line 6774  else
6774     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6775     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6776     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
6777     (eval echo "\"\$as_me:5979: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6777: $lt_compile\"" >&5)
6778     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
6779     ac_status=$?     ac_status=$?
6780     cat conftest.err >&5     cat conftest.err >&5
6781     echo "$as_me:5983: \$? = $ac_status" >&5     echo "$as_me:6781: \$? = $ac_status" >&5
6782     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
6783       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
6784       # So say no if there are warnings       # So say no if there are warnings
# Line 6209  else Line 7007  else
7007     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7008     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7009     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
7010     (eval echo "\"\$as_me:6212: $lt_compile\"" >&5)     (eval echo "\"\$as_me:7010: $lt_compile\"" >&5)
7011     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
7012     ac_status=$?     ac_status=$?
7013     cat conftest.err >&5     cat conftest.err >&5
7014     echo "$as_me:6216: \$? = $ac_status" >&5     echo "$as_me:7014: \$? = $ac_status" >&5
7015     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
7016       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
7017       # So say no if there are warnings       # So say no if there are warnings
# Line 6276  else Line 7074  else
7074     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7075     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7076     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
7077     (eval echo "\"\$as_me:6279: $lt_compile\"" >&5)     (eval echo "\"\$as_me:7077: $lt_compile\"" >&5)
7078     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
7079     ac_status=$?     ac_status=$?
7080     cat out/conftest.err >&5     cat out/conftest.err >&5
7081     echo "$as_me:6283: \$? = $ac_status" >&5     echo "$as_me:7081: \$? = $ac_status" >&5
7082     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
7083     then     then
7084       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
# Line 6644  $echo "local: *; };" >> $output_objdir/$ Line 7442  $echo "local: *; };" >> $output_objdir/$
7442          allow_undefined_flag='-berok'          allow_undefined_flag='-berok'
7443         # Determine the default libpath from the value encoded in an empty executable.         # Determine the default libpath from the value encoded in an empty executable.
7444         cat >conftest.$ac_ext <<_ACEOF         cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7445  /* confdefs.h.  */  /* confdefs.h.  */
7446  _ACEOF  _ACEOF
7447  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6661  main () Line 7458  main ()
7458  _ACEOF  _ACEOF
7459  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7460  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7461    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7462    ac_status=$?    ac_status=$?
7463      grep -v '^ *+' conftest.er1 >conftest.err
7464      rm -f conftest.er1
7465      cat conftest.err >&5
7466    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467    (exit $ac_status); } &&    (exit $ac_status); } &&
7468           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7469      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7470      (eval $ac_try) 2>&5
7471      ac_status=$?
7472      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473      (exit $ac_status); }; } &&
7474             { ac_try='test -s conftest$ac_exeext'
7475    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7477    ac_status=$?    ac_status=$?
# Line 6682  else Line 7488  else
7488  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7489    
7490  fi  fi
7491  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7492          conftest$ac_exeext conftest.$ac_ext
7493  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7494    
7495         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 6695  if test -z "$aix_libpath"; then aix_libp Line 7502  if test -z "$aix_libpath"; then aix_libp
7502          else          else
7503           # Determine the default libpath from the value encoded in an empty executable.           # Determine the default libpath from the value encoded in an empty executable.
7504           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7505  /* confdefs.h.  */  /* confdefs.h.  */
7506  _ACEOF  _ACEOF
7507  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6712  main () Line 7518  main ()
7518  _ACEOF  _ACEOF
7519  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7520  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7521    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7522    ac_status=$?    ac_status=$?
7523      grep -v '^ *+' conftest.er1 >conftest.err
7524      rm -f conftest.er1
7525      cat conftest.err >&5
7526    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527    (exit $ac_status); } &&    (exit $ac_status); } &&
7528           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7529      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530      (eval $ac_try) 2>&5
7531      ac_status=$?
7532      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533      (exit $ac_status); }; } &&
7534             { ac_try='test -s conftest$ac_exeext'
7535    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7537    ac_status=$?    ac_status=$?
# Line 6733  else Line 7548  else
7548  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7549    
7550  fi  fi
7551  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7552          conftest$ac_exeext conftest.$ac_ext
7553  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7554    
7555           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 7586  linux*) Line 8402  linux*)
8402    # before this can be enabled.    # before this can be enabled.
8403    hardcode_into_libs=yes    hardcode_into_libs=yes
8404    
8405    # /usr/X11R6/lib and /usr/local/lib are common enough...    # Append ld.so.conf contents to the search path
8406    sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib"    if test -f /etc/ld.so.conf; then
8407        ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
8408        sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
8409      fi
8410    
8411    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
8412    # powerpc, because MkLinux only supported shared libraries with the    # powerpc, because MkLinux only supported shared libraries with the
# Line 7867  else Line 8686  else
8686    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8687  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
8688  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8689  /* confdefs.h.  */  /* confdefs.h.  */
8690  _ACEOF  _ACEOF
8691  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7891  dlopen (); Line 8709  dlopen ();
8709  _ACEOF  _ACEOF
8710  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8711  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8712    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8713    ac_status=$?    ac_status=$?
8714      grep -v '^ *+' conftest.er1 >conftest.err
8715      rm -f conftest.er1
8716      cat conftest.err >&5
8717    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718    (exit $ac_status); } &&    (exit $ac_status); } &&
8719           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8720      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721      (eval $ac_try) 2>&5
8722      ac_status=$?
8723      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724      (exit $ac_status); }; } &&
8725             { ac_try='test -s conftest$ac_exeext'
8726    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8728    ac_status=$?    ac_status=$?
# Line 7908  sed 's/^/| /' conftest.$ac_ext >&5 Line 8735  sed 's/^/| /' conftest.$ac_ext >&5
8735    
8736  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
8737  fi  fi
8738  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8739          conftest$ac_exeext conftest.$ac_ext
8740  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8741  fi  fi
8742  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 7932  if test "${ac_cv_func_shl_load+set}" = s Line 8760  if test "${ac_cv_func_shl_load+set}" = s
8760    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8761  else  else
8762    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8763  /* confdefs.h.  */  /* confdefs.h.  */
8764  _ACEOF  _ACEOF
8765  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
8766  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
8767  /* end confdefs.h.  */  /* end confdefs.h.  */
8768    /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8769       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8770    #define shl_load innocuous_shl_load
8771    
8772  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8773      which can conflict with char shl_load (); below.      which can conflict with char shl_load (); below.
8774      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8775      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
8776    
8777  #ifdef __STDC__  #ifdef __STDC__
8778  # include <limits.h>  # include <limits.h>
8779  #else  #else
8780  # include <assert.h>  # include <assert.h>
8781  #endif  #endif
8782    
8783    #undef shl_load
8784    
8785  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8786  #ifdef __cplusplus  #ifdef __cplusplus
8787  extern "C"  extern "C"
# Line 7977  return f != shl_load; Line 8812  return f != shl_load;
8812  _ACEOF  _ACEOF
8813  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8814  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8815    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8816    ac_status=$?    ac_status=$?
8817      grep -v '^ *+' conftest.er1 >conftest.err
8818      rm -f conftest.er1
8819      cat conftest.err >&5
8820    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821    (exit $ac_status); } &&    (exit $ac_status); } &&
8822           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8823      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824      (eval $ac_try) 2>&5
8825      ac_status=$?
8826      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827      (exit $ac_status); }; } &&
8828             { ac_try='test -s conftest$ac_exeext'
8829    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8831    ac_status=$?    ac_status=$?
# Line 7994  sed 's/^/| /' conftest.$ac_ext >&5 Line 8838  sed 's/^/| /' conftest.$ac_ext >&5
8838    
8839  ac_cv_func_shl_load=no  ac_cv_func_shl_load=no
8840  fi  fi
8841  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8842          conftest$ac_exeext conftest.$ac_ext
8843  fi  fi
8844  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8845  echo "${ECHO_T}$ac_cv_func_shl_load" >&6  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
# Line 8009  else Line 8854  else
8854    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8855  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
8856  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8857  /* confdefs.h.  */  /* confdefs.h.  */
8858  _ACEOF  _ACEOF
8859  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8033  shl_load (); Line 8877  shl_load ();
8877  _ACEOF  _ACEOF
8878  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8879  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8880    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8881    ac_status=$?    ac_status=$?
8882      grep -v '^ *+' conftest.er1 >conftest.err
8883      rm -f conftest.er1
8884      cat conftest.err >&5
8885    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886    (exit $ac_status); } &&    (exit $ac_status); } &&
8887           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8888      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889      (eval $ac_try) 2>&5
8890      ac_status=$?
8891      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892      (exit $ac_status); }; } &&
8893             { ac_try='test -s conftest$ac_exeext'
8894    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8896    ac_status=$?    ac_status=$?
# Line 8050  sed 's/^/| /' conftest.$ac_ext >&5 Line 8903  sed 's/^/| /' conftest.$ac_ext >&5
8903    
8904  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
8905  fi  fi
8906  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8907          conftest$ac_exeext conftest.$ac_ext
8908  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8909  fi  fi
8910  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
# Line 8064  if test "${ac_cv_func_dlopen+set}" = set Line 8918  if test "${ac_cv_func_dlopen+set}" = set
8918    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8919  else  else
8920    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8921  /* confdefs.h.  */  /* confdefs.h.  */
8922  _ACEOF  _ACEOF
8923  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
8924  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
8925  /* end confdefs.h.  */  /* end confdefs.h.  */
8926    /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8927       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8928    #define dlopen innocuous_dlopen
8929    
8930  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8931      which can conflict with char dlopen (); below.      which can conflict with char dlopen (); below.
8932      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8933      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
8934    
8935  #ifdef __STDC__  #ifdef __STDC__
8936  # include <limits.h>  # include <limits.h>
8937  #else  #else
8938  # include <assert.h>  # include <assert.h>
8939  #endif  #endif
8940    
8941    #undef dlopen
8942    
8943  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8944  #ifdef __cplusplus  #ifdef __cplusplus
8945  extern "C"  extern "C"
# Line 8109  return f != dlopen; Line 8970  return f != dlopen;
8970  _ACEOF  _ACEOF
8971  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8972  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8973    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8974    ac_status=$?    ac_status=$?
8975      grep -v '^ *+' conftest.er1 >conftest.err
8976      rm -f conftest.er1
8977      cat conftest.err >&5
8978    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979    (exit $ac_status); } &&    (exit $ac_status); } &&
8980           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8981      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982      (eval $ac_try) 2>&5
8983      ac_status=$?
8984      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985      (exit $ac_status); }; } &&
8986             { ac_try='test -s conftest$ac_exeext'
8987    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8989    ac_status=$?    ac_status=$?
# Line 8126  sed 's/^/| /' conftest.$ac_ext >&5 Line 8996  sed 's/^/| /' conftest.$ac_ext >&5
8996    
8997  ac_cv_func_dlopen=no  ac_cv_func_dlopen=no
8998  fi  fi
8999  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9000          conftest$ac_exeext conftest.$ac_ext
9001  fi  fi
9002  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9003  echo "${ECHO_T}$ac_cv_func_dlopen" >&6  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
# Line 8141  else Line 9012  else
9012    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9013  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
9014  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9015  /* confdefs.h.  */  /* confdefs.h.  */
9016  _ACEOF  _ACEOF
9017  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8165  dlopen (); Line 9035  dlopen ();
9035  _ACEOF  _ACEOF
9036  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9037  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9038    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
9039    ac_status=$?    ac_status=$?
9040      grep -v '^ *+' conftest.er1 >conftest.err
9041      rm -f conftest.er1
9042      cat conftest.err >&5
9043    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044    (exit $ac_status); } &&    (exit $ac_status); } &&
9045           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9046      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9047      (eval $ac_try) 2>&5
9048      ac_status=$?
9049      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050      (exit $ac_status); }; } &&
9051             { ac_try='test -s conftest$ac_exeext'
9052    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9053    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9054    ac_status=$?    ac_status=$?
# Line 8182  sed 's/^/| /' conftest.$ac_ext >&5 Line 9061  sed 's/^/| /' conftest.$ac_ext >&5
9061    
9062  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
9063  fi  fi
9064  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9065          conftest$ac_exeext conftest.$ac_ext
9066  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9067  fi  fi
9068  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 8198  else Line 9078  else
9078    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9079  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
9080  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9081  /* confdefs.h.  */  /* confdefs.h.  */
9082  _ACEOF  _ACEOF
9083  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8222  dlopen (); Line 9101  dlopen ();
9101  _ACEOF  _ACEOF
9102  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9103  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9104    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
9105    ac_status=$?    ac_status=$?
9106      grep -v '^ *+' conftest.er1 >conftest.err
9107      rm -f conftest.er1
9108      cat conftest.err >&5
9109    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110    (exit $ac_status); } &&    (exit $ac_status); } &&
9111           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9112      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9113      (eval $ac_try) 2>&5
9114      ac_status=$?
9115      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116      (exit $ac_status); }; } &&
9117             { ac_try='test -s conftest$ac_exeext'
9118    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9120    ac_status=$?    ac_status=$?
# Line 8239  sed 's/^/| /' conftest.$ac_ext >&5 Line 9127  sed 's/^/| /' conftest.$ac_ext >&5
9127    
9128  ac_cv_lib_svld_dlopen=no  ac_cv_lib_svld_dlopen=no
9129  fi  fi
9130  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9131          conftest$ac_exeext conftest.$ac_ext
9132  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9133  fi  fi
9134  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
# Line 8255  else Line 9144  else
9144    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9145  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
9146  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9147  /* confdefs.h.  */  /* confdefs.h.  */
9148  _ACEOF  _ACEOF
9149  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8279  dld_link (); Line 9167  dld_link ();
9167  _ACEOF  _ACEOF
9168  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9169  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9170    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
9171    ac_status=$?    ac_status=$?
9172      grep -v '^ *+' conftest.er1 >conftest.err
9173      rm -f conftest.er1
9174      cat conftest.err >&5
9175    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176    (exit $ac_status); } &&    (exit $ac_status); } &&
9177           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9178      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179      (eval $ac_try) 2>&5
9180      ac_status=$?
9181      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182      (exit $ac_status); }; } &&
9183             { ac_try='test -s conftest$ac_exeext'
9184    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9186    ac_status=$?    ac_status=$?
# Line 8296  sed 's/^/| /' conftest.$ac_ext >&5 Line 9193  sed 's/^/| /' conftest.$ac_ext >&5
9193    
9194  ac_cv_lib_dld_dld_link=no  ac_cv_lib_dld_dld_link=no
9195  fi  fi
9196  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9197          conftest$ac_exeext conftest.$ac_ext
9198  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9199  fi  fi
9200  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
# Line 8351  else Line 9249  else
9249    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9250    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
9251    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9252  #line 8354 "configure"  #line 9252 "configure"
9253  #include "confdefs.h"  #include "confdefs.h"
9254    
9255  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 8449  else Line 9347  else
9347    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9348    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
9349    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9350  #line 8452 "configure"  #line 9350 "configure"
9351  #include "confdefs.h"  #include "confdefs.h"
9352    
9353  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 9498  case $host_os in Line 10396  case $host_os in
10396        allow_undefined_flag_CXX='-berok'        allow_undefined_flag_CXX='-berok'
10397        # Determine the default libpath from the value encoded in an empty executable.        # Determine the default libpath from the value encoded in an empty executable.
10398        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
10399  /* confdefs.h.  */  /* confdefs.h.  */
10400  _ACEOF  _ACEOF
10401  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 9515  main () Line 10412  main ()
10412  _ACEOF  _ACEOF
10413  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10414  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10415    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
10416    ac_status=$?    ac_status=$?
10417      grep -v '^ *+' conftest.er1 >conftest.err
10418      rm -f conftest.er1
10419      cat conftest.err >&5
10420    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421    (exit $ac_status); } &&    (exit $ac_status); } &&
10422           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10423      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10424      (eval $ac_try) 2>&5
10425      ac_status=$?
10426      echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427      (exit $ac_status); }; } &&
10428             { ac_try='test -s conftest$ac_exeext'
10429    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10430    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10431    ac_status=$?    ac_status=$?
# Line 9536  else Line 10442  else
10442  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
10443    
10444  fi  fi
10445  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
10446          conftest$ac_exeext conftest.$ac_ext
10447  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10448    
10449        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 9550  if test -z "$aix_libpath"; then aix_libp Line 10457  if test -z "$aix_libpath"; then aix_libp
10457        else        else
10458          # Determine the default libpath from the value encoded in an empty executable.          # Determine the default libpath from the value encoded in an empty executable.
10459          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
10460  /* confdefs.h.  */  /* confdefs.h.  */
10461  _ACEOF  _ACEOF
10462  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 9567  main () Line 10473  main ()
10473  _ACEOF  _ACEOF
10474  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10475  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10476    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
10477    ac_status=$?    ac_status=$?
10478      grep -v '^ *+' conftest.er1 >conftest.err
10479      rm -f conftest.er1
10480      cat conftest.err >&5
10481    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482    (exit $ac_status); } &&    (exit $ac_status); } &&
10483           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10484      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485      (eval $ac_try) 2>&5
10486      ac_status=$?
10487      echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488      (exit $ac_status); }; } &&
10489             { ac_try='test -s conftest$ac_exeext'
10490    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10492    ac_status=$?    ac_status=$?
# Line 9588  else Line 10503  else
10503  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
10504    
10505  fi  fi
10506  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
10507          conftest$ac_exeext conftest.$ac_ext
10508  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10509    
10510          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 10608  else Line 11524  else
11524     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11525     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11526     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
11527     (eval echo "\"\$as_me:10611: $lt_compile\"" >&5)     (eval echo "\"\$as_me:11527: $lt_compile\"" >&5)
11528     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
11529     ac_status=$?     ac_status=$?
11530     cat conftest.err >&5     cat conftest.err >&5
11531     echo "$as_me:10615: \$? = $ac_status" >&5     echo "$as_me:11531: \$? = $ac_status" >&5
11532     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
11533       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
11534       # So say no if there are warnings       # So say no if there are warnings
# Line 10675  else Line 11591  else
11591     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11592     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11593     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
11594     (eval echo "\"\$as_me:10678: $lt_compile\"" >&5)     (eval echo "\"\$as_me:11594: $lt_compile\"" >&5)
11595     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
11596     ac_status=$?     ac_status=$?
11597     cat out/conftest.err >&5     cat out/conftest.err >&5
11598     echo "$as_me:10682: \$? = $ac_status" >&5     echo "$as_me:11598: \$? = $ac_status" >&5
11599     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
11600     then     then
11601       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
# Line 11182  linux*) Line 12098  linux*)
12098    # before this can be enabled.    # before this can be enabled.
12099    hardcode_into_libs=yes    hardcode_into_libs=yes
12100    
12101    # /usr/X11R6/lib and /usr/local/lib are common enough...    # Append ld.so.conf contents to the search path
12102    sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib"    if test -f /etc/ld.so.conf; then
12103        ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
12104        sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
12105      fi
12106    
12107    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
12108    # powerpc, because MkLinux only supported shared libraries with the    # powerpc, because MkLinux only supported shared libraries with the
# Line 11463  else Line 12382  else
12382    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
12383  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
12384  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12385  /* confdefs.h.  */  /* confdefs.h.  */
12386  _ACEOF  _ACEOF
12387  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 11487  dlopen (); Line 12405  dlopen ();
12405  _ACEOF  _ACEOF
12406  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12407  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12408    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12409    ac_status=$?    ac_status=$?
12410      grep -v '^ *+' conftest.er1 >conftest.err
12411      rm -f conftest.er1
12412      cat conftest.err >&5
12413    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414    (exit $ac_status); } &&    (exit $ac_status); } &&
12415           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12416      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417      (eval $ac_try) 2>&5
12418      ac_status=$?
12419      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420      (exit $ac_status); }; } &&
12421             { ac_try='test -s conftest$ac_exeext'
12422    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12424    ac_status=$?    ac_status=$?
# Line 11504  sed 's/^/| /' conftest.$ac_ext >&5 Line 12431  sed 's/^/| /' conftest.$ac_ext >&5
12431    
12432  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
12433  fi  fi
12434  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12435          conftest$ac_exeext conftest.$ac_ext
12436  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
12437  fi  fi
12438  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 11528  if test "${ac_cv_func_shl_load+set}" = s Line 12456  if test "${ac_cv_func_shl_load+set}" = s
12456    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12457  else  else
12458    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12459  /* confdefs.h.  */  /* confdefs.h.  */
12460  _ACEOF  _ACEOF
12461  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
12462  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
12463  /* end confdefs.h.  */  /* end confdefs.h.  */
12464    /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12465       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12466    #define shl_load innocuous_shl_load
12467    
12468  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12469      which can conflict with char shl_load (); below.      which can conflict with char shl_load (); below.
12470      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12471      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
12472    
12473  #ifdef __STDC__  #ifdef __STDC__
12474  # include <limits.h>  # include <limits.h>
12475  #else  #else
12476  # include <assert.h>  # include <assert.h>
12477  #endif  #endif
12478    
12479    #undef shl_load
12480    
12481  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
12482  #ifdef __cplusplus  #ifdef __cplusplus
12483  extern "C"  extern "C"
# Line 11573  return f != shl_load; Line 12508  return f != shl_load;
12508  _ACEOF  _ACEOF
12509  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12510  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12511    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12512    ac_status=$?    ac_status=$?
12513      grep -v '^ *+' conftest.er1 >conftest.err
12514      rm -f conftest.er1
12515      cat conftest.err >&5
12516    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517    (exit $ac_status); } &&    (exit $ac_status); } &&
12518           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12519      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520      (eval $ac_try) 2>&5
12521      ac_status=$?
12522      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523      (exit $ac_status); }; } &&
12524             { ac_try='test -s conftest$ac_exeext'
12525    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12527    ac_status=$?    ac_status=$?
# Line 11590  sed 's/^/| /' conftest.$ac_ext >&5 Line 12534  sed 's/^/| /' conftest.$ac_ext >&5
12534    
12535  ac_cv_func_shl_load=no  ac_cv_func_shl_load=no
12536  fi  fi
12537  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12538          conftest$ac_exeext conftest.$ac_ext
12539  fi  fi
12540  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12541  echo "${ECHO_T}$ac_cv_func_shl_load" >&6  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
# Line 11605  else Line 12550  else
12550    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
12551  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
12552  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12553  /* confdefs.h.  */  /* confdefs.h.  */
12554  _ACEOF  _ACEOF
12555  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 11629  shl_load (); Line 12573  shl_load ();
12573  _ACEOF  _ACEOF
12574  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12575  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12576    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12577    ac_status=$?    ac_status=$?
12578      grep -v '^ *+' conftest.er1 >conftest.err
12579      rm -f conftest.er1
12580      cat conftest.err >&5
12581    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582    (exit $ac_status); } &&    (exit $ac_status); } &&
12583           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12584      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585      (eval $ac_try) 2>&5
12586      ac_status=$?
12587      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588      (exit $ac_status); }; } &&
12589             { ac_try='test -s conftest$ac_exeext'
12590    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12592    ac_status=$?    ac_status=$?
# Line 11646  sed 's/^/| /' conftest.$ac_ext >&5 Line 12599  sed 's/^/| /' conftest.$ac_ext >&5
12599    
12600  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
12601  fi  fi
12602  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12603          conftest$ac_exeext conftest.$ac_ext
12604  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
12605  fi  fi
12606  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
# Line 11660  if test "${ac_cv_func_dlopen+set}" = set Line 12614  if test "${ac_cv_func_dlopen+set}" = set
12614    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12615  else  else
12616    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12617  /* confdefs.h.  */  /* confdefs.h.  */
12618  _ACEOF  _ACEOF
12619  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
12620  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
12621  /* end confdefs.h.  */  /* end confdefs.h.  */
12622    /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12623       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12624    #define dlopen innocuous_dlopen
12625    
12626  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12627      which can conflict with char dlopen (); below.      which can conflict with char dlopen (); below.
12628      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12629      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
12630    
12631  #ifdef __STDC__  #ifdef __STDC__
12632  # include <limits.h>  # include <limits.h>
12633  #else  #else
12634  # include <assert.h>  # include <assert.h>
12635  #endif  #endif
12636    
12637    #undef dlopen
12638    
12639  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
12640  #ifdef __cplusplus  #ifdef __cplusplus
12641  extern "C"  extern "C"
# Line 11705  return f != dlopen; Line 12666  return f != dlopen;
12666  _ACEOF  _ACEOF
12667  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12668  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12669    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12670    ac_status=$?    ac_status=$?
12671      grep -v '^ *+' conftest.er1 >conftest.err
12672      rm -f conftest.er1
12673      cat conftest.err >&5
12674    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675    (exit $ac_status); } &&    (exit $ac_status); } &&
12676           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12677      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678      (eval $ac_try) 2>&5
12679      ac_status=$?
12680      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681      (exit $ac_status); }; } &&
12682             { ac_try='test -s conftest$ac_exeext'
12683    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12685    ac_status=$?    ac_status=$?
# Line 11722  sed 's/^/| /' conftest.$ac_ext >&5 Line 12692  sed 's/^/| /' conftest.$ac_ext >&5
12692    
12693  ac_cv_func_dlopen=no  ac_cv_func_dlopen=no
12694  fi  fi
12695  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12696          conftest$ac_exeext conftest.$ac_ext
12697  fi  fi
12698  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12699  echo "${ECHO_T}$ac_cv_func_dlopen" >&6  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
# Line 11737  else Line 12708  else
12708    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
12709  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
12710  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12711  /* confdefs.h.  */  /* confdefs.h.  */
12712  _ACEOF  _ACEOF
12713  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 11761  dlopen (); Line 12731  dlopen ();
12731  _ACEOF  _ACEOF
12732  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12733  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12734    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12735    ac_status=$?    ac_status=$?
12736      grep -v '^ *+' conftest.er1 >conftest.err
12737      rm -f conftest.er1
12738      cat conftest.err >&5
12739    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740    (exit $ac_status); } &&    (exit $ac_status); } &&
12741           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12742      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743      (eval $ac_try) 2>&5
12744      ac_status=$?
12745      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746      (exit $ac_status); }; } &&
12747             { ac_try='test -s conftest$ac_exeext'
12748    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12750    ac_status=$?    ac_status=$?
# Line 11778  sed 's/^/| /' conftest.$ac_ext >&5 Line 12757  sed 's/^/| /' conftest.$ac_ext >&5
12757    
12758  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
12759  fi  fi
12760  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12761          conftest$ac_exeext conftest.$ac_ext
12762  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
12763  fi  fi
12764  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 11794  else Line 12774  else
12774    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
12775  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
12776  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12777  /* confdefs.h.  */  /* confdefs.h.  */
12778  _ACEOF  _ACEOF
12779  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 11818  dlopen (); Line 12797  dlopen ();
12797  _ACEOF  _ACEOF
12798  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12799  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12800    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12801    ac_status=$?    ac_status=$?
12802      grep -v '^ *+' conftest.er1 >conftest.err
12803      rm -f conftest.er1
12804      cat conftest.err >&5
12805    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806    (exit $ac_status); } &&    (exit $ac_status); } &&
12807           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12808      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809      (eval $ac_try) 2>&5
12810      ac_status=$?
12811      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812      (exit $ac_status); }; } &&
12813             { ac_try='test -s conftest$ac_exeext'
12814    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12815    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12816    ac_status=$?    ac_status=$?
# Line 11835  sed 's/^/| /' conftest.$ac_ext >&5 Line 12823  sed 's/^/| /' conftest.$ac_ext >&5
12823    
12824  ac_cv_lib_svld_dlopen=no  ac_cv_lib_svld_dlopen=no
12825  fi  fi
12826  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12827          conftest$ac_exeext conftest.$ac_ext
12828  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
12829  fi  fi
12830  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
# Line 11851  else Line 12840  else
12840    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
12841  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
12842  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
12843  /* confdefs.h.  */  /* confdefs.h.  */
12844  _ACEOF  _ACEOF
12845  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 11875  dld_link (); Line 12863  dld_link ();
12863  _ACEOF  _ACEOF
12864  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12865  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12866    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
12867    ac_status=$?    ac_status=$?
12868      grep -v '^ *+' conftest.er1 >conftest.err
12869      rm -f conftest.er1
12870      cat conftest.err >&5
12871    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872    (exit $ac_status); } &&    (exit $ac_status); } &&
12873           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
12874      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875      (eval $ac_try) 2>&5
12876      ac_status=$?
12877      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878      (exit $ac_status); }; } &&
12879             { ac_try='test -s conftest$ac_exeext'
12880    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12881    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12882    ac_status=$?    ac_status=$?
# Line 11892  sed 's/^/| /' conftest.$ac_ext >&5 Line 12889  sed 's/^/| /' conftest.$ac_ext >&5
12889    
12890  ac_cv_lib_dld_dld_link=no  ac_cv_lib_dld_dld_link=no
12891  fi  fi
12892  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
12893          conftest$ac_exeext conftest.$ac_ext
12894  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
12895  fi  fi
12896  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
# Line 11947  else Line 12945  else
12945    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12946    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
12947    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12948  #line 11950 "configure"  #line 12948 "configure"
12949  #include "confdefs.h"  #include "confdefs.h"
12950    
12951  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 12045  else Line 13043  else
13043    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13044    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
13045    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
13046  #line 12048 "configure"  #line 13046 "configure"
13047  #include "confdefs.h"  #include "confdefs.h"
13048    
13049  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 12872  else Line 13870  else
13870     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13871     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13872     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
13873     (eval echo "\"\$as_me:12875: $lt_compile\"" >&5)     (eval echo "\"\$as_me:13873: $lt_compile\"" >&5)
13874     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
13875     ac_status=$?     ac_status=$?
13876     cat conftest.err >&5     cat conftest.err >&5
13877     echo "$as_me:12879: \$? = $ac_status" >&5     echo "$as_me:13877: \$? = $ac_status" >&5
13878     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
13879       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
13880       # So say no if there are warnings       # So say no if there are warnings
# Line 12939  else Line 13937  else
13937     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13938     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
13940     (eval echo "\"\$as_me:12942: $lt_compile\"" >&5)     (eval echo "\"\$as_me:13940: $lt_compile\"" >&5)
13941     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
13942     ac_status=$?     ac_status=$?
13943     cat out/conftest.err >&5     cat out/conftest.err >&5
13944     echo "$as_me:12946: \$? = $ac_status" >&5     echo "$as_me:13944: \$? = $ac_status" >&5
13945     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946     then     then
13947       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
# Line 13313  $echo "local: *; };" >> $output_objdir/$ Line 14311  $echo "local: *; };" >> $output_objdir/$
14311  _ACEOF  _ACEOF
14312  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
14313  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14314    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
14315    ac_status=$?    ac_status=$?
14316      grep -v '^ *+' conftest.er1 >conftest.err
14317      rm -f conftest.er1
14318      cat conftest.err >&5
14319    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320    (exit $ac_status); } &&    (exit $ac_status); } &&
14321           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14322      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323      (eval $ac_try) 2>&5
14324      ac_status=$?
14325      echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326      (exit $ac_status); }; } &&
14327             { ac_try='test -s conftest$ac_exeext'
14328    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
14330    ac_status=$?    ac_status=$?
# Line 13334  else Line 14341  else
14341  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
14342    
14343  fi  fi
14344  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
14345          conftest$ac_exeext conftest.$ac_ext
14346  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14347    
14348         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 13353  if test -z "$aix_libpath"; then aix_libp Line 14361  if test -z "$aix_libpath"; then aix_libp
14361  _ACEOF  _ACEOF
14362  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
14363  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14364    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
14365    ac_status=$?    ac_status=$?
14366      grep -v '^ *+' conftest.er1 >conftest.err
14367      rm -f conftest.er1
14368      cat conftest.err >&5
14369    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370    (exit $ac_status); } &&    (exit $ac_status); } &&
14371           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
14372      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373      (eval $ac_try) 2>&5
14374      ac_status=$?
14375      echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376      (exit $ac_status); }; } &&
14377             { ac_try='test -s conftest$ac_exeext'
14378    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
14380    ac_status=$?    ac_status=$?
# Line 13374  else Line 14391  else
14391  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
14392    
14393  fi  fi
14394  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
14395          conftest$ac_exeext conftest.$ac_ext
14396  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14397    
14398           hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"           hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 14227  linux*) Line 15245  linux*)
15245    # before this can be enabled.    # before this can be enabled.
15246    hardcode_into_libs=yes    hardcode_into_libs=yes
15247    
15248    # /usr/X11R6/lib and /usr/local/lib are common enough...    # Append ld.so.conf contents to the search path
15249    sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib"    if test -f /etc/ld.so.conf; then
15250        ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
15251        sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
15252      fi
15253    
15254    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
15255    # powerpc, because MkLinux only supported shared libraries with the    # powerpc, because MkLinux only supported shared libraries with the
# Line 14948  else Line 15969  else
15969     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15970     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15971     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
15972     (eval echo "\"\$as_me:14951: $lt_compile\"" >&5)     (eval echo "\"\$as_me:15972: $lt_compile\"" >&5)
15973     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
15974     ac_status=$?     ac_status=$?
15975     cat conftest.err >&5     cat conftest.err >&5
15976     echo "$as_me:14955: \$? = $ac_status" >&5     echo "$as_me:15976: \$? = $ac_status" >&5
15977     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
15978       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
15979       # So say no if there are warnings       # So say no if there are warnings
# Line 15181  else Line 16202  else
16202     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16203     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16204     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
16205     (eval echo "\"\$as_me:15184: $lt_compile\"" >&5)     (eval echo "\"\$as_me:16205: $lt_compile\"" >&5)
16206     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
16207     ac_status=$?     ac_status=$?
16208     cat conftest.err >&5     cat conftest.err >&5
16209     echo "$as_me:15188: \$? = $ac_status" >&5     echo "$as_me:16209: \$? = $ac_status" >&5
16210     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
16211       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
16212       # So say no if there are warnings       # So say no if there are warnings
# Line 15248  else Line 16269  else
16269     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16270     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16271     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
16272     (eval echo "\"\$as_me:15251: $lt_compile\"" >&5)     (eval echo "\"\$as_me:16272: $lt_compile\"" >&5)
16273     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
16274     ac_status=$?     ac_status=$?
16275     cat out/conftest.err >&5     cat out/conftest.err >&5
16276     echo "$as_me:15255: \$? = $ac_status" >&5     echo "$as_me:16276: \$? = $ac_status" >&5
16277     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
16278     then     then
16279       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
# Line 15616  $echo "local: *; };" >> $output_objdir/$ Line 16637  $echo "local: *; };" >> $output_objdir/$
16637          allow_undefined_flag_GCJ='-berok'          allow_undefined_flag_GCJ='-berok'
16638         # Determine the default libpath from the value encoded in an empty executable.         # Determine the default libpath from the value encoded in an empty executable.
16639         cat >conftest.$ac_ext <<_ACEOF         cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
16640  /* confdefs.h.  */  /* confdefs.h.  */
16641  _ACEOF  _ACEOF
16642  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 15633  main () Line 16653  main ()
16653  _ACEOF  _ACEOF
16654  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
16655  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16656    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
16657    ac_status=$?    ac_status=$?
16658      grep -v '^ *+' conftest.er1 >conftest.err
16659      rm -f conftest.er1
16660      cat conftest.err >&5
16661    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662    (exit $ac_status); } &&    (exit $ac_status); } &&
16663           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
16664      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665      (eval $ac_try) 2>&5
16666      ac_status=$?
16667      echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668      (exit $ac_status); }; } &&
16669             { ac_try='test -s conftest$ac_exeext'
16670    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
16672    ac_status=$?    ac_status=$?
# Line 15654  else Line 16683  else
16683  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
16684    
16685  fi  fi
16686  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
16687          conftest$ac_exeext conftest.$ac_ext
16688  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16689    
16690         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 15667  if test -z "$aix_libpath"; then aix_libp Line 16697  if test -z "$aix_libpath"; then aix_libp
16697          else          else
16698           # Determine the default libpath from the value encoded in an empty executable.           # Determine the default libpath from the value encoded in an empty executable.
16699           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
16700  /* confdefs.h.  */  /* confdefs.h.  */
16701  _ACEOF  _ACEOF
16702  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 15684  main () Line 16713  main ()
16713  _ACEOF  _ACEOF
16714  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
16715  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16716    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
16717    ac_status=$?    ac_status=$?
16718      grep -v '^ *+' conftest.er1 >conftest.err
16719      rm -f conftest.er1
16720      cat conftest.err >&5
16721    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722    (exit $ac_status); } &&    (exit $ac_status); } &&
16723           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
16724      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725      (eval $ac_try) 2>&5
16726      ac_status=$?
16727      echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728      (exit $ac_status); }; } &&
16729             { ac_try='test -s conftest$ac_exeext'
16730    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
16732    ac_status=$?    ac_status=$?
# Line 15705  else Line 16743  else
16743  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
16744    
16745  fi  fi
16746  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
16747          conftest$ac_exeext conftest.$ac_ext
16748  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16749    
16750           hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"           hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 16558  linux*) Line 17597  linux*)
17597    # before this can be enabled.    # before this can be enabled.
17598    hardcode_into_libs=yes    hardcode_into_libs=yes
17599    
17600    # /usr/X11R6/lib and /usr/local/lib are common enough...    # Append ld.so.conf contents to the search path
17601    sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib"    if test -f /etc/ld.so.conf; then
17602        ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
17603        sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
17604      fi
17605    
17606    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
17607    # powerpc, because MkLinux only supported shared libraries with the    # powerpc, because MkLinux only supported shared libraries with the
# Line 16839  else Line 17881  else
17881    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
17882  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
17883  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
17884  /* confdefs.h.  */  /* confdefs.h.  */
17885  _ACEOF  _ACEOF
17886  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 16863  dlopen (); Line 17904  dlopen ();
17904  _ACEOF  _ACEOF
17905  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
17906  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17907    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
17908    ac_status=$?    ac_status=$?
17909      grep -v '^ *+' conftest.er1 >conftest.err
17910      rm -f conftest.er1
17911      cat conftest.err >&5
17912    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913    (exit $ac_status); } &&    (exit $ac_status); } &&
17914           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
17915      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916      (eval $ac_try) 2>&5
17917      ac_status=$?
17918      echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919      (exit $ac_status); }; } &&
17920             { ac_try='test -s conftest$ac_exeext'
17921    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
17923    ac_status=$?    ac_status=$?
# Line 16880  sed 's/^/| /' conftest.$ac_ext >&5 Line 17930  sed 's/^/| /' conftest.$ac_ext >&5
17930    
17931  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
17932  fi  fi
17933  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
17934          conftest$ac_exeext conftest.$ac_ext
17935  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
17936  fi  fi
17937  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 16904  if test "${ac_cv_func_shl_load+set}" = s Line 17955  if test "${ac_cv_func_shl_load+set}" = s
17955    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
17956  else  else
17957    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
17958  /* confdefs.h.  */  /* confdefs.h.  */
17959  _ACEOF  _ACEOF
17960  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
17961  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
17962  /* end confdefs.h.  */  /* end confdefs.h.  */
17963    /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17964       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17965    #define shl_load innocuous_shl_load
17966    
17967  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
17968      which can conflict with char shl_load (); below.      which can conflict with char shl_load (); below.
17969      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17970      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
17971    
17972  #ifdef __STDC__  #ifdef __STDC__
17973  # include <limits.h>  # include <limits.h>
17974  #else  #else
17975  # include <assert.h>  # include <assert.h>
17976  #endif  #endif
17977    
17978    #undef shl_load
17979    
17980  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
17981  #ifdef __cplusplus  #ifdef __cplusplus
17982  extern "C"  extern "C"
# Line 16949  return f != shl_load; Line 18007  return f != shl_load;
18007  _ACEOF  _ACEOF
18008  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
18009  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18010    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
18011    ac_status=$?    ac_status=$?
18012      grep -v '^ *+' conftest.er1 >conftest.err
18013      rm -f conftest.er1
18014      cat conftest.err >&5
18015    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016    (exit $ac_status); } &&    (exit $ac_status); } &&
18017           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
18018      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019      (eval $ac_try) 2>&5
18020      ac_status=$?
18021      echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022      (exit $ac_status); }; } &&
18023             { ac_try='test -s conftest$ac_exeext'
18024    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
18026    ac_status=$?    ac_status=$?
# Line 16966  sed 's/^/| /' conftest.$ac_ext >&5 Line 18033  sed 's/^/| /' conftest.$ac_ext >&5
18033    
18034  ac_cv_func_shl_load=no  ac_cv_func_shl_load=no
18035  fi  fi
18036  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
18037          conftest$ac_exeext conftest.$ac_ext
18038  fi  fi
18039  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18040  echo "${ECHO_T}$ac_cv_func_shl_load" >&6  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
# Line 16981  else Line 18049  else
18049    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
18050  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
18051  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
18052  /* confdefs.h.  */  /* confdefs.h.  */
18053  _ACEOF  _ACEOF
18054  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 17005  shl_load (); Line 18072  shl_load ();
18072  _ACEOF  _ACEOF
18073  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
18074  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18075    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
18076    ac_status=$?    ac_status=$?
18077      grep -v '^ *+' conftest.er1 >conftest.err
18078      rm -f conftest.er1
18079      cat conftest.err >&5
18080    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081    (exit $ac_status); } &&    (exit $ac_status); } &&
18082           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
18083      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18084      (eval $ac_try) 2>&5
18085      ac_status=$?
18086      echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087      (exit $ac_status); }; } &&
18088             { ac_try='test -s conftest$ac_exeext'
18089    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
18091    ac_status=$?    ac_status=$?
# Line 17022  sed 's/^/| /' conftest.$ac_ext >&5 Line 18098  sed 's/^/| /' conftest.$ac_ext >&5
18098    
18099  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
18100  fi  fi
18101  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
18102          conftest$ac_exeext conftest.$ac_ext
18103  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
18104  fi  fi
18105  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
# Line 17036  if test "${ac_cv_func_dlopen+set}" = set Line 18113  if test "${ac_cv_func_dlopen+set}" = set
18113    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
18114  else  else
18115    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
18116  /* confdefs.h.  */  /* confdefs.h.  */
18117  _ACEOF  _ACEOF
18118  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
18119  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
18120  /* end confdefs.h.  */  /* end confdefs.h.  */
18121    /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18122       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18123    #define dlopen innocuous_dlopen
18124    
18125  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
18126      which can conflict with char dlopen (); below.      which can conflict with char dlopen (); below.
18127      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18128      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
18129    
18130  #ifdef __STDC__  #ifdef __STDC__
18131  # include <limits.h>  # include <limits.h>
18132  #else  #else
18133  # include <assert.h>  # include <assert.h>
18134  #endif  #endif
18135    
18136    #undef dlopen
18137    
18138  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
18139  #ifdef __cplusplus  #ifdef __cplusplus
18140  extern "C"  extern "C"
# Line 17081  return f != dlopen; Line 18165  return f != dlopen;
18165  _ACEOF  _ACEOF
18166  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
18167  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18168    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
18169    ac_status=$?    ac_status=$?
18170      grep -v '^ *+' conftest.er1 >conftest.err
18171      rm -f conftest.er1
18172      cat conftest.err >&5
18173    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174    (exit $ac_status); } &&    (exit $ac_status); } &&
18175           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
18176      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18177      (eval $ac_try) 2>&5
18178      ac_status=$?
18179      echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180      (exit $ac_status); }; } &&
18181             { ac_try='test -s conftest$ac_exeext'
18182    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18183    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
18184    ac_status=$?    ac_status=$?
# Line 17098  sed 's/^/| /' conftest.$ac_ext >&5 Line 18191  sed 's/^/| /' conftest.$ac_ext >&5
18191    
18192  ac_cv_func_dlopen=no  ac_cv_func_dlopen=no
18193  fi  fi
18194  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
18195          conftest$ac_exeext conftest.$ac_ext
18196  fi  fi
18197  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18198  echo "${ECHO_T}$ac_cv_func_dlopen" >&6  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
# Line 17113  else Line 18207  else
18207    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
18208  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
18209  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
18210  /* confdefs.h.  */  /* confdefs.h.  */
18211  _ACEOF  _ACEOF
18212  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 17137  dlopen (); Line 18230  dlopen ();
18230  _ACEOF  _ACEOF
18231  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
18232  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18233    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
18234    ac_status=$?    ac_status=$?
18235      grep -v '^ *+' conftest.er1 >conftest.err
18236      rm -f conftest.er1
18237      cat conftest.err >&5
18238    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239    (exit $ac_status); } &&    (exit $ac_status); } &&
18240           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
18241      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242      (eval $ac_try) 2>&5
18243      ac_status=$?
18244      echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245      (exit $ac_status); }; } &&
18246             { ac_try='test -s conftest$ac_exeext'
18247    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
18249    ac_status=$?    ac_status=$?
# Line 17154  sed 's/^/| /' conftest.$ac_ext >&5 Line 18256  sed 's/^/| /' conftest.$ac_ext >&5
18256    
18257  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
18258  fi  fi
18259  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
18260          conftest$ac_exeext conftest.$ac_ext
18261  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
18262  fi  fi
18263  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 17170  else Line 18273  else
18273    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
18274  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
18275  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
18276  /* confdefs.h.  */  /* confdefs.h.  */
18277  _ACEOF  _ACEOF
18278  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 17194  dlopen (); Line 18296  dlopen ();
18296  _ACEOF  _ACEOF
18297  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
18298  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18299    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
18300    ac_status=$?    ac_status=$?
18301      grep -v '^ *+' conftest.er1 >conftest.err
18302      rm -f conftest.er1
18303      cat conftest.err >&5
18304    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305    (exit $ac_status); } &&    (exit $ac_status); } &&
18306           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
18307      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18308      (eval $ac_try) 2>&5
18309      ac_status=$?
18310      echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311      (exit $ac_status); }; } &&
18312             { ac_try='test -s conftest$ac_exeext'
18313    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
18315    ac_status=$?    ac_status=$?
# Line 17211  sed 's/^/| /' conftest.$ac_ext >&5 Line 18322  sed 's/^/| /' conftest.$ac_ext >&5
18322    
18323  ac_cv_lib_svld_dlopen=no  ac_cv_lib_svld_dlopen=no
18324  fi  fi
18325  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
18326          conftest$ac_exeext conftest.$ac_ext
18327  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
18328  fi  fi
18329  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
# Line 17227  else Line 18339  else
18339    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
18340  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
18341  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
18342  /* confdefs.h.  */  /* confdefs.h.  */
18343  _ACEOF  _ACEOF
18344  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 17251  dld_link (); Line 18362  dld_link ();
18362  _ACEOF  _ACEOF
18363  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
18364  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18365    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
18366    ac_status=$?    ac_status=$?
18367      grep -v '^ *+' conftest.er1 >conftest.err
18368      rm -f conftest.er1
18369      cat conftest.err >&5
18370    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371    (exit $ac_status); } &&    (exit $ac_status); } &&
18372           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
18373      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374      (eval $ac_try) 2>&5
18375      ac_status=$?
18376      echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377      (exit $ac_status); }; } &&
18378             { ac_try='test -s conftest$ac_exeext'
18379    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
18381    ac_status=$?    ac_status=$?
# Line 17268  sed 's/^/| /' conftest.$ac_ext >&5 Line 18388  sed 's/^/| /' conftest.$ac_ext >&5
18388    
18389  ac_cv_lib_dld_dld_link=no  ac_cv_lib_dld_dld_link=no
18390  fi  fi
18391  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
18392          conftest$ac_exeext conftest.$ac_ext
18393  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
18394  fi  fi
18395  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
# Line 17323  else Line 18444  else
18444    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18445    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
18446    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
18447  #line 17326 "configure"  #line 18447 "configure"
18448  #include "confdefs.h"  #include "confdefs.h"
18449    
18450  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 17421  else Line 18542  else
18542    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18543    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
18544    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
18545  #line 17424 "configure"  #line 18545 "configure"
18546  #include "confdefs.h"  #include "confdefs.h"
18547    
18548  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 18465  _ACEOF Line 19586  _ACEOF
19586        # `set' does not quote correctly, so add quotes (double-quote        # `set' does not quote correctly, so add quotes (double-quote
19587        # substitution turns \\\\ into \\, and sed turns \\ into \).        # substitution turns \\\\ into \\, and sed turns \\ into \).
19588        sed -n \        sed -n \
19589          "s/'/'\\\\''/g;          "s/'/'\\\\''/g;
19590            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19591        ;;        ;;
19592      *)      *)
19593        # `set' quotes correctly as required by POSIX, so do not add quotes.        # `set' quotes correctly as required by POSIX, so do not add quotes.
19594        sed -n \        sed -n \
19595          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19596        ;;        ;;
19597      esac;      esac;
19598  } |  } |
# Line 18501  test "x$exec_prefix" = xNONE && exec_pre Line 19622  test "x$exec_prefix" = xNONE && exec_pre
19622  # trailing colons and then remove the whole line if VPATH becomes empty  # trailing colons and then remove the whole line if VPATH becomes empty
19623  # (actually we leave an empty line to preserve line numbers).  # (actually we leave an empty line to preserve line numbers).
19624  if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
19625    ac_vpsub='/^[         ]*VPATH[        ]*=/{    ac_vpsub='/^[  ]*VPATH[        ]*=/{
19626  s/:*\$(srcdir):*/:/;  s/:*\$(srcdir):*/:/;
19627  s/:*\${srcdir}:*/:/;  s/:*\${srcdir}:*/:/;
19628  s/:*@srcdir@:*/:/;  s/:*@srcdir@:*/:/;
19629  s/^\([^=]*=[    ]*\):*/\1/;  s/^\([^=]*=[     ]*\):*/\1/;
19630  s/:*$//;  s/:*$//;
19631  s/^[^=]*=[      ]*$//;  s/^[^=]*=[       ]*$//;
19632  }'  }'
19633  fi  fi
19634    
# Line 18518  ac_ltlibobjs= Line 19639  ac_ltlibobjs=
19639  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19640    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
19641    ac_i=`echo "$ac_i" |    ac_i=`echo "$ac_i" |
19642           sed 's/\$U\././;s/\.o$//;s/\.obj$//'`           sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19643    # 2. Add them.    # 2. Add them.
19644    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"    ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19645    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'    ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
# Line 18569  if test -n "${ZSH_VERSION+set}" && (emul Line 19690  if test -n "${ZSH_VERSION+set}" && (emul
19690  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
19691    set -o posix    set -o posix
19692  fi  fi
19693    DUALCASE=1; export DUALCASE # for MKS sh
19694    
19695  # Support unset when possible.  # Support unset when possible.
19696  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19697    as_unset=unset    as_unset=unset
19698  else  else
19699    as_unset=false    as_unset=false
# Line 18590  for as_var in \ Line 19712  for as_var in \
19712    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19713    LC_TELEPHONE LC_TIME    LC_TELEPHONE LC_TIME
19714  do  do
19715    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
19716      eval $as_var=C; export $as_var      eval $as_var=C; export $as_var
19717    else    else
19718      $as_unset $as_var      $as_unset $as_var
# Line 18769  rm -f conf$$ conf$$.exe conf$$.file Line 19891  rm -f conf$$ conf$$.exe conf$$.file
19891  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
19892    as_mkdir_p=:    as_mkdir_p=:
19893  else  else
19894      test -d ./-p && rmdir ./-p
19895    as_mkdir_p=false    as_mkdir_p=false
19896  fi  fi
19897    
19898  as_executable_p="test -f"  as_executable_p="test -f"
19899    
19900  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
19901  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'"
19902    
19903  # Sed expression to map a string onto a valid variable name.  # Sed expression to map a string onto a valid variable name.
19904  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19905    
19906    
19907  # IFS  # IFS
# Line 18805  _ASBOX Line 19928  _ASBOX
19928  cat >&5 <<_CSEOF  cat >&5 <<_CSEOF
19929    
19930  This file was extended by $as_me, which was  This file was extended by $as_me, which was
19931  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.58.  Invocation command line was
19932    
19933    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
19934    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 18849  Usage: $0 [OPTIONS] [FILE]... Line 19972  Usage: $0 [OPTIONS] [FILE]...
19972    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
19973        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
19974    --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
19975                     instantiate the configuration file FILE                     instantiate the configuration file FILE
19976    --header=FILE[:TEMPLATE]    --header=FILE[:TEMPLATE]
19977                     instantiate the configuration header FILE                     instantiate the configuration header FILE
19978    
19979  Configuration files:  Configuration files:
19980  $config_files  $config_files
# Line 18868  _ACEOF Line 19991  _ACEOF
19991  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
19992  ac_cs_version="\\  ac_cs_version="\\
19993  config.status  config.status
19994  configured by $0, generated by GNU Autoconf 2.57,  configured by $0, generated by GNU Autoconf 2.58,
19995    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19996    
19997  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
19998  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
19999  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
20000  srcdir=$srcdir  srcdir=$srcdir
# Line 19067  s,@ECHO_C@,$ECHO_C,;t t Line 20189  s,@ECHO_C@,$ECHO_C,;t t
20189  s,@ECHO_N@,$ECHO_N,;t t  s,@ECHO_N@,$ECHO_N,;t t
20190  s,@ECHO_T@,$ECHO_T,;t t  s,@ECHO_T@,$ECHO_T,;t t
20191  s,@LIBS@,$LIBS,;t t  s,@LIBS@,$LIBS,;t t
20192    s,@CC@,$CC,;t t
20193    s,@CFLAGS@,$CFLAGS,;t t
20194    s,@LDFLAGS@,$LDFLAGS,;t t
20195    s,@CPPFLAGS@,$CPPFLAGS,;t t
20196    s,@ac_ct_CC@,$ac_ct_CC,;t t
20197    s,@EXEEXT@,$EXEEXT,;t t
20198    s,@OBJEXT@,$OBJEXT,;t t
20199  s,@build@,$build,;t t  s,@build@,$build,;t t
20200  s,@build_cpu@,$build_cpu,;t t  s,@build_cpu@,$build_cpu,;t t
20201  s,@build_vendor@,$build_vendor,;t t  s,@build_vendor@,$build_vendor,;t t
# Line 19079  s,@target@,$target,;t t Line 20208  s,@target@,$target,;t t
20208  s,@target_cpu@,$target_cpu,;t t  s,@target_cpu@,$target_cpu,;t t
20209  s,@target_vendor@,$target_vendor,;t t  s,@target_vendor@,$target_vendor,;t t
20210  s,@target_os@,$target_os,;t t  s,@target_os@,$target_os,;t t
20211    s,@CPP@,$CPP,;t t
20212    s,@EGREP@,$EGREP,;t t
20213  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20214  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20215  s,@INSTALL_DATA@,$INSTALL_DATA,;t t  s,@INSTALL_DATA@,$INSTALL_DATA,;t t
# Line 19096  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t Line 20227  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20227  s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t  s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20228  s,@AWK@,$AWK,;t t  s,@AWK@,$AWK,;t t
20229  s,@SET_MAKE@,$SET_MAKE,;t t  s,@SET_MAKE@,$SET_MAKE,;t t
 s,@CXX@,$CXX,;t t  
 s,@CXXFLAGS@,$CXXFLAGS,;t t  
 s,@LDFLAGS@,$LDFLAGS,;t t  
 s,@CPPFLAGS@,$CPPFLAGS,;t t  
 s,@ac_ct_CXX@,$ac_ct_CXX,;t t  
 s,@EXEEXT@,$EXEEXT,;t t  
 s,@OBJEXT@,$OBJEXT,;t t  
20230  s,@DEPDIR@,$DEPDIR,;t t  s,@DEPDIR@,$DEPDIR,;t t
20231  s,@am__include@,$am__include,;t t  s,@am__include@,$am__include,;t t
20232  s,@am__quote@,$am__quote,;t t  s,@am__quote@,$am__quote,;t t
20233  s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t  s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20234  s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t  s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20235  s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t  s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 s,@CXXDEPMODE@,$CXXDEPMODE,;t t  
 s,@CC@,$CC,;t t  
 s,@CFLAGS@,$CFLAGS,;t t  
 s,@ac_ct_CC@,$ac_ct_CC,;t t  
20236  s,@CCDEPMODE@,$CCDEPMODE,;t t  s,@CCDEPMODE@,$CCDEPMODE,;t t
20237  s,@EGREP@,$EGREP,;t t  s,@CXX@,$CXX,;t t
20238    s,@CXXFLAGS@,$CXXFLAGS,;t t
20239    s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20240    s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20241  s,@LN_S@,$LN_S,;t t  s,@LN_S@,$LN_S,;t t
20242  s,@ECHO@,$ECHO,;t t  s,@ECHO@,$ECHO,;t t
20243  s,@AR@,$AR,;t t  s,@AR@,$AR,;t t
20244  s,@ac_ct_AR@,$ac_ct_AR,;t t  s,@ac_ct_AR@,$ac_ct_AR,;t t
20245  s,@RANLIB@,$RANLIB,;t t  s,@RANLIB@,$RANLIB,;t t
20246  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 s,@CPP@,$CPP,;t t  
20247  s,@CXXCPP@,$CXXCPP,;t t  s,@CXXCPP@,$CXXCPP,;t t
20248  s,@F77@,$F77,;t t  s,@F77@,$F77,;t t
20249  s,@FFLAGS@,$FFLAGS,;t t  s,@FFLAGS@,$FFLAGS,;t t
# Line 19158  _ACEOF Line 20280  _ACEOF
20280        (echo ':t        (echo ':t
20281    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20282        if test -z "$ac_sed_cmds"; then        if test -z "$ac_sed_cmds"; then
20283          ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"          ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20284        else        else
20285          ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"          ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20286        fi        fi
20287        ac_sed_frag=`expr $ac_sed_frag + 1`        ac_sed_frag=`expr $ac_sed_frag + 1`
20288        ac_beg=$ac_end        ac_beg=$ac_end
# Line 19178  for ac_file in : $CONFIG_FILES; do test Line 20300  for ac_file in : $CONFIG_FILES; do test
20300    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20301    case $ac_file in    case $ac_file in
20302    - | *:- | *:-:* ) # input from stdin    - | *:- | *:-:* ) # input from stdin
20303          cat >$tmp/stdin          cat >$tmp/stdin
20304          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20305          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20306    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20307          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20308    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
20309    esac    esac
20310    
20311    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20312    ac_dir=`(dirname "$ac_file") 2>/dev/null ||    ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20313  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20314           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
20315           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
20316           X"$ac_file" : 'X\(/\)' \| \           X"$ac_file" : 'X\(/\)' \| \
20317           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20318  echo X"$ac_file" |  echo X"$ac_file" |
20319      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20320            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 19208  echo X"$ac_file" | Line 20330  echo X"$ac_file" |
20330        as_dirs="$as_dir $as_dirs"        as_dirs="$as_dir $as_dirs"
20331        as_dir=`(dirname "$as_dir") 2>/dev/null ||        as_dir=`(dirname "$as_dir") 2>/dev/null ||
20332  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20333           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
20334           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
20335           X"$as_dir" : 'X\(/\)' \| \           X"$as_dir" : 'X\(/\)' \| \
20336           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20337  echo X"$as_dir" |  echo X"$as_dir" |
20338      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20339            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 19249  case $srcdir in Line 20371  case $srcdir in
20371      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20372      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
20373  esac  esac
20374  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
20375  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
20376  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
20377  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
20378  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
20379  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
20380      case "$ac_dir" in
20381      .) ac_abs_builddir=`pwd`;;
20382      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20383      *) ac_abs_builddir=`pwd`/"$ac_dir";;
20384      esac;;
20385    esac
20386    case $ac_abs_builddir in
20387    .) ac_abs_top_builddir=${ac_top_builddir}.;;
20388    *)
20389      case ${ac_top_builddir}. in
20390      .) ac_abs_top_builddir=$ac_abs_builddir;;
20391      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20392      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20393      esac;;
20394    esac
20395    case $ac_abs_builddir in
20396    .) ac_abs_srcdir=$ac_srcdir;;
20397    *)
20398      case $ac_srcdir in
20399      .) ac_abs_srcdir=$ac_abs_builddir;;
20400      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20401      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20402      esac;;
20403    esac
20404    case $ac_abs_builddir in
20405    .) ac_abs_top_srcdir=$ac_top_srcdir;;
20406    *)
20407      case $ac_top_srcdir in
20408      .) ac_abs_top_srcdir=$ac_abs_builddir;;
20409      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20410      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20411      esac;;
20412    esac
20413    
20414    
20415    case $INSTALL in    case $INSTALL in
# Line 19262  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 20417  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
20417    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20418    esac    esac
20419    
   if test x"$ac_file" != x-; then  
     { echo "$as_me:$LINENO: creating $ac_file" >&5  
 echo "$as_me: creating $ac_file" >&6;}  
     rm -f "$ac_file"  
   fi  
20420    # Let's still pretend it is `configure' which instantiates (i.e., don't    # Let's still pretend it is `configure' which instantiates (i.e., don't
20421    # use $as_me), people would be surprised to read:    # use $as_me), people would be surprised to read:
20422    #    /* config.h.  Generated by config.status.  */    #    /* config.h.  Generated by config.status.  */
# Line 19276  echo "$as_me: creating $ac_file" >&6;} Line 20426  echo "$as_me: creating $ac_file" >&6;}
20426      configure_input="$ac_file.  "      configure_input="$ac_file.  "
20427    fi    fi
20428    configure_input=$configure_input"Generated from `echo $ac_file_in |    configure_input=$configure_input"Generated from `echo $ac_file_in |
20429                                       sed 's,.*/,,'` by configure."                                       sed 's,.*/,,'` by configure."
20430    
20431    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
20432    # src tree.    # src tree.
# Line 19285  echo "$as_me: creating $ac_file" >&6;} Line 20435  echo "$as_me: creating $ac_file" >&6;}
20435        case $f in        case $f in
20436        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
20437        [\\/$]*)        [\\/$]*)
20438           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
20439           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20440  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
20441     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
20442           echo $f;;           echo "$f";;
20443        *) # Relative        *) # Relative
20444           if test -f "$f"; then           if test -f "$f"; then
20445             # Build tree             # Build tree
20446             echo $f             echo "$f"
20447           elif test -f "$srcdir/$f"; then           elif test -f "$srcdir/$f"; then
20448             # Source tree             # Source tree
20449             echo $srcdir/$f             echo "$srcdir/$f"
20450           else           else
20451             # /dev/null tree             # /dev/null tree
20452             { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5             { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20453  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
20454     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
20455           fi;;           fi;;
20456        esac        esac
20457      done` || { (exit 1); exit 1; }      done` || { (exit 1); exit 1; }
20458    
20459      if test x"$ac_file" != x-; then
20460        { echo "$as_me:$LINENO: creating $ac_file" >&5
20461    echo "$as_me: creating $ac_file" >&6;}
20462        rm -f "$ac_file"
20463      fi
20464  _ACEOF  _ACEOF
20465  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
20466    sed "$ac_vpsub    sed "$ac_vpsub
# Line 19344  cat >>$CONFIG_STATUS <<\_ACEOF Line 20500  cat >>$CONFIG_STATUS <<\_ACEOF
20500  # NAME is the cpp macro being defined and VALUE is the value it is being given.  # NAME is the cpp macro being defined and VALUE is the value it is being given.
20501  #  #
20502  # ac_d sets the value in "#define NAME VALUE" lines.  # ac_d sets the value in "#define NAME VALUE" lines.
20503  ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'  ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
20504  ac_dB='[        ].*$,\1#\2'  ac_dB='[         ].*$,\1#\2'
20505  ac_dC=' '  ac_dC=' '
20506  ac_dD=',;t'  ac_dD=',;t'
20507  # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".  # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20508  ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'  ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
20509  ac_uB='$,\1#\2define\3'  ac_uB='$,\1#\2define\3'
20510  ac_uC=' '  ac_uC=' '
20511  ac_uD=',;t'  ac_uD=',;t'
# Line 19358  for ac_file in : $CONFIG_HEADERS; do tes Line 20514  for ac_file in : $CONFIG_HEADERS; do tes
20514    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20515    case $ac_file in    case $ac_file in
20516    - | *:- | *:-:* ) # input from stdin    - | *:- | *:-:* ) # input from stdin
20517          cat >$tmp/stdin          cat >$tmp/stdin
20518          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20519          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20520    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20521          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;          ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20522    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
20523    esac    esac
20524    
# Line 19376  echo "$as_me: creating $ac_file" >&6;} Line 20532  echo "$as_me: creating $ac_file" >&6;}
20532        case $f in        case $f in
20533        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
20534        [\\/$]*)        [\\/$]*)
20535           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
20536           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20537  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
20538     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
20539           echo $f;;           # Do quote $f, to prevent DOS paths from being IFS'd.
20540             echo "$f";;
20541        *) # Relative        *) # Relative
20542           if test -f "$f"; then           if test -f "$f"; then
20543             # Build tree             # Build tree
20544             echo $f             echo "$f"
20545           elif test -f "$srcdir/$f"; then           elif test -f "$srcdir/$f"; then
20546             # Source tree             # Source tree
20547             echo $srcdir/$f             echo "$srcdir/$f"
20548           else           else
20549             # /dev/null tree             # /dev/null tree
20550             { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5             { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20551  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
20552     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
20553           fi;;           fi;;
20554        esac        esac
20555      done` || { (exit 1); exit 1; }      done` || { (exit 1); exit 1; }
20556    # Remove the trailing spaces.    # Remove the trailing spaces.
20557    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in    sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
20558    
20559  _ACEOF  _ACEOF
20560    
# Line 19420  s/[\\&,]/\\&/g Line 20577  s/[\\&,]/\\&/g
20577  s,[\\$`],\\&,g  s,[\\$`],\\&,g
20578  t clear  t clear
20579  : clear  : clear
20580  s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp  s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20581  t end  t end
20582  s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp  s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20583  : end  : end
20584  _ACEOF  _ACEOF
20585  # If some macros were called several times there might be several times  # If some macros were called several times there might be several times
# Line 19436  rm -f confdef2sed.sed Line 20593  rm -f confdef2sed.sed
20593  # example, in the case of _POSIX_SOURCE, which is predefined and required  # example, in the case of _POSIX_SOURCE, which is predefined and required
20594  # on some systems where configure will not decide to define it.  # on some systems where configure will not decide to define it.
20595  cat >>conftest.undefs <<\_ACEOF  cat >>conftest.undefs <<\_ACEOF
20596  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,  s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20597  _ACEOF  _ACEOF
20598    
20599  # Break up conftest.defines because some shells have a limit on the size  # Break up conftest.defines because some shells have a limit on the size
20600  # of here documents, and old seds have small limits too (100 cmds).  # of here documents, and old seds have small limits too (100 cmds).
20601  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20602  echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS  echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20603  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20604  echo '  :' >>$CONFIG_STATUS  echo '  :' >>$CONFIG_STATUS
20605  rm -f conftest.tail  rm -f conftest.tail
# Line 19451  do Line 20608  do
20608    # Write a limited-size here document to $tmp/defines.sed.    # Write a limited-size here document to $tmp/defines.sed.
20609    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20610    # Speed up: don't consider the non `#define' lines.    # Speed up: don't consider the non `#define' lines.
20611    echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS    echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
20612    # Work around the forget-to-reset-the-flag bug.    # Work around the forget-to-reset-the-flag bug.
20613    echo 't clr' >>$CONFIG_STATUS    echo 't clr' >>$CONFIG_STATUS
20614    echo ': clr' >>$CONFIG_STATUS    echo ': clr' >>$CONFIG_STATUS
# Line 19478  do Line 20635  do
20635    # Write a limited-size here document to $tmp/undefs.sed.    # Write a limited-size here document to $tmp/undefs.sed.
20636    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20637    # Speed up: don't consider the non `#undef'    # Speed up: don't consider the non `#undef'
20638    echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS    echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
20639    # Work around the forget-to-reset-the-flag bug.    # Work around the forget-to-reset-the-flag bug.
20640    echo 't clr' >>$CONFIG_STATUS    echo 't clr' >>$CONFIG_STATUS
20641    echo ': clr' >>$CONFIG_STATUS    echo ': clr' >>$CONFIG_STATUS
# Line 19512  echo "$as_me: $ac_file is unchanged" >&6 Line 20669  echo "$as_me: $ac_file is unchanged" >&6
20669      else      else
20670        ac_dir=`(dirname "$ac_file") 2>/dev/null ||        ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20671  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20672           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
20673           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
20674           X"$ac_file" : 'X\(/\)' \| \           X"$ac_file" : 'X\(/\)' \| \
20675           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20676  echo X"$ac_file" |  echo X"$ac_file" |
20677      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20678            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 19531  echo X"$ac_file" | Line 20688  echo X"$ac_file" |
20688        as_dirs="$as_dir $as_dirs"        as_dirs="$as_dir $as_dirs"
20689        as_dir=`(dirname "$as_dir") 2>/dev/null ||        as_dir=`(dirname "$as_dir") 2>/dev/null ||
20690  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20691           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
20692           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
20693           X"$as_dir" : 'X\(/\)' \| \           X"$as_dir" : 'X\(/\)' \| \
20694           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20695  echo X"$as_dir" |  echo X"$as_dir" |
20696      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20697            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 19572  for ac_file in : $CONFIG_COMMANDS; do te Line 20729  for ac_file in : $CONFIG_COMMANDS; do te
20729    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20730    ac_dir=`(dirname "$ac_dest") 2>/dev/null ||    ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20731  $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20732           X"$ac_dest" : 'X\(//\)[^/]' \| \           X"$ac_dest" : 'X\(//\)[^/]' \| \
20733           X"$ac_dest" : 'X\(//\)$' \| \           X"$ac_dest" : 'X\(//\)$' \| \
20734           X"$ac_dest" : 'X\(/\)' \| \           X"$ac_dest" : 'X\(/\)' \| \
20735           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20736  echo X"$ac_dest" |  echo X"$ac_dest" |
20737      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20738            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20739            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
20740            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
20741            s/.*/./; q'`            s/.*/./; q'`
20742      { if $as_mkdir_p; then
20743        mkdir -p "$ac_dir"
20744      else
20745        as_dir="$ac_dir"
20746        as_dirs=
20747        while test ! -d "$as_dir"; do
20748          as_dirs="$as_dir $as_dirs"
20749          as_dir=`(dirname "$as_dir") 2>/dev/null ||
20750    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20751             X"$as_dir" : 'X\(//\)[^/]' \| \
20752             X"$as_dir" : 'X\(//\)$' \| \
20753             X"$as_dir" : 'X\(/\)' \| \
20754             .     : '\(.\)' 2>/dev/null ||
20755    echo X"$as_dir" |
20756        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20757              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20758              /^X\(\/\/\)$/{ s//\1/; q; }
20759              /^X\(\/\).*/{ s//\1/; q; }
20760              s/.*/./; q'`
20761        done
20762        test ! -n "$as_dirs" || mkdir $as_dirs
20763      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20764    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20765       { (exit 1); exit 1; }; }; }
20766    
20767    ac_builddir=.    ac_builddir=.
20768    
20769  if test "$ac_dir" != .; then  if test "$ac_dir" != .; then
# Line 19607  case $srcdir in Line 20789  case $srcdir in
20789      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20790      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
20791  esac  esac
20792  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
20793  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
20794  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
20795  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
20796  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
20797  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
20798      case "$ac_dir" in
20799      .) ac_abs_builddir=`pwd`;;
20800      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20801      *) ac_abs_builddir=`pwd`/"$ac_dir";;
20802      esac;;
20803    esac
20804    case $ac_abs_builddir in
20805    .) ac_abs_top_builddir=${ac_top_builddir}.;;
20806    *)
20807      case ${ac_top_builddir}. in
20808      .) ac_abs_top_builddir=$ac_abs_builddir;;
20809      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20810      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20811      esac;;
20812    esac
20813    case $ac_abs_builddir in
20814    .) ac_abs_srcdir=$ac_srcdir;;
20815    *)
20816      case $ac_srcdir in
20817      .) ac_abs_srcdir=$ac_abs_builddir;;
20818      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20819      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20820      esac;;
20821    esac
20822    case $ac_abs_builddir in
20823    .) ac_abs_top_srcdir=$ac_top_srcdir;;
20824    *)
20825      case $ac_top_srcdir in
20826      .) ac_abs_top_srcdir=$ac_abs_builddir;;
20827      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20828      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20829      esac;;
20830    esac
20831    
20832    
20833    { echo "$as_me:$LINENO: executing $ac_dest commands" >&5    { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
# Line 19630  echo "$as_me: executing $ac_dest command Line 20845  echo "$as_me: executing $ac_dest command
20845    if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then    if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20846      dirpart=`(dirname "$mf") 2>/dev/null ||      dirpart=`(dirname "$mf") 2>/dev/null ||
20847  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20848           X"$mf" : 'X\(//\)[^/]' \| \           X"$mf" : 'X\(//\)[^/]' \| \
20849           X"$mf" : 'X\(//\)$' \| \           X"$mf" : 'X\(//\)$' \| \
20850           X"$mf" : 'X\(/\)' \| \           X"$mf" : 'X\(/\)' \| \
20851           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20852  echo X"$mf" |  echo X"$mf" |
20853      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20854            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 19669  echo X"$mf" | Line 20884  echo X"$mf" |
20884      test -f "$dirpart/$file" && continue      test -f "$dirpart/$file" && continue
20885      fdir=`(dirname "$file") 2>/dev/null ||      fdir=`(dirname "$file") 2>/dev/null ||
20886  $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20887           X"$file" : 'X\(//\)[^/]' \| \           X"$file" : 'X\(//\)[^/]' \| \
20888           X"$file" : 'X\(//\)$' \| \           X"$file" : 'X\(//\)$' \| \
20889           X"$file" : 'X\(/\)' \| \           X"$file" : 'X\(/\)' \| \
20890           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20891  echo X"$file" |  echo X"$file" |
20892      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20893            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 19688  echo X"$file" | Line 20903  echo X"$file" |
20903        as_dirs="$as_dir $as_dirs"        as_dirs="$as_dir $as_dirs"
20904        as_dir=`(dirname "$as_dir") 2>/dev/null ||        as_dir=`(dirname "$as_dir") 2>/dev/null ||
20905  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20906           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
20907           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
20908           X"$as_dir" : 'X\(/\)' \| \           X"$as_dir" : 'X\(/\)' \| \
20909           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
20910  echo X"$as_dir" |  echo X"$as_dir" |
20911      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20912            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }

Legend:
Removed from v.9  
changed lines
  Added in v.29

  ViewVC Help
Powered by ViewVC