ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/configure
(Generate patch)

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 2027 by gezelter, Tue Feb 15 06:11:22 2005 UTC vs.
Revision 2453 by gezelter, Thu Nov 17 20:39:59 2005 UTC

# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < 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 PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315 > 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 PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP CXXCPP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316   ac_subst_files=''
317  
318   # Initialize some variables set by options.
# Line 789 | Line 789 | ac_cv_env_CPP_value=$CPP
789   ac_env_CPP_value=$CPP
790   ac_cv_env_CPP_set=${CPP+set}
791   ac_cv_env_CPP_value=$CPP
792 + ac_env_CXXCPP_set=${CXXCPP+set}
793 + ac_env_CXXCPP_value=$CXXCPP
794 + ac_cv_env_CXXCPP_set=${CXXCPP+set}
795 + ac_cv_env_CXXCPP_value=$CXXCPP
796  
797   #
798   # Report the --help message.
# Line 875 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888 <  --with-sprng=<prefix>   compile with SPRNG installed in <prefix>
880 <                          [default=/usr/local]
881 <  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
888 >  --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
890   Some influential environment variables:
891    CC          C compiler command
# Line 892 | Line 899 | Some influential environment variables:
899    F90         Fortran 90 compiler command
900    F90FLAGS    Fortran 90 compiler flags
901    CPP         C preprocessor
902 +  CXXCPP      C++ preprocessor
903  
904   Use these variables to override the choices made by `configure' or to help
905   it to find libraries and programs with nonstandard names/locations.
# Line 1877 | Line 1885 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1885  
1886  
1887  
1888 + #
1889 + #
1890 + #
1891 +
1892 +
1893  
1894  
1895  
# Line 3542 | Line 3555 | F90FLAGS="$F90FLAGS $ac_verb"
3555   ac_save_F90FLAGS=$F90FLAGS
3556   F90FLAGS="$F90FLAGS $ac_verb"
3557  
3558 < (eval echo $as_me:3545: \"$ac_link\") >&5
3558 > (eval echo $as_me:3558: \"$ac_link\") >&5
3559   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3560   echo "$ac_f90_v_output" >&5
3561   F90FLAGS=$ac_save_F90FLAGS
# Line 3619 | Line 3632 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3632   ac_save_F90FLAGS=$F90FLAGS
3633   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3634  
3635 < (eval echo $as_me:3622: \"$ac_link\") >&5
3635 > (eval echo $as_me:3635: \"$ac_link\") >&5
3636   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3637   echo "$ac_f90_v_output" >&5
3638   F90FLAGS=$ac_save_F90FLAGS
# Line 4451 | Line 4464 | ac_ext=c
4464   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4465  
4466  
4467 + ac_ext=cc
4468 + ac_cpp='$CXXCPP $CPPFLAGS'
4469 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4470 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4471 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4472 +
4473 +
4474 +
4475 + echo "$as_me:$LINENO: checking for asin in -lm" >&5
4476 + echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
4477 + if test "${ac_cv_lib_m_asin+set}" = set; then
4478 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4479 + else
4480 +  ac_check_lib_save_LIBS=$LIBS
4481 + LIBS="-lm  $LIBS"
4482 + cat >conftest.$ac_ext <<_ACEOF
4483 + /* confdefs.h.  */
4484 + _ACEOF
4485 + cat confdefs.h >>conftest.$ac_ext
4486 + cat >>conftest.$ac_ext <<_ACEOF
4487 + /* end confdefs.h.  */
4488 +
4489 + /* Override any gcc2 internal prototype to avoid an error.  */
4490 + #ifdef __cplusplus
4491 + extern "C"
4492 + #endif
4493 + /* We use char because int might match the return type of a gcc2
4494 +   builtin and then its argument prototype would still apply.  */
4495 + char asin ();
4496 + int
4497 + main ()
4498 + {
4499 + asin ();
4500 +  ;
4501 +  return 0;
4502 + }
4503 + _ACEOF
4504 + rm -f conftest.$ac_objext conftest$ac_exeext
4505 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4506 +  (eval $ac_link) 2>conftest.er1
4507 +  ac_status=$?
4508 +  grep -v '^ *+' conftest.er1 >conftest.err
4509 +  rm -f conftest.er1
4510 +  cat conftest.err >&5
4511 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 +  (exit $ac_status); } &&
4513 +         { ac_try='test -z "$ac_cxx_werror_flag"
4514 +                         || test ! -s conftest.err'
4515 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 +  (eval $ac_try) 2>&5
4517 +  ac_status=$?
4518 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 +  (exit $ac_status); }; } &&
4520 +         { ac_try='test -s conftest$ac_exeext'
4521 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 +  (eval $ac_try) 2>&5
4523 +  ac_status=$?
4524 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 +  (exit $ac_status); }; }; then
4526 +  ac_cv_lib_m_asin=yes
4527 + else
4528 +  echo "$as_me: failed program was:" >&5
4529 + sed 's/^/| /' conftest.$ac_ext >&5
4530 +
4531 + ac_cv_lib_m_asin=no
4532 + fi
4533 + rm -f conftest.err conftest.$ac_objext \
4534 +      conftest$ac_exeext conftest.$ac_ext
4535 + LIBS=$ac_check_lib_save_LIBS
4536 + fi
4537 + echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
4538 + echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
4539 + if test $ac_cv_lib_m_asin = yes; then
4540 +  cat >>confdefs.h <<_ACEOF
4541 + #define HAVE_LIBM 1
4542 + _ACEOF
4543 +
4544 +  LIBS="-lm $LIBS"
4545 +
4546 + else
4547 +  exit
4548 + fi
4549 +
4550 +
4551   ac_ext=c
4552   ac_cpp='$CPP $CPPFLAGS'
4553   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4945 | Line 5042 | done
5042   done
5043  
5044  
5045 + #
5046 + # Handle user hints
5047 + #
5048 + echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5049 + echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5050  
5051 + # Check whether --with-zlib or --without-zlib was given.
5052 + if test "${with_zlib+set}" = set; then
5053 +  withval="$with_zlib"
5054 +  if test "$withval" != no ; then
5055 +  echo "$as_me:$LINENO: result: yes" >&5
5056 + echo "${ECHO_T}yes" >&6
5057 +  if test -d "$withval"
5058 +  then
5059 +    ZLIB_HOME="$withval"
5060 +  else
5061 +    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5062 + echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5063 +  fi
5064 + else
5065 +  echo "$as_me:$LINENO: result: no" >&5
5066 + echo "${ECHO_T}no" >&6
5067 + fi
5068 + fi;
5069  
5070 + ZLIB_HOME=/usr/local
5071 + if test ! -f "${ZLIB_HOME}/include/zlib.h"
5072 + then
5073 +        ZLIB_HOME=/usr
5074 + fi
5075  
5076 + #
5077 + # Locate zlib, if wanted
5078 + #
5079 + if test -n "${ZLIB_HOME}"
5080 + then
5081 +        ZLIB_OLD_LDFLAGS=$LDFLAGS
5082 +        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5083 +        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5084 +        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5085  
5086  
5087 +        ac_ext=c
5088 + ac_cpp='$CPP $CPPFLAGS'
5089 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092  
5093 +        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5094 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5095 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5096 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5097 + else
5098 +  ac_check_lib_save_LIBS=$LIBS
5099 + LIBS="-lz  $LIBS"
5100 + cat >conftest.$ac_ext <<_ACEOF
5101 + /* confdefs.h.  */
5102 + _ACEOF
5103 + cat confdefs.h >>conftest.$ac_ext
5104 + cat >>conftest.$ac_ext <<_ACEOF
5105 + /* end confdefs.h.  */
5106  
5107 + /* Override any gcc2 internal prototype to avoid an error.  */
5108 + #ifdef __cplusplus
5109 + extern "C"
5110 + #endif
5111 + /* We use char because int might match the return type of a gcc2
5112 +   builtin and then its argument prototype would still apply.  */
5113 + char inflateEnd ();
5114 + int
5115 + main ()
5116 + {
5117 + inflateEnd ();
5118 +  ;
5119 +  return 0;
5120 + }
5121 + _ACEOF
5122 + rm -f conftest.$ac_objext conftest$ac_exeext
5123 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 +  (eval $ac_link) 2>conftest.er1
5125 +  ac_status=$?
5126 +  grep -v '^ *+' conftest.er1 >conftest.err
5127 +  rm -f conftest.er1
5128 +  cat conftest.err >&5
5129 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 +  (exit $ac_status); } &&
5131 +         { ac_try='test -z "$ac_c_werror_flag"
5132 +                         || test ! -s conftest.err'
5133 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 +  (eval $ac_try) 2>&5
5135 +  ac_status=$?
5136 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 +  (exit $ac_status); }; } &&
5138 +         { ac_try='test -s conftest$ac_exeext'
5139 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 +  (eval $ac_try) 2>&5
5141 +  ac_status=$?
5142 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 +  (exit $ac_status); }; }; then
5144 +  ac_cv_lib_z_inflateEnd=yes
5145 + else
5146 +  echo "$as_me: failed program was:" >&5
5147 + sed 's/^/| /' conftest.$ac_ext >&5
5148  
5149 + ac_cv_lib_z_inflateEnd=no
5150 + fi
5151 + rm -f conftest.err conftest.$ac_objext \
5152 +      conftest$ac_exeext conftest.$ac_ext
5153 + LIBS=$ac_check_lib_save_LIBS
5154 + fi
5155 + echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5156 + echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5157 + if test $ac_cv_lib_z_inflateEnd = yes; then
5158 +  zlib_cv_libz=yes
5159 + else
5160 +  zlib_cv_libz=no
5161 + fi
5162  
5163 < for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
5164 < do
5165 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5166 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
4961 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
4962 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4963 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5163 >        if test "${ac_cv_header_zlib_h+set}" = set; then
5164 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
5165 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5166 > if test "${ac_cv_header_zlib_h+set}" = set; then
5167    echo $ECHO_N "(cached) $ECHO_C" >&6
5168   fi
5169 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5170 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5169 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5170 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5171   else
5172    # Is the header compilable?
5173 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
5174 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5173 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5174 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5175   cat >conftest.$ac_ext <<_ACEOF
5176   /* confdefs.h.  */
5177   _ACEOF
# Line 4976 | Line 5179 | $ac_includes_default
5179   cat >>conftest.$ac_ext <<_ACEOF
5180   /* end confdefs.h.  */
5181   $ac_includes_default
5182 < #include <$ac_header>
5182 > #include <zlib.h>
5183   _ACEOF
5184   rm -f conftest.$ac_objext
5185   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
# Line 5012 | Line 5215 | echo "$as_me:$LINENO: checking $ac_header presence" >&
5215   echo "${ECHO_T}$ac_header_compiler" >&6
5216  
5217   # Is the header present?
5218 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5219 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5218 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5219 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5220   cat >conftest.$ac_ext <<_ACEOF
5221   /* confdefs.h.  */
5222   _ACEOF
5223   cat confdefs.h >>conftest.$ac_ext
5224   cat >>conftest.$ac_ext <<_ACEOF
5225   /* end confdefs.h.  */
5226 < #include <$ac_header>
5226 > #include <zlib.h>
5227   _ACEOF
5228   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5054 | Line 5257 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
5257   # So?  What about this header?
5258   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5259    yes:no: )
5260 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5261 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5262 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5263 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5260 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5261 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5262 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5263 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5264      ac_header_preproc=yes
5265      ;;
5266    no:yes:* )
5267 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5268 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5269 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5270 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5271 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5272 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5273 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5274 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5275 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5276 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5277 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5278 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5267 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5268 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5269 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5270 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5271 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5272 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5273 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5274 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5275 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5276 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5277 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5278 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5279      (
5280        cat <<\_ASBOX
5281   ## ------------------------------ ##
# Line 5083 | Line 5286 | echo "$as_me:$LINENO: checking for $ac_header" >&5
5286        sed "s/^/$as_me: WARNING:     /" >&2
5287      ;;
5288   esac
5289 < echo "$as_me:$LINENO: checking for $ac_header" >&5
5290 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5291 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5289 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5290 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5291 > if test "${ac_cv_header_zlib_h+set}" = set; then
5292    echo $ECHO_N "(cached) $ECHO_C" >&6
5293   else
5294 <  eval "$as_ac_Header=\$ac_header_preproc"
5294 >  ac_cv_header_zlib_h=$ac_header_preproc
5295   fi
5296 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5297 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5296 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5297 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5298  
5299   fi
5300 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
5301 <  cat >>confdefs.h <<_ACEOF
5302 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5303 < _ACEOF
5101 <
5300 > if test $ac_cv_header_zlib_h = yes; then
5301 >  zlib_cv_zlib_h=yes
5302 > else
5303 >  zlib_cv_zlib_h=no
5304   fi
5305  
5104 done
5306  
5307 +        ac_ext=c
5308 + ac_cpp='$CPP $CPPFLAGS'
5309 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5310 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5311 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5312  
5313 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5314 +        then
5315 +                #
5316 +                # If both library and header were found, use them
5317 +                #
5318  
5319 <
5320 <
5321 <
5111 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5112 < do
5113 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5114 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5115 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5116 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5319 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5320 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5321 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5322    echo $ECHO_N "(cached) $ECHO_C" >&6
5323   else
5324 <  cat >conftest.$ac_ext <<_ACEOF
5324 >  ac_check_lib_save_LIBS=$LIBS
5325 > LIBS="-lz  $LIBS"
5326 > cat >conftest.$ac_ext <<_ACEOF
5327   /* confdefs.h.  */
5328   _ACEOF
5329   cat confdefs.h >>conftest.$ac_ext
5330   cat >>conftest.$ac_ext <<_ACEOF
5331   /* end confdefs.h.  */
5125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5126   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5127 #define $ac_func innocuous_$ac_func
5332  
5129 /* System header to define __stub macros and hopefully few prototypes,
5130    which can conflict with char $ac_func (); below.
5131    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5132    <limits.h> exists even on freestanding compilers.  */
5133
5134 #ifdef __STDC__
5135 # include <limits.h>
5136 #else
5137 # include <assert.h>
5138 #endif
5139
5140 #undef $ac_func
5141
5333   /* Override any gcc2 internal prototype to avoid an error.  */
5334   #ifdef __cplusplus
5335   extern "C"
5145 {
5336   #endif
5337   /* We use char because int might match the return type of a gcc2
5338     builtin and then its argument prototype would still apply.  */
5339 < char $ac_func ();
5150 < /* The GNU C library defines this for functions which it implements
5151 <    to always fail with ENOSYS.  Some functions are actually named
5152 <    something starting with __ and the normal name is an alias.  */
5153 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5154 < choke me
5155 < #else
5156 < char (*f) () = $ac_func;
5157 < #endif
5158 < #ifdef __cplusplus
5159 < }
5160 < #endif
5161 <
5339 > char inflateEnd ();
5340   int
5341   main ()
5342   {
5343 < return f != $ac_func;
5343 > inflateEnd ();
5344    ;
5345    return 0;
5346   }
# Line 5189 | Line 5367 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5367    ac_status=$?
5368    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369    (exit $ac_status); }; }; then
5370 <  eval "$as_ac_var=yes"
5370 >  ac_cv_lib_z_inflateEnd=yes
5371   else
5372    echo "$as_me: failed program was:" >&5
5373   sed 's/^/| /' conftest.$ac_ext >&5
5374  
5375 < eval "$as_ac_var=no"
5375 > ac_cv_lib_z_inflateEnd=no
5376   fi
5377   rm -f conftest.err conftest.$ac_objext \
5378        conftest$ac_exeext conftest.$ac_ext
5379 + LIBS=$ac_check_lib_save_LIBS
5380   fi
5381 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5382 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5383 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5381 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5382 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5383 > if test $ac_cv_lib_z_inflateEnd = yes; then
5384    cat >>confdefs.h <<_ACEOF
5385 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5385 > #define HAVE_LIBZ 1
5386   _ACEOF
5387  
5388 +  LIBS="-lz $LIBS"
5389 +
5390   fi
5210 done
5391  
5392 < # special check for _system_configuration because AIX <4.3.2 do not
5393 < # contain the `physmem' member.
5394 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5395 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5392 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5393 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5394 >                echo "$as_me:$LINENO: result: ok" >&5
5395 > echo "${ECHO_T}ok" >&6
5396 >        else
5397 >                #
5398 >                # If either header or library was not found, revert and bomb
5399 >                #
5400 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5401 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5402 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5403 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5404 >                echo "$as_me:$LINENO: result: failed" >&5
5405 > echo "${ECHO_T}failed" >&6
5406 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5407 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5408 >   { (exit 1); exit 1; }; }
5409 >        fi
5410 > fi
5411 >
5412 >
5413 >
5414 >
5415 >
5416 >
5417 >
5418 >
5419 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5420 > do
5421 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5422 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5423 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5427 > fi
5428 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5429 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5430 > else
5431 >  # Is the header compilable?
5432 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5433 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5434   cat >conftest.$ac_ext <<_ACEOF
5435   /* confdefs.h.  */
5436   _ACEOF
5437   cat confdefs.h >>conftest.$ac_ext
5438   cat >>conftest.$ac_ext <<_ACEOF
5439   /* end confdefs.h.  */
5440 < #include <sys/systemcfg.h>
5441 < int
5224 < main ()
5225 < {
5226 < double x = _system_configuration.physmem;
5227 <  ;
5228 <  return 0;
5229 < }
5440 > $ac_includes_default
5441 > #include <$ac_header>
5442   _ACEOF
5443   rm -f conftest.$ac_objext
5444   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
# Line 5250 | Line 5462 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462    ac_status=$?
5463    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464    (exit $ac_status); }; }; then
5465 <  echo "$as_me:$LINENO: result: yes" >&5
5466 < echo "${ECHO_T}yes" >&6
5465 >  ac_header_compiler=yes
5466 > else
5467 >  echo "$as_me: failed program was:" >&5
5468 > sed 's/^/| /' conftest.$ac_ext >&5
5469  
5470 < cat >>confdefs.h <<\_ACEOF
5471 < #define HAVE__SYSTEM_CONFIGURATION 1
5472 < _ACEOF
5470 > ac_header_compiler=no
5471 > fi
5472 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5473 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5474 > echo "${ECHO_T}$ac_header_compiler" >&6
5475  
5476 + # Is the header present?
5477 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
5478 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5479 + cat >conftest.$ac_ext <<_ACEOF
5480 + /* confdefs.h.  */
5481 + _ACEOF
5482 + cat confdefs.h >>conftest.$ac_ext
5483 + cat >>conftest.$ac_ext <<_ACEOF
5484 + /* end confdefs.h.  */
5485 + #include <$ac_header>
5486 + _ACEOF
5487 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5488 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5489 +  ac_status=$?
5490 +  grep -v '^ *+' conftest.er1 >conftest.err
5491 +  rm -f conftest.er1
5492 +  cat conftest.err >&5
5493 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 +  (exit $ac_status); } >/dev/null; then
5495 +  if test -s conftest.err; then
5496 +    ac_cpp_err=$ac_c_preproc_warn_flag
5497 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5498 +  else
5499 +    ac_cpp_err=
5500 +  fi
5501   else
5502 +  ac_cpp_err=yes
5503 + fi
5504 + if test -z "$ac_cpp_err"; then
5505 +  ac_header_preproc=yes
5506 + else
5507    echo "$as_me: failed program was:" >&5
5508   sed 's/^/| /' conftest.$ac_ext >&5
5509  
5510 < echo "$as_me:$LINENO: result: no" >&5
5265 < echo "${ECHO_T}no" >&6
5510 >  ac_header_preproc=no
5511   fi
5512 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5512 > rm -f conftest.err conftest.$ac_ext
5513 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5514 > echo "${ECHO_T}$ac_header_preproc" >&6
5515  
5516 <  # clean out junk possibly left behind by a previous configuration
5517 <  rm -f src/getopt.h
5518 <  # Check for getopt_long support
5516 > # So?  What about this header?
5517 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5518 >  yes:no: )
5519 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5520 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5521 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5522 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5523 >    ac_header_preproc=yes
5524 >    ;;
5525 >  no:yes:* )
5526 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5527 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5528 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5529 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5530 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5531 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5532 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5533 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5534 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5535 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5537 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5538 >    (
5539 >      cat <<\_ASBOX
5540 > ## ------------------------------ ##
5541 > ## Report this to gezelter@nd.edu ##
5542 > ## ------------------------------ ##
5543 > _ASBOX
5544 >    ) |
5545 >      sed "s/^/$as_me: WARNING:     /" >&2
5546 >    ;;
5547 > esac
5548 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5549 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5550 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5551 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5552 > else
5553 >  eval "$as_ac_Header=\$ac_header_preproc"
5554 > fi
5555 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5556 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5557  
5558 < for ac_header in getopt.h
5558 > fi
5559 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560 >  cat >>confdefs.h <<_ACEOF
5561 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 > _ACEOF
5563 >
5564 > fi
5565 >
5566 > done
5567 >
5568 >
5569 >
5570 >
5571 >
5572 >
5573 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5574   do
5575   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5576   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 5419 | Line 5719 | done
5719  
5720   done
5721  
5722 + ac_ext=cc
5723 + ac_cpp='$CXXCPP $CPPFLAGS'
5724 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5725 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5726 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5727  
5728 < for ac_func in getopt_long
5729 < do
5730 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5731 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5732 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5733 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5728 > ac_ext=cc
5729 > ac_cpp='$CXXCPP $CPPFLAGS'
5730 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5733 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5734 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5735 > if test -z "$CXXCPP"; then
5736 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5737    echo $ECHO_N "(cached) $ECHO_C" >&6
5738   else
5739 +      # Double quotes because CXXCPP needs to be expanded
5740 +    for CXXCPP in "$CXX -E" "/lib/cpp"
5741 +    do
5742 +      ac_preproc_ok=false
5743 + for ac_cxx_preproc_warn_flag in '' yes
5744 + do
5745 +  # Use a header file that comes with gcc, so configuring glibc
5746 +  # with a fresh cross-compiler works.
5747 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5748 +  # <limits.h> exists even on freestanding compilers.
5749 +  # On the NeXT, cc -E runs the code through the compiler's parser,
5750 +  # not just through cpp. "Syntax error" is here to catch this case.
5751    cat >conftest.$ac_ext <<_ACEOF
5752   /* confdefs.h.  */
5753   _ACEOF
5754   cat confdefs.h >>conftest.$ac_ext
5755   cat >>conftest.$ac_ext <<_ACEOF
5756   /* end confdefs.h.  */
5437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5438   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5439 #define $ac_func innocuous_$ac_func
5440
5441 /* System header to define __stub macros and hopefully few prototypes,
5442    which can conflict with char $ac_func (); below.
5443    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5444    <limits.h> exists even on freestanding compilers.  */
5445
5757   #ifdef __STDC__
5758   # include <limits.h>
5759   #else
5760   # include <assert.h>
5761   #endif
5762 <
5452 < #undef $ac_func
5453 <
5454 < /* Override any gcc2 internal prototype to avoid an error.  */
5455 < #ifdef __cplusplus
5456 < extern "C"
5457 < {
5458 < #endif
5459 < /* We use char because int might match the return type of a gcc2
5460 <   builtin and then its argument prototype would still apply.  */
5461 < char $ac_func ();
5462 < /* The GNU C library defines this for functions which it implements
5463 <    to always fail with ENOSYS.  Some functions are actually named
5464 <    something starting with __ and the normal name is an alias.  */
5465 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5466 < choke me
5467 < #else
5468 < char (*f) () = $ac_func;
5469 < #endif
5470 < #ifdef __cplusplus
5471 < }
5472 < #endif
5473 <
5474 < int
5475 < main ()
5476 < {
5477 < return f != $ac_func;
5478 <  ;
5479 <  return 0;
5480 < }
5762 >                     Syntax error
5763   _ACEOF
5764 < rm -f conftest.$ac_objext conftest$ac_exeext
5765 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5484 <  (eval $ac_link) 2>conftest.er1
5764 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5765 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5766    ac_status=$?
5767    grep -v '^ *+' conftest.er1 >conftest.err
5768    rm -f conftest.er1
5769    cat conftest.err >&5
5770    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 <  (exit $ac_status); } &&
5772 <         { ac_try='test -z "$ac_c_werror_flag"
5773 <                         || test ! -s conftest.err'
5774 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 <  (eval $ac_try) 2>&5
5776 <  ac_status=$?
5777 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 <  (exit $ac_status); }; } &&
5498 <         { ac_try='test -s conftest$ac_exeext'
5499 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500 <  (eval $ac_try) 2>&5
5501 <  ac_status=$?
5502 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 <  (exit $ac_status); }; }; then
5504 <  eval "$as_ac_var=yes"
5771 >  (exit $ac_status); } >/dev/null; then
5772 >  if test -s conftest.err; then
5773 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5774 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5775 >  else
5776 >    ac_cpp_err=
5777 >  fi
5778   else
5779 +  ac_cpp_err=yes
5780 + fi
5781 + if test -z "$ac_cpp_err"; then
5782 +  :
5783 + else
5784    echo "$as_me: failed program was:" >&5
5785   sed 's/^/| /' conftest.$ac_ext >&5
5786  
5787 < eval "$as_ac_var=no"
5787 >  # Broken: fails on valid input.
5788 > continue
5789   fi
5790 < rm -f conftest.err conftest.$ac_objext \
5791 <      conftest$ac_exeext conftest.$ac_ext
5792 < fi
5793 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5794 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5795 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5796 <  cat >>confdefs.h <<_ACEOF
5797 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5790 > rm -f conftest.err conftest.$ac_ext
5791 >
5792 >  # OK, works on sane cases.  Now check whether non-existent headers
5793 >  # can be detected and how.
5794 >  cat >conftest.$ac_ext <<_ACEOF
5795 > /* confdefs.h.  */
5796 > _ACEOF
5797 > cat confdefs.h >>conftest.$ac_ext
5798 > cat >>conftest.$ac_ext <<_ACEOF
5799 > /* end confdefs.h.  */
5800 > #include <ac_nonexistent.h>
5801   _ACEOF
5802 <
5802 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5803 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5804 >  ac_status=$?
5805 >  grep -v '^ *+' conftest.er1 >conftest.err
5806 >  rm -f conftest.er1
5807 >  cat conftest.err >&5
5808 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 >  (exit $ac_status); } >/dev/null; then
5810 >  if test -s conftest.err; then
5811 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5812 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5813 >  else
5814 >    ac_cpp_err=
5815 >  fi
5816   else
5817 <  # FreeBSD has a gnugetopt library for this
5818 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5819 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5820 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5821 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5817 >  ac_cpp_err=yes
5818 > fi
5819 > if test -z "$ac_cpp_err"; then
5820 >  # Broken: success on invalid input.
5821 > continue
5822   else
5823 <  ac_check_lib_save_LIBS=$LIBS
5824 < LIBS="-lgnugetopt  $LIBS"
5825 < cat >conftest.$ac_ext <<_ACEOF
5823 >  echo "$as_me: failed program was:" >&5
5824 > sed 's/^/| /' conftest.$ac_ext >&5
5825 >
5826 >  # Passes both tests.
5827 > ac_preproc_ok=:
5828 > break
5829 > fi
5830 > rm -f conftest.err conftest.$ac_ext
5831 >
5832 > done
5833 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5834 > rm -f conftest.err conftest.$ac_ext
5835 > if $ac_preproc_ok; then
5836 >  break
5837 > fi
5838 >
5839 >    done
5840 >    ac_cv_prog_CXXCPP=$CXXCPP
5841 >
5842 > fi
5843 >  CXXCPP=$ac_cv_prog_CXXCPP
5844 > else
5845 >  ac_cv_prog_CXXCPP=$CXXCPP
5846 > fi
5847 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5848 > echo "${ECHO_T}$CXXCPP" >&6
5849 > ac_preproc_ok=false
5850 > for ac_cxx_preproc_warn_flag in '' yes
5851 > do
5852 >  # Use a header file that comes with gcc, so configuring glibc
5853 >  # with a fresh cross-compiler works.
5854 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5855 >  # <limits.h> exists even on freestanding compilers.
5856 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5857 >  # not just through cpp. "Syntax error" is here to catch this case.
5858 >  cat >conftest.$ac_ext <<_ACEOF
5859   /* confdefs.h.  */
5860   _ACEOF
5861   cat confdefs.h >>conftest.$ac_ext
5862   cat >>conftest.$ac_ext <<_ACEOF
5863   /* end confdefs.h.  */
5864 <
5865 < /* Override any gcc2 internal prototype to avoid an error.  */
5866 < #ifdef __cplusplus
5867 < extern "C"
5864 > #ifdef __STDC__
5865 > # include <limits.h>
5866 > #else
5867 > # include <assert.h>
5868   #endif
5869 < /* We use char because int might match the return type of a gcc2
5542 <   builtin and then its argument prototype would still apply.  */
5543 < char getopt_long ();
5544 < int
5545 < main ()
5546 < {
5547 < getopt_long ();
5548 <  ;
5549 <  return 0;
5550 < }
5869 >                     Syntax error
5870   _ACEOF
5871 < rm -f conftest.$ac_objext conftest$ac_exeext
5872 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5554 <  (eval $ac_link) 2>conftest.er1
5871 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5872 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5873    ac_status=$?
5874    grep -v '^ *+' conftest.er1 >conftest.err
5875    rm -f conftest.er1
5876    cat conftest.err >&5
5877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 <  (exit $ac_status); } &&
5879 <         { ac_try='test -z "$ac_c_werror_flag"
5880 <                         || test ! -s conftest.err'
5881 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882 <  (eval $ac_try) 2>&5
5883 <  ac_status=$?
5884 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 <  (exit $ac_status); }; } &&
5568 <         { ac_try='test -s conftest$ac_exeext'
5569 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 <  (eval $ac_try) 2>&5
5571 <  ac_status=$?
5572 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 <  (exit $ac_status); }; }; then
5574 <  ac_cv_lib_gnugetopt_getopt_long=yes
5878 >  (exit $ac_status); } >/dev/null; then
5879 >  if test -s conftest.err; then
5880 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5881 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5882 >  else
5883 >    ac_cpp_err=
5884 >  fi
5885   else
5886 +  ac_cpp_err=yes
5887 + fi
5888 + if test -z "$ac_cpp_err"; then
5889 +  :
5890 + else
5891    echo "$as_me: failed program was:" >&5
5892   sed 's/^/| /' conftest.$ac_ext >&5
5893  
5894 < ac_cv_lib_gnugetopt_getopt_long=no
5894 >  # Broken: fails on valid input.
5895 > continue
5896   fi
5897 < rm -f conftest.err conftest.$ac_objext \
5898 <      conftest$ac_exeext conftest.$ac_ext
5899 < LIBS=$ac_check_lib_save_LIBS
5900 < fi
5901 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5902 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5587 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5588 <  cat >>confdefs.h <<\_ACEOF
5589 < #define HAVE_GETOPT_LONG 1
5897 > rm -f conftest.err conftest.$ac_ext
5898 >
5899 >  # OK, works on sane cases.  Now check whether non-existent headers
5900 >  # can be detected and how.
5901 >  cat >conftest.$ac_ext <<_ACEOF
5902 > /* confdefs.h.  */
5903   _ACEOF
5904 <
5904 > cat confdefs.h >>conftest.$ac_ext
5905 > cat >>conftest.$ac_ext <<_ACEOF
5906 > /* end confdefs.h.  */
5907 > #include <ac_nonexistent.h>
5908 > _ACEOF
5909 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5910 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5911 >  ac_status=$?
5912 >  grep -v '^ *+' conftest.er1 >conftest.err
5913 >  rm -f conftest.er1
5914 >  cat conftest.err >&5
5915 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 >  (exit $ac_status); } >/dev/null; then
5917 >  if test -s conftest.err; then
5918 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5919 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5920 >  else
5921 >    ac_cpp_err=
5922 >  fi
5923   else
5924 <  # use the GNU replacement
5594 <      case $LIBOBJS in
5595 <    "getopt.$ac_objext"   | \
5596 <  *" getopt.$ac_objext"   | \
5597 <    "getopt.$ac_objext "* | \
5598 <  *" getopt.$ac_objext "* ) ;;
5599 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5600 < esac
5601 <
5602 <      case $LIBOBJS in
5603 <    "getopt1.$ac_objext"   | \
5604 <  *" getopt1.$ac_objext"   | \
5605 <    "getopt1.$ac_objext "* | \
5606 <  *" getopt1.$ac_objext "* ) ;;
5607 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5608 < esac
5609 <
5610 <                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5611 <
5924 >  ac_cpp_err=yes
5925   fi
5926 + if test -z "$ac_cpp_err"; then
5927 +  # Broken: success on invalid input.
5928 + continue
5929 + else
5930 +  echo "$as_me: failed program was:" >&5
5931 + sed 's/^/| /' conftest.$ac_ext >&5
5932  
5933 +  # Passes both tests.
5934 + ac_preproc_ok=:
5935 + break
5936   fi
5937 + rm -f conftest.err conftest.$ac_ext
5938 +
5939   done
5940 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5941 + rm -f conftest.err conftest.$ac_ext
5942 + if $ac_preproc_ok; then
5943 +  :
5944 + else
5945 +  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5946 + See \`config.log' for more details." >&5
5947 + echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5948 + See \`config.log' for more details." >&2;}
5949 +   { (exit 1); exit 1; }; }
5950 + fi
5951  
5952 + ac_ext=cc
5953 + ac_cpp='$CXXCPP $CPPFLAGS'
5954 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5957  
5958  
5619 case $debug in
5620  1)
5621     ;;
5622  *)
5959  
5960  
5961  
5962  
5963  
5964 <
5965 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5966 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5967 < if test "${ac_cv_prog_really_gcc+set}" = set; then
5964 > for ac_header in ctype.h iostream fstream sstream strstream
5965 > do
5966 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971    echo $ECHO_N "(cached) $ECHO_C" >&6
5972 + fi
5973 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5975   else
5976 <
5977 < cat > conftest.c <<EOF
5978 < #ifdef __GNUC__
5979 <  #ifndef __INTEL_COMPILER
5980 <     yes;
5981 <  #endif
5982 < #endif
5983 < EOF
5984 < if { ac_try='${CC-cc} -E conftest.c'
5976 >  # Is the header compilable?
5977 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 > cat >conftest.$ac_ext <<_ACEOF
5980 > /* confdefs.h.  */
5981 > _ACEOF
5982 > cat confdefs.h >>conftest.$ac_ext
5983 > cat >>conftest.$ac_ext <<_ACEOF
5984 > /* end confdefs.h.  */
5985 > $ac_includes_default
5986 > #include <$ac_header>
5987 > _ACEOF
5988 > rm -f conftest.$ac_objext
5989 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 >  (eval $ac_compile) 2>conftest.er1
5991 >  ac_status=$?
5992 >  grep -v '^ *+' conftest.er1 >conftest.err
5993 >  rm -f conftest.er1
5994 >  cat conftest.err >&5
5995 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 >  (exit $ac_status); } &&
5997 >         { ac_try='test -z "$ac_cxx_werror_flag"
5998 >                         || test ! -s conftest.err'
5999    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000    (eval $ac_try) 2>&5
6001    ac_status=$?
6002    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6004 <  ac_cv_prog_really_gcc=yes
6003 >  (exit $ac_status); }; } &&
6004 >         { ac_try='test -s conftest.$ac_objext'
6005 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 >  (eval $ac_try) 2>&5
6007 >  ac_status=$?
6008 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 >  (exit $ac_status); }; }; then
6010 >  ac_header_compiler=yes
6011   else
6012 <  ac_cv_prog_really_gcc=no
6012 >  echo "$as_me: failed program was:" >&5
6013 > sed 's/^/| /' conftest.$ac_ext >&5
6014 >
6015 > ac_header_compiler=no
6016   fi
6017 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 + echo "${ECHO_T}$ac_header_compiler" >&6
6020  
6021 + # Is the header present?
6022 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 + cat >conftest.$ac_ext <<_ACEOF
6025 + /* confdefs.h.  */
6026 + _ACEOF
6027 + cat confdefs.h >>conftest.$ac_ext
6028 + cat >>conftest.$ac_ext <<_ACEOF
6029 + /* end confdefs.h.  */
6030 + #include <$ac_header>
6031 + _ACEOF
6032 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6034 +  ac_status=$?
6035 +  grep -v '^ *+' conftest.er1 >conftest.err
6036 +  rm -f conftest.er1
6037 +  cat conftest.err >&5
6038 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 +  (exit $ac_status); } >/dev/null; then
6040 +  if test -s conftest.err; then
6041 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
6042 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6043 +  else
6044 +    ac_cpp_err=
6045 +  fi
6046 + else
6047 +  ac_cpp_err=yes
6048   fi
6049 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
6050 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
6051 < if test "$ac_cv_prog_really_gcc" = yes; then
6052 <        :
6049 > if test -z "$ac_cpp_err"; then
6050 >  ac_header_preproc=yes
6051 > else
6052 >  echo "$as_me: failed program was:" >&5
6053 > sed 's/^/| /' conftest.$ac_ext >&5
6054  
6055 +  ac_header_preproc=no
6056 + fi
6057 + rm -f conftest.err conftest.$ac_ext
6058 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 + echo "${ECHO_T}$ac_header_preproc" >&6
6060 +
6061 + # So?  What about this header?
6062 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6063 +  yes:no: )
6064 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068 +    ac_header_preproc=yes
6069 +    ;;
6070 +  no:yes:* )
6071 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6074 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6075 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6078 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6079 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6083 +    (
6084 +      cat <<\_ASBOX
6085 + ## ------------------------------ ##
6086 + ## Report this to gezelter@nd.edu ##
6087 + ## ------------------------------ ##
6088 + _ASBOX
6089 +    ) |
6090 +      sed "s/^/$as_me: WARNING:     /" >&2
6091 +    ;;
6092 + esac
6093 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6097   else
6098 <        :
6098 >  eval "$as_ac_Header=\$ac_header_preproc"
6099 > fi
6100 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6102  
6103   fi
6104 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105 +  cat >>confdefs.h <<_ACEOF
6106 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 + _ACEOF
6108  
6109 + fi
6110  
6111 < # Try to determine "good" native compiler flags if none specified on command
6112 < # line
6113 < if test "$ac_test_CFLAGS" != "set"; then
6114 <  CFLAGS=""
6115 <  case "${host_cpu}-${host_os}" in
6116 <
6117 <  *linux*) if test "$CC" = icc; then
6118 <                    CFLAGS="-O"
6119 <                fi;;
6120 <  sparc-solaris2*) if test "$CC" = cc; then
6121 <                    CFLAGS="-native -fast -xO5 -dalign"
6122 <                 fi;;
6123 <
6124 <  alpha*-osf*)  if test "$CC" = cc; then
6125 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
6126 <                fi;;
6127 <
6128 <  hppa*-hpux*)  if test "$CC" = cc; then
6129 <                    CFLAGS="-Ae +O3 +Oall"
6130 <                fi;;
6131 <
6132 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
6133 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
6134 <                fi;;
6135 <   powerpc*-aix*)
6136 <        if test "$CC" = cc -o "$CC" = xlc; then
6137 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
6138 <                echo "*******************************************************"
6139 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6140 <                echo "*  recommended that you use                           *"
6141 <                echo "*                                                     *"
6142 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6143 <                echo "*                                 ^^^                 *"
6144 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6145 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6146 <                echo "*******************************************************"
6147 <        fi;;
6148 <   *darwin*)
6149 <        if test "$CC" = xlc -o "$CC" = cc; then
6150 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6151 <        fi;;
6152 <  esac
6153 <
6154 <  # use default flags for gcc on all systems
6155 <  if test $ac_cv_prog_really_gcc = yes; then
6156 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6157 <  fi
6158 <
6159 <  # test for gcc-specific flags:
6160 <  if test $ac_cv_prog_really_gcc = yes; then
6161 <    # -malign-double for x86 systems
6162 <
6163 <
6164 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
6165 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
6166 < if test "${ac_align_double+set}" = set; then
6167 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6168 < else
6169 <  echo 'void f(){}' > conftest.c
6170 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
6171 <        ac_align_double=yes
6172 < else
6173 <        ac_align_double=no
6174 < fi
6175 < rm -f conftest*
6176 <
6177 < fi
6178 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6179 < echo "${ECHO_T}$ac_align_double" >&6
6180 < if test "$ac_align_double" = yes; then
6181 <        :
6182 <        CFLAGS="$CFLAGS -malign-double"
6183 < else
6184 <        :
6185 <
6186 < fi
6187 <
6188 <    # -fstrict-aliasing for gcc-2.95+
6189 <
6190 <
6191 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
6192 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
6193 < if test "${ac_fstrict_aliasing+set}" = set; then
6194 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6195 < else
6196 <  echo 'void f(){}' > conftest.c
6197 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
6198 <        ac_fstrict_aliasing=yes
6199 < else
6200 <        ac_fstrict_aliasing=no
6201 < fi
6202 < rm -f conftest*
6203 <
6204 < fi
6205 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6206 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6207 < if test "$ac_fstrict_aliasing" = yes; then
6208 <        :
6209 <        CFLAGS="$CFLAGS -fstrict-aliasing"
6210 < else
6211 <        :
6212 <
6213 < fi
6214 <
6215 <  fi
6216 <
6217 <  CPU_FLAGS=""
6218 <  if test $ac_cv_prog_really_gcc = yes; then
6219 <                  case "${host_cpu}" in
6220 <          i586*)
6221 <
6222 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
6223 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
6224 < if test "${ac_cpu_pentium+set}" = set; then
6225 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6226 < else
6227 <  echo 'void f(){}' > conftest.c
6228 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
6229 <        ac_cpu_pentium=yes
6230 < else
6231 <        ac_cpu_pentium=no
6232 < fi
6233 < rm -f conftest*
6234 <
6235 < fi
6236 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6237 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6238 < if test "$ac_cpu_pentium" = yes; then
6239 <        :
6240 <        CPU_FLAGS=-mcpu=pentium
6241 < else
6242 <        :
6243 <
6244 <
6245 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
6246 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
6247 < if test "${ac_pentium+set}" = set; then
6248 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6249 < else
6250 <  echo 'void f(){}' > conftest.c
6251 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
6252 <        ac_pentium=yes
6253 < else
6254 <        ac_pentium=no
6255 < fi
6256 < rm -f conftest*
6257 <
6258 < fi
6259 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6260 < echo "${ECHO_T}$ac_pentium" >&6
6261 < if test "$ac_pentium" = yes; then
6262 <        :
6263 <        CPU_FLAGS=-mpentium
6264 < else
6265 <        :
6266 <
6267 < fi
6268 <
6269 < fi
6270 <
6271 <                  ;;
6272 <          i686*)
6273 <
6274 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
6275 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6276 < if test "${ac_cpu_pentiumpro+set}" = set; then
6277 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6278 < else
6279 <  echo 'void f(){}' > conftest.c
6280 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
6281 <        ac_cpu_pentiumpro=yes
6282 < else
6283 <        ac_cpu_pentiumpro=no
6284 < fi
6285 < rm -f conftest*
6286 <
6287 < fi
6288 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6289 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6290 < if test "$ac_cpu_pentiumpro" = yes; then
6291 <        :
6292 <        CPU_FLAGS=-mcpu=pentiumpro
6293 < else
6294 <        :
6295 <
6296 <
6297 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
6298 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
6299 < if test "${ac_pentiumpro+set}" = set; then
6300 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6301 < else
6302 <  echo 'void f(){}' > conftest.c
6303 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
6304 <        ac_pentiumpro=yes
6305 < else
6306 <        ac_pentiumpro=no
6307 < fi
6308 < rm -f conftest*
6309 <
6310 < fi
6311 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6312 < echo "${ECHO_T}$ac_pentiumpro" >&6
6313 < if test "$ac_pentiumpro" = yes; then
6314 <        :
6315 <        CPU_FLAGS=-mpentiumpro
6316 < else
6317 <        :
6318 <
6319 < fi
6320 <
6321 < fi
6322 <
6323 <                  ;;
6324 <          powerpc*)
6325 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6326 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6327 <                if test -n "$is60x"; then
6328 <
6329 <
6330 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
6331 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
6332 < if test "${ac_m_cpu_60x+set}" = set; then
6333 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6334 < else
6335 <  echo 'void f(){}' > conftest.c
6336 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
6337 <        ac_m_cpu_60x=yes
6338 < else
6339 <        ac_m_cpu_60x=no
6340 < fi
6341 < rm -f conftest*
6342 <
6343 < fi
6344 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6345 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6346 < if test "$ac_m_cpu_60x" = yes; then
6347 <        :
6348 <        CPU_FLAGS=-mcpu=$cputype
6349 < else
6350 <        :
6351 <
6352 < fi
6353 <
6354 <                elif test "$cputype" = 750; then
6355 <
6356 <
6357 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
6358 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
6359 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
6360 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6361 < else
6362 <
6363 < cat > conftest.c <<EOF
6364 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6365 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6366 <     yes;
6367 < #  endif
6368 < #endif
6369 < EOF
6370 < if { ac_try='${CC-cc} -E conftest.c'
6371 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372 <  (eval $ac_try) 2>&5
6373 <  ac_status=$?
6374 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6376 <  ac_cv_prog_gcc_2_95=yes
6377 < else
6378 <  ac_cv_prog_gcc_2_95=no
6379 < fi
6380 <
6381 < fi
6382 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
6383 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
6384 < if test "$ac_cv_prog_gcc_2_95" = yes; then
6385 <        :
6386 <
6387 <
6388 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
6389 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
6390 < if test "${ac_m_cpu_750+set}" = set; then
6391 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6392 < else
6393 <  echo 'void f(){}' > conftest.c
6394 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
6395 <        ac_m_cpu_750=yes
6396 < else
6397 <        ac_m_cpu_750=no
6398 < fi
6399 < rm -f conftest*
6400 <
6401 < fi
6402 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6403 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6404 < if test "$ac_m_cpu_750" = yes; then
6405 <        :
6406 <        CPU_FLAGS=-mcpu=750
6407 < else
6408 <        :
6409 <
6410 < fi
6411 <
6412 < else
6413 <        :
6414 <
6415 < fi
6416 <
6417 <                fi
6418 <                if test -z "$CPU_FLAGS"; then
6419 <
6420 <
6421 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6422 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
6423 < if test "${ac_m_cpu_powerpc+set}" = set; then
6424 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6425 < else
6426 <  echo 'void f(){}' > conftest.c
6427 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
6428 <        ac_m_cpu_powerpc=yes
6429 < else
6430 <        ac_m_cpu_powerpc=no
6431 < fi
6432 < rm -f conftest*
6433 <
6434 < fi
6435 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6436 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6437 < if test "$ac_m_cpu_powerpc" = yes; then
6438 <        :
6439 <        CPU_FLAGS=-mcpu=powerpc
6440 < else
6441 <        :
6442 <
6443 < fi
6444 <
6445 <                fi
6446 <                if test -z "$CPU_FLAGS"; then
6447 <
6448 <
6449 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6450 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6451 < if test "${ac_m_powerpc+set}" = set; then
6452 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6453 < else
6454 <  echo 'void f(){}' > conftest.c
6455 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
6456 <        ac_m_powerpc=yes
6457 < else
6458 <        ac_m_powerpc=no
6459 < fi
6460 < rm -f conftest*
6461 <
6462 < fi
6463 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6464 < echo "${ECHO_T}$ac_m_powerpc" >&6
6465 < if test "$ac_m_powerpc" = yes; then
6466 <        :
6467 <        CPU_FLAGS=-mpowerpc
6468 < else
6469 <        :
6470 <
6471 < fi
6472 <
6473 <                fi
6474 <          esac
6475 <  fi
6476 <
6477 <  if test -n "$CPU_FLAGS"; then
6478 <        CFLAGS="$CFLAGS $CPU_FLAGS"
6479 <  fi
6480 <
6481 <  if test -z "$CFLAGS"; then
6482 <        echo ""
6483 <        echo "********************************************************"
6484 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
6485 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6486 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
6487 <        echo "********************************************************"
6488 <        echo ""
6489 <        CFLAGS="-O3"
6490 <  fi
6491 <
6492 <
6493 <
6494 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6495 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6496 < if test "${ac_guessed_cflags+set}" = set; then
6497 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6498 < else
6499 <  echo 'void f(){}' > conftest.c
6500 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
6501 <        ac_guessed_cflags=yes
6502 < else
6503 <        ac_guessed_cflags=no
6504 < fi
6505 < rm -f conftest*
6506 <
6507 < fi
6508 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6509 < echo "${ECHO_T}$ac_guessed_cflags" >&6
6510 < if test "$ac_guessed_cflags" = yes; then
6511 <        :
6512 <
6513 < else
6514 <        :
6515 <
6516 <        echo ""
6517 <        echo "********************************************************"
6518 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
6519 <        echo "* your compiler.                                       *"
6520 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6521 <        echo "********************************************************"
6522 <        echo ""
6523 <        CFLAGS=""
6524 <
6525 < fi
6526 <
6527 <
6528 < fi
6529 <
6530 <
6531 <
6532 <
6533 <
6534 <
6535 <
6536 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6537 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6538 < if test "${ac_cv_prog_really_gxx+set}" = set; then
6539 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6540 < else
6541 <
6542 < cat > conftest.cpp <<EOF
6543 < #ifdef __GNUC__
6544 <  #ifndef __INTEL_COMPILER
6545 <     yes;
6546 <  #endif
6547 < #endif
6548 < EOF
6549 < if { ac_try='${CXX-c++} -E conftest.cpp'
6550 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551 <  (eval $ac_try) 2>&5
6552 <  ac_status=$?
6553 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6555 <  ac_cv_prog_really_gxx=yes
6556 < else
6557 <  ac_cv_prog_really_gxx=no
6558 < fi
6559 <
6560 < fi
6561 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6562 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6563 < if test "$ac_cv_prog_really_gxx" = yes; then
6564 <        :
6565 <
6566 < else
6567 <        :
6568 <
6569 < fi
6570 <
6571 <
6572 < # Try to determine "good" native compiler flags if none specified on command
6573 < # line
6574 < if test "$ac_test_CXXFLAGS" != "set"; then
6575 <  CXXFLAGS=""
6576 <  case "${host_cpu}-${host_os}" in
6577 <
6578 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
6579 <                    CXXFLAGS="-O"
6580 <                fi;;
6581 <  sparc-solaris2*) if test "$CXX" = CC; then
6582 <                    CXXFLAGS="-native -fast -xO5 -dalign"
6583 <                 fi;;
6584 <   rs6000*-aix*)  if test "$CXX" = xlC; then
6585 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6586 <                fi;;
6587 <   powerpc*-aix*)
6588 <        if test "$CXX" = xlC; then
6589 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
6590 <                echo "*******************************************************"
6591 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6592 <                echo "*  recommended that you use                           *"
6593 <                echo "*                                                     *"
6594 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6595 <                echo "*                                 ^^^                 *"
6596 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6597 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6598 <                echo "*******************************************************"
6599 <        fi;;
6600 <   *darwin*)
6601 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
6602 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6603 <        fi;;
6604 <  esac
6605 <
6606 <  # use default flags for gcc on all systems
6607 <  if test $ac_cv_prog_really_gxx = yes; then
6608 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6609 <  fi
6610 <
6611 <  # test for gcc-specific flags:
6612 <  if test $ac_cv_prog_really_gxx = yes; then
6613 <    # -malign-double for x86 systems
6614 <
6615 <
6616 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6617 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6618 < if test "${ac_align_double+set}" = set; then
6619 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6620 < else
6621 <  echo 'void f(){}' > conftest.cpp
6622 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
6623 <        ac_align_double=yes
6624 < else
6625 <        ac_align_double=no
6626 < fi
6627 < rm -f conftest*
6628 <
6629 < fi
6630 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6631 < echo "${ECHO_T}$ac_align_double" >&6
6632 < if test "$ac_align_double" = yes; then
6633 <        :
6634 <        CXXFLAGS="$CXXFLAGS -malign-double"
6635 < else
6636 <        :
6637 <
6638 < fi
6639 <
6640 <    # -fstrict-aliasing for gcc-2.95+
6641 <
6642 <
6643 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6644 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6645 < if test "${ac_fstrict_aliasing+set}" = set; then
6646 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6647 < else
6648 <  echo 'void f(){}' > conftest.cpp
6649 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
6650 <        ac_fstrict_aliasing=yes
6651 < else
6652 <        ac_fstrict_aliasing=no
6653 < fi
6654 < rm -f conftest*
6655 <
6656 < fi
6657 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6658 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6659 < if test "$ac_fstrict_aliasing" = yes; then
6660 <        :
6661 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
6662 < else
6663 <        :
6664 <
6665 < fi
6666 <
6667 <  fi
6668 <
6669 <  CPU_FLAGS=""
6670 <  if test $ac_cv_prog_really_gxx = yes; then
6671 <                  case "${host_cpu}" in
6672 <          i586*)
6673 <
6674 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6675 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6676 < if test "${ac_cpu_pentium+set}" = set; then
6677 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6678 < else
6679 <  echo 'void f(){}' > conftest.cpp
6680 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
6681 <        ac_cpu_pentium=yes
6682 < else
6683 <        ac_cpu_pentium=no
6684 < fi
6685 < rm -f conftest*
6686 <
6687 < fi
6688 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6689 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6690 < if test "$ac_cpu_pentium" = yes; then
6691 <        :
6692 <        CPU_FLAGS=-mcpu=pentium
6693 < else
6694 <        :
6695 <
6696 <
6697 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6698 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6699 < if test "${ac_pentium+set}" = set; then
6700 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6701 < else
6702 <  echo 'void f(){}' > conftest.cpp
6703 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
6704 <        ac_pentium=yes
6705 < else
6706 <        ac_pentium=no
6707 < fi
6708 < rm -f conftest*
6709 <
6710 < fi
6711 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6712 < echo "${ECHO_T}$ac_pentium" >&6
6713 < if test "$ac_pentium" = yes; then
6714 <        :
6715 <        CPU_FLAGS=-mpentium
6716 < else
6717 <        :
6718 <
6719 < fi
6720 <
6721 < fi
6722 <
6723 <                  ;;
6724 <          i686*)
6725 <
6726 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6727 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6728 < if test "${ac_cpu_pentiumpro+set}" = set; then
6729 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6730 < else
6731 <  echo 'void f(){}' > conftest.cpp
6732 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6733 <        ac_cpu_pentiumpro=yes
6734 < else
6735 <        ac_cpu_pentiumpro=no
6736 < fi
6737 < rm -f conftest*
6738 <
6739 < fi
6740 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6741 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6742 < if test "$ac_cpu_pentiumpro" = yes; then
6743 <        :
6744 <        CPU_FLAGS=-mcpu=pentiumpro
6745 < else
6746 <        :
6747 <
6748 <
6749 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6750 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6751 < if test "${ac_pentiumpro+set}" = set; then
6752 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6753 < else
6754 <  echo 'void f(){}' > conftest.cpp
6755 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6756 <        ac_pentiumpro=yes
6757 < else
6758 <        ac_pentiumpro=no
6759 < fi
6760 < rm -f conftest*
6761 <
6762 < fi
6763 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6764 < echo "${ECHO_T}$ac_pentiumpro" >&6
6765 < if test "$ac_pentiumpro" = yes; then
6766 <        :
6767 <        CPU_FLAGS=-mpentiumpro
6768 < else
6769 <        :
6770 <
6771 < fi
6772 <
6773 < fi
6774 <
6775 <                  ;;
6776 <          powerpc*)
6777 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6778 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6779 <                if test -n "$is60x"; then
6780 <
6781 <
6782 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6783 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6784 < if test "${ac_m_cpu_60x+set}" = set; then
6785 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6786 < else
6787 <  echo 'void f(){}' > conftest.cpp
6788 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6789 <        ac_m_cpu_60x=yes
6790 < else
6791 <        ac_m_cpu_60x=no
6792 < fi
6793 < rm -f conftest*
6794 <
6795 < fi
6796 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6797 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6798 < if test "$ac_m_cpu_60x" = yes; then
6799 <        :
6800 <        CPU_FLAGS=-mcpu=$cputype
6801 < else
6802 <        :
6803 <
6804 < fi
6805 <
6806 <                elif test "$cputype" = 750; then
6807 <
6808 <
6809 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6810 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6811 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6812 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6813 < else
6814 <
6815 < cat > conftest.cpp <<EOF
6816 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6817 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6818 <     yes;
6819 < #  endif
6820 < #endif
6821 < EOF
6822 < if { ac_try='${CXX-c++} -E conftest.cpp'
6823 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 <  (eval $ac_try) 2>&5
6825 <  ac_status=$?
6826 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6828 <  ac_cv_prog_gxx_2_95=yes
6829 < else
6830 <  ac_cv_prog_gxx_2_95=no
6831 < fi
6832 <
6833 < fi
6834 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6835 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6836 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6837 <        :
6838 <
6839 <
6840 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6841 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6842 < if test "${ac_m_cpu_750+set}" = set; then
6843 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6844 < else
6845 <  echo 'void f(){}' > conftest.cpp
6846 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
6847 <        ac_m_cpu_750=yes
6848 < else
6849 <        ac_m_cpu_750=no
6850 < fi
6851 < rm -f conftest*
6852 <
6853 < fi
6854 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6855 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6856 < if test "$ac_m_cpu_750" = yes; then
6857 <        :
6858 <        CPU_FLAGS=-mcpu=750
6859 < else
6860 <        :
6861 <
6862 < fi
6863 <
6864 < else
6865 <        :
6866 <
6867 < fi
6868 <
6869 <                fi
6870 <                if test -z "$CPU_FLAGS"; then
6871 <
6872 <
6873 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6874 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6875 < if test "${ac_m_cpu_powerpc+set}" = set; then
6876 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6877 < else
6878 <  echo 'void f(){}' > conftest.cpp
6879 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
6880 <        ac_m_cpu_powerpc=yes
6881 < else
6882 <        ac_m_cpu_powerpc=no
6883 < fi
6884 < rm -f conftest*
6885 <
6886 < fi
6887 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6888 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6889 < if test "$ac_m_cpu_powerpc" = yes; then
6890 <        :
6891 <        CPU_FLAGS=-mcpu=powerpc
6892 < else
6893 <        :
6894 <
6895 < fi
6896 <
6897 <                fi
6898 <                if test -z "$CPU_FLAGS"; then
6899 <
6900 <
6901 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6902 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6903 < if test "${ac_m_powerpc+set}" = set; then
6904 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6905 < else
6906 <  echo 'void f(){}' > conftest.cpp
6907 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
6908 <        ac_m_powerpc=yes
6909 < else
6910 <        ac_m_powerpc=no
6911 < fi
6912 < rm -f conftest*
6913 <
6914 < fi
6915 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6916 < echo "${ECHO_T}$ac_m_powerpc" >&6
6917 < if test "$ac_m_powerpc" = yes; then
6918 <        :
6919 <        CPU_FLAGS=-mpowerpc
6920 < else
6921 <        :
6922 <
6923 < fi
6924 <
6925 <                fi
6926 <          esac
6927 <  fi
6928 <
6929 <  if test -n "$CPU_FLAGS"; then
6930 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
6931 <  fi
6932 <
6933 <  if test -z "$CXXFLAGS"; then
6934 <        echo ""
6935 <        echo "**********************************************************"
6936 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
6937 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6938 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
6939 <        echo "**********************************************************"
6940 <        echo ""
6941 <        CXXFLAGS="-O3"
6942 <  fi
6943 <
6944 <
6945 <
6946 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6947 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6948 < if test "${ac_guessed_cxxflags+set}" = set; then
6949 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6950 < else
6951 <  echo 'void f(){}' > conftest.cpp
6952 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
6953 <        ac_guessed_cxxflags=yes
6954 < else
6955 <        ac_guessed_cxxflags=no
6956 < fi
6957 < rm -f conftest*
6958 <
6959 < fi
6960 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6961 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6962 < if test "$ac_guessed_cxxflags" = yes; then
6963 <        :
6964 <
6965 < else
6966 <        :
6967 <
6968 <        echo ""
6969 <        echo "**********************************************************"
6970 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
6971 <        echo "* your compiler.                                         *"
6972 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6973 <        echo "**********************************************************"
6974 <        echo ""
6975 <        CXXFLAGS=""
6976 <
6977 < fi
6978 <
6979 <
6980 < fi
6981 <
6982 <
6983 <
6984 <
6985 <
6986 < # Try to determine "good" native compiler flags if none specified on command
6987 < # line
6988 <
6989 < if test x"$F90FLAGS" = x ; then
6990 <  F90FLAGS=""
6991 <  case "${host_cpu}-${host_os}" in
6992 <
6993 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
6994 <                    F90FLAGS="-O"
6995 <                fi;;
6996 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
6997 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6998 <                fi;;
6999 <   powerpc*-aix*)
7000 <        if test "$F90" = f90 -o "$F90" = xlf90; then
7001 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
7002 <                echo "*******************************************************"
7003 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7004 <                echo "*  recommended that you use                           *"
7005 <                echo "*                                                     *"
7006 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7007 <                echo "*                                 ^^^                 *"
7008 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7009 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
7010 <                echo "*******************************************************"
7011 <        fi;;
7012 <   *darwin*)
7013 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
7014 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
7015 <        fi;;
7016 <  esac
7017 <
7018 <  if test -n "$CPU_FLAGS"; then
7019 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
7020 <  fi
7021 <
7022 <  if test -z "$F90FLAGS"; then
7023 <        echo ""
7024 <        echo "**********************************************************"
7025 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
7026 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
7027 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
7028 <        echo "**********************************************************"
7029 <        echo ""
7030 <        F90FLAGS="-O3"
7031 <  fi
7032 <
7033 <
7034 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
7035 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
7036 < if test "${ac_guessed_f90flags+set}" = set; then
7037 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7038 < else
7039 <
7040 <
7041 <
7042 < ac_ext=f90
7043 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
7044 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7045 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
7046 <
7047 < echo 'program main' > conftest.$ac_ext
7048 < echo 'end program main' >> conftest.$ac_ext
7049 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
7050 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7051 <  (eval $ac_compile) 2>&5
7052 <  ac_status=$?
7053 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 <  (exit $ac_status); }; then
7055 <        ac_guessed_f90flags=yes
7056 < else
7057 <        ac_guessed_f90flags=no
7058 < fi
7059 < rm -f conftest*
7060 < ac_ext=c
7061 < ac_cpp='$CPP $CPPFLAGS'
7062 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7063 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7064 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7065 <
7066 <
7067 < fi
7068 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
7069 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
7070 < if test "$ac_guessed_f90flags" = yes; then
7071 <        :
7072 <
7073 < else
7074 <        :
7075 <
7076 <        echo ""
7077 <        echo "**********************************************************"
7078 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
7079 <        echo "* your compiler.                                         *"
7080 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
7081 <        echo "**********************************************************"
7082 <        echo ""
7083 <        F90FLAGS=""
7084 <
7085 < fi
7086 <
7087 <
7088 < fi
7089 <
7090 <     ;;
7091 < esac
7092 <
7093 < # Find a good install program.  We prefer a C program (faster),
7094 < # so one script is as good as another.  But avoid the broken or
7095 < # incompatible versions:
7096 < # SysV /etc/install, /usr/sbin/install
7097 < # SunOS /usr/etc/install
7098 < # IRIX /sbin/install
7099 < # AIX /bin/install
7100 < # AmigaOS /C/install, which installs bootblocks on floppy discs
7101 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7102 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7103 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7104 < # OS/2's system install, which has a completely different semantic
7105 < # ./install, which can be erroneously created by make from ./install.sh.
7106 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7107 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7108 < if test -z "$INSTALL"; then
7109 < if test "${ac_cv_path_install+set}" = set; then
7110 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7111 < else
7112 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 < for as_dir in $PATH
7114 < do
7115 <  IFS=$as_save_IFS
7116 <  test -z "$as_dir" && as_dir=.
7117 <  # Account for people who put trailing slashes in PATH elements.
7118 < case $as_dir/ in
7119 <  ./ | .// | /cC/* | \
7120 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7121 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
7122 <  /usr/ucb/* ) ;;
7123 <  *)
7124 <    # OSF1 and SCO ODT 3.0 have their own names for install.
7125 <    # Don't use installbsd from OSF since it installs stuff as root
7126 <    # by default.
7127 <    for ac_prog in ginstall scoinst install; do
7128 <      for ac_exec_ext in '' $ac_executable_extensions; do
7129 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7130 <          if test $ac_prog = install &&
7131 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7132 <            # AIX install.  It has an incompatible calling convention.
7133 <            :
7134 <          elif test $ac_prog = install &&
7135 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7136 <            # program-specific install script used by HP pwplus--don't use.
7137 <            :
7138 <          else
7139 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7140 <            break 3
7141 <          fi
7142 <        fi
7143 <      done
7144 <    done
7145 <    ;;
7146 < esac
7147 < done
7148 <
7149 <
7150 < fi
7151 <  if test "${ac_cv_path_install+set}" = set; then
7152 <    INSTALL=$ac_cv_path_install
7153 <  else
7154 <    # As a last resort, use the slow shell script.  We don't cache a
7155 <    # path for INSTALL within a source directory, because that will
7156 <    # break other packages using the cache if that directory is
7157 <    # removed, or if the path is relative.
7158 <    INSTALL=$ac_install_sh
7159 <  fi
7160 < fi
7161 < echo "$as_me:$LINENO: result: $INSTALL" >&5
7162 < echo "${ECHO_T}$INSTALL" >&6
7163 <
7164 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7165 < # It thinks the first close brace ends the variable substitution.
7166 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7167 <
7168 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7169 <
7170 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7171 <
7172 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
7173 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7174 < LN_S=$as_ln_s
7175 < if test "$LN_S" = "ln -s"; then
7176 <  echo "$as_me:$LINENO: result: yes" >&5
7177 < echo "${ECHO_T}yes" >&6
7178 < else
7179 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7180 < echo "${ECHO_T}no, using $LN_S" >&6
7181 < fi
7182 <
7183 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7184 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7185 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7186 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7187 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7188 < else
7189 <  cat >conftest.make <<\_ACEOF
7190 < all:
7191 <        @echo 'ac_maketemp="$(MAKE)"'
7192 < _ACEOF
7193 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7194 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7195 < if test -n "$ac_maketemp"; then
7196 <  eval ac_cv_prog_make_${ac_make}_set=yes
7197 < else
7198 <  eval ac_cv_prog_make_${ac_make}_set=no
7199 < fi
7200 < rm -f conftest.make
7201 < fi
7202 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7203 <  echo "$as_me:$LINENO: result: yes" >&5
7204 < echo "${ECHO_T}yes" >&6
7205 <  SET_MAKE=
7206 < else
7207 <  echo "$as_me:$LINENO: result: no" >&5
7208 < echo "${ECHO_T}no" >&6
7209 <  SET_MAKE="MAKE=${MAKE-make}"
7210 < fi
7211 <
7212 < if test -n "$ac_tool_prefix"; then
7213 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7214 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7215 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7216 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7217 < if test "${ac_cv_prog_RANLIB+set}" = set; then
7218 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7219 < else
7220 <  if test -n "$RANLIB"; then
7221 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7222 < else
7223 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 < for as_dir in $PATH
7225 < do
7226 <  IFS=$as_save_IFS
7227 <  test -z "$as_dir" && as_dir=.
7228 <  for ac_exec_ext in '' $ac_executable_extensions; do
7229 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7230 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7231 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7232 <    break 2
7233 <  fi
7234 < done
7235 < done
7236 <
7237 < fi
7238 < fi
7239 < RANLIB=$ac_cv_prog_RANLIB
7240 < if test -n "$RANLIB"; then
7241 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
7242 < echo "${ECHO_T}$RANLIB" >&6
7243 < else
7244 <  echo "$as_me:$LINENO: result: no" >&5
7245 < echo "${ECHO_T}no" >&6
7246 < fi
7247 <
7248 < fi
7249 < if test -z "$ac_cv_prog_RANLIB"; then
7250 <  ac_ct_RANLIB=$RANLIB
7251 <  # Extract the first word of "ranlib", so it can be a program name with args.
7252 < set dummy ranlib; ac_word=$2
7253 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7254 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7255 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7256 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7257 < else
7258 <  if test -n "$ac_ct_RANLIB"; then
7259 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7260 < else
7261 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 < for as_dir in $PATH
7263 < do
7264 <  IFS=$as_save_IFS
7265 <  test -z "$as_dir" && as_dir=.
7266 <  for ac_exec_ext in '' $ac_executable_extensions; do
7267 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7268 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
7269 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7270 <    break 2
7271 <  fi
7272 < done
7273 < done
7274 <
7275 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7276 < fi
7277 < fi
7278 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7279 < if test -n "$ac_ct_RANLIB"; then
7280 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7281 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
7282 < else
7283 <  echo "$as_me:$LINENO: result: no" >&5
7284 < echo "${ECHO_T}no" >&6
7285 < fi
7286 <
7287 <  RANLIB=$ac_ct_RANLIB
7288 < else
7289 <  RANLIB="$ac_cv_prog_RANLIB"
7290 < fi
7291 <
7292 < for ac_prog in 'bison -y' byacc
7293 < do
7294 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7295 < set dummy $ac_prog; ac_word=$2
7296 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7297 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7298 < if test "${ac_cv_prog_YACC+set}" = set; then
7299 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7300 < else
7301 <  if test -n "$YACC"; then
7302 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
7303 < else
7304 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 < for as_dir in $PATH
7306 < do
7307 <  IFS=$as_save_IFS
7308 <  test -z "$as_dir" && as_dir=.
7309 <  for ac_exec_ext in '' $ac_executable_extensions; do
7310 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7311 <    ac_cv_prog_YACC="$ac_prog"
7312 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 <    break 2
7314 <  fi
7315 < done
7316 < done
7317 <
7318 < fi
7319 < fi
7320 < YACC=$ac_cv_prog_YACC
7321 < if test -n "$YACC"; then
7322 <  echo "$as_me:$LINENO: result: $YACC" >&5
7323 < echo "${ECHO_T}$YACC" >&6
7324 < else
7325 <  echo "$as_me:$LINENO: result: no" >&5
7326 < echo "${ECHO_T}no" >&6
7327 < fi
7328 <
7329 <  test -n "$YACC" && break
7330 < done
7331 < test -n "$YACC" || YACC="yacc"
7332 <
7333 < for ac_prog in flex lex
7334 < do
7335 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7336 < set dummy $ac_prog; ac_word=$2
7337 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7338 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7339 < if test "${ac_cv_prog_LEX+set}" = set; then
7340 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7341 < else
7342 <  if test -n "$LEX"; then
7343 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
7344 < else
7345 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 < for as_dir in $PATH
7347 < do
7348 <  IFS=$as_save_IFS
7349 <  test -z "$as_dir" && as_dir=.
7350 <  for ac_exec_ext in '' $ac_executable_extensions; do
7351 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7352 <    ac_cv_prog_LEX="$ac_prog"
7353 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 <    break 2
7355 <  fi
7356 < done
7357 < done
7358 <
7359 < fi
7360 < fi
7361 < LEX=$ac_cv_prog_LEX
7362 < if test -n "$LEX"; then
7363 <  echo "$as_me:$LINENO: result: $LEX" >&5
7364 < echo "${ECHO_T}$LEX" >&6
7365 < else
7366 <  echo "$as_me:$LINENO: result: no" >&5
7367 < echo "${ECHO_T}no" >&6
7368 < fi
7369 <
7370 <  test -n "$LEX" && break
7371 < done
7372 < test -n "$LEX" || LEX=":"
7373 <
7374 < if test -z "$LEXLIB"
7375 < then
7376 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
7377 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
7378 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
7379 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7380 < else
7381 <  ac_check_lib_save_LIBS=$LIBS
7382 < LIBS="-lfl  $LIBS"
7383 < cat >conftest.$ac_ext <<_ACEOF
7384 < /* confdefs.h.  */
7385 < _ACEOF
7386 < cat confdefs.h >>conftest.$ac_ext
7387 < cat >>conftest.$ac_ext <<_ACEOF
7388 < /* end confdefs.h.  */
7389 <
7390 < /* Override any gcc2 internal prototype to avoid an error.  */
7391 < #ifdef __cplusplus
7392 < extern "C"
7393 < #endif
7394 < /* We use char because int might match the return type of a gcc2
7395 <   builtin and then its argument prototype would still apply.  */
7396 < char yywrap ();
7397 < int
7398 < main ()
7399 < {
7400 < yywrap ();
7401 <  ;
7402 <  return 0;
7403 < }
7404 < _ACEOF
7405 < rm -f conftest.$ac_objext conftest$ac_exeext
7406 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7407 <  (eval $ac_link) 2>conftest.er1
7408 <  ac_status=$?
7409 <  grep -v '^ *+' conftest.er1 >conftest.err
7410 <  rm -f conftest.er1
7411 <  cat conftest.err >&5
7412 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 <  (exit $ac_status); } &&
7414 <         { ac_try='test -z "$ac_c_werror_flag"
7415 <                         || test ! -s conftest.err'
7416 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 <  (eval $ac_try) 2>&5
7418 <  ac_status=$?
7419 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 <  (exit $ac_status); }; } &&
7421 <         { ac_try='test -s conftest$ac_exeext'
7422 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423 <  (eval $ac_try) 2>&5
7424 <  ac_status=$?
7425 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 <  (exit $ac_status); }; }; then
7427 <  ac_cv_lib_fl_yywrap=yes
7428 < else
7429 <  echo "$as_me: failed program was:" >&5
7430 < sed 's/^/| /' conftest.$ac_ext >&5
7431 <
7432 < ac_cv_lib_fl_yywrap=no
7433 < fi
7434 < rm -f conftest.err conftest.$ac_objext \
7435 <      conftest$ac_exeext conftest.$ac_ext
7436 < LIBS=$ac_check_lib_save_LIBS
7437 < fi
7438 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
7439 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
7440 < if test $ac_cv_lib_fl_yywrap = yes; then
7441 <  LEXLIB="-lfl"
7442 < else
7443 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7444 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7445 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
7446 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7447 < else
7448 <  ac_check_lib_save_LIBS=$LIBS
7449 < LIBS="-ll  $LIBS"
7450 < cat >conftest.$ac_ext <<_ACEOF
7451 < /* confdefs.h.  */
7452 < _ACEOF
7453 < cat confdefs.h >>conftest.$ac_ext
7454 < cat >>conftest.$ac_ext <<_ACEOF
7455 < /* end confdefs.h.  */
7456 <
7457 < /* Override any gcc2 internal prototype to avoid an error.  */
7458 < #ifdef __cplusplus
7459 < extern "C"
7460 < #endif
7461 < /* We use char because int might match the return type of a gcc2
7462 <   builtin and then its argument prototype would still apply.  */
7463 < char yywrap ();
7464 < int
7465 < main ()
7466 < {
7467 < yywrap ();
7468 <  ;
7469 <  return 0;
7470 < }
7471 < _ACEOF
7472 < rm -f conftest.$ac_objext conftest$ac_exeext
7473 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7474 <  (eval $ac_link) 2>conftest.er1
7475 <  ac_status=$?
7476 <  grep -v '^ *+' conftest.er1 >conftest.err
7477 <  rm -f conftest.er1
7478 <  cat conftest.err >&5
7479 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 <  (exit $ac_status); } &&
7481 <         { ac_try='test -z "$ac_c_werror_flag"
7482 <                         || test ! -s conftest.err'
7483 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484 <  (eval $ac_try) 2>&5
7485 <  ac_status=$?
7486 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 <  (exit $ac_status); }; } &&
7488 <         { ac_try='test -s conftest$ac_exeext'
7489 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7490 <  (eval $ac_try) 2>&5
7491 <  ac_status=$?
7492 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 <  (exit $ac_status); }; }; then
7494 <  ac_cv_lib_l_yywrap=yes
7495 < else
7496 <  echo "$as_me: failed program was:" >&5
7497 < sed 's/^/| /' conftest.$ac_ext >&5
7498 <
7499 < ac_cv_lib_l_yywrap=no
7500 < fi
7501 < rm -f conftest.err conftest.$ac_objext \
7502 <      conftest$ac_exeext conftest.$ac_ext
7503 < LIBS=$ac_check_lib_save_LIBS
7504 < fi
7505 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7506 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7507 < if test $ac_cv_lib_l_yywrap = yes; then
7508 <  LEXLIB="-ll"
7509 < fi
7510 <
7511 < fi
7512 <
7513 < fi
7514 <
7515 < if test "x$LEX" != "x:"; then
7516 <  echo "$as_me:$LINENO: checking lex output file root" >&5
7517 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7518 < if test "${ac_cv_prog_lex_root+set}" = set; then
7519 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7520 < else
7521 <  # The minimal lex program is just a single line: %%.  But some broken lexes
7522 < # (Solaris, I think it was) want two %% lines, so accommodate them.
7523 < cat >conftest.l <<_ACEOF
7524 < %%
7525 < %%
7526 < _ACEOF
7527 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7528 <  (eval $LEX conftest.l) 2>&5
7529 <  ac_status=$?
7530 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 <  (exit $ac_status); }
7532 < if test -f lex.yy.c; then
7533 <  ac_cv_prog_lex_root=lex.yy
7534 < elif test -f lexyy.c; then
7535 <  ac_cv_prog_lex_root=lexyy
7536 < else
7537 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7538 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7539 <   { (exit 1); exit 1; }; }
7540 < fi
7541 < fi
7542 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7543 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7544 < rm -f conftest.l
7545 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7546 <
7547 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7548 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7549 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7550 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7551 < else
7552 <  # POSIX says lex can declare yytext either as a pointer or an array; the
7553 < # default is implementation-dependent. Figure out which it is, since
7554 < # not all implementations provide the %pointer and %array declarations.
7555 < ac_cv_prog_lex_yytext_pointer=no
7556 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
7557 < ac_save_LIBS=$LIBS
7558 < LIBS="$LIBS $LEXLIB"
7559 < cat >conftest.$ac_ext <<_ACEOF
7560 < `cat $LEX_OUTPUT_ROOT.c`
7561 < _ACEOF
7562 < rm -f conftest.$ac_objext conftest$ac_exeext
7563 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7564 <  (eval $ac_link) 2>conftest.er1
7565 <  ac_status=$?
7566 <  grep -v '^ *+' conftest.er1 >conftest.err
7567 <  rm -f conftest.er1
7568 <  cat conftest.err >&5
7569 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 <  (exit $ac_status); } &&
7571 <         { ac_try='test -z "$ac_c_werror_flag"
7572 <                         || test ! -s conftest.err'
7573 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7574 <  (eval $ac_try) 2>&5
7575 <  ac_status=$?
7576 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 <  (exit $ac_status); }; } &&
7578 <         { ac_try='test -s conftest$ac_exeext'
7579 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580 <  (eval $ac_try) 2>&5
7581 <  ac_status=$?
7582 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 <  (exit $ac_status); }; }; then
7584 <  ac_cv_prog_lex_yytext_pointer=yes
7585 < else
7586 <  echo "$as_me: failed program was:" >&5
7587 < sed 's/^/| /' conftest.$ac_ext >&5
7588 <
7589 < fi
7590 < rm -f conftest.err conftest.$ac_objext \
7591 <      conftest$ac_exeext conftest.$ac_ext
7592 < LIBS=$ac_save_LIBS
7593 < rm -f "${LEX_OUTPUT_ROOT}.c"
7594 <
7595 < fi
7596 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7597 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7598 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
7599 <
7600 < cat >>confdefs.h <<\_ACEOF
7601 < #define YYTEXT_POINTER 1
7602 < _ACEOF
7603 <
7604 < fi
7605 <
7606 < fi
7607 < # Extract the first word of "ar", so it can be a program name with args.
7608 < set dummy ar; ac_word=$2
7609 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7610 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7611 < if test "${ac_cv_prog_AR+set}" = set; then
7612 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7613 < else
7614 <  if test -n "$AR"; then
7615 <  ac_cv_prog_AR="$AR" # Let the user override the test.
7616 < else
7617 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7618 < for as_dir in $PATH
7619 < do
7620 <  IFS=$as_save_IFS
7621 <  test -z "$as_dir" && as_dir=.
7622 <  for ac_exec_ext in '' $ac_executable_extensions; do
7623 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7624 <    ac_cv_prog_AR="ar"
7625 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7626 <    break 2
7627 <  fi
7628 < done
7629 < done
7630 <
7631 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7632 < fi
7633 < fi
7634 < AR=$ac_cv_prog_AR
7635 < if test -n "$AR"; then
7636 <  echo "$as_me:$LINENO: result: $AR" >&5
7637 < echo "${ECHO_T}$AR" >&6
7638 < else
7639 <  echo "$as_me:$LINENO: result: no" >&5
7640 < echo "${ECHO_T}no" >&6
7641 < fi
7642 <
7643 < if test "$AR" = "NONE"; then
7644 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7645 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7646 <   { (exit 1); exit 1; }; }
7647 <  cat >confcache <<\_ACEOF
7648 < # This file is a shell script that caches the results of configure
7649 < # tests run on this system so they can be shared between configure
7650 < # scripts and configure runs, see configure's option --config-cache.
7651 < # It is not useful on other systems.  If it contains results you don't
7652 < # want to keep, you may remove or edit it.
7653 < #
7654 < # config.status only pays attention to the cache file if you give it
7655 < # the --recheck option to rerun configure.
7656 < #
7657 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
7658 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
7659 < # following values.
7660 <
7661 < _ACEOF
7662 <
7663 < # The following way of writing the cache mishandles newlines in values,
7664 < # but we know of no workaround that is simple, portable, and efficient.
7665 < # So, don't put newlines in cache variables' values.
7666 < # Ultrix sh set writes to stderr and can't be redirected directly,
7667 < # and sets the high bit in the cache file unless we assign to the vars.
7668 < {
7669 <  (set) 2>&1 |
7670 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7671 <    *ac_space=\ *)
7672 <      # `set' does not quote correctly, so add quotes (double-quote
7673 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
7674 <      sed -n \
7675 <        "s/'/'\\\\''/g;
7676 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7677 <      ;;
7678 <    *)
7679 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
7680 <      sed -n \
7681 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7682 <      ;;
7683 <    esac;
7684 < } |
7685 <  sed '
7686 <     t clear
7687 <     : clear
7688 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7689 <     t end
7690 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7691 <     : end' >>confcache
7692 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
7693 <  if test -w $cache_file; then
7694 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7695 <    cat confcache >$cache_file
7696 <  else
7697 <    echo "not updating unwritable cache $cache_file"
7698 <  fi
7699 < fi
7700 < rm -f confcache
7701 <  exit 1
7702 < fi
7703 <
7704 < # Extract the first word of "ps", so it can be a program name with args.
7705 < set dummy ps; ac_word=$2
7706 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7707 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7708 < if test "${ac_cv_path_PS+set}" = set; then
7709 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7710 < else
7711 <  case $PS in
7712 <  [\\/]* | ?:[\\/]*)
7713 <  ac_cv_path_PS="$PS" # Let the user override the test with a path.
7714 <  ;;
7715 <  *)
7716 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 < for as_dir in $PATH
7718 < do
7719 <  IFS=$as_save_IFS
7720 <  test -z "$as_dir" && as_dir=.
7721 <  for ac_exec_ext in '' $ac_executable_extensions; do
7722 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723 <    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7724 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 <    break 2
7726 <  fi
7727 < done
7728 < done
7729 <
7730 <  ;;
7731 < esac
7732 < fi
7733 < PS=$ac_cv_path_PS
7734 <
7735 < if test -n "$PS"; then
7736 <  echo "$as_me:$LINENO: result: $PS" >&5
7737 < echo "${ECHO_T}$PS" >&6
7738 < else
7739 <  echo "$as_me:$LINENO: result: no" >&5
7740 < echo "${ECHO_T}no" >&6
7741 < fi
7742 <
7743 < echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7744 < echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7745 < if test "${ac_cv_prog_ps_syntax+set}" = set; then
7746 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7747 < else
7748 <
7749 <        if $PS ax -o rss > /dev/null 2>&1; then
7750 <                ac_cv_prog_ps_ax=yes
7751 <        else
7752 <                ac_cv_prog_ps_ax=no
7753 <        fi
7754 <        if $PS -ef -o rss > /dev/null 2>&1; then
7755 <                ac_cv_prog_ps_ef=yes
7756 <        else
7757 <                ac_cv_prog_ps_ef=no
7758 <        fi
7759 <        if test "$ac_cv_prog_ps_ax" = yes; then
7760 <                ac_cv_prog_ps_syntax=BSD
7761 <        else
7762 <                if test "$ac_cv_prog_ps_es" = yes; then
7763 <                        ac_cv_prog_ps_syntax=POSIX
7764 <                else
7765 <                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7766 < echo "$as_me: error: Could not determine ps syntax" >&2;}
7767 <   { (exit 1); exit 1; }; }
7768 <                fi
7769 <        fi
7770 <
7771 < fi
7772 < echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7773 < echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7774 <
7775 < cat >>confdefs.h <<_ACEOF
7776 < #define PSCOMMAND $PS
7777 < _ACEOF
7778 <
7779 <
7780 < cat >>confdefs.h <<_ACEOF
7781 < #define PSTYPE $ac_cv_prog_ps_syntax
7782 < _ACEOF
7783 <
7784 <
7785 <
7786 <
7787 < # Check whether --with-mpi or --without-mpi was given.
7788 < if test "${with_mpi+set}" = set; then
7789 <  withval="$with_mpi"
7790 <  with_mpi=$withval
7791 < else
7792 <  with_mpi="no"
7793 < fi;
7794 <
7795 < case "x$with_mpi" in
7796 <        xyes | "x")  USE_MPI=yes;;
7797 <        xno) USE_MPI=no ;;
7798 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
7799 < esac
7800 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
7801 <        MPI="/usr/local"
7802 < fi
7803 < if test "$USE_MPI" = "yes"; then
7804 <
7805 <
7806 < # Set variables...
7807 < MPI_LIB_DIR="$MPI/lib"
7808 < MPI_INC_DIR="$MPI/include"
7809 <
7810 <
7811 <
7812 < echo "$as_me:$LINENO: checking for mpi.h" >&5
7813 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7814 < have_mpi_h=0
7815 < echo '#include <mpi.h>' > conftest.cc
7816 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7817 <        echo "$as_me:$LINENO: result: yes" >&5
7818 < echo "${ECHO_T}yes" >&6
7819 <        have_mpi_h=1
7820 < else
7821 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7822 < echo "${ECHO_T}no! Check MPI include paths" >&6
7823 <        USE_MPI="no"
7824 < fi
7825 < rm -f conftest*
7826 < if test "$have_mpi_h" = 1; then
7827 <
7828 < cat >>confdefs.h <<\_ACEOF
7829 < #define HAVE_MPI_H 1
7830 < _ACEOF
7831 <
7832 < fi
7833 <
7834 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7835 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7836 < have_mpif_h=0
7837 < rm -f conftest*
7838 < cat >conftest.f90 <<EOF
7839 < program main
7840 <   include 'mpif.h'
7841 < end
7842 < EOF
7843 < if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7844 <        echo "$as_me:$LINENO: result: yes" >&5
7845 < echo "${ECHO_T}yes" >&6
7846 <        MPI_F90_INC="$MPI_INC_DIR"
7847 <        have_mpif_h=1
7848 < else
7849 <        if test -s conftest.out ; then
7850 <                cat conftest.out >> config.log
7851 <        fi
7852 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7853 < echo "${ECHO_T}no! Check MPI include paths" >&6
7854 <        USE_MPI="no"
7855 < fi
7856 < rm -f conftest*
7857 <
7858 < if test "$have_mpif_h" = 1; then
7859 <
7860 < cat >>confdefs.h <<\_ACEOF
7861 < #define HAVE_MPIF_H 1
7862 < _ACEOF
7863 <
7864 < fi
7865 <
7866 < ac_ext=c
7867 < ac_cpp='$CPP $CPPFLAGS'
7868 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7869 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7870 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7871 <
7872 < ac_save_LDFLAGS=$LDFLAGS
7873 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7874 <
7875 < if test x = x"$MPI_LIB"; then
7876 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7877 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7878 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7879 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7880 < else
7881 <  ac_check_lib_save_LIBS=$LIBS
7882 < LIBS="-lmpich  $LIBS"
7883 < cat >conftest.$ac_ext <<_ACEOF
7884 < /* confdefs.h.  */
7885 < _ACEOF
7886 < cat confdefs.h >>conftest.$ac_ext
7887 < cat >>conftest.$ac_ext <<_ACEOF
7888 < /* end confdefs.h.  */
7889 <
7890 < /* Override any gcc2 internal prototype to avoid an error.  */
7891 < #ifdef __cplusplus
7892 < extern "C"
7893 < #endif
7894 < /* We use char because int might match the return type of a gcc2
7895 <   builtin and then its argument prototype would still apply.  */
7896 < char MPI_Init ();
7897 < int
7898 < main ()
7899 < {
7900 < MPI_Init ();
7901 <  ;
7902 <  return 0;
7903 < }
7904 < _ACEOF
7905 < rm -f conftest.$ac_objext conftest$ac_exeext
7906 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7907 <  (eval $ac_link) 2>conftest.er1
7908 <  ac_status=$?
7909 <  grep -v '^ *+' conftest.er1 >conftest.err
7910 <  rm -f conftest.er1
7911 <  cat conftest.err >&5
7912 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 <  (exit $ac_status); } &&
7914 <         { ac_try='test -z "$ac_c_werror_flag"
7915 <                         || test ! -s conftest.err'
7916 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 <  (eval $ac_try) 2>&5
7918 <  ac_status=$?
7919 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 <  (exit $ac_status); }; } &&
7921 <         { ac_try='test -s conftest$ac_exeext'
7922 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923 <  (eval $ac_try) 2>&5
7924 <  ac_status=$?
7925 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 <  (exit $ac_status); }; }; then
7927 <  ac_cv_lib_mpich_MPI_Init=yes
7928 < else
7929 <  echo "$as_me: failed program was:" >&5
7930 < sed 's/^/| /' conftest.$ac_ext >&5
7931 <
7932 < ac_cv_lib_mpich_MPI_Init=no
7933 < fi
7934 < rm -f conftest.err conftest.$ac_objext \
7935 <      conftest$ac_exeext conftest.$ac_ext
7936 < LIBS=$ac_check_lib_save_LIBS
7937 < fi
7938 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7939 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7940 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7941 <  MPI_LIB="-lmpich"
7942 < fi
7943 <
7944 < fi
7945 < if test x = x"$MPI_LIB"; then
7946 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7947 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7948 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7949 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7950 < else
7951 <  ac_check_lib_save_LIBS=$LIBS
7952 < LIBS="-lmpi  $LIBS"
7953 < cat >conftest.$ac_ext <<_ACEOF
7954 < /* confdefs.h.  */
7955 < _ACEOF
7956 < cat confdefs.h >>conftest.$ac_ext
7957 < cat >>conftest.$ac_ext <<_ACEOF
7958 < /* end confdefs.h.  */
7959 <
7960 < /* Override any gcc2 internal prototype to avoid an error.  */
7961 < #ifdef __cplusplus
7962 < extern "C"
7963 < #endif
7964 < /* We use char because int might match the return type of a gcc2
7965 <   builtin and then its argument prototype would still apply.  */
7966 < char MPI_Init ();
7967 < int
7968 < main ()
7969 < {
7970 < MPI_Init ();
7971 <  ;
7972 <  return 0;
7973 < }
7974 < _ACEOF
7975 < rm -f conftest.$ac_objext conftest$ac_exeext
7976 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7977 <  (eval $ac_link) 2>conftest.er1
7978 <  ac_status=$?
7979 <  grep -v '^ *+' conftest.er1 >conftest.err
7980 <  rm -f conftest.er1
7981 <  cat conftest.err >&5
7982 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 <  (exit $ac_status); } &&
7984 <         { ac_try='test -z "$ac_c_werror_flag"
7985 <                         || test ! -s conftest.err'
7986 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7987 <  (eval $ac_try) 2>&5
7988 <  ac_status=$?
7989 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 <  (exit $ac_status); }; } &&
7991 <         { ac_try='test -s conftest$ac_exeext'
7992 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7993 <  (eval $ac_try) 2>&5
7994 <  ac_status=$?
7995 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 <  (exit $ac_status); }; }; then
7997 <  ac_cv_lib_mpi_MPI_Init=yes
7998 < else
7999 <  echo "$as_me: failed program was:" >&5
8000 < sed 's/^/| /' conftest.$ac_ext >&5
8001 <
8002 < ac_cv_lib_mpi_MPI_Init=no
8003 < fi
8004 < rm -f conftest.err conftest.$ac_objext \
8005 <      conftest$ac_exeext conftest.$ac_ext
8006 < LIBS=$ac_check_lib_save_LIBS
8007 < fi
8008 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8009 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8010 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8011 <  MPI_LIB="-lmpi"
8012 < fi
8013 <
8014 < fi
8015 < $as_unset ac_cv_lib_mpi_MPI_Init
8016 < if test x = x"$MPI_LIB"; then
8017 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8018 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8019 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8020 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8021 < else
8022 <  ac_check_lib_save_LIBS=$LIBS
8023 < LIBS="-lmpi "-llam" $LIBS"
8024 < cat >conftest.$ac_ext <<_ACEOF
8025 < /* confdefs.h.  */
8026 < _ACEOF
8027 < cat confdefs.h >>conftest.$ac_ext
8028 < cat >>conftest.$ac_ext <<_ACEOF
8029 < /* end confdefs.h.  */
8030 <
8031 < /* Override any gcc2 internal prototype to avoid an error.  */
8032 < #ifdef __cplusplus
8033 < extern "C"
8034 < #endif
8035 < /* We use char because int might match the return type of a gcc2
8036 <   builtin and then its argument prototype would still apply.  */
8037 < char MPI_Init ();
8038 < int
8039 < main ()
8040 < {
8041 < MPI_Init ();
8042 <  ;
8043 <  return 0;
8044 < }
8045 < _ACEOF
8046 < rm -f conftest.$ac_objext conftest$ac_exeext
8047 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8048 <  (eval $ac_link) 2>conftest.er1
8049 <  ac_status=$?
8050 <  grep -v '^ *+' conftest.er1 >conftest.err
8051 <  rm -f conftest.er1
8052 <  cat conftest.err >&5
8053 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 <  (exit $ac_status); } &&
8055 <         { ac_try='test -z "$ac_c_werror_flag"
8056 <                         || test ! -s conftest.err'
8057 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058 <  (eval $ac_try) 2>&5
8059 <  ac_status=$?
8060 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 <  (exit $ac_status); }; } &&
8062 <         { ac_try='test -s conftest$ac_exeext'
8063 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 <  (eval $ac_try) 2>&5
8065 <  ac_status=$?
8066 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 <  (exit $ac_status); }; }; then
8068 <  ac_cv_lib_mpi_MPI_Init=yes
8069 < else
8070 <  echo "$as_me: failed program was:" >&5
8071 < sed 's/^/| /' conftest.$ac_ext >&5
8072 <
8073 < ac_cv_lib_mpi_MPI_Init=no
8074 < fi
8075 < rm -f conftest.err conftest.$ac_objext \
8076 <      conftest$ac_exeext conftest.$ac_ext
8077 < LIBS=$ac_check_lib_save_LIBS
8078 < fi
8079 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8080 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8081 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8082 <  MPI_LIB="-lmpi -llam"
8083 < fi
8084 <
8085 < fi
8086 < $as_unset ac_cv_lib_mpich_MPI_Init
8087 < if test x = x"$MPI_LIB"; then
8088 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
8089 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
8090 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
8091 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8092 < else
8093 <  ac_check_lib_save_LIBS=$LIBS
8094 < LIBS="-lmpich "-lpmpich" $LIBS"
8095 < cat >conftest.$ac_ext <<_ACEOF
8096 < /* confdefs.h.  */
8097 < _ACEOF
8098 < cat confdefs.h >>conftest.$ac_ext
8099 < cat >>conftest.$ac_ext <<_ACEOF
8100 < /* end confdefs.h.  */
8101 <
8102 < /* Override any gcc2 internal prototype to avoid an error.  */
8103 < #ifdef __cplusplus
8104 < extern "C"
8105 < #endif
8106 < /* We use char because int might match the return type of a gcc2
8107 <   builtin and then its argument prototype would still apply.  */
8108 < char MPI_Init ();
8109 < int
8110 < main ()
8111 < {
8112 < MPI_Init ();
8113 <  ;
8114 <  return 0;
8115 < }
8116 < _ACEOF
8117 < rm -f conftest.$ac_objext conftest$ac_exeext
8118 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8119 <  (eval $ac_link) 2>conftest.er1
8120 <  ac_status=$?
8121 <  grep -v '^ *+' conftest.er1 >conftest.err
8122 <  rm -f conftest.er1
8123 <  cat conftest.err >&5
8124 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 <  (exit $ac_status); } &&
8126 <         { ac_try='test -z "$ac_c_werror_flag"
8127 <                         || test ! -s conftest.err'
8128 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 <  (eval $ac_try) 2>&5
8130 <  ac_status=$?
8131 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 <  (exit $ac_status); }; } &&
8133 <         { ac_try='test -s conftest$ac_exeext'
8134 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 <  (eval $ac_try) 2>&5
8136 <  ac_status=$?
8137 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 <  (exit $ac_status); }; }; then
8139 <  ac_cv_lib_mpich_MPI_Init=yes
8140 < else
8141 <  echo "$as_me: failed program was:" >&5
8142 < sed 's/^/| /' conftest.$ac_ext >&5
8143 <
8144 < ac_cv_lib_mpich_MPI_Init=no
8145 < fi
8146 < rm -f conftest.err conftest.$ac_objext \
8147 <      conftest$ac_exeext conftest.$ac_ext
8148 < LIBS=$ac_check_lib_save_LIBS
8149 < fi
8150 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8151 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8152 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
8153 <  MPI_LIB="-lmpich -lpmpich"
8154 < fi
8155 <
8156 < fi
8157 <
8158 < $as_unset ac_cv_lib_mpi_MPI_Init
8159 < if test x = x"$MPI_LIB"; then
8160 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8161 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8162 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8163 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8164 < else
8165 <  ac_check_lib_save_LIBS=$LIBS
8166 < LIBS="-lmpi -llam -lpthread $LIBS"
8167 < cat >conftest.$ac_ext <<_ACEOF
8168 < /* confdefs.h.  */
8169 < _ACEOF
8170 < cat confdefs.h >>conftest.$ac_ext
8171 < cat >>conftest.$ac_ext <<_ACEOF
8172 < /* end confdefs.h.  */
8173 <
8174 < /* Override any gcc2 internal prototype to avoid an error.  */
8175 < #ifdef __cplusplus
8176 < extern "C"
8177 < #endif
8178 < /* We use char because int might match the return type of a gcc2
8179 <   builtin and then its argument prototype would still apply.  */
8180 < char MPI_Init ();
8181 < int
8182 < main ()
8183 < {
8184 < MPI_Init ();
8185 <  ;
8186 <  return 0;
8187 < }
8188 < _ACEOF
8189 < rm -f conftest.$ac_objext conftest$ac_exeext
8190 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8191 <  (eval $ac_link) 2>conftest.er1
8192 <  ac_status=$?
8193 <  grep -v '^ *+' conftest.er1 >conftest.err
8194 <  rm -f conftest.er1
8195 <  cat conftest.err >&5
8196 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 <  (exit $ac_status); } &&
8198 <         { ac_try='test -z "$ac_c_werror_flag"
8199 <                         || test ! -s conftest.err'
8200 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8201 <  (eval $ac_try) 2>&5
8202 <  ac_status=$?
8203 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 <  (exit $ac_status); }; } &&
8205 <         { ac_try='test -s conftest$ac_exeext'
8206 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8207 <  (eval $ac_try) 2>&5
8208 <  ac_status=$?
8209 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 <  (exit $ac_status); }; }; then
8211 <  ac_cv_lib_mpi_MPI_Init=yes
8212 < else
8213 <  echo "$as_me: failed program was:" >&5
8214 < sed 's/^/| /' conftest.$ac_ext >&5
8215 <
8216 < ac_cv_lib_mpi_MPI_Init=no
8217 < fi
8218 < rm -f conftest.err conftest.$ac_objext \
8219 <      conftest$ac_exeext conftest.$ac_ext
8220 < LIBS=$ac_check_lib_save_LIBS
8221 < fi
8222 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8223 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8224 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8225 <  MPI_LIB="-lmpi -llam -lpthread"
8226 < else
8227 <
8228 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
8229 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
8230 <   { (exit 1); exit 1; }; }
8231 <             USE_MPI="no"
8232 <
8233 < fi
8234 <
8235 < fi
8236 <
8237 <
8238 <
8239 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
8240 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
8241 < MPI_F90_LIB=""
8242 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
8243 <        MPI_F90_LIB="-lfmpich"
8244 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
8245 <        MPI_F90_LIB="-llamf77mpi"
8246 < else
8247 <                        MPI_F90_LIB="  "
8248 < fi
8249 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
8250 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
8251 <
8252 <
8253 < fi
8254 <
8255 <
8256 <
8257 < # Check whether --with-sprng or --without-sprng was given.
8258 < if test "${with_sprng+set}" = set; then
8259 <  withval="$with_sprng"
8260 <  with_sprng=$withval
8261 < else
8262 <  with_sprng="/usr/local"
8263 < fi;
8264 <
8265 < case "x$with_sprng" in
8266 <        xyes | "x")  USE_SPRNG=yes;;
8267 <        xno) USE_SPRNG=no ;;
8268 <        *) SPRNG="$with_sprng"; USE_SPRNG=yes ;;
8269 < esac
8270 < if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then
8271 <        SPRNG="/usr/local"
8272 < fi
8273 < if test "$USE_SPRNG" = "yes"; then
8274 <
8275 <
8276 < # Set variables...
8277 < SPRNG_LIB_DIR="$SPRNG/lib"
8278 < SPRNG_INC_DIR="$SPRNG/include"
8279 <
8280 <
8281 <
8282 < echo "$as_me:$LINENO: checking for sprng.h" >&5
8283 < echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
8284 < have_sprng_h=0
8285 < echo '#include <sprng.h>' > conftest.cc
8286 < if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then
8287 <        echo "$as_me:$LINENO: result: yes" >&5
8288 < echo "${ECHO_T}yes" >&6
8289 <        have_sprng_h=1
8290 < else
8291 <        echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5
8292 < echo "${ECHO_T}no! Check SPRNG include path!" >&6
8293 <        USE_SPRNG="no"
8294 < fi
8295 < rm -f conftest*
8296 < if test "$have_sprng_h" = 1; then
8297 <
8298 < cat >>confdefs.h <<\_ACEOF
8299 < #define HAVE_SPRNG_H 1
8300 < _ACEOF
8301 <
8302 < fi
8303 <
8304 < ac_ext=c
8305 < ac_cpp='$CPP $CPPFLAGS'
8306 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8307 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8308 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8309 <
8310 < ac_save_LDFLAGS=$LDFLAGS
8311 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
8312 <
8313 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
8314 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
8315 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
8316 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8317 < else
8318 <  ac_check_lib_save_LIBS=$LIBS
8319 < LIBS="-lsprng  $LIBS"
8320 < cat >conftest.$ac_ext <<_ACEOF
8321 < /* confdefs.h.  */
8322 < _ACEOF
8323 < cat confdefs.h >>conftest.$ac_ext
8324 < cat >>conftest.$ac_ext <<_ACEOF
8325 < /* end confdefs.h.  */
8326 <
8327 < /* Override any gcc2 internal prototype to avoid an error.  */
8328 < #ifdef __cplusplus
8329 < extern "C"
8330 < #endif
8331 < /* We use char because int might match the return type of a gcc2
8332 <   builtin and then its argument prototype would still apply.  */
8333 < char init_rng ();
8334 < int
8335 < main ()
8336 < {
8337 < init_rng ();
8338 <  ;
8339 <  return 0;
8340 < }
8341 < _ACEOF
8342 < rm -f conftest.$ac_objext conftest$ac_exeext
8343 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 <  (eval $ac_link) 2>conftest.er1
8345 <  ac_status=$?
8346 <  grep -v '^ *+' conftest.er1 >conftest.err
8347 <  rm -f conftest.er1
8348 <  cat conftest.err >&5
8349 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 <  (exit $ac_status); } &&
8351 <         { ac_try='test -z "$ac_c_werror_flag"
8352 <                         || test ! -s conftest.err'
8353 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 <  (eval $ac_try) 2>&5
8355 <  ac_status=$?
8356 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 <  (exit $ac_status); }; } &&
8358 <         { ac_try='test -s conftest$ac_exeext'
8359 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 <  (eval $ac_try) 2>&5
8361 <  ac_status=$?
8362 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 <  (exit $ac_status); }; }; then
8364 <  ac_cv_lib_sprng_init_rng=yes
8365 < else
8366 <  echo "$as_me: failed program was:" >&5
8367 < sed 's/^/| /' conftest.$ac_ext >&5
8368 <
8369 < ac_cv_lib_sprng_init_rng=no
8370 < fi
8371 < rm -f conftest.err conftest.$ac_objext \
8372 <      conftest$ac_exeext conftest.$ac_ext
8373 < LIBS=$ac_check_lib_save_LIBS
8374 < fi
8375 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
8376 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
8377 < if test $ac_cv_lib_sprng_init_rng = yes; then
8378 <  SPRNG_LIB="-lsprng"
8379 < else
8380 <
8381 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
8382 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
8383 <   { (exit 1); exit 1; }; }
8384 <             USE_SPRNG="no"
8385 <
8386 < fi
8387 <
8388 <
8389 < if test "$USE_SPRNG" = "no"; then
8390 <  { { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5
8391 < echo "$as_me: error: No working SPRNG library found" >&2;}
8392 <   { (exit 1); exit 1; }; }
8393 < fi
8394 <
8395 <
8396 < fi
8397 <
8398 <
8399 <
8400 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
8401 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
8402 <
8403 < # Check whether --with-mkl or --without-mkl was given.
8404 < if test "${with_mkl+set}" = set; then
8405 <  withval="$with_mkl"
8406 <     echo "$as_me:$LINENO: result: yes" >&5
8407 < echo "${ECHO_T}yes" >&6
8408 <    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
8409 <        mkldir="$dir"
8410 <        if test -f "$dir/include/mkl.h"; then
8411 <            found_mkl="yes";
8412 <            break;
8413 <        fi
8414 <    done
8415 <    if test x_$found_mkl != x_yes; then
8416 <        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
8417 < echo "$as_me: error: Cannot find MKL includes" >&2;}
8418 <   { (exit 1); exit 1; }; }
8419 <    else
8420 <        printf "MKL includes found in $mkldir/include\n";
8421 <    fi
8422 <
8423 <
8424 <
8425 <  ac_ext=c
8426 < ac_cpp='$CPP $CPPFLAGS'
8427 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8428 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8429 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8430 <
8431 <  ac_save_CPPFLAGS=$CPPFLAGS
8432 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
8433 <  ac_save_LDFLAGS=$LDFLAGS
8434 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
8435 <  if test "${ac_cv_header_mkl_h+set}" = set; then
8436 <  echo "$as_me:$LINENO: checking for mkl.h" >&5
8437 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8438 < if test "${ac_cv_header_mkl_h+set}" = set; then
8439 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8440 < fi
8441 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8442 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8443 < else
8444 <  # Is the header compilable?
8445 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
8446 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
8447 < cat >conftest.$ac_ext <<_ACEOF
8448 < /* confdefs.h.  */
8449 < _ACEOF
8450 < cat confdefs.h >>conftest.$ac_ext
8451 < cat >>conftest.$ac_ext <<_ACEOF
8452 < /* end confdefs.h.  */
8453 < $ac_includes_default
8454 < #include <mkl.h>
8455 < _ACEOF
8456 < rm -f conftest.$ac_objext
8457 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8458 <  (eval $ac_compile) 2>conftest.er1
8459 <  ac_status=$?
8460 <  grep -v '^ *+' conftest.er1 >conftest.err
8461 <  rm -f conftest.er1
8462 <  cat conftest.err >&5
8463 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 <  (exit $ac_status); } &&
8465 <         { ac_try='test -z "$ac_c_werror_flag"
8466 <                         || test ! -s conftest.err'
8467 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 <  (eval $ac_try) 2>&5
8469 <  ac_status=$?
8470 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 <  (exit $ac_status); }; } &&
8472 <         { ac_try='test -s conftest.$ac_objext'
8473 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8474 <  (eval $ac_try) 2>&5
8475 <  ac_status=$?
8476 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 <  (exit $ac_status); }; }; then
8478 <  ac_header_compiler=yes
8479 < else
8480 <  echo "$as_me: failed program was:" >&5
8481 < sed 's/^/| /' conftest.$ac_ext >&5
8482 <
8483 < ac_header_compiler=no
8484 < fi
8485 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8486 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8487 < echo "${ECHO_T}$ac_header_compiler" >&6
8488 <
8489 < # Is the header present?
8490 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
8491 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
8492 < cat >conftest.$ac_ext <<_ACEOF
8493 < /* confdefs.h.  */
8494 < _ACEOF
8495 < cat confdefs.h >>conftest.$ac_ext
8496 < cat >>conftest.$ac_ext <<_ACEOF
8497 < /* end confdefs.h.  */
8498 < #include <mkl.h>
8499 < _ACEOF
8500 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8501 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8502 <  ac_status=$?
8503 <  grep -v '^ *+' conftest.er1 >conftest.err
8504 <  rm -f conftest.er1
8505 <  cat conftest.err >&5
8506 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 <  (exit $ac_status); } >/dev/null; then
8508 <  if test -s conftest.err; then
8509 <    ac_cpp_err=$ac_c_preproc_warn_flag
8510 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8511 <  else
8512 <    ac_cpp_err=
8513 <  fi
8514 < else
8515 <  ac_cpp_err=yes
8516 < fi
8517 < if test -z "$ac_cpp_err"; then
8518 <  ac_header_preproc=yes
8519 < else
8520 <  echo "$as_me: failed program was:" >&5
8521 < sed 's/^/| /' conftest.$ac_ext >&5
8522 <
8523 <  ac_header_preproc=no
8524 < fi
8525 < rm -f conftest.err conftest.$ac_ext
8526 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8527 < echo "${ECHO_T}$ac_header_preproc" >&6
8528 <
8529 < # So?  What about this header?
8530 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8531 <  yes:no: )
8532 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8533 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8534 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
8535 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
8536 <    ac_header_preproc=yes
8537 <    ;;
8538 <  no:yes:* )
8539 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
8540 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
8541 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
8542 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
8543 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
8544 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
8545 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
8546 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8547 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8548 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8549 <    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
8550 < echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
8551 <    (
8552 <      cat <<\_ASBOX
8553 < ## ------------------------------ ##
8554 < ## Report this to gezelter@nd.edu ##
8555 < ## ------------------------------ ##
8556 < _ASBOX
8557 <    ) |
8558 <      sed "s/^/$as_me: WARNING:     /" >&2
8559 <    ;;
8560 < esac
8561 < echo "$as_me:$LINENO: checking for mkl.h" >&5
8562 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8563 < if test "${ac_cv_header_mkl_h+set}" = set; then
8564 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8565 < else
8566 <  ac_cv_header_mkl_h=$ac_header_preproc
8567 < fi
8568 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8569 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8570 <
8571 < fi
8572 < if test $ac_cv_header_mkl_h = yes; then
8573 <
8574 <    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
8575 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
8576 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
8577 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8578 < else
8579 <  ac_check_lib_save_LIBS=$LIBS
8580 < LIBS="-lmkl  $LIBS"
8581 < cat >conftest.$ac_ext <<_ACEOF
8582 < /* confdefs.h.  */
8583 < _ACEOF
8584 < cat confdefs.h >>conftest.$ac_ext
8585 < cat >>conftest.$ac_ext <<_ACEOF
8586 < /* end confdefs.h.  */
8587 <
8588 < /* Override any gcc2 internal prototype to avoid an error.  */
8589 < #ifdef __cplusplus
8590 < extern "C"
8591 < #endif
8592 < /* We use char because int might match the return type of a gcc2
8593 <   builtin and then its argument prototype would still apply.  */
8594 < char vslNewStream ();
8595 < int
8596 < main ()
8597 < {
8598 < vslNewStream ();
8599 <  ;
8600 <  return 0;
8601 < }
8602 < _ACEOF
8603 < rm -f conftest.$ac_objext conftest$ac_exeext
8604 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8605 <  (eval $ac_link) 2>conftest.er1
8606 <  ac_status=$?
8607 <  grep -v '^ *+' conftest.er1 >conftest.err
8608 <  rm -f conftest.er1
8609 <  cat conftest.err >&5
8610 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 <  (exit $ac_status); } &&
8612 <         { ac_try='test -z "$ac_c_werror_flag"
8613 <                         || test ! -s conftest.err'
8614 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 <  (eval $ac_try) 2>&5
8616 <  ac_status=$?
8617 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 <  (exit $ac_status); }; } &&
8619 <         { ac_try='test -s conftest$ac_exeext'
8620 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8621 <  (eval $ac_try) 2>&5
8622 <  ac_status=$?
8623 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 <  (exit $ac_status); }; }; then
8625 <  ac_cv_lib_mkl_vslNewStream=yes
8626 < else
8627 <  echo "$as_me: failed program was:" >&5
8628 < sed 's/^/| /' conftest.$ac_ext >&5
8629 <
8630 < ac_cv_lib_mkl_vslNewStream=no
8631 < fi
8632 < rm -f conftest.err conftest.$ac_objext \
8633 <      conftest$ac_exeext conftest.$ac_ext
8634 < LIBS=$ac_check_lib_save_LIBS
8635 < fi
8636 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
8637 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
8638 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
8639 <  MKL_LIBDIR="${mkldir}/lib/32",
8640 <                     MKL_LIB="-lmkl -lvml -lguide",
8641 <                     HAVE_MKL="yes"
8642 < fi
8643 <
8644 <
8645 < else
8646 <  MKL_INC="-I${mkldir}/include"
8647 < fi
8648 <
8649 <
8650 <  CPPFLAGS=$ac_save_CPPFLAGS
8651 <  LDFLAGS=$ac_save_LDFLAGS
8652 <  ac_ext=c
8653 < ac_cpp='$CPP $CPPFLAGS'
8654 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8655 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8656 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8657 <
8658 <
8659 <  if test x_$HAVE_MKL != x_yes; then
8660 <        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
8661 < echo "$as_me: error: Can't build with MKL" >&2;}
8662 <   { (exit 1); exit 1; }; }
8663 <  fi
8664 <
8665 <
8666 <
8667 <
8668 <
8669 < else
8670 <
8671 <    echo "$as_me:$LINENO: result: no" >&5
8672 < echo "${ECHO_T}no" >&6
8673 <
8674 < fi;
8675 <
8676 <
8677 <
8678 < # Check whether --enable-doxygen or --disable-doxygen was given.
8679 < if test "${enable_doxygen+set}" = set; then
8680 <  enableval="$enable_doxygen"
8681 <
8682 < fi;
8683 < # Check whether --enable-dot or --disable-dot was given.
8684 < if test "${enable_dot+set}" = set; then
8685 <  enableval="$enable_dot"
8686 <
8687 < fi;
8688 < # Check whether --enable-html-docs or --disable-html-docs was given.
8689 < if test "${enable_html_docs+set}" = set; then
8690 <  enableval="$enable_html_docs"
8691 <
8692 < else
8693 <   enable_html_docs=yes
8694 < fi;
8695 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
8696 < if test "${enable_latex_docs+set}" = set; then
8697 <  enableval="$enable_latex_docs"
8698 <
8699 < else
8700 <   enable_latex_docs=no
8701 < fi;
8702 < if test "x$enable_doxygen" = xno; then
8703 <        enable_doc=no
8704 < else
8705 <        # Extract the first word of "doxygen", so it can be a program name with args.
8706 < set dummy doxygen; ac_word=$2
8707 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8708 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8709 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
8710 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8711 < else
8712 <  case $DOXYGEN in
8713 <  [\\/]* | ?:[\\/]*)
8714 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8715 <  ;;
8716 <  *)
8717 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8718 < for as_dir in $PATH
8719 < do
8720 <  IFS=$as_save_IFS
8721 <  test -z "$as_dir" && as_dir=.
8722 <  for ac_exec_ext in '' $ac_executable_extensions; do
8723 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8724 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8725 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8726 <    break 2
8727 <  fi
8728 < done
8729 < done
8730 <
8731 <  ;;
8732 < esac
8733 < fi
8734 < DOXYGEN=$ac_cv_path_DOXYGEN
8735 <
8736 < if test -n "$DOXYGEN"; then
8737 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8738 < echo "${ECHO_T}$DOXYGEN" >&6
8739 < else
8740 <  echo "$as_me:$LINENO: result: no" >&5
8741 < echo "${ECHO_T}no" >&6
8742 < fi
8743 <
8744 <        if test "x$DOXYGEN" = x; then
8745 <                if test "x$enable_doxygen" = xyes; then
8746 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8747 < echo "$as_me: error: could not find doxygen" >&2;}
8748 <   { (exit 1); exit 1; }; }
8749 <                fi
8750 <                enable_doc=no
8751 <        else
8752 <                enable_doc=yes
8753 <                # Extract the first word of "dot", so it can be a program name with args.
8754 < set dummy dot; ac_word=$2
8755 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8756 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8757 < if test "${ac_cv_path_DOT+set}" = set; then
8758 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8759 < else
8760 <  case $DOT in
8761 <  [\\/]* | ?:[\\/]*)
8762 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8763 <  ;;
8764 <  *)
8765 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8766 < for as_dir in $PATH
8767 < do
8768 <  IFS=$as_save_IFS
8769 <  test -z "$as_dir" && as_dir=.
8770 <  for ac_exec_ext in '' $ac_executable_extensions; do
8771 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8772 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8773 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 <    break 2
8775 <  fi
8776 < done
8777 < done
8778 <
8779 <  ;;
8780 < esac
8781 < fi
8782 < DOT=$ac_cv_path_DOT
8783 <
8784 < if test -n "$DOT"; then
8785 <  echo "$as_me:$LINENO: result: $DOT" >&5
8786 < echo "${ECHO_T}$DOT" >&6
8787 < else
8788 <  echo "$as_me:$LINENO: result: no" >&5
8789 < echo "${ECHO_T}no" >&6
8790 < fi
8791 <
8792 <        fi
8793 < fi
8794 <
8795 < if test "x$enable_doc" = xyes; then
8796 <  DOC=1
8797 < else
8798 <  DOC=0
8799 < fi
8800 <
8801 <
8802 < if test x$DOT = x; then
8803 <        if test "x$enable_dot" = xyes; then
8804 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8805 < echo "$as_me: error: could not find dot" >&2;}
8806 <   { (exit 1); exit 1; }; }
8807 <        fi
8808 <        enable_dot=no
8809 < else
8810 <        enable_dot=yes
8811 < fi
8812 <
8813 <
8814 <
8815 <
8816 <
8817 <
8818 <
8819 < OBJEXT=".$OBJEXT"
8820 <
8821 < OOPSE=oopse
8822 <
8823 < if test "x${prefix}" = "xNONE"
8824 < then
8825 <  OOPSE_HOME=${ac_default_prefix}/oopse
8826 < else
8827 <  OOPSE_HOME=${prefix}/oopse
8828 < fi
8829 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
8830 < if test "${enable_oopse_home+set}" = set; then
8831 <  enableval="$enable_oopse_home"
8832 <  OOPSE_HOME="${enableval}"
8833 < fi;
8834 <
8835 < case "x$INSTALL" in
8836 <   x/*) ;;
8837 <   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
8838 < esac
8839 <
8840 < MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
8841 <
8842 < CFLAGS=${CFLAGS-""}
8843 < CXXFLAGS=${CXXFLAGS-""}
8844 < CPPFLAGS=${CPPFLAGS-""}
8845 < FFLAGS=${FFLAGS-""}
8846 < F90FLAGS=${F90FLAGS-""}
8847 < LDFLAGS=${LDFLAGS-""}
8848 < DEBUG=${DEBUG-"-g"}
8849 <
8850 < case $debug in
8851 <  1)
8852 <     FFLAGS="$DEBUG $FFLAGS"
8853 <     F90FLAGS="$DEBUG $F90FLAGS"
8854 <     ;;
8855 <  *)
8856 <     ;;
8857 < esac
8858 <
8859 <
8860 <
8861 <
8862 <
8863 <
8864 <
8865 <
8866 <
8867 <
8868 <
8869 <
8870 <
8871 <
8872 <
8873 <
8874 <
8875 <
8876 <          ac_config_headers="$ac_config_headers src/config.h"
8877 <
8878 <                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8879 <
8880 <
8881 < cat >confcache <<\_ACEOF
8882 < # This file is a shell script that caches the results of configure
8883 < # tests run on this system so they can be shared between configure
8884 < # scripts and configure runs, see configure's option --config-cache.
8885 < # It is not useful on other systems.  If it contains results you don't
8886 < # want to keep, you may remove or edit it.
8887 < #
8888 < # config.status only pays attention to the cache file if you give it
8889 < # the --recheck option to rerun configure.
8890 < #
8891 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
8892 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
8893 < # following values.
8894 <
8895 < _ACEOF
8896 <
8897 < # The following way of writing the cache mishandles newlines in values,
8898 < # but we know of no workaround that is simple, portable, and efficient.
8899 < # So, don't put newlines in cache variables' values.
8900 < # Ultrix sh set writes to stderr and can't be redirected directly,
8901 < # and sets the high bit in the cache file unless we assign to the vars.
8902 < {
8903 <  (set) 2>&1 |
8904 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8905 <    *ac_space=\ *)
8906 <      # `set' does not quote correctly, so add quotes (double-quote
8907 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
8908 <      sed -n \
8909 <        "s/'/'\\\\''/g;
8910 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8911 <      ;;
8912 <    *)
8913 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
8914 <      sed -n \
8915 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8916 <      ;;
8917 <    esac;
8918 < } |
8919 <  sed '
8920 <     t clear
8921 <     : clear
8922 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8923 <     t end
8924 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8925 <     : end' >>confcache
8926 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
8927 <  if test -w $cache_file; then
8928 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8929 <    cat confcache >$cache_file
8930 <  else
8931 <    echo "not updating unwritable cache $cache_file"
8932 <  fi
8933 < fi
8934 < rm -f confcache
8935 <
8936 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
8937 < # Let make expand exec_prefix.
8938 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8939 <
8940 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
8941 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8942 < # trailing colons and then remove the whole line if VPATH becomes empty
8943 < # (actually we leave an empty line to preserve line numbers).
8944 < if test "x$srcdir" = x.; then
8945 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8946 < s/:*\$(srcdir):*/:/;
8947 < s/:*\${srcdir}:*/:/;
8948 < s/:*@srcdir@:*/:/;
8949 < s/^\([^=]*=[     ]*\):*/\1/;
8950 < s/:*$//;
8951 < s/^[^=]*=[       ]*$//;
8952 < }'
8953 < fi
8954 <
8955 < DEFS=-DHAVE_CONFIG_H
8956 <
8957 < ac_libobjs=
8958 < ac_ltlibobjs=
8959 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8960 <  # 1. Remove the extension, and $U if already installed.
8961 <  ac_i=`echo "$ac_i" |
8962 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8963 <  # 2. Add them.
8964 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8965 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8966 < done
8967 < LIBOBJS=$ac_libobjs
8968 <
8969 < LTLIBOBJS=$ac_ltlibobjs
8970 <
8971 <
8972 <
8973 < : ${CONFIG_STATUS=./config.status}
8974 < ac_clean_files_save=$ac_clean_files
8975 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8976 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8977 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
8978 < cat >$CONFIG_STATUS <<_ACEOF
8979 < #! $SHELL
8980 < # Generated by $as_me.
8981 < # Run this file to recreate the current configuration.
8982 < # Compiler output produced by configure, useful for debugging
8983 < # configure, is in config.log if it exists.
8984 <
8985 < debug=false
8986 < ac_cs_recheck=false
8987 < ac_cs_silent=false
8988 < SHELL=\${CONFIG_SHELL-$SHELL}
8989 < _ACEOF
8990 <
8991 < cat >>$CONFIG_STATUS <<\_ACEOF
8992 < ## --------------------- ##
8993 < ## M4sh Initialization.  ##
8994 < ## --------------------- ##
8995 <
8996 < # Be Bourne compatible
8997 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8998 <  emulate sh
8999 <  NULLCMD=:
9000 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9001 <  # is contrary to our usage.  Disable this feature.
9002 <  alias -g '${1+"$@"}'='"$@"'
9003 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9004 <  set -o posix
9005 < fi
9006 < DUALCASE=1; export DUALCASE # for MKS sh
9007 <
9008 < # Support unset when possible.
9009 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9010 <  as_unset=unset
9011 < else
9012 <  as_unset=false
9013 < fi
9014 <
9015 <
9016 < # Work around bugs in pre-3.0 UWIN ksh.
9017 < $as_unset ENV MAIL MAILPATH
9018 < PS1='$ '
9019 < PS2='> '
9020 < PS4='+ '
9021 <
9022 < # NLS nuisances.
9023 < for as_var in \
9024 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9025 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9026 <  LC_TELEPHONE LC_TIME
9027 < do
9028 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9029 <    eval $as_var=C; export $as_var
9030 <  else
9031 <    $as_unset $as_var
9032 <  fi
9033 < done
9034 <
9035 < # Required to use basename.
9036 < if expr a : '\(a\)' >/dev/null 2>&1; then
9037 <  as_expr=expr
9038 < else
9039 <  as_expr=false
9040 < fi
9041 <
9042 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9043 <  as_basename=basename
9044 < else
9045 <  as_basename=false
9046 < fi
9047 <
9048 <
9049 < # Name of the executable.
9050 < as_me=`$as_basename "$0" ||
9051 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9052 <         X"$0" : 'X\(//\)$' \| \
9053 <         X"$0" : 'X\(/\)$' \| \
9054 <         .     : '\(.\)' 2>/dev/null ||
9055 < echo X/"$0" |
9056 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9057 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
9058 <          /^X\/\(\/\).*/{ s//\1/; q; }
9059 <          s/.*/./; q'`
9060 <
9061 <
9062 < # PATH needs CR, and LINENO needs CR and PATH.
9063 < # Avoid depending upon Character Ranges.
9064 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9065 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9066 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9067 < as_cr_digits='0123456789'
9068 < as_cr_alnum=$as_cr_Letters$as_cr_digits
9069 <
9070 < # The user is always right.
9071 < if test "${PATH_SEPARATOR+set}" != set; then
9072 <  echo "#! /bin/sh" >conf$$.sh
9073 <  echo  "exit 0"   >>conf$$.sh
9074 <  chmod +x conf$$.sh
9075 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9076 <    PATH_SEPARATOR=';'
9077 <  else
9078 <    PATH_SEPARATOR=:
9079 <  fi
9080 <  rm -f conf$$.sh
9081 < fi
9082 <
9083 <
9084 <  as_lineno_1=$LINENO
9085 <  as_lineno_2=$LINENO
9086 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9087 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9088 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
9089 <  # Find who we are.  Look in the path if we contain no path at all
9090 <  # relative or not.
9091 <  case $0 in
9092 <    *[\\/]* ) as_myself=$0 ;;
9093 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9094 < for as_dir in $PATH
9095 < do
9096 <  IFS=$as_save_IFS
9097 <  test -z "$as_dir" && as_dir=.
9098 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9099 < done
9100 <
9101 <       ;;
9102 <  esac
9103 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
9104 <  # in which case we are not to be found in the path.
9105 <  if test "x$as_myself" = x; then
9106 <    as_myself=$0
9107 <  fi
9108 <  if test ! -f "$as_myself"; then
9109 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9110 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9111 <   { (exit 1); exit 1; }; }
9112 <  fi
9113 <  case $CONFIG_SHELL in
9114 <  '')
9115 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9116 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9117 < do
9118 <  IFS=$as_save_IFS
9119 <  test -z "$as_dir" && as_dir=.
9120 <  for as_base in sh bash ksh sh5; do
9121 <         case $as_dir in
9122 <         /*)
9123 <           if ("$as_dir/$as_base" -c '
9124 <  as_lineno_1=$LINENO
9125 <  as_lineno_2=$LINENO
9126 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9127 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9128 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
9129 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9130 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9131 <             CONFIG_SHELL=$as_dir/$as_base
9132 <             export CONFIG_SHELL
9133 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9134 <           fi;;
9135 <         esac
9136 <       done
9137 < done
9138 < ;;
9139 <  esac
9140 <
9141 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9142 <  # uniformly replaced by the line number.  The first 'sed' inserts a
9143 <  # line-number line before each line; the second 'sed' does the real
9144 <  # work.  The second script uses 'N' to pair each line-number line
9145 <  # with the numbered line, and appends trailing '-' during
9146 <  # substitution so that $LINENO is not a special case at line end.
9147 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9148 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
9149 <  sed '=' <$as_myself |
9150 <    sed '
9151 <      N
9152 <      s,$,-,
9153 <      : loop
9154 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9155 <      t loop
9156 <      s,-$,,
9157 <      s,^['$as_cr_digits']*\n,,
9158 <    ' >$as_me.lineno &&
9159 <  chmod +x $as_me.lineno ||
9160 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9161 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9162 <   { (exit 1); exit 1; }; }
9163 <
9164 <  # Don't try to exec as it changes $[0], causing all sort of problems
9165 <  # (the dirname of $[0] is not the place where we might find the
9166 <  # original and so on.  Autoconf is especially sensible to this).
9167 <  . ./$as_me.lineno
9168 <  # Exit status is that of the last command.
9169 <  exit
9170 < }
9171 <
9172 <
9173 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9174 <  *c*,-n*) ECHO_N= ECHO_C='
9175 < ' ECHO_T='      ' ;;
9176 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9177 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
9178 < esac
9179 <
9180 < if expr a : '\(a\)' >/dev/null 2>&1; then
9181 <  as_expr=expr
9182 < else
9183 <  as_expr=false
9184 < fi
9185 <
9186 < rm -f conf$$ conf$$.exe conf$$.file
9187 < echo >conf$$.file
9188 < if ln -s conf$$.file conf$$ 2>/dev/null; then
9189 <  # We could just check for DJGPP; but this test a) works b) is more generic
9190 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9191 <  if test -f conf$$.exe; then
9192 <    # Don't use ln at all; we don't have any links
9193 <    as_ln_s='cp -p'
9194 <  else
9195 <    as_ln_s='ln -s'
9196 <  fi
9197 < elif ln conf$$.file conf$$ 2>/dev/null; then
9198 <  as_ln_s=ln
9199 < else
9200 <  as_ln_s='cp -p'
9201 < fi
9202 < rm -f conf$$ conf$$.exe conf$$.file
9203 <
9204 < if mkdir -p . 2>/dev/null; then
9205 <  as_mkdir_p=:
9206 < else
9207 <  test -d ./-p && rmdir ./-p
9208 <  as_mkdir_p=false
9209 < fi
9210 <
9211 < as_executable_p="test -f"
9212 <
9213 < # Sed expression to map a string onto a valid CPP name.
9214 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9215 <
9216 < # Sed expression to map a string onto a valid variable name.
9217 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9218 <
9219 <
9220 < # IFS
9221 < # We need space, tab and new line, in precisely that order.
9222 < as_nl='
9223 < '
9224 < IFS="   $as_nl"
9225 <
9226 < # CDPATH.
9227 < $as_unset CDPATH
9228 <
9229 < exec 6>&1
9230 <
9231 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
9232 < # report actual input values of CONFIG_FILES etc. instead of their
9233 < # values after options handling.  Logging --version etc. is OK.
9234 < exec 5>>config.log
9235 < {
9236 <  echo
9237 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9238 < ## Running $as_me. ##
9239 < _ASBOX
9240 < } >&5
9241 < cat >&5 <<_CSEOF
9242 <
9243 < This file was extended by OOPSE $as_me 2.0, which was
9244 < generated by GNU Autoconf 2.59.  Invocation command line was
9245 <
9246 <  CONFIG_FILES    = $CONFIG_FILES
9247 <  CONFIG_HEADERS  = $CONFIG_HEADERS
9248 <  CONFIG_LINKS    = $CONFIG_LINKS
9249 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
9250 <  $ $0 $@
9251 <
9252 < _CSEOF
9253 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9254 < echo >&5
9255 < _ACEOF
9256 <
9257 < # Files that config.status was made for.
9258 < if test -n "$ac_config_files"; then
9259 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9260 < fi
9261 <
9262 < if test -n "$ac_config_headers"; then
9263 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9264 < fi
9265 <
9266 < if test -n "$ac_config_links"; then
9267 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9268 < fi
9269 <
9270 < if test -n "$ac_config_commands"; then
9271 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9272 < fi
9273 <
9274 < cat >>$CONFIG_STATUS <<\_ACEOF
9275 <
9276 < ac_cs_usage="\
9277 < \`$as_me' instantiates files from templates according to the
9278 < current configuration.
9279 <
9280 < Usage: $0 [OPTIONS] [FILE]...
9281 <
9282 <  -h, --help       print this help, then exit
9283 <  -V, --version    print version number, then exit
9284 <  -q, --quiet      do not print progress messages
9285 <  -d, --debug      don't remove temporary files
9286 <      --recheck    update $as_me by reconfiguring in the same conditions
9287 <  --file=FILE[:TEMPLATE]
9288 <                   instantiate the configuration file FILE
9289 <  --header=FILE[:TEMPLATE]
9290 <                   instantiate the configuration header FILE
9291 <
9292 < Configuration files:
9293 < $config_files
9294 <
9295 < Configuration headers:
9296 < $config_headers
9297 <
9298 < Configuration links:
9299 < $config_links
9300 <
9301 < Report bugs to <bug-autoconf@gnu.org>."
9302 < _ACEOF
9303 <
9304 < cat >>$CONFIG_STATUS <<_ACEOF
9305 < ac_cs_version="\\
9306 < OOPSE config.status 2.0
9307 < configured by $0, generated by GNU Autoconf 2.59,
9308 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9309 <
9310 < Copyright (C) 2003 Free Software Foundation, Inc.
9311 < This config.status script is free software; the Free Software Foundation
9312 < gives unlimited permission to copy, distribute and modify it."
9313 < srcdir=$srcdir
9314 < INSTALL="$INSTALL"
9315 < _ACEOF
9316 <
9317 < cat >>$CONFIG_STATUS <<\_ACEOF
9318 < # If no file are specified by the user, then we need to provide default
9319 < # value.  By we need to know if files were specified by the user.
9320 < ac_need_defaults=:
9321 < while test $# != 0
9322 < do
9323 <  case $1 in
9324 <  --*=*)
9325 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
9326 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9327 <    ac_shift=:
9328 <    ;;
9329 <  -*)
9330 <    ac_option=$1
9331 <    ac_optarg=$2
9332 <    ac_shift=shift
9333 <    ;;
9334 <  *) # This is not an option, so the user has probably given explicit
9335 <     # arguments.
9336 <     ac_option=$1
9337 <     ac_need_defaults=false;;
9338 <  esac
9339 <
9340 <  case $ac_option in
9341 <  # Handling of the options.
9342 < _ACEOF
9343 < cat >>$CONFIG_STATUS <<\_ACEOF
9344 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9345 <    ac_cs_recheck=: ;;
9346 <  --version | --vers* | -V )
9347 <    echo "$ac_cs_version"; exit 0 ;;
9348 <  --he | --h)
9349 <    # Conflict between --help and --header
9350 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
9351 < Try \`$0 --help' for more information." >&5
9352 < echo "$as_me: error: ambiguous option: $1
9353 < Try \`$0 --help' for more information." >&2;}
9354 <   { (exit 1); exit 1; }; };;
9355 <  --help | --hel | -h )
9356 <    echo "$ac_cs_usage"; exit 0 ;;
9357 <  --debug | --d* | -d )
9358 <    debug=: ;;
9359 <  --file | --fil | --fi | --f )
9360 <    $ac_shift
9361 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9362 <    ac_need_defaults=false;;
9363 <  --header | --heade | --head | --hea )
9364 <    $ac_shift
9365 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9366 <    ac_need_defaults=false;;
9367 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9368 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9369 <    ac_cs_silent=: ;;
9370 <
9371 <  # This is an error.
9372 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9373 < Try \`$0 --help' for more information." >&5
9374 < echo "$as_me: error: unrecognized option: $1
9375 < Try \`$0 --help' for more information." >&2;}
9376 <   { (exit 1); exit 1; }; } ;;
9377 <
9378 <  *) ac_config_targets="$ac_config_targets $1" ;;
9379 <
9380 <  esac
9381 <  shift
9382 < done
9383 <
9384 < ac_configure_extra_args=
9385 <
9386 < if $ac_cs_silent; then
9387 <  exec 6>/dev/null
9388 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
9389 < fi
9390 <
9391 < _ACEOF
9392 < cat >>$CONFIG_STATUS <<_ACEOF
9393 < if \$ac_cs_recheck; then
9394 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9395 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9396 < fi
9397 <
9398 < _ACEOF
9399 <
9400 <
9401 <
9402 <
9403 <
9404 < cat >>$CONFIG_STATUS <<\_ACEOF
9405 < for ac_config_target in $ac_config_targets
9406 < do
9407 <  case "$ac_config_target" in
9408 <  # Handling of arguments.
9409 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9410 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9411 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9412 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9413 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9414 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9415 <   { (exit 1); exit 1; }; };;
9416 <  esac
9417 < done
9418 <
9419 < # If the user did not use the arguments to specify the items to instantiate,
9420 < # then the envvar interface is used.  Set only those that are not.
9421 < # We use the long form for the default assignment because of an extremely
9422 < # bizarre bug on SunOS 4.1.3.
9423 < if $ac_need_defaults; then
9424 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9425 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9426 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
9427 < fi
9428 <
9429 < # Have a temporary directory for convenience.  Make it in the build tree
9430 < # simply because there is no reason to put it here, and in addition,
9431 < # creating and moving files from /tmp can sometimes cause problems.
9432 < # Create a temporary directory, and hook for its removal unless debugging.
9433 < $debug ||
9434 < {
9435 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9436 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
9437 < }
9438 <
9439 < # Create a (secure) tmp directory for tmp files.
9440 <
9441 < {
9442 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9443 <  test -n "$tmp" && test -d "$tmp"
9444 < }  ||
9445 < {
9446 <  tmp=./confstat$$-$RANDOM
9447 <  (umask 077 && mkdir $tmp)
9448 < } ||
9449 < {
9450 <   echo "$me: cannot create a temporary directory in ." >&2
9451 <   { (exit 1); exit 1; }
9452 < }
9453 <
9454 < _ACEOF
9455 <
9456 < cat >>$CONFIG_STATUS <<_ACEOF
9457 <
9458 < #
9459 < # CONFIG_FILES section.
9460 < #
9461 <
9462 < # No need to generate the scripts if there are no CONFIG_FILES.
9463 < # This happens for instance when ./config.status config.h
9464 < if test -n "\$CONFIG_FILES"; then
9465 <  # Protect against being on the right side of a sed subst in config.status.
9466 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9467 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9468 < s,@SHELL@,$SHELL,;t t
9469 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9470 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9471 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9472 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9473 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9474 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9475 < s,@exec_prefix@,$exec_prefix,;t t
9476 < s,@prefix@,$prefix,;t t
9477 < s,@program_transform_name@,$program_transform_name,;t t
9478 < s,@bindir@,$bindir,;t t
9479 < s,@sbindir@,$sbindir,;t t
9480 < s,@libexecdir@,$libexecdir,;t t
9481 < s,@datadir@,$datadir,;t t
9482 < s,@sysconfdir@,$sysconfdir,;t t
9483 < s,@sharedstatedir@,$sharedstatedir,;t t
9484 < s,@localstatedir@,$localstatedir,;t t
9485 < s,@libdir@,$libdir,;t t
9486 < s,@includedir@,$includedir,;t t
9487 < s,@oldincludedir@,$oldincludedir,;t t
9488 < s,@infodir@,$infodir,;t t
9489 < s,@mandir@,$mandir,;t t
9490 < s,@build_alias@,$build_alias,;t t
9491 < s,@host_alias@,$host_alias,;t t
9492 < s,@target_alias@,$target_alias,;t t
9493 < s,@DEFS@,$DEFS,;t t
9494 < s,@ECHO_C@,$ECHO_C,;t t
9495 < s,@ECHO_N@,$ECHO_N,;t t
9496 < s,@ECHO_T@,$ECHO_T,;t t
9497 < s,@LIBS@,$LIBS,;t t
9498 < s,@PROGNAME@,$PROGNAME,;t t
9499 < s,@debug@,$debug,;t t
9500 < s,@build@,$build,;t t
9501 < s,@build_cpu@,$build_cpu,;t t
9502 < s,@build_vendor@,$build_vendor,;t t
9503 < s,@build_os@,$build_os,;t t
9504 < s,@host@,$host,;t t
9505 < s,@host_cpu@,$host_cpu,;t t
9506 < s,@host_vendor@,$host_vendor,;t t
9507 < s,@host_os@,$host_os,;t t
9508 < s,@CC@,$CC,;t t
9509 < s,@CFLAGS@,$CFLAGS,;t t
9510 < s,@LDFLAGS@,$LDFLAGS,;t t
9511 < s,@CPPFLAGS@,$CPPFLAGS,;t t
9512 < s,@ac_ct_CC@,$ac_ct_CC,;t t
9513 < s,@EXEEXT@,$EXEEXT,;t t
9514 < s,@OBJEXT@,$OBJEXT,;t t
9515 < s,@CXX@,$CXX,;t t
9516 < s,@CXXFLAGS@,$CXXFLAGS,;t t
9517 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9518 < s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
9519 < s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
9520 < s,@F90@,$F90,;t t
9521 < s,@F90FLAGS@,$F90FLAGS,;t t
9522 < s,@ac_ct_F90@,$ac_ct_F90,;t t
9523 < s,@PREPFLAG@,$PREPFLAG,;t t
9524 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
9525 < s,@F90LIBS@,$F90LIBS,;t t
9526 < s,@F90_FUNC@,$F90_FUNC,;t t
9527 < s,@F90_FUNC_@,$F90_FUNC_,;t t
9528 < s,@MOD@,$MOD,;t t
9529 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
9530 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
9531 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9532 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9533 < s,@CPP@,$CPP,;t t
9534 < s,@EGREP@,$EGREP,;t t
9535 < s,@LIBOBJS@,$LIBOBJS,;t t
9536 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9537 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9538 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9539 < s,@LN_S@,$LN_S,;t t
9540 < s,@SET_MAKE@,$SET_MAKE,;t t
9541 < s,@RANLIB@,$RANLIB,;t t
9542 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9543 < s,@YACC@,$YACC,;t t
9544 < s,@LEX@,$LEX,;t t
9545 < s,@LEXLIB@,$LEXLIB,;t t
9546 < s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9547 < s,@AR@,$AR,;t t
9548 < s,@PS@,$PS,;t t
9549 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9550 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9551 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
9552 < s,@MPI_LIB@,$MPI_LIB,;t t
9553 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9554 < s,@USE_MPI@,$USE_MPI,;t t
9555 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9556 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9557 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9558 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9559 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9560 < s,@MKL_LIB@,$MKL_LIB,;t t
9561 < s,@MKL_INC@,$MKL_INC,;t t
9562 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9563 < s,@DOXYGEN@,$DOXYGEN,;t t
9564 < s,@DOT@,$DOT,;t t
9565 < s,@DOC@,$DOC,;t t
9566 < s,@enable_dot@,$enable_dot,;t t
9567 < s,@enable_html_docs@,$enable_html_docs,;t t
9568 < s,@enable_latex_docs@,$enable_latex_docs,;t t
9569 < s,@BATEXT@,$BATEXT,;t t
9570 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9571 < s,@OOPSE@,$OOPSE,;t t
9572 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9573 < s,@SUBDIRS@,$SUBDIRS,;t t
9574 < s,@FFLAGS@,$FFLAGS,;t t
9575 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9576 < CEOF
9577 <
9578 < _ACEOF
9579 <
9580 <  cat >>$CONFIG_STATUS <<\_ACEOF
9581 <  # Split the substitutions into bite-sized pieces for seds with
9582 <  # small command number limits, like on Digital OSF/1 and HP-UX.
9583 <  ac_max_sed_lines=48
9584 <  ac_sed_frag=1 # Number of current file.
9585 <  ac_beg=1 # First line for current file.
9586 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
9587 <  ac_more_lines=:
9588 <  ac_sed_cmds=
9589 <  while $ac_more_lines; do
9590 <    if test $ac_beg -gt 1; then
9591 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9592 <    else
9593 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9594 <    fi
9595 <    if test ! -s $tmp/subs.frag; then
9596 <      ac_more_lines=false
9597 <    else
9598 <      # The purpose of the label and of the branching condition is to
9599 <      # speed up the sed processing (if there are no `@' at all, there
9600 <      # is no need to browse any of the substitutions).
9601 <      # These are the two extra sed commands mentioned above.
9602 <      (echo ':t
9603 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9604 <      if test -z "$ac_sed_cmds"; then
9605 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9606 <      else
9607 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9608 <      fi
9609 <      ac_sed_frag=`expr $ac_sed_frag + 1`
9610 <      ac_beg=$ac_end
9611 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
9612 <    fi
9613 <  done
9614 <  if test -z "$ac_sed_cmds"; then
9615 <    ac_sed_cmds=cat
9616 <  fi
9617 < fi # test -n "$CONFIG_FILES"
9618 <
9619 < _ACEOF
9620 < cat >>$CONFIG_STATUS <<\_ACEOF
9621 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9622 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9623 <  case $ac_file in
9624 <  - | *:- | *:-:* ) # input from stdin
9625 <        cat >$tmp/stdin
9626 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9627 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9628 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9629 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9630 <  * )   ac_file_in=$ac_file.in ;;
9631 <  esac
9632 <
9633 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9634 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9635 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9636 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9637 <         X"$ac_file" : 'X\(//\)$' \| \
9638 <         X"$ac_file" : 'X\(/\)' \| \
9639 <         .     : '\(.\)' 2>/dev/null ||
9640 < echo X"$ac_file" |
9641 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9642 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9643 <          /^X\(\/\/\)$/{ s//\1/; q; }
9644 <          /^X\(\/\).*/{ s//\1/; q; }
9645 <          s/.*/./; q'`
9646 <  { if $as_mkdir_p; then
9647 <    mkdir -p "$ac_dir"
9648 <  else
9649 <    as_dir="$ac_dir"
9650 <    as_dirs=
9651 <    while test ! -d "$as_dir"; do
9652 <      as_dirs="$as_dir $as_dirs"
9653 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9654 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9655 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9656 <         X"$as_dir" : 'X\(//\)$' \| \
9657 <         X"$as_dir" : 'X\(/\)' \| \
9658 <         .     : '\(.\)' 2>/dev/null ||
9659 < echo X"$as_dir" |
9660 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9661 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9662 <          /^X\(\/\/\)$/{ s//\1/; q; }
9663 <          /^X\(\/\).*/{ s//\1/; q; }
9664 <          s/.*/./; q'`
9665 <    done
9666 <    test ! -n "$as_dirs" || mkdir $as_dirs
9667 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9668 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9669 <   { (exit 1); exit 1; }; }; }
9670 <
9671 <  ac_builddir=.
9672 <
9673 < if test "$ac_dir" != .; then
9674 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9675 <  # A "../" for each directory in $ac_dir_suffix.
9676 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9677 < else
9678 <  ac_dir_suffix= ac_top_builddir=
9679 < fi
9680 <
9681 < case $srcdir in
9682 <  .)  # No --srcdir option.  We are building in place.
9683 <    ac_srcdir=.
9684 <    if test -z "$ac_top_builddir"; then
9685 <       ac_top_srcdir=.
9686 <    else
9687 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9688 <    fi ;;
9689 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9690 <    ac_srcdir=$srcdir$ac_dir_suffix;
9691 <    ac_top_srcdir=$srcdir ;;
9692 <  *) # Relative path.
9693 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9694 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9695 < esac
9696 <
9697 < # Do not use `cd foo && pwd` to compute absolute paths, because
9698 < # the directories may not exist.
9699 < case `pwd` in
9700 < .) ac_abs_builddir="$ac_dir";;
9701 < *)
9702 <  case "$ac_dir" in
9703 <  .) ac_abs_builddir=`pwd`;;
9704 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9705 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9706 <  esac;;
9707 < esac
9708 < case $ac_abs_builddir in
9709 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
9710 < *)
9711 <  case ${ac_top_builddir}. in
9712 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
9713 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9714 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9715 <  esac;;
9716 < esac
9717 < case $ac_abs_builddir in
9718 < .) ac_abs_srcdir=$ac_srcdir;;
9719 < *)
9720 <  case $ac_srcdir in
9721 <  .) ac_abs_srcdir=$ac_abs_builddir;;
9722 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9723 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9724 <  esac;;
9725 < esac
9726 < case $ac_abs_builddir in
9727 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
9728 < *)
9729 <  case $ac_top_srcdir in
9730 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9731 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9732 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9733 <  esac;;
9734 < esac
9735 <
9736 <
9737 <  case $INSTALL in
9738 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9739 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9740 <  esac
9741 <
9742 <  if test x"$ac_file" != x-; then
9743 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
9744 < echo "$as_me: creating $ac_file" >&6;}
9745 <    rm -f "$ac_file"
9746 <  fi
9747 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
9748 <  # use $as_me), people would be surprised to read:
9749 <  #    /* config.h.  Generated by config.status.  */
9750 <  if test x"$ac_file" = x-; then
9751 <    configure_input=
9752 <  else
9753 <    configure_input="$ac_file.  "
9754 <  fi
9755 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9756 <                                     sed 's,.*/,,'` by configure."
9757 <
9758 <  # First look for the input files in the build tree, otherwise in the
9759 <  # src tree.
9760 <  ac_file_inputs=`IFS=:
9761 <    for f in $ac_file_in; do
9762 <      case $f in
9763 <      -) echo $tmp/stdin ;;
9764 <      [\\/$]*)
9765 <         # Absolute (can't be DOS-style, as IFS=:)
9766 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9767 < echo "$as_me: error: cannot find input file: $f" >&2;}
9768 <   { (exit 1); exit 1; }; }
9769 <         echo "$f";;
9770 <      *) # Relative
9771 <         if test -f "$f"; then
9772 <           # Build tree
9773 <           echo "$f"
9774 <         elif test -f "$srcdir/$f"; then
9775 <           # Source tree
9776 <           echo "$srcdir/$f"
9777 <         else
9778 <           # /dev/null tree
9779 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9780 < echo "$as_me: error: cannot find input file: $f" >&2;}
9781 <   { (exit 1); exit 1; }; }
9782 <         fi;;
9783 <      esac
9784 <    done` || { (exit 1); exit 1; }
9785 < _ACEOF
9786 < cat >>$CONFIG_STATUS <<_ACEOF
9787 <  sed "$ac_vpsub
9788 < $extrasub
9789 < _ACEOF
9790 < cat >>$CONFIG_STATUS <<\_ACEOF
9791 < :t
9792 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9793 < s,@configure_input@,$configure_input,;t t
9794 < s,@srcdir@,$ac_srcdir,;t t
9795 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
9796 < s,@top_srcdir@,$ac_top_srcdir,;t t
9797 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9798 < s,@builddir@,$ac_builddir,;t t
9799 < s,@abs_builddir@,$ac_abs_builddir,;t t
9800 < s,@top_builddir@,$ac_top_builddir,;t t
9801 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9802 < s,@INSTALL@,$ac_INSTALL,;t t
9803 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9804 <  rm -f $tmp/stdin
9805 <  if test x"$ac_file" != x-; then
9806 <    mv $tmp/out $ac_file
9807 <  else
9808 <    cat $tmp/out
9809 <    rm -f $tmp/out
9810 <  fi
9811 <
6111 > done
6112 >
6113 > ac_ext=c
6114 > ac_cpp='$CPP $CPPFLAGS'
6115 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6116 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6117 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6118 >
6119 >
6120 >
6121 >
6122 > for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h
6123 > do
6124 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6125 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6126 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6127 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6128 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6129 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6130 > fi
6131 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6132 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6133 > else
6134 >  # Is the header compilable?
6135 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6136 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6137 > cat >conftest.$ac_ext <<_ACEOF
6138 > /* confdefs.h.  */
6139 > _ACEOF
6140 > cat confdefs.h >>conftest.$ac_ext
6141 > cat >>conftest.$ac_ext <<_ACEOF
6142 > /* end confdefs.h.  */
6143 > $ac_includes_default
6144 > #include <$ac_header>
6145 > _ACEOF
6146 > rm -f conftest.$ac_objext
6147 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148 >  (eval $ac_compile) 2>conftest.er1
6149 >  ac_status=$?
6150 >  grep -v '^ *+' conftest.er1 >conftest.err
6151 >  rm -f conftest.er1
6152 >  cat conftest.err >&5
6153 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 >  (exit $ac_status); } &&
6155 >         { ac_try='test -z "$ac_c_werror_flag"
6156 >                         || test ! -s conftest.err'
6157 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 >  (eval $ac_try) 2>&5
6159 >  ac_status=$?
6160 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 >  (exit $ac_status); }; } &&
6162 >         { ac_try='test -s conftest.$ac_objext'
6163 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 >  (eval $ac_try) 2>&5
6165 >  ac_status=$?
6166 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 >  (exit $ac_status); }; }; then
6168 >  ac_header_compiler=yes
6169 > else
6170 >  echo "$as_me: failed program was:" >&5
6171 > sed 's/^/| /' conftest.$ac_ext >&5
6172 >
6173 > ac_header_compiler=no
6174 > fi
6175 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6176 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6177 > echo "${ECHO_T}$ac_header_compiler" >&6
6178 >
6179 > # Is the header present?
6180 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6181 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6182 > cat >conftest.$ac_ext <<_ACEOF
6183 > /* confdefs.h.  */
6184 > _ACEOF
6185 > cat confdefs.h >>conftest.$ac_ext
6186 > cat >>conftest.$ac_ext <<_ACEOF
6187 > /* end confdefs.h.  */
6188 > #include <$ac_header>
6189 > _ACEOF
6190 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6191 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6192 >  ac_status=$?
6193 >  grep -v '^ *+' conftest.er1 >conftest.err
6194 >  rm -f conftest.er1
6195 >  cat conftest.err >&5
6196 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 >  (exit $ac_status); } >/dev/null; then
6198 >  if test -s conftest.err; then
6199 >    ac_cpp_err=$ac_c_preproc_warn_flag
6200 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6201 >  else
6202 >    ac_cpp_err=
6203 >  fi
6204 > else
6205 >  ac_cpp_err=yes
6206 > fi
6207 > if test -z "$ac_cpp_err"; then
6208 >  ac_header_preproc=yes
6209 > else
6210 >  echo "$as_me: failed program was:" >&5
6211 > sed 's/^/| /' conftest.$ac_ext >&5
6212 >
6213 >  ac_header_preproc=no
6214 > fi
6215 > rm -f conftest.err conftest.$ac_ext
6216 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6217 > echo "${ECHO_T}$ac_header_preproc" >&6
6218 >
6219 > # So?  What about this header?
6220 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6221 >  yes:no: )
6222 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6223 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6224 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6225 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6226 >    ac_header_preproc=yes
6227 >    ;;
6228 >  no:yes:* )
6229 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6230 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6231 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6232 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6233 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6234 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6235 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6236 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6237 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6238 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6239 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6240 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6241 >    (
6242 >      cat <<\_ASBOX
6243 > ## ------------------------------ ##
6244 > ## Report this to gezelter@nd.edu ##
6245 > ## ------------------------------ ##
6246 > _ASBOX
6247 >    ) |
6248 >      sed "s/^/$as_me: WARNING:     /" >&2
6249 >    ;;
6250 > esac
6251 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6252 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6253 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6254 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6255 > else
6256 >  eval "$as_ac_Header=\$ac_header_preproc"
6257 > fi
6258 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6259 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6260 >
6261 > fi
6262 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6263 >  cat >>confdefs.h <<_ACEOF
6264 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6265 > _ACEOF
6266 >
6267 > fi
6268 >
6269 > done
6270 >
6271 >
6272 >
6273 >
6274 >
6275 > for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h
6276 > do
6277 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6278 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6280 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6281 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6282 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6283 > fi
6284 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6285 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6286 > else
6287 >  # Is the header compilable?
6288 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6289 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6290 > cat >conftest.$ac_ext <<_ACEOF
6291 > /* confdefs.h.  */
6292 > _ACEOF
6293 > cat confdefs.h >>conftest.$ac_ext
6294 > cat >>conftest.$ac_ext <<_ACEOF
6295 > /* end confdefs.h.  */
6296 > $ac_includes_default
6297 > #include <$ac_header>
6298 > _ACEOF
6299 > rm -f conftest.$ac_objext
6300 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6301 >  (eval $ac_compile) 2>conftest.er1
6302 >  ac_status=$?
6303 >  grep -v '^ *+' conftest.er1 >conftest.err
6304 >  rm -f conftest.er1
6305 >  cat conftest.err >&5
6306 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 >  (exit $ac_status); } &&
6308 >         { ac_try='test -z "$ac_c_werror_flag"
6309 >                         || test ! -s conftest.err'
6310 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 >  (eval $ac_try) 2>&5
6312 >  ac_status=$?
6313 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 >  (exit $ac_status); }; } &&
6315 >         { ac_try='test -s conftest.$ac_objext'
6316 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317 >  (eval $ac_try) 2>&5
6318 >  ac_status=$?
6319 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 >  (exit $ac_status); }; }; then
6321 >  ac_header_compiler=yes
6322 > else
6323 >  echo "$as_me: failed program was:" >&5
6324 > sed 's/^/| /' conftest.$ac_ext >&5
6325 >
6326 > ac_header_compiler=no
6327 > fi
6328 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6329 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6330 > echo "${ECHO_T}$ac_header_compiler" >&6
6331 >
6332 > # Is the header present?
6333 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6334 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6335 > cat >conftest.$ac_ext <<_ACEOF
6336 > /* confdefs.h.  */
6337 > _ACEOF
6338 > cat confdefs.h >>conftest.$ac_ext
6339 > cat >>conftest.$ac_ext <<_ACEOF
6340 > /* end confdefs.h.  */
6341 > #include <$ac_header>
6342 > _ACEOF
6343 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6344 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6345 >  ac_status=$?
6346 >  grep -v '^ *+' conftest.er1 >conftest.err
6347 >  rm -f conftest.er1
6348 >  cat conftest.err >&5
6349 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 >  (exit $ac_status); } >/dev/null; then
6351 >  if test -s conftest.err; then
6352 >    ac_cpp_err=$ac_c_preproc_warn_flag
6353 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6354 >  else
6355 >    ac_cpp_err=
6356 >  fi
6357 > else
6358 >  ac_cpp_err=yes
6359 > fi
6360 > if test -z "$ac_cpp_err"; then
6361 >  ac_header_preproc=yes
6362 > else
6363 >  echo "$as_me: failed program was:" >&5
6364 > sed 's/^/| /' conftest.$ac_ext >&5
6365 >
6366 >  ac_header_preproc=no
6367 > fi
6368 > rm -f conftest.err conftest.$ac_ext
6369 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6370 > echo "${ECHO_T}$ac_header_preproc" >&6
6371 >
6372 > # So?  What about this header?
6373 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6374 >  yes:no: )
6375 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6376 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6377 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6378 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6379 >    ac_header_preproc=yes
6380 >    ;;
6381 >  no:yes:* )
6382 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6383 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6384 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6385 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6386 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6387 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6388 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6389 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6390 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6391 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6392 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6393 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6394 >    (
6395 >      cat <<\_ASBOX
6396 > ## ------------------------------ ##
6397 > ## Report this to gezelter@nd.edu ##
6398 > ## ------------------------------ ##
6399 > _ASBOX
6400 >    ) |
6401 >      sed "s/^/$as_me: WARNING:     /" >&2
6402 >    ;;
6403 > esac
6404 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6405 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6406 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6407 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6408 > else
6409 >  eval "$as_ac_Header=\$ac_header_preproc"
6410 > fi
6411 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6412 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6413 >
6414 > fi
6415 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6416 >  cat >>confdefs.h <<_ACEOF
6417 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6418 > _ACEOF
6419 >
6420 > fi
6421 >
6422 > done
6423 >
6424 >
6425 > for ac_header in machine/hal_sysinfo.h
6426 > do
6427 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6428 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6429 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6430 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6431 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6432 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6433 > fi
6434 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6435 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6436 > else
6437 >  # Is the header compilable?
6438 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6439 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6440 > cat >conftest.$ac_ext <<_ACEOF
6441 > /* confdefs.h.  */
6442 > _ACEOF
6443 > cat confdefs.h >>conftest.$ac_ext
6444 > cat >>conftest.$ac_ext <<_ACEOF
6445 > /* end confdefs.h.  */
6446 > $ac_includes_default
6447 > #include <$ac_header>
6448 > _ACEOF
6449 > rm -f conftest.$ac_objext
6450 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6451 >  (eval $ac_compile) 2>conftest.er1
6452 >  ac_status=$?
6453 >  grep -v '^ *+' conftest.er1 >conftest.err
6454 >  rm -f conftest.er1
6455 >  cat conftest.err >&5
6456 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 >  (exit $ac_status); } &&
6458 >         { ac_try='test -z "$ac_c_werror_flag"
6459 >                         || test ! -s conftest.err'
6460 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 >  (eval $ac_try) 2>&5
6462 >  ac_status=$?
6463 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 >  (exit $ac_status); }; } &&
6465 >         { ac_try='test -s conftest.$ac_objext'
6466 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 >  (eval $ac_try) 2>&5
6468 >  ac_status=$?
6469 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 >  (exit $ac_status); }; }; then
6471 >  ac_header_compiler=yes
6472 > else
6473 >  echo "$as_me: failed program was:" >&5
6474 > sed 's/^/| /' conftest.$ac_ext >&5
6475 >
6476 > ac_header_compiler=no
6477 > fi
6478 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6479 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6480 > echo "${ECHO_T}$ac_header_compiler" >&6
6481 >
6482 > # Is the header present?
6483 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6484 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6485 > cat >conftest.$ac_ext <<_ACEOF
6486 > /* confdefs.h.  */
6487 > _ACEOF
6488 > cat confdefs.h >>conftest.$ac_ext
6489 > cat >>conftest.$ac_ext <<_ACEOF
6490 > /* end confdefs.h.  */
6491 > #include <$ac_header>
6492 > _ACEOF
6493 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6494 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6495 >  ac_status=$?
6496 >  grep -v '^ *+' conftest.er1 >conftest.err
6497 >  rm -f conftest.er1
6498 >  cat conftest.err >&5
6499 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 >  (exit $ac_status); } >/dev/null; then
6501 >  if test -s conftest.err; then
6502 >    ac_cpp_err=$ac_c_preproc_warn_flag
6503 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6504 >  else
6505 >    ac_cpp_err=
6506 >  fi
6507 > else
6508 >  ac_cpp_err=yes
6509 > fi
6510 > if test -z "$ac_cpp_err"; then
6511 >  ac_header_preproc=yes
6512 > else
6513 >  echo "$as_me: failed program was:" >&5
6514 > sed 's/^/| /' conftest.$ac_ext >&5
6515 >
6516 >  ac_header_preproc=no
6517 > fi
6518 > rm -f conftest.err conftest.$ac_ext
6519 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6520 > echo "${ECHO_T}$ac_header_preproc" >&6
6521 >
6522 > # So?  What about this header?
6523 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6524 >  yes:no: )
6525 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6526 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6527 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6528 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6529 >    ac_header_preproc=yes
6530 >    ;;
6531 >  no:yes:* )
6532 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6533 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6534 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6535 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6537 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6538 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6539 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6540 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6541 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6542 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6543 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6544 >    (
6545 >      cat <<\_ASBOX
6546 > ## ------------------------------ ##
6547 > ## Report this to gezelter@nd.edu ##
6548 > ## ------------------------------ ##
6549 > _ASBOX
6550 >    ) |
6551 >      sed "s/^/$as_me: WARNING:     /" >&2
6552 >    ;;
6553 > esac
6554 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6555 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6556 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6557 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6558 > else
6559 >  eval "$as_ac_Header=\$ac_header_preproc"
6560 > fi
6561 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6562 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6563 >
6564 > fi
6565 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6566 >  cat >>confdefs.h <<_ACEOF
6567 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6568 > _ACEOF
6569 >
6570 > fi
6571 >
6572 > done
6573 >
6574 >
6575 >
6576 >
6577 >
6578 >
6579 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
6580 > do
6581 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6582 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6583 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6584 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6585 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6586 > else
6587 >  cat >conftest.$ac_ext <<_ACEOF
6588 > /* confdefs.h.  */
6589 > _ACEOF
6590 > cat confdefs.h >>conftest.$ac_ext
6591 > cat >>conftest.$ac_ext <<_ACEOF
6592 > /* end confdefs.h.  */
6593 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6594 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6595 > #define $ac_func innocuous_$ac_func
6596 >
6597 > /* System header to define __stub macros and hopefully few prototypes,
6598 >    which can conflict with char $ac_func (); below.
6599 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6600 >    <limits.h> exists even on freestanding compilers.  */
6601 >
6602 > #ifdef __STDC__
6603 > # include <limits.h>
6604 > #else
6605 > # include <assert.h>
6606 > #endif
6607 >
6608 > #undef $ac_func
6609 >
6610 > /* Override any gcc2 internal prototype to avoid an error.  */
6611 > #ifdef __cplusplus
6612 > extern "C"
6613 > {
6614 > #endif
6615 > /* We use char because int might match the return type of a gcc2
6616 >   builtin and then its argument prototype would still apply.  */
6617 > char $ac_func ();
6618 > /* The GNU C library defines this for functions which it implements
6619 >    to always fail with ENOSYS.  Some functions are actually named
6620 >    something starting with __ and the normal name is an alias.  */
6621 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6622 > choke me
6623 > #else
6624 > char (*f) () = $ac_func;
6625 > #endif
6626 > #ifdef __cplusplus
6627 > }
6628 > #endif
6629 >
6630 > int
6631 > main ()
6632 > {
6633 > return f != $ac_func;
6634 >  ;
6635 >  return 0;
6636 > }
6637 > _ACEOF
6638 > rm -f conftest.$ac_objext conftest$ac_exeext
6639 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6640 >  (eval $ac_link) 2>conftest.er1
6641 >  ac_status=$?
6642 >  grep -v '^ *+' conftest.er1 >conftest.err
6643 >  rm -f conftest.er1
6644 >  cat conftest.err >&5
6645 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 >  (exit $ac_status); } &&
6647 >         { ac_try='test -z "$ac_c_werror_flag"
6648 >                         || test ! -s conftest.err'
6649 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 >  (eval $ac_try) 2>&5
6651 >  ac_status=$?
6652 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 >  (exit $ac_status); }; } &&
6654 >         { ac_try='test -s conftest$ac_exeext'
6655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 >  (eval $ac_try) 2>&5
6657 >  ac_status=$?
6658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 >  (exit $ac_status); }; }; then
6660 >  eval "$as_ac_var=yes"
6661 > else
6662 >  echo "$as_me: failed program was:" >&5
6663 > sed 's/^/| /' conftest.$ac_ext >&5
6664 >
6665 > eval "$as_ac_var=no"
6666 > fi
6667 > rm -f conftest.err conftest.$ac_objext \
6668 >      conftest$ac_exeext conftest.$ac_ext
6669 > fi
6670 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6671 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6672 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6673 >  cat >>confdefs.h <<_ACEOF
6674 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6675 > _ACEOF
6676 >
6677 > fi
6678 > done
6679 >
6680 > # special check for _system_configuration because AIX <4.3.2 do not
6681 > # contain the `physmem' member.
6682 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
6683 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
6684 > cat >conftest.$ac_ext <<_ACEOF
6685 > /* confdefs.h.  */
6686 > _ACEOF
6687 > cat confdefs.h >>conftest.$ac_ext
6688 > cat >>conftest.$ac_ext <<_ACEOF
6689 > /* end confdefs.h.  */
6690 > #include <sys/systemcfg.h>
6691 > int
6692 > main ()
6693 > {
6694 > double x = _system_configuration.physmem;
6695 >  ;
6696 >  return 0;
6697 > }
6698 > _ACEOF
6699 > rm -f conftest.$ac_objext
6700 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6701 >  (eval $ac_compile) 2>conftest.er1
6702 >  ac_status=$?
6703 >  grep -v '^ *+' conftest.er1 >conftest.err
6704 >  rm -f conftest.er1
6705 >  cat conftest.err >&5
6706 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 >  (exit $ac_status); } &&
6708 >         { ac_try='test -z "$ac_c_werror_flag"
6709 >                         || test ! -s conftest.err'
6710 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711 >  (eval $ac_try) 2>&5
6712 >  ac_status=$?
6713 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 >  (exit $ac_status); }; } &&
6715 >         { ac_try='test -s conftest.$ac_objext'
6716 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 >  (eval $ac_try) 2>&5
6718 >  ac_status=$?
6719 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 >  (exit $ac_status); }; }; then
6721 >  echo "$as_me:$LINENO: result: yes" >&5
6722 > echo "${ECHO_T}yes" >&6
6723 >
6724 > cat >>confdefs.h <<\_ACEOF
6725 > #define HAVE__SYSTEM_CONFIGURATION 1
6726 > _ACEOF
6727 >
6728 > else
6729 >  echo "$as_me: failed program was:" >&5
6730 > sed 's/^/| /' conftest.$ac_ext >&5
6731 >
6732 > echo "$as_me:$LINENO: result: no" >&5
6733 > echo "${ECHO_T}no" >&6
6734 > fi
6735 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6736 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6737 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6738 > if test "${ac_cv_header_time+set}" = set; then
6739 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6740 > else
6741 >  cat >conftest.$ac_ext <<_ACEOF
6742 > /* confdefs.h.  */
6743 > _ACEOF
6744 > cat confdefs.h >>conftest.$ac_ext
6745 > cat >>conftest.$ac_ext <<_ACEOF
6746 > /* end confdefs.h.  */
6747 > #include <sys/types.h>
6748 > #include <sys/time.h>
6749 > #include <time.h>
6750 >
6751 > int
6752 > main ()
6753 > {
6754 > if ((struct tm *) 0)
6755 > return 0;
6756 >  ;
6757 >  return 0;
6758 > }
6759 > _ACEOF
6760 > rm -f conftest.$ac_objext
6761 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6762 >  (eval $ac_compile) 2>conftest.er1
6763 >  ac_status=$?
6764 >  grep -v '^ *+' conftest.er1 >conftest.err
6765 >  rm -f conftest.er1
6766 >  cat conftest.err >&5
6767 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 >  (exit $ac_status); } &&
6769 >         { ac_try='test -z "$ac_c_werror_flag"
6770 >                         || test ! -s conftest.err'
6771 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 >  (eval $ac_try) 2>&5
6773 >  ac_status=$?
6774 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 >  (exit $ac_status); }; } &&
6776 >         { ac_try='test -s conftest.$ac_objext'
6777 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 >  (eval $ac_try) 2>&5
6779 >  ac_status=$?
6780 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 >  (exit $ac_status); }; }; then
6782 >  ac_cv_header_time=yes
6783 > else
6784 >  echo "$as_me: failed program was:" >&5
6785 > sed 's/^/| /' conftest.$ac_ext >&5
6786 >
6787 > ac_cv_header_time=no
6788 > fi
6789 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6790 > fi
6791 > echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6792 > echo "${ECHO_T}$ac_cv_header_time" >&6
6793 > if test $ac_cv_header_time = yes; then
6794 >
6795 > cat >>confdefs.h <<\_ACEOF
6796 > #define TIME_WITH_SYS_TIME 1
6797 > _ACEOF
6798 >
6799 > fi
6800 >
6801 >
6802 > echo "$as_me:$LINENO: checking for clock_t" >&5
6803 > echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
6804 > if test "${ac_cv_type_clock_t+set}" = set; then
6805 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6806 > else
6807 >  cat >conftest.$ac_ext <<_ACEOF
6808 > /* confdefs.h.  */
6809 > _ACEOF
6810 > cat confdefs.h >>conftest.$ac_ext
6811 > cat >>conftest.$ac_ext <<_ACEOF
6812 > /* end confdefs.h.  */
6813 > $ac_includes_default
6814 > int
6815 > main ()
6816 > {
6817 > if ((clock_t *) 0)
6818 >  return 0;
6819 > if (sizeof (clock_t))
6820 >  return 0;
6821 >  ;
6822 >  return 0;
6823 > }
6824 > _ACEOF
6825 > rm -f conftest.$ac_objext
6826 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6827 >  (eval $ac_compile) 2>conftest.er1
6828 >  ac_status=$?
6829 >  grep -v '^ *+' conftest.er1 >conftest.err
6830 >  rm -f conftest.er1
6831 >  cat conftest.err >&5
6832 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833 >  (exit $ac_status); } &&
6834 >         { ac_try='test -z "$ac_c_werror_flag"
6835 >                         || test ! -s conftest.err'
6836 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 >  (eval $ac_try) 2>&5
6838 >  ac_status=$?
6839 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 >  (exit $ac_status); }; } &&
6841 >         { ac_try='test -s conftest.$ac_objext'
6842 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 >  (eval $ac_try) 2>&5
6844 >  ac_status=$?
6845 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 >  (exit $ac_status); }; }; then
6847 >  ac_cv_type_clock_t=yes
6848 > else
6849 >  echo "$as_me: failed program was:" >&5
6850 > sed 's/^/| /' conftest.$ac_ext >&5
6851 >
6852 > ac_cv_type_clock_t=no
6853 > fi
6854 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6855 > fi
6856 > echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
6857 > echo "${ECHO_T}$ac_cv_type_clock_t" >&6
6858 > if test $ac_cv_type_clock_t = yes; then
6859 >
6860 > cat >>confdefs.h <<_ACEOF
6861 > #define HAVE_CLOCK_T 1
6862 > _ACEOF
6863 >
6864 >
6865 > fi
6866 >
6867 > echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6868 > echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6869 > if test "${ac_cv_c_const+set}" = set; then
6870 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6871 > else
6872 >  cat >conftest.$ac_ext <<_ACEOF
6873 > /* confdefs.h.  */
6874 > _ACEOF
6875 > cat confdefs.h >>conftest.$ac_ext
6876 > cat >>conftest.$ac_ext <<_ACEOF
6877 > /* end confdefs.h.  */
6878 >
6879 > int
6880 > main ()
6881 > {
6882 > /* FIXME: Include the comments suggested by Paul. */
6883 > #ifndef __cplusplus
6884 >  /* Ultrix mips cc rejects this.  */
6885 >  typedef int charset[2];
6886 >  const charset x;
6887 >  /* SunOS 4.1.1 cc rejects this.  */
6888 >  char const *const *ccp;
6889 >  char **p;
6890 >  /* NEC SVR4.0.2 mips cc rejects this.  */
6891 >  struct point {int x, y;};
6892 >  static struct point const zero = {0,0};
6893 >  /* AIX XL C 1.02.0.0 rejects this.
6894 >     It does not let you subtract one const X* pointer from another in
6895 >     an arm of an if-expression whose if-part is not a constant
6896 >     expression */
6897 >  const char *g = "string";
6898 >  ccp = &g + (g ? g-g : 0);
6899 >  /* HPUX 7.0 cc rejects these. */
6900 >  ++ccp;
6901 >  p = (char**) ccp;
6902 >  ccp = (char const *const *) p;
6903 >  { /* SCO 3.2v4 cc rejects this.  */
6904 >    char *t;
6905 >    char const *s = 0 ? (char *) 0 : (char const *) 0;
6906 >
6907 >    *t++ = 0;
6908 >  }
6909 >  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6910 >    int x[] = {25, 17};
6911 >    const int *foo = &x[0];
6912 >    ++foo;
6913 >  }
6914 >  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6915 >    typedef const int *iptr;
6916 >    iptr p = 0;
6917 >    ++p;
6918 >  }
6919 >  { /* AIX XL C 1.02.0.0 rejects this saying
6920 >       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6921 >    struct s { int j; const int *ap[3]; };
6922 >    struct s *b; b->j = 5;
6923 >  }
6924 >  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6925 >    const int foo = 10;
6926 >  }
6927 > #endif
6928 >
6929 >  ;
6930 >  return 0;
6931 > }
6932 > _ACEOF
6933 > rm -f conftest.$ac_objext
6934 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6935 >  (eval $ac_compile) 2>conftest.er1
6936 >  ac_status=$?
6937 >  grep -v '^ *+' conftest.er1 >conftest.err
6938 >  rm -f conftest.er1
6939 >  cat conftest.err >&5
6940 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 >  (exit $ac_status); } &&
6942 >         { ac_try='test -z "$ac_c_werror_flag"
6943 >                         || test ! -s conftest.err'
6944 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 >  (eval $ac_try) 2>&5
6946 >  ac_status=$?
6947 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 >  (exit $ac_status); }; } &&
6949 >         { ac_try='test -s conftest.$ac_objext'
6950 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 >  (eval $ac_try) 2>&5
6952 >  ac_status=$?
6953 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 >  (exit $ac_status); }; }; then
6955 >  ac_cv_c_const=yes
6956 > else
6957 >  echo "$as_me: failed program was:" >&5
6958 > sed 's/^/| /' conftest.$ac_ext >&5
6959 >
6960 > ac_cv_c_const=no
6961 > fi
6962 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6963 > fi
6964 > echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6965 > echo "${ECHO_T}$ac_cv_c_const" >&6
6966 > if test $ac_cv_c_const = no; then
6967 >
6968 > cat >>confdefs.h <<\_ACEOF
6969 > #define const
6970 > _ACEOF
6971 >
6972 > fi
6973 >
6974 > echo "$as_me:$LINENO: checking for inline" >&5
6975 > echo $ECHO_N "checking for inline... $ECHO_C" >&6
6976 > if test "${ac_cv_c_inline+set}" = set; then
6977 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6978 > else
6979 >  ac_cv_c_inline=no
6980 > for ac_kw in inline __inline__ __inline; do
6981 >  cat >conftest.$ac_ext <<_ACEOF
6982 > /* confdefs.h.  */
6983 > _ACEOF
6984 > cat confdefs.h >>conftest.$ac_ext
6985 > cat >>conftest.$ac_ext <<_ACEOF
6986 > /* end confdefs.h.  */
6987 > #ifndef __cplusplus
6988 > typedef int foo_t;
6989 > static $ac_kw foo_t static_foo () {return 0; }
6990 > $ac_kw foo_t foo () {return 0; }
6991 > #endif
6992 >
6993 > _ACEOF
6994 > rm -f conftest.$ac_objext
6995 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6996 >  (eval $ac_compile) 2>conftest.er1
6997 >  ac_status=$?
6998 >  grep -v '^ *+' conftest.er1 >conftest.err
6999 >  rm -f conftest.er1
7000 >  cat conftest.err >&5
7001 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 >  (exit $ac_status); } &&
7003 >         { ac_try='test -z "$ac_c_werror_flag"
7004 >                         || test ! -s conftest.err'
7005 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 >  (eval $ac_try) 2>&5
7007 >  ac_status=$?
7008 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 >  (exit $ac_status); }; } &&
7010 >         { ac_try='test -s conftest.$ac_objext'
7011 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 >  (eval $ac_try) 2>&5
7013 >  ac_status=$?
7014 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 >  (exit $ac_status); }; }; then
7016 >  ac_cv_c_inline=$ac_kw; break
7017 > else
7018 >  echo "$as_me: failed program was:" >&5
7019 > sed 's/^/| /' conftest.$ac_ext >&5
7020 >
7021 > fi
7022 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7023 > done
7024 >
7025 > fi
7026 > echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7027 > echo "${ECHO_T}$ac_cv_c_inline" >&6
7028 >
7029 >
7030 > case $ac_cv_c_inline in
7031 >  inline | yes) ;;
7032 >  *)
7033 >    case $ac_cv_c_inline in
7034 >      no) ac_val=;;
7035 >      *) ac_val=$ac_cv_c_inline;;
7036 >    esac
7037 >    cat >>confdefs.h <<_ACEOF
7038 > #ifndef __cplusplus
7039 > #define inline $ac_val
7040 > #endif
7041 > _ACEOF
7042 >    ;;
7043 > esac
7044 >
7045 >
7046 >
7047 >
7048 > for ac_func in rint sranddev
7049 > do
7050 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7051 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7052 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7053 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7054 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7055 > else
7056 >  cat >conftest.$ac_ext <<_ACEOF
7057 > /* confdefs.h.  */
7058 > _ACEOF
7059 > cat confdefs.h >>conftest.$ac_ext
7060 > cat >>conftest.$ac_ext <<_ACEOF
7061 > /* end confdefs.h.  */
7062 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7063 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7064 > #define $ac_func innocuous_$ac_func
7065 >
7066 > /* System header to define __stub macros and hopefully few prototypes,
7067 >    which can conflict with char $ac_func (); below.
7068 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7069 >    <limits.h> exists even on freestanding compilers.  */
7070 >
7071 > #ifdef __STDC__
7072 > # include <limits.h>
7073 > #else
7074 > # include <assert.h>
7075 > #endif
7076 >
7077 > #undef $ac_func
7078 >
7079 > /* Override any gcc2 internal prototype to avoid an error.  */
7080 > #ifdef __cplusplus
7081 > extern "C"
7082 > {
7083 > #endif
7084 > /* We use char because int might match the return type of a gcc2
7085 >   builtin and then its argument prototype would still apply.  */
7086 > char $ac_func ();
7087 > /* The GNU C library defines this for functions which it implements
7088 >    to always fail with ENOSYS.  Some functions are actually named
7089 >    something starting with __ and the normal name is an alias.  */
7090 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7091 > choke me
7092 > #else
7093 > char (*f) () = $ac_func;
7094 > #endif
7095 > #ifdef __cplusplus
7096 > }
7097 > #endif
7098 >
7099 > int
7100 > main ()
7101 > {
7102 > return f != $ac_func;
7103 >  ;
7104 >  return 0;
7105 > }
7106 > _ACEOF
7107 > rm -f conftest.$ac_objext conftest$ac_exeext
7108 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7109 >  (eval $ac_link) 2>conftest.er1
7110 >  ac_status=$?
7111 >  grep -v '^ *+' conftest.er1 >conftest.err
7112 >  rm -f conftest.er1
7113 >  cat conftest.err >&5
7114 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 >  (exit $ac_status); } &&
7116 >         { ac_try='test -z "$ac_c_werror_flag"
7117 >                         || test ! -s conftest.err'
7118 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 >  (eval $ac_try) 2>&5
7120 >  ac_status=$?
7121 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 >  (exit $ac_status); }; } &&
7123 >         { ac_try='test -s conftest$ac_exeext'
7124 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 >  (eval $ac_try) 2>&5
7126 >  ac_status=$?
7127 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 >  (exit $ac_status); }; }; then
7129 >  eval "$as_ac_var=yes"
7130 > else
7131 >  echo "$as_me: failed program was:" >&5
7132 > sed 's/^/| /' conftest.$ac_ext >&5
7133 >
7134 > eval "$as_ac_var=no"
7135 > fi
7136 > rm -f conftest.err conftest.$ac_objext \
7137 >      conftest$ac_exeext conftest.$ac_ext
7138 > fi
7139 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7140 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7141 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7142 >  cat >>confdefs.h <<_ACEOF
7143 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7144 > _ACEOF
7145 >
7146 > fi
7147 > done
7148 >
7149 >
7150 >  # clean out junk possibly left behind by a previous configuration
7151 >  rm -f src/getopt.h
7152 >  # Check for getopt_long support
7153 >
7154 > for ac_header in getopt.h
7155 > do
7156 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7158 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7159 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7160 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7162 > fi
7163 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7164 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7165 > else
7166 >  # Is the header compilable?
7167 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7168 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7169 > cat >conftest.$ac_ext <<_ACEOF
7170 > /* confdefs.h.  */
7171 > _ACEOF
7172 > cat confdefs.h >>conftest.$ac_ext
7173 > cat >>conftest.$ac_ext <<_ACEOF
7174 > /* end confdefs.h.  */
7175 > $ac_includes_default
7176 > #include <$ac_header>
7177 > _ACEOF
7178 > rm -f conftest.$ac_objext
7179 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180 >  (eval $ac_compile) 2>conftest.er1
7181 >  ac_status=$?
7182 >  grep -v '^ *+' conftest.er1 >conftest.err
7183 >  rm -f conftest.er1
7184 >  cat conftest.err >&5
7185 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 >  (exit $ac_status); } &&
7187 >         { ac_try='test -z "$ac_c_werror_flag"
7188 >                         || test ! -s conftest.err'
7189 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 >  (eval $ac_try) 2>&5
7191 >  ac_status=$?
7192 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 >  (exit $ac_status); }; } &&
7194 >         { ac_try='test -s conftest.$ac_objext'
7195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 >  (eval $ac_try) 2>&5
7197 >  ac_status=$?
7198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 >  (exit $ac_status); }; }; then
7200 >  ac_header_compiler=yes
7201 > else
7202 >  echo "$as_me: failed program was:" >&5
7203 > sed 's/^/| /' conftest.$ac_ext >&5
7204 >
7205 > ac_header_compiler=no
7206 > fi
7207 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7208 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7209 > echo "${ECHO_T}$ac_header_compiler" >&6
7210 >
7211 > # Is the header present?
7212 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7213 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7214 > cat >conftest.$ac_ext <<_ACEOF
7215 > /* confdefs.h.  */
7216 > _ACEOF
7217 > cat confdefs.h >>conftest.$ac_ext
7218 > cat >>conftest.$ac_ext <<_ACEOF
7219 > /* end confdefs.h.  */
7220 > #include <$ac_header>
7221 > _ACEOF
7222 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7223 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7224 >  ac_status=$?
7225 >  grep -v '^ *+' conftest.er1 >conftest.err
7226 >  rm -f conftest.er1
7227 >  cat conftest.err >&5
7228 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 >  (exit $ac_status); } >/dev/null; then
7230 >  if test -s conftest.err; then
7231 >    ac_cpp_err=$ac_c_preproc_warn_flag
7232 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7233 >  else
7234 >    ac_cpp_err=
7235 >  fi
7236 > else
7237 >  ac_cpp_err=yes
7238 > fi
7239 > if test -z "$ac_cpp_err"; then
7240 >  ac_header_preproc=yes
7241 > else
7242 >  echo "$as_me: failed program was:" >&5
7243 > sed 's/^/| /' conftest.$ac_ext >&5
7244 >
7245 >  ac_header_preproc=no
7246 > fi
7247 > rm -f conftest.err conftest.$ac_ext
7248 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7249 > echo "${ECHO_T}$ac_header_preproc" >&6
7250 >
7251 > # So?  What about this header?
7252 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7253 >  yes:no: )
7254 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7255 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7256 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7257 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7258 >    ac_header_preproc=yes
7259 >    ;;
7260 >  no:yes:* )
7261 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7262 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7263 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7264 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7265 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7266 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7267 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7268 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7269 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7270 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7271 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7272 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7273 >    (
7274 >      cat <<\_ASBOX
7275 > ## ------------------------------ ##
7276 > ## Report this to gezelter@nd.edu ##
7277 > ## ------------------------------ ##
7278 > _ASBOX
7279 >    ) |
7280 >      sed "s/^/$as_me: WARNING:     /" >&2
7281 >    ;;
7282 > esac
7283 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7284 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7285 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7286 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7287 > else
7288 >  eval "$as_ac_Header=\$ac_header_preproc"
7289 > fi
7290 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7291 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7292 >
7293 > fi
7294 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7295 >  cat >>confdefs.h <<_ACEOF
7296 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7297 > _ACEOF
7298 >
7299 > fi
7300 >
7301 > done
7302 >
7303 >
7304 > for ac_func in getopt_long
7305 > do
7306 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7307 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7308 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7309 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7310 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7311 > else
7312 >  cat >conftest.$ac_ext <<_ACEOF
7313 > /* confdefs.h.  */
7314 > _ACEOF
7315 > cat confdefs.h >>conftest.$ac_ext
7316 > cat >>conftest.$ac_ext <<_ACEOF
7317 > /* end confdefs.h.  */
7318 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7319 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7320 > #define $ac_func innocuous_$ac_func
7321 >
7322 > /* System header to define __stub macros and hopefully few prototypes,
7323 >    which can conflict with char $ac_func (); below.
7324 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7325 >    <limits.h> exists even on freestanding compilers.  */
7326 >
7327 > #ifdef __STDC__
7328 > # include <limits.h>
7329 > #else
7330 > # include <assert.h>
7331 > #endif
7332 >
7333 > #undef $ac_func
7334 >
7335 > /* Override any gcc2 internal prototype to avoid an error.  */
7336 > #ifdef __cplusplus
7337 > extern "C"
7338 > {
7339 > #endif
7340 > /* We use char because int might match the return type of a gcc2
7341 >   builtin and then its argument prototype would still apply.  */
7342 > char $ac_func ();
7343 > /* The GNU C library defines this for functions which it implements
7344 >    to always fail with ENOSYS.  Some functions are actually named
7345 >    something starting with __ and the normal name is an alias.  */
7346 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7347 > choke me
7348 > #else
7349 > char (*f) () = $ac_func;
7350 > #endif
7351 > #ifdef __cplusplus
7352 > }
7353 > #endif
7354 >
7355 > int
7356 > main ()
7357 > {
7358 > return f != $ac_func;
7359 >  ;
7360 >  return 0;
7361 > }
7362 > _ACEOF
7363 > rm -f conftest.$ac_objext conftest$ac_exeext
7364 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7365 >  (eval $ac_link) 2>conftest.er1
7366 >  ac_status=$?
7367 >  grep -v '^ *+' conftest.er1 >conftest.err
7368 >  rm -f conftest.er1
7369 >  cat conftest.err >&5
7370 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 >  (exit $ac_status); } &&
7372 >         { ac_try='test -z "$ac_c_werror_flag"
7373 >                         || test ! -s conftest.err'
7374 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 >  (eval $ac_try) 2>&5
7376 >  ac_status=$?
7377 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 >  (exit $ac_status); }; } &&
7379 >         { ac_try='test -s conftest$ac_exeext'
7380 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 >  (eval $ac_try) 2>&5
7382 >  ac_status=$?
7383 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 >  (exit $ac_status); }; }; then
7385 >  eval "$as_ac_var=yes"
7386 > else
7387 >  echo "$as_me: failed program was:" >&5
7388 > sed 's/^/| /' conftest.$ac_ext >&5
7389 >
7390 > eval "$as_ac_var=no"
7391 > fi
7392 > rm -f conftest.err conftest.$ac_objext \
7393 >      conftest$ac_exeext conftest.$ac_ext
7394 > fi
7395 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7396 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7397 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7398 >  cat >>confdefs.h <<_ACEOF
7399 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7400 > _ACEOF
7401 >
7402 > else
7403 >  # FreeBSD has a gnugetopt library for this
7404 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
7405 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
7406 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
7407 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7408 > else
7409 >  ac_check_lib_save_LIBS=$LIBS
7410 > LIBS="-lgnugetopt  $LIBS"
7411 > cat >conftest.$ac_ext <<_ACEOF
7412 > /* confdefs.h.  */
7413 > _ACEOF
7414 > cat confdefs.h >>conftest.$ac_ext
7415 > cat >>conftest.$ac_ext <<_ACEOF
7416 > /* end confdefs.h.  */
7417 >
7418 > /* Override any gcc2 internal prototype to avoid an error.  */
7419 > #ifdef __cplusplus
7420 > extern "C"
7421 > #endif
7422 > /* We use char because int might match the return type of a gcc2
7423 >   builtin and then its argument prototype would still apply.  */
7424 > char getopt_long ();
7425 > int
7426 > main ()
7427 > {
7428 > getopt_long ();
7429 >  ;
7430 >  return 0;
7431 > }
7432 > _ACEOF
7433 > rm -f conftest.$ac_objext conftest$ac_exeext
7434 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435 >  (eval $ac_link) 2>conftest.er1
7436 >  ac_status=$?
7437 >  grep -v '^ *+' conftest.er1 >conftest.err
7438 >  rm -f conftest.er1
7439 >  cat conftest.err >&5
7440 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 >  (exit $ac_status); } &&
7442 >         { ac_try='test -z "$ac_c_werror_flag"
7443 >                         || test ! -s conftest.err'
7444 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 >  (eval $ac_try) 2>&5
7446 >  ac_status=$?
7447 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 >  (exit $ac_status); }; } &&
7449 >         { ac_try='test -s conftest$ac_exeext'
7450 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 >  (eval $ac_try) 2>&5
7452 >  ac_status=$?
7453 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 >  (exit $ac_status); }; }; then
7455 >  ac_cv_lib_gnugetopt_getopt_long=yes
7456 > else
7457 >  echo "$as_me: failed program was:" >&5
7458 > sed 's/^/| /' conftest.$ac_ext >&5
7459 >
7460 > ac_cv_lib_gnugetopt_getopt_long=no
7461 > fi
7462 > rm -f conftest.err conftest.$ac_objext \
7463 >      conftest$ac_exeext conftest.$ac_ext
7464 > LIBS=$ac_check_lib_save_LIBS
7465 > fi
7466 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7467 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
7468 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
7469 >  cat >>confdefs.h <<\_ACEOF
7470 > #define HAVE_GETOPT_LONG 1
7471 > _ACEOF
7472 >
7473 > else
7474 >  # use the GNU replacement
7475 >      case $LIBOBJS in
7476 >    "getopt.$ac_objext"   | \
7477 >  *" getopt.$ac_objext"   | \
7478 >    "getopt.$ac_objext "* | \
7479 >  *" getopt.$ac_objext "* ) ;;
7480 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
7481 > esac
7482 >
7483 >      case $LIBOBJS in
7484 >    "getopt1.$ac_objext"   | \
7485 >  *" getopt1.$ac_objext"   | \
7486 >    "getopt1.$ac_objext "* | \
7487 >  *" getopt1.$ac_objext "* ) ;;
7488 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
7489 > esac
7490 >
7491 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7492 >
7493 > fi
7494 >
7495 > fi
7496 > done
7497 >
7498 >
7499 >
7500 > case $debug in
7501 >  1)
7502 >     ;;
7503 >  *)
7504 >
7505 >
7506 >
7507 >
7508 >
7509 >
7510 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
7511 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
7512 > if test "${ac_cv_prog_really_gcc+set}" = set; then
7513 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7514 > else
7515 >
7516 > cat > conftest.c <<EOF
7517 > #ifdef __GNUC__
7518 >  #ifndef __INTEL_COMPILER
7519 >     yes;
7520 >  #endif
7521 > #endif
7522 > EOF
7523 > if { ac_try='${CC-cc} -E conftest.c'
7524 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 >  (eval $ac_try) 2>&5
7526 >  ac_status=$?
7527 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7529 >  ac_cv_prog_really_gcc=yes
7530 > else
7531 >  ac_cv_prog_really_gcc=no
7532 > fi
7533 >
7534 > fi
7535 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7536 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7537 > if test "$ac_cv_prog_really_gcc" = yes; then
7538 >        :
7539 >
7540 > else
7541 >        :
7542 >
7543 > fi
7544 >
7545 >
7546 > # Try to determine "good" native compiler flags if none specified on command
7547 > # line
7548 > if test "$ac_test_CFLAGS" != "set"; then
7549 >  CFLAGS=""
7550 >  case "${host_cpu}-${host_os}" in
7551 >
7552 >  *linux*) if test "$CC" = icc; then
7553 >                    CFLAGS="-O"
7554 >                fi;;
7555 >  sparc-solaris2*) if test "$CC" = cc; then
7556 >                    CFLAGS="-native -fast -xO5 -dalign"
7557 >                 fi;;
7558 >
7559 >  alpha*-osf*)  if test "$CC" = cc; then
7560 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
7561 >                fi;;
7562 >
7563 >  hppa*-hpux*)  if test "$CC" = cc; then
7564 >                    CFLAGS="-Ae +O3 +Oall"
7565 >                fi;;
7566 >
7567 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
7568 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
7569 >                fi;;
7570 >   powerpc*-aix*)
7571 >        if test "$CC" = cc -o "$CC" = xlc; then
7572 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
7573 >                echo "*******************************************************"
7574 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7575 >                echo "*  recommended that you use                           *"
7576 >                echo "*                                                     *"
7577 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7578 >                echo "*                                 ^^^                 *"
7579 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7580 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
7581 >                echo "*******************************************************"
7582 >        fi;;
7583 >   *darwin*)
7584 >        if test "$CC" = xlc -o "$CC" = cc; then
7585 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
7586 >        fi;;
7587 >  esac
7588 >
7589 >  # use default flags for gcc on all systems
7590 >  if test $ac_cv_prog_really_gcc = yes; then
7591 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
7592 >  fi
7593 >
7594 >  # test for gcc-specific flags:
7595 >  if test $ac_cv_prog_really_gcc = yes; then
7596 >    # -malign-double for x86 systems
7597 >
7598 >
7599 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7600 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7601 > if test "${ac_align_double+set}" = set; then
7602 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7603 > else
7604 >  echo 'void f(){}' > conftest.c
7605 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
7606 >        ac_align_double=yes
7607 > else
7608 >        ac_align_double=no
7609 > fi
7610 > rm -f conftest*
7611 >
7612 > fi
7613 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7614 > echo "${ECHO_T}$ac_align_double" >&6
7615 > if test "$ac_align_double" = yes; then
7616 >        :
7617 >        CFLAGS="$CFLAGS -malign-double"
7618 > else
7619 >        :
7620 >
7621 > fi
7622 >
7623 >    # -fstrict-aliasing for gcc-2.95+
7624 >
7625 >
7626 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7627 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7628 > if test "${ac_fstrict_aliasing+set}" = set; then
7629 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7630 > else
7631 >  echo 'void f(){}' > conftest.c
7632 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
7633 >        ac_fstrict_aliasing=yes
7634 > else
7635 >        ac_fstrict_aliasing=no
7636 > fi
7637 > rm -f conftest*
7638 >
7639 > fi
7640 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7641 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7642 > if test "$ac_fstrict_aliasing" = yes; then
7643 >        :
7644 >        CFLAGS="$CFLAGS -fstrict-aliasing"
7645 > else
7646 >        :
7647 >
7648 > fi
7649 >
7650 >  fi
7651 >
7652 >  CPU_FLAGS=""
7653 >  if test $ac_cv_prog_really_gcc = yes; then
7654 >                  case "${host_cpu}" in
7655 >          i586*)
7656 >
7657 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7658 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7659 > if test "${ac_cpu_pentium+set}" = set; then
7660 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7661 > else
7662 >  echo 'void f(){}' > conftest.c
7663 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
7664 >        ac_cpu_pentium=yes
7665 > else
7666 >        ac_cpu_pentium=no
7667 > fi
7668 > rm -f conftest*
7669 >
7670 > fi
7671 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7672 > echo "${ECHO_T}$ac_cpu_pentium" >&6
7673 > if test "$ac_cpu_pentium" = yes; then
7674 >        :
7675 >        CPU_FLAGS=-mcpu=pentium
7676 > else
7677 >        :
7678 >
7679 >
7680 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7681 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7682 > if test "${ac_pentium+set}" = set; then
7683 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7684 > else
7685 >  echo 'void f(){}' > conftest.c
7686 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
7687 >        ac_pentium=yes
7688 > else
7689 >        ac_pentium=no
7690 > fi
7691 > rm -f conftest*
7692 >
7693 > fi
7694 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7695 > echo "${ECHO_T}$ac_pentium" >&6
7696 > if test "$ac_pentium" = yes; then
7697 >        :
7698 >        CPU_FLAGS=-mpentium
7699 > else
7700 >        :
7701 >
7702 > fi
7703 >
7704 > fi
7705 >
7706 >                  ;;
7707 >          i686*)
7708 >
7709 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7710 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7711 > if test "${ac_cpu_pentiumpro+set}" = set; then
7712 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7713 > else
7714 >  echo 'void f(){}' > conftest.c
7715 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
7716 >        ac_cpu_pentiumpro=yes
7717 > else
7718 >        ac_cpu_pentiumpro=no
7719 > fi
7720 > rm -f conftest*
7721 >
7722 > fi
7723 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7724 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7725 > if test "$ac_cpu_pentiumpro" = yes; then
7726 >        :
7727 >        CPU_FLAGS=-mcpu=pentiumpro
7728 > else
7729 >        :
7730 >
7731 >
7732 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7733 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7734 > if test "${ac_pentiumpro+set}" = set; then
7735 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7736 > else
7737 >  echo 'void f(){}' > conftest.c
7738 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
7739 >        ac_pentiumpro=yes
7740 > else
7741 >        ac_pentiumpro=no
7742 > fi
7743 > rm -f conftest*
7744 >
7745 > fi
7746 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7747 > echo "${ECHO_T}$ac_pentiumpro" >&6
7748 > if test "$ac_pentiumpro" = yes; then
7749 >        :
7750 >        CPU_FLAGS=-mpentiumpro
7751 > else
7752 >        :
7753 >
7754 > fi
7755 >
7756 > fi
7757 >
7758 >                  ;;
7759 >          powerpc*)
7760 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
7761 >                is60x=`echo $cputype | egrep "^600-9e?$"`
7762 >                if test -n "$is60x"; then
7763 >
7764 >
7765 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7766 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7767 > if test "${ac_m_cpu_60x+set}" = set; then
7768 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7769 > else
7770 >  echo 'void f(){}' > conftest.c
7771 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
7772 >        ac_m_cpu_60x=yes
7773 > else
7774 >        ac_m_cpu_60x=no
7775 > fi
7776 > rm -f conftest*
7777 >
7778 > fi
7779 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7780 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
7781 > if test "$ac_m_cpu_60x" = yes; then
7782 >        :
7783 >        CPU_FLAGS=-mcpu=$cputype
7784 > else
7785 >        :
7786 >
7787 > fi
7788 >
7789 >                elif test "$cputype" = 750; then
7790 >
7791 >
7792 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7793 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7794 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7795 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7796 > else
7797 >
7798 > cat > conftest.c <<EOF
7799 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
7800 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
7801 >     yes;
7802 > #  endif
7803 > #endif
7804 > EOF
7805 > if { ac_try='${CC-cc} -E conftest.c'
7806 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 >  (eval $ac_try) 2>&5
7808 >  ac_status=$?
7809 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7811 >  ac_cv_prog_gcc_2_95=yes
7812 > else
7813 >  ac_cv_prog_gcc_2_95=no
7814 > fi
7815 >
7816 > fi
7817 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7818 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7819 > if test "$ac_cv_prog_gcc_2_95" = yes; then
7820 >        :
7821 >
7822 >
7823 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7824 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7825 > if test "${ac_m_cpu_750+set}" = set; then
7826 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7827 > else
7828 >  echo 'void f(){}' > conftest.c
7829 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
7830 >        ac_m_cpu_750=yes
7831 > else
7832 >        ac_m_cpu_750=no
7833 > fi
7834 > rm -f conftest*
7835 >
7836 > fi
7837 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7838 > echo "${ECHO_T}$ac_m_cpu_750" >&6
7839 > if test "$ac_m_cpu_750" = yes; then
7840 >        :
7841 >        CPU_FLAGS=-mcpu=750
7842 > else
7843 >        :
7844 >
7845 > fi
7846 >
7847 > else
7848 >        :
7849 >
7850 > fi
7851 >
7852 >                fi
7853 >                if test -z "$CPU_FLAGS"; then
7854 >
7855 >
7856 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7857 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7858 > if test "${ac_m_cpu_powerpc+set}" = set; then
7859 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7860 > else
7861 >  echo 'void f(){}' > conftest.c
7862 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
7863 >        ac_m_cpu_powerpc=yes
7864 > else
7865 >        ac_m_cpu_powerpc=no
7866 > fi
7867 > rm -f conftest*
7868 >
7869 > fi
7870 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7871 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7872 > if test "$ac_m_cpu_powerpc" = yes; then
7873 >        :
7874 >        CPU_FLAGS=-mcpu=powerpc
7875 > else
7876 >        :
7877 >
7878 > fi
7879 >
7880 >                fi
7881 >                if test -z "$CPU_FLAGS"; then
7882 >
7883 >
7884 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7885 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7886 > if test "${ac_m_powerpc+set}" = set; then
7887 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7888 > else
7889 >  echo 'void f(){}' > conftest.c
7890 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
7891 >        ac_m_powerpc=yes
7892 > else
7893 >        ac_m_powerpc=no
7894 > fi
7895 > rm -f conftest*
7896 >
7897 > fi
7898 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
7899 > echo "${ECHO_T}$ac_m_powerpc" >&6
7900 > if test "$ac_m_powerpc" = yes; then
7901 >        :
7902 >        CPU_FLAGS=-mpowerpc
7903 > else
7904 >        :
7905 >
7906 > fi
7907 >
7908 >                fi
7909 >          esac
7910 >  fi
7911 >
7912 >  if test -n "$CPU_FLAGS"; then
7913 >        CFLAGS="$CFLAGS $CPU_FLAGS"
7914 >  fi
7915 >
7916 >  if test -z "$CFLAGS"; then
7917 >        echo ""
7918 >        echo "********************************************************"
7919 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
7920 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
7921 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
7922 >        echo "********************************************************"
7923 >        echo ""
7924 >        CFLAGS="-O3"
7925 >  fi
7926 >
7927 >
7928 >
7929 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
7930 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
7931 > if test "${ac_guessed_cflags+set}" = set; then
7932 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7933 > else
7934 >  echo 'void f(){}' > conftest.c
7935 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
7936 >        ac_guessed_cflags=yes
7937 > else
7938 >        ac_guessed_cflags=no
7939 > fi
7940 > rm -f conftest*
7941 >
7942 > fi
7943 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
7944 > echo "${ECHO_T}$ac_guessed_cflags" >&6
7945 > if test "$ac_guessed_cflags" = yes; then
7946 >        :
7947 >
7948 > else
7949 >        :
7950 >
7951 >        echo ""
7952 >        echo "********************************************************"
7953 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
7954 >        echo "* your compiler.                                       *"
7955 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
7956 >        echo "********************************************************"
7957 >        echo ""
7958 >        CFLAGS=""
7959 >
7960 > fi
7961 >
7962 >
7963 > fi
7964 >
7965 >
7966 >
7967 >
7968 >
7969 >
7970 >
7971 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
7972 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
7973 > if test "${ac_cv_prog_really_gxx+set}" = set; then
7974 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7975 > else
7976 >
7977 > cat > conftest.cpp <<EOF
7978 > #ifdef __GNUC__
7979 >  #ifndef __INTEL_COMPILER
7980 >     yes;
7981 >  #endif
7982 > #endif
7983 > EOF
7984 > if { ac_try='${CXX-c++} -E conftest.cpp'
7985 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986 >  (eval $ac_try) 2>&5
7987 >  ac_status=$?
7988 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7990 >  ac_cv_prog_really_gxx=yes
7991 > else
7992 >  ac_cv_prog_really_gxx=no
7993 > fi
7994 >
7995 > fi
7996 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
7997 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
7998 > if test "$ac_cv_prog_really_gxx" = yes; then
7999 >        :
8000 >
8001 > else
8002 >        :
8003 >
8004 > fi
8005 >
8006 >
8007 > # Try to determine "good" native compiler flags if none specified on command
8008 > # line
8009 > if test "$ac_test_CXXFLAGS" != "set"; then
8010 >  CXXFLAGS=""
8011 >  case "${host_cpu}-${host_os}" in
8012 >
8013 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8014 >                    CXXFLAGS="-O"
8015 >                fi;;
8016 >  sparc-solaris2*) if test "$CXX" = CC; then
8017 >                    CXXFLAGS="-native -fast -xO5 -dalign"
8018 >                 fi;;
8019 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8020 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8021 >                fi;;
8022 >   powerpc*-aix*)
8023 >        if test "$CXX" = xlC; then
8024 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8025 >                echo "*******************************************************"
8026 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8027 >                echo "*  recommended that you use                           *"
8028 >                echo "*                                                     *"
8029 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8030 >                echo "*                                 ^^^                 *"
8031 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8032 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8033 >                echo "*******************************************************"
8034 >        fi;;
8035 >   *darwin*)
8036 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8037 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8038 >        fi;;
8039 >  esac
8040 >
8041 >  # use default flags for gcc on all systems
8042 >  if test $ac_cv_prog_really_gxx = yes; then
8043 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8044 >  fi
8045 >
8046 >  # test for gcc-specific flags:
8047 >  if test $ac_cv_prog_really_gxx = yes; then
8048 >    # -malign-double for x86 systems
8049 >
8050 >
8051 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8052 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8053 > if test "${ac_align_double+set}" = set; then
8054 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8055 > else
8056 >  echo 'void f(){}' > conftest.cpp
8057 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8058 >        ac_align_double=yes
8059 > else
8060 >        ac_align_double=no
8061 > fi
8062 > rm -f conftest*
8063 >
8064 > fi
8065 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8066 > echo "${ECHO_T}$ac_align_double" >&6
8067 > if test "$ac_align_double" = yes; then
8068 >        :
8069 >        CXXFLAGS="$CXXFLAGS -malign-double"
8070 > else
8071 >        :
8072 >
8073 > fi
8074 >
8075 >    # -fstrict-aliasing for gcc-2.95+
8076 >
8077 >
8078 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8079 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8080 > if test "${ac_fstrict_aliasing+set}" = set; then
8081 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8082 > else
8083 >  echo 'void f(){}' > conftest.cpp
8084 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8085 >        ac_fstrict_aliasing=yes
8086 > else
8087 >        ac_fstrict_aliasing=no
8088 > fi
8089 > rm -f conftest*
8090 >
8091 > fi
8092 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8093 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8094 > if test "$ac_fstrict_aliasing" = yes; then
8095 >        :
8096 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8097 > else
8098 >        :
8099 >
8100 > fi
8101 >
8102 >  fi
8103 >
8104 >  CPU_FLAGS=""
8105 >  if test $ac_cv_prog_really_gxx = yes; then
8106 >                  case "${host_cpu}" in
8107 >          i586*)
8108 >
8109 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8110 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8111 > if test "${ac_cpu_pentium+set}" = set; then
8112 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8113 > else
8114 >  echo 'void f(){}' > conftest.cpp
8115 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8116 >        ac_cpu_pentium=yes
8117 > else
8118 >        ac_cpu_pentium=no
8119 > fi
8120 > rm -f conftest*
8121 >
8122 > fi
8123 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8124 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8125 > if test "$ac_cpu_pentium" = yes; then
8126 >        :
8127 >        CPU_FLAGS=-mcpu=pentium
8128 > else
8129 >        :
8130 >
8131 >
8132 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8133 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8134 > if test "${ac_pentium+set}" = set; then
8135 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8136 > else
8137 >  echo 'void f(){}' > conftest.cpp
8138 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8139 >        ac_pentium=yes
8140 > else
8141 >        ac_pentium=no
8142 > fi
8143 > rm -f conftest*
8144 >
8145 > fi
8146 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8147 > echo "${ECHO_T}$ac_pentium" >&6
8148 > if test "$ac_pentium" = yes; then
8149 >        :
8150 >        CPU_FLAGS=-mpentium
8151 > else
8152 >        :
8153 >
8154 > fi
8155 >
8156 > fi
8157 >
8158 >                  ;;
8159 >          i686*)
8160 >
8161 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8162 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8163 > if test "${ac_cpu_pentiumpro+set}" = set; then
8164 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8165 > else
8166 >  echo 'void f(){}' > conftest.cpp
8167 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8168 >        ac_cpu_pentiumpro=yes
8169 > else
8170 >        ac_cpu_pentiumpro=no
8171 > fi
8172 > rm -f conftest*
8173 >
8174 > fi
8175 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8176 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8177 > if test "$ac_cpu_pentiumpro" = yes; then
8178 >        :
8179 >        CPU_FLAGS=-mcpu=pentiumpro
8180 > else
8181 >        :
8182 >
8183 >
8184 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8185 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8186 > if test "${ac_pentiumpro+set}" = set; then
8187 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8188 > else
8189 >  echo 'void f(){}' > conftest.cpp
8190 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8191 >        ac_pentiumpro=yes
8192 > else
8193 >        ac_pentiumpro=no
8194 > fi
8195 > rm -f conftest*
8196 >
8197 > fi
8198 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8199 > echo "${ECHO_T}$ac_pentiumpro" >&6
8200 > if test "$ac_pentiumpro" = yes; then
8201 >        :
8202 >        CPU_FLAGS=-mpentiumpro
8203 > else
8204 >        :
8205 >
8206 > fi
8207 >
8208 > fi
8209 >
8210 >                  ;;
8211 >          powerpc*)
8212 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8213 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8214 >                if test -n "$is60x"; then
8215 >
8216 >
8217 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8218 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8219 > if test "${ac_m_cpu_60x+set}" = set; then
8220 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8221 > else
8222 >  echo 'void f(){}' > conftest.cpp
8223 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8224 >        ac_m_cpu_60x=yes
8225 > else
8226 >        ac_m_cpu_60x=no
8227 > fi
8228 > rm -f conftest*
8229 >
8230 > fi
8231 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8232 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8233 > if test "$ac_m_cpu_60x" = yes; then
8234 >        :
8235 >        CPU_FLAGS=-mcpu=$cputype
8236 > else
8237 >        :
8238 >
8239 > fi
8240 >
8241 >                elif test "$cputype" = 750; then
8242 >
8243 >
8244 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8245 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8246 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8247 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8248 > else
8249 >
8250 > cat > conftest.cpp <<EOF
8251 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8252 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8253 >     yes;
8254 > #  endif
8255 > #endif
8256 > EOF
8257 > if { ac_try='${CXX-c++} -E conftest.cpp'
8258 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8259 >  (eval $ac_try) 2>&5
8260 >  ac_status=$?
8261 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8263 >  ac_cv_prog_gxx_2_95=yes
8264 > else
8265 >  ac_cv_prog_gxx_2_95=no
8266 > fi
8267 >
8268 > fi
8269 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8270 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8271 > if test "$ac_cv_prog_gxx_2_95" = yes; then
8272 >        :
8273 >
8274 >
8275 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8276 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8277 > if test "${ac_m_cpu_750+set}" = set; then
8278 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8279 > else
8280 >  echo 'void f(){}' > conftest.cpp
8281 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
8282 >        ac_m_cpu_750=yes
8283 > else
8284 >        ac_m_cpu_750=no
8285 > fi
8286 > rm -f conftest*
8287 >
8288 > fi
8289 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8290 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8291 > if test "$ac_m_cpu_750" = yes; then
8292 >        :
8293 >        CPU_FLAGS=-mcpu=750
8294 > else
8295 >        :
8296 >
8297 > fi
8298 >
8299 > else
8300 >        :
8301 >
8302 > fi
8303 >
8304 >                fi
8305 >                if test -z "$CPU_FLAGS"; then
8306 >
8307 >
8308 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8309 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8310 > if test "${ac_m_cpu_powerpc+set}" = set; then
8311 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8312 > else
8313 >  echo 'void f(){}' > conftest.cpp
8314 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
8315 >        ac_m_cpu_powerpc=yes
8316 > else
8317 >        ac_m_cpu_powerpc=no
8318 > fi
8319 > rm -f conftest*
8320 >
8321 > fi
8322 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8323 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8324 > if test "$ac_m_cpu_powerpc" = yes; then
8325 >        :
8326 >        CPU_FLAGS=-mcpu=powerpc
8327 > else
8328 >        :
8329 >
8330 > fi
8331 >
8332 >                fi
8333 >                if test -z "$CPU_FLAGS"; then
8334 >
8335 >
8336 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8337 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8338 > if test "${ac_m_powerpc+set}" = set; then
8339 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8340 > else
8341 >  echo 'void f(){}' > conftest.cpp
8342 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
8343 >        ac_m_powerpc=yes
8344 > else
8345 >        ac_m_powerpc=no
8346 > fi
8347 > rm -f conftest*
8348 >
8349 > fi
8350 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8351 > echo "${ECHO_T}$ac_m_powerpc" >&6
8352 > if test "$ac_m_powerpc" = yes; then
8353 >        :
8354 >        CPU_FLAGS=-mpowerpc
8355 > else
8356 >        :
8357 >
8358 > fi
8359 >
8360 >                fi
8361 >          esac
8362 >  fi
8363 >
8364 >  if test -n "$CPU_FLAGS"; then
8365 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
8366 >  fi
8367 >
8368 >  if test -z "$CXXFLAGS"; then
8369 >        echo ""
8370 >        echo "**********************************************************"
8371 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
8372 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8373 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
8374 >        echo "**********************************************************"
8375 >        echo ""
8376 >        CXXFLAGS="-O3"
8377 >  fi
8378 >
8379 >
8380 >
8381 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8382 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8383 > if test "${ac_guessed_cxxflags+set}" = set; then
8384 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8385 > else
8386 >  echo 'void f(){}' > conftest.cpp
8387 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
8388 >        ac_guessed_cxxflags=yes
8389 > else
8390 >        ac_guessed_cxxflags=no
8391 > fi
8392 > rm -f conftest*
8393 >
8394 > fi
8395 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8396 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8397 > if test "$ac_guessed_cxxflags" = yes; then
8398 >        :
8399 >
8400 > else
8401 >        :
8402 >
8403 >        echo ""
8404 >        echo "**********************************************************"
8405 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
8406 >        echo "* your compiler.                                         *"
8407 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8408 >        echo "**********************************************************"
8409 >        echo ""
8410 >        CXXFLAGS=""
8411 >
8412 > fi
8413 >
8414 >
8415 > fi
8416 >
8417 >
8418 >
8419 >
8420 >
8421 > # Try to determine "good" native compiler flags if none specified on command
8422 > # line
8423 >
8424 > if test x"$F90FLAGS" = x ; then
8425 >  F90FLAGS=""
8426 >  case "${host_cpu}-${host_os}" in
8427 >
8428 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
8429 >                    F90FLAGS="-O"
8430 >                fi;;
8431 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
8432 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8433 >                fi;;
8434 >   powerpc*-aix*)
8435 >        if test "$F90" = f90 -o "$F90" = xlf90; then
8436 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
8437 >                echo "*******************************************************"
8438 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8439 >                echo "*  recommended that you use                           *"
8440 >                echo "*                                                     *"
8441 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8442 >                echo "*                                 ^^^                 *"
8443 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8444 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
8445 >                echo "*******************************************************"
8446 >        fi;;
8447 >   *darwin*)
8448 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
8449 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
8450 >        fi;;
8451 >  esac
8452 >
8453 >  if test -n "$CPU_FLAGS"; then
8454 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
8455 >  fi
8456 >
8457 >  if test -z "$F90FLAGS"; then
8458 >        echo ""
8459 >        echo "**********************************************************"
8460 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
8461 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8462 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
8463 >        echo "**********************************************************"
8464 >        echo ""
8465 >        F90FLAGS="-O3"
8466 >  fi
8467 >
8468 >
8469 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8470 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8471 > if test "${ac_guessed_f90flags+set}" = set; then
8472 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8473 > else
8474 >
8475 >
8476 >
8477 > ac_ext=f90
8478 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8479 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8480 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
8481 >
8482 > echo 'program main' > conftest.$ac_ext
8483 > echo 'end program main' >> conftest.$ac_ext
8484 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8485 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8486 >  (eval $ac_compile) 2>&5
8487 >  ac_status=$?
8488 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 >  (exit $ac_status); }; then
8490 >        ac_guessed_f90flags=yes
8491 > else
8492 >        ac_guessed_f90flags=no
8493 > fi
8494 > rm -f conftest*
8495 > ac_ext=c
8496 > ac_cpp='$CPP $CPPFLAGS'
8497 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8498 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8499 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8500 >
8501 >
8502 > fi
8503 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8504 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
8505 > if test "$ac_guessed_f90flags" = yes; then
8506 >        :
8507 >
8508 > else
8509 >        :
8510 >
8511 >        echo ""
8512 >        echo "**********************************************************"
8513 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
8514 >        echo "* your compiler.                                         *"
8515 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8516 >        echo "**********************************************************"
8517 >        echo ""
8518 >        F90FLAGS=""
8519 >
8520 > fi
8521 >
8522 >
8523 > fi
8524 >
8525 >     ;;
8526 > esac
8527 >
8528 > # Find a good install program.  We prefer a C program (faster),
8529 > # so one script is as good as another.  But avoid the broken or
8530 > # incompatible versions:
8531 > # SysV /etc/install, /usr/sbin/install
8532 > # SunOS /usr/etc/install
8533 > # IRIX /sbin/install
8534 > # AIX /bin/install
8535 > # AmigaOS /C/install, which installs bootblocks on floppy discs
8536 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8537 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8538 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8539 > # OS/2's system install, which has a completely different semantic
8540 > # ./install, which can be erroneously created by make from ./install.sh.
8541 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8542 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8543 > if test -z "$INSTALL"; then
8544 > if test "${ac_cv_path_install+set}" = set; then
8545 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8546 > else
8547 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 > for as_dir in $PATH
8549 > do
8550 >  IFS=$as_save_IFS
8551 >  test -z "$as_dir" && as_dir=.
8552 >  # Account for people who put trailing slashes in PATH elements.
8553 > case $as_dir/ in
8554 >  ./ | .// | /cC/* | \
8555 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8556 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8557 >  /usr/ucb/* ) ;;
8558 >  *)
8559 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8560 >    # Don't use installbsd from OSF since it installs stuff as root
8561 >    # by default.
8562 >    for ac_prog in ginstall scoinst install; do
8563 >      for ac_exec_ext in '' $ac_executable_extensions; do
8564 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8565 >          if test $ac_prog = install &&
8566 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8567 >            # AIX install.  It has an incompatible calling convention.
8568 >            :
8569 >          elif test $ac_prog = install &&
8570 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8571 >            # program-specific install script used by HP pwplus--don't use.
8572 >            :
8573 >          else
8574 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8575 >            break 3
8576 >          fi
8577 >        fi
8578 >      done
8579 >    done
8580 >    ;;
8581 > esac
8582 > done
8583 >
8584 >
8585 > fi
8586 >  if test "${ac_cv_path_install+set}" = set; then
8587 >    INSTALL=$ac_cv_path_install
8588 >  else
8589 >    # As a last resort, use the slow shell script.  We don't cache a
8590 >    # path for INSTALL within a source directory, because that will
8591 >    # break other packages using the cache if that directory is
8592 >    # removed, or if the path is relative.
8593 >    INSTALL=$ac_install_sh
8594 >  fi
8595 > fi
8596 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8597 > echo "${ECHO_T}$INSTALL" >&6
8598 >
8599 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8600 > # It thinks the first close brace ends the variable substitution.
8601 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8602 >
8603 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8604 >
8605 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8606 >
8607 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8608 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8609 > LN_S=$as_ln_s
8610 > if test "$LN_S" = "ln -s"; then
8611 >  echo "$as_me:$LINENO: result: yes" >&5
8612 > echo "${ECHO_T}yes" >&6
8613 > else
8614 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8615 > echo "${ECHO_T}no, using $LN_S" >&6
8616 > fi
8617 >
8618 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8619 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8620 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8621 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8622 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8623 > else
8624 >  cat >conftest.make <<\_ACEOF
8625 > all:
8626 >        @echo 'ac_maketemp="$(MAKE)"'
8627 > _ACEOF
8628 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8629 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8630 > if test -n "$ac_maketemp"; then
8631 >  eval ac_cv_prog_make_${ac_make}_set=yes
8632 > else
8633 >  eval ac_cv_prog_make_${ac_make}_set=no
8634 > fi
8635 > rm -f conftest.make
8636 > fi
8637 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8638 >  echo "$as_me:$LINENO: result: yes" >&5
8639 > echo "${ECHO_T}yes" >&6
8640 >  SET_MAKE=
8641 > else
8642 >  echo "$as_me:$LINENO: result: no" >&5
8643 > echo "${ECHO_T}no" >&6
8644 >  SET_MAKE="MAKE=${MAKE-make}"
8645 > fi
8646 >
8647 > if test -n "$ac_tool_prefix"; then
8648 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8649 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8650 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8651 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8652 > if test "${ac_cv_prog_RANLIB+set}" = set; then
8653 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8654 > else
8655 >  if test -n "$RANLIB"; then
8656 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8657 > else
8658 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659 > for as_dir in $PATH
8660 > do
8661 >  IFS=$as_save_IFS
8662 >  test -z "$as_dir" && as_dir=.
8663 >  for ac_exec_ext in '' $ac_executable_extensions; do
8664 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8665 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8666 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8667 >    break 2
8668 >  fi
8669 > done
8670 > done
8671 >
8672 > fi
8673 > fi
8674 > RANLIB=$ac_cv_prog_RANLIB
8675 > if test -n "$RANLIB"; then
8676 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8677 > echo "${ECHO_T}$RANLIB" >&6
8678 > else
8679 >  echo "$as_me:$LINENO: result: no" >&5
8680 > echo "${ECHO_T}no" >&6
8681 > fi
8682 >
8683 > fi
8684 > if test -z "$ac_cv_prog_RANLIB"; then
8685 >  ac_ct_RANLIB=$RANLIB
8686 >  # Extract the first word of "ranlib", so it can be a program name with args.
8687 > set dummy ranlib; ac_word=$2
8688 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8689 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8690 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8691 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8692 > else
8693 >  if test -n "$ac_ct_RANLIB"; then
8694 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8695 > else
8696 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697 > for as_dir in $PATH
8698 > do
8699 >  IFS=$as_save_IFS
8700 >  test -z "$as_dir" && as_dir=.
8701 >  for ac_exec_ext in '' $ac_executable_extensions; do
8702 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8703 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
8704 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8705 >    break 2
8706 >  fi
8707 > done
8708 > done
8709 >
8710 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8711 > fi
8712 > fi
8713 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8714 > if test -n "$ac_ct_RANLIB"; then
8715 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8716 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
8717 > else
8718 >  echo "$as_me:$LINENO: result: no" >&5
8719 > echo "${ECHO_T}no" >&6
8720 > fi
8721 >
8722 >  RANLIB=$ac_ct_RANLIB
8723 > else
8724 >  RANLIB="$ac_cv_prog_RANLIB"
8725 > fi
8726 >
8727 > for ac_prog in 'bison -y' byacc
8728 > do
8729 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8730 > set dummy $ac_prog; ac_word=$2
8731 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8732 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8733 > if test "${ac_cv_prog_YACC+set}" = set; then
8734 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8735 > else
8736 >  if test -n "$YACC"; then
8737 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
8738 > else
8739 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 > for as_dir in $PATH
8741 > do
8742 >  IFS=$as_save_IFS
8743 >  test -z "$as_dir" && as_dir=.
8744 >  for ac_exec_ext in '' $ac_executable_extensions; do
8745 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746 >    ac_cv_prog_YACC="$ac_prog"
8747 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 >    break 2
8749 >  fi
8750 > done
8751 > done
8752 >
8753 > fi
8754 > fi
8755 > YACC=$ac_cv_prog_YACC
8756 > if test -n "$YACC"; then
8757 >  echo "$as_me:$LINENO: result: $YACC" >&5
8758 > echo "${ECHO_T}$YACC" >&6
8759 > else
8760 >  echo "$as_me:$LINENO: result: no" >&5
8761 > echo "${ECHO_T}no" >&6
8762 > fi
8763 >
8764 >  test -n "$YACC" && break
8765 > done
8766 > test -n "$YACC" || YACC="yacc"
8767 >
8768 > for ac_prog in flex lex
8769 > do
8770 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8771 > set dummy $ac_prog; ac_word=$2
8772 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8773 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8774 > if test "${ac_cv_prog_LEX+set}" = set; then
8775 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8776 > else
8777 >  if test -n "$LEX"; then
8778 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
8779 > else
8780 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8781 > for as_dir in $PATH
8782 > do
8783 >  IFS=$as_save_IFS
8784 >  test -z "$as_dir" && as_dir=.
8785 >  for ac_exec_ext in '' $ac_executable_extensions; do
8786 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8787 >    ac_cv_prog_LEX="$ac_prog"
8788 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 >    break 2
8790 >  fi
8791 > done
8792 > done
8793 >
8794 > fi
8795 > fi
8796 > LEX=$ac_cv_prog_LEX
8797 > if test -n "$LEX"; then
8798 >  echo "$as_me:$LINENO: result: $LEX" >&5
8799 > echo "${ECHO_T}$LEX" >&6
8800 > else
8801 >  echo "$as_me:$LINENO: result: no" >&5
8802 > echo "${ECHO_T}no" >&6
8803 > fi
8804 >
8805 >  test -n "$LEX" && break
8806 > done
8807 > test -n "$LEX" || LEX=":"
8808 >
8809 > if test -z "$LEXLIB"
8810 > then
8811 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8812 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8813 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8814 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8815 > else
8816 >  ac_check_lib_save_LIBS=$LIBS
8817 > LIBS="-lfl  $LIBS"
8818 > cat >conftest.$ac_ext <<_ACEOF
8819 > /* confdefs.h.  */
8820 > _ACEOF
8821 > cat confdefs.h >>conftest.$ac_ext
8822 > cat >>conftest.$ac_ext <<_ACEOF
8823 > /* end confdefs.h.  */
8824 >
8825 > /* Override any gcc2 internal prototype to avoid an error.  */
8826 > #ifdef __cplusplus
8827 > extern "C"
8828 > #endif
8829 > /* We use char because int might match the return type of a gcc2
8830 >   builtin and then its argument prototype would still apply.  */
8831 > char yywrap ();
8832 > int
8833 > main ()
8834 > {
8835 > yywrap ();
8836 >  ;
8837 >  return 0;
8838 > }
8839 > _ACEOF
8840 > rm -f conftest.$ac_objext conftest$ac_exeext
8841 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8842 >  (eval $ac_link) 2>conftest.er1
8843 >  ac_status=$?
8844 >  grep -v '^ *+' conftest.er1 >conftest.err
8845 >  rm -f conftest.er1
8846 >  cat conftest.err >&5
8847 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 >  (exit $ac_status); } &&
8849 >         { ac_try='test -z "$ac_c_werror_flag"
8850 >                         || test ! -s conftest.err'
8851 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852 >  (eval $ac_try) 2>&5
8853 >  ac_status=$?
8854 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 >  (exit $ac_status); }; } &&
8856 >         { ac_try='test -s conftest$ac_exeext'
8857 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 >  (eval $ac_try) 2>&5
8859 >  ac_status=$?
8860 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 >  (exit $ac_status); }; }; then
8862 >  ac_cv_lib_fl_yywrap=yes
8863 > else
8864 >  echo "$as_me: failed program was:" >&5
8865 > sed 's/^/| /' conftest.$ac_ext >&5
8866 >
8867 > ac_cv_lib_fl_yywrap=no
8868 > fi
8869 > rm -f conftest.err conftest.$ac_objext \
8870 >      conftest$ac_exeext conftest.$ac_ext
8871 > LIBS=$ac_check_lib_save_LIBS
8872 > fi
8873 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8874 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8875 > if test $ac_cv_lib_fl_yywrap = yes; then
8876 >  LEXLIB="-lfl"
8877 > else
8878 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8879 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8880 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
8881 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8882 > else
8883 >  ac_check_lib_save_LIBS=$LIBS
8884 > LIBS="-ll  $LIBS"
8885 > cat >conftest.$ac_ext <<_ACEOF
8886 > /* confdefs.h.  */
8887 > _ACEOF
8888 > cat confdefs.h >>conftest.$ac_ext
8889 > cat >>conftest.$ac_ext <<_ACEOF
8890 > /* end confdefs.h.  */
8891 >
8892 > /* Override any gcc2 internal prototype to avoid an error.  */
8893 > #ifdef __cplusplus
8894 > extern "C"
8895 > #endif
8896 > /* We use char because int might match the return type of a gcc2
8897 >   builtin and then its argument prototype would still apply.  */
8898 > char yywrap ();
8899 > int
8900 > main ()
8901 > {
8902 > yywrap ();
8903 >  ;
8904 >  return 0;
8905 > }
8906 > _ACEOF
8907 > rm -f conftest.$ac_objext conftest$ac_exeext
8908 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8909 >  (eval $ac_link) 2>conftest.er1
8910 >  ac_status=$?
8911 >  grep -v '^ *+' conftest.er1 >conftest.err
8912 >  rm -f conftest.er1
8913 >  cat conftest.err >&5
8914 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 >  (exit $ac_status); } &&
8916 >         { ac_try='test -z "$ac_c_werror_flag"
8917 >                         || test ! -s conftest.err'
8918 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 >  (eval $ac_try) 2>&5
8920 >  ac_status=$?
8921 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 >  (exit $ac_status); }; } &&
8923 >         { ac_try='test -s conftest$ac_exeext'
8924 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925 >  (eval $ac_try) 2>&5
8926 >  ac_status=$?
8927 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 >  (exit $ac_status); }; }; then
8929 >  ac_cv_lib_l_yywrap=yes
8930 > else
8931 >  echo "$as_me: failed program was:" >&5
8932 > sed 's/^/| /' conftest.$ac_ext >&5
8933 >
8934 > ac_cv_lib_l_yywrap=no
8935 > fi
8936 > rm -f conftest.err conftest.$ac_objext \
8937 >      conftest$ac_exeext conftest.$ac_ext
8938 > LIBS=$ac_check_lib_save_LIBS
8939 > fi
8940 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
8941 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
8942 > if test $ac_cv_lib_l_yywrap = yes; then
8943 >  LEXLIB="-ll"
8944 > fi
8945 >
8946 > fi
8947 >
8948 > fi
8949 >
8950 > if test "x$LEX" != "x:"; then
8951 >  echo "$as_me:$LINENO: checking lex output file root" >&5
8952 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
8953 > if test "${ac_cv_prog_lex_root+set}" = set; then
8954 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8955 > else
8956 >  # The minimal lex program is just a single line: %%.  But some broken lexes
8957 > # (Solaris, I think it was) want two %% lines, so accommodate them.
8958 > cat >conftest.l <<_ACEOF
8959 > %%
8960 > %%
8961 > _ACEOF
8962 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
8963 >  (eval $LEX conftest.l) 2>&5
8964 >  ac_status=$?
8965 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 >  (exit $ac_status); }
8967 > if test -f lex.yy.c; then
8968 >  ac_cv_prog_lex_root=lex.yy
8969 > elif test -f lexyy.c; then
8970 >  ac_cv_prog_lex_root=lexyy
8971 > else
8972 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
8973 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
8974 >   { (exit 1); exit 1; }; }
8975 > fi
8976 > fi
8977 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
8978 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
8979 > rm -f conftest.l
8980 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
8981 >
8982 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
8983 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
8984 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
8985 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8986 > else
8987 >  # POSIX says lex can declare yytext either as a pointer or an array; the
8988 > # default is implementation-dependent. Figure out which it is, since
8989 > # not all implementations provide the %pointer and %array declarations.
8990 > ac_cv_prog_lex_yytext_pointer=no
8991 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
8992 > ac_save_LIBS=$LIBS
8993 > LIBS="$LIBS $LEXLIB"
8994 > cat >conftest.$ac_ext <<_ACEOF
8995 > `cat $LEX_OUTPUT_ROOT.c`
8996 > _ACEOF
8997 > rm -f conftest.$ac_objext conftest$ac_exeext
8998 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8999 >  (eval $ac_link) 2>conftest.er1
9000 >  ac_status=$?
9001 >  grep -v '^ *+' conftest.er1 >conftest.err
9002 >  rm -f conftest.er1
9003 >  cat conftest.err >&5
9004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 >  (exit $ac_status); } &&
9006 >         { ac_try='test -z "$ac_c_werror_flag"
9007 >                         || test ! -s conftest.err'
9008 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 >  (eval $ac_try) 2>&5
9010 >  ac_status=$?
9011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 >  (exit $ac_status); }; } &&
9013 >         { ac_try='test -s conftest$ac_exeext'
9014 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 >  (eval $ac_try) 2>&5
9016 >  ac_status=$?
9017 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 >  (exit $ac_status); }; }; then
9019 >  ac_cv_prog_lex_yytext_pointer=yes
9020 > else
9021 >  echo "$as_me: failed program was:" >&5
9022 > sed 's/^/| /' conftest.$ac_ext >&5
9023 >
9024 > fi
9025 > rm -f conftest.err conftest.$ac_objext \
9026 >      conftest$ac_exeext conftest.$ac_ext
9027 > LIBS=$ac_save_LIBS
9028 > rm -f "${LEX_OUTPUT_ROOT}.c"
9029 >
9030 > fi
9031 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9032 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9033 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9034 >
9035 > cat >>confdefs.h <<\_ACEOF
9036 > #define YYTEXT_POINTER 1
9037 > _ACEOF
9038 >
9039 > fi
9040 >
9041 > fi
9042 >
9043 >   # Extract the first word of "perl", so it can be a program name with args.
9044 > set dummy perl; ac_word=$2
9045 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9046 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9047 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9048 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9049 > else
9050 >  case $PERLINTERP in
9051 >  [\\/]* | ?:[\\/]*)
9052 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9053 >  ;;
9054 >  *)
9055 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056 > for as_dir in $PATH
9057 > do
9058 >  IFS=$as_save_IFS
9059 >  test -z "$as_dir" && as_dir=.
9060 >  for ac_exec_ext in '' $ac_executable_extensions; do
9061 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9062 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9063 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 >    break 2
9065 >  fi
9066 > done
9067 > done
9068 >
9069 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9070 >  ;;
9071 > esac
9072 > fi
9073 > PERLINTERP=$ac_cv_path_PERLINTERP
9074 >
9075 > if test -n "$PERLINTERP"; then
9076 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9077 > echo "${ECHO_T}$PERLINTERP" >&6
9078 > else
9079 >  echo "$as_me:$LINENO: result: no" >&5
9080 > echo "${ECHO_T}no" >&6
9081 > fi
9082 >
9083 >   ac_cv_path_perlinterp="$PERLINTERP"
9084 >   _sHpB='#!'
9085 >
9086 >
9087 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9088 > if test "${with_perl_shebang+set}" = set; then
9089 >  withval="$with_perl_shebang"
9090 >  opt_perl_shebang="$withval"
9091 > else
9092 >                opt_perl_shebang="not_set"
9093 > fi;
9094 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9095 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9096 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9097 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9098 > else
9099 >   case "$opt_perl_shebang" in
9100 >                      not_set  ) ax_cv_opt_perl_shebang=''
9101 >                               ;;
9102 >                         *     )
9103 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9104 >                    esac
9105 >
9106 > fi
9107 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9108 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9109 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9110 >     then
9111 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9112 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9113 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9114 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9115 >
9116 > # Automatic detection of sharpbang formula starts here
9117 >     else
9118 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9119 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9120 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9121 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9122 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9123 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9124 > else
9125 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9126 >        if test "x$_somian_kspb_perl" == x
9127 >          then _somian_ksbp_warn_empty='durnit'
9128 >          else
9129 >          case "A$_somian_kspb_perl" in
9130 >                 A#!*perl* )
9131 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9132 >                        ;;
9133 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9134 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9135 >          esac
9136 >        fi
9137 >
9138 > fi
9139 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9140 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9141 > # The above prints Checking ... result message to user.
9142 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9143 >
9144 >    if test A${_somian_ksbp_warn_empty+set} == Aset
9145 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9146 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9147 >    fi
9148 > # Inform user after printing result value
9149 >    if test A${_somian_ksbp_warn_defau+set} == Aset
9150 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9151 > echo "$as_me: Maybe Not good -" >&6;}
9152 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9153 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9154 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
9155 > echo "$as_me: OK Good result - " >&6;}
9156 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9157 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9158 >    fi
9159 >  fi
9160 >
9161 > # Extract the first word of "ar", so it can be a program name with args.
9162 > set dummy ar; ac_word=$2
9163 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9164 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9165 > if test "${ac_cv_prog_AR+set}" = set; then
9166 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9167 > else
9168 >  if test -n "$AR"; then
9169 >  ac_cv_prog_AR="$AR" # Let the user override the test.
9170 > else
9171 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9172 > for as_dir in $PATH
9173 > do
9174 >  IFS=$as_save_IFS
9175 >  test -z "$as_dir" && as_dir=.
9176 >  for ac_exec_ext in '' $ac_executable_extensions; do
9177 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9178 >    ac_cv_prog_AR="ar"
9179 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 >    break 2
9181 >  fi
9182 > done
9183 > done
9184 >
9185 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9186 > fi
9187 > fi
9188 > AR=$ac_cv_prog_AR
9189 > if test -n "$AR"; then
9190 >  echo "$as_me:$LINENO: result: $AR" >&5
9191 > echo "${ECHO_T}$AR" >&6
9192 > else
9193 >  echo "$as_me:$LINENO: result: no" >&5
9194 > echo "${ECHO_T}no" >&6
9195 > fi
9196 >
9197 > if test "$AR" = "NONE"; then
9198 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9199 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9200 >   { (exit 1); exit 1; }; }
9201 >  cat >confcache <<\_ACEOF
9202 > # This file is a shell script that caches the results of configure
9203 > # tests run on this system so they can be shared between configure
9204 > # scripts and configure runs, see configure's option --config-cache.
9205 > # It is not useful on other systems.  If it contains results you don't
9206 > # want to keep, you may remove or edit it.
9207 > #
9208 > # config.status only pays attention to the cache file if you give it
9209 > # the --recheck option to rerun configure.
9210 > #
9211 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9212 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
9213 > # following values.
9214 >
9215 > _ACEOF
9216 >
9217 > # The following way of writing the cache mishandles newlines in values,
9218 > # but we know of no workaround that is simple, portable, and efficient.
9219 > # So, don't put newlines in cache variables' values.
9220 > # Ultrix sh set writes to stderr and can't be redirected directly,
9221 > # and sets the high bit in the cache file unless we assign to the vars.
9222 > {
9223 >  (set) 2>&1 |
9224 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9225 >    *ac_space=\ *)
9226 >      # `set' does not quote correctly, so add quotes (double-quote
9227 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
9228 >      sed -n \
9229 >        "s/'/'\\\\''/g;
9230 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9231 >      ;;
9232 >    *)
9233 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
9234 >      sed -n \
9235 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9236 >      ;;
9237 >    esac;
9238 > } |
9239 >  sed '
9240 >     t clear
9241 >     : clear
9242 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9243 >     t end
9244 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9245 >     : end' >>confcache
9246 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9247 >  if test -w $cache_file; then
9248 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9249 >    cat confcache >$cache_file
9250 >  else
9251 >    echo "not updating unwritable cache $cache_file"
9252 >  fi
9253 > fi
9254 > rm -f confcache
9255 >  exit 1
9256 > fi
9257 >
9258 > # Extract the first word of "ps", so it can be a program name with args.
9259 > set dummy ps; ac_word=$2
9260 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9261 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9262 > if test "${ac_cv_path_PS+set}" = set; then
9263 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9264 > else
9265 >  case $PS in
9266 >  [\\/]* | ?:[\\/]*)
9267 >  ac_cv_path_PS="$PS" # Let the user override the test with a path.
9268 >  ;;
9269 >  *)
9270 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 > for as_dir in $PATH
9272 > do
9273 >  IFS=$as_save_IFS
9274 >  test -z "$as_dir" && as_dir=.
9275 >  for ac_exec_ext in '' $ac_executable_extensions; do
9276 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9277 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9278 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9279 >    break 2
9280 >  fi
9281 > done
9282 > done
9283 >
9284 >  ;;
9285 > esac
9286 > fi
9287 > PS=$ac_cv_path_PS
9288 >
9289 > if test -n "$PS"; then
9290 >  echo "$as_me:$LINENO: result: $PS" >&5
9291 > echo "${ECHO_T}$PS" >&6
9292 > else
9293 >  echo "$as_me:$LINENO: result: no" >&5
9294 > echo "${ECHO_T}no" >&6
9295 > fi
9296 >
9297 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9298 > echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9299 > if test "${ac_cv_prog_ps_syntax+set}" = set; then
9300 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9301 > else
9302 >
9303 >        if $PS ax -o rss > /dev/null 2>&1; then
9304 >                ac_cv_prog_ps_ax=yes
9305 >        else
9306 >                ac_cv_prog_ps_ax=no
9307 >        fi
9308 >        if $PS -ef -o rss > /dev/null 2>&1; then
9309 >                ac_cv_prog_ps_ef=yes
9310 >        else
9311 >                ac_cv_prog_ps_ef=no
9312 >        fi
9313 >        if test "$ac_cv_prog_ps_ax" = yes; then
9314 >                ac_cv_prog_ps_syntax=BSD
9315 >        else
9316 >                if test "$ac_cv_prog_ps_ef" = yes; then
9317 >                        ac_cv_prog_ps_syntax=POSIX
9318 >                else
9319 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9320 > echo "$as_me: error: Could not determine ps syntax" >&2;}
9321 >   { (exit 1); exit 1; }; }
9322 >                fi
9323 >        fi
9324 >
9325 > fi
9326 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9327 > echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9328 >
9329 >
9330 > cat >>confdefs.h <<_ACEOF
9331 > #define PSCOMMAND $PS
9332 > _ACEOF
9333 >
9334 >
9335 > cat >>confdefs.h <<\_ACEOF
9336 > #define OBAPI
9337 > _ACEOF
9338 >
9339 >
9340 >
9341 > if test "$ac_cv_prog_ps_syntax" = BSD; then
9342 >  cat >>confdefs.h <<\_ACEOF
9343 > #define PSTYPE_IS_BSD 1
9344 > _ACEOF
9345 >
9346 > else
9347 >   if test "$ac_cv_prog_ps_syntax" = POSIX; then
9348 >       cat >>confdefs.h <<\_ACEOF
9349 > #define PSTYPE_IS_POSIX 1
9350 > _ACEOF
9351 >
9352 >   else
9353 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9354 > echo "$as_me: error: Unknown ps syntax type!" >&2;}
9355 >   { (exit 1); exit 1; }; }
9356 >   fi
9357 > fi
9358 >
9359 >
9360 > # Check whether --with-mpi or --without-mpi was given.
9361 > if test "${with_mpi+set}" = set; then
9362 >  withval="$with_mpi"
9363 >  with_mpi=$withval
9364 > else
9365 >  with_mpi="no"
9366 > fi;
9367 >
9368 > case "x$with_mpi" in
9369 >        xyes | "x")  USE_MPI=yes;;
9370 >        xno) USE_MPI=no ;;
9371 >        *) MPI="$with_mpi"; USE_MPI=yes ;;
9372 > esac
9373 > if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
9374 >        MPI="/usr/local"
9375 > fi
9376 > if test "$USE_MPI" = "yes"; then
9377 >
9378 >
9379 > # Set variables...
9380 > MPI_LIB_DIR="$MPI/lib"
9381 > MPI_INC_DIR="$MPI/include"
9382 >
9383 >
9384 >
9385 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9386 > echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9387 > have_mpi_h=0
9388 > rm -f conftest*
9389 > echo '#include <mpi.h>' > conftest.cc
9390 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9391 >        echo "$as_me:$LINENO: result: yes" >&5
9392 > echo "${ECHO_T}yes" >&6
9393 >        have_mpi_h=1
9394 > else
9395 >        if test -s conftest.out ; then
9396 >                cat conftest.out >> config.log
9397 >        fi
9398 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9399 > echo "${ECHO_T}no! Check MPI include paths" >&6
9400 >        USE_MPI="no"
9401 > fi
9402 > rm -f conftest*
9403 > if test "$have_mpi_h" = 1; then
9404 >
9405 > cat >>confdefs.h <<\_ACEOF
9406 > #define HAVE_MPI_H 1
9407 > _ACEOF
9408 >
9409 > fi
9410 >
9411 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9412 > echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9413 > have_mpif_h=0
9414 > rm -f conftest*
9415 > cat >conftest.f90 <<EOF
9416 > program main
9417 >   include 'mpif.h'
9418 > end
9419 > EOF
9420 > if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9421 >        echo "$as_me:$LINENO: result: yes" >&5
9422 > echo "${ECHO_T}yes" >&6
9423 >        MPI_F90_INC="$MPI_INC_DIR"
9424 >        have_mpif_h=1
9425 > else
9426 >        if test -s conftest.out ; then
9427 >                cat conftest.out >> config.log
9428 >        fi
9429 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9430 > echo "${ECHO_T}no! Check MPI include paths" >&6
9431 >        USE_MPI="no"
9432 > fi
9433 > rm -f conftest*
9434 >
9435 > if test "$have_mpif_h" = 1; then
9436 >
9437 > cat >>confdefs.h <<\_ACEOF
9438 > #define HAVE_MPIF_H 1
9439 > _ACEOF
9440 >
9441 > fi
9442 >
9443 > ac_ext=c
9444 > ac_cpp='$CPP $CPPFLAGS'
9445 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9446 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9447 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9448 >
9449 > ac_save_LDFLAGS=$LDFLAGS
9450 > LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9451 >
9452 > if test x = x"$MPI_LIB"; then
9453 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9454 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9455 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9456 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9457 > else
9458 >  ac_check_lib_save_LIBS=$LIBS
9459 > LIBS="-lmpich  $LIBS"
9460 > cat >conftest.$ac_ext <<_ACEOF
9461 > /* confdefs.h.  */
9462 > _ACEOF
9463 > cat confdefs.h >>conftest.$ac_ext
9464 > cat >>conftest.$ac_ext <<_ACEOF
9465 > /* end confdefs.h.  */
9466 >
9467 > /* Override any gcc2 internal prototype to avoid an error.  */
9468 > #ifdef __cplusplus
9469 > extern "C"
9470 > #endif
9471 > /* We use char because int might match the return type of a gcc2
9472 >   builtin and then its argument prototype would still apply.  */
9473 > char MPI_Init ();
9474 > int
9475 > main ()
9476 > {
9477 > MPI_Init ();
9478 >  ;
9479 >  return 0;
9480 > }
9481 > _ACEOF
9482 > rm -f conftest.$ac_objext conftest$ac_exeext
9483 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9484 >  (eval $ac_link) 2>conftest.er1
9485 >  ac_status=$?
9486 >  grep -v '^ *+' conftest.er1 >conftest.err
9487 >  rm -f conftest.er1
9488 >  cat conftest.err >&5
9489 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 >  (exit $ac_status); } &&
9491 >         { ac_try='test -z "$ac_c_werror_flag"
9492 >                         || test ! -s conftest.err'
9493 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 >  (eval $ac_try) 2>&5
9495 >  ac_status=$?
9496 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 >  (exit $ac_status); }; } &&
9498 >         { ac_try='test -s conftest$ac_exeext'
9499 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 >  (eval $ac_try) 2>&5
9501 >  ac_status=$?
9502 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 >  (exit $ac_status); }; }; then
9504 >  ac_cv_lib_mpich_MPI_Init=yes
9505 > else
9506 >  echo "$as_me: failed program was:" >&5
9507 > sed 's/^/| /' conftest.$ac_ext >&5
9508 >
9509 > ac_cv_lib_mpich_MPI_Init=no
9510 > fi
9511 > rm -f conftest.err conftest.$ac_objext \
9512 >      conftest$ac_exeext conftest.$ac_ext
9513 > LIBS=$ac_check_lib_save_LIBS
9514 > fi
9515 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9516 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9517 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9518 >  MPI_LIB="-lmpich"
9519 > fi
9520 >
9521 > fi
9522 > if test x = x"$MPI_LIB"; then
9523 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9524 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9525 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9526 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9527 > else
9528 >  ac_check_lib_save_LIBS=$LIBS
9529 > LIBS="-lmpi  $LIBS"
9530 > cat >conftest.$ac_ext <<_ACEOF
9531 > /* confdefs.h.  */
9532 > _ACEOF
9533 > cat confdefs.h >>conftest.$ac_ext
9534 > cat >>conftest.$ac_ext <<_ACEOF
9535 > /* end confdefs.h.  */
9536 >
9537 > /* Override any gcc2 internal prototype to avoid an error.  */
9538 > #ifdef __cplusplus
9539 > extern "C"
9540 > #endif
9541 > /* We use char because int might match the return type of a gcc2
9542 >   builtin and then its argument prototype would still apply.  */
9543 > char MPI_Init ();
9544 > int
9545 > main ()
9546 > {
9547 > MPI_Init ();
9548 >  ;
9549 >  return 0;
9550 > }
9551 > _ACEOF
9552 > rm -f conftest.$ac_objext conftest$ac_exeext
9553 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9554 >  (eval $ac_link) 2>conftest.er1
9555 >  ac_status=$?
9556 >  grep -v '^ *+' conftest.er1 >conftest.err
9557 >  rm -f conftest.er1
9558 >  cat conftest.err >&5
9559 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 >  (exit $ac_status); } &&
9561 >         { ac_try='test -z "$ac_c_werror_flag"
9562 >                         || test ! -s conftest.err'
9563 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564 >  (eval $ac_try) 2>&5
9565 >  ac_status=$?
9566 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 >  (exit $ac_status); }; } &&
9568 >         { ac_try='test -s conftest$ac_exeext'
9569 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 >  (eval $ac_try) 2>&5
9571 >  ac_status=$?
9572 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 >  (exit $ac_status); }; }; then
9574 >  ac_cv_lib_mpi_MPI_Init=yes
9575 > else
9576 >  echo "$as_me: failed program was:" >&5
9577 > sed 's/^/| /' conftest.$ac_ext >&5
9578 >
9579 > ac_cv_lib_mpi_MPI_Init=no
9580 > fi
9581 > rm -f conftest.err conftest.$ac_objext \
9582 >      conftest$ac_exeext conftest.$ac_ext
9583 > LIBS=$ac_check_lib_save_LIBS
9584 > fi
9585 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9586 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9587 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9588 >  MPI_LIB="-lmpi"
9589 > fi
9590 >
9591 > fi
9592 > $as_unset ac_cv_lib_mpi_MPI_Init
9593 > if test x = x"$MPI_LIB"; then
9594 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9595 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9596 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9597 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9598 > else
9599 >  ac_check_lib_save_LIBS=$LIBS
9600 > LIBS="-lmpi "-llam" $LIBS"
9601 > cat >conftest.$ac_ext <<_ACEOF
9602 > /* confdefs.h.  */
9603 > _ACEOF
9604 > cat confdefs.h >>conftest.$ac_ext
9605 > cat >>conftest.$ac_ext <<_ACEOF
9606 > /* end confdefs.h.  */
9607 >
9608 > /* Override any gcc2 internal prototype to avoid an error.  */
9609 > #ifdef __cplusplus
9610 > extern "C"
9611 > #endif
9612 > /* We use char because int might match the return type of a gcc2
9613 >   builtin and then its argument prototype would still apply.  */
9614 > char MPI_Init ();
9615 > int
9616 > main ()
9617 > {
9618 > MPI_Init ();
9619 >  ;
9620 >  return 0;
9621 > }
9622 > _ACEOF
9623 > rm -f conftest.$ac_objext conftest$ac_exeext
9624 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9625 >  (eval $ac_link) 2>conftest.er1
9626 >  ac_status=$?
9627 >  grep -v '^ *+' conftest.er1 >conftest.err
9628 >  rm -f conftest.er1
9629 >  cat conftest.err >&5
9630 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 >  (exit $ac_status); } &&
9632 >         { ac_try='test -z "$ac_c_werror_flag"
9633 >                         || test ! -s conftest.err'
9634 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 >  (eval $ac_try) 2>&5
9636 >  ac_status=$?
9637 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 >  (exit $ac_status); }; } &&
9639 >         { ac_try='test -s conftest$ac_exeext'
9640 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641 >  (eval $ac_try) 2>&5
9642 >  ac_status=$?
9643 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 >  (exit $ac_status); }; }; then
9645 >  ac_cv_lib_mpi_MPI_Init=yes
9646 > else
9647 >  echo "$as_me: failed program was:" >&5
9648 > sed 's/^/| /' conftest.$ac_ext >&5
9649 >
9650 > ac_cv_lib_mpi_MPI_Init=no
9651 > fi
9652 > rm -f conftest.err conftest.$ac_objext \
9653 >      conftest$ac_exeext conftest.$ac_ext
9654 > LIBS=$ac_check_lib_save_LIBS
9655 > fi
9656 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9657 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9658 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9659 >  MPI_LIB="-lmpi -llam"
9660 > fi
9661 >
9662 > fi
9663 > $as_unset ac_cv_lib_mpich_MPI_Init
9664 > if test x = x"$MPI_LIB"; then
9665 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9666 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9667 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9668 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9669 > else
9670 >  ac_check_lib_save_LIBS=$LIBS
9671 > LIBS="-lmpich "-lpmpich" $LIBS"
9672 > cat >conftest.$ac_ext <<_ACEOF
9673 > /* confdefs.h.  */
9674 > _ACEOF
9675 > cat confdefs.h >>conftest.$ac_ext
9676 > cat >>conftest.$ac_ext <<_ACEOF
9677 > /* end confdefs.h.  */
9678 >
9679 > /* Override any gcc2 internal prototype to avoid an error.  */
9680 > #ifdef __cplusplus
9681 > extern "C"
9682 > #endif
9683 > /* We use char because int might match the return type of a gcc2
9684 >   builtin and then its argument prototype would still apply.  */
9685 > char MPI_Init ();
9686 > int
9687 > main ()
9688 > {
9689 > MPI_Init ();
9690 >  ;
9691 >  return 0;
9692 > }
9693 > _ACEOF
9694 > rm -f conftest.$ac_objext conftest$ac_exeext
9695 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9696 >  (eval $ac_link) 2>conftest.er1
9697 >  ac_status=$?
9698 >  grep -v '^ *+' conftest.er1 >conftest.err
9699 >  rm -f conftest.er1
9700 >  cat conftest.err >&5
9701 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 >  (exit $ac_status); } &&
9703 >         { ac_try='test -z "$ac_c_werror_flag"
9704 >                         || test ! -s conftest.err'
9705 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706 >  (eval $ac_try) 2>&5
9707 >  ac_status=$?
9708 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 >  (exit $ac_status); }; } &&
9710 >         { ac_try='test -s conftest$ac_exeext'
9711 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 >  (eval $ac_try) 2>&5
9713 >  ac_status=$?
9714 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 >  (exit $ac_status); }; }; then
9716 >  ac_cv_lib_mpich_MPI_Init=yes
9717 > else
9718 >  echo "$as_me: failed program was:" >&5
9719 > sed 's/^/| /' conftest.$ac_ext >&5
9720 >
9721 > ac_cv_lib_mpich_MPI_Init=no
9722 > fi
9723 > rm -f conftest.err conftest.$ac_objext \
9724 >      conftest$ac_exeext conftest.$ac_ext
9725 > LIBS=$ac_check_lib_save_LIBS
9726 > fi
9727 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9728 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9729 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9730 >  MPI_LIB="-lmpich -lpmpich"
9731 > fi
9732 >
9733 > fi
9734 >
9735 > $as_unset ac_cv_lib_mpi_MPI_Init
9736 > if test x = x"$MPI_LIB"; then
9737 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9738 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9739 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9740 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9741 > else
9742 >  ac_check_lib_save_LIBS=$LIBS
9743 > LIBS="-lmpi -llam -lpthread $LIBS"
9744 > cat >conftest.$ac_ext <<_ACEOF
9745 > /* confdefs.h.  */
9746 > _ACEOF
9747 > cat confdefs.h >>conftest.$ac_ext
9748 > cat >>conftest.$ac_ext <<_ACEOF
9749 > /* end confdefs.h.  */
9750 >
9751 > /* Override any gcc2 internal prototype to avoid an error.  */
9752 > #ifdef __cplusplus
9753 > extern "C"
9754 > #endif
9755 > /* We use char because int might match the return type of a gcc2
9756 >   builtin and then its argument prototype would still apply.  */
9757 > char MPI_Init ();
9758 > int
9759 > main ()
9760 > {
9761 > MPI_Init ();
9762 >  ;
9763 >  return 0;
9764 > }
9765 > _ACEOF
9766 > rm -f conftest.$ac_objext conftest$ac_exeext
9767 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 >  (eval $ac_link) 2>conftest.er1
9769 >  ac_status=$?
9770 >  grep -v '^ *+' conftest.er1 >conftest.err
9771 >  rm -f conftest.er1
9772 >  cat conftest.err >&5
9773 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 >  (exit $ac_status); } &&
9775 >         { ac_try='test -z "$ac_c_werror_flag"
9776 >                         || test ! -s conftest.err'
9777 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 >  (eval $ac_try) 2>&5
9779 >  ac_status=$?
9780 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 >  (exit $ac_status); }; } &&
9782 >         { ac_try='test -s conftest$ac_exeext'
9783 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 >  (eval $ac_try) 2>&5
9785 >  ac_status=$?
9786 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 >  (exit $ac_status); }; }; then
9788 >  ac_cv_lib_mpi_MPI_Init=yes
9789 > else
9790 >  echo "$as_me: failed program was:" >&5
9791 > sed 's/^/| /' conftest.$ac_ext >&5
9792 >
9793 > ac_cv_lib_mpi_MPI_Init=no
9794 > fi
9795 > rm -f conftest.err conftest.$ac_objext \
9796 >      conftest$ac_exeext conftest.$ac_ext
9797 > LIBS=$ac_check_lib_save_LIBS
9798 > fi
9799 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9800 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9801 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9802 >  MPI_LIB="-lmpi -llam -lpthread"
9803 > else
9804 >
9805 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9806 > echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9807 >   { (exit 1); exit 1; }; }
9808 >             USE_MPI="no"
9809 >
9810 > fi
9811 >
9812 > fi
9813 >
9814 >
9815 >
9816 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9817 > echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9818 > MPI_F90_LIB=""
9819 > if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
9820 >        MPI_F90_LIB="-lfmpich"
9821 > elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
9822 >        MPI_F90_LIB="-llamf77mpi"
9823 > else
9824 >                        MPI_F90_LIB="  "
9825 > fi
9826 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9827 > echo "${ECHO_T}found $MPI_F90_LIB" >&6
9828 >
9829 >
9830 > fi
9831 >
9832 >
9833 >
9834 >
9835 > USE_CGAL=no
9836 > cgal_makefile=auto
9837 >
9838 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9839 > if test "${with_cgal_makefile+set}" = set; then
9840 >  withval="$with_cgal_makefile"
9841 >  cgal_makefile="$withval"
9842 > fi;
9843 >
9844 > if test "x$cgal_makefile" != xno; then
9845 >
9846 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9847 >    cgal_makefile="$CGAL_MAKEFILE"
9848 >  fi
9849 >
9850 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9851 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9852 >
9853 >  if test -f "$cgal_makefile"; then
9854 >
9855 >    cat >config.tmp.Makefile <<EOF
9856 > include $cgal_makefile
9857 > default:
9858 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9859 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9860 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9861 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9862 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9863 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9864 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9865 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9866 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9867 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9868 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9869 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9870 > EOF
9871 >
9872 >    make -s -f config.tmp.Makefile
9873 >    . config.tmp.cgalvariables
9874 >
9875 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9876 >
9877 >    if test "x$CGAL_INCLDIR" = "x"; then
9878 >      CGAL_INCLDIR=""
9879 >    fi
9880 >
9881 >    if test "x$CGAL_LIBDIR" = "x"; then
9882 >      CGAL_LIBDIR=""
9883 >    fi
9884 >
9885 >    if test "x$CGAL_RLIBDIR" = "x"; then
9886 >      CGAL_RLIBDIR=""
9887 >    fi
9888 >
9889 >    if test "x$LEDA_INCLDIR" = "x"; then
9890 >      LEDA_INCLDIR=""
9891 >    fi
9892 >
9893 >    if test "x$LEDA_LIBDIR" = "x"; then
9894 >      LEDA_LIBDIR=""
9895 >    fi
9896 >
9897 >    if test "x$LEDA_RLIBDIR" = "x"; then
9898 >      LEDA_RLIBDIR=""
9899 >    fi
9900 >
9901 >    if test "x$GMP_INCLDIR" = "x"; then
9902 >      GMP_INCLDIR=""
9903 >    fi
9904 >
9905 >    if test "x$GMP_LIBDIR" = "x"; then
9906 >      GMP_LIBDIR=""
9907 >    fi
9908 >
9909 >    if test "x$GMP_RLIBDIR" = "x"; then
9910 >      GMP_RLIBDIR=""
9911 >    fi
9912 >
9913 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
9914 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
9915 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
9916 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
9917 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
9918 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
9919 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
9920 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
9921 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
9922 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
9923 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
9924 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
9925 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
9926 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
9927 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
9928 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
9929 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
9930 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
9931 >
9932 >    ac_ext=cc
9933 > ac_cpp='$CXXCPP $CPPFLAGS'
9934 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9935 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9936 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9937 >
9938 >    save_CXXFLAGS="$CXXFLAGS"
9939 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
9940 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9941 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
9942 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
9943 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9944 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9945 > fi
9946 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
9947 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
9948 > else
9949 >  # Is the header compilable?
9950 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
9951 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
9952 > cat >conftest.$ac_ext <<_ACEOF
9953 > /* confdefs.h.  */
9954 > _ACEOF
9955 > cat confdefs.h >>conftest.$ac_ext
9956 > cat >>conftest.$ac_ext <<_ACEOF
9957 > /* end confdefs.h.  */
9958 > $ac_includes_default
9959 > #include <CGAL/Cartesian.h>
9960 > _ACEOF
9961 > rm -f conftest.$ac_objext
9962 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9963 >  (eval $ac_compile) 2>conftest.er1
9964 >  ac_status=$?
9965 >  grep -v '^ *+' conftest.er1 >conftest.err
9966 >  rm -f conftest.er1
9967 >  cat conftest.err >&5
9968 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 >  (exit $ac_status); } &&
9970 >         { ac_try='test -z "$ac_cxx_werror_flag"
9971 >                         || test ! -s conftest.err'
9972 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 >  (eval $ac_try) 2>&5
9974 >  ac_status=$?
9975 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 >  (exit $ac_status); }; } &&
9977 >         { ac_try='test -s conftest.$ac_objext'
9978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 >  (eval $ac_try) 2>&5
9980 >  ac_status=$?
9981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 >  (exit $ac_status); }; }; then
9983 >  ac_header_compiler=yes
9984 > else
9985 >  echo "$as_me: failed program was:" >&5
9986 > sed 's/^/| /' conftest.$ac_ext >&5
9987 >
9988 > ac_header_compiler=no
9989 > fi
9990 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9991 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9992 > echo "${ECHO_T}$ac_header_compiler" >&6
9993 >
9994 > # Is the header present?
9995 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
9996 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
9997 > cat >conftest.$ac_ext <<_ACEOF
9998 > /* confdefs.h.  */
9999 > _ACEOF
10000 > cat confdefs.h >>conftest.$ac_ext
10001 > cat >>conftest.$ac_ext <<_ACEOF
10002 > /* end confdefs.h.  */
10003 > #include <CGAL/Cartesian.h>
10004 > _ACEOF
10005 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10006 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10007 >  ac_status=$?
10008 >  grep -v '^ *+' conftest.er1 >conftest.err
10009 >  rm -f conftest.er1
10010 >  cat conftest.err >&5
10011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 >  (exit $ac_status); } >/dev/null; then
10013 >  if test -s conftest.err; then
10014 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10015 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10016 >  else
10017 >    ac_cpp_err=
10018 >  fi
10019 > else
10020 >  ac_cpp_err=yes
10021 > fi
10022 > if test -z "$ac_cpp_err"; then
10023 >  ac_header_preproc=yes
10024 > else
10025 >  echo "$as_me: failed program was:" >&5
10026 > sed 's/^/| /' conftest.$ac_ext >&5
10027 >
10028 >  ac_header_preproc=no
10029 > fi
10030 > rm -f conftest.err conftest.$ac_ext
10031 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10032 > echo "${ECHO_T}$ac_header_preproc" >&6
10033 >
10034 > # So?  What about this header?
10035 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10036 >  yes:no: )
10037 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10038 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10039 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10040 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10041 >    ac_header_preproc=yes
10042 >    ;;
10043 >  no:yes:* )
10044 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10045 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10046 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10047 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10048 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10049 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10050 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10051 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10052 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10053 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10054 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10055 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10056 >    (
10057 >      cat <<\_ASBOX
10058 > ## ------------------------------ ##
10059 > ## Report this to gezelter@nd.edu ##
10060 > ## ------------------------------ ##
10061 > _ASBOX
10062 >    ) |
10063 >      sed "s/^/$as_me: WARNING:     /" >&2
10064 >    ;;
10065 > esac
10066 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10067 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10068 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10069 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10070 > else
10071 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10072 > fi
10073 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10074 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10075 >
10076 > fi
10077 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10078 >  cgal=yes
10079 > else
10080 >  cgal=no
10081 > fi
10082 >
10083 >
10084 >    CXXFLAGS="$save_CXXFLAGS"
10085 >
10086 >    if test "x$cgal" = xyes; then
10087 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10088 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10089 >      LOCATION=${CGAL_INCLDIR}
10090 >      LOCATION=${LOCATION:-/usr/include}
10091 >      if test -f $LOCATION/CGAL/version.h; then
10092 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10093 >      else
10094 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10095 >      fi
10096 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10097 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10098 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10099 >      else
10100 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10101 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10102 >        cgal=no
10103 >      fi
10104 >    fi
10105 >
10106 >    if test "x$cgal" = xyes; then
10107 >      CGAL_LIBS="-lCGAL"
10108 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10109 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10110 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10111 >        CGAL_USES_LEDA=yes
10112 >        echo "$as_me:$LINENO: result: yes" >&5
10113 > echo "${ECHO_T}yes" >&6
10114 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10115 >      else
10116 >        echo "$as_me:$LINENO: result: no" >&5
10117 > echo "${ECHO_T}no" >&6
10118 >        CGAL_USES_LEDA=no
10119 >      fi
10120 >
10121 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10122 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10123 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10124 >        CGAL_USES_GMP=yes
10125 >        echo "$as_me:$LINENO: result: yes" >&5
10126 > echo "${ECHO_T}yes" >&6
10127 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10128 >      else
10129 >        echo "$as_me:$LINENO: result: no" >&5
10130 > echo "${ECHO_T}no" >&6
10131 >        CGAL_USES_GMP=no
10132 >      fi
10133 >
10134 >      CGAL_LIBS="$CGAL_LIBS -lm"
10135 >
10136 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10137 >
10138 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10139 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10140 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10141 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10142 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10143 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10144 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10145 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10146 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10147 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10148 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10149 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10150 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10151 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10152 >    fi
10153 >
10154 >    if test "x$cgal" = xyes; then
10155 >      save_LIBS="$LIBS"
10156 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10157 >      if test "x$CGAL_USES_LEDA" = xyes; then
10158 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10159 >      fi
10160 >      # if test "x$CGAL_USES_GMP" = xyes; then
10161 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10162 >      # fi
10163 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10164 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10165 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10166 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10167 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10168 > LIBS="-lCGAL  $LIBS"
10169 > cat >conftest.$ac_ext <<_ACEOF
10170 > /* confdefs.h.  */
10171 > _ACEOF
10172 > cat confdefs.h >>conftest.$ac_ext
10173 > cat >>conftest.$ac_ext <<_ACEOF
10174 > /* end confdefs.h.  */
10175 > #include <CGAL/Cartesian.h>
10176 > int
10177 > main ()
10178 > {
10179 > ::CGAL::Cartesian<int>::Point_2 P
10180 >  ;
10181 >  return 0;
10182 > }
10183 > _ACEOF
10184 > rm -f conftest.$ac_objext conftest$ac_exeext
10185 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10186 >  (eval $ac_link) 2>conftest.er1
10187 >  ac_status=$?
10188 >  grep -v '^ *+' conftest.er1 >conftest.err
10189 >  rm -f conftest.er1
10190 >  cat conftest.err >&5
10191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 >  (exit $ac_status); } &&
10193 >         { ac_try='test -z "$ac_cxx_werror_flag"
10194 >                         || test ! -s conftest.err'
10195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196 >  (eval $ac_try) 2>&5
10197 >  ac_status=$?
10198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 >  (exit $ac_status); }; } &&
10200 >         { ac_try='test -s conftest$ac_exeext'
10201 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10202 >  (eval $ac_try) 2>&5
10203 >  ac_status=$?
10204 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 >  (exit $ac_status); }; }; then
10206 >  echo "$as_me:$LINENO: result: yes" >&5
10207 > echo "${ECHO_T}yes" >&6
10208 > cgal=yes
10209 > else
10210 >  echo "$as_me: failed program was:" >&5
10211 > sed 's/^/| /' conftest.$ac_ext >&5
10212 >
10213 > echo "$as_me:$LINENO: result: no" >&5
10214 > echo "${ECHO_T}no" >&6
10215 > cgal=no
10216 > fi
10217 > rm -f conftest.err conftest.$ac_objext \
10218 >      conftest$ac_exeext conftest.$ac_ext
10219 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10220 > LIBS="$save_LIBS_CHECK_CXX_LIB"
10221 >      LIBS="$save_LIBS"
10222 >    fi
10223 >
10224 >  fi
10225 >  ac_ext=c
10226 > ac_cpp='$CPP $CPPFLAGS'
10227 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10228 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10229 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
10230 >
10231 >
10232 > fi
10233 >
10234 > if test "x$cgal" = xyes; then
10235 >  USE_CGAL=yes
10236 >
10237 > cat >>confdefs.h <<\_ACEOF
10238 > #define HAVE_CGAL 1
10239 > _ACEOF
10240 >
10241 >
10242 > cat >>confdefs.h <<_ACEOF
10243 > #define CGAL_VERSION $CGAL_VERSION
10244 > _ACEOF
10245 >
10246 >  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10247 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10248 > echo "$as_me: WARNING: *****************************************************" >&2;}
10249 >    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10250 > echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10251 >    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10252 > echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10253 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10254 > echo "$as_me: WARNING: *****************************************************" >&2;}
10255 >  fi
10256 > else
10257 >   if test "x$cgal_makefile" != xno; then
10258 >    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10259 > echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10260 >  fi
10261 >  CGAL_INCLDIR=
10262 >  CGAL_LIBDIR=
10263 >  CGAL_RLIBDIR=
10264 >  CGAL_DEFINES=
10265 >  CGAL_CXXFLAGS=
10266 >  CGAL_LIBS=
10267 > fi
10268 >
10269 >
10270 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10271 >
10272 > CGAL_LIB_DIR=${CGAL_LIBDIR}
10273 >
10274 > CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10275 >
10276 >
10277 >
10278 >
10279 >
10280 >
10281 >
10282 > # Check whether --enable-doxygen or --disable-doxygen was given.
10283 > if test "${enable_doxygen+set}" = set; then
10284 >  enableval="$enable_doxygen"
10285 >
10286 > fi;
10287 > # Check whether --enable-dot or --disable-dot was given.
10288 > if test "${enable_dot+set}" = set; then
10289 >  enableval="$enable_dot"
10290 >
10291 > fi;
10292 > # Check whether --enable-html-docs or --disable-html-docs was given.
10293 > if test "${enable_html_docs+set}" = set; then
10294 >  enableval="$enable_html_docs"
10295 >
10296 > else
10297 >   enable_html_docs=yes
10298 > fi;
10299 > # Check whether --enable-latex-docs or --disable-latex-docs was given.
10300 > if test "${enable_latex_docs+set}" = set; then
10301 >  enableval="$enable_latex_docs"
10302 >
10303 > else
10304 >   enable_latex_docs=no
10305 > fi;
10306 > if test "x$enable_doxygen" = xno; then
10307 >        enable_doc=no
10308 > else
10309 >        # Extract the first word of "doxygen", so it can be a program name with args.
10310 > set dummy doxygen; ac_word=$2
10311 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10312 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10313 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
10314 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10315 > else
10316 >  case $DOXYGEN in
10317 >  [\\/]* | ?:[\\/]*)
10318 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10319 >  ;;
10320 >  *)
10321 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 > for as_dir in $PATH
10323 > do
10324 >  IFS=$as_save_IFS
10325 >  test -z "$as_dir" && as_dir=.
10326 >  for ac_exec_ext in '' $ac_executable_extensions; do
10327 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10328 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10329 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10330 >    break 2
10331 >  fi
10332 > done
10333 > done
10334 >
10335 >  ;;
10336 > esac
10337 > fi
10338 > DOXYGEN=$ac_cv_path_DOXYGEN
10339 >
10340 > if test -n "$DOXYGEN"; then
10341 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10342 > echo "${ECHO_T}$DOXYGEN" >&6
10343 > else
10344 >  echo "$as_me:$LINENO: result: no" >&5
10345 > echo "${ECHO_T}no" >&6
10346 > fi
10347 >
10348 >        if test "x$DOXYGEN" = x; then
10349 >                if test "x$enable_doxygen" = xyes; then
10350 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10351 > echo "$as_me: error: could not find doxygen" >&2;}
10352 >   { (exit 1); exit 1; }; }
10353 >                fi
10354 >                enable_doc=no
10355 >        else
10356 >                enable_doc=yes
10357 >                # Extract the first word of "dot", so it can be a program name with args.
10358 > set dummy dot; ac_word=$2
10359 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10360 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10361 > if test "${ac_cv_path_DOT+set}" = set; then
10362 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10363 > else
10364 >  case $DOT in
10365 >  [\\/]* | ?:[\\/]*)
10366 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10367 >  ;;
10368 >  *)
10369 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 > for as_dir in $PATH
10371 > do
10372 >  IFS=$as_save_IFS
10373 >  test -z "$as_dir" && as_dir=.
10374 >  for ac_exec_ext in '' $ac_executable_extensions; do
10375 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10376 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10377 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 >    break 2
10379 >  fi
10380 > done
10381 > done
10382 >
10383 >  ;;
10384 > esac
10385 > fi
10386 > DOT=$ac_cv_path_DOT
10387 >
10388 > if test -n "$DOT"; then
10389 >  echo "$as_me:$LINENO: result: $DOT" >&5
10390 > echo "${ECHO_T}$DOT" >&6
10391 > else
10392 >  echo "$as_me:$LINENO: result: no" >&5
10393 > echo "${ECHO_T}no" >&6
10394 > fi
10395 >
10396 >        fi
10397 > fi
10398 >
10399 > if test "x$enable_doc" = xyes; then
10400 >  DOC=1
10401 > else
10402 >  DOC=0
10403 > fi
10404 >
10405 >
10406 > if test x$DOT = x; then
10407 >        if test "x$enable_dot" = xyes; then
10408 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10409 > echo "$as_me: error: could not find dot" >&2;}
10410 >   { (exit 1); exit 1; }; }
10411 >        fi
10412 >        enable_dot=no
10413 > else
10414 >        enable_dot=yes
10415 > fi
10416 >
10417 >
10418 >
10419 >
10420 >
10421 >
10422 >
10423 > OBJEXT=".$OBJEXT"
10424 >
10425 > OOPSE=oopse
10426 >
10427 > if test "x${prefix}" = "xNONE"
10428 > then
10429 >  OOPSE_HOME=${ac_default_prefix}/oopse
10430 > else
10431 >  OOPSE_HOME=${prefix}/oopse
10432 > fi
10433 > # Check whether --enable-oopse-home or --disable-oopse-home was given.
10434 > if test "${enable_oopse_home+set}" = set; then
10435 >  enableval="$enable_oopse_home"
10436 >  OOPSE_HOME="${enableval}"
10437 > fi;
10438 >
10439 > case "x$INSTALL" in
10440 >   x/*) ;;
10441 >   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
10442 > esac
10443 >
10444 > MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
10445 >
10446 > CFLAGS=${CFLAGS-""}
10447 > CXXFLAGS=${CXXFLAGS-""}
10448 > CPPFLAGS=${CPPFLAGS-""}
10449 > FFLAGS=${FFLAGS-""}
10450 > F90FLAGS=${F90FLAGS-""}
10451 > LDFLAGS=${LDFLAGS-""}
10452 > DEBUG=${DEBUG-"-g"}
10453 >
10454 > case $debug in
10455 >  1)
10456 >     FFLAGS="$DEBUG $FFLAGS"
10457 >     F90FLAGS="$DEBUG $F90FLAGS"
10458 >     ;;
10459 >  *)
10460 >     ;;
10461 > esac
10462 >
10463 >
10464 >
10465 >
10466 >
10467 >
10468 >
10469 >
10470 >
10471 >
10472 >
10473 >
10474 >
10475 >
10476 >
10477 >
10478 >
10479 >
10480 >          ac_config_headers="$ac_config_headers src/config.h"
10481 >
10482 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10483 >
10484 >
10485 > cat >confcache <<\_ACEOF
10486 > # This file is a shell script that caches the results of configure
10487 > # tests run on this system so they can be shared between configure
10488 > # scripts and configure runs, see configure's option --config-cache.
10489 > # It is not useful on other systems.  If it contains results you don't
10490 > # want to keep, you may remove or edit it.
10491 > #
10492 > # config.status only pays attention to the cache file if you give it
10493 > # the --recheck option to rerun configure.
10494 > #
10495 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10496 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
10497 > # following values.
10498 >
10499 > _ACEOF
10500 >
10501 > # The following way of writing the cache mishandles newlines in values,
10502 > # but we know of no workaround that is simple, portable, and efficient.
10503 > # So, don't put newlines in cache variables' values.
10504 > # Ultrix sh set writes to stderr and can't be redirected directly,
10505 > # and sets the high bit in the cache file unless we assign to the vars.
10506 > {
10507 >  (set) 2>&1 |
10508 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
10509 >    *ac_space=\ *)
10510 >      # `set' does not quote correctly, so add quotes (double-quote
10511 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
10512 >      sed -n \
10513 >        "s/'/'\\\\''/g;
10514 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10515 >      ;;
10516 >    *)
10517 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
10518 >      sed -n \
10519 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10520 >      ;;
10521 >    esac;
10522 > } |
10523 >  sed '
10524 >     t clear
10525 >     : clear
10526 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10527 >     t end
10528 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10529 >     : end' >>confcache
10530 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10531 >  if test -w $cache_file; then
10532 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10533 >    cat confcache >$cache_file
10534 >  else
10535 >    echo "not updating unwritable cache $cache_file"
10536 >  fi
10537 > fi
10538 > rm -f confcache
10539 >
10540 > test "x$prefix" = xNONE && prefix=$ac_default_prefix
10541 > # Let make expand exec_prefix.
10542 > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10543 >
10544 > # VPATH may cause trouble with some makes, so we remove $(srcdir),
10545 > # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10546 > # trailing colons and then remove the whole line if VPATH becomes empty
10547 > # (actually we leave an empty line to preserve line numbers).
10548 > if test "x$srcdir" = x.; then
10549 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10550 > s/:*\$(srcdir):*/:/;
10551 > s/:*\${srcdir}:*/:/;
10552 > s/:*@srcdir@:*/:/;
10553 > s/^\([^=]*=[     ]*\):*/\1/;
10554 > s/:*$//;
10555 > s/^[^=]*=[       ]*$//;
10556 > }'
10557 > fi
10558 >
10559 > DEFS=-DHAVE_CONFIG_H
10560 >
10561 > ac_libobjs=
10562 > ac_ltlibobjs=
10563 > for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10564 >  # 1. Remove the extension, and $U if already installed.
10565 >  ac_i=`echo "$ac_i" |
10566 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10567 >  # 2. Add them.
10568 >  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10569 >  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10570 > done
10571 > LIBOBJS=$ac_libobjs
10572 >
10573 > LTLIBOBJS=$ac_ltlibobjs
10574 >
10575 >
10576 >
10577 > : ${CONFIG_STATUS=./config.status}
10578 > ac_clean_files_save=$ac_clean_files
10579 > ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10580 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10581 > echo "$as_me: creating $CONFIG_STATUS" >&6;}
10582 > cat >$CONFIG_STATUS <<_ACEOF
10583 > #! $SHELL
10584 > # Generated by $as_me.
10585 > # Run this file to recreate the current configuration.
10586 > # Compiler output produced by configure, useful for debugging
10587 > # configure, is in config.log if it exists.
10588 >
10589 > debug=false
10590 > ac_cs_recheck=false
10591 > ac_cs_silent=false
10592 > SHELL=\${CONFIG_SHELL-$SHELL}
10593 > _ACEOF
10594 >
10595 > cat >>$CONFIG_STATUS <<\_ACEOF
10596 > ## --------------------- ##
10597 > ## M4sh Initialization.  ##
10598 > ## --------------------- ##
10599 >
10600 > # Be Bourne compatible
10601 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10602 >  emulate sh
10603 >  NULLCMD=:
10604 >  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10605 >  # is contrary to our usage.  Disable this feature.
10606 >  alias -g '${1+"$@"}'='"$@"'
10607 > elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10608 >  set -o posix
10609 > fi
10610 > DUALCASE=1; export DUALCASE # for MKS sh
10611 >
10612 > # Support unset when possible.
10613 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10614 >  as_unset=unset
10615 > else
10616 >  as_unset=false
10617 > fi
10618 >
10619 >
10620 > # Work around bugs in pre-3.0 UWIN ksh.
10621 > $as_unset ENV MAIL MAILPATH
10622 > PS1='$ '
10623 > PS2='> '
10624 > PS4='+ '
10625 >
10626 > # NLS nuisances.
10627 > for as_var in \
10628 >  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10629 >  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10630 >  LC_TELEPHONE LC_TIME
10631 > do
10632 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10633 >    eval $as_var=C; export $as_var
10634 >  else
10635 >    $as_unset $as_var
10636 >  fi
10637 > done
10638 >
10639 > # Required to use basename.
10640 > if expr a : '\(a\)' >/dev/null 2>&1; then
10641 >  as_expr=expr
10642 > else
10643 >  as_expr=false
10644 > fi
10645 >
10646 > if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10647 >  as_basename=basename
10648 > else
10649 >  as_basename=false
10650 > fi
10651 >
10652 >
10653 > # Name of the executable.
10654 > as_me=`$as_basename "$0" ||
10655 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10656 >         X"$0" : 'X\(//\)$' \| \
10657 >         X"$0" : 'X\(/\)$' \| \
10658 >         .     : '\(.\)' 2>/dev/null ||
10659 > echo X/"$0" |
10660 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10661 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10662 >          /^X\/\(\/\).*/{ s//\1/; q; }
10663 >          s/.*/./; q'`
10664 >
10665 >
10666 > # PATH needs CR, and LINENO needs CR and PATH.
10667 > # Avoid depending upon Character Ranges.
10668 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10669 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10670 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10671 > as_cr_digits='0123456789'
10672 > as_cr_alnum=$as_cr_Letters$as_cr_digits
10673 >
10674 > # The user is always right.
10675 > if test "${PATH_SEPARATOR+set}" != set; then
10676 >  echo "#! /bin/sh" >conf$$.sh
10677 >  echo  "exit 0"   >>conf$$.sh
10678 >  chmod +x conf$$.sh
10679 >  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10680 >    PATH_SEPARATOR=';'
10681 >  else
10682 >    PATH_SEPARATOR=:
10683 >  fi
10684 >  rm -f conf$$.sh
10685 > fi
10686 >
10687 >
10688 >  as_lineno_1=$LINENO
10689 >  as_lineno_2=$LINENO
10690 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10691 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10692 >  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10693 >  # Find who we are.  Look in the path if we contain no path at all
10694 >  # relative or not.
10695 >  case $0 in
10696 >    *[\\/]* ) as_myself=$0 ;;
10697 >    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10698 > for as_dir in $PATH
10699 > do
10700 >  IFS=$as_save_IFS
10701 >  test -z "$as_dir" && as_dir=.
10702 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10703 > done
10704 >
10705 >       ;;
10706 >  esac
10707 >  # We did not find ourselves, most probably we were run as `sh COMMAND'
10708 >  # in which case we are not to be found in the path.
10709 >  if test "x$as_myself" = x; then
10710 >    as_myself=$0
10711 >  fi
10712 >  if test ! -f "$as_myself"; then
10713 >    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10714 > echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10715 >   { (exit 1); exit 1; }; }
10716 >  fi
10717 >  case $CONFIG_SHELL in
10718 >  '')
10719 >    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10720 > for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10721 > do
10722 >  IFS=$as_save_IFS
10723 >  test -z "$as_dir" && as_dir=.
10724 >  for as_base in sh bash ksh sh5; do
10725 >         case $as_dir in
10726 >         /*)
10727 >           if ("$as_dir/$as_base" -c '
10728 >  as_lineno_1=$LINENO
10729 >  as_lineno_2=$LINENO
10730 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10731 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10732 >  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10733 >             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10734 >             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10735 >             CONFIG_SHELL=$as_dir/$as_base
10736 >             export CONFIG_SHELL
10737 >             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10738 >           fi;;
10739 >         esac
10740 >       done
10741 > done
10742 > ;;
10743 >  esac
10744 >
10745 >  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10746 >  # uniformly replaced by the line number.  The first 'sed' inserts a
10747 >  # line-number line before each line; the second 'sed' does the real
10748 >  # work.  The second script uses 'N' to pair each line-number line
10749 >  # with the numbered line, and appends trailing '-' during
10750 >  # substitution so that $LINENO is not a special case at line end.
10751 >  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10752 >  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10753 >  sed '=' <$as_myself |
10754 >    sed '
10755 >      N
10756 >      s,$,-,
10757 >      : loop
10758 >      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10759 >      t loop
10760 >      s,-$,,
10761 >      s,^['$as_cr_digits']*\n,,
10762 >    ' >$as_me.lineno &&
10763 >  chmod +x $as_me.lineno ||
10764 >    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10765 > echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10766 >   { (exit 1); exit 1; }; }
10767 >
10768 >  # Don't try to exec as it changes $[0], causing all sort of problems
10769 >  # (the dirname of $[0] is not the place where we might find the
10770 >  # original and so on.  Autoconf is especially sensible to this).
10771 >  . ./$as_me.lineno
10772 >  # Exit status is that of the last command.
10773 >  exit
10774 > }
10775 >
10776 >
10777 > case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10778 >  *c*,-n*) ECHO_N= ECHO_C='
10779 > ' ECHO_T='      ' ;;
10780 >  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10781 >  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10782 > esac
10783 >
10784 > if expr a : '\(a\)' >/dev/null 2>&1; then
10785 >  as_expr=expr
10786 > else
10787 >  as_expr=false
10788 > fi
10789 >
10790 > rm -f conf$$ conf$$.exe conf$$.file
10791 > echo >conf$$.file
10792 > if ln -s conf$$.file conf$$ 2>/dev/null; then
10793 >  # We could just check for DJGPP; but this test a) works b) is more generic
10794 >  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10795 >  if test -f conf$$.exe; then
10796 >    # Don't use ln at all; we don't have any links
10797 >    as_ln_s='cp -p'
10798 >  else
10799 >    as_ln_s='ln -s'
10800 >  fi
10801 > elif ln conf$$.file conf$$ 2>/dev/null; then
10802 >  as_ln_s=ln
10803 > else
10804 >  as_ln_s='cp -p'
10805 > fi
10806 > rm -f conf$$ conf$$.exe conf$$.file
10807 >
10808 > if mkdir -p . 2>/dev/null; then
10809 >  as_mkdir_p=:
10810 > else
10811 >  test -d ./-p && rmdir ./-p
10812 >  as_mkdir_p=false
10813 > fi
10814 >
10815 > as_executable_p="test -f"
10816 >
10817 > # Sed expression to map a string onto a valid CPP name.
10818 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10819 >
10820 > # Sed expression to map a string onto a valid variable name.
10821 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10822 >
10823 >
10824 > # IFS
10825 > # We need space, tab and new line, in precisely that order.
10826 > as_nl='
10827 > '
10828 > IFS="   $as_nl"
10829 >
10830 > # CDPATH.
10831 > $as_unset CDPATH
10832 >
10833 > exec 6>&1
10834 >
10835 > # Open the log real soon, to keep \$[0] and so on meaningful, and to
10836 > # report actual input values of CONFIG_FILES etc. instead of their
10837 > # values after options handling.  Logging --version etc. is OK.
10838 > exec 5>>config.log
10839 > {
10840 >  echo
10841 >  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10842 > ## Running $as_me. ##
10843 > _ASBOX
10844 > } >&5
10845 > cat >&5 <<_CSEOF
10846 >
10847 > This file was extended by OOPSE $as_me 2.0, which was
10848 > generated by GNU Autoconf 2.59.  Invocation command line was
10849 >
10850 >  CONFIG_FILES    = $CONFIG_FILES
10851 >  CONFIG_HEADERS  = $CONFIG_HEADERS
10852 >  CONFIG_LINKS    = $CONFIG_LINKS
10853 >  CONFIG_COMMANDS = $CONFIG_COMMANDS
10854 >  $ $0 $@
10855 >
10856 > _CSEOF
10857 > echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10858 > echo >&5
10859 > _ACEOF
10860 >
10861 > # Files that config.status was made for.
10862 > if test -n "$ac_config_files"; then
10863 >  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10864 > fi
10865 >
10866 > if test -n "$ac_config_headers"; then
10867 >  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10868 > fi
10869 >
10870 > if test -n "$ac_config_links"; then
10871 >  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10872 > fi
10873 >
10874 > if test -n "$ac_config_commands"; then
10875 >  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10876 > fi
10877 >
10878 > cat >>$CONFIG_STATUS <<\_ACEOF
10879 >
10880 > ac_cs_usage="\
10881 > \`$as_me' instantiates files from templates according to the
10882 > current configuration.
10883 >
10884 > Usage: $0 [OPTIONS] [FILE]...
10885 >
10886 >  -h, --help       print this help, then exit
10887 >  -V, --version    print version number, then exit
10888 >  -q, --quiet      do not print progress messages
10889 >  -d, --debug      don't remove temporary files
10890 >      --recheck    update $as_me by reconfiguring in the same conditions
10891 >  --file=FILE[:TEMPLATE]
10892 >                   instantiate the configuration file FILE
10893 >  --header=FILE[:TEMPLATE]
10894 >                   instantiate the configuration header FILE
10895 >
10896 > Configuration files:
10897 > $config_files
10898 >
10899 > Configuration headers:
10900 > $config_headers
10901 >
10902 > Configuration links:
10903 > $config_links
10904 >
10905 > Report bugs to <bug-autoconf@gnu.org>."
10906 > _ACEOF
10907 >
10908 > cat >>$CONFIG_STATUS <<_ACEOF
10909 > ac_cs_version="\\
10910 > OOPSE config.status 2.0
10911 > configured by $0, generated by GNU Autoconf 2.59,
10912 >  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10913 >
10914 > Copyright (C) 2003 Free Software Foundation, Inc.
10915 > This config.status script is free software; the Free Software Foundation
10916 > gives unlimited permission to copy, distribute and modify it."
10917 > srcdir=$srcdir
10918 > INSTALL="$INSTALL"
10919 > _ACEOF
10920 >
10921 > cat >>$CONFIG_STATUS <<\_ACEOF
10922 > # If no file are specified by the user, then we need to provide default
10923 > # value.  By we need to know if files were specified by the user.
10924 > ac_need_defaults=:
10925 > while test $# != 0
10926 > do
10927 >  case $1 in
10928 >  --*=*)
10929 >    ac_option=`expr "x$1" : 'x\([^=]*\)='`
10930 >    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10931 >    ac_shift=:
10932 >    ;;
10933 >  -*)
10934 >    ac_option=$1
10935 >    ac_optarg=$2
10936 >    ac_shift=shift
10937 >    ;;
10938 >  *) # This is not an option, so the user has probably given explicit
10939 >     # arguments.
10940 >     ac_option=$1
10941 >     ac_need_defaults=false;;
10942 >  esac
10943 >
10944 >  case $ac_option in
10945 >  # Handling of the options.
10946 > _ACEOF
10947 > cat >>$CONFIG_STATUS <<\_ACEOF
10948 >  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10949 >    ac_cs_recheck=: ;;
10950 >  --version | --vers* | -V )
10951 >    echo "$ac_cs_version"; exit 0 ;;
10952 >  --he | --h)
10953 >    # Conflict between --help and --header
10954 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
10955 > Try \`$0 --help' for more information." >&5
10956 > echo "$as_me: error: ambiguous option: $1
10957 > Try \`$0 --help' for more information." >&2;}
10958 >   { (exit 1); exit 1; }; };;
10959 >  --help | --hel | -h )
10960 >    echo "$ac_cs_usage"; exit 0 ;;
10961 >  --debug | --d* | -d )
10962 >    debug=: ;;
10963 >  --file | --fil | --fi | --f )
10964 >    $ac_shift
10965 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10966 >    ac_need_defaults=false;;
10967 >  --header | --heade | --head | --hea )
10968 >    $ac_shift
10969 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10970 >    ac_need_defaults=false;;
10971 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10972 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10973 >    ac_cs_silent=: ;;
10974 >
10975 >  # This is an error.
10976 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10977 > Try \`$0 --help' for more information." >&5
10978 > echo "$as_me: error: unrecognized option: $1
10979 > Try \`$0 --help' for more information." >&2;}
10980 >   { (exit 1); exit 1; }; } ;;
10981 >
10982 >  *) ac_config_targets="$ac_config_targets $1" ;;
10983 >
10984 >  esac
10985 >  shift
10986 > done
10987 >
10988 > ac_configure_extra_args=
10989 >
10990 > if $ac_cs_silent; then
10991 >  exec 6>/dev/null
10992 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
10993 > fi
10994 >
10995 > _ACEOF
10996 > cat >>$CONFIG_STATUS <<_ACEOF
10997 > if \$ac_cs_recheck; then
10998 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10999 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11000 > fi
11001 >
11002 > _ACEOF
11003 >
11004 >
11005 >
11006 >
11007 >
11008 > cat >>$CONFIG_STATUS <<\_ACEOF
11009 > for ac_config_target in $ac_config_targets
11010 > do
11011 >  case "$ac_config_target" in
11012 >  # Handling of arguments.
11013 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11014 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11015 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11016 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11017 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11018 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11019 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11020 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11021 >   { (exit 1); exit 1; }; };;
11022 >  esac
11023 > done
11024 >
11025 > # If the user did not use the arguments to specify the items to instantiate,
11026 > # then the envvar interface is used.  Set only those that are not.
11027 > # We use the long form for the default assignment because of an extremely
11028 > # bizarre bug on SunOS 4.1.3.
11029 > if $ac_need_defaults; then
11030 >  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11031 >  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11032 >  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11033 > fi
11034 >
11035 > # Have a temporary directory for convenience.  Make it in the build tree
11036 > # simply because there is no reason to put it here, and in addition,
11037 > # creating and moving files from /tmp can sometimes cause problems.
11038 > # Create a temporary directory, and hook for its removal unless debugging.
11039 > $debug ||
11040 > {
11041 >  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11042 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11043 > }
11044 >
11045 > # Create a (secure) tmp directory for tmp files.
11046 >
11047 > {
11048 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11049 >  test -n "$tmp" && test -d "$tmp"
11050 > }  ||
11051 > {
11052 >  tmp=./confstat$$-$RANDOM
11053 >  (umask 077 && mkdir $tmp)
11054 > } ||
11055 > {
11056 >   echo "$me: cannot create a temporary directory in ." >&2
11057 >   { (exit 1); exit 1; }
11058 > }
11059 >
11060 > _ACEOF
11061 >
11062 > cat >>$CONFIG_STATUS <<_ACEOF
11063 >
11064 > #
11065 > # CONFIG_FILES section.
11066 > #
11067 >
11068 > # No need to generate the scripts if there are no CONFIG_FILES.
11069 > # This happens for instance when ./config.status config.h
11070 > if test -n "\$CONFIG_FILES"; then
11071 >  # Protect against being on the right side of a sed subst in config.status.
11072 >  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11073 >   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11074 > s,@SHELL@,$SHELL,;t t
11075 > s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11076 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11077 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11078 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11079 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11080 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11081 > s,@exec_prefix@,$exec_prefix,;t t
11082 > s,@prefix@,$prefix,;t t
11083 > s,@program_transform_name@,$program_transform_name,;t t
11084 > s,@bindir@,$bindir,;t t
11085 > s,@sbindir@,$sbindir,;t t
11086 > s,@libexecdir@,$libexecdir,;t t
11087 > s,@datadir@,$datadir,;t t
11088 > s,@sysconfdir@,$sysconfdir,;t t
11089 > s,@sharedstatedir@,$sharedstatedir,;t t
11090 > s,@localstatedir@,$localstatedir,;t t
11091 > s,@libdir@,$libdir,;t t
11092 > s,@includedir@,$includedir,;t t
11093 > s,@oldincludedir@,$oldincludedir,;t t
11094 > s,@infodir@,$infodir,;t t
11095 > s,@mandir@,$mandir,;t t
11096 > s,@build_alias@,$build_alias,;t t
11097 > s,@host_alias@,$host_alias,;t t
11098 > s,@target_alias@,$target_alias,;t t
11099 > s,@DEFS@,$DEFS,;t t
11100 > s,@ECHO_C@,$ECHO_C,;t t
11101 > s,@ECHO_N@,$ECHO_N,;t t
11102 > s,@ECHO_T@,$ECHO_T,;t t
11103 > s,@LIBS@,$LIBS,;t t
11104 > s,@PROGNAME@,$PROGNAME,;t t
11105 > s,@debug@,$debug,;t t
11106 > s,@build@,$build,;t t
11107 > s,@build_cpu@,$build_cpu,;t t
11108 > s,@build_vendor@,$build_vendor,;t t
11109 > s,@build_os@,$build_os,;t t
11110 > s,@host@,$host,;t t
11111 > s,@host_cpu@,$host_cpu,;t t
11112 > s,@host_vendor@,$host_vendor,;t t
11113 > s,@host_os@,$host_os,;t t
11114 > s,@CC@,$CC,;t t
11115 > s,@CFLAGS@,$CFLAGS,;t t
11116 > s,@LDFLAGS@,$LDFLAGS,;t t
11117 > s,@CPPFLAGS@,$CPPFLAGS,;t t
11118 > s,@ac_ct_CC@,$ac_ct_CC,;t t
11119 > s,@EXEEXT@,$EXEEXT,;t t
11120 > s,@OBJEXT@,$OBJEXT,;t t
11121 > s,@CXX@,$CXX,;t t
11122 > s,@CXXFLAGS@,$CXXFLAGS,;t t
11123 > s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11124 > s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11125 > s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11126 > s,@F90@,$F90,;t t
11127 > s,@F90FLAGS@,$F90FLAGS,;t t
11128 > s,@ac_ct_F90@,$ac_ct_F90,;t t
11129 > s,@PREPFLAG@,$PREPFLAG,;t t
11130 > s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
11131 > s,@F90LIBS@,$F90LIBS,;t t
11132 > s,@F90_FUNC@,$F90_FUNC,;t t
11133 > s,@F90_FUNC_@,$F90_FUNC_,;t t
11134 > s,@MOD@,$MOD,;t t
11135 > s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
11136 > s,@MODDIRFLAG@,$MODDIRFLAG,;t t
11137 > s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11138 > s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11139 > s,@CPP@,$CPP,;t t
11140 > s,@EGREP@,$EGREP,;t t
11141 > s,@CXXCPP@,$CXXCPP,;t t
11142 > s,@LIBOBJS@,$LIBOBJS,;t t
11143 > s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11144 > s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11145 > s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11146 > s,@LN_S@,$LN_S,;t t
11147 > s,@SET_MAKE@,$SET_MAKE,;t t
11148 > s,@RANLIB@,$RANLIB,;t t
11149 > s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11150 > s,@YACC@,$YACC,;t t
11151 > s,@LEX@,$LEX,;t t
11152 > s,@LEXLIB@,$LEXLIB,;t t
11153 > s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11154 > s,@PERLINTERP@,$PERLINTERP,;t t
11155 > s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11156 > s,@AR@,$AR,;t t
11157 > s,@PS@,$PS,;t t
11158 > s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
11159 > s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
11160 > s,@MPI_F90_INC@,$MPI_F90_INC,;t t
11161 > s,@MPI_LIB@,$MPI_LIB,;t t
11162 > s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11163 > s,@USE_MPI@,$USE_MPI,;t t
11164 > s,@USE_CGAL@,$USE_CGAL,;t t
11165 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11166 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11167 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11168 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11169 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11170 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11171 > s,@DOXYGEN@,$DOXYGEN,;t t
11172 > s,@DOT@,$DOT,;t t
11173 > s,@DOC@,$DOC,;t t
11174 > s,@enable_dot@,$enable_dot,;t t
11175 > s,@enable_html_docs@,$enable_html_docs,;t t
11176 > s,@enable_latex_docs@,$enable_latex_docs,;t t
11177 > s,@BATEXT@,$BATEXT,;t t
11178 > s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11179 > s,@OOPSE@,$OOPSE,;t t
11180 > s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11181 > s,@SUBDIRS@,$SUBDIRS,;t t
11182 > s,@FFLAGS@,$FFLAGS,;t t
11183 > s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11184 > CEOF
11185 >
11186 > _ACEOF
11187 >
11188 >  cat >>$CONFIG_STATUS <<\_ACEOF
11189 >  # Split the substitutions into bite-sized pieces for seds with
11190 >  # small command number limits, like on Digital OSF/1 and HP-UX.
11191 >  ac_max_sed_lines=48
11192 >  ac_sed_frag=1 # Number of current file.
11193 >  ac_beg=1 # First line for current file.
11194 >  ac_end=$ac_max_sed_lines # Line after last line for current file.
11195 >  ac_more_lines=:
11196 >  ac_sed_cmds=
11197 >  while $ac_more_lines; do
11198 >    if test $ac_beg -gt 1; then
11199 >      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11200 >    else
11201 >      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11202 >    fi
11203 >    if test ! -s $tmp/subs.frag; then
11204 >      ac_more_lines=false
11205 >    else
11206 >      # The purpose of the label and of the branching condition is to
11207 >      # speed up the sed processing (if there are no `@' at all, there
11208 >      # is no need to browse any of the substitutions).
11209 >      # These are the two extra sed commands mentioned above.
11210 >      (echo ':t
11211 >  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11212 >      if test -z "$ac_sed_cmds"; then
11213 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11214 >      else
11215 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11216 >      fi
11217 >      ac_sed_frag=`expr $ac_sed_frag + 1`
11218 >      ac_beg=$ac_end
11219 >      ac_end=`expr $ac_end + $ac_max_sed_lines`
11220 >    fi
11221 >  done
11222 >  if test -z "$ac_sed_cmds"; then
11223 >    ac_sed_cmds=cat
11224 >  fi
11225 > fi # test -n "$CONFIG_FILES"
11226 >
11227 > _ACEOF
11228 > cat >>$CONFIG_STATUS <<\_ACEOF
11229 > for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11230 >  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11231 >  case $ac_file in
11232 >  - | *:- | *:-:* ) # input from stdin
11233 >        cat >$tmp/stdin
11234 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11235 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11236 >  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11237 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11238 >  * )   ac_file_in=$ac_file.in ;;
11239 >  esac
11240 >
11241 >  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11242 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11243 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11244 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11245 >         X"$ac_file" : 'X\(//\)$' \| \
11246 >         X"$ac_file" : 'X\(/\)' \| \
11247 >         .     : '\(.\)' 2>/dev/null ||
11248 > echo X"$ac_file" |
11249 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11250 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11251 >          /^X\(\/\/\)$/{ s//\1/; q; }
11252 >          /^X\(\/\).*/{ s//\1/; q; }
11253 >          s/.*/./; q'`
11254 >  { if $as_mkdir_p; then
11255 >    mkdir -p "$ac_dir"
11256 >  else
11257 >    as_dir="$ac_dir"
11258 >    as_dirs=
11259 >    while test ! -d "$as_dir"; do
11260 >      as_dirs="$as_dir $as_dirs"
11261 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11262 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11263 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11264 >         X"$as_dir" : 'X\(//\)$' \| \
11265 >         X"$as_dir" : 'X\(/\)' \| \
11266 >         .     : '\(.\)' 2>/dev/null ||
11267 > echo X"$as_dir" |
11268 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11269 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11270 >          /^X\(\/\/\)$/{ s//\1/; q; }
11271 >          /^X\(\/\).*/{ s//\1/; q; }
11272 >          s/.*/./; q'`
11273 >    done
11274 >    test ! -n "$as_dirs" || mkdir $as_dirs
11275 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11276 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11277 >   { (exit 1); exit 1; }; }; }
11278 >
11279 >  ac_builddir=.
11280 >
11281 > if test "$ac_dir" != .; then
11282 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11283 >  # A "../" for each directory in $ac_dir_suffix.
11284 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11285 > else
11286 >  ac_dir_suffix= ac_top_builddir=
11287 > fi
11288 >
11289 > case $srcdir in
11290 >  .)  # No --srcdir option.  We are building in place.
11291 >    ac_srcdir=.
11292 >    if test -z "$ac_top_builddir"; then
11293 >       ac_top_srcdir=.
11294 >    else
11295 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11296 >    fi ;;
11297 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11298 >    ac_srcdir=$srcdir$ac_dir_suffix;
11299 >    ac_top_srcdir=$srcdir ;;
11300 >  *) # Relative path.
11301 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11302 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11303 > esac
11304 >
11305 > # Do not use `cd foo && pwd` to compute absolute paths, because
11306 > # the directories may not exist.
11307 > case `pwd` in
11308 > .) ac_abs_builddir="$ac_dir";;
11309 > *)
11310 >  case "$ac_dir" in
11311 >  .) ac_abs_builddir=`pwd`;;
11312 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11313 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11314 >  esac;;
11315 > esac
11316 > case $ac_abs_builddir in
11317 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11318 > *)
11319 >  case ${ac_top_builddir}. in
11320 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11321 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11322 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11323 >  esac;;
11324 > esac
11325 > case $ac_abs_builddir in
11326 > .) ac_abs_srcdir=$ac_srcdir;;
11327 > *)
11328 >  case $ac_srcdir in
11329 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11330 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11331 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11332 >  esac;;
11333 > esac
11334 > case $ac_abs_builddir in
11335 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11336 > *)
11337 >  case $ac_top_srcdir in
11338 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11339 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11340 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11341 >  esac;;
11342 > esac
11343 >
11344 >
11345 >  case $INSTALL in
11346 >  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11347 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11348 >  esac
11349 >
11350 >  if test x"$ac_file" != x-; then
11351 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
11352 > echo "$as_me: creating $ac_file" >&6;}
11353 >    rm -f "$ac_file"
11354 >  fi
11355 >  # Let's still pretend it is `configure' which instantiates (i.e., don't
11356 >  # use $as_me), people would be surprised to read:
11357 >  #    /* config.h.  Generated by config.status.  */
11358 >  if test x"$ac_file" = x-; then
11359 >    configure_input=
11360 >  else
11361 >    configure_input="$ac_file.  "
11362 >  fi
11363 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11364 >                                     sed 's,.*/,,'` by configure."
11365 >
11366 >  # First look for the input files in the build tree, otherwise in the
11367 >  # src tree.
11368 >  ac_file_inputs=`IFS=:
11369 >    for f in $ac_file_in; do
11370 >      case $f in
11371 >      -) echo $tmp/stdin ;;
11372 >      [\\/$]*)
11373 >         # Absolute (can't be DOS-style, as IFS=:)
11374 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11375 > echo "$as_me: error: cannot find input file: $f" >&2;}
11376 >   { (exit 1); exit 1; }; }
11377 >         echo "$f";;
11378 >      *) # Relative
11379 >         if test -f "$f"; then
11380 >           # Build tree
11381 >           echo "$f"
11382 >         elif test -f "$srcdir/$f"; then
11383 >           # Source tree
11384 >           echo "$srcdir/$f"
11385 >         else
11386 >           # /dev/null tree
11387 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11388 > echo "$as_me: error: cannot find input file: $f" >&2;}
11389 >   { (exit 1); exit 1; }; }
11390 >         fi;;
11391 >      esac
11392 >    done` || { (exit 1); exit 1; }
11393 > _ACEOF
11394 > cat >>$CONFIG_STATUS <<_ACEOF
11395 >  sed "$ac_vpsub
11396 > $extrasub
11397 > _ACEOF
11398 > cat >>$CONFIG_STATUS <<\_ACEOF
11399 > :t
11400 > /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11401 > s,@configure_input@,$configure_input,;t t
11402 > s,@srcdir@,$ac_srcdir,;t t
11403 > s,@abs_srcdir@,$ac_abs_srcdir,;t t
11404 > s,@top_srcdir@,$ac_top_srcdir,;t t
11405 > s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11406 > s,@builddir@,$ac_builddir,;t t
11407 > s,@abs_builddir@,$ac_abs_builddir,;t t
11408 > s,@top_builddir@,$ac_top_builddir,;t t
11409 > s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11410 > s,@INSTALL@,$ac_INSTALL,;t t
11411 > " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11412 >  rm -f $tmp/stdin
11413 >  if test x"$ac_file" != x-; then
11414 >    mv $tmp/out $ac_file
11415 >  else
11416 >    cat $tmp/out
11417 >    rm -f $tmp/out
11418 >  fi
11419 >
11420 >  # Run the commands associated with the file.
11421 >  case $ac_file in
11422 >    make/Makefile ) chmod 0755 scripts/* ;;
11423 >    src/utils/Makefile ) chmod 0755 scripts/* ;;
11424 >    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11425 >    scripts/filepp ) chmod 0755 scripts/* ;;
11426 >  esac
11427   done
11428   _ACEOF
11429   cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines