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.1.1.1 by orrisroot, Wed Mar 31 08:15:05 2004 UTC revision 1.25 by orrisroot, Tue Dec 16 20:19:56 2008 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.21.1.  # Generated by GNU Autoconf 2.59 for satellite 4.2.3.
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 423  SHELL=${CONFIG_SHELL-/bin/sh} Line 424  SHELL=${CONFIG_SHELL-/bin/sh}
424  # Identity of this package.  # Identity of this package.
425  PACKAGE_NAME='satellite'  PACKAGE_NAME='satellite'
426  PACKAGE_TARNAME='satellite'  PACKAGE_TARNAME='satellite'
427  PACKAGE_VERSION='4.21.1'  PACKAGE_VERSION='4.2.3'
428  PACKAGE_STRING='satellite 4.21.1'  PACKAGE_STRING='satellite 4.2.3'
429  PACKAGE_BUGREPORT='okumura@brain.riken.go.jp'  PACKAGE_BUGREPORT='okumura@brain.riken.go.jp'
430    
431  ac_unique_file="satellite4-config.in"  ac_unique_file="satellite4-config.in"
# Line 466  ac_includes_default="\ Line 467  ac_includes_default="\
467  # include <unistd.h>  # include <unistd.h>
468  #endif"  #endif"
469    
470  ac_subdirs_all="$ac_subdirs_all modules/gpm-gtk"  ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_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 acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS TERMCAP_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CFLAGS XPM_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 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE YACC CPP LN_S RANLIB ac_ct_RANLIB 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 LIBOBJS subdirs LTLIBOBJS'  
471  ac_subst_files=''  ac_subst_files=''
472    
473  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 826  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 866  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 956  if test "$ac_init_help" = "long"; then Line 956  if test "$ac_init_help" = "long"; then
956    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
957    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
958    cat <<_ACEOF    cat <<_ACEOF
959  \`configure' configures satellite 4.21.1 to adapt to many kinds of systems.  \`configure' configures satellite 4.2.3 to adapt to many kinds of systems.
960    
961  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
962    
# Line 981  _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 1021  X features: Line 1021  X features:
1021  System types:  System types:
1022    --build=BUILD     configure for building on BUILD [guessed]    --build=BUILD     configure for building on BUILD [guessed]
1023    --host=HOST       cross-compile to build programs to run on HOST [BUILD]    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   --target=TARGET   configure for building compilers for TARGET [HOST]  
1024  _ACEOF  _ACEOF
1025  fi  fi
1026    
1027  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1028    case $ac_init_help in    case $ac_init_help in
1029       short | recursive ) echo "Configuration of satellite 4.21.1:";;       short | recursive ) echo "Configuration of satellite 4.2.3:";;
1030     esac     esac
1031    cat <<\_ACEOF    cat <<\_ACEOF
1032    
1033  Optional Features:  Optional Features:
1034    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1035    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1036      --disable-dependency-tracking  speeds up one-time build
1037      --enable-dependency-tracking   do not reject slow dependency extractors
1038    --enable-static[=PKGS]    --enable-static[=PKGS]
1039                            build static libraries [default=no]                            build static libraries [default=no]
   --disable-dependency-tracking Speeds up one-time builds  
   --enable-dependency-tracking  Do not reject slow dependency extractors  
1040    --enable-shared[=PKGS]    --enable-shared[=PKGS]
1041                            build shared libraries [default=yes]                            build shared libraries [default=yes]
1042    --enable-fast-install[=PKGS]    --enable-fast-install[=PKGS]
1043                            optimize for fast installation [default=yes]                            optimize for fast installation [default=yes]
1044    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1045    --enable-maintainer-mode enable make rules and dependencies not useful    --enable-maintainer-mode  enable make rules and dependencies not useful
1046                            (and sometimes confusing) to the casual installer                            (and sometimes confusing) to the casual installer
1047    
1048  Optional Packages:  Optional Packages:
1049    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 1055  Optional Packages: Line 1054  Optional Packages:
1054    --with-tags[=TAGS]    --with-tags[=TAGS]
1055                            include additional configurations [automatic]                            include additional configurations [automatic]
1056    --with-x                use the X Window System    --with-x                use the X Window System
1057      --with-xaw3d[=prefix]   use Xaw3d for X widget set
1058    
1059  Some influential environment variables:  Some influential environment variables:
1060    CC          C compiler command    CC          C compiler command
# Line 1107  case $srcdir in Line 1107  case $srcdir in
1107      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109  esac  esac
1110  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
1111  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
1112  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
1113  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
1114  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
1115  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
1116      case "$ac_dir" in
1117      .) ac_abs_builddir=`pwd`;;
1118      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1119      *) ac_abs_builddir=`pwd`/"$ac_dir";;
1120      esac;;
1121    esac
1122    case $ac_abs_builddir in
1123    .) ac_abs_top_builddir=${ac_top_builddir}.;;
1124    *)
1125      case ${ac_top_builddir}. in
1126      .) ac_abs_top_builddir=$ac_abs_builddir;;
1127      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1128      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1129      esac;;
1130    esac
1131    case $ac_abs_builddir in
1132    .) ac_abs_srcdir=$ac_srcdir;;
1133    *)
1134      case $ac_srcdir in
1135      .) ac_abs_srcdir=$ac_abs_builddir;;
1136      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1137      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1138      esac;;
1139    esac
1140    case $ac_abs_builddir in
1141    .) ac_abs_top_srcdir=$ac_top_srcdir;;
1142    *)
1143      case $ac_top_srcdir in
1144      .) ac_abs_top_srcdir=$ac_abs_builddir;;
1145      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1146      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1147      esac;;
1148    esac
1149    
1150      cd $ac_dir      cd $ac_dir
1151      # 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 1156  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
1156        echo        echo
1157        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1158      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1159             test -f $ac_srcdir/configure.in; then             test -f $ac_srcdir/configure.in; then
1160        echo        echo
1161        $ac_configure --help        $ac_configure --help
1162      else      else
# Line 1136  fi Line 1169  fi
1169  test -n "$ac_init_help" && exit 0  test -n "$ac_init_help" && exit 0
1170  if $ac_init_version; then  if $ac_init_version; then
1171    cat <<\_ACEOF    cat <<\_ACEOF
1172  satellite configure 4.21.1  satellite configure 4.2.3
1173  generated by GNU Autoconf 2.57  generated by GNU Autoconf 2.59
1174    
1175  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1176  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1177  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1178  _ACEOF  _ACEOF
# Line 1151  cat >&5 <<_ACEOF Line 1183  cat >&5 <<_ACEOF
1183  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1184  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1185    
1186  It was created by satellite $as_me 4.21.1, which was  It was created by satellite $as_me 4.2.3, which was
1187  generated by GNU Autoconf 2.57.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1188    
1189    $ $0 $@    $ $0 $@
1190    
# Line 1229  do Line 1261  do
1261      2)      2)
1262        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1263        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1264          ac_must_keep_next=false # Got value, back to normal.          ac_must_keep_next=false # Got value, back to normal.
1265        else        else
1266          case $ac_arg in          case $ac_arg in
1267            *=* | --config-cache | -C | -disable-* | --disable-* \            *=* | --config-cache | -C | -disable-* | --disable-* \
1268            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1269            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1270            | -with-* | --with-* | -without-* | --without-* | --x)            | -with-* | --with-* | -without-* | --without-* | --x)
1271              case "$ac_configure_args0 " in              case "$ac_configure_args0 " in
1272                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1273              esac              esac
1274              ;;              ;;
1275            -* ) ac_must_keep_next=true ;;            -* ) ac_must_keep_next=true ;;
1276          esac          esac
1277        fi        fi
1278        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1279        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1275  _ASBOX Line 1307  _ASBOX
1307      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1308      *ac_space=\ *)      *ac_space=\ *)
1309        sed -n \        sed -n \
1310          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1311            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1312        ;;        ;;
1313      *)      *)
1314        sed -n \        sed -n \
1315          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1316        ;;        ;;
1317      esac;      esac;
1318  }  }
# Line 1309  _ASBOX Line 1341  _ASBOX
1341        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1342        do        do
1343          eval ac_val=$`echo $ac_var`          eval ac_val=$`echo $ac_var`
1344          echo "$ac_var='"'"'$ac_val'"'"'"          echo "$ac_var='"'"'$ac_val'"'"'"
1345        done | sort        done | sort
1346        echo        echo
1347      fi      fi
# Line 1328  _ASBOX Line 1360  _ASBOX
1360        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1361      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1362    } >&5    } >&5
1363    rm -f core core.* *.core &&    rm -f core *.core &&
1364    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1365      exit $exit_status      exit $exit_status
1366       ' 0       ' 0
# Line 1408  fi Line 1440  fi
1440  # value.  # value.
1441  ac_cache_corrupted=false  ac_cache_corrupted=false
1442  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1443                 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
1444    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1445    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1446    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 1457  echo "$as_me: error: \`$ac_var' was not
1457      ,);;      ,);;
1458      *)      *)
1459        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1460          { 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
1461  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;}
1462          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1463  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1464          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1465  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1466          ac_cache_corrupted=:          ac_cache_corrupted=:
1467        fi;;        fi;;
1468    esac    esac
1469    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1517  ac_configure="$SHELL $ac_aux_dir/configu Line 1549  ac_configure="$SHELL $ac_aux_dir/configu
1549    
1550    
1551    
 # Make sure we can run config.sub.  
 $ac_config_sub sun4 >/dev/null 2>&1 ||  
   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5  
 echo "$as_me: error: cannot run $ac_config_sub" >&2;}  
    { (exit 1); exit 1; }; }  
   
 echo "$as_me:$LINENO: checking build system type" >&5  
 echo $ECHO_N "checking build system type... $ECHO_C" >&6  
 if test "${ac_cv_build+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_build_alias=$build_alias  
 test -z "$ac_cv_build_alias" &&  
   ac_cv_build_alias=`$ac_config_guess`  
 test -z "$ac_cv_build_alias" &&  
   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5  
 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}  
    { (exit 1); exit 1; }; }  
 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_build" >&5  
 echo "${ECHO_T}$ac_cv_build" >&6  
 build=$ac_cv_build  
 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 echo "$as_me:$LINENO: checking host system type" >&5  
 echo $ECHO_N "checking host system type... $ECHO_C" >&6  
 if test "${ac_cv_host+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_host_alias=$host_alias  
 test -z "$ac_cv_host_alias" &&  
   ac_cv_host_alias=$ac_cv_build_alias  
 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_host" >&5  
 echo "${ECHO_T}$ac_cv_host" >&6  
 host=$ac_cv_host  
 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 echo "$as_me:$LINENO: checking target system type" >&5  
 echo $ECHO_N "checking target system type... $ECHO_C" >&6  
 if test "${ac_cv_target+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_cv_target_alias=$target_alias  
 test "x$ac_cv_target_alias" = "x" &&  
   ac_cv_target_alias=$ac_cv_host_alias  
 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||  
   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5  
 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}  
    { (exit 1); exit 1; }; }  
   
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_target" >&5  
 echo "${ECHO_T}$ac_cv_target" >&6  
 target=$ac_cv_target  
 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
   
   
 # The aliases save the names the user supplied, while $host etc.  
 # will get canonicalized.  
 test -n "$target_alias" &&  
   test "$program_prefix$program_suffix$program_transform_name" = \  
     NONENONEs,x,x, &&  
   program_prefix=${target_alias}-  
 am__api_version="1.7"  
 # Find a good install program.  We prefer a C program (faster),  
 # so one script is as good as another.  But avoid the broken or  
 # incompatible versions:  
 # SysV /etc/install, /usr/sbin/install  
 # SunOS /usr/etc/install  
 # IRIX /sbin/install  
 # AIX /bin/install  
 # AmigaOS /C/install, which installs bootblocks on floppy discs  
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  
 # ./install, which can be erroneously created by make from ./install.sh.  
 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  
 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  
 if test -z "$INSTALL"; then  
 if test "${ac_cv_path_install+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   # Account for people who put trailing slashes in PATH elements.  
 case $as_dir/ in  
   ./ | .// | /cC/* | \  
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \  
   /usr/ucb/* ) ;;  
   *)  
     # OSF1 and SCO ODT 3.0 have their own names for install.  
     # Don't use installbsd from OSF since it installs stuff as root  
     # by default.  
     for ac_prog in ginstall scoinst install; do  
       for ac_exec_ext in '' $ac_executable_extensions; do  
         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then  
           if test $ac_prog = install &&  
             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           elif test $ac_prog = install &&  
             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
             break 3  
           fi  
         fi  
       done  
     done  
     ;;  
 esac  
 done  
   
   
 fi  
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL=$ac_cv_path_install  
   else  
     # As a last resort, use the slow shell script.  We don't cache a  
     # path for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the path is relative.  
     INSTALL=$ac_install_sh  
   fi  
 fi  
 echo "$as_me:$LINENO: result: $INSTALL" >&5  
 echo "${ECHO_T}$INSTALL" >&6  
   
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  
 # It thinks the first close brace ends the variable substitution.  
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  
   
 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  
   
 echo "$as_me:$LINENO: checking whether build environment is sane" >&5  
 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6  
 # Just in case  
 sleep 1  
 echo timestamp > conftest.file  
 # Do `set' in a subshell so we don't clobber the current shell's  
 # arguments.  Must try -L first in case configure is actually a  
 # symlink; some systems play weird games with the mod time of symlinks  
 # (eg FreeBSD returns the mod time of the symlink's containing  
 # directory).  
 if (  
    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`  
    if test "$*" = "X"; then  
       # -L didn't work.  
       set X `ls -t $srcdir/configure conftest.file`  
    fi  
    rm -f conftest.file  
    if test "$*" != "X $srcdir/configure conftest.file" \  
       && test "$*" != "X conftest.file $srcdir/configure"; then  
   
       # If neither matched, then we have a broken ls.  This can happen  
       # if, for instance, CONFIG_SHELL is bash and it inherits a  
       # broken ls alias from the environment.  This has actually  
       # happened.  Such a system could not be considered "sane".  
       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken  
 alias in your environment" >&5  
 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken  
 alias in your environment" >&2;}  
    { (exit 1); exit 1; }; }  
    fi  
   
    test "$2" = conftest.file  
    )  
 then  
    # Ok.  
    :  
 else  
    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!  
 Check your system clock" >&5  
 echo "$as_me: error: newly created file is older than distributed files!  
 Check your system clock" >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
 echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
 test "$program_prefix" != NONE &&  
   program_transform_name="s,^,$program_prefix,;$program_transform_name"  
 # Use a double $ so make ignores it.  
 test "$program_suffix" != NONE &&  
   program_transform_name="s,\$,$program_suffix,;$program_transform_name"  
 # Double any \ or $.  echo might interpret backslashes.  
 # By default was `s,x,x', remove it if useless.  
 cat <<\_ACEOF >conftest.sed  
 s/[\\$]/&&/g;s/;s,x,x,$//  
 _ACEOF  
 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  
 rm conftest.sed  
   
   
 # expand $ac_aux_dir to an absolute path  
 am_aux_dir=`cd $ac_aux_dir && pwd`  
   
 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"  
 # Use eval to expand $SHELL  
 if eval "$MISSING --run true"; then  
   am_missing_run="$MISSING --run "  
 else  
   am_missing_run=  
   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5  
 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}  
 fi  
   
 for ac_prog in gawk mawk nawk awk  
 do  
   # Extract the first word of "$ac_prog", so it can be a program name with args.  
 set dummy $ac_prog; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_AWK+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$AWK"; then  
   ac_cv_prog_AWK="$AWK" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_AWK="$ac_prog"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 fi  
 fi  
 AWK=$ac_cv_prog_AWK  
 if test -n "$AWK"; then  
   echo "$as_me:$LINENO: result: $AWK" >&5  
 echo "${ECHO_T}$AWK" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   test -n "$AWK" && break  
 done  
   
 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  
 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  
 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.make <<\_ACEOF  
 all:  
         @echo 'ac_maketemp="$(MAKE)"'  
 _ACEOF  
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  
 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  
 if test -n "$ac_maketemp"; then  
   eval ac_cv_prog_make_${ac_make}_set=yes  
 else  
   eval ac_cv_prog_make_${ac_make}_set=no  
 fi  
 rm -f conftest.make  
 fi  
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  
   echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
   SET_MAKE=  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
   SET_MAKE="MAKE=${MAKE-make}"  
 fi  
   
 rm -rf .tst 2>/dev/null  
 mkdir .tst 2>/dev/null  
 if test -d .tst; then  
   am__leading_dot=.  
 else  
   am__leading_dot=_  
 fi  
 rmdir .tst 2>/dev/null  
   
  # test to see if srcdir already configured  
 if test "`cd $srcdir && pwd`" != "`pwd`" &&  
    test -f $srcdir/config.status; then  
   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5  
 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
   
 # test whether we have cygpath  
 if test -z "$CYGPATH_W"; then  
   if (cygpath --version) >/dev/null 2>/dev/null; then  
     CYGPATH_W='cygpath -w'  
   else  
     CYGPATH_W=echo  
   fi  
 fi  
   
1552    
1553  # Define the identity of the package.  cat >>confdefs.h <<\_ACEOF
1554   PACKAGE=satellite  #define _GNU_SOURCE 1
  VERSION=4.21.1  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define PACKAGE "$PACKAGE"  
 _ACEOF  
   
   
 cat >>confdefs.h <<_ACEOF  
 #define VERSION "$VERSION"  
1555  _ACEOF  _ACEOF
1556    
 # Some tools Automake needs.  
   
 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}  
   
   
 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}  
   
   
 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}  
   
   
 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}  
   
   
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}  
   
   
 AMTAR=${AMTAR-"${am_missing_run}tar"}  
   
 install_sh=${install_sh-"$am_aux_dir/install-sh"}  
   
 # Installed binaries are usually stripped using `strip' when the user  
 # run `make install-strip'.  However `strip' might not be the right  
 # tool to use in cross-compilation environments, therefore Automake  
 # will honor the `STRIP' environment variable to overrule this program.  
 if test "$cross_compiling" != no; then  
   if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}strip; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_STRIP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$STRIP"; then  
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 fi  
 fi  
 STRIP=$ac_cv_prog_STRIP  
 if test -n "$STRIP"; then  
   echo "$as_me:$LINENO: result: $STRIP" >&5  
 echo "${ECHO_T}$STRIP" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
 fi  
 if test -z "$ac_cv_prog_STRIP"; then  
   ac_ct_STRIP=$STRIP  
   # Extract the first word of "strip", so it can be a program name with args.  
 set dummy strip; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_STRIP"; then  
   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_STRIP="strip"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"  
 fi  
 fi  
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP  
 if test -n "$ac_ct_STRIP"; then  
   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5  
 echo "${ECHO_T}$ac_ct_STRIP" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   STRIP=$ac_ct_STRIP  
 else  
   STRIP="$ac_cv_prog_STRIP"  
 fi  
   
 fi  
 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"  
   
 # We need awk for the "check" target.  The system "awk" is bad on  
 # some platforms.  
   
   
   
           ac_config_headers="$ac_config_headers config.h"  
   
   
 sl4includedir=$includedir/satellite4  
   
   
 sl4libdir=$libdir  
   
   
 sl4libexecdir=$libexecdir/satellite4  
   
   
 docdir=$datadir/doc  
   
 sl4docdir=$docdir/satellite4  
   
   
 sl4sharedir=$datadir/satellite4  
   
   
 examplesdir=$datadir/examples/satellite4  
   
   
 moduledir=$libdir/satellite4  
   
   
 systemrcdir=$sysconfdir/satellite4  
   
   
 modulercdir=$sysconfdir/satellite4  
   
   
 MODULE_LDFLAGS='-no-undefined -module -avoid-version'  
   
   
 # Checks for programs.  
 # Check whether --enable-static or --disable-static was given.  
 if test "${enable_static+set}" = set; then  
   enableval="$enable_static"  
   p=${PACKAGE-default}  
     case $enableval in  
     yes) enable_static=yes ;;  
     no) enable_static=no ;;  
     *)  
      enable_static=no  
       # Look at the argument we got.  We use all the common list separators.  
       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"  
       for pkg in $enableval; do  
         IFS="$lt_save_ifs"  
         if test "X$pkg" = "X$p"; then  
           enable_static=yes  
         fi  
       done  
       IFS="$lt_save_ifs"  
       ;;  
     esac  
 else  
   enable_static=no  
 fi;  
   
1557    
1558  ac_ext=c  ac_ext=c
1559  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 2370  ac_compiler=`set X $ac_compile; echo $2` Line 1891  ac_compiler=`set X $ac_compile; echo $2`
1891    (exit $ac_status); }    (exit $ac_status); }
1892    
1893  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
1894  /* confdefs.h.  */  /* confdefs.h.  */
1895  _ACEOF  _ACEOF
1896  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2390  ac_clean_files="$ac_clean_files a.out a. Line 1910  ac_clean_files="$ac_clean_files a.out a.
1910  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1911  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1912  # of exeext.  # of exeext.
1913  echo "$as_me:$LINENO: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1914  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
1915  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1916  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1917    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 2411  do Line 1931  do
1931    test -f "$ac_file" || continue    test -f "$ac_file" || continue
1932    case $ac_file in    case $ac_file in
1933      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1934          ;;          ;;
1935      conftest.$ac_ext )      conftest.$ac_ext )
1936          # This is the source file.          # This is the source file.
1937          ;;          ;;
1938      [ab].out )      [ab].out )
1939          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
1940          # certainly right.          # certainly right.
1941          break;;          break;;
1942      *.* )      *.* )
1943          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1944          # FIXME: I believe we export ac_cv_exeext for Libtool,          # FIXME: I believe we export ac_cv_exeext for Libtool,
1945          # 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
1946          # maintain Libtool? --akim.          # maintain Libtool? --akim.
1947          export ac_cv_exeext          export ac_cv_exeext
1948          break;;          break;;
1949      * )      * )
1950          break;;          break;;
1951    esac    esac
1952  done  done
1953  else  else
# Line 2501  for ac_file in conftest.exe conftest con Line 2021  for ac_file in conftest.exe conftest con
2021    case $ac_file in    case $ac_file in
2022      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2023      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2024            export ac_cv_exeext            export ac_cv_exeext
2025            break;;            break;;
2026      * ) break;;      * ) break;;
2027    esac    esac
2028  done  done
# Line 2527  if test "${ac_cv_objext+set}" = set; the Line 2047  if test "${ac_cv_objext+set}" = set; the
2047    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2048  else  else
2049    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2050  /* confdefs.h.  */  /* confdefs.h.  */
2051  _ACEOF  _ACEOF
2052  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2578  if test "${ac_cv_c_compiler_gnu+set}" = Line 2097  if test "${ac_cv_c_compiler_gnu+set}" =
2097    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2098  else  else
2099    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2100  /* confdefs.h.  */  /* confdefs.h.  */
2101  _ACEOF  _ACEOF
2102  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2598  main () Line 2116  main ()
2116  _ACEOF  _ACEOF
2117  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2118  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2119    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2120    ac_status=$?    ac_status=$?
2121      grep -v '^ *+' conftest.er1 >conftest.err
2122      rm -f conftest.er1
2123      cat conftest.err >&5
2124    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125    (exit $ac_status); } &&    (exit $ac_status); } &&
2126           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2127                             || test ! -s conftest.err'
2128      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129      (eval $ac_try) 2>&5
2130      ac_status=$?
2131      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132      (exit $ac_status); }; } &&
2133             { ac_try='test -s conftest.$ac_objext'
2134    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2136    ac_status=$?    ac_status=$?
# Line 2615  sed 's/^/| /' conftest.$ac_ext >&5 Line 2143  sed 's/^/| /' conftest.$ac_ext >&5
2143    
2144  ac_compiler_gnu=no  ac_compiler_gnu=no
2145  fi  fi
2146  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2147  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2148    
2149  fi  fi
# Line 2631  if test "${ac_cv_prog_cc_g+set}" = set; Line 2159  if test "${ac_cv_prog_cc_g+set}" = set;
2159    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2160  else  else
2161    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2162  /* confdefs.h.  */  /* confdefs.h.  */
2163  _ACEOF  _ACEOF
2164  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2648  main () Line 2175  main ()
2175  _ACEOF  _ACEOF
2176  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2177  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2178    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2179    ac_status=$?    ac_status=$?
2180      grep -v '^ *+' conftest.er1 >conftest.err
2181      rm -f conftest.er1
2182      cat conftest.err >&5
2183    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184    (exit $ac_status); } &&    (exit $ac_status); } &&
2185           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2186                             || test ! -s conftest.err'
2187      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188      (eval $ac_try) 2>&5
2189      ac_status=$?
2190      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191      (exit $ac_status); }; } &&
2192             { ac_try='test -s conftest.$ac_objext'
2193    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2195    ac_status=$?    ac_status=$?
# Line 2665  sed 's/^/| /' conftest.$ac_ext >&5 Line 2202  sed 's/^/| /' conftest.$ac_ext >&5
2202    
2203  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2204  fi  fi
2205  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2206  fi  fi
2207  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2208  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2692  else Line 2229  else
2229    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
2230  ac_save_CC=$CC  ac_save_CC=$CC
2231  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2232  /* confdefs.h.  */  /* confdefs.h.  */
2233  _ACEOF  _ACEOF
2234  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2720  static char *f (char * (*g) (char **, in Line 2256  static char *f (char * (*g) (char **, in
2256    va_end (v);    va_end (v);
2257    return s;    return s;
2258  }  }
2259    
2260    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2261       function prototypes and stuff, but not '\xHH' hex character constants.
2262       These don't provoke an error unfortunately, instead are silently treated
2263       as 'x'.  The following induces an error, until -std1 is added to get
2264       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2265       array size at least.  It's necessary to write '\x00'==0 to get something
2266       that's true only with -std1.  */
2267    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2268    
2269  int test (int i, double x);  int test (int i, double x);
2270  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
2271  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 2746  do Line 2292  do
2292    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2293    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
2294  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2295    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2296    ac_status=$?    ac_status=$?
2297      grep -v '^ *+' conftest.er1 >conftest.err
2298      rm -f conftest.er1
2299      cat conftest.err >&5
2300    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301    (exit $ac_status); } &&    (exit $ac_status); } &&
2302           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2303                             || test ! -s conftest.err'
2304      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305      (eval $ac_try) 2>&5
2306      ac_status=$?
2307      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308      (exit $ac_status); }; } &&
2309             { ac_try='test -s conftest.$ac_objext'
2310    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2312    ac_status=$?    ac_status=$?
# Line 2763  else Line 2319  else
2319  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2320    
2321  fi  fi
2322  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
2323  done  done
2324  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
2325  CC=$ac_save_CC  CC=$ac_save_CC
# Line 2791  cat >conftest.$ac_ext <<_ACEOF Line 2347  cat >conftest.$ac_ext <<_ACEOF
2347  _ACEOF  _ACEOF
2348  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2349  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2350    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2351    ac_status=$?    ac_status=$?
2352      grep -v '^ *+' conftest.er1 >conftest.err
2353      rm -f conftest.er1
2354      cat conftest.err >&5
2355    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356    (exit $ac_status); } &&    (exit $ac_status); } &&
2357           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2358                             || test ! -s conftest.err'
2359      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360      (eval $ac_try) 2>&5
2361      ac_status=$?
2362      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363      (exit $ac_status); }; } &&
2364             { ac_try='test -s conftest.$ac_objext'
2365    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2366    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2367    ac_status=$?    ac_status=$?
2368    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2370    for ac_declaration in \    for ac_declaration in \
2371     ''\     '' \
    '#include <stdlib.h>' \  
2372     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2373     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2374     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2811  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2376  if { (eval echo "$as_me:$LINENO: \"$ac_c
2376     'void exit (int);'     'void exit (int);'
2377  do  do
2378    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2379  /* confdefs.h.  */  /* confdefs.h.  */
2380  _ACEOF  _ACEOF
2381  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2382  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2383  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2384  $ac_declaration  $ac_declaration
2385    #include <stdlib.h>
2386  int  int
2387  main ()  main ()
2388  {  {
# Line 2829  exit (42); Line 2393  exit (42);
2393  _ACEOF  _ACEOF
2394  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2395  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2396    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2397    ac_status=$?    ac_status=$?
2398      grep -v '^ *+' conftest.er1 >conftest.err
2399      rm -f conftest.er1
2400      cat conftest.err >&5
2401    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402    (exit $ac_status); } &&    (exit $ac_status); } &&
2403           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2404                             || test ! -s conftest.err'
2405      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406      (eval $ac_try) 2>&5
2407      ac_status=$?
2408      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409      (exit $ac_status); }; } &&
2410             { ac_try='test -s conftest.$ac_objext'
2411    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2413    ac_status=$?    ac_status=$?
# Line 2846  sed 's/^/| /' conftest.$ac_ext >&5 Line 2420  sed 's/^/| /' conftest.$ac_ext >&5
2420    
2421  continue  continue
2422  fi  fi
2423  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 2865  exit (42); Line 2438  exit (42);
2438  _ACEOF  _ACEOF
2439  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2440  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2441    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2442    ac_status=$?    ac_status=$?
2443      grep -v '^ *+' conftest.er1 >conftest.err
2444      rm -f conftest.er1
2445      cat conftest.err >&5
2446    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447    (exit $ac_status); } &&    (exit $ac_status); } &&
2448           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
2449                             || test ! -s conftest.err'
2450      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451      (eval $ac_try) 2>&5
2452      ac_status=$?
2453      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454      (exit $ac_status); }; } &&
2455             { ac_try='test -s conftest.$ac_objext'
2456    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2458    ac_status=$?    ac_status=$?
# Line 2881  else Line 2464  else
2464  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2465    
2466  fi  fi
2467  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2468  done  done
2469  rm -f conftest*  rm -f conftest*
2470  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2895  else Line 2478  else
2478  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2479    
2480  fi  fi
2481  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2482  ac_ext=c  ac_ext=c
2483  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2484  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487    
2488    
2489    echo "$as_me:$LINENO: checking for library containing strerror" >&5
2490    echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2491    if test "${ac_cv_search_strerror+set}" = set; then
2492      echo $ECHO_N "(cached) $ECHO_C" >&6
2493    else
2494      ac_func_search_save_LIBS=$LIBS
2495    ac_cv_search_strerror=no
2496    cat >conftest.$ac_ext <<_ACEOF
2497    /* confdefs.h.  */
2498    _ACEOF
2499    cat confdefs.h >>conftest.$ac_ext
2500    cat >>conftest.$ac_ext <<_ACEOF
2501    /* end confdefs.h.  */
2502    
2503    /* Override any gcc2 internal prototype to avoid an error.  */
2504    #ifdef __cplusplus
2505    extern "C"
2506    #endif
2507    /* We use char because int might match the return type of a gcc2
2508       builtin and then its argument prototype would still apply.  */
2509    char strerror ();
2510    int
2511    main ()
2512    {
2513    strerror ();
2514      ;
2515      return 0;
2516    }
2517    _ACEOF
2518    rm -f conftest.$ac_objext conftest$ac_exeext
2519    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2520      (eval $ac_link) 2>conftest.er1
2521      ac_status=$?
2522      grep -v '^ *+' conftest.er1 >conftest.err
2523      rm -f conftest.er1
2524      cat conftest.err >&5
2525      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526      (exit $ac_status); } &&
2527             { ac_try='test -z "$ac_c_werror_flag"
2528                             || test ! -s conftest.err'
2529      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530      (eval $ac_try) 2>&5
2531      ac_status=$?
2532      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533      (exit $ac_status); }; } &&
2534             { ac_try='test -s conftest$ac_exeext'
2535      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536      (eval $ac_try) 2>&5
2537      ac_status=$?
2538      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539      (exit $ac_status); }; }; then
2540      ac_cv_search_strerror="none required"
2541    else
2542      echo "$as_me: failed program was:" >&5
2543    sed 's/^/| /' conftest.$ac_ext >&5
2544    
2545    fi
2546    rm -f conftest.err conftest.$ac_objext \
2547          conftest$ac_exeext conftest.$ac_ext
2548    if test "$ac_cv_search_strerror" = no; then
2549      for ac_lib in cposix; do
2550        LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
2551        cat >conftest.$ac_ext <<_ACEOF
2552    /* confdefs.h.  */
2553    _ACEOF
2554    cat confdefs.h >>conftest.$ac_ext
2555    cat >>conftest.$ac_ext <<_ACEOF
2556    /* end confdefs.h.  */
2557    
2558    /* Override any gcc2 internal prototype to avoid an error.  */
2559    #ifdef __cplusplus
2560    extern "C"
2561    #endif
2562    /* We use char because int might match the return type of a gcc2
2563       builtin and then its argument prototype would still apply.  */
2564    char strerror ();
2565    int
2566    main ()
2567    {
2568    strerror ();
2569      ;
2570      return 0;
2571    }
2572    _ACEOF
2573    rm -f conftest.$ac_objext conftest$ac_exeext
2574    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2575      (eval $ac_link) 2>conftest.er1
2576      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
2581      (exit $ac_status); } &&
2582             { ac_try='test -z "$ac_c_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_exeext'
2590      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591      (eval $ac_try) 2>&5
2592      ac_status=$?
2593      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594      (exit $ac_status); }; }; then
2595      ac_cv_search_strerror="-l$ac_lib"
2596    break
2597    else
2598      echo "$as_me: failed program was:" >&5
2599    sed 's/^/| /' conftest.$ac_ext >&5
2600    
2601    fi
2602    rm -f conftest.err conftest.$ac_objext \
2603          conftest$ac_exeext conftest.$ac_ext
2604      done
2605    fi
2606    LIBS=$ac_func_search_save_LIBS
2607    fi
2608    echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2609    echo "${ECHO_T}$ac_cv_search_strerror" >&6
2610    if test "$ac_cv_search_strerror" != no; then
2611      test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2612    
2613    fi
2614    
2615    # Make sure we can run config.sub.
2616    $ac_config_sub sun4 >/dev/null 2>&1 ||
2617      { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2618    echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2619       { (exit 1); exit 1; }; }
2620    
2621    echo "$as_me:$LINENO: checking build system type" >&5
2622    echo $ECHO_N "checking build system type... $ECHO_C" >&6
2623    if test "${ac_cv_build+set}" = set; then
2624      echo $ECHO_N "(cached) $ECHO_C" >&6
2625    else
2626      ac_cv_build_alias=$build_alias
2627    test -z "$ac_cv_build_alias" &&
2628      ac_cv_build_alias=`$ac_config_guess`
2629    test -z "$ac_cv_build_alias" &&
2630      { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2631    echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2632       { (exit 1); exit 1; }; }
2633    ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2634      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2635    echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2636       { (exit 1); exit 1; }; }
2637    
2638    fi
2639    echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2640    echo "${ECHO_T}$ac_cv_build" >&6
2641    build=$ac_cv_build
2642    build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2643    build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2644    build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2645    
2646    
2647    echo "$as_me:$LINENO: checking host system type" >&5
2648    echo $ECHO_N "checking host system type... $ECHO_C" >&6
2649    if test "${ac_cv_host+set}" = set; then
2650      echo $ECHO_N "(cached) $ECHO_C" >&6
2651    else
2652      ac_cv_host_alias=$host_alias
2653    test -z "$ac_cv_host_alias" &&
2654      ac_cv_host_alias=$ac_cv_build_alias
2655    ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2656      { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2657    echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2658       { (exit 1); exit 1; }; }
2659    
2660    fi
2661    echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2662    echo "${ECHO_T}$ac_cv_host" >&6
2663    host=$ac_cv_host
2664    host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2665    host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2666    host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2667    
2668    
2669    case $host_os in
2670      *cygwin* ) CYGWIN=yes;;
2671             * ) CYGWIN=no;;
2672    esac
2673    
2674    
2675    am__api_version="1.9"
2676    # Find a good install program.  We prefer a C program (faster),
2677    # so one script is as good as another.  But avoid the broken or
2678    # incompatible versions:
2679    # SysV /etc/install, /usr/sbin/install
2680    # SunOS /usr/etc/install
2681    # IRIX /sbin/install
2682    # AIX /bin/install
2683    # AmigaOS /C/install, which installs bootblocks on floppy discs
2684    # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2685    # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2686    # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2687    # OS/2's system install, which has a completely different semantic
2688    # ./install, which can be erroneously created by make from ./install.sh.
2689    echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2690    echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2691    if test -z "$INSTALL"; then
2692    if test "${ac_cv_path_install+set}" = set; then
2693      echo $ECHO_N "(cached) $ECHO_C" >&6
2694    else
2695      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696    for as_dir in $PATH
2697    do
2698      IFS=$as_save_IFS
2699      test -z "$as_dir" && as_dir=.
2700      # Account for people who put trailing slashes in PATH elements.
2701    case $as_dir/ in
2702      ./ | .// | /cC/* | \
2703      /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2704      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2705      /usr/ucb/* ) ;;
2706      *)
2707        # OSF1 and SCO ODT 3.0 have their own names for install.
2708        # Don't use installbsd from OSF since it installs stuff as root
2709        # by default.
2710        for ac_prog in ginstall scoinst install; do
2711          for ac_exec_ext in '' $ac_executable_extensions; do
2712            if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2713              if test $ac_prog = install &&
2714                grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2715                # AIX install.  It has an incompatible calling convention.
2716                :
2717              elif test $ac_prog = install &&
2718                grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2719                # program-specific install script used by HP pwplus--don't use.
2720                :
2721              else
2722                ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2723                break 3
2724              fi
2725            fi
2726          done
2727        done
2728        ;;
2729    esac
2730    done
2731    
2732    
2733    fi
2734      if test "${ac_cv_path_install+set}" = set; then
2735        INSTALL=$ac_cv_path_install
2736      else
2737        # As a last resort, use the slow shell script.  We don't cache a
2738        # path for INSTALL within a source directory, because that will
2739        # break other packages using the cache if that directory is
2740        # removed, or if the path is relative.
2741        INSTALL=$ac_install_sh
2742      fi
2743    fi
2744    echo "$as_me:$LINENO: result: $INSTALL" >&5
2745    echo "${ECHO_T}$INSTALL" >&6
2746    
2747    # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2748    # It thinks the first close brace ends the variable substitution.
2749    test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2750    
2751    test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2752    
2753    test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2754    
2755    echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2756    echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2757    # Just in case
2758    sleep 1
2759    echo timestamp > conftest.file
2760    # Do `set' in a subshell so we don't clobber the current shell's
2761    # arguments.  Must try -L first in case configure is actually a
2762    # symlink; some systems play weird games with the mod time of symlinks
2763    # (eg FreeBSD returns the mod time of the symlink's containing
2764    # directory).
2765    if (
2766       set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2767       if test "$*" = "X"; then
2768          # -L didn't work.
2769          set X `ls -t $srcdir/configure conftest.file`
2770       fi
2771       rm -f conftest.file
2772       if test "$*" != "X $srcdir/configure conftest.file" \
2773          && test "$*" != "X conftest.file $srcdir/configure"; then
2774    
2775          # If neither matched, then we have a broken ls.  This can happen
2776          # if, for instance, CONFIG_SHELL is bash and it inherits a
2777          # broken ls alias from the environment.  This has actually
2778          # happened.  Such a system could not be considered "sane".
2779          { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2780    alias in your environment" >&5
2781    echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2782    alias in your environment" >&2;}
2783       { (exit 1); exit 1; }; }
2784       fi
2785    
2786       test "$2" = conftest.file
2787       )
2788    then
2789       # Ok.
2790       :
2791    else
2792       { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2793    Check your system clock" >&5
2794    echo "$as_me: error: newly created file is older than distributed files!
2795    Check your system clock" >&2;}
2796       { (exit 1); exit 1; }; }
2797    fi
2798    echo "$as_me:$LINENO: result: yes" >&5
2799    echo "${ECHO_T}yes" >&6
2800    test "$program_prefix" != NONE &&
2801      program_transform_name="s,^,$program_prefix,;$program_transform_name"
2802    # Use a double $ so make ignores it.
2803    test "$program_suffix" != NONE &&
2804      program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2805    # Double any \ or $.  echo might interpret backslashes.
2806    # By default was `s,x,x', remove it if useless.
2807    cat <<\_ACEOF >conftest.sed
2808    s/[\\$]/&&/g;s/;s,x,x,$//
2809    _ACEOF
2810    program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2811    rm conftest.sed
2812    
2813    # expand $ac_aux_dir to an absolute path
2814    am_aux_dir=`cd $ac_aux_dir && pwd`
2815    
2816    test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2817    # Use eval to expand $SHELL
2818    if eval "$MISSING --run true"; then
2819      am_missing_run="$MISSING --run "
2820    else
2821      am_missing_run=
2822      { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2823    echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2824    fi
2825    
2826    if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2827      # We used to keeping the `.' as first argument, in order to
2828      # allow $(mkdir_p) to be used without argument.  As in
2829      #   $(mkdir_p) $(somedir)
2830      # where $(somedir) is conditionally defined.  However this is wrong
2831      # for two reasons:
2832      #  1. if the package is installed by a user who cannot write `.'
2833      #     make install will fail,
2834      #  2. the above comment should most certainly read
2835      #     $(mkdir_p) $(DESTDIR)$(somedir)
2836      #     so it does not work when $(somedir) is undefined and
2837      #     $(DESTDIR) is not.
2838      #  To support the latter case, we have to write
2839      #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2840      #  so the `.' trick is pointless.
2841      mkdir_p='mkdir -p --'
2842    else
2843      # On NextStep and OpenStep, the `mkdir' command does not
2844      # recognize any option.  It will interpret all options as
2845      # directories to create, and then abort because `.' already
2846      # exists.
2847      for d in ./-p ./--version;
2848      do
2849        test -d $d && rmdir $d
2850      done
2851      # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2852      if test -f "$ac_aux_dir/mkinstalldirs"; then
2853        mkdir_p='$(mkinstalldirs)'
2854      else
2855        mkdir_p='$(install_sh) -d'
2856      fi
2857    fi
2858    
2859    for ac_prog in gawk mawk nawk awk
2860    do
2861      # Extract the first word of "$ac_prog", so it can be a program name with args.
2862    set dummy $ac_prog; ac_word=$2
2863    echo "$as_me:$LINENO: checking for $ac_word" >&5
2864    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2865    if test "${ac_cv_prog_AWK+set}" = set; then
2866      echo $ECHO_N "(cached) $ECHO_C" >&6
2867    else
2868      if test -n "$AWK"; then
2869      ac_cv_prog_AWK="$AWK" # Let the user override the test.
2870    else
2871    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872    for as_dir in $PATH
2873    do
2874      IFS=$as_save_IFS
2875      test -z "$as_dir" && as_dir=.
2876      for ac_exec_ext in '' $ac_executable_extensions; do
2877      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2878        ac_cv_prog_AWK="$ac_prog"
2879        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2880        break 2
2881      fi
2882    done
2883    done
2884    
2885    fi
2886    fi
2887    AWK=$ac_cv_prog_AWK
2888    if test -n "$AWK"; then
2889      echo "$as_me:$LINENO: result: $AWK" >&5
2890    echo "${ECHO_T}$AWK" >&6
2891    else
2892      echo "$as_me:$LINENO: result: no" >&5
2893    echo "${ECHO_T}no" >&6
2894    fi
2895    
2896      test -n "$AWK" && break
2897    done
2898    
2899    echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2900    echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2901    set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2902    if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2903      echo $ECHO_N "(cached) $ECHO_C" >&6
2904    else
2905      cat >conftest.make <<\_ACEOF
2906    all:
2907            @echo 'ac_maketemp="$(MAKE)"'
2908    _ACEOF
2909    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2910    eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2911    if test -n "$ac_maketemp"; then
2912      eval ac_cv_prog_make_${ac_make}_set=yes
2913    else
2914      eval ac_cv_prog_make_${ac_make}_set=no
2915    fi
2916    rm -f conftest.make
2917    fi
2918    if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2919      echo "$as_me:$LINENO: result: yes" >&5
2920    echo "${ECHO_T}yes" >&6
2921      SET_MAKE=
2922    else
2923      echo "$as_me:$LINENO: result: no" >&5
2924    echo "${ECHO_T}no" >&6
2925      SET_MAKE="MAKE=${MAKE-make}"
2926    fi
2927    
2928    rm -rf .tst 2>/dev/null
2929    mkdir .tst 2>/dev/null
2930    if test -d .tst; then
2931      am__leading_dot=.
2932    else
2933      am__leading_dot=_
2934    fi
2935    rmdir .tst 2>/dev/null
2936    
2937  DEPDIR="${am__leading_dot}deps"  DEPDIR="${am__leading_dot}deps"
2938    
2939            ac_config_commands="$ac_config_commands depfiles"            ac_config_commands="$ac_config_commands depfiles"
# Line 2966  fi Line 2999  fi
2999    
3000    
3001    
3002    # test to see if srcdir already configured
3003    if test "`cd $srcdir && pwd`" != "`pwd`" &&
3004       test -f $srcdir/config.status; then
3005      { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3006    echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3007       { (exit 1); exit 1; }; }
3008    fi
3009    
3010    # test whether we have cygpath
3011    if test -z "$CYGPATH_W"; then
3012      if (cygpath --version) >/dev/null 2>/dev/null; then
3013        CYGPATH_W='cygpath -w'
3014      else
3015        CYGPATH_W=echo
3016      fi
3017    fi
3018    
3019    
3020    # Define the identity of the package.
3021     PACKAGE=satellite
3022     VERSION=4.2.3
3023    
3024    
3025    cat >>confdefs.h <<_ACEOF
3026    #define PACKAGE "$PACKAGE"
3027    _ACEOF
3028    
3029    
3030    cat >>confdefs.h <<_ACEOF
3031    #define VERSION "$VERSION"
3032    _ACEOF
3033    
3034    # Some tools Automake needs.
3035    
3036    ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3037    
3038    
3039    AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3040    
3041    
3042    AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3043    
3044    
3045    AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3046    
3047    
3048    MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3049    
3050    install_sh=${install_sh-"$am_aux_dir/install-sh"}
3051    
3052    # Installed binaries are usually stripped using `strip' when the user
3053    # run `make install-strip'.  However `strip' might not be the right
3054    # tool to use in cross-compilation environments, therefore Automake
3055    # will honor the `STRIP' environment variable to overrule this program.
3056    if test "$cross_compiling" != no; then
3057      if test -n "$ac_tool_prefix"; then
3058      # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3059    set dummy ${ac_tool_prefix}strip; ac_word=$2
3060    echo "$as_me:$LINENO: checking for $ac_word" >&5
3061    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3062    if test "${ac_cv_prog_STRIP+set}" = set; then
3063      echo $ECHO_N "(cached) $ECHO_C" >&6
3064    else
3065      if test -n "$STRIP"; then
3066      ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3067    else
3068    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069    for as_dir in $PATH
3070    do
3071      IFS=$as_save_IFS
3072      test -z "$as_dir" && as_dir=.
3073      for ac_exec_ext in '' $ac_executable_extensions; do
3074      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075        ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3076        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3077        break 2
3078      fi
3079    done
3080    done
3081    
3082    fi
3083    fi
3084    STRIP=$ac_cv_prog_STRIP
3085    if test -n "$STRIP"; then
3086      echo "$as_me:$LINENO: result: $STRIP" >&5
3087    echo "${ECHO_T}$STRIP" >&6
3088    else
3089      echo "$as_me:$LINENO: result: no" >&5
3090    echo "${ECHO_T}no" >&6
3091    fi
3092    
3093    fi
3094    if test -z "$ac_cv_prog_STRIP"; then
3095      ac_ct_STRIP=$STRIP
3096      # Extract the first word of "strip", so it can be a program name with args.
3097    set dummy strip; ac_word=$2
3098    echo "$as_me:$LINENO: checking for $ac_word" >&5
3099    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3100    if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3101      echo $ECHO_N "(cached) $ECHO_C" >&6
3102    else
3103      if test -n "$ac_ct_STRIP"; then
3104      ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3105    else
3106    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107    for as_dir in $PATH
3108    do
3109      IFS=$as_save_IFS
3110      test -z "$as_dir" && as_dir=.
3111      for ac_exec_ext in '' $ac_executable_extensions; do
3112      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113        ac_cv_prog_ac_ct_STRIP="strip"
3114        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3115        break 2
3116      fi
3117    done
3118    done
3119    
3120      test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3121    fi
3122    fi
3123    ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3124    if test -n "$ac_ct_STRIP"; then
3125      echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3126    echo "${ECHO_T}$ac_ct_STRIP" >&6
3127    else
3128      echo "$as_me:$LINENO: result: no" >&5
3129    echo "${ECHO_T}no" >&6
3130    fi
3131    
3132      STRIP=$ac_ct_STRIP
3133    else
3134      STRIP="$ac_cv_prog_STRIP"
3135    fi
3136    
3137    fi
3138    INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3139    
3140    # We need awk for the "check" target.  The system "awk" is bad on
3141    # some platforms.
3142    # Always define AMTAR for backward compatibility.
3143    
3144    AMTAR=${AMTAR-"${am_missing_run}tar"}
3145    
3146    am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3147    
3148    
3149    
3150    
3151  depcc="$CC"   am_compiler_list=  depcc="$CC"   am_compiler_list=
3152    
# Line 3008  else Line 3189  else
3189      : > sub/conftest.c      : > sub/conftest.c
3190      for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
3191        echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3192        : > sub/conftst$i.h        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3193          # Solaris 8's {/usr,}/bin/sh.
3194          touch sub/conftst$i.h
3195      done      done
3196      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3197    
# Line 3036  else Line 3219  else
3219         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3220         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3221        # icc doesn't choke on unknown options, it will just issue warnings        # icc doesn't choke on unknown options, it will just issue warnings
3222        # (even with -Werror).  So we grep stderr for any message        # or remarks (even with -Werror).  So we grep stderr for any message
3223        # that says an option was ignored.        # that says an option was ignored or not supported.
3224        if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else        # When given -MP, icc 7.0 and 7.1 complain thusly:
3225          #   icc: Command line warning: ignoring option '-M'; no argument required
3226          # The diagnosis changed in icc 8.0:
3227          #   icc: Command line remark: option '-MP' not supported
3228          if (grep 'ignoring option' conftest.err ||
3229              grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3230          am_cv_CC_dependencies_compiler_type=$depmode          am_cv_CC_dependencies_compiler_type=$depmode
3231          break          break
3232        fi        fi
# Line 3069  else Line 3257  else
3257  fi  fi
3258    
3259    
3260    
3261              ac_config_headers="$ac_config_headers config.h"
3262    
3263    
3264    sl4includedir=$includedir/satellite4
3265    
3266    
3267    sl4libdir=$libdir
3268    
3269    
3270    sl4libexecdir=$libexecdir/satellite4
3271    
3272    
3273    docdir=$datadir/doc
3274    
3275    sl4docdir=$docdir/satellite4
3276    
3277    
3278    sl4sharedir=$datadir/satellite4
3279    
3280    
3281    examplesdir=$datadir/examples/satellite4
3282    
3283    
3284    moduledir=$libdir/satellite4
3285    
3286    
3287    systemrcdir=$sysconfdir/satellite4
3288    
3289    
3290    modulercdir=$sysconfdir/satellite4
3291    
3292    
3293    # Checks for programs.
3294    # Check whether --enable-static or --disable-static was given.
3295    if test "${enable_static+set}" = set; then
3296      enableval="$enable_static"
3297      p=${PACKAGE-default}
3298        case $enableval in
3299        yes) enable_static=yes ;;
3300        no) enable_static=no ;;
3301        *)
3302         enable_static=no
3303          # Look at the argument we got.  We use all the common list separators.
3304          lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3305          for pkg in $enableval; do
3306            IFS="$lt_save_ifs"
3307            if test "X$pkg" = "X$p"; then
3308              enable_static=yes
3309            fi
3310          done
3311          IFS="$lt_save_ifs"
3312          ;;
3313        esac
3314    else
3315      enable_static=no
3316    fi;
3317    
3318    
3319  ac_ext=cc  ac_ext=cc
3320  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
3321  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3188  if test "${ac_cv_cxx_compiler_gnu+set}" Line 3435  if test "${ac_cv_cxx_compiler_gnu+set}"
3435    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3436  else  else
3437    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3438  /* confdefs.h.  */  /* confdefs.h.  */
3439  _ACEOF  _ACEOF
3440  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3208  main () Line 3454  main ()
3454  _ACEOF  _ACEOF
3455  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3456  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3457    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3458    ac_status=$?    ac_status=$?
3459      grep -v '^ *+' conftest.er1 >conftest.err
3460      rm -f conftest.er1
3461      cat conftest.err >&5
3462    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463    (exit $ac_status); } &&    (exit $ac_status); } &&
3464           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
3465                             || test ! -s conftest.err'
3466      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467      (eval $ac_try) 2>&5
3468      ac_status=$?
3469      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470      (exit $ac_status); }; } &&
3471             { ac_try='test -s conftest.$ac_objext'
3472    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3474    ac_status=$?    ac_status=$?
# Line 3225  sed 's/^/| /' conftest.$ac_ext >&5 Line 3481  sed 's/^/| /' conftest.$ac_ext >&5
3481    
3482  ac_compiler_gnu=no  ac_compiler_gnu=no
3483  fi  fi
3484  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3485  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3486    
3487  fi  fi
# Line 3241  if test "${ac_cv_prog_cxx_g+set}" = set; Line 3497  if test "${ac_cv_prog_cxx_g+set}" = set;
3497    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3498  else  else
3499    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3500  /* confdefs.h.  */  /* confdefs.h.  */
3501  _ACEOF  _ACEOF
3502  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3258  main () Line 3513  main ()
3513  _ACEOF  _ACEOF
3514  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3515  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3516    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3517    ac_status=$?    ac_status=$?
3518      grep -v '^ *+' conftest.er1 >conftest.err
3519      rm -f conftest.er1
3520      cat conftest.err >&5
3521    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522    (exit $ac_status); } &&    (exit $ac_status); } &&
3523           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
3524                             || test ! -s conftest.err'
3525      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526      (eval $ac_try) 2>&5
3527      ac_status=$?
3528      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529      (exit $ac_status); }; } &&
3530             { ac_try='test -s conftest.$ac_objext'
3531    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3533    ac_status=$?    ac_status=$?
# Line 3275  sed 's/^/| /' conftest.$ac_ext >&5 Line 3540  sed 's/^/| /' conftest.$ac_ext >&5
3540    
3541  ac_cv_prog_cxx_g=no  ac_cv_prog_cxx_g=no
3542  fi  fi
3543  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3544  fi  fi
3545  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3546  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
# Line 3295  else Line 3560  else
3560    fi    fi
3561  fi  fi
3562  for ac_declaration in \  for ac_declaration in \
3563     ''\     '' \
    '#include <stdlib.h>' \  
3564     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
3565     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
3566     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 3304  for ac_declaration in \ Line 3568  for ac_declaration in \
3568     'void exit (int);'     'void exit (int);'
3569  do  do
3570    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3571  /* confdefs.h.  */  /* confdefs.h.  */
3572  _ACEOF  _ACEOF
3573  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3574  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3575  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
3576  $ac_declaration  $ac_declaration
3577    #include <stdlib.h>
3578  int  int
3579  main ()  main ()
3580  {  {
# Line 3322  exit (42); Line 3585  exit (42);
3585  _ACEOF  _ACEOF
3586  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3587  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3588    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3589    ac_status=$?    ac_status=$?
3590      grep -v '^ *+' conftest.er1 >conftest.err
3591      rm -f conftest.er1
3592      cat conftest.err >&5
3593    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594    (exit $ac_status); } &&    (exit $ac_status); } &&
3595           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
3596                             || test ! -s conftest.err'
3597      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598      (eval $ac_try) 2>&5
3599      ac_status=$?
3600      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601      (exit $ac_status); }; } &&
3602             { ac_try='test -s conftest.$ac_objext'
3603    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3605    ac_status=$?    ac_status=$?
# Line 3339  sed 's/^/| /' conftest.$ac_ext >&5 Line 3612  sed 's/^/| /' conftest.$ac_ext >&5
3612    
3613  continue  continue
3614  fi  fi
3615  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3616    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3617  /* confdefs.h.  */  /* confdefs.h.  */
3618  _ACEOF  _ACEOF
3619  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3358  exit (42); Line 3630  exit (42);
3630  _ACEOF  _ACEOF
3631  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3632  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3634    ac_status=$?    ac_status=$?
3635      grep -v '^ *+' conftest.er1 >conftest.err
3636      rm -f conftest.er1
3637      cat conftest.err >&5
3638    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639    (exit $ac_status); } &&    (exit $ac_status); } &&
3640           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_cxx_werror_flag"
3641                             || test ! -s conftest.err'
3642      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643      (eval $ac_try) 2>&5
3644      ac_status=$?
3645      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646      (exit $ac_status); }; } &&
3647             { ac_try='test -s conftest.$ac_objext'
3648    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3650    ac_status=$?    ac_status=$?
# Line 3374  else Line 3656  else
3656  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3657    
3658  fi  fi
3659  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3660  done  done
3661  rm -f conftest*  rm -f conftest*
3662  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 3430  else Line 3712  else
3712      : > sub/conftest.c      : > sub/conftest.c
3713      for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
3714        echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3715        : > sub/conftst$i.h        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3716          # Solaris 8's {/usr,}/bin/sh.
3717          touch sub/conftst$i.h
3718      done      done
3719      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3720    
# Line 3458  else Line 3742  else
3742         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3743         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3744        # icc doesn't choke on unknown options, it will just issue warnings        # icc doesn't choke on unknown options, it will just issue warnings
3745        # (even with -Werror).  So we grep stderr for any message        # or remarks (even with -Werror).  So we grep stderr for any message
3746        # that says an option was ignored.        # that says an option was ignored or not supported.
3747        if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else        # When given -MP, icc 7.0 and 7.1 complain thusly:
3748          #   icc: Command line warning: ignoring option '-M'; no argument required
3749          # The diagnosis changed in icc 8.0:
3750          #   icc: Command line remark: option '-MP' not supported
3751          if (grep 'ignoring option' conftest.err ||
3752              grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3753          am_cv_CXX_dependencies_compiler_type=$depmode          am_cv_CXX_dependencies_compiler_type=$depmode
3754          break          break
3755        fi        fi
# Line 3491  else Line 3780  else
3780  fi  fi
3781    
3782    
3783  for ac_prog in 'bison -y' byacc  ac_ext=c
3784    ac_cpp='$CPP $CPPFLAGS'
3785    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3786    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3787    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3788    if test -n "$ac_tool_prefix"; then
3789      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3790    set dummy ${ac_tool_prefix}gcc; ac_word=$2
3791    echo "$as_me:$LINENO: checking for $ac_word" >&5
3792    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3793    if test "${ac_cv_prog_CC+set}" = set; then
3794      echo $ECHO_N "(cached) $ECHO_C" >&6
3795    else
3796      if test -n "$CC"; then
3797      ac_cv_prog_CC="$CC" # Let the user override the test.
3798    else
3799    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800    for as_dir in $PATH
3801    do
3802      IFS=$as_save_IFS
3803      test -z "$as_dir" && as_dir=.
3804      for ac_exec_ext in '' $ac_executable_extensions; do
3805      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806        ac_cv_prog_CC="${ac_tool_prefix}gcc"
3807        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3808        break 2
3809      fi
3810    done
3811    done
3812    
3813    fi
3814    fi
3815    CC=$ac_cv_prog_CC
3816    if test -n "$CC"; then
3817      echo "$as_me:$LINENO: result: $CC" >&5
3818    echo "${ECHO_T}$CC" >&6
3819    else
3820      echo "$as_me:$LINENO: result: no" >&5
3821    echo "${ECHO_T}no" >&6
3822    fi
3823    
3824    fi
3825    if test -z "$ac_cv_prog_CC"; then
3826      ac_ct_CC=$CC
3827      # Extract the first word of "gcc", so it can be a program name with args.
3828    set dummy gcc; ac_word=$2
3829    echo "$as_me:$LINENO: checking for $ac_word" >&5
3830    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3831    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3832      echo $ECHO_N "(cached) $ECHO_C" >&6
3833    else
3834      if test -n "$ac_ct_CC"; then
3835      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3836    else
3837    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838    for as_dir in $PATH
3839    do
3840      IFS=$as_save_IFS
3841      test -z "$as_dir" && as_dir=.
3842      for ac_exec_ext in '' $ac_executable_extensions; do
3843      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844        ac_cv_prog_ac_ct_CC="gcc"
3845        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3846        break 2
3847      fi
3848    done
3849    done
3850    
3851    fi
3852    fi
3853    ac_ct_CC=$ac_cv_prog_ac_ct_CC
3854    if test -n "$ac_ct_CC"; then
3855      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3856    echo "${ECHO_T}$ac_ct_CC" >&6
3857    else
3858      echo "$as_me:$LINENO: result: no" >&5
3859    echo "${ECHO_T}no" >&6
3860    fi
3861    
3862      CC=$ac_ct_CC
3863    else
3864      CC="$ac_cv_prog_CC"
3865    fi
3866    
3867    if test -z "$CC"; then
3868      if test -n "$ac_tool_prefix"; then
3869      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3870    set dummy ${ac_tool_prefix}cc; ac_word=$2
3871    echo "$as_me:$LINENO: checking for $ac_word" >&5
3872    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3873    if test "${ac_cv_prog_CC+set}" = set; then
3874      echo $ECHO_N "(cached) $ECHO_C" >&6
3875    else
3876      if test -n "$CC"; then
3877      ac_cv_prog_CC="$CC" # Let the user override the test.
3878    else
3879    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880    for as_dir in $PATH
3881    do
3882      IFS=$as_save_IFS
3883      test -z "$as_dir" && as_dir=.
3884      for ac_exec_ext in '' $ac_executable_extensions; do
3885      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886        ac_cv_prog_CC="${ac_tool_prefix}cc"
3887        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3888        break 2
3889      fi
3890    done
3891    done
3892    
3893    fi
3894    fi
3895    CC=$ac_cv_prog_CC
3896    if test -n "$CC"; then
3897      echo "$as_me:$LINENO: result: $CC" >&5
3898    echo "${ECHO_T}$CC" >&6
3899    else
3900      echo "$as_me:$LINENO: result: no" >&5
3901    echo "${ECHO_T}no" >&6
3902    fi
3903    
3904    fi
3905    if test -z "$ac_cv_prog_CC"; then
3906      ac_ct_CC=$CC
3907      # Extract the first word of "cc", so it can be a program name with args.
3908    set dummy cc; ac_word=$2
3909    echo "$as_me:$LINENO: checking for $ac_word" >&5
3910    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3911    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3912      echo $ECHO_N "(cached) $ECHO_C" >&6
3913    else
3914      if test -n "$ac_ct_CC"; then
3915      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916    else
3917    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918    for as_dir in $PATH
3919    do
3920      IFS=$as_save_IFS
3921      test -z "$as_dir" && as_dir=.
3922      for ac_exec_ext in '' $ac_executable_extensions; do
3923      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924        ac_cv_prog_ac_ct_CC="cc"
3925        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3926        break 2
3927      fi
3928    done
3929    done
3930    
3931    fi
3932    fi
3933    ac_ct_CC=$ac_cv_prog_ac_ct_CC
3934    if test -n "$ac_ct_CC"; then
3935      echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3936    echo "${ECHO_T}$ac_ct_CC" >&6
3937    else
3938      echo "$as_me:$LINENO: result: no" >&5
3939    echo "${ECHO_T}no" >&6
3940    fi
3941    
3942      CC=$ac_ct_CC
3943    else
3944      CC="$ac_cv_prog_CC"
3945    fi
3946    
3947    fi
3948    if test -z "$CC"; then
3949      # Extract the first word of "cc", so it can be a program name with args.
3950    set dummy cc; ac_word=$2
3951    echo "$as_me:$LINENO: checking for $ac_word" >&5
3952    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3953    if test "${ac_cv_prog_CC+set}" = set; then
3954      echo $ECHO_N "(cached) $ECHO_C" >&6
3955    else
3956      if test -n "$CC"; then
3957      ac_cv_prog_CC="$CC" # Let the user override the test.
3958    else
3959      ac_prog_rejected=no
3960    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961    for as_dir in $PATH
3962    do
3963      IFS=$as_save_IFS
3964      test -z "$as_dir" && as_dir=.
3965      for ac_exec_ext in '' $ac_executable_extensions; do
3966      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967        if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3968           ac_prog_rejected=yes
3969           continue
3970         fi
3971        ac_cv_prog_CC="cc"
3972        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3973        break 2
3974      fi
3975    done
3976    done
3977    
3978    if test $ac_prog_rejected = yes; then
3979      # We found a bogon in the path, so make sure we never use it.
3980      set dummy $ac_cv_prog_CC
3981      shift
3982      if test $# != 0; then
3983        # We chose a different compiler from the bogus one.
3984        # However, it has the same basename, so the bogon will be chosen
3985        # first if we set CC to just the basename; use the full file name.
3986        shift
3987        ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3988      fi
3989    fi
3990    fi
3991    fi
3992    CC=$ac_cv_prog_CC
3993    if test -n "$CC"; then
3994      echo "$as_me:$LINENO: result: $CC" >&5
3995    echo "${ECHO_T}$CC" >&6
3996    else
3997      echo "$as_me:$LINENO: result: no" >&5
3998    echo "${ECHO_T}no" >&6
3999    fi
4000    
4001    fi
4002    if test -z "$CC"; then
4003      if test -n "$ac_tool_prefix"; then
4004      for ac_prog in cl
4005      do
4006        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4007    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4008    echo "$as_me:$LINENO: checking for $ac_word" >&5
4009    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4010    if test "${ac_cv_prog_CC+set}" = set; then
4011      echo $ECHO_N "(cached) $ECHO_C" >&6
4012    else
4013      if test -n "$CC"; then
4014      ac_cv_prog_CC="$CC" # Let the user override the test.
4015    else
4016    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017    for as_dir in $PATH
4018    do
4019      IFS=$as_save_IFS
4020      test -z "$as_dir" && as_dir=.
4021      for ac_exec_ext in '' $ac_executable_extensions; do
4022      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4023        ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4024        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4025        break 2
4026      fi
4027    done
4028    done
4029    
4030    fi
4031    fi
4032    CC=$ac_cv_prog_CC
4033    if test -n "$CC"; then
4034      echo "$as_me:$LINENO: result: $CC" >&5
4035    echo "${ECHO_T}$CC" >&6
4036    else
4037      echo "$as_me:$LINENO: result: no" >&5
4038    echo "${ECHO_T}no" >&6
4039    fi
4040    
4041        test -n "$CC" && break
4042      done
4043    fi
4044    if test -z "$CC"; then
4045      ac_ct_CC=$CC
4046      for ac_prog in cl
4047  do  do
4048    # 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.
4049  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
4050  echo "$as_me:$LINENO: checking for $ac_word" >&5  echo "$as_me:$LINENO: checking for $ac_word" >&5
4051  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4052  if test "${ac_cv_prog_YACC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4053    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4054  else  else
4055    if test -n "$YACC"; then    if test -n "$ac_ct_CC"; then
4056    ac_cv_prog_YACC="$YACC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4057  else  else
4058  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059  for as_dir in $PATH  for as_dir in $PATH
# Line 3510  do Line 4062  do
4062    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
4063    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
4064    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065      ac_cv_prog_YACC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
4066      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067      break 2      break 2
4068    fi    fi
# Line 3519  done Line 4071  done
4071    
4072  fi  fi
4073  fi  fi
4074  YACC=$ac_cv_prog_YACC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
4075  if test -n "$YACC"; then  if test -n "$ac_ct_CC"; then
4076    echo "$as_me:$LINENO: result: $YACC" >&5    echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4077  echo "${ECHO_T}$YACC" >&6  echo "${ECHO_T}$ac_ct_CC" >&6
4078  else  else
4079    echo "$as_me:$LINENO: result: no" >&5    echo "$as_me:$LINENO: result: no" >&5
4080  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
4081  fi  fi
4082    
4083    test -n "$YACC" && break    test -n "$ac_ct_CC" && break
4084  done  done
4085  test -n "$YACC" || YACC="yacc"  
4086      CC=$ac_ct_CC
4087    fi
4088    
4089    fi
4090    
4091    
4092    test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4093    See \`config.log' for more details." >&5
4094    echo "$as_me: error: no acceptable C compiler found in \$PATH
4095    See \`config.log' for more details." >&2;}
4096       { (exit 1); exit 1; }; }
4097    
4098    # Provide some information about the compiler.
4099    echo "$as_me:$LINENO:" \
4100         "checking for C compiler version" >&5
4101    ac_compiler=`set X $ac_compile; echo $2`
4102    { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4103      (eval $ac_compiler --version </dev/null >&5) 2>&5
4104      ac_status=$?
4105      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106      (exit $ac_status); }
4107    { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4108      (eval $ac_compiler -v </dev/null >&5) 2>&5
4109      ac_status=$?
4110      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111      (exit $ac_status); }
4112    { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4113      (eval $ac_compiler -V </dev/null >&5) 2>&5
4114      ac_status=$?
4115      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116      (exit $ac_status); }
4117    
4118    echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4119    echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4120    if test "${ac_cv_c_compiler_gnu+set}" = set; then
4121      echo $ECHO_N "(cached) $ECHO_C" >&6
4122    else
4123      cat >conftest.$ac_ext <<_ACEOF
4124    /* confdefs.h.  */
4125    _ACEOF
4126    cat confdefs.h >>conftest.$ac_ext
4127    cat >>conftest.$ac_ext <<_ACEOF
4128    /* end confdefs.h.  */
4129    
4130    int
4131    main ()
4132    {
4133    #ifndef __GNUC__
4134           choke me
4135    #endif
4136    
4137      ;
4138      return 0;
4139    }
4140    _ACEOF
4141    rm -f conftest.$ac_objext
4142    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4143      (eval $ac_compile) 2>conftest.er1
4144      ac_status=$?
4145      grep -v '^ *+' conftest.er1 >conftest.err
4146      rm -f conftest.er1
4147      cat conftest.err >&5
4148      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149      (exit $ac_status); } &&
4150             { ac_try='test -z "$ac_c_werror_flag"
4151                             || test ! -s conftest.err'
4152      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153      (eval $ac_try) 2>&5
4154      ac_status=$?
4155      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156      (exit $ac_status); }; } &&
4157             { ac_try='test -s conftest.$ac_objext'
4158      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159      (eval $ac_try) 2>&5
4160      ac_status=$?
4161      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162      (exit $ac_status); }; }; then
4163      ac_compiler_gnu=yes
4164    else
4165      echo "$as_me: failed program was:" >&5
4166    sed 's/^/| /' conftest.$ac_ext >&5
4167    
4168    ac_compiler_gnu=no
4169    fi
4170    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4171    ac_cv_c_compiler_gnu=$ac_compiler_gnu
4172    
4173    fi
4174    echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4175    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4176    GCC=`test $ac_compiler_gnu = yes && echo yes`
4177    ac_test_CFLAGS=${CFLAGS+set}
4178    ac_save_CFLAGS=$CFLAGS
4179    CFLAGS="-g"
4180    echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4181    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4182    if test "${ac_cv_prog_cc_g+set}" = set; then
4183      echo $ECHO_N "(cached) $ECHO_C" >&6
4184    else
4185      cat >conftest.$ac_ext <<_ACEOF
4186    /* confdefs.h.  */
4187    _ACEOF
4188    cat confdefs.h >>conftest.$ac_ext
4189    cat >>conftest.$ac_ext <<_ACEOF
4190    /* end confdefs.h.  */
4191    
4192    int
4193    main ()
4194    {
4195    
4196      ;
4197      return 0;
4198    }
4199    _ACEOF
4200    rm -f conftest.$ac_objext
4201    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4202      (eval $ac_compile) 2>conftest.er1
4203      ac_status=$?
4204      grep -v '^ *+' conftest.er1 >conftest.err
4205      rm -f conftest.er1
4206      cat conftest.err >&5
4207      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208      (exit $ac_status); } &&
4209             { ac_try='test -z "$ac_c_werror_flag"
4210                             || test ! -s conftest.err'
4211      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212      (eval $ac_try) 2>&5
4213      ac_status=$?
4214      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215      (exit $ac_status); }; } &&
4216             { ac_try='test -s conftest.$ac_objext'
4217      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218      (eval $ac_try) 2>&5
4219      ac_status=$?
4220      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221      (exit $ac_status); }; }; then
4222      ac_cv_prog_cc_g=yes
4223    else
4224      echo "$as_me: failed program was:" >&5
4225    sed 's/^/| /' conftest.$ac_ext >&5
4226    
4227    ac_cv_prog_cc_g=no
4228    fi
4229    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4230    fi
4231    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4232    echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4233    if test "$ac_test_CFLAGS" = set; then
4234      CFLAGS=$ac_save_CFLAGS
4235    elif test $ac_cv_prog_cc_g = yes; then
4236      if test "$GCC" = yes; then
4237        CFLAGS="-g -O2"
4238      else
4239        CFLAGS="-g"
4240      fi
4241    else
4242      if test "$GCC" = yes; then
4243        CFLAGS="-O2"
4244      else
4245        CFLAGS=
4246      fi
4247    fi
4248    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4249    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4250    if test "${ac_cv_prog_cc_stdc+set}" = set; then
4251      echo $ECHO_N "(cached) $ECHO_C" >&6
4252    else
4253      ac_cv_prog_cc_stdc=no
4254    ac_save_CC=$CC
4255    cat >conftest.$ac_ext <<_ACEOF
4256    /* confdefs.h.  */
4257    _ACEOF
4258    cat confdefs.h >>conftest.$ac_ext
4259    cat >>conftest.$ac_ext <<_ACEOF
4260    /* end confdefs.h.  */
4261    #include <stdarg.h>
4262    #include <stdio.h>
4263    #include <sys/types.h>
4264    #include <sys/stat.h>
4265    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4266    struct buf { int x; };
4267    FILE * (*rcsopen) (struct buf *, struct stat *, int);
4268    static char *e (p, i)
4269         char **p;
4270         int i;
4271    {
4272      return p[i];
4273    }
4274    static char *f (char * (*g) (char **, int), char **p, ...)
4275    {
4276      char *s;
4277      va_list v;
4278      va_start (v,p);
4279      s = g (p, va_arg (v,int));
4280      va_end (v);
4281      return s;
4282    }
4283    
4284    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4285       function prototypes and stuff, but not '\xHH' hex character constants.
4286       These don't provoke an error unfortunately, instead are silently treated
4287       as 'x'.  The following induces an error, until -std1 is added to get
4288       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4289       array size at least.  It's necessary to write '\x00'==0 to get something
4290       that's true only with -std1.  */
4291    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4292    
4293    int test (int i, double x);
4294    struct s1 {int (*f) (int a);};
4295    struct s2 {int (*f) (double a);};
4296    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297    int argc;
4298    char **argv;
4299    int
4300    main ()
4301    {
4302    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4303      ;
4304      return 0;
4305    }
4306    _ACEOF
4307    # Don't try gcc -ansi; that turns off useful extensions and
4308    # breaks some systems' header files.
4309    # AIX                   -qlanglvl=ansi
4310    # Ultrix and OSF/1      -std1
4311    # HP-UX 10.20 and later -Ae
4312    # HP-UX older versions  -Aa -D_HPUX_SOURCE
4313    # SVR4                  -Xc -D__EXTENSIONS__
4314    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4315    do
4316      CC="$ac_save_CC $ac_arg"
4317      rm -f conftest.$ac_objext
4318    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4319      (eval $ac_compile) 2>conftest.er1
4320      ac_status=$?
4321      grep -v '^ *+' conftest.er1 >conftest.err
4322      rm -f conftest.er1
4323      cat conftest.err >&5
4324      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325      (exit $ac_status); } &&
4326             { ac_try='test -z "$ac_c_werror_flag"
4327                             || test ! -s conftest.err'
4328      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329      (eval $ac_try) 2>&5
4330      ac_status=$?
4331      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332      (exit $ac_status); }; } &&
4333             { ac_try='test -s conftest.$ac_objext'
4334      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335      (eval $ac_try) 2>&5
4336      ac_status=$?
4337      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338      (exit $ac_status); }; }; then
4339      ac_cv_prog_cc_stdc=$ac_arg
4340    break
4341    else
4342      echo "$as_me: failed program was:" >&5
4343    sed 's/^/| /' conftest.$ac_ext >&5
4344    
4345    fi
4346    rm -f conftest.err conftest.$ac_objext
4347    done
4348    rm -f conftest.$ac_ext conftest.$ac_objext
4349    CC=$ac_save_CC
4350    
4351    fi
4352    
4353    case "x$ac_cv_prog_cc_stdc" in
4354      x|xno)
4355        echo "$as_me:$LINENO: result: none needed" >&5
4356    echo "${ECHO_T}none needed" >&6 ;;
4357      *)
4358        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4359    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4360        CC="$CC $ac_cv_prog_cc_stdc" ;;
4361    esac
4362    
4363    # Some people use a C++ compiler to compile C.  Since we use `exit',
4364    # in C++ we need to declare it.  In case someone uses the same compiler
4365    # for both compiling C and C++ we need to have the C++ compiler decide
4366    # the declaration of exit, since it's the most demanding environment.
4367    cat >conftest.$ac_ext <<_ACEOF
4368    #ifndef __cplusplus
4369      choke me
4370    #endif
4371    _ACEOF
4372    rm -f conftest.$ac_objext
4373    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374      (eval $ac_compile) 2>conftest.er1
4375      ac_status=$?
4376      grep -v '^ *+' conftest.er1 >conftest.err
4377      rm -f conftest.er1
4378      cat conftest.err >&5
4379      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380      (exit $ac_status); } &&
4381             { ac_try='test -z "$ac_c_werror_flag"
4382                             || test ! -s conftest.err'
4383      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384      (eval $ac_try) 2>&5
4385      ac_status=$?
4386      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387      (exit $ac_status); }; } &&
4388             { ac_try='test -s conftest.$ac_objext'
4389      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4390      (eval $ac_try) 2>&5
4391      ac_status=$?
4392      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393      (exit $ac_status); }; }; then
4394      for ac_declaration in \
4395       '' \
4396       'extern "C" void std::exit (int) throw (); using std::exit;' \
4397       'extern "C" void std::exit (int); using std::exit;' \
4398       'extern "C" void exit (int) throw ();' \
4399       'extern "C" void exit (int);' \
4400       'void exit (int);'
4401    do
4402      cat >conftest.$ac_ext <<_ACEOF
4403    /* confdefs.h.  */
4404    _ACEOF
4405    cat confdefs.h >>conftest.$ac_ext
4406    cat >>conftest.$ac_ext <<_ACEOF
4407    /* end confdefs.h.  */
4408    $ac_declaration
4409    #include <stdlib.h>
4410    int
4411    main ()
4412    {
4413    exit (42);
4414      ;
4415      return 0;
4416    }
4417    _ACEOF
4418    rm -f conftest.$ac_objext
4419    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420      (eval $ac_compile) 2>conftest.er1
4421      ac_status=$?
4422      grep -v '^ *+' conftest.er1 >conftest.err
4423      rm -f conftest.er1
4424      cat conftest.err >&5
4425      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426      (exit $ac_status); } &&
4427             { ac_try='test -z "$ac_c_werror_flag"
4428                             || test ! -s conftest.err'
4429      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430      (eval $ac_try) 2>&5
4431      ac_status=$?
4432      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433      (exit $ac_status); }; } &&
4434             { ac_try='test -s conftest.$ac_objext'
4435      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436      (eval $ac_try) 2>&5
4437      ac_status=$?
4438      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439      (exit $ac_status); }; }; then
4440      :
4441    else
4442      echo "$as_me: failed program was:" >&5
4443    sed 's/^/| /' conftest.$ac_ext >&5
4444    
4445    continue
4446    fi
4447    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4448      cat >conftest.$ac_ext <<_ACEOF
4449    /* confdefs.h.  */
4450    _ACEOF
4451    cat confdefs.h >>conftest.$ac_ext
4452    cat >>conftest.$ac_ext <<_ACEOF
4453    /* end confdefs.h.  */
4454    $ac_declaration
4455    int
4456    main ()
4457    {
4458    exit (42);
4459      ;
4460      return 0;
4461    }
4462    _ACEOF
4463    rm -f conftest.$ac_objext
4464    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4465      (eval $ac_compile) 2>conftest.er1
4466      ac_status=$?
4467      grep -v '^ *+' conftest.er1 >conftest.err
4468      rm -f conftest.er1
4469      cat conftest.err >&5
4470      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471      (exit $ac_status); } &&
4472             { ac_try='test -z "$ac_c_werror_flag"
4473                             || test ! -s conftest.err'
4474      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475      (eval $ac_try) 2>&5
4476      ac_status=$?
4477      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478      (exit $ac_status); }; } &&
4479             { ac_try='test -s conftest.$ac_objext'
4480      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4481      (eval $ac_try) 2>&5
4482      ac_status=$?
4483      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484      (exit $ac_status); }; }; then
4485      break
4486    else
4487      echo "$as_me: failed program was:" >&5
4488    sed 's/^/| /' conftest.$ac_ext >&5
4489    
4490    fi
4491    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4492    done
4493    rm -f conftest*
4494    if test -n "$ac_declaration"; then
4495      echo '#ifdef __cplusplus' >>confdefs.h
4496      echo $ac_declaration      >>confdefs.h
4497      echo '#endif'             >>confdefs.h
4498    fi
4499    
4500    else
4501      echo "$as_me: failed program was:" >&5
4502    sed 's/^/| /' conftest.$ac_ext >&5
4503    
4504    fi
4505    rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4506    ac_ext=c
4507    ac_cpp='$CPP $CPPFLAGS'
4508    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4509    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4510    ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511    
4512  ac_ext=c  ac_ext=c
4513  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 3560  do Line 4537  do
4537    # 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,
4538    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
4539    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4540  /* confdefs.h.  */  /* confdefs.h.  */
4541  _ACEOF  _ACEOF
4542  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3571  cat >>conftest.$ac_ext <<_ACEOF Line 4547  cat >>conftest.$ac_ext <<_ACEOF
4547  #else  #else
4548  # include <assert.h>  # include <assert.h>
4549  #endif  #endif
4550                       Syntax error                       Syntax error
4551  _ACEOF  _ACEOF
4552  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4553    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3583  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4559  if { (eval echo "$as_me:$LINENO: \"$ac_c
4559    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4560    if test -s conftest.err; then    if test -s conftest.err; then
4561      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4562        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4563    else    else
4564      ac_cpp_err=      ac_cpp_err=
4565    fi    fi
# Line 3603  rm -f conftest.err conftest.$ac_ext Line 4580  rm -f conftest.err conftest.$ac_ext
4580    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
4581    # can be detected and how.    # can be detected and how.
4582    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4583  /* confdefs.h.  */  /* confdefs.h.  */
4584  _ACEOF  _ACEOF
4585  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3621  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4597  if { (eval echo "$as_me:$LINENO: \"$ac_c
4597    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4598    if test -s conftest.err; then    if test -s conftest.err; then
4599      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4600        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4601    else    else
4602      ac_cpp_err=      ac_cpp_err=
4603    fi    fi
# Line 3667  do Line 4644  do
4644    # 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,
4645    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
4646    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4647  /* confdefs.h.  */  /* confdefs.h.  */
4648  _ACEOF  _ACEOF
4649  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3678  cat >>conftest.$ac_ext <<_ACEOF Line 4654  cat >>conftest.$ac_ext <<_ACEOF
4654  #else  #else
4655  # include <assert.h>  # include <assert.h>
4656  #endif  #endif
4657                       Syntax error                       Syntax error
4658  _ACEOF  _ACEOF
4659  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4660    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3690  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4666  if { (eval echo "$as_me:$LINENO: \"$ac_c
4666    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4667    if test -s conftest.err; then    if test -s conftest.err; then
4668      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4669        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4670    else    else
4671      ac_cpp_err=      ac_cpp_err=
4672    fi    fi
# Line 3710  rm -f conftest.err conftest.$ac_ext Line 4687  rm -f conftest.err conftest.$ac_ext
4687    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
4688    # can be detected and how.    # can be detected and how.
4689    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4690  /* confdefs.h.  */  /* confdefs.h.  */
4691  _ACEOF  _ACEOF
4692  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3728  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4704  if { (eval echo "$as_me:$LINENO: \"$ac_c
4704    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4705    if test -s conftest.err; then    if test -s conftest.err; then
4706      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4707        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4708    else    else
4709      ac_cpp_err=      ac_cpp_err=
4710    fi    fi
# Line 3777  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 4754  ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754  # 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
4755  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4756  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4757    # OS/2's system install, which has a completely different semantic
4758  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
4759  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4760  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 3793  do Line 4771  do
4771  case $as_dir/ in  case $as_dir/ in
4772    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
4773    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4774      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4775    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
4776    *)    *)
4777      # 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 3800  case $as_dir/ in Line 4779  case $as_dir/ in
4779      # by default.      # by default.
4780      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
4781        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
4782          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4783            if test $ac_prog = install &&            if test $ac_prog = install &&
4784              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
4785              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
4786              :              :
4787            elif test $ac_prog = install &&            elif test $ac_prog = install &&
4788              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
4789              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
4790              :              :
4791            else            else
4792              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4793              break 3              break 3
4794            fi            fi
4795          fi          fi
4796        done        done
4797      done      done
4798      ;;      ;;
# Line 3856  fi Line 4835  fi
4835    
4836  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4837  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4838  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.make <<\_ACEOF  
 all:  
         @echo 'ac_maketemp="$(MAKE)"'  
 _ACEOF  
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  
 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`  
 if test -n "$ac_maketemp"; then  
   eval ac_cv_prog_make_${ac_make}_set=yes  
 else  
   eval ac_cv_prog_make_${ac_make}_set=no  
 fi  
 rm -f conftest.make  
 fi  
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  
   echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
   SET_MAKE=  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
   SET_MAKE="MAKE=${MAKE-make}"  
 fi  
   
 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  
 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  
4839  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
4840    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4841  else  else
# Line 3992  else Line 4942  else
4942    RANLIB="$ac_cv_prog_RANLIB"    RANLIB="$ac_cv_prog_RANLIB"
4943  fi  fi
4944    
4945    for ac_prog in 'bison -y' byacc
4946    do
4947      # Extract the first word of "$ac_prog", so it can be a program name with args.
4948    set dummy $ac_prog; ac_word=$2
4949    echo "$as_me:$LINENO: checking for $ac_word" >&5
4950    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4951    if test "${ac_cv_prog_YACC+set}" = set; then
4952      echo $ECHO_N "(cached) $ECHO_C" >&6
4953    else
4954      if test -n "$YACC"; then
4955      ac_cv_prog_YACC="$YACC" # Let the user override the test.
4956    else
4957    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958    for as_dir in $PATH
4959    do
4960      IFS=$as_save_IFS
4961      test -z "$as_dir" && as_dir=.
4962      for ac_exec_ext in '' $ac_executable_extensions; do
4963      if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964        ac_cv_prog_YACC="$ac_prog"
4965        echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4966        break 2
4967      fi
4968    done
4969    done
4970    
4971    fi
4972    fi
4973    YACC=$ac_cv_prog_YACC
4974    if test -n "$YACC"; then
4975      echo "$as_me:$LINENO: result: $YACC" >&5
4976    echo "${ECHO_T}$YACC" >&6
4977    else
4978      echo "$as_me:$LINENO: result: no" >&5
4979    echo "${ECHO_T}no" >&6
4980    fi
4981    
4982      test -n "$YACC" && break
4983    done
4984    test -n "$YACC" || YACC="yacc"
4985    
4986  for ac_prog in gawk mawk nawk awk  for ac_prog in gawk mawk nawk awk
4987  do  do
4988    # 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 4107  lt_ac_count=0 Line 5098  lt_ac_count=0
5098  # Add /usr/xpg4/bin/sed as it is typically found on Solaris  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5099  # along with /bin/sed that truncates output.  # along with /bin/sed that truncates output.
5100  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
5101    test ! -f $lt_ac_sed && break    test ! -f $lt_ac_sed && continue
5102    cat /dev/null > conftest.in    cat /dev/null > conftest.in
5103    lt_ac_count=0    lt_ac_count=0
5104    echo $ECHO_N "0123456789$ECHO_C" >conftest.in    echo $ECHO_N "0123456789$ECHO_C" >conftest.in
# Line 4132  for lt_ac_sed in $lt_ac_sed_list /usr/xp Line 5123  for lt_ac_sed in $lt_ac_sed_list /usr/xp
5123      fi      fi
5124    done    done
5125  done  done
 SED=$lt_cv_path_SED  
5126    
5127  fi  fi
5128    
5129    SED=$lt_cv_path_SED
5130  echo "$as_me:$LINENO: result: $SED" >&5  echo "$as_me:$LINENO: result: $SED" >&5
5131  echo "${ECHO_T}$SED" >&6  echo "${ECHO_T}$SED" >&6
5132    
# Line 4178  echo $ECHO_N "checking for ld used by $C Line 5169  echo $ECHO_N "checking for ld used by $C
5169      # Accept absolute paths.      # Accept absolute paths.
5170      [\\/]* | ?:[\\/]*)      [\\/]* | ?:[\\/]*)
5171        re_direlt='/[^/][^/]*/\.\./'        re_direlt='/[^/][^/]*/\.\./'
5172        # Canonicalize the path of ld        # Canonicalize the pathname of ld
5173        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`        ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
5174        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do        while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5175          ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`          ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
# Line 4212  else Line 5203  else
5203      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
5204        lt_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
5205        # 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,
5206        # but apparently some GNU ld's only accept -v.        # but apparently some variants of GNU ld only accept -v.
5207        # 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.
5208        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5209        *GNU* | *'with BFD'*)        *GNU* | *'with BFD'*)
# Line 4246  echo $ECHO_N "checking if the linker ($L Line 5237  echo $ECHO_N "checking if the linker ($L
5237  if test "${lt_cv_prog_gnu_ld+set}" = set; then  if test "${lt_cv_prog_gnu_ld+set}" = set; then
5238    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5239  else  else
5240    # 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.
5241  case `$LD -v 2>&1 </dev/null` in  case `$LD -v 2>&1 </dev/null` in
5242  *GNU* | *'with BFD'*)  *GNU* | *'with BFD'*)
5243    lt_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
# Line 4276  case $reload_flag in Line 5267  case $reload_flag in
5267  *) reload_flag=" $reload_flag" ;;  *) reload_flag=" $reload_flag" ;;
5268  esac  esac
5269  reload_cmds='$LD$reload_flag -o $output$reload_objs'  reload_cmds='$LD$reload_flag -o $output$reload_objs'
5270    case $host_os in
5271      darwin*)
5272        if test "$GCC" = yes; then
5273          reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5274        else
5275          reload_cmds='$LD$reload_flag -o $output$reload_objs'
5276        fi
5277        ;;
5278    esac
5279    
5280  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5281  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
# Line 4286  else Line 5286  else
5286    # Let the user override the test.    # Let the user override the test.
5287    lt_cv_path_NM="$NM"    lt_cv_path_NM="$NM"
5288  else  else
5289    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR    lt_nm_to_check="${ac_tool_prefix}nm"
5290    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5291      IFS="$lt_save_ifs"      lt_nm_to_check="$lt_nm_to_check nm"
5292      test -z "$ac_dir" && ac_dir=.    fi
5293      tmp_nm="$ac_dir/${ac_tool_prefix}nm"    for lt_tmp_nm in $lt_nm_to_check; do
5294      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5295        # Check to see if the nm accepts a BSD-compat flag.      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5296        # Adding the `sed 1q' prevents false positives on HP-UX, which says:        IFS="$lt_save_ifs"
5297        #   nm: unknown option "B" ignored        test -z "$ac_dir" && ac_dir=.
5298        # Tru64's nm complains that /dev/null is an invalid object file        tmp_nm="$ac_dir/$lt_tmp_nm"
5299        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in        if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5300        */dev/null* | *'Invalid file or object type'*)          # Check to see if the nm accepts a BSD-compat flag.
5301          lt_cv_path_NM="$tmp_nm -B"          # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5302          break          #   nm: unknown option "B" ignored
5303          ;;          # Tru64's nm complains that /dev/null is an invalid object file
5304        *)          case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5305          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in          */dev/null* | *'Invalid file or object type'*)
5306          */dev/null*)            lt_cv_path_NM="$tmp_nm -B"
           lt_cv_path_NM="$tmp_nm -p"  
5307            break            break
5308            ;;            ;;
5309          *)          *)
5310            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but            case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5311            continue # so that we can try to find one that supports BSD flags            */dev/null*)
5312                lt_cv_path_NM="$tmp_nm -p"
5313                break
5314                ;;
5315              *)
5316                lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5317                continue # so that we can try to find one that supports BSD flags
5318                ;;
5319              esac
5320            ;;            ;;
5321          esac          esac
5322        esac        fi
5323      fi      done
5324        IFS="$lt_save_ifs"
5325    done    done
   IFS="$lt_save_ifs"  
