Develop and Download Open Source Software

Browse CVS Repository

Diff of /satellite/satellite4/configure

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

revision 1.12 by orrisroot, Fri Jul 1 05:54:12 2005 UTC revision 1.13 by orrisroot, Mon Oct 24 15:03:11 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # From configure.in Id: configure.in.  # From configure.in Id: configure.in.
3  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
4  # Generated by GNU Autoconf 2.57 for satellite 4.2.2.  # Generated by GNU Autoconf 2.59 for satellite 4.2.2.
5  #  #
6  # Report bugs to <okumura@brain.riken.go.jp>.  # Report bugs to <okumura@brain.riken.go.jp>.
7  #  #
8  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Copyright (C) 2003 Free Software Foundation, Inc.
 # Free Software Foundation, Inc.  
9  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
10  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
11  ## --------------------- ##  ## --------------------- ##
# Line 23  if test -n "${ZSH_VERSION+set}" && (emul Line 22  if test -n "${ZSH_VERSION+set}" && (emul
22  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
23    set -o posix    set -o posix
24  fi  fi
25    DUALCASE=1; export DUALCASE # for MKS sh
26    
27  # Support unset when possible.  # Support unset when possible.
28  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29    as_unset=unset    as_unset=unset
30  else  else
31    as_unset=false    as_unset=false
# Line 44  for as_var in \ Line 44  for as_var in \
44    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45    LC_TELEPHONE LC_TIME    LC_TELEPHONE LC_TIME
46  do  do
47    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
48      eval $as_var=C; export $as_var      eval $as_var=C; export $as_var
49    else    else
50      $as_unset $as_var      $as_unset $as_var
# Line 221  rm -f conf$$ conf$$.exe conf$$.file Line 221  rm -f conf$$ conf$$.exe conf$$.file
221  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
222    as_mkdir_p=:    as_mkdir_p=:
223  else  else
224      test -d ./-p && rmdir ./-p
225    as_mkdir_p=false    as_mkdir_p=false
226  fi  fi
227    
228  as_executable_p="test -f"  as_executable_p="test -f"
229    
230  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
231  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'"
232    
233  # Sed expression to map a string onto a valid variable name.  # Sed expression to map a string onto a valid variable name.
234  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235    
236    
237  # IFS  # IFS
# Line 280  fi Line 281  fi
281    
282  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
283  # if CDPATH is set.  # if CDPATH is set.
284  if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
285    
286  if test -z "$ECHO"; then  if test -z "$ECHO"; then
287  if test "X${echo_test_string+set}" != Xset; then  if test "X${echo_test_string+set}" != Xset; then
288  # find a string as large as possible, as long as the shell can cope with it  # find a string as large as possible, as long as the shell can cope with it
289    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291      if (echo_test_string="`eval $cmd`") 2>/dev/null &&      if (echo_test_string=`eval $cmd`) 2>/dev/null &&
292         echo_test_string="`eval $cmd`" &&         echo_test_string=`eval $cmd` &&
293         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
294      then      then
295        break        break
# Line 393  fi Line 394  fi
394    
395    
396    
397  tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`  tagnames=${tagnames+${tagnames},}CXX
398    
399  tagnames=`echo "$tagnames,F77" | sed 's/^,//'`  tagnames=${tagnames+${tagnames},}F77
400    
401  # Name of the host.  # Name of the host.
402  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 466  ac_includes_default="\ Line 467  ac_includes_default="\
467  # include <unistd.h>  # include <unistd.h>
468  #endif"  #endif"
469    
470  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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir MODULE_LDFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB YACC EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT SHLIBPATH_VAR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PTHREAD_CFLAGS PTHREAD_LIBS TERMCAP_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XTOOLKIT_CFLAGS XTOOLKIT_LIBS LIBOBJS POW_LIB 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 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB YACC EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT SHLIBPATH_VAR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PTHREAD_CFLAGS PTHREAD_LIBS TERMCAP_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XTOOLKIT_CFLAGS XTOOLKIT_LIBS LIBOBJS POW_LIB LTLIBOBJS'
471  ac_subst_files=''  ac_subst_files=''
472    
473  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 825  done Line 826  done
826    
827  # Be sure to have absolute paths.  # Be sure to have absolute paths.
828  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829                localstatedir libdir includedir oldincludedir infodir mandir                localstatedir libdir includedir oldincludedir infodir mandir
830  do  do
831    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
832    case $ac_val in    case $ac_val in
# Line 865  if test -z "$srcdir"; then Line 866  if test -z "$srcdir"; then
866    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
867    ac_confdir=`(dirname "$0") 2>/dev/null ||    ac_confdir=`(dirname "$0") 2>/dev/null ||
868  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869           X"$0" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
870           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
871           X"$0" : 'X\(/\)' \| \           X"$0" : 'X\(/\)' \| \
872           .     : '\(.\)' 2>/dev/null ||           .     : '\(.\)' 2>/dev/null ||
873  echo X"$0" |  echo X"$0" |
874      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875            /^X\(\/\/\)[^/].*/{ s//\1/; q; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 980  _ACEOF Line 981  _ACEOF
981    cat <<_ACEOF    cat <<_ACEOF
982  Installation directories:  Installation directories:
983    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
984                            [$ac_default_prefix]                            [$ac_default_prefix]
985    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
986                            [PREFIX]                            [PREFIX]
987    
988  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
989  \`$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 1035  Optional Features: Line 1036  Optional Features:
1036    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1037    --enable-static[=PKGS]    --enable-static[=PKGS]
1038                            build static libraries [default=no]                            build static libraries [default=no]
1039    --disable-dependency-tracking Speeds up one-time builds    --disable-dependency-tracking  speeds up one-time build
1040    --enable-dependency-tracking  Do not reject slow dependency extractors    --enable-dependency-tracking   do not reject slow dependency extractors
1041    --enable-shared[=PKGS]    --enable-shared[=PKGS]
1042                            build shared libraries [default=yes]                            build shared libraries [default=yes]
1043    --enable-fast-install[=PKGS]    --enable-fast-install[=PKGS]
1044                            optimize for fast installation [default=yes]                            optimize for fast installation [default=yes]
1045    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1046    --enable-maintainer-mode enable make rules and dependencies not useful    --enable-maintainer-mode  enable make rules and dependencies not useful
1047                            (and sometimes confusing) to the casual installer                            (and sometimes confusing) to the casual installer
1048    
1049  Optional Packages:  Optional Packages:
1050    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 1107  case $srcdir in Line 1108  case $srcdir in
1108      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110  esac  esac
1111  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
1112  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
1113  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
1114  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
1115  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
1116  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
1117      case "$ac_dir" in
1118      .) ac_abs_builddir=`pwd`;;
1119      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1120      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1121      esac;;
1122    esac
1123    case $ac_abs_builddir in
1124    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1125    *)
1126      case ${ac_top_builddir}. in
1127      .) ac_abs_top_builddir=$ac_abs_builddir;;
1128      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1129      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1130      esac;;
1131    esac
1132    case $ac_abs_builddir in
1133    .) ac_abs_srcdir=$ac_srcdir;;
1134    *)
1135      case $ac_srcdir in
1136      .) ac_abs_srcdir=$ac_abs_builddir;;
1137      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1138      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1139      esac;;
1140    esac
1141    case $ac_abs_builddir in
1142    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1143    *)
1144      case $ac_top_srcdir in
1145      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1146      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1147      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1148      esac;;
1149    esac
1150    
1151      cd $ac_dir      cd $ac_dir
1152      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 1123  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 1157  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
1157        echo        echo
1158        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1159      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1160             test -f $ac_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1161        echo        echo
1162        $ac_configure --help        $ac_configure --help
1163      else      else
# Line 1137  test -n "$ac_init_help" && exit 0 Line 1171  test -n "$ac_init_help" && exit 0
1171  if $ac_init_version; then  if $ac_init_version; then
1172    cat <<\_ACEOF    cat <<\_ACEOF
1173  satellite configure 4.2.2  satellite configure 4.2.2
1174  generated by GNU Autoconf 2.57  generated by GNU Autoconf 2.59
1175    
1176  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1177  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1178  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1179  _ACEOF  _ACEOF
# Line 1152  This file contains any messages produced Line 1185  This file contains any messages produced
1185  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1186    
1187  It was created by satellite $as_me 4.2.2, which was  It was created by satellite $as_me 4.2.2, which was
1188  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1189    
1190    $ $0 $@    $ $0 $@
1191    
# Line 1229  do Line 1262  do
1262      2)      2)
1263        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1264        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1265          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1266        else        else
1267          case $ac_arg in          case $ac_arg in
1268            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1269            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1270            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1271            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1272              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1273                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1274              esac              esac
1275              ;;              ;;
1276            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1277          esac          esac
1278        fi        fi
1279        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1280        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1275  _ASBOX Line 1308  _ASBOX
1308      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1309      *ac_space=\ *)      *ac_space=\ *)
1310        sed -n \        sed -n \
1311          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1312            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1313        ;;        ;;
1314      *)      *)
1315        sed -n \        sed -n \
1316          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1317        ;;        ;;
1318      esac;      esac;
1319  }  }
# Line 1309  _ASBOX Line 1342  _ASBOX
1342        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1343        do        do
1344          eval ac_val=$`echo $ac_var`          eval ac_val=$`echo $ac_var`
1345          echo "$ac_var='"'"'$ac_val'"'"'"          echo "$ac_var='"'"'$ac_val'"'"'"
1346        done | sort        done | sort
1347        echo        echo
1348      fi      fi
# Line 1328  _ASBOX Line 1361  _ASBOX
1361        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1362      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1363    } >&5    } >&5
1364    rm -f core core.* *.core &&    rm -f core *.core &&
1365    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1366      exit $exit_status      exit $exit_status
1367       ' 0       ' 0
# Line 1408  fi Line 1441  fi
1441  # value.  # value.
1442  ac_cache_corrupted=false  ac_cache_corrupted=false
1443  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1444                 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
1445    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1446    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1447    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1425  echo "$as_me: error: \`$ac_var' was not Line 1458  echo "$as_me: error: \`$ac_var' was not
1458      ,);;      ,);;
1459      *)      *)
1460        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1461          { 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
1462  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;}
1463          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1464  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1465          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1466  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1467          ac_cache_corrupted=:          ac_cache_corrupted=:
1468        fi;;        fi;;
1469    esac    esac
1470    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1599  test -n "$target_alias" && Line 1632  test -n "$target_alias" &&
1632    test "$program_prefix$program_suffix$program_transform_name" = \    test "$program_prefix$program_suffix$program_transform_name" = \
1633      NONENONEs,x,x, &&      NONENONEs,x,x, &&
1634    program_prefix=${target_alias}-    program_prefix=${target_alias}-
1635  am__api_version="1.7"  am__api_version="1.9"
1636  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
1637  # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
1638  # incompatible versions:  # incompatible versions:
# Line 1611  am__api_version="1.7" Line 1644  am__api_version="1.7"
1644  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1645  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1646  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1647    # OS/2's system install, which has a completely different semantic
1648  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1649  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1650  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 1627  do Line 1661  do
1661  case $as_dir/ in  case $as_dir/ in
1662    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
1663    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1664      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1665    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
1666    *)    *)
1667      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 1634  case $as_dir/ in Line 1669  case $as_dir/ in
1669      # by default.      # by default.
1670      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
1671        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
1672          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1673            if test $ac_prog = install &&            if test $ac_prog = install &&
1674              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1675              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
1676              :              :
1677            elif test $ac_prog = install &&            elif test $ac_prog = install &&
1678              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1679              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
1680              :              :
1681            else            else
1682              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1683              break 3              break 3
1684            fi            fi
1685          fi          fi
1686        done        done
1687      done      done
1688      ;;      ;;
# Line 1735  _ACEOF Line 1770  _ACEOF
1770  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1771  rm conftest.sed  rm conftest.sed
1772    
   
1773  # expand $ac_aux_dir to an absolute path  # expand $ac_aux_dir to an absolute path
1774  am_aux_dir=`cd $ac_aux_dir && pwd`  am_aux_dir=`cd $ac_aux_dir && pwd`
1775    
# Line 1749  else Line 1783  else
1783  echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}  echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1784  fi  fi
1785    
1786    if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1787      # We used to keeping the `.' as first argument, in order to
1788      # allow $(mkdir_p) to be used without argument.  As in
1789      #   $(mkdir_p) $(somedir)
1790      # where $(somedir) is conditionally defined.  However this is wrong
1791      # for two reasons:
1792      #  1. if the package is installed by a user who cannot write `.'
1793      #     make install will fail,
1794      #  2. the above comment should most certainly read
1795      #     $(mkdir_p) $(DESTDIR)$(somedir)
1796      #     so it does not work when $(somedir) is undefined and
1797      #     $(DESTDIR) is not.
1798      #  To support the latter case, we have to write
1799      #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1800      #  so the `.' trick is pointless.
1801      mkdir_p='mkdir -p --'
1802    else
1803      # On NextStep and OpenStep, the `mkdir' command does not
1804      # recognize any option.  It will interpret all options as
1805      # directories to create, and then abort because `.' already
1806      # exists.
1807      for d in ./-p ./--version;
1808      do
1809        test -d $d && rmdir $d
1810      done
1811      # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1812      if test -f "$ac_aux_dir/mkinstalldirs"; then
1813        mkdir_p='$(mkinstalldirs)'
1814      else
1815        mkdir_p='$(install_sh) -d'
1816      fi
1817    fi
1818    
1819  for ac_prog in gawk mawk nawk awk  for ac_prog in gawk mawk nawk awk
1820  do  do
1821    # 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.
# Line 1791  done Line 1858  done
1858    
1859  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1860  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1861  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1862  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1863    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1864  else  else
# Line 1827  else Line 1894  else
1894  fi  fi
1895  rmdir .tst 2>/dev/null  rmdir .tst 2>/dev/null
1896    
1897   # test to see if srcdir already configured  # test to see if srcdir already configured
1898  if test "`cd $srcdir && pwd`" != "`pwd`" &&  if test "`cd $srcdir && pwd`" != "`pwd`" &&
1899     test -f $srcdir/config.status; then     test -f $srcdir/config.status; then
1900    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
# Line 1875  AUTOHEADER=${AUTOHEADER-"${am_missing_ru Line 1942  AUTOHEADER=${AUTOHEADER-"${am_missing_ru
1942    
1943  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1944    
   
 AMTAR=${AMTAR-"${am_missing_run}tar"}  
   
1945  install_sh=${install_sh-"$am_aux_dir/install-sh"}  install_sh=${install_sh-"$am_aux_dir/install-sh"}
1946    
1947  # Installed binaries are usually stripped using `strip' when the user  # Installed binaries are usually stripped using `strip' when the user
# Line 1970  INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst Line 2034  INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst
2034    
2035  # We need awk for the "check" target.  The system "awk" is bad on  # We need awk for the "check" target.  The system "awk" is bad on
2036  # some platforms.  # some platforms.
2037    # Always define AMTAR for backward compatibility.
2038    
2039    AMTAR=${AMTAR-"${am_missing_run}tar"}
2040    
2041    am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2042    
2043    
2044    
2045    
2046    
# Line 2005  systemrcdir=$sysconfdir/satellite4 Line 2076  systemrcdir=$sysconfdir/satellite4
2076  modulercdir=$sysconfdir/satellite4  modulercdir=$sysconfdir/satellite4
2077    
2078    
 MODULE_LDFLAGS='-no-undefined -module -avoid-version'  
   
   
2079  # Checks for programs.  # Checks for programs.
2080  # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
2081  if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
# Line 2148  ac_compiler=`set X $ac_compile; echo $2` Line 2216  ac_compiler=`set X $ac_compile; echo $2`
2216    (exit $ac_status); }    (exit $ac_status); }
2217    
2218  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2219  /* confdefs.h.  */  /* confdefs.h.  */
2220  _ACEOF  _ACEOF
2221  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2168  ac_clean_files="$ac_clean_files a.out a. Line 2235  ac_clean_files="$ac_clean_files a.out a.
2235  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2236  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2237  # of exeext.  # of exeext.
2238  echo "$as_me:$LINENO: checking for C++ compiler default output" >&5  echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2239  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
2240  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2241  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2242    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 2189  do Line 2256  do
2256    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2257    case $ac_file in    case $ac_file in
2258      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2259          ;;          ;;
2260      conftest.$ac_ext )      conftest.$ac_ext )
2261          # This is the source file.          # This is the source file.
2262          ;;          ;;
2263      [ab].out )      [ab].out )
2264          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
2265          # certainly right.          # certainly right.
2266          break;;          break;;
2267      *.* )      *.* )
2268          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2269          # FIXME: I believe we export ac_cv_exeext for Libtool,          # FIXME: I believe we export ac_cv_exeext for Libtool,
2270          # 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
2271          # maintain Libtool? --akim.          # maintain Libtool? --akim.
2272          export ac_cv_exeext          export ac_cv_exeext
2273          break;;          break;;
2274      * )      * )
2275          break;;          break;;
2276    esac    esac
2277  done  done
2278  else  else
# Line 2279  for ac_file in conftest.exe conftest con Line 2346  for ac_file in conftest.exe conftest con
2346    case $ac_file in    case $ac_file in
2347      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2348      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2349            export ac_cv_exeext            export ac_cv_exeext
2350            break;;            break;;
2351      * ) break;;      * ) break;;
2352    esac    esac
2353  done  done
# Line 2305  if test "${ac_cv_objext+set}" = set; the Line 2372  if test "${ac_cv_objext+set}" = set; the
2372    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2373  else  else
2374    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2375  /* confdefs.h.  */  /* confdefs.h.  */
2376  _ACEOF  _ACEOF
2377  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2356  if test "${ac_cv_cxx_compiler_gnu+set}" Line 2422  if test "${ac_cv_cxx_compiler_gnu+set}"
2422    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2423  else  else
2424    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2425  /* confdefs.h.  */  /* confdefs.h.  */
2426  _ACEOF  _ACEOF
2427  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2376  main () Line 2441  main ()
2441  _ACEOF  _ACEOF
2442  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2443  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2445    ac_status=$?    ac_status=$?
2446      grep -v '^ *+' conftest.er1 >conftest.err
2447      rm -f conftest.er1
2448      cat conftest.err >&5
2449    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450    (exit $ac_status); } &&    (exit $ac_status); } &&
2451           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
2452                             || test ! -s conftest.err'
2453      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454      (eval $ac_try) 2>&5
2455      ac_status=$?
2456      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457      (exit $ac_status); }; } &&
2458             { ac_try='test -s conftest.$ac_objext'
2459    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2461    ac_status=$?    ac_status=$?
# Line 2393  sed 's/^/| /' conftest.$ac_ext >&5 Line 2468  sed 's/^/| /' conftest.$ac_ext >&5
2468    
2469  ac_compiler_gnu=no  ac_compiler_gnu=no
2470  fi  fi
2471  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2472  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2473    
2474  fi  fi
# Line 2409  if test "${ac_cv_prog_cxx_g+set}" = set; Line 2484  if test "${ac_cv_prog_cxx_g+set}" = set;
2484    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2485  else  else
2486    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2487  /* confdefs.h.  */  /* confdefs.h.  */
2488  _ACEOF  _ACEOF
2489  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2426  main () Line 2500  main ()
2500  _ACEOF  _ACEOF
2501  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2502  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2503    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2504    ac_status=$?    ac_status=$?
2505      grep -v '^ *+' conftest.er1 >conftest.err
2506      rm -f conftest.er1
2507      cat conftest.err >&5
2508    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509    (exit $ac_status); } &&    (exit $ac_status); } &&
2510           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
2511                             || test ! -s conftest.err'
2512      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513      (eval $ac_try) 2>&5
2514      ac_status=$?
2515      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516      (exit $ac_status); }; } &&
2517             { ac_try='test -s conftest.$ac_objext'
2518    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2520    ac_status=$?    ac_status=$?
# Line 2443  sed 's/^/| /' conftest.$ac_ext >&5 Line 2527  sed 's/^/| /' conftest.$ac_ext >&5
2527    
2528  ac_cv_prog_cxx_g=no  ac_cv_prog_cxx_g=no
2529  fi  fi
2530  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2531  fi  fi
2532  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2533  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 2463  else Line 2547  else
2547    fi    fi
2548  fi  fi
2549  for ac_declaration in \  for ac_declaration in \
2550     ''\     '' \
    '#include <stdlib.h>' \  
2551     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2552     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2553     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2472  for ac_declaration in \ Line 2555  for ac_declaration in \
2555     'void exit (int);'     'void exit (int);'
2556  do  do
2557    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2558  /* confdefs.h.  */  /* confdefs.h.  */
2559  _ACEOF  _ACEOF
2560  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2561  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2562  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2563  $ac_declaration  $ac_declaration
2564    #include <stdlib.h>
2565  int  int
2566  main ()  main ()
2567  {  {
# Line 2490  exit (42); Line 2572  exit (42);
2572  _ACEOF  _ACEOF
2573  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2574  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2576    ac_status=$?    ac_status=$?
2577      grep -v '^ *+' conftest.er1 >conftest.err
2578      rm -f conftest.er1
2579      cat conftest.err >&5
2580    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581    (exit $ac_status); } &&    (exit $ac_status); } &&
2582           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
2583                             || test ! -s conftest.err'
2584      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585      (eval $ac_try) 2>&5
2586      ac_status=$?
2587      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588      (exit $ac_status); }; } &&
2589             { ac_try='test -s conftest.$ac_objext'
2590    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2592    ac_status=$?    ac_status=$?
# Line 2507  sed 's/^/| /' conftest.$ac_ext >&5 Line 2599  sed 's/^/| /' conftest.$ac_ext >&5
2599    
2600  continue  continue
2601  fi  fi
2602  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2603    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2604  /* confdefs.h.  */  /* confdefs.h.  */
2605  _ACEOF  _ACEOF
2606  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2526  exit (42); Line 2617  exit (42);
2617  _ACEOF  _ACEOF
2618  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2619  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2621    ac_status=$?    ac_status=$?
2622      grep -v '^ *+' conftest.er1 >conftest.err
2623      rm -f conftest.er1
2624      cat conftest.err >&5
2625    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626    (exit $ac_status); } &&    (exit $ac_status); } &&
2627           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
2628                             || test ! -s conftest.err'
2629      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630      (eval $ac_try) 2>&5
2631      ac_status=$?
2632      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633      (exit $ac_status); }; } &&
2634             { ac_try='test -s conftest.$ac_objext'
2635    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2637    ac_status=$?    ac_status=$?
# Line 2542  else Line 2643  else
2643  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2644    
2645  fi  fi
2646  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2647  done  done
2648  rm -f conftest*  rm -f conftest*
2649  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2663  else Line 2764  else
2764      : > sub/conftest.c      : > sub/conftest.c
2765      for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
2766        echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
2767        : > sub/conftst$i.h        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2768          # Solaris 8's {/usr,}/bin/sh.
2769          touch sub/conftst$i.h
2770      done      done
2771      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2772    
# Line 2691  else Line 2794  else
2794         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2795         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2796        # icc doesn't choke on unknown options, it will just issue warnings        # icc doesn't choke on unknown options, it will just issue warnings
2797        # (even with -Werror).  So we grep stderr for any message        # or remarks (even with -Werror).  So we grep stderr for any message
2798        # that says an option was ignored.        # that says an option was ignored or not supported.
2799        if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else        # When given -MP, icc 7.0 and 7.1 complain thusly:
2800          #   icc: Command line warning: ignoring option '-M'; no argument required
2801          # The diagnosis changed in icc 8.0:
2802          #   icc: Command line remark: option '-MP' not supported
2803          if (grep 'ignoring option' conftest.err ||
2804              grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2805          am_cv_CXX_dependencies_compiler_type=$depmode          am_cv_CXX_dependencies_compiler_type=$depmode
2806          break          break
2807        fi        fi
# Line 3065  if test "${ac_cv_c_compiler_gnu+set}" = Line 3173  if test "${ac_cv_c_compiler_gnu+set}" =
3173    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3174  else  else
3175    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3176  /* confdefs.h.  */  /* confdefs.h.  */
3177  _ACEOF  _ACEOF
3178  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3085  main () Line 3192  main ()
3192  _ACEOF  _ACEOF
3193  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3194  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3196    ac_status=$?    ac_status=$?
3197      grep -v '^ *+' conftest.er1 >conftest.err
3198      rm -f conftest.er1
3199      cat conftest.err >&5
3200    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201    (exit $ac_status); } &&    (exit $ac_status); } &&
3202           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3203                             || test ! -s conftest.err'
3204      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205      (eval $ac_try) 2>&5
3206      ac_status=$?
3207      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208      (exit $ac_status); }; } &&
3209             { ac_try='test -s conftest.$ac_objext'
3210    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3212    ac_status=$?    ac_status=$?
# Line 3102  sed 's/^/| /' conftest.$ac_ext >&5 Line 3219  sed 's/^/| /' conftest.$ac_ext >&5
3219    
3220  ac_compiler_gnu=no  ac_compiler_gnu=no
3221  fi  fi
3222  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3223  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
3224    
3225  fi  fi
# Line 3118  if test "${ac_cv_prog_cc_g+set}" = set; Line 3235  if test "${ac_cv_prog_cc_g+set}" = set;
3235    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3236  else  else
3237    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3238  /* confdefs.h.  */  /* confdefs.h.  */
3239  _ACEOF  _ACEOF
3240  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3135  main () Line 3251  main ()
3251  _ACEOF  _ACEOF
3252  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3253  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3254    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3255    ac_status=$?    ac_status=$?
3256      grep -v '^ *+' conftest.er1 >conftest.err
3257      rm -f conftest.er1
3258      cat conftest.err >&5
3259    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260    (exit $ac_status); } &&    (exit $ac_status); } &&
3261           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3262                             || test ! -s conftest.err'
3263      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264      (eval $ac_try) 2>&5
3265      ac_status=$?
3266      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267      (exit $ac_status); }; } &&
3268             { ac_try='test -s conftest.$ac_objext'
3269    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3271    ac_status=$?    ac_status=$?
# Line 3152  sed 's/^/| /' conftest.$ac_ext >&5 Line 3278  sed 's/^/| /' conftest.$ac_ext >&5
3278    
3279  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
3280  fi  fi
3281  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3282  fi  fi
3283  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3284  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 3179  else Line 3305  else
3305    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
3306  ac_save_CC=$CC  ac_save_CC=$CC
3307  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3308  /* confdefs.h.  */  /* confdefs.h.  */
3309  _ACEOF  _ACEOF
3310  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3207  static char *f (char * (*g) (char **, in Line 3332  static char *f (char * (*g) (char **, in
3332    va_end (v);    va_end (v);
3333    return s;    return s;
3334  }  }
3335    
3336    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3337       function prototypes and stuff, but not '\xHH' hex character constants.
3338       These don't provoke an error unfortunately, instead are silently treated
3339       as 'x'.  The following induces an error, until -std1 is added to get
3340       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3341       array size at least.  It's necessary to write '\x00'==0 to get something
3342       that's true only with -std1.  */
3343    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3344    
3345  int test (int i, double x);  int test (int i, double x);
3346  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
3347  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 3233  do Line 3368  do
3368    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
3369    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
3370  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3371    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3372    ac_status=$?    ac_status=$?
3373      grep -v '^ *+' conftest.er1 >conftest.err
3374      rm -f conftest.er1
3375      cat conftest.err >&5
3376    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377    (exit $ac_status); } &&    (exit $ac_status); } &&
3378           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3379                             || test ! -s conftest.err'
3380      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381      (eval $ac_try) 2>&5
3382      ac_status=$?
3383      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384      (exit $ac_status); }; } &&
3385             { ac_try='test -s conftest.$ac_objext'
3386    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3388    ac_status=$?    ac_status=$?
# Line 3250  else Line 3395  else
3395  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3396    
3397  fi  fi
3398  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
3399  done  done
3400  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
3401  CC=$ac_save_CC  CC=$ac_save_CC
# Line 3278  cat >conftest.$ac_ext <<_ACEOF Line 3423  cat >conftest.$ac_ext <<_ACEOF
3423  _ACEOF  _ACEOF
3424  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3425  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3427    ac_status=$?    ac_status=$?
3428      grep -v '^ *+' conftest.er1 >conftest.err
3429      rm -f conftest.er1
3430      cat conftest.err >&5
3431    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432    (exit $ac_status); } &&    (exit $ac_status); } &&
3433           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3434                             || test ! -s conftest.err'
3435      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436      (eval $ac_try) 2>&5
3437      ac_status=$?
3438      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439      (exit $ac_status); }; } &&
3440             { ac_try='test -s conftest.$ac_objext'
3441    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3443    ac_status=$?    ac_status=$?
3444    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3446    for ac_declaration in \    for ac_declaration in \
3447     ''\     '' \
    '#include <stdlib.h>' \  
3448     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
3449     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
3450     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 3298  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3452  if { (eval echo "$as_me:$LINENO: \"$ac_c
3452     'void exit (int);'     'void exit (int);'
3453  do  do
3454    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3455  /* confdefs.h.  */  /* confdefs.h.  */
3456  _ACEOF  _ACEOF
3457  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3458  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3459  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
3460  $ac_declaration  $ac_declaration
3461    #include <stdlib.h>
3462  int  int
3463  main ()  main ()
3464  {  {
# Line 3316  exit (42); Line 3469  exit (42);
3469  _ACEOF  _ACEOF
3470  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3471  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3472    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3473    ac_status=$?    ac_status=$?
3474      grep -v '^ *+' conftest.er1 >conftest.err
3475      rm -f conftest.er1
3476      cat conftest.err >&5
3477    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478    (exit $ac_status); } &&    (exit $ac_status); } &&
3479           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3480                             || test ! -s conftest.err'
3481      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3482      (eval $ac_try) 2>&5
3483      ac_status=$?
3484      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485      (exit $ac_status); }; } &&
3486             { ac_try='test -s conftest.$ac_objext'
3487    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3489    ac_status=$?    ac_status=$?
# Line 3333  sed 's/^/| /' conftest.$ac_ext >&5 Line 3496  sed 's/^/| /' conftest.$ac_ext >&5
3496    
3497  continue  continue
3498  fi  fi
3499  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3500    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3501  /* confdefs.h.  */  /* confdefs.h.  */
3502  _ACEOF  _ACEOF
3503  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3352  exit (42); Line 3514  exit (42);
3514  _ACEOF  _ACEOF
3515  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3516  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3518    ac_status=$?    ac_status=$?
3519      grep -v '^ *+' conftest.er1 >conftest.err
3520      rm -f conftest.er1
3521      cat conftest.err >&5
3522    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523    (exit $ac_status); } &&    (exit $ac_status); } &&
3524           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
3525                             || test ! -s conftest.err'
3526      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527      (eval $ac_try) 2>&5
3528      ac_status=$?
3529      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530      (exit $ac_status); }; } &&
3531             { ac_try='test -s conftest.$ac_objext'
3532    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3534    ac_status=$?    ac_status=$?
# Line 3368  else Line 3540  else
3540  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3541    
3542  fi  fi
3543  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3544  done  done
3545  rm -f conftest*  rm -f conftest*
3546  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 3382  else Line 3554  else
3554  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3555    
3556  fi  fi
3557  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3558  ac_ext=c  ac_ext=c
3559  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
3560  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3430  else Line 3602  else
3602      : > sub/conftest.c      : > sub/conftest.c
3603      for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
3604        echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3605        : > sub/conftst$i.h        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3606          # Solaris 8's {/usr,}/bin/sh.
3607          touch sub/conftst$i.h
3608      done      done
3609      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3610    
# Line 3458  else Line 3632  else
3632         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3633         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3634        # icc doesn't choke on unknown options, it will just issue warnings        # icc doesn't choke on unknown options, it will just issue warnings
3635        # (even with -Werror).  So we grep stderr for any message        # or remarks (even with -Werror).  So we grep stderr for any message
3636        # that says an option was ignored.        # that says an option was ignored or not supported.
3637        if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else        # When given -MP, icc 7.0 and 7.1 complain thusly:
3638          #   icc: Command line warning: ignoring option '-M'; no argument required
3639          # The diagnosis changed in icc 8.0:
3640          #   icc: Command line remark: option '-MP' not supported
3641          if (grep 'ignoring option' conftest.err ||
3642              grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3643          am_cv_CC_dependencies_compiler_type=$depmode          am_cv_CC_dependencies_compiler_type=$depmode
3644          break          break
3645        fi        fi
# Line 3519  do Line 3698  do
3698    # 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,
3699    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3700    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3701  /* confdefs.h.  */  /* confdefs.h.  */
3702  _ACEOF  _ACEOF
3703  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3530  cat >>conftest.$ac_ext <<_ACEOF Line 3708  cat >>conftest.$ac_ext <<_ACEOF
3708  #else  #else
3709  # include <assert.h>  # include <assert.h>
3710  #endif  #endif
3711                       Syntax error                       Syntax error
3712  _ACEOF  _ACEOF
3713  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3714    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3542  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3720  if { (eval echo "$as_me:$LINENO: \"$ac_c
3720    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3721    if test -s conftest.err; then    if test -s conftest.err; then
3722      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3723        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3724    else    else
3725      ac_cpp_err=      ac_cpp_err=
3726    fi    fi
# Line 3562  rm -f conftest.err conftest.$ac_ext Line 3741  rm -f conftest.err conftest.$ac_ext
3741    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3742    # can be detected and how.    # can be detected and how.
3743    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3744  /* confdefs.h.  */  /* confdefs.h.  */
3745  _ACEOF  _ACEOF
3746  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3580  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3758  if { (eval echo "$as_me:$LINENO: \"$ac_c
3758    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3759    if test -s conftest.err; then    if test -s conftest.err; then
3760      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3761        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3762    else    else
3763      ac_cpp_err=      ac_cpp_err=
3764    fi    fi
# Line 3626  do Line 3805  do
3805    # 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,
3806    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3807    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3808  /* confdefs.h.  */  /* confdefs.h.  */
3809  _ACEOF  _ACEOF
3810  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3637  cat >>conftest.$ac_ext <<_ACEOF Line 3815  cat >>conftest.$ac_ext <<_ACEOF
3815  #else  #else
3816  # include <assert.h>  # include <assert.h>
3817  #endif  #endif
3818                       Syntax error                       Syntax error
3819  _ACEOF  _ACEOF
3820  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3821    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3649  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3827  if { (eval echo "$as_me:$LINENO: \"$ac_c
3827    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3828    if test -s conftest.err; then    if test -s conftest.err; then
3829      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3830        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3831    else    else
3832      ac_cpp_err=      ac_cpp_err=
3833    fi    fi
# Line 3669  rm -f conftest.err conftest.$ac_ext Line 3848  rm -f conftest.err conftest.$ac_ext
3848    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3849    # can be detected and how.    # can be detected and how.
3850    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3851  /* confdefs.h.  */  /* confdefs.h.  */
3852  _ACEOF  _ACEOF
3853  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3687  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3865  if { (eval echo "$as_me:$LINENO: \"$ac_c
3865    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3866    if test -s conftest.err; then    if test -s conftest.err; then
3867      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3868        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3869    else    else
3870      ac_cpp_err=      ac_cpp_err=
3871    fi    fi
# Line 3736  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 3915  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3915  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3916  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3917  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3918    # OS/2's system install, which has a completely different semantic
3919  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
3920  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3921  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 3752  do Line 3932  do
3932  case $as_dir/ in  case $as_dir/ in
3933    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
3934    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3935      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3936    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
3937    *)    *)
3938      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 3759  case $as_dir/ in Line 3940  case $as_dir/ in
3940      # by default.      # by default.
3941      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
3942        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
3943          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3944            if test $ac_prog = install &&            if test $ac_prog = install &&
3945              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3946              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
3947              :              :
3948            elif test $ac_prog = install &&            elif test $ac_prog = install &&
3949              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3950              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
3951              :              :
3952            else            else
3953              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3954              break 3              break 3
3955            fi            fi
3956          fi          fi
3957        done        done
3958      done      done
3959      ;;      ;;
# Line 3815  fi Line 3996  fi
3996    
3997  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3998  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3999  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
4000  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4001    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4002  else  else
# Line 4078  lt_ac_count=0 Line 4259  lt_ac_count=0
4259  # Add /usr/xpg4/bin/sed as it is typically found on Solaris  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4260  # along with /bin/sed that truncates output.  # along with /bin/sed that truncates output.
4261  for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do  for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4262    test ! -f $lt_ac_sed && break    test ! -f $lt_ac_sed && continue
4263    cat /dev/null > conftest.in    cat /dev/null > conftest.in
4264    lt_ac_count=0    lt_ac_count=0
4265    echo $ECHO_N "0123456789$ECHO_C" >conftest.in    echo $ECHO_N "0123456789$ECHO_C" >conftest.in
# Line 4103  for lt_ac_sed in $lt_ac_sed_list /usr/xp Line 4284  for lt_ac_sed in $lt_ac_sed_list /usr/xp
4284      fi      fi
4285    done    done
4286  done  done
 SED=$lt_cv_path_SED  
4287    
4288  fi  fi
4289    
4290    SED=$lt_cv_path_SED
4291  echo "$as_me:$LINENO: result: $SED" >&5  echo "$as_me:$LINENO: result: $SED" >&5
4292  echo "${ECHO_T}$SED" >&6  echo "${ECHO_T}$SED" >&6
4293    
# Line 4149  echo $ECHO_N "checking for ld used by $C Line 4330  echo $ECHO_N "checking for ld used by $C
4330      # Accept absolute paths.      # Accept absolute paths.
4331      [\\/]* | ?:[\\/]*)      [\\/]* | ?:[\\/]*)
4332        re_direlt='/[^/][^/]*/\.\./'        re_direlt='/[^/][^/]*/\.\./'
4333        # Canonicalize the path of ld        # Canonicalize the pathname of ld
4334        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4335        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4336          ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`          ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
# Line 4183  else Line 4364  else
4364      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4365        lt_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
4366        # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
4367        # but apparently some GNU ld's only accept -v.        # but apparently some variants of GNU ld only accept -v.
4368        # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
4369        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4370        *GNU* | *'with BFD'*)        *GNU* | *'with BFD'*)
# Line 4217  echo $ECHO_N "checking if the linker ($L Line 4398  echo $ECHO_N "checking if the linker ($L
4398  if test "${lt_cv_prog_gnu_ld+set}" = set; then  if test "${lt_cv_prog_gnu_ld+set}" = set; then
4399    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4400  else  else
4401    # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU lds only accept -v.
4402  case `$LD -v 2>&1 </dev/null` in  case `$LD -v 2>&1 </dev/null` in
4403  *GNU* | *'with BFD'*)  *GNU* | *'with BFD'*)
4404    lt_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
# Line 4247  case $reload_flag in Line 4428  case $reload_flag in
4428  *) reload_flag=" $reload_flag" ;;  *) reload_flag=" $reload_flag" ;;
4429  esac  esac
4430  reload_cmds='$LD$reload_flag -o $output$reload_objs'  reload_cmds='$LD$reload_flag -o $output$reload_objs'
4431    case $host_os in
4432      darwin*)
4433        if test "$GCC" = yes; then
4434          reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4435        else
4436          reload_cmds='$LD$reload_flag -o $output$reload_objs'
4437        fi
4438        ;;
4439    esac
4440    
4441  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4442  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
# Line 4322  beos*) Line 4512  beos*)
4512    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4513    ;;    ;;
4514    
4515  bsdi4*)  bsdi[45]*)
4516    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4517    lt_cv_file_magic_cmd='/usr/bin/file -L'    lt_cv_file_magic_cmd='/usr/bin/file -L'
4518    lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
4519    ;;    ;;
4520    
4521  cygwin* | mingw* | pw32*)  cygwin*)
4522    # win32_libid is a shell function defined in ltmain.sh    # func_win32_libid is a shell function defined in ltmain.sh
4523    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4524    lt_cv_file_magic_cmd='win32_libid'    lt_cv_file_magic_cmd='func_win32_libid'
4525      ;;
4526    
4527    mingw* | pw32*)
4528      # Base MSYS/MinGW do not provide the 'file' command needed by
4529      # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4530      lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4531      lt_cv_file_magic_cmd='$OBJDUMP -f'
4532    ;;    ;;
4533    
4534  darwin* | rhapsody*)  darwin* | rhapsody*)
   # this will be overwritten by pass_all, but leave it in just in case  
   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'  
   lt_cv_file_magic_cmd='/usr/bin/file -L'  
   case "$host_os" in  
   rhapsody* | darwin1.[012])  
     lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`  
     ;;  
   *) # Darwin 1.3 on  
     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'  
     ;;  
   esac  
4535    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4536    ;;    ;;
4537    
4538  freebsd*)  freebsd* | kfreebsd*-gnu | dragonfly*)
4539    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4540      case $host_cpu in      case $host_cpu in
4541      i*86 )      i*86 )
4542        # Not sure whether the presence of OpenBSD here was a mistake.        # Not sure whether the presence of OpenBSD here was a mistake.
4543        # Let's accept both of them until this is cleared up.        # Let's accept both of them until this is cleared up.
4544        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4545        lt_cv_file_magic_cmd=/usr/bin/file        lt_cv_file_magic_cmd=/usr/bin/file
4546        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4547        ;;        ;;
# Line 4371  gnu*) Line 4557  gnu*)
4557    
4558  hpux10.20* | hpux11*)  hpux10.20* | hpux11*)
4559    lt_cv_file_magic_cmd=/usr/bin/file    lt_cv_file_magic_cmd=/usr/bin/file
4560    case "$host_cpu" in    case $host_cpu in
4561    ia64*)    ia64*)
4562      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4563      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
# Line 4388  hpux10.20* | hpux11*) Line 4574  hpux10.20* | hpux11*)
4574    ;;    ;;
4575    
4576  irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
4577    case $host_os in    case $LD in
4578    irix5* | nonstopux*)    *-32|*"-32 ") libmagic=32-bit;;
4579      # this will be overridden with pass_all, but let us keep it just in case    *-n32|*"-n32 ") libmagic=N32;;
4580      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"    *-64|*"-64 ") libmagic=64-bit;;
4581      ;;    *) libmagic=never-match;;
   *)  
     case $LD in  
     *-32|*"-32 ") libmagic=32-bit;;  
     *-n32|*"-n32 ") libmagic=N32;;  
     *-64|*"-64 ") libmagic=64-bit;;  
     *) libmagic=never-match;;  
     esac  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"  
     ;;  
4582    esac    esac
   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`  
4583    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4584    ;;    ;;
4585    
4586  # This must be Linux ELF.  # This must be Linux ELF.
4587  linux*)  linux*)
4588    case $host_cpu in    lt_cv_deplibs_check_method=pass_all
   alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)  
     lt_cv_deplibs_check_method=pass_all ;;  
   *)  
     # glibc up to 2.1.1 does not perform some relocations on ARM  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;  
   esac  
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  
4589    ;;    ;;
4590    
4591  netbsd*)  netbsd*)
# Line 4434  newos6*) Line 4602  newos6*)
4602    lt_cv_file_magic_test_file=/usr/lib/libnls.so    lt_cv_file_magic_test_file=/usr/lib/libnls.so
4603    ;;    ;;
4604    
4605  nto-qnx)  nto-qnx*)
4606    lt_cv_deplibs_check_method=unknown    lt_cv_deplibs_check_method=unknown
4607    ;;    ;;
4608    
4609  openbsd*)  openbsd*)
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  
4610    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4611      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4612    else    else
4613      lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4614    fi    fi
4615    ;;    ;;
4616    
4617  osf3* | osf4* | osf5*)  osf3* | osf4* | osf5*)
   # this will be overridden with pass_all, but let us keep it just in case  
   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'  
   lt_cv_file_magic_test_file=/shlib/libc.so  
4618    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4619    ;;    ;;
4620    
# Line 4461  sco3.2v5*) Line 4624  sco3.2v5*)
4624    
4625  solaris*)  solaris*)
4626    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_test_file=/lib/libc.so  
4627    ;;    ;;
4628    
4629  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
# Line 4541  ia64-*-hpux*) Line 4703  ia64-*-hpux*)
4703    ;;    ;;
4704  *-*-irix6*)  *-*-irix6*)
4705    # Find out which ABI we are using.    # Find out which ABI we are using.
4706    echo '#line 4544 "configure"' > conftest.$ac_ext    echo '#line 4706 "configure"' > conftest.$ac_ext
4707    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4708    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4709    ac_status=$?    ac_status=$?
# Line 4584  x86_64-*linux*|ppc*-*linux*|powerpc*-*li Line 4746  x86_64-*linux*|ppc*-*linux*|powerpc*-*li
4746    ac_status=$?    ac_status=$?
4747    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748    (exit $ac_status); }; then    (exit $ac_status); }; then
4749      case "`/usr/bin/file conftest.o`" in      case `/usr/bin/file conftest.o` in
4750      *32-bit*)      *32-bit*)
4751        case $host in        case $host in
4752          x86_64-*linux*)          x86_64-*linux*)
4753            LD="${LD-ld} -m elf_i386"            LD="${LD-ld} -m elf_i386"
4754            ;;            ;;
4755          ppc64-*linux*)          ppc64-*linux*|powerpc64-*linux*)
4756            LD="${LD-ld} -m elf32ppclinux"            LD="${LD-ld} -m elf32ppclinux"
4757            ;;            ;;
4758          s390x-*linux*)          s390x-*linux*)
# Line 4638  ac_link='$CC -o conftest$ac_exeext $CFLA Line 4800  ac_link='$CC -o conftest$ac_exeext $CFLA
4800  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
4801    
4802       cat >conftest.$ac_ext <<_ACEOF       cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4803  /* confdefs.h.  */  /* confdefs.h.  */
4804  _ACEOF  _ACEOF
4805  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4655  main () Line 4816  main ()
4816  _ACEOF  _ACEOF
4817  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4818  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4819    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4820    ac_status=$?    ac_status=$?
4821      grep -v '^ *+' conftest.er1 >conftest.err
4822      rm -f conftest.er1
4823      cat conftest.err >&5
4824    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825    (exit $ac_status); } &&    (exit $ac_status); } &&
4826           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
4827                             || test ! -s conftest.err'
4828      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829      (eval $ac_try) 2>&5
4830      ac_status=$?
4831      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832      (exit $ac_status); }; } &&
4833             { ac_try='test -s conftest$ac_exeext'
4834    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4836    ac_status=$?    ac_status=$?
# Line 4672  sed 's/^/| /' conftest.$ac_ext >&5 Line 4843  sed 's/^/| /' conftest.$ac_ext >&5
4843    
4844  lt_cv_cc_needs_belf=no  lt_cv_cc_needs_belf=no
4845  fi  fi
4846  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4847          conftest$ac_exeext conftest.$ac_ext
4848       ac_ext=c       ac_ext=c
4849  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
4850  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4700  if test "${ac_cv_header_stdc+set}" = set Line 4872  if test "${ac_cv_header_stdc+set}" = set
4872    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4873  else  else
4874    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4875  /* confdefs.h.  */  /* confdefs.h.  */
4876  _ACEOF  _ACEOF
4877  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4721  main () Line 4892  main ()
4892  _ACEOF  _ACEOF
4893  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4894  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4896    ac_status=$?    ac_status=$?
4897      grep -v '^ *+' conftest.er1 >conftest.err
4898      rm -f conftest.er1
4899      cat conftest.err >&5
4900    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901    (exit $ac_status); } &&    (exit $ac_status); } &&
4902           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
4903                             || test ! -s conftest.err'
4904      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4905      (eval $ac_try) 2>&5
4906      ac_status=$?
4907      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908      (exit $ac_status); }; } &&
4909             { ac_try='test -s conftest.$ac_objext'
4910    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4912    ac_status=$?    ac_status=$?
# Line 4738  sed 's/^/| /' conftest.$ac_ext >&5 Line 4919  sed 's/^/| /' conftest.$ac_ext >&5
4919    
4920  ac_cv_header_stdc=no  ac_cv_header_stdc=no
4921  fi  fi
4922  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4923    
4924  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4925    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4926    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4927  /* confdefs.h.  */  /* confdefs.h.  */
4928  _ACEOF  _ACEOF
4929  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4765  fi Line 4945  fi
4945  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4946    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4947    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4948  /* confdefs.h.  */  /* confdefs.h.  */
4949  _ACEOF  _ACEOF
4950  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4790  if test $ac_cv_header_stdc = yes; then Line 4969  if test $ac_cv_header_stdc = yes; then
4969    :    :
4970  else  else
4971    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4972  /* confdefs.h.  */  /* confdefs.h.  */
4973  _ACEOF  _ACEOF
4974  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4802  cat >>conftest.$ac_ext <<_ACEOF Line 4980  cat >>conftest.$ac_ext <<_ACEOF
4980  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4981  #else  #else
4982  # define ISLOWER(c) \  # define ISLOWER(c) \
4983                     (('a' <= (c) && (c) <= 'i') \                     (('a' <= (c) && (c) <= 'i') \
4984                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
4985                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
4986  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4987  #endif  #endif
4988    
# Line 4815  main () Line 4993  main ()
4993    int i;    int i;
4994    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
4995      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
4996          || toupper (i) != TOUPPER (i))          || toupper (i) != TOUPPER (i))
4997        exit(2);        exit(2);
4998    exit (0);    exit (0);
4999  }  }
# Line 4840  sed 's/^/| /' conftest.$ac_ext >&5 Line 5018  sed 's/^/| /' conftest.$ac_ext >&5
5018  ( exit $ac_status )  ( exit $ac_status )
5019  ac_cv_header_stdc=no  ac_cv_header_stdc=no
5020  fi  fi
5021  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5022  fi  fi
5023  fi  fi
5024  fi  fi
# Line 4865  fi Line 5043  fi
5043    
5044    
5045  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5046                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5047  do  do
5048  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5049  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 4874  if eval "test \"\${$as_ac_Header+set}\" Line 5052  if eval "test \"\${$as_ac_Header+set}\"
5052    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5053  else  else
5054    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5055  /* confdefs.h.  */  /* confdefs.h.  */
5056  _ACEOF  _ACEOF
5057  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4886  $ac_includes_default Line 5063  $ac_includes_default
5063  _ACEOF  _ACEOF
5064  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5065  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5066    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5067    ac_status=$?    ac_status=$?
5068      grep -v '^ *+' conftest.er1 >conftest.err
5069      rm -f conftest.er1
5070      cat conftest.err >&5
5071    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072    (exit $ac_status); } &&    (exit $ac_status); } &&
5073           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
5074                             || test ! -s conftest.err'
5075      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076      (eval $ac_try) 2>&5
5077      ac_status=$?
5078      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079      (exit $ac_status); }; } &&
5080             { ac_try='test -s conftest.$ac_objext'
5081    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5083    ac_status=$?    ac_status=$?
# Line 4903  sed 's/^/| /' conftest.$ac_ext >&5 Line 5090  sed 's/^/| /' conftest.$ac_ext >&5
5090    
5091  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
5092  fi  fi
5093  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5094  fi  fi
5095  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5096  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4934  else Line 5121  else
5121  echo "$as_me:$LINENO: checking $ac_header usability" >&5  echo "$as_me:$LINENO: checking $ac_header usability" >&5
5122  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5123  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5124  /* confdefs.h.  */  /* confdefs.h.  */
5125  _ACEOF  _ACEOF
5126  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4945  $ac_includes_default Line 5131  $ac_includes_default
5131  _ACEOF  _ACEOF
5132  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5133  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5134    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5135    ac_status=$?    ac_status=$?
5136      grep -v '^ *+' conftest.er1 >conftest.err
5137      rm -f conftest.er1
5138      cat conftest.err >&5
5139    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140    (exit $ac_status); } &&    (exit $ac_status); } &&
5141           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
5142                             || test ! -s conftest.err'
5143      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144      (eval $ac_try) 2>&5
5145      ac_status=$?
5146      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147      (exit $ac_status); }; } &&
5148             { ac_try='test -s conftest.$ac_objext'
5149    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5151    ac_status=$?    ac_status=$?
# Line 4962  sed 's/^/| /' conftest.$ac_ext >&5 Line 5158  sed 's/^/| /' conftest.$ac_ext >&5
5158    
5159  ac_header_compiler=no  ac_header_compiler=no
5160  fi  fi
5161  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5162  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5163  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
5164    
# Line 4970  echo "${ECHO_T}$ac_header_compiler" >&6 Line 5166  echo "${ECHO_T}$ac_header_compiler" >&6
5166  echo "$as_me:$LINENO: checking $ac_header presence" >&5  echo "$as_me:$LINENO: checking $ac_header presence" >&5
5167  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5168  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5169  /* confdefs.h.  */  /* confdefs.h.  */
5170  _ACEOF  _ACEOF
5171  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4988  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5183  if { (eval echo "$as_me:$LINENO: \"$ac_c
5183    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5184    if test -s conftest.err; then    if test -s conftest.err; then
5185      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
5186        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5187    else    else
5188      ac_cpp_err=      ac_cpp_err=
5189    fi    fi
# Line 5007  echo "$as_me:$LINENO: result: $ac_header Line 5203  echo "$as_me:$LINENO: result: $ac_header
5203  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
5204    
5205  # So?  What about this header?  # So?  What about this header?
5206  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207    yes:no )    yes:no: )
5208      { 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
5209  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;}
5210      { 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
5211  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;}
5212      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
5213      ;;      ;;
5214    no:yes )    no:yes:* )
5215      { 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
5216  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5217      { 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
5218  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5219        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5220    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5221        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5222    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5223      { 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
5224  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;}
5225        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5226    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5227      (      (
5228        cat <<\_ASBOX        cat <<\_ASBOX
5229  ## ------------------------------------ ##  ## ---------------------------------------- ##
5230  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to okumura@brain.riken.go.jp ##
5231  ## ------------------------------------ ##  ## ---------------------------------------- ##
5232  _ASBOX  _ASBOX
5233      ) |      ) |
5234        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5044  echo $ECHO_N "checking for $ac_header... Line 5239  echo $ECHO_N "checking for $ac_header...
5239  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
5240    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5241  else  else
5242    eval "$as_ac_Header=$ac_header_preproc"    eval "$as_ac_Header=\$ac_header_preproc"
5243  fi  fi
5244  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5245  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 5059  fi Line 5254  fi
5254    
5255  done  done
5256    
5257  ac_ext=cc  
5258    
5259    if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5260        ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5261        (test "X$CXX" != "Xg++"))) ; then
5262      ac_ext=cc
5263  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
5264  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5265  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'
# Line 5083  do Line 5283  do
5283    # 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,
5284    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
5285    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5286  /* confdefs.h.  */  /* confdefs.h.  */
5287  _ACEOF  _ACEOF
5288  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5094  cat >>conftest.$ac_ext <<_ACEOF Line 5293  cat >>conftest.$ac_ext <<_ACEOF
5293  #else  #else
5294  # include <assert.h>  # include <assert.h>
5295  #endif  #endif
5296                       Syntax error                       Syntax error
5297  _ACEOF  _ACEOF
5298  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5299    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5106  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5305  if { (eval echo "$as_me:$LINENO: \"$ac_c
5305    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5306    if test -s conftest.err; then    if test -s conftest.err; then
5307      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5308        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5309    else    else
5310      ac_cpp_err=      ac_cpp_err=
5311    fi    fi
# Line 5126  rm -f conftest.err conftest.$ac_ext Line 5326  rm -f conftest.err conftest.$ac_ext
5326    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
5327    # can be detected and how.    # can be detected and how.
5328    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5329  /* confdefs.h.  */  /* confdefs.h.  */
5330  _ACEOF  _ACEOF
5331  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5144  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5343  if { (eval echo "$as_me:$LINENO: \"$ac_c
5343    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5344    if test -s conftest.err; then    if test -s conftest.err; then
5345      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5346        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5347    else    else
5348      ac_cpp_err=      ac_cpp_err=
5349    fi    fi
# Line 5190  do Line 5390  do
5390    # 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,
5391    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
5392    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5393  /* confdefs.h.  */  /* confdefs.h.  */
5394  _ACEOF  _ACEOF
5395  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5201  cat >>conftest.$ac_ext <<_ACEOF Line 5400  cat >>conftest.$ac_ext <<_ACEOF
5400  #else  #else
5401  # include <assert.h>  # include <assert.h>
5402  #endif  #endif
5403                       Syntax error                       Syntax error
5404  _ACEOF  _ACEOF
5405  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5406    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5213  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5412  if { (eval echo "$as_me:$LINENO: \"$ac_c
5412    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5413    if test -s conftest.err; then    if test -s conftest.err; then
5414      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5415        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5416    else    else
5417      ac_cpp_err=      ac_cpp_err=
5418    fi    fi
# Line 5233  rm -f conftest.err conftest.$ac_ext Line 5433  rm -f conftest.err conftest.$ac_ext
5433    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
5434    # can be detected and how.    # can be detected and how.
5435    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5436  /* confdefs.h.  */  /* confdefs.h.  */
5437  _ACEOF  _ACEOF
5438  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5251  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5450  if { (eval echo "$as_me:$LINENO: \"$ac_c
5450    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5451    if test -s conftest.err; then    if test -s conftest.err; then
5452      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
5453        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5454    else    else
5455      ac_cpp_err=      ac_cpp_err=
5456    fi    fi
# Line 5289  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS Line 5489  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS
5489  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'
5490  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5491    
5492    fi
5493    
5494    
5495  ac_ext=f  ac_ext=f
5496  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5497  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'
5498  ac_compiler_gnu=$ac_cv_f77_compiler_gnu  ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5499  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
5500    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
5501    do    do
5502      # 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.
5503  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 5337  fi Line 5539  fi
5539  fi  fi
5540  if test -z "$F77"; then  if test -z "$F77"; then
5541    ac_ct_F77=$F77    ac_ct_F77=$F77
5542    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
5543  do  do
5544    # 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.
5545  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 5382  fi Line 5584  fi
5584    
5585    
5586  # Provide some information about the compiler.  # Provide some information about the compiler.
5587  echo "$as_me:5385:" \  echo "$as_me:5587:" \
5588       "checking for Fortran 77 compiler version" >&5       "checking for Fortran 77 compiler version" >&5
5589  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
5590  { (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 5400  ac_compiler=`set X $ac_compile; echo $2` Line 5602  ac_compiler=`set X $ac_compile; echo $2`
5602    ac_status=$?    ac_status=$?
5603    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604    (exit $ac_status); }    (exit $ac_status); }
5605    rm -f a.out
5606    
5607  # 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
5608  # input file.  # input file.  (Note that this only needs to work for GNU compilers.)
5609  ac_save_ext=$ac_ext  ac_save_ext=$ac_ext
5610  ac_ext=F  ac_ext=F
5611  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 5420  else Line 5623  else
5623  _ACEOF  _ACEOF
5624  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5625  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5627    ac_status=$?    ac_status=$?
5628      grep -v '^ *+' conftest.er1 >conftest.err
5629      rm -f conftest.er1
5630      cat conftest.err >&5
5631    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632    (exit $ac_status); } &&    (exit $ac_status); } &&
5633           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_f77_werror_flag"
5634                             || test ! -s conftest.err'
5635      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636      (eval $ac_try) 2>&5
5637      ac_status=$?
5638      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639      (exit $ac_status); }; } &&
5640             { ac_try='test -s conftest.$ac_objext'
5641    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5643    ac_status=$?    ac_status=$?
# Line 5437  sed 's/^/| /' conftest.$ac_ext >&5 Line 5650  sed 's/^/| /' conftest.$ac_ext >&5
5650    
5651  ac_compiler_gnu=no  ac_compiler_gnu=no
5652  fi  fi
5653  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5654  ac_cv_f77_compiler_gnu=$ac_compiler_gnu  ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5655    
5656  fi  fi
5657  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5658  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5659  ac_ext=$ac_save_ext  ac_ext=$ac_save_ext
 G77=`test $ac_compiler_gnu = yes && echo yes`  
5660  ac_test_FFLAGS=${FFLAGS+set}  ac_test_FFLAGS=${FFLAGS+set}
5661  ac_save_FFLAGS=$FFLAGS  ac_save_FFLAGS=$FFLAGS
5662  FFLAGS=  FFLAGS=
# Line 5461  cat >conftest.$ac_ext <<_ACEOF Line 5673  cat >conftest.$ac_ext <<_ACEOF
5673  _ACEOF  _ACEOF
5674  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5675  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5676    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5677    ac_status=$?    ac_status=$?
5678      grep -v '^ *+' conftest.er1 >conftest.err
5679      rm -f conftest.er1
5680      cat conftest.err >&5
5681    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682    (exit $ac_status); } &&    (exit $ac_status); } &&
5683           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_f77_werror_flag"
5684                             || test ! -s conftest.err'
5685      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5686      (eval $ac_try) 2>&5
5687      ac_status=$?
5688      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689      (exit $ac_status); }; } &&
5690             { ac_try='test -s conftest.$ac_objext'
5691    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5692    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5693    ac_status=$?    ac_status=$?
# Line 5478  sed 's/^/| /' conftest.$ac_ext >&5 Line 5700  sed 's/^/| /' conftest.$ac_ext >&5
5700    
5701  ac_cv_prog_f77_g=no  ac_cv_prog_f77_g=no
5702  fi  fi
5703  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5704    
5705  fi  fi
5706  echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
# Line 5486  echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 Line 5708  echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5708  if test "$ac_test_FFLAGS" = set; then  if test "$ac_test_FFLAGS" = set; then
5709    FFLAGS=$ac_save_FFLAGS    FFLAGS=$ac_save_FFLAGS
5710  elif test $ac_cv_prog_f77_g = yes; then  elif test $ac_cv_prog_f77_g = yes; then
5711    if test "$G77" = yes; then    if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5712      FFLAGS="-g -O2"      FFLAGS="-g -O2"
5713    else    else
5714      FFLAGS="-g"      FFLAGS="-g"
5715    fi    fi
5716  else  else
5717    if test "$G77" = yes; then    if test "x$ac_cv_f77_compiler_gnu" = xyes; then
5718      FFLAGS="-O2"      FFLAGS="-O2"
5719    else    else
5720      FFLAGS=      FFLAGS=
5721    fi    fi
5722  fi  fi
5723    
5724    G77=`test $ac_compiler_gnu = yes && echo yes`
5725  ac_ext=c  ac_ext=c
5726  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
5727  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 5515  if test "${lt_cv_sys_max_cmd_len+set}" = Line 5739  if test "${lt_cv_sys_max_cmd_len+set}" =
5739    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5740  else  else
5741      i=0      i=0
5742    testring="ABCD"    teststring="ABCD"
5743    
5744    case $build_os in    case $build_os in
5745    msdosdjgpp*)    msdosdjgpp*)
# Line 5544  else Line 5768  else
5768      lt_cv_sys_max_cmd_len=8192;      lt_cv_sys_max_cmd_len=8192;
5769      ;;      ;;
5770    
5771   *)    amigaos*)
5772        # On AmigaOS with pdksh, this test takes hours, literally.
5773        # So we just punt and use a minimum line length of 8192.
5774        lt_cv_sys_max_cmd_len=8192;
5775        ;;
5776    
5777      netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5778        # This has been around since 386BSD, at least.  Likely further.
5779        if test -x /sbin/sysctl; then
5780          lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5781        elif test -x /usr/sbin/sysctl; then
5782          lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5783        else
5784          lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5785        fi
5786        # And add a safety zone
5787        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5788        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5789        ;;
5790      osf*)
5791        # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5792        # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5793        # nice to cause kernel panics so lets avoid the loop below.
5794        # First set a reasonable default.
5795        lt_cv_sys_max_cmd_len=16384
5796        #
5797        if test -x /sbin/sysconfig; then
5798          case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5799            *1*) lt_cv_sys_max_cmd_len=-1 ;;
5800          esac
5801        fi
5802        ;;
5803      *)
5804      # If test is not a shell built-in, we'll probably end up computing a      # If test is not a shell built-in, we'll probably end up computing a
5805      # maximum length that is only half of the actual maximum length, but      # maximum length that is only half of the actual maximum length, but
5806      # we can't tell.      # we can't tell.
5807      while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5808                 = "XX$testring") >/dev/null 2>&1 &&      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5809              new_result=`expr "X$testring" : ".*" 2>&1` &&                 = "XX$teststring") >/dev/null 2>&1 &&
5810                new_result=`expr "X$teststring" : ".*" 2>&1` &&
5811              lt_cv_sys_max_cmd_len=$new_result &&              lt_cv_sys_max_cmd_len=$new_result &&
5812              test $i != 17 # 1/2 MB should be enough              test $i != 17 # 1/2 MB should be enough
5813      do      do
5814        i=`expr $i + 1`        i=`expr $i + 1`
5815        testring=$testring$testring        teststring=$teststring$teststring
5816      done      done
5817      testring=      teststring=
5818      # Add a significant safety factor because C++ compilers can tack on massive      # Add a significant safety factor because C++ compilers can tack on massive
5819      # amounts of additional arguments before passing them to the linker.      # amounts of additional arguments before passing them to the linker.
5820      # It appears as though 1/2 is a usable value.      # It appears as though 1/2 is a usable value.
# Line 5594  symcode='[BCDEGRST]' Line 5851  symcode='[BCDEGRST]'
5851  # Regexp to match symbols that can be accessed directly from C.  # Regexp to match symbols that can be accessed directly from C.
5852  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5853    
 # Transform the above into a raw symbol and a C symbol.  
 symxfrm='\1 \2\3 \3'  
   
5854  # Transform an extracted symbol line into a proper C declaration  # Transform an extracted symbol line into a proper C declaration
5855  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5856    
# Line 5618  hpux*) # Its linker distinguishes data f Line 5872  hpux*) # Its linker distinguishes data f
5872    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5873    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5874    ;;    ;;
5875    linux*)
5876      if test "$host_cpu" = ia64; then
5877        symcode='[ABCDGIRSTW]'
5878        lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5879        lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5880      fi
5881      ;;
5882  irix* | nonstopux*)  irix* | nonstopux*)
5883    symcode='[BCDEGRST]'    symcode='[BCDEGRST]'
5884    ;;    ;;
# Line 5649  esac Line 5910  esac
5910  # Try without a prefix undercore, then with it.  # Try without a prefix undercore, then with it.
5911  for ac_symprfx in "" "_"; do  for ac_symprfx in "" "_"; do
5912    
5913      # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5914      symxfrm="\\1 $ac_symprfx\\2 \\2"
5915    
5916    # Write the raw and C identifiers.    # Write the raw and C identifiers.
5917    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5918    
5919    # Check to see that the pipe works correctly.    # Check to see that the pipe works correctly.
5920    pipe_works=no    pipe_works=no
# Line 5812  esac Line 6076  esac
6076    
6077  # Sed substitution that helps us do robust quoting.  It backslashifies  # Sed substitution that helps us do robust quoting.  It backslashifies
6078  # metacharacters that are still active within double-quoted strings.  # metacharacters that are still active within double-quoted strings.
6079  Xsed='sed -e s/^X//'  Xsed='sed -e 1s/^X//'
6080  sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'  sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6081    
6082  # Same as above, but do not quote variable references.  # Same as above, but do not quote variable references.
# Line 5832  rm="rm -f" Line 6096  rm="rm -f"
6096  default_ofile=libtool  default_ofile=libtool
6097  can_build_shared=yes  can_build_shared=yes
6098    
6099  # All known linkers require a `.a' archive for static linking (except M$VC,  # All known linkers require a `.a' archive for static linking (except MSVC,
6100  # which needs '.lib').  # which needs '.lib').
6101  libext=a  libext=a
6102  ltmain="$ac_aux_dir/ltmain.sh"  ltmain="$ac_aux_dir/ltmain.sh"
# Line 6117  if test -n "$RANLIB"; then Line 6381  if test -n "$RANLIB"; then
6381    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6382  fi  fi
6383    
6384    for cc_temp in $compiler""; do
6385      case $cc_temp in
6386        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6387        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6388        \-*) ;;
6389        *) break;;
6390      esac
6391    done
6392    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6393    
6394    
6395  # Only perform the check for file, if the check method requires it  # Only perform the check for file, if the check method requires it
6396  case $deplibs_check_method in  case $deplibs_check_method in
6397  file_magic*)  file_magic*)
# Line 6142  else Line 6417  else
6417        if test -n "$file_magic_test_file"; then        if test -n "$file_magic_test_file"; then
6418          case $deplibs_check_method in          case $deplibs_check_method in
6419          "file_magic "*)          "file_magic "*)
6420            file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6421            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6422            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6423              $EGREP "$file_magic_regex" > /dev/null; then              $EGREP "$file_magic_regex" > /dev/null; then
# Line 6204  else Line 6479  else
6479        if test -n "$file_magic_test_file"; then        if test -n "$file_magic_test_file"; then
6480          case $deplibs_check_method in          case $deplibs_check_method in
6481          "file_magic "*)          "file_magic "*)
6482            file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"            file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6483            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6484            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6485              $EGREP "$file_magic_regex" > /dev/null; then              $EGREP "$file_magic_regex" > /dev/null; then
# Line 6303  LTCC=${LTCC-"$CC"} Line 6578  LTCC=${LTCC-"$CC"}
6578  compiler=$CC  compiler=$CC
6579    
6580    
6581    # save warnings/boilerplate of simple test code
6582    ac_outfile=conftest.$ac_objext
6583    printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6584    eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6585    _lt_compiler_boilerplate=`cat conftest.err`
6586    $rm conftest*
6587    
6588    ac_outfile=conftest.$ac_objext
6589    printf "$lt_simple_link_test_code" >conftest.$ac_ext
6590    eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6591    _lt_linker_boilerplate=`cat conftest.err`
6592    $rm conftest*
6593    
6594    
6595  #  #
6596  # Check for any special shared library compilation flags.  # Check for any special shared library compilation flags.
6597  #  #
# Line 6339  else Line 6628  else
6628     LDFLAGS="$LDFLAGS $lt_prog_compiler_static"     LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6629     printf "$lt_simple_link_test_code" > conftest.$ac_ext     printf "$lt_simple_link_test_code" > conftest.$ac_ext
6630     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6631       # The compiler can only warn and ignore the option if not recognized       # The linker can only warn and ignore the option if not recognized
6632       # So say no if there are warnings       # So say no if there are warnings
6633       if test -s conftest.err; then       if test -s conftest.err; then
6634         # Append any errors to the config.log.         # Append any errors to the config.log.
6635         cat conftest.err 1>&5         cat conftest.err 1>&5
6636           $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6637           $SED '/^$/d' conftest.err >conftest.er2
6638           if diff conftest.exp conftest.er2 >/dev/null; then
6639             lt_prog_compiler_static_works=yes
6640           fi
6641       else       else
6642         lt_prog_compiler_static_works=yes         lt_prog_compiler_static_works=yes
6643       fi       fi
# Line 6363  fi Line 6657  fi
6657    
6658    
6659    
6660    ## CAVEAT EMPTOR:
6661    ## There is no encapsulation within the following macros, do not change
6662    ## the running order or otherwise move them around unless you know exactly
6663    ## what you are doing...
6664    
6665  lt_prog_compiler_no_builtin_flag=  lt_prog_compiler_no_builtin_flag=
6666    
6667  if test "$GCC" = yes; then  if test "$GCC" = yes; then
6668    lt_prog_compiler_no_builtin_flag=' -fno-builtin'    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6669    
6670    echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5  
6671    echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6672  echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6  echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6673  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6674    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6384  else Line 6683  else
6683     # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
6684     # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
6685     lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
6686     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6687     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6688     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
6689     (eval echo "\"\$as_me:6390: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6689: $lt_compile\"" >&5)
6690     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
6691     ac_status=$?     ac_status=$?
6692     cat conftest.err >&5     cat conftest.err >&5
6693     echo "$as_me:6394: \$? = $ac_status" >&5     echo "$as_me:6693: \$? = $ac_status" >&5
6694     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
6695       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
6696       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
6697       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6698         $SED '/^$/d' conftest.err >conftest.er2
6699         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6700         lt_cv_prog_compiler_rtti_exceptions=yes         lt_cv_prog_compiler_rtti_exceptions=yes
6701       fi       fi
6702     fi     fi
# Line 6472  echo $ECHO_N "checking for $compiler opt Line 6773  echo $ECHO_N "checking for $compiler opt
6773      hpux*)      hpux*)
6774        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6775        # not for PA HP-UX.        # not for PA HP-UX.
6776        case "$host_cpu" in        case $host_cpu in
6777        hppa*64*|ia64*)        hppa*64*|ia64*)
6778          # +Z the default          # +Z the default
6779          ;;          ;;
# Line 6498  echo $ECHO_N "checking for $compiler opt Line 6799  echo $ECHO_N "checking for $compiler opt
6799          lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'          lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6800        fi        fi
6801        ;;        ;;
6802          darwin*)
6803            # PIC is the default on this platform
6804            # Common symbols not allowed in MH_DYLIB files
6805           case $cc_basename in
6806             xlc*)
6807             lt_prog_compiler_pic='-qnocommon'
6808             lt_prog_compiler_wl='-Wl,'
6809             ;;
6810           esac
6811           ;;
6812    
6813      mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
6814        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
# Line 6509  echo $ECHO_N "checking for $compiler opt Line 6820  echo $ECHO_N "checking for $compiler opt
6820        lt_prog_compiler_wl='-Wl,'        lt_prog_compiler_wl='-Wl,'
6821        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6822        # not for PA HP-UX.        # not for PA HP-UX.
6823        case "$host_cpu" in        case $host_cpu in
6824        hppa*64*|ia64*)        hppa*64*|ia64*)
6825          # +Z the default          # +Z the default
6826          ;;          ;;
# Line 6533  echo $ECHO_N "checking for $compiler opt Line 6844  echo $ECHO_N "checking for $compiler opt
6844        ;;        ;;
6845    
6846      linux*)      linux*)
6847        case $CC in        case $cc_basename in
6848        icc|ecc)        icc* | ecc*)
6849          lt_prog_compiler_wl='-Wl,'          lt_prog_compiler_wl='-Wl,'
6850          lt_prog_compiler_pic='-KPIC'          lt_prog_compiler_pic='-KPIC'
6851          lt_prog_compiler_static='-static'          lt_prog_compiler_static='-static'
6852          ;;          ;;
6853        ccc)        pgcc* | pgf77* | pgf90* | pgf95*)
6854          lt_prog_compiler_wl='-Wl,'          # Portland Group compilers (*not* the Pentium gcc compiler,
6855          # All Alpha code is PIC.          # which looks to be a dead project)
         lt_prog_compiler_static='-non_shared'  
         ;;  
       esac  
       ;;  
   
     freebsd*)  
       case $CC in  
       icc|ecc)  
6856          lt_prog_compiler_wl='-Wl,'          lt_prog_compiler_wl='-Wl,'
6857          lt_prog_compiler_pic='-KPIC'          lt_prog_compiler_pic='-fpic'
6858          lt_prog_compiler_static='-static'          lt_prog_compiler_static='-Bstatic'
6859          ;;          ;;
6860        ccc)        ccc*)
6861          lt_prog_compiler_wl='-Wl,'          lt_prog_compiler_wl='-Wl,'
6862          # All Alpha code is PIC.          # All Alpha code is PIC.
6863          lt_prog_compiler_static='-non_shared'          lt_prog_compiler_static='-non_shared'
# Line 6574  echo $ECHO_N "checking for $compiler opt Line 6877  echo $ECHO_N "checking for $compiler opt
6877        ;;        ;;
6878    
6879      solaris*)      solaris*)
       lt_prog_compiler_wl='-Wl,'  
6880        lt_prog_compiler_pic='-KPIC'        lt_prog_compiler_pic='-KPIC'
6881        lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
6882          case $cc_basename in
6883          f77* | f90* | f95*)
6884            lt_prog_compiler_wl='-Qoption ld ';;
6885          *)
6886            lt_prog_compiler_wl='-Wl,';;
6887          esac
6888        ;;        ;;
6889    
6890      sunos4*)      sunos4*)
# Line 6598  echo $ECHO_N "checking for $compiler opt Line 6906  echo $ECHO_N "checking for $compiler opt
6906        fi        fi
6907        ;;        ;;
6908    
6909        unicos*)
6910          lt_prog_compiler_wl='-Wl,'
6911          lt_prog_compiler_can_build_shared=no
6912          ;;
6913    
6914      uts4*)      uts4*)
6915        lt_prog_compiler_pic='-pic'        lt_prog_compiler_pic='-pic'
6916        lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
# Line 6616  echo "${ECHO_T}$lt_prog_compiler_pic" >& Line 6929  echo "${ECHO_T}$lt_prog_compiler_pic" >&
6929  # Check to make sure the PIC flag actually works.  # Check to make sure the PIC flag actually works.
6930  #  #
6931  if test -n "$lt_prog_compiler_pic"; then  if test -n "$lt_prog_compiler_pic"; then
6932    echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5  
6933    echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6934  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6935  if test "${lt_prog_compiler_pic_works+set}" = set; then  if test "${lt_prog_compiler_pic_works+set}" = set; then
6936    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6631  else Line 6945  else
6945     # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
6946     # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
6947     lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
6948     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6949     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6950     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
6951     (eval echo "\"\$as_me:6637: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6951: $lt_compile\"" >&5)
6952     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
6953     ac_status=$?     ac_status=$?
6954     cat conftest.err >&5     cat conftest.err >&5
6955     echo "$as_me:6641: \$? = $ac_status" >&5     echo "$as_me:6955: \$? = $ac_status" >&5
6956     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
6957       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
6958       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
6959       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6960         $SED '/^$/d' conftest.err >conftest.er2
6961         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6962         lt_prog_compiler_pic_works=yes         lt_prog_compiler_pic_works=yes
6963       fi       fi
6964     fi     fi
# Line 6663  else Line 6979  else
6979  fi  fi
6980    
6981  fi  fi
6982  case "$host_os" in  case $host_os in
6983    # For platforms which do not support PIC, -DPIC is meaningless:    # For platforms which do not support PIC, -DPIC is meaningless:
6984    *djgpp*)    *djgpp*)
6985      lt_prog_compiler_pic=      lt_prog_compiler_pic=
# Line 6685  else Line 7001  else
7001     mkdir out     mkdir out
7002     printf "$lt_simple_compile_test_code" > conftest.$ac_ext     printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7003    
    # According to Tom Tromey, Ian Lance Taylor reported there are C compilers  
    # that will create temporary files in the current directory regardless of  
    # the output directory.  Thus, making CWD read-only will cause this test  
    # to fail, enabling locking or at least warning the user not to do parallel  
    # builds.  
    chmod -w .  
   
7004     lt_compiler_flag="-o out/conftest2.$ac_objext"     lt_compiler_flag="-o out/conftest2.$ac_objext"
7005     # Insert the option either (1) after the last *FLAGS variable, or     # Insert the option either (1) after the last *FLAGS variable, or
7006     # (2) before a word containing "conftest.", or (3) at the end.     # (2) before a word containing "conftest.", or (3) at the end.
7007     # Note that $ac_compile itself does not contain backslashes and begins     # Note that $ac_compile itself does not contain backslashes and begins
7008     # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
7009     lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
7010     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7011     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7012     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
7013     (eval echo "\"\$as_me:6704: $lt_compile\"" >&5)     (eval echo "\"\$as_me:7013: $lt_compile\"" >&5)
7014     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
7015     ac_status=$?     ac_status=$?
7016     cat out/conftest.err >&5     cat out/conftest.err >&5
7017     echo "$as_me:6708: \$? = $ac_status" >&5     echo "$as_me:7017: \$? = $ac_status" >&5
7018     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
7019     then     then
7020       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
7021       # So say no if there are warnings       # So say no if there are warnings
7022       if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
7023         $SED '/^$/d' out/conftest.err >out/conftest.er2
7024         if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7025         lt_cv_prog_compiler_c_o=yes         lt_cv_prog_compiler_c_o=yes
7026       fi       fi
7027     fi     fi
7028     chmod u+w .     chmod u+w . 2>&5
7029     $rm conftest* out/*     $rm conftest*
7030     rmdir out     # SGI C++ compiler will create directory out/ii_files/ for
7031       # template instantiation
7032       test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7033       $rm out/* && rmdir out
7034     cd ..     cd ..
7035     rmdir conftest     rmdir conftest
7036     $rm conftest*     $rm conftest*
# Line 6787  echo $ECHO_N "checking whether the $comp Line 7101  echo $ECHO_N "checking whether the $comp
7101    # rely on this symbol name, it's probably fine to never include it in    # rely on this symbol name, it's probably fine to never include it in
7102    # preloaded symbol tables.    # preloaded symbol tables.
7103    extract_expsyms_cmds=    extract_expsyms_cmds=
7104      # Just being paranoid about ensuring that cc_basename is set.
7105      for cc_temp in $compiler""; do
7106      case $cc_temp in
7107        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7108        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7109        \-*) ;;
7110        *) break;;
7111      esac
7112    done
7113    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7114    
7115    case $host_os in    case $host_os in
7116    cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
# Line 6807  echo $ECHO_N "checking whether the $comp Line 7131  echo $ECHO_N "checking whether the $comp
7131      # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
7132      wlarc='${wl}'      wlarc='${wl}'
7133    
7134        # Set some defaults for GNU ld with shared library support. These
7135        # are reset later if shared libraries are not supported. Putting them
7136        # here allows them to be overridden if necessary.
7137        runpath_var=LD_RUN_PATH
7138        hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7139        export_dynamic_flag_spec='${wl}--export-dynamic'
7140        # ancient GNU ld didn't support --whole-archive et. al.
7141        if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7142            whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7143          else
7144            whole_archive_flag_spec=
7145        fi
7146        supports_anon_versioning=no
7147        case `$LD -v 2>/dev/null` in
7148          *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7149          *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7150          *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7151          *\ 2.11.*) ;; # other 2.11 versions
7152          *) supports_anon_versioning=yes ;;
7153        esac
7154    
7155      # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
7156      case $host_os in      case $host_os in
7157      aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
# Line 6857  EOF Line 7202  EOF
7202        allow_undefined_flag=unsupported        allow_undefined_flag=unsupported
7203        always_export_symbols=no        always_export_symbols=no
7204        enable_shared_with_static_runtimes=yes        enable_shared_with_static_runtimes=yes
7205        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7206    
7207        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7208          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
# Line 6875  EOF Line 7220  EOF
7220        fi        fi
7221        ;;        ;;
7222    
7223        linux*)
7224          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7225            tmp_addflag=
7226            case $cc_basename,$host_cpu in
7227            pgcc*)                          # Portland Group C compiler
7228              whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7229              tmp_addflag=' $pic_flag'
7230              ;;
7231            pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7232              whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7233              tmp_addflag=' $pic_flag -Mnomain' ;;
7234            ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
7235              tmp_addflag=' -i_dynamic' ;;
7236            efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7237              tmp_addflag=' -i_dynamic -nofor_main' ;;
7238            ifc* | ifort*)                  # Intel Fortran compiler
7239              tmp_addflag=' -nofor_main' ;;
7240            esac
7241            archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7242    
7243            if test $supports_anon_versioning = yes; then
7244              archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7245      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7246      $echo "local: *; };" >> $output_objdir/$libname.ver~
7247              $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7248            fi
7249          else
7250            ld_shlibs=no
7251          fi
7252          ;;
7253    
7254      netbsd*)      netbsd*)
7255        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7256          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
# Line 6913  EOF Line 7289  EOF
7289        hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
7290        ;;        ;;
7291    
   linux*)  
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
         archive_cmds="$tmp_archive_cmds"  
       supports_anon_versioning=no  
       case `$LD -v 2>/dev/null` in  
         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11  
         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...  
         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...  
         *\ 2.11.*) ;; # other 2.11 versions  
         *) supports_anon_versioning=yes ;;  
       esac  
       if test $supports_anon_versioning = yes; then  
         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~  
 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~  
 $echo "local: *; };" >> $output_objdir/$libname.ver~  
         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'  
       else  
         archive_expsym_cmds="$tmp_archive_cmds"  
       fi  
     else  
       ld_shlibs=no  
     fi  
     ;;  
   
7292      *)      *)
7293        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7294          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
# Line 6948  $echo "local: *; };" >> $output_objdir/$ Line 7299  $echo "local: *; };" >> $output_objdir/$
7299        ;;        ;;
7300      esac      esac
7301    
7302      if test "$ld_shlibs" = yes; then      if test "$ld_shlibs" = no; then
7303        runpath_var=LD_RUN_PATH        runpath_var=
7304        hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec=
7305        export_dynamic_flag_spec='${wl}--export-dynamic'        export_dynamic_flag_spec=
7306        # ancient GNU ld didn't support --whole-archive et. al.        whole_archive_flag_spec=
       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then  
         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'  
       else  
         whole_archive_flag_spec=  
       fi  
7307      fi      fi
7308    else    else
7309      # PORTME fill in a description of your system's linker (not GNU ld)      # PORTME fill in a description of your system's linker (not GNU ld)
# Line 7021  $echo "local: *; };" >> $output_objdir/$ Line 7367  $echo "local: *; };" >> $output_objdir/$
7367        link_all_deplibs=yes        link_all_deplibs=yes
7368    
7369        if test "$GCC" = yes; then        if test "$GCC" = yes; then
7370          case $host_os in aix4.012|aix4.012.*)          case $host_os in aix4.[012]|aix4.[012].*)
7371          # We only want to do this on AIX 4.2 and lower, the check          # We only want to do this on AIX 4.2 and lower, the check
7372          # below for broken collect2 doesn't work under 4.3+          # below for broken collect2 doesn't work under 4.3+
7373            collect2name=`${CC} -print-prog-name=collect2`            collect2name=`${CC} -print-prog-name=collect2`
# Line 7042  $echo "local: *; };" >> $output_objdir/$ Line 7388  $echo "local: *; };" >> $output_objdir/$
7388            fi            fi
7389          esac          esac
7390          shared_flag='-shared'          shared_flag='-shared'
7391            if test "$aix_use_runtimelinking" = yes; then
7392              shared_flag="$shared_flag "'${wl}-G'
7393            fi
7394        else        else
7395          # not using gcc          # not using gcc
7396          if test "$host_cpu" = ia64; then          if test "$host_cpu" = ia64; then
# Line 7066  $echo "local: *; };" >> $output_objdir/$ Line 7415  $echo "local: *; };" >> $output_objdir/$
7415          allow_undefined_flag='-berok'          allow_undefined_flag='-berok'
7416         # Determine the default libpath from the value encoded in an empty executable.         # Determine the default libpath from the value encoded in an empty executable.
7417         cat >conftest.$ac_ext <<_ACEOF         cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7418  /* confdefs.h.  */  /* confdefs.h.  */
7419  _ACEOF  _ACEOF
7420  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7083  main () Line 7431  main ()
7431  _ACEOF  _ACEOF
7432  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7433  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7434    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7435    ac_status=$?    ac_status=$?
7436      grep -v '^ *+' conftest.er1 >conftest.err
7437      rm -f conftest.er1
7438      cat conftest.err >&5
7439    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440    (exit $ac_status); } &&    (exit $ac_status); } &&
7441           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
7442                             || test ! -s conftest.err'
7443      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444      (eval $ac_try) 2>&5
7445      ac_status=$?
7446      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447      (exit $ac_status); }; } &&
7448             { ac_try='test -s conftest$ac_exeext'
7449    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7450    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7451    ac_status=$?    ac_status=$?
# Line 7104  else Line 7462  else
7462  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7463    
7464  fi  fi
7465  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7466          conftest$ac_exeext conftest.$ac_ext
7467  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7468    
7469         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 7117  if test -z "$aix_libpath"; then aix_libp Line 7476  if test -z "$aix_libpath"; then aix_libp
7476          else          else
7477           # Determine the default libpath from the value encoded in an empty executable.           # Determine the default libpath from the value encoded in an empty executable.
7478           cat >conftest.$ac_ext <<_ACEOF           cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7479  /* confdefs.h.  */  /* confdefs.h.  */
7480  _ACEOF  _ACEOF
7481  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7134  main () Line 7492  main ()
7492  _ACEOF  _ACEOF
7493  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7494  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7495    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7496    ac_status=$?    ac_status=$?
7497      grep -v '^ *+' conftest.er1 >conftest.err
7498      rm -f conftest.er1
7499      cat conftest.err >&5
7500    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501    (exit $ac_status); } &&    (exit $ac_status); } &&
7502           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
7503                             || test ! -s conftest.err'
7504      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505      (eval $ac_try) 2>&5
7506      ac_status=$?
7507      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508      (exit $ac_status); }; } &&
7509             { ac_try='test -s conftest$ac_exeext'
7510    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7512    ac_status=$?    ac_status=$?
# Line 7155  else Line 7523  else
7523  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7524    
7525  fi  fi
7526  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7527          conftest$ac_exeext conftest.$ac_ext
7528  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7529    
7530           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"           hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
# Line 7168  if test -z "$aix_libpath"; then aix_libp Line 7537  if test -z "$aix_libpath"; then aix_libp
7537            # Exported symbols can be pulled into shared objects from archives            # Exported symbols can be pulled into shared objects from archives
7538            whole_archive_flag_spec=' '            whole_archive_flag_spec=' '
7539            archive_cmds_need_lc=yes            archive_cmds_need_lc=yes
7540            # This is similar to how AIX traditionally builds it's shared libraries.            # This is similar to how AIX traditionally builds its shared libraries.
7541            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7542          fi          fi
7543        fi        fi
# Line 7182  if test -z "$aix_libpath"; then aix_libp Line 7551  if test -z "$aix_libpath"; then aix_libp
7551        ld_shlibs=no        ld_shlibs=no
7552        ;;        ;;
7553    
7554      bsdi4*)      bsdi[45]*)
7555        export_dynamic_flag_spec=-rdynamic        export_dynamic_flag_spec=-rdynamic
7556        ;;        ;;
7557    
# Line 7196  if test -z "$aix_libpath"; then aix_libp Line 7565  if test -z "$aix_libpath"; then aix_libp
7565        # Tell ltmain to make .lib files, not .a files.        # Tell ltmain to make .lib files, not .a files.
7566        libext=lib        libext=lib
7567        # Tell ltmain to make .dll files, not .so files.        # Tell ltmain to make .dll files, not .so files.
7568        shrext=".dll"        shrext_cmds=".dll"
7569        # FIXME: Setting linknames here is a bad hack.        # FIXME: Setting linknames here is a bad hack.
7570        archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='        archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7571        # The linker will automatically build a .lib file if we build a DLL.        # The linker will automatically build a .lib file if we build a DLL.
# Line 7208  if test -z "$aix_libpath"; then aix_libp Line 7577  if test -z "$aix_libpath"; then aix_libp
7577        ;;        ;;
7578    
7579      darwin* | rhapsody*)      darwin* | rhapsody*)
7580      if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then        case $host_os in
7581        archive_cmds_need_lc=no          rhapsody* | darwin1.[012])
7582        case "$host_os" in           allow_undefined_flag='${wl}-undefined ${wl}suppress'
7583        rhapsody* | darwin1.[012])           ;;
7584          allow_undefined_flag='-undefined suppress'         *) # Darwin 1.3 on
7585          ;;           if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7586        *) # Darwin 1.3 on             allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7587          test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'           else
7588          ;;             case ${MACOSX_DEPLOYMENT_TARGET} in
7589                 10.[012])
7590                   allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7591                   ;;
7592                 10.*)
7593                   allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7594                   ;;
7595               esac
7596             fi
7597             ;;
7598        esac        esac
7599        # FIXME: Relying on posixy $() will cause problems for        archive_cmds_need_lc=no
       #        cross-compilation, but unfortunately the echo tests do not  
       #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles  
       #        `"' quotes if we put them in here... so don't!  
         lt_int_apple_cc_single_mod=no  
         output_verbose_link_cmd='echo'  
         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then  
           lt_int_apple_cc_single_mod=yes  
         fi  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
         else  
         archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
       fi  
       module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'  
       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         else  
           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         fi  
           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
7600        hardcode_direct=no        hardcode_direct=no
7601        hardcode_automatic=yes        hardcode_automatic=yes
7602        hardcode_shlibpath_var=unsupported        hardcode_shlibpath_var=unsupported
7603        whole_archive_flag_spec='-all_load $convenience'        whole_archive_flag_spec=''
7604        link_all_deplibs=yes        link_all_deplibs=yes
7605        if test "$GCC" = yes ; then
7606            output_verbose_link_cmd='echo'
7607            archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7608          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7609          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7610          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7611          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7612        else
7613          case $cc_basename in
7614            xlc*)
7615             output_verbose_link_cmd='echo'
7616             archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7617             module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7618              # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7619             archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7620              module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7621              ;;
7622           *)
7623             ld_shlibs=no
7624              ;;
7625          esac
7626      fi      fi
7627        ;;        ;;
7628    
# Line 7278  if test -z "$aix_libpath"; then aix_libp Line 7656  if test -z "$aix_libpath"; then aix_libp
7656        ;;        ;;
7657    
7658      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7659      freebsd*)      freebsd* | kfreebsd*-gnu | dragonfly*)
7660        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7661        hardcode_libdir_flag_spec='-R$libdir'        hardcode_libdir_flag_spec='-R$libdir'
7662        hardcode_direct=yes        hardcode_direct=yes
# Line 7303  if test -z "$aix_libpath"; then aix_libp Line 7681  if test -z "$aix_libpath"; then aix_libp
7681    
7682      hpux10* | hpux11*)      hpux10* | hpux11*)
7683        if test "$GCC" = yes -a "$with_gnu_ld" = no; then        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7684          case "$host_cpu" in          case $host_cpu in
7685          hppa*64*|ia64*)          hppa*64*|ia64*)
7686            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7687            ;;            ;;
# Line 7312  if test -z "$aix_libpath"; then aix_libp Line 7690  if test -z "$aix_libpath"; then aix_libp
7690            ;;            ;;
7691          esac          esac
7692        else        else
7693          case "$host_cpu" in          case $host_cpu in
7694          hppa*64*|ia64*)          hppa*64*|ia64*)
7695            archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'            archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7696            ;;            ;;
# Line 7322  if test -z "$aix_libpath"; then aix_libp Line 7700  if test -z "$aix_libpath"; then aix_libp
7700          esac          esac
7701        fi        fi
7702        if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
7703          case "$host_cpu" in          case $host_cpu in
7704          hppa*64*)          hppa*64*)
7705            hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'            hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7706            hardcode_libdir_flag_spec_ld='+b $libdir'            hardcode_libdir_flag_spec_ld='+b $libdir'
# Line 7389  if test -z "$aix_libpath"; then aix_libp Line 7767  if test -z "$aix_libpath"; then aix_libp
7767        hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
7768        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7769          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7770            archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7771          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7772          export_dynamic_flag_spec='${wl}-E'          export_dynamic_flag_spec='${wl}-E'
7773        else        else
# Line 7434  if test -z "$aix_libpath"; then aix_libp Line 7813  if test -z "$aix_libpath"; then aix_libp
7813          allow_undefined_flag=' -expect_unresolved \*'          allow_undefined_flag=' -expect_unresolved \*'
7814          archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'          archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7815          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7816          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7817    
7818          # Both c and cxx compiler support -rpath directly          # Both c and cxx compiler support -rpath directly
7819          hardcode_libdir_flag_spec='-rpath $libdir'          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 7453  if test -z "$aix_libpath"; then aix_libp Line 7832  if test -z "$aix_libpath"; then aix_libp
7832      solaris*)      solaris*)
7833        no_undefined_flag=' -z text'        no_undefined_flag=' -z text'
7834        if test "$GCC" = yes; then        if test "$GCC" = yes; then
7835            wlarc='${wl}'
7836          archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7837          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7838            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7839        else        else
7840            wlarc=''
7841          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7842          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7843          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
# Line 7465  if test -z "$aix_libpath"; then aix_libp Line 7846  if test -z "$aix_libpath"; then aix_libp
7846        hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
7847        case $host_os in        case $host_os in
7848        solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
7849        *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
7850          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;          # The compiler driver will combine linker options so we
7851            # cannot just pass the convience library names through
7852            # without $wl, iff we do not link with $LD.
7853            # Luckily, gcc supports the same syntax we need for Sun Studio.
7854            # Supported since Solaris 2.6 (maybe 2.5.1?)
7855            case $wlarc in
7856            '')
7857              whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7858            *)
7859              whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7860            esac ;;
7861        esac        esac
7862        link_all_deplibs=yes        link_all_deplibs=yes
7863        ;;        ;;
# Line 7638  echo "${ECHO_T}$archive_cmds_need_lc" >& Line 8029  echo "${ECHO_T}$archive_cmds_need_lc" >&
8029    ;;    ;;
8030  esac  esac
8031    
 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5  
 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  
 hardcode_action=  
 if test -n "$hardcode_libdir_flag_spec" || \  
    test -n "$runpath_var " || \  
    test "X$hardcode_automatic"="Xyes" ; then  
   
   # We can hardcode non-existant directories.  
   if test "$hardcode_direct" != no &&  
      # If the only mechanism to avoid hardcoding is shlibpath_var, we  
      # have to relink, otherwise we might link with an installed library  
      # when we should be linking with a yet-to-be-installed one  
      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&  
      test "$hardcode_minus_L" != no; then  
     # Linking always hardcodes the temporary library directory.  
     hardcode_action=relink  
   else  
     # We can link without hardcoding, and we can hardcode nonexisting dirs.  
     hardcode_action=immediate  
   fi  
 else  
   # We cannot hardcode anything, or else we can only hardcode existing  
   # directories.  
   hardcode_action=unsupported  
 fi  
 echo "$as_me:$LINENO: result: $hardcode_action" >&5  
 echo "${ECHO_T}$hardcode_action" >&6  
   
 if test "$hardcode_action" = relink; then  
   # Fast installation is not supported  
   enable_fast_install=no  
 elif test "$shlibpath_overrides_runpath" = yes ||  
      test "$enable_shared" = no; then  
   # Fast installation is not necessary  
   enable_fast_install=needless  
 fi  
   
 striplib=  
 old_striplib=  
 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5  
 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6  
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"  
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"  
   echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
 else  
 # FIXME - insert some real tests, host_os isn't really good enough  
   case $host_os in  
    darwin*)  
        if test -n "$STRIP" ; then  
          striplib="$STRIP -x"  
          echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
        else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
        ;;  
    *)  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
     ;;  
   esac  
 fi  
   
8032  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5  echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8033  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8034  library_names_spec=  library_names_spec=
8035  libname_spec='lib$name'  libname_spec='lib$name'
8036  soname_spec=  soname_spec=
8037  shrext=".so"  shrext_cmds=".so"
8038  postinstall_cmds=  postinstall_cmds=
8039  postuninstall_cmds=  postuninstall_cmds=
8040  finish_cmds=  finish_cmds=
# Line 7797  aix4* | aix5*) Line 8122  aix4* | aix5*)
8122  amigaos*)  amigaos*)
8123    library_names_spec='$libname.ixlibrary $libname.a'    library_names_spec='$libname.ixlibrary $libname.a'
8124    # Create ${libname}_ixlibrary.a entries in /sys/libs.    # Create ${libname}_ixlibrary.a entries in /sys/libs.
8125    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8126    ;;    ;;
8127    
8128  beos*)  beos*)
# Line 7806  beos*) Line 8131  beos*)
8131    shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
8132    ;;    ;;
8133    
8134  bsdi4*)  bsdi[45]*)
8135    version_type=linux    version_type=linux
8136    need_version=no    need_version=no
8137    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 7822  bsdi4*) Line 8147  bsdi4*)
8147    
8148  cygwin* | mingw* | pw32*)  cygwin* | mingw* | pw32*)
8149    version_type=windows    version_type=windows
8150    shrext=".dll"    shrext_cmds=".dll"
8151    need_version=no    need_version=no
8152    need_lib_prefix=no    need_lib_prefix=no
8153    
# Line 7834  cygwin* | mingw* | pw32*) Line 8159  cygwin* | mingw* | pw32*)
8159        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8160        dldir=$destdir/`dirname \$dlpath`~        dldir=$destdir/`dirname \$dlpath`~
8161        test -d \$dldir || mkdir -p \$dldir~        test -d \$dldir || mkdir -p \$dldir~
8162        $install_prog $dir/$dlname \$dldir/$dlname'        $install_prog $dir/$dlname \$dldir/$dlname~
8163          chmod a+x \$dldir/$dlname'
8164      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8165        dlpath=$dir/\$dldll~        dlpath=$dir/\$dldll~
8166         $rm \$dlpath'         $rm \$dlpath'
# Line 7844  cygwin* | mingw* | pw32*) Line 8170  cygwin* | mingw* | pw32*)
8170      cygwin*)      cygwin*)
8171        # Cygwin DLLs use 'cyg' prefix rather than 'lib'        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8172        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8173        sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"        sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8174        ;;        ;;
8175      mingw*)      mingw*)
8176        # MinGW DLLs use traditional 'lib' prefix        # MinGW DLLs use traditional 'lib' prefix
# Line 7864  cygwin* | mingw* | pw32*) Line 8190  cygwin* | mingw* | pw32*)
8190        ;;        ;;
8191      pw32*)      pw32*)
8192        # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
8193        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8194        ;;        ;;
8195      esac      esac
8196      ;;      ;;
# Line 7883  darwin* | rhapsody*) Line 8209  darwin* | rhapsody*)
8209    version_type=darwin    version_type=darwin
8210    need_lib_prefix=no    need_lib_prefix=no
8211    need_version=no    need_version=no
   # FIXME: Relying on posixy $() will cause problems for  
   #        cross-compilation, but unfortunately the echo tests do not  
   #        yet detect zsh echo's removal of \ escapes.  