5326    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5327  fi  fi
5328  fi  fi
# Line 4351  beos*) Line 5358  beos*)
5358    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
5359    ;;    ;;
5360    
5361  bsdi4*)  bsdi[45]*)
5362    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)'
5363    lt_cv_file_magic_cmd='/usr/bin/file -L'    lt_cv_file_magic_cmd='/usr/bin/file -L'
5364    lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
5365    ;;    ;;
5366    
5367  cygwin* | mingw* | pw32*)  cygwin*)
5368    # win32_libid is a shell function defined in ltmain.sh    # func_win32_libid is a shell function defined in ltmain.sh
5369    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5370    lt_cv_file_magic_cmd='win32_libid'    lt_cv_file_magic_cmd='func_win32_libid'
5371      ;;
5372    
5373    mingw* | pw32*)
5374      # Base MSYS/MinGW do not provide the 'file' command needed by
5375      # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5376      lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5377      lt_cv_file_magic_cmd='$OBJDUMP -f'
5378    ;;    ;;
5379    
5380  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  
5381    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
5382    ;;    ;;
5383    
5384  freebsd*)  freebsd* | kfreebsd*-gnu | dragonfly*)
5385    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5386      case $host_cpu in      case $host_cpu in
5387      i*86 )      i*86 )
5388        # Not sure whether the presence of OpenBSD here was a mistake.        # Not sure whether the presence of OpenBSD here was a mistake.
5389        # Let's accept both of them until this is cleared up.        # Let's accept both of them until this is cleared up.
5390        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'
5391        lt_cv_file_magic_cmd=/usr/bin/file        lt_cv_file_magic_cmd=/usr/bin/file
5392        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5393        ;;        ;;
# Line 4400  gnu*) Line 5403  gnu*)
5403    
5404  hpux10.20* | hpux11*)  hpux10.20* | hpux11*)
5405    lt_cv_file_magic_cmd=/usr/bin/file    lt_cv_file_magic_cmd=/usr/bin/file
5406    case "$host_cpu" in    case $host_cpu in
5407    ia64*)    ia64*)
5408      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'
5409      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
# Line 4416  hpux10.20* | hpux11*) Line 5419  hpux10.20* | hpux11*)
5419    esac    esac
5420    ;;    ;;
5421    
5422    interix3*)
5423      # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5424      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5425      ;;
5426    
5427  irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
5428    case $host_os in    case $LD in
5429    irix5* | nonstopux*)    *-32|*"-32 ") libmagic=32-bit;;
5430      # this will be overridden with pass_all, but let us keep it just in case    *-n32|*"-n32 ") libmagic=N32;;
5431      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"    *-64|*"-64 ") libmagic=64-bit;;
5432      ;;    *) 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"  
     ;;  
5433    esac    esac
   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`  
5434    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
5435    ;;    ;;
5436    
5437  # This must be Linux ELF.  # This must be Linux ELF.
5438  linux*)  linux*)
5439    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`  
5440    ;;    ;;
5441    
5442  netbsd*)  netbsd*)
# Line 4463  newos6*) Line 5453  newos6*)
5453    lt_cv_file_magic_test_file=/usr/lib/libnls.so    lt_cv_file_magic_test_file=/usr/lib/libnls.so
5454    ;;    ;;
5455    
5456  nto-qnx)  nto-qnx*)
5457    lt_cv_deplibs_check_method=unknown    lt_cv_deplibs_check_method=unknown
5458    ;;    ;;
5459    
5460  openbsd*)  openbsd*)
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  
5461    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
5462      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)$'
5463    else    else
5464      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)$'
5465    fi    fi
5466    ;;    ;;
5467    
5468  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  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 sco3.2v5*)  
5469    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
5470    ;;    ;;
5471    
5472  solaris*)  solaris*)
5473    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_test_file=/lib/libc.so  
5474    ;;    ;;
5475    
5476  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.3*)
5477    case $host_vendor in    case $host_vendor in
5478    motorola)    motorola)
5479      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
# Line 4514  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) Line 5494  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5494    siemens)    siemens)
5495      lt_cv_deplibs_check_method=pass_all      lt_cv_deplibs_check_method=pass_all
5496      ;;      ;;
5497      pc)
5498        lt_cv_deplibs_check_method=pass_all
5499        ;;
5500    esac    esac
5501    ;;    ;;
5502    
5503  sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5504    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
5505    ;;    ;;
5506  esac  esac
# Line 4535  test -z "$deplibs_check_method" && depli Line 5518  test -z "$deplibs_check_method" && depli
5518  # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
5519  LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
5520    
5521    # If no C compiler flags were specified, use CFLAGS.
5522    LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5523    
5524  # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
5525  compiler=$CC  compiler=$CC
5526    
   