8212    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'    library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8213    soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
8214    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
8215    shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
8216    shrext='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8217    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8218    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then    if test "$GCC" = yes; then
8219    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`      sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8220      else
8221        sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8222    fi    fi
8223    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8224    ;;    ;;
# Line 7911  freebsd1*) Line 8236  freebsd1*)
8236    dynamic_linker=no    dynamic_linker=no
8237    ;;    ;;
8238    
8239  freebsd*)  kfreebsd*-gnu)
8240    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    version_type=linux
8241      need_lib_prefix=no
8242      need_version=no
8243      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8244      soname_spec='${libname}${release}${shared_ext}$major'
8245      shlibpath_var=LD_LIBRARY_PATH
8246      shlibpath_overrides_runpath=no
8247      hardcode_into_libs=yes
8248      dynamic_linker='GNU ld.so'
8249      ;;
8250    
8251    freebsd* | dragonfly*)
8252      # DragonFly does not have aout.  When/if they implement a new
8253      # versioning mechanism, adjust this.
8254      if test -x /usr/bin/objformat; then
8255        objformat=`/usr/bin/objformat`
8256      else
8257        case $host_os in
8258        freebsd[123]*) objformat=aout ;;
8259        *) objformat=elf ;;
8260        esac
8261      fi
8262    version_type=freebsd-$objformat    version_type=freebsd-$objformat
8263    case $version_type in    case $version_type in
8264      freebsd-elf*)      freebsd-elf*)
# Line 7930  freebsd*) Line 8276  freebsd*)
8276    freebsd2*)    freebsd2*)
8277      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
8278      ;;      ;;
8279    freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
8280      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
8281      hardcode_into_libs=yes      hardcode_into_libs=yes
8282      ;;      ;;
# Line 7957  hpux9* | hpux10* | hpux11*) Line 8303  hpux9* | hpux10* | hpux11*)
8303    version_type=sunos    version_type=sunos
8304    need_lib_prefix=no    need_lib_prefix=no
8305    need_version=no    need_version=no
8306    case "$host_cpu" in    case $host_cpu in
8307    ia64*)    ia64*)
8308      shrext='.so'      shrext_cmds='.so'
8309      hardcode_into_libs=yes      hardcode_into_libs=yes
8310      dynamic_linker="$host_os dld.so"      dynamic_linker="$host_os dld.so"
8311      shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
# Line 7974  hpux9* | hpux10* | hpux11*) Line 8320  hpux9* | hpux10* | hpux11*)
8320      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8321      ;;      ;;
8322     hppa*64*)     hppa*64*)
8323       shrext='.sl'       shrext_cmds='.sl'
8324       hardcode_into_libs=yes       hardcode_into_libs=yes
8325       dynamic_linker="$host_os dld.sl"       dynamic_linker="$host_os dld.sl"
8326       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
# Line 7985  hpux9* | hpux10* | hpux11*) Line 8331  hpux9* | hpux10* | hpux11*)
8331       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8332       ;;       ;;
8333     *)     *)
8334      shrext='.sl'      shrext_cmds='.sl'
8335      dynamic_linker="$host_os dld.sl"      dynamic_linker="$host_os dld.sl"
8336      shlibpath_var=SHLIB_PATH      shlibpath_var=SHLIB_PATH
8337      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
# Line 8054  linux*) Line 8400  linux*)
8400    # before this can be enabled.    # before this can be enabled.
8401    hardcode_into_libs=yes    hardcode_into_libs=yes
8402    
8403      # Append ld.so.conf contents to the search path
8404      if test -f /etc/ld.so.conf; then
8405        lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8406        sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8407      fi
8408    
8409    # 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
8410    # powerpc, because MkLinux only supported shared libraries with the    # powerpc, because MkLinux only supported shared libraries with the
8411    # GNU dynamic linker.  Since this was broken with cross compilers,    # GNU dynamic linker.  Since this was broken with cross compilers,
# Line 8061  linux*) Line 8413  linux*)
8413    # people can always --disable-shared, the test was removed, and we    # people can always --disable-shared, the test was removed, and we
8414    # assume the GNU/Linux dynamic linker is in use.    # assume the GNU/Linux dynamic linker is in use.
8415    dynamic_linker='GNU/Linux ld.so'    dynamic_linker='GNU/Linux ld.so'
8416      ;;
8417    
8418    # Find out which ABI we are using (multilib Linux x86_64 hack).  knetbsd*-gnu)
8419    libsuff=    version_type=linux
8420    case "$host_cpu" in    need_lib_prefix=no
8421    x86_64*|s390x*|powerpc64*)    need_version=no
8422      echo '#line 8069 "configure"' > conftest.$ac_ext    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8423      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    soname_spec='${libname}${release}${shared_ext}$major'
8424    (eval $ac_compile) 2>&5    shlibpath_var=LD_LIBRARY_PATH
8425    ac_status=$?    shlibpath_overrides_runpath=no
8426    echo "$as_me:$LINENO: \$? = $ac_status" >&5    hardcode_into_libs=yes
8427    (exit $ac_status); }; then    dynamic_linker='GNU ld.so'
       case `/usr/bin/file conftest.$ac_objext` in  
       *64-bit*)  
         libsuff=64  
         ;;  
       esac  
     fi  
     rm -rf conftest*  
     ;;  
   *)  
     ;;  
   esac  
   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"  
   sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"  
8428    ;;    ;;
8429    
8430  netbsd*)  netbsd*)
# Line 8096  netbsd*) Line 8436  netbsd*)
8436      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8437      dynamic_linker='NetBSD (a.out) ld.so'      dynamic_linker='NetBSD (a.out) ld.so'
8438    else    else
8439      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8440      soname_spec='${libname}${release}${shared_ext}$major'      soname_spec='${libname}${release}${shared_ext}$major'
8441      dynamic_linker='NetBSD ld.elf_so'      dynamic_linker='NetBSD ld.elf_so'
8442    fi    fi
# Line 8112  newsos6) Line 8452  newsos6)
8452    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
8453    ;;    ;;
8454    
8455  nto-qnx)  nto-qnx*)
8456    version_type=linux    version_type=linux
8457    need_lib_prefix=no    need_lib_prefix=no
8458    need_version=no    need_version=no
# Line 8125  nto-qnx) Line 8465  nto-qnx)
8465  openbsd*)  openbsd*)
8466    version_type=sunos    version_type=sunos
8467    need_lib_prefix=no    need_lib_prefix=no
8468    need_version=no    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8469      case $host_os in
8470        openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8471        *)                         need_version=no  ;;
8472      esac
8473    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8474    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8475    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 8145  openbsd*) Line 8489  openbsd*)
8489    
8490  os2*)  os2*)
8491    libname_spec='$name'    libname_spec='$name'
8492    shrext=".dll"    shrext_cmds=".dll"
8493    need_lib_prefix=no    need_lib_prefix=no
8494    library_names_spec='$libname${shared_ext} $libname.a'    library_names_spec='$libname${shared_ext} $libname.a'
8495    dynamic_linker='OS/2 ld.exe'    dynamic_linker='OS/2 ld.exe'
# Line 8243  echo "$as_me:$LINENO: result: $dynamic_l Line 8587  echo "$as_me:$LINENO: result: $dynamic_l
8587  echo "${ECHO_T}$dynamic_linker" >&6  echo "${ECHO_T}$dynamic_linker" >&6
8588  test "$dynamic_linker" = no && can_build_shared=no  test "$dynamic_linker" = no && can_build_shared=no
8589    
8590    echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8591    echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8592    hardcode_action=
8593    if test -n "$hardcode_libdir_flag_spec" || \
8594       test -n "$runpath_var" || \
8595       test "X$hardcode_automatic" = "Xyes" ; then
8596    
8597      # We can hardcode non-existant directories.
8598      if test "$hardcode_direct" != no &&
8599         # If the only mechanism to avoid hardcoding is shlibpath_var, we
8600         # have to relink, otherwise we might link with an installed library
8601         # when we should be linking with a yet-to-be-installed one
8602         ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8603         test "$hardcode_minus_L" != no; then
8604        # Linking always hardcodes the temporary library directory.
8605        hardcode_action=relink
8606      else
8607        # We can link without hardcoding, and we can hardcode nonexisting dirs.
8608        hardcode_action=immediate
8609      fi
8610    else
8611      # We cannot hardcode anything, or else we can only hardcode existing
8612      # directories.
8613      hardcode_action=unsupported
8614    fi
8615    echo "$as_me:$LINENO: result: $hardcode_action" >&5
8616    echo "${ECHO_T}$hardcode_action" >&6
8617    
8618    if test "$hardcode_action" = relink; then
8619      # Fast installation is not supported
8620      enable_fast_install=no
8621    elif test "$shlibpath_overrides_runpath" = yes ||
8622         test "$enable_shared" = no; then
8623      # Fast installation is not necessary
8624      enable_fast_install=needless
8625    fi
8626    
8627    striplib=
8628    old_striplib=
8629    echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8630    echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8631    if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8632      test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8633      test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8634      echo "$as_me:$LINENO: result: yes" >&5
8635    echo "${ECHO_T}yes" >&6
8636    else
8637    # FIXME - insert some real tests, host_os isn't really good enough
8638      case $host_os in
8639       darwin*)
8640           if test -n "$STRIP" ; then
8641             striplib="$STRIP -x"
8642             echo "$as_me:$LINENO: result: yes" >&5
8643    echo "${ECHO_T}yes" >&6
8644           else
8645      echo "$as_me:$LINENO: result: no" >&5
8646    echo "${ECHO_T}no" >&6
8647    fi
8648           ;;
8649       *)
8650      echo "$as_me:$LINENO: result: no" >&5
8651    echo "${ECHO_T}no" >&6
8652        ;;
8653      esac
8654    fi
8655    
8656  if test "x$enable_dlopen" != xyes; then  if test "x$enable_dlopen" != xyes; then
8657    enable_dlopen=unknown    enable_dlopen=unknown
8658    enable_dlopen_self=unknown    enable_dlopen_self=unknown
# Line 8278  else Line 8688  else
8688    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8689  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
8690  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8691  /* confdefs.h.  */  /* confdefs.h.  */
8692  _ACEOF  _ACEOF
8693  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8302  dlopen (); Line 8711  dlopen ();
8711  _ACEOF  _ACEOF
8712  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8713  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8714    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8715    ac_status=$?    ac_status=$?
8716      grep -v '^ *+' conftest.er1 >conftest.err
8717      rm -f conftest.er1
8718      cat conftest.err >&5
8719    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720    (exit $ac_status); } &&    (exit $ac_status); } &&
8721           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
8722                             || test ! -s conftest.err'
8723      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724      (eval $ac_try) 2>&5
8725      ac_status=$?
8726      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727      (exit $ac_status); }; } &&
8728             { ac_try='test -s conftest$ac_exeext'
8729    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8731    ac_status=$?    ac_status=$?
# Line 8319  sed 's/^/| /' conftest.$ac_ext >&5 Line 8738  sed 's/^/| /' conftest.$ac_ext >&5
8738    
8739  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
8740  fi  fi
8741  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8742          conftest$ac_exeext conftest.$ac_ext
8743  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8744  fi  fi
8745  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 8343  if test "${ac_cv_func_shl_load+set}" = s Line 8763  if test "${ac_cv_func_shl_load+set}" = s
8763    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8764  else  else
8765    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8766  /* confdefs.h.  */  /* confdefs.h.  */
8767  _ACEOF  _ACEOF
8768  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
8769  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
8770  /* end confdefs.h.  */  /* end confdefs.h.  */
8771    /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8772       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8773    #define shl_load innocuous_shl_load
8774    
8775  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8776      which can conflict with char shl_load (); below.      which can conflict with char shl_load (); below.
8777      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8778      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
8779    
8780  #ifdef __STDC__  #ifdef __STDC__
8781  # include <limits.h>  # include <limits.h>
8782  #else  #else
8783  # include <assert.h>  # include <assert.h>
8784  #endif  #endif
8785    
8786    #undef shl_load
8787    
8788  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8789  #ifdef __cplusplus  #ifdef __cplusplus
8790  extern "C"  extern "C"
# Line 8388  return f != shl_load; Line 8815  return f != shl_load;
8815  _ACEOF  _ACEOF
8816  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8817  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8818    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8819    ac_status=$?    ac_status=$?
8820      grep -v '^ *+' conftest.er1 >conftest.err
8821      rm -f conftest.er1
8822      cat conftest.err >&5
8823    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824    (exit $ac_status); } &&    (exit $ac_status); } &&
8825           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
8826                             || test ! -s conftest.err'
8827      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828      (eval $ac_try) 2>&5
8829      ac_status=$?
8830      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831      (exit $ac_status); }; } &&
8832             { ac_try='test -s conftest$ac_exeext'
8833    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8835    ac_status=$?    ac_status=$?
# Line 8405  sed 's/^/| /' conftest.$ac_ext >&5 Line 8842  sed 's/^/| /' conftest.$ac_ext >&5
8842    
8843  ac_cv_func_shl_load=no  ac_cv_func_shl_load=no
8844  fi  fi
8845  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8846          conftest$ac_exeext conftest.$ac_ext
8847  fi  fi
8848  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8849  echo "${ECHO_T}$ac_cv_func_shl_load" >&6  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
# Line 8420  else Line 8858  else
8858    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8859  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
8860  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8861  /* confdefs.h.  */  /* confdefs.h.  */
8862  _ACEOF  _ACEOF
8863  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8444  shl_load (); Line 8881  shl_load ();
8881  _ACEOF  _ACEOF
8882  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8883  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8884    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8885    ac_status=$?    ac_status=$?
8886      grep -v '^ *+' conftest.er1 >conftest.err
8887      rm -f conftest.er1
8888      cat conftest.err >&5
8889    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890    (exit $ac_status); } &&    (exit $ac_status); } &&
8891           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
8892                             || test ! -s conftest.err'
8893      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894      (eval $ac_try) 2>&5
8895      ac_status=$?
8896      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897      (exit $ac_status); }; } &&
8898             { ac_try='test -s conftest$ac_exeext'
8899    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8901    ac_status=$?    ac_status=$?
# Line 8461  sed 's/^/| /' conftest.$ac_ext >&5 Line 8908  sed 's/^/| /' conftest.$ac_ext >&5
8908    
8909  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
8910  fi  fi
8911  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8912          conftest$ac_exeext conftest.$ac_ext
8913  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8914  fi  fi
8915  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 8475  if test "${ac_cv_func_dlopen+set}" = set Line 8923  if test "${ac_cv_func_dlopen+set}" = set
8923    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8924  else  else
8925    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8926  /* confdefs.h.  */  /* confdefs.h.  */
8927  _ACEOF  _ACEOF
8928  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
8929  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
8930  /* end confdefs.h.  */  /* end confdefs.h.  */
8931    /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8932       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8933    #define dlopen innocuous_dlopen
8934    
8935  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8936      which can conflict with char dlopen (); below.      which can conflict with char dlopen (); below.
8937      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8938      <limits.h> exists even on freestanding compilers.  */      <limits.h> exists even on freestanding compilers.  */
8939    
8940  #ifdef __STDC__  #ifdef __STDC__
8941  # include <limits.h>  # include <limits.h>
8942  #else  #else
8943  # include <assert.h>  # include <assert.h>
8944  #endif  #endif
8945    
8946    #undef dlopen
8947    
8948  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8949  #ifdef __cplusplus  #ifdef __cplusplus
8950  extern "C"  extern "C"
# Line 8520  return f != dlopen; Line 8975  return f != dlopen;
8975  _ACEOF  _ACEOF
8976  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8977  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8979    ac_status=$?    ac_status=$?
8980      grep -v '^ *+' conftest.er1 >conftest.err
8981      rm -f conftest.er1
8982      cat conftest.err >&5
8983    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984    (exit $ac_status); } &&    (exit $ac_status); } &&
8985           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
8986                             || test ! -s conftest.err'
8987      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988      (eval $ac_try) 2>&5
8989      ac_status=$?
8990      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991      (exit $ac_status); }; } &&
8992             { ac_try='test -s conftest$ac_exeext'
8993    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8995    ac_status=$?    ac_status=$?
# Line 8537  sed 's/^/| /' conftest.$ac_ext >&5 Line 9002  sed 's/^/| /' conftest.$ac_ext >&5
9002    
9003  ac_cv_func_dlopen=no  ac_cv_func_dlopen=no
9004  fi  fi
9005  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9006          conftest$ac_exeext conftest.$ac_ext
9007  fi  fi
9008  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9009  echo "${ECHO_T}$ac_cv_func_dlopen" >&6  echo "${ECHO_T}$ac_cv_func_dlopen" >&6
# Line 8552  else Line 9018  else
9018    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9019  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
9020  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9021  /* confdefs.h.  */  /* confdefs.h.  */
9022  _ACEOF  _ACEOF
9023  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8576  dlopen (); Line 9041  dlopen ();
9041  _ACEOF  _ACEOF
9042  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9043  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9044    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
9045    ac_status=$?    ac_status=$?
9046      grep -v '^ *+' conftest.er1 >conftest.err
9047      rm -f conftest.er1
9048      cat conftest.err >&5
9049    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050    (exit $ac_status); } &&    (exit $ac_status); } &&
9051           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
9052                             || test ! -s conftest.err'
9053      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054      (eval $ac_try) 2>&5
9055      ac_status=$?
9056      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057      (exit $ac_status); }; } &&
9058             { ac_try='test -s conftest$ac_exeext'
9059    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9061    ac_status=$?    ac_status=$?
# Line 8593  sed 's/^/| /' conftest.$ac_ext >&5 Line 9068  sed 's/^/| /' conftest.$ac_ext >&5
9068    
9069  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
9070  fi  fi
9071  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9072          conftest$ac_exeext conftest.$ac_ext
9073  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9074  fi  fi
9075  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 8609  else Line 9085  else
9085    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9086  LIBS="-lsvld  $LIBS"  LIBS="-lsvld  $LIBS"
9087  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9088  /* confdefs.h.  */  /* confdefs.h.  */
9089  _ACEOF  _ACEOF
9090  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8633  dlopen (); Line 9108  dlopen ();
9108  _ACEOF  _ACEOF
9109  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9110  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9111    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
9112    ac_status=$?    ac_status=$?
9113      grep -v '^ *+' conftest.er1 >conftest.err
9114      rm -f conftest.er1
9115      cat conftest.err >&5
9116    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117    (exit $ac_status); } &&    (exit $ac_status); } &&
9118           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
9119                             || test ! -s conftest.err'
9120      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121      (eval $ac_try) 2>&5
9122      ac_status=$?
9123      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124      (exit $ac_status); }; } &&
9125             { ac_try='test -s conftest$ac_exeext'
9126    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9128    ac_status=$?    ac_status=$?
# Line 8650  sed 's/^/| /' conftest.$ac_ext >&5 Line 9135  sed 's/^/| /' conftest.$ac_ext >&5
9135    
9136  ac_cv_lib_svld_dlopen=no  ac_cv_lib_svld_dlopen=no
9137  fi  fi
9138  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9139          conftest$ac_exeext conftest.$ac_ext
9140  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9141  fi  fi
9142  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
# Line 8666  else Line 9152  else
9152    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9153  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
9154  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9155  /* confdefs.h.  */  /* confdefs.h.  */
9156  _ACEOF  _ACEOF
9157  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8690  dld_link (); Line 9175  dld_link ();
9175  _ACEOF  _ACEOF
9176  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9177  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9178    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
9179    ac_status=$?    ac_status=$?
9180      grep -v '^ *+' conftest.er1 >conftest.err
9181      rm -f conftest.er1
9182      cat conftest.err >&5
9183    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184    (exit $ac_status); } &&    (exit $ac_status); } &&
9185           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
9186                             || test ! -s conftest.err'
9187      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188      (eval $ac_try) 2>&5
9189      ac_status=$?
9190      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191      (exit $ac_status); }; } &&
9192             { ac_try='test -s conftest$ac_exeext'
9193    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9195    ac_status=$?    ac_status=$?
# Line 8707  sed 's/^/| /' conftest.$ac_ext >&5 Line 9202  sed 's/^/| /' conftest.$ac_ext >&5
9202    
9203  ac_cv_lib_dld_dld_link=no  ac_cv_lib_dld_dld_link=no
9204  fi  fi
9205  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
9206          conftest$ac_exeext conftest.$ac_ext
9207  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9208  fi  fi
9209  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 8762  else Line 9258  else
9258    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9259    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
9260    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9261  #line 8765 "configure"  #line 9261 "configure"
9262  #include "confdefs.h"  #include "confdefs.h"
9263    
9264  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 8828  EOF Line 9324  EOF
9324    ac_status=$?    ac_status=$?
9325    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9327      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) >&5 2>/dev/null
9328      lt_status=$?      lt_status=$?
9329      case x$lt_status in      case x$lt_status in
9330        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
# Line 8860  else Line 9356  else
9356    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9357    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
9358    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9359  #line 8863 "configure"  #line 9359 "configure"
9360  #include "confdefs.h"  #include "confdefs.h"
9361    
9362  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 8926  EOF Line 9422  EOF
9422    ac_status=$?    ac_status=$?
9423    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9425      (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) >&5 2>/dev/null
9426      lt_status=$?      lt_status=$?
9427      case x$lt_status in      case x$lt_status in
9428        x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;        x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
# Line 8976  test "$can_build_shared" = "no" && enabl Line 9472  test "$can_build_shared" = "no" && enabl
9472    
9473  # On AIX, shared libraries and static libraries use the same namespace, and  # On AIX, shared libraries and static libraries use the same namespace, and
9474  # are all built from PIC.  # are all built from PIC.
9475  case "$host_os" in  case $host_os in
9476  aix3*)  aix3*)
9477    test "$enable_shared" = yes && enable_static=no    test "$enable_shared" = yes && enable_static=no
9478    if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
# Line 8985  aix3*) Line 9481  aix3*)
9481    fi    fi
9482    ;;    ;;