5527  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5528  if test "${enable_libtool_lock+set}" = set; then  if test "${enable_libtool_lock+set}" = set; then
5529    enableval="$enable_libtool_lock"    enableval="$enable_libtool_lock"
# Line 4570  ia64-*-hpux*) Line 5555  ia64-*-hpux*)
5555    ;;    ;;
5556  *-*-irix6*)  *-*-irix6*)
5557    # Find out which ABI we are using.    # Find out which ABI we are using.
5558    echo '#line 4573 "configure"' > conftest.$ac_ext    echo '#line 5558 "configure"' > conftest.$ac_ext
5559    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
5561    ac_status=$?    ac_status=$?
# Line 4613  x86_64-*linux*|ppc*-*linux*|powerpc*-*li Line 5598  x86_64-*linux*|ppc*-*linux*|powerpc*-*li
5598    ac_status=$?    ac_status=$?
5599    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600    (exit $ac_status); }; then    (exit $ac_status); }; then
5601      case "`/usr/bin/file conftest.o`" in      case `/usr/bin/file conftest.o` in
5602      *32-bit*)      *32-bit*)
5603        case $host in        case $host in
5604          x86_64-*linux*)          x86_64-*linux*)
5605            LD="${LD-ld} -m elf_i386"            LD="${LD-ld} -m elf_i386"
5606            ;;            ;;
5607          ppc64-*linux*)          ppc64-*linux*|powerpc64-*linux*)
5608            LD="${LD-ld} -m elf32ppclinux"            LD="${LD-ld} -m elf32ppclinux"
5609            ;;            ;;
5610          s390x-*linux*)          s390x-*linux*)
# Line 4667  ac_link='$CC -o conftest$ac_exeext $CFLA Line 5652  ac_link='$CC -o conftest$ac_exeext $CFLA
5652  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
5653    
5654       cat >conftest.$ac_ext <<_ACEOF       cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5655  /* confdefs.h.  */  /* confdefs.h.  */
5656  _ACEOF  _ACEOF
5657  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4684  main () Line 5668  main ()
5668  _ACEOF  _ACEOF
5669  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5670  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5671    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5672    ac_status=$?    ac_status=$?
5673      grep -v '^ *+' conftest.er1 >conftest.err
5674      rm -f conftest.er1
5675      cat conftest.err >&5
5676    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677    (exit $ac_status); } &&    (exit $ac_status); } &&
5678           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -z "$ac_c_werror_flag"
5679                             || test ! -s conftest.err'
5680      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5681      (eval $ac_try) 2>&5
5682      ac_status=$?
5683      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684      (exit $ac_status); }; } &&
5685             { ac_try='test -s conftest$ac_exeext'
5686    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5688    ac_status=$?    ac_status=$?
# Line 4701  sed 's/^/| /' conftest.$ac_ext >&5 Line 5695  sed 's/^/| /' conftest.$ac_ext >&5
5695    
5696  lt_cv_cc_needs_belf=no  lt_cv_cc_needs_belf=no
5697  fi  fi
5698  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5699          conftest$ac_exeext conftest.$ac_ext
5700       ac_ext=c       ac_ext=c
5701  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
5702  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4716  echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 Line 5711  echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5711      CFLAGS="$SAVE_CFLAGS"      CFLAGS="$SAVE_CFLAGS"
5712    fi    fi
5713    ;;    ;;
5714    sparc*-*solaris*)
5715      # Find out which ABI we are using.
5716      echo 'int i;' > conftest.$ac_ext
5717      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718      (eval $ac_compile) 2>&5
5719      ac_status=$?
5720      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721      (exit $ac_status); }; then
5722        case `/usr/bin/file conftest.o` in
5723        *64-bit*)
5724          case $lt_cv_prog_gnu_ld in
5725          yes*) LD="${LD-ld} -m elf64_sparc" ;;
5726          *)    LD="${LD-ld} -64" ;;
5727          esac
5728          ;;
5729        esac
5730      fi
5731      rm -rf conftest*
5732      ;;
5733    
5734    
5735  esac  esac
5736    
# Line 4729  if test "${ac_cv_header_stdc+set}" = set Line 5744  if test "${ac_cv_header_stdc+set}" = set
5744    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5745  else  else
5746    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5747  /* confdefs.h.  */  /* confdefs.h.  */
5748  _ACEOF  _ACEOF
5749  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4750  main () Line 5764  main ()
5764  _ACEOF  _ACEOF
5765  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5766  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5767    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5768    ac_status=$?    ac_status=$?
5769      grep -v '^ *+' conftest.er1 >conftest.err
5770      rm -f conftest.er1
5771      cat conftest.err >&5
5772    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773    (exit $ac_status); } &&    (exit $ac_status); } &&
5774           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
5775                             || test ! -s conftest.err'
5776      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777      (eval $ac_try) 2>&5
5778      ac_status=$?
5779      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780      (exit $ac_status); }; } &&
5781             { ac_try='test -s conftest.$ac_objext'
5782    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5784    ac_status=$?    ac_status=$?
# Line 4767  sed 's/^/| /' conftest.$ac_ext >&5 Line 5791  sed 's/^/| /' conftest.$ac_ext >&5
5791    
5792  ac_cv_header_stdc=no  ac_cv_header_stdc=no
5793  fi  fi
5794  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5795    
5796  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5797    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5798    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5799  /* confdefs.h.  */  /* confdefs.h.  */
5800  _ACEOF  _ACEOF
5801  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4794  fi Line 5817  fi
5817  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
5818    # 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.
5819    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5820  /* confdefs.h.  */  /* confdefs.h.  */
5821  _ACEOF  _ACEOF
5822  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4819  if test $ac_cv_header_stdc = yes; then Line 5841  if test $ac_cv_header_stdc = yes; then
5841    :    :
5842  else  else
5843    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5844  /* confdefs.h.  */  /* confdefs.h.  */
5845  _ACEOF  _ACEOF
5846  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4831  cat >>conftest.$ac_ext <<_ACEOF Line 5852  cat >>conftest.$ac_ext <<_ACEOF
5852  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5853  #else  #else
5854  # define ISLOWER(c) \  # define ISLOWER(c) \
5855                     (('a' <= (c) && (c) <= 'i') \                     (('a' <= (c) && (c) <= 'i') \
5856                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
5857                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
5858  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5859  #endif  #endif
5860    
# Line 4844  main () Line 5865  main ()
5865    int i;    int i;
5866    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
5867      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
5868          || toupper (i) != TOUPPER (i))          || toupper (i) != TOUPPER (i))
5869        exit(2);        exit(2);
5870    exit (0);    exit (0);
5871  }  }
# Line 4869  sed 's/^/| /' conftest.$ac_ext >&5 Line 5890  sed 's/^/| /' conftest.$ac_ext >&5
5890  ( exit $ac_status )  ( exit $ac_status )
5891  ac_cv_header_stdc=no  ac_cv_header_stdc=no
5892  fi  fi
5893  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
5894  fi  fi
5895  fi  fi
5896  fi  fi
# Line 4894  fi Line 5915  fi
5915    
5916    
5917  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 \
5918                    inttypes.h stdint.h unistd.h                    inttypes.h stdint.h unistd.h
5919  do  do
5920  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5921  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 4903  if eval "test \"\${$as_ac_Header+set}\" Line 5924  if eval "test \"\${$as_ac_Header+set}\"
5924    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5925  else  else
5926    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5927  /* confdefs.h.  */  /* confdefs.h.  */
5928  _ACEOF  _ACEOF
5929  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4915  $ac_includes_default Line 5935  $ac_includes_default
5935  _ACEOF  _ACEOF
5936  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5937  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5939    ac_status=$?    ac_status=$?
5940      grep -v '^ *+' conftest.er1 >conftest.err
5941      rm -f conftest.er1
5942      cat conftest.err >&5
5943    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944    (exit $ac_status); } &&    (exit $ac_status); } &&
5945           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
5946                             || test ! -s conftest.err'
5947      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948      (eval $ac_try) 2>&5
5949      ac_status=$?
5950      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951      (exit $ac_status); }; } &&
5952             { ac_try='test -s conftest.$ac_objext'
5953    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5955    ac_status=$?    ac_status=$?
# Line 4932  sed 's/^/| /' conftest.$ac_ext >&5 Line 5962  sed 's/^/| /' conftest.$ac_ext >&5
5962    
5963  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
5964  fi  fi
5965  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5966  fi  fi
5967  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5968  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4963  else Line 5993  else
5993  echo "$as_me:$LINENO: checking $ac_header usability" >&5  echo "$as_me:$LINENO: checking $ac_header usability" >&5
5994  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5995  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5996  /* confdefs.h.  */  /* confdefs.h.  */
5997  _ACEOF  _ACEOF
5998  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4974  $ac_includes_default Line 6003  $ac_includes_default
6003  _ACEOF  _ACEOF
6004  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6005  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6006    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
6007    ac_status=$?    ac_status=$?
6008      grep -v '^ *+' conftest.er1 >conftest.err
6009      rm -f conftest.er1
6010      cat conftest.err >&5
6011    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012    (exit $ac_status); } &&    (exit $ac_status); } &&
6013           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_c_werror_flag"
6014                             || test ! -s conftest.err'
6015      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016      (eval $ac_try) 2>&5
6017      ac_status=$?
6018      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019      (exit $ac_status); }; } &&
6020             { ac_try='test -s conftest.$ac_objext'
6021    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6023    ac_status=$?    ac_status=$?
# Line 4991  sed 's/^/| /' conftest.$ac_ext >&5 Line 6030  sed 's/^/| /' conftest.$ac_ext >&5
6030    
6031  ac_header_compiler=no  ac_header_compiler=no
6032  fi  fi
6033  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6034  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6035  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
6036    
# Line 4999  echo "${ECHO_T}$ac_header_compiler" >&6 Line 6038  echo "${ECHO_T}$ac_header_compiler" >&6
6038  echo "$as_me:$LINENO: checking $ac_header presence" >&5  echo "$as_me:$LINENO: checking $ac_header presence" >&5
6039  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6040  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6041  /* confdefs.h.  */  /* confdefs.h.  */
6042  _ACEOF  _ACEOF
6043  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5017  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6055  if { (eval echo "$as_me:$LINENO: \"$ac_c
6055    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6056    if test -s conftest.err; then    if test -s conftest.err; then
6057      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
6058        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6059    else    else
6060      ac_cpp_err=      ac_cpp_err=
6061    fi    fi
# Line 5036  echo "$as_me:$LINENO: result: $ac_header Line 6075  echo "$as_me:$LINENO: result: $ac_header
6075  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
6076    
6077  # So?  What about this header?  # So?  What about this header?
6078  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6079    yes:no )    yes:no: )
6080      { 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
6081  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;}
6082      { 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
6083  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;}
6084      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
6085      ;;      ;;
6086    no:yes )    no:yes:* )
6087      { 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
6088  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6089      { 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
6090  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6091        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6092    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6093        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6094    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6095      { 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
6096  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;}
6097        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6098    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6099      (      (
6100        cat <<\_ASBOX        cat <<\_ASBOX
6101  ## ------------------------------------ ##  ## ---------------------------------------- ##
6102  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to okumura@brain.riken.go.jp ##
6103  ## ------------------------------------ ##  ## ---------------------------------------- ##
6104  _ASBOX  _ASBOX
6105      ) |      ) |
6106        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5073  echo $ECHO_N "checking for $ac_header... Line 6111  echo $ECHO_N "checking for $ac_header...
6111  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
6112    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6113  else  else
6114    eval "$as_ac_Header=$ac_header_preproc"    eval "$as_ac_Header=\$ac_header_preproc"
6115  fi  fi
6116  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6117  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 5088  fi Line 6126  fi
6126    
6127  done  done
6128    
6129  ac_ext=cc  
6130    
6131    if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6132        ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6133        (test "X$CXX" != "Xg++"))) ; then
6134      ac_ext=cc
6135  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
6136  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6137  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 5112  do Line 6155  do
6155    # 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,
6156    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
6157    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6158  /* confdefs.h.  */  /* confdefs.h.  */
6159  _ACEOF  _ACEOF
6160  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5123  cat >>conftest.$ac_ext <<_ACEOF Line 6165  cat >>conftest.$ac_ext <<_ACEOF
6165  #else  #else
6166  # include <assert.h>  # include <assert.h>
6167  #endif  #endif
6168                       Syntax error                       Syntax error
6169  _ACEOF  _ACEOF
6170  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6171    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5135  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6177  if { (eval echo "$as_me:$LINENO: \"$ac_c
6177    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6178    if test -s conftest.err; then    if test -s conftest.err; then
6179      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
6180        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6181    else    else
6182      ac_cpp_err=      ac_cpp_err=
6183    fi    fi
# Line 5155  rm -f conftest.err conftest.$ac_ext Line 6198  rm -f conftest.err conftest.$ac_ext
6198    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
6199    # can be detected and how.    # can be detected and how.
6200    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6201  /* confdefs.h.  */  /* confdefs.h.  */
6202  _ACEOF  _ACEOF
6203  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5173  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6215  if { (eval echo "$as_me:$LINENO: \"$ac_c
6215    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6216    if test -s conftest.err; then    if test -s conftest.err; then
6217      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
6218        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6219    else    else
6220      ac_cpp_err=      ac_cpp_err=
6221    fi    fi
# Line 5219  do Line 6262  do
6262    # 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,
6263    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
6264    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6265  /* confdefs.h.  */  /* confdefs.h.  */
6266  _ACEOF  _ACEOF
6267  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5230  cat >>conftest.$ac_ext <<_ACEOF Line 6272  cat >>conftest.$ac_ext <<_ACEOF
6272  #else  #else
6273  # include <assert.h>  # include <assert.h>
6274  #endif  #endif
6275                       Syntax error                       Syntax error
6276  _ACEOF  _ACEOF
6277  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6278    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5242  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6284  if { (eval echo "$as_me:$LINENO: \"$ac_c
6284    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6285    if test -s conftest.err; then    if test -s conftest.err; then
6286      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
6287        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6288    else    else
6289      ac_cpp_err=      ac_cpp_err=
6290    fi    fi
# Line 5262  rm -f conftest.err conftest.$ac_ext Line 6305  rm -f conftest.err conftest.$ac_ext
6305    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
6306    # can be detected and how.    # can be detected and how.
6307    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6308  /* confdefs.h.  */  /* confdefs.h.  */
6309  _ACEOF  _ACEOF
6310  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5280  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6322  if { (eval echo "$as_me:$LINENO: \"$ac_c
6322    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6323    if test -s conftest.err; then    if test -s conftest.err; then
6324      ac_cpp_err=$ac_cxx_preproc_warn_flag      ac_cpp_err=$ac_cxx_preproc_warn_flag
6325        ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6326    else    else
6327      ac_cpp_err=      ac_cpp_err=
6328    fi    fi
# Line 5318  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS Line 6361  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS
6361  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'
6362  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6363    
6364    fi
6365    
6366    
6367  ac_ext=f  ac_ext=f
6368  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6369  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'
6370  ac_compiler_gnu=$ac_cv_f77_compiler_gnu  ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6371  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
6372    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
6373    do    do
6374      # 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.
6375  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 5366  fi Line 6411  fi
6411  fi  fi
6412  if test -z "$F77"; then  if test -z "$F77"; then
6413    ac_ct_F77=$F77    ac_ct_F77=$F77
6414    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
6415  do  do
6416    # 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.
6417  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 5411  fi Line 6456  fi
6456    
6457    
6458  # Provide some information about the compiler.  # Provide some information about the compiler.
6459  echo "$as_me:5414:" \  echo "$as_me:6459:" \
6460       "checking for Fortran 77 compiler version" >&5       "checking for Fortran 77 compiler version" >&5
6461  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
6462  { (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 5429  ac_compiler=`set X $ac_compile; echo $2` Line 6474  ac_compiler=`set X $ac_compile; echo $2`
6474    ac_status=$?    ac_status=$?
6475    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476    (exit $ac_status); }    (exit $ac_status); }
6477    rm -f a.out
6478    
6479  # 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
6480  # input file.  # input file.  (Note that this only needs to work for GNU compilers.)
6481  ac_save_ext=$ac_ext  ac_save_ext=$ac_ext
6482  ac_ext=F  ac_ext=F
6483  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 5449  else Line 6495  else
6495  _ACEOF  _ACEOF
6496  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6497  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6498    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
6499    ac_status=$?    ac_status=$?
6500      grep -v '^ *+' conftest.er1 >conftest.err
6501      rm -f conftest.er1
6502      cat conftest.err >&5
6503    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504    (exit $ac_status); } &&    (exit $ac_status); } &&
6505           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -z "$ac_f77_werror_flag"
6506                             || test ! -s conftest.err'
6507      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508      (eval $ac_try) 2>&5
6509      ac_status=$?
6510      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511      (exit $ac_status); }; } &&
6512             { ac_try='test -s conftest.$ac_objext'
6513    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6515    ac_status=$?    ac_status=$?
# Line 5466  sed 's/^/| /' conftest.$ac_ext >&5 Line 6522  sed 's/^/| /' conftest.$ac_ext >&5
6522    
6523  ac_compiler_gnu=no  ac_compiler_gnu=no
6524  fi  fi
6525  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6526  ac_cv_f77_compiler_gnu=$ac_compiler_gnu  ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6527    
6528  fi  fi
6529  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5  echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6530  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6  echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6531  ac_ext=$ac_save_ext  ac_ext=$ac_save_ext
 G77=`test $ac_compiler_gnu = yes && echo yes`  
6532  ac_test_FFLAGS=${FFLAGS+set}  ac_test_FFLAGS=${FFLAGS+set}
6533  ac_save_FFLAGS=$FFLAGS  ac_save_FFLAGS=$FFLAGS
6534  FFLAGS=  FFLAGS=
# Line 5490  cat >conftest.$ac_ext <<_ACEOF Line 6545  cat >conftest.$ac_ext <<_ACEOF
6545  _ACEOF  _ACEOF
6546  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6547  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5