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

Comparing trunk/OOPSE-2.0/configure (file contents):
Revision 1619 by chuckv, Wed Oct 20 21:16:01 2004 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 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  
1896  
1897 +
1898 +
1899   # set program name
1900   PROGNAME="oopse"
1901  
# 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 4449 | Line 4462 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
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 <  # clean out junk possibly left behind by a previous configuration
5046 <  rm -f src/utils/getopt.h
5047 <  # Check for getopt_long support
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 < for ac_header in getopt.h
5052 < do
5053 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5054 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5055 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
5056 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5057 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5152 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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 +        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: $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 4971 | 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 5007 | 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 5049 | 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 5078 | 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
5096 <
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  
5099 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 < for ac_func in getopt_long
5314 < do
5315 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5316 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5317 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5318 < if eval "test \"\${$as_ac_var+set}\" = set"; then
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 > 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.  */
5116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5117   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5118 #define $ac_func innocuous_$ac_func
5332  
5120 /* System header to define __stub macros and hopefully few prototypes,
5121    which can conflict with char $ac_func (); below.
5122    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5123    <limits.h> exists even on freestanding compilers.  */
5124
5125 #ifdef __STDC__
5126 # include <limits.h>
5127 #else
5128 # include <assert.h>
5129 #endif
5130
5131 #undef $ac_func
5132
5333   /* Override any gcc2 internal prototype to avoid an error.  */
5334   #ifdef __cplusplus
5335   extern "C"
5136 {
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 ();
5141 < /* The GNU C library defines this for functions which it implements
5142 <    to always fail with ENOSYS.  Some functions are actually named
5143 <    something starting with __ and the normal name is an alias.  */
5144 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5145 < choke me
5146 < #else
5147 < char (*f) () = $ac_func;
5148 < #endif
5149 < #ifdef __cplusplus
5150 < }
5151 < #endif
5152 <
5339 > char inflateEnd ();
5340   int
5341   main ()
5342   {
5343 < return f != $ac_func;
5343 > inflateEnd ();
5344    ;
5345    return 0;
5346   }
# Line 5180 | 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 < else
5389 <  # FreeBSD has a gnugetopt library for this
5390 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5391 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5392 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5388 >  LIBS="-lz $LIBS"
5389 >
5390 > fi
5391 >
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 <  ac_check_lib_save_LIBS=$LIBS
5432 < LIBS="-lgnugetopt  $LIBS"
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 <
5441 < /* Override any gcc2 internal prototype to avoid an error.  */
5217 < #ifdef __cplusplus
5218 < extern "C"
5219 < #endif
5220 < /* We use char because int might match the return type of a gcc2
5221 <   builtin and then its argument prototype would still apply.  */
5222 < char getopt_long ();
5223 < int
5224 < main ()
5225 < {
5226 < getopt_long ();
5227 <  ;
5228 <  return 0;
5229 < }
5440 > $ac_includes_default
5441 > #include <$ac_header>
5442   _ACEOF
5443 < rm -f conftest.$ac_objext conftest$ac_exeext
5444 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5445 <  (eval $ac_link) 2>conftest.er1
5443 > rm -f conftest.$ac_objext
5444 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5445 >  (eval $ac_compile) 2>conftest.er1
5446    ac_status=$?
5447    grep -v '^ *+' conftest.er1 >conftest.err
5448    rm -f conftest.er1
# Line 5244 | Line 5456 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5456    ac_status=$?
5457    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458    (exit $ac_status); }; } &&
5459 <         { ac_try='test -s conftest$ac_exeext'
5459 >         { ac_try='test -s conftest.$ac_objext'
5460    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461    (eval $ac_try) 2>&5
5462    ac_status=$?
5463    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464    (exit $ac_status); }; }; then
5465 <  ac_cv_lib_gnugetopt_getopt_long=yes
5465 >  ac_header_compiler=yes
5466   else
5467    echo "$as_me: failed program was:" >&5
5468   sed 's/^/| /' conftest.$ac_ext >&5
5469  
5470 < ac_cv_lib_gnugetopt_getopt_long=no
5470 > ac_header_compiler=no
5471   fi
5472 < rm -f conftest.err conftest.$ac_objext \
5473 <      conftest$ac_exeext conftest.$ac_ext
5474 < LIBS=$ac_check_lib_save_LIBS
5263 < fi
5264 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5265 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5266 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5267 <  cat >>confdefs.h <<\_ACEOF
5268 < #define HAVE_GETOPT_LONG 1
5269 < _ACEOF
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 <  # use the GNU replacement
5273 <      case $LIBOBJS in
5274 <    "getopt.$ac_objext"   | \
5275 <  *" getopt.$ac_objext"   | \
5276 <    "getopt.$ac_objext "* | \
5277 <  *" getopt.$ac_objext "* ) ;;
5278 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5279 < esac
5280 <
5281 <      case $LIBOBJS in
5282 <    "getopt1.$ac_objext"   | \
5283 <  *" getopt1.$ac_objext"   | \
5284 <    "getopt1.$ac_objext "* | \
5285 <  *" getopt1.$ac_objext "* ) ;;
5286 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5287 < esac
5288 <
5289 <                ac_config_links="$ac_config_links src/utils/getopt.h:src/utils/gnugetopt.h"
5290 <
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 +  ac_header_preproc=no
5511   fi
5512 < done
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 <
5517 <
5518 < case $debug in
5519 <  1)
5520 <     ;;
5521 <  *)
5522 <
5523 <
5524 <
5525 <
5526 <
5527 <
5528 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5529 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5530 < if test "${ac_cv_prog_really_gcc+set}" = set; then
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 <
5314 < cat > conftest.c <<EOF
5315 < #ifdef __GNUC__
5316 <  #ifndef __INTEL_COMPILER
5317 <     yes;
5318 <  #endif
5319 < #endif
5320 < EOF
5321 < if { ac_try='${CC-cc} -E conftest.c'
5322 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 <  (eval $ac_try) 2>&5
5324 <  ac_status=$?
5325 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5327 <  ac_cv_prog_really_gcc=yes
5328 < else
5329 <  ac_cv_prog_really_gcc=no
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   fi
5559 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
5560 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5561 < if test "$ac_cv_prog_really_gcc" = yes; then
5562 <        :
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  
5338 else
5339        :
5340
5564   fi
5565  
5566 + done
5567  
5344 # Try to determine "good" native compiler flags if none specified on command
5345 # line
5346 if test "$ac_test_CFLAGS" != "set"; then
5347  CFLAGS=""
5348  case "${host_cpu}-${host_os}" in
5568  
5350  *linux*) if test "$CC" = icc; then
5351                    CFLAGS="-O"
5352                fi;;
5353  sparc-solaris2*) if test "$CC" = cc; then
5354                    CFLAGS="-native -fast -xO5 -dalign"
5355                 fi;;
5569  
5357  alpha*-osf*)  if test "$CC" = cc; then
5358                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
5359                fi;;
5570  
5361  hppa*-hpux*)  if test "$CC" = cc; then
5362                    CFLAGS="-Ae +O3 +Oall"
5363                fi;;
5571  
5365   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
5366                    CFLAGS="-O3 -qtune=auto -qansialias -w"
5367                fi;;
5368   powerpc*-aix*)
5369        if test "$CC" = cc -o "$CC" = xlc; then
5370                CFLAGS="-O3 -qtune=auto -qansialias -w"
5371                echo "*******************************************************"
5372                echo "*  You have AIX on an unknown powerpc system.  It is  *"
5373                echo "*  recommended that you use                           *"
5374                echo "*                                                     *"
5375                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
5376                echo "*                                 ^^^                 *"
5377                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
5378                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
5379                echo "*******************************************************"
5380        fi;;
5381   *darwin*)
5382        if test "$CC" = xlc -o "$CC" = cc; then
5383                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5384        fi;;
5385  esac
5572  
5573 <  # use default flags for gcc on all systems
5574 <  if test $ac_cv_prog_really_gcc = yes; then
5575 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
5576 <  fi
5577 <
5578 <  # test for gcc-specific flags:
5579 <  if test $ac_cv_prog_really_gcc = yes; then
5394 <    # -malign-double for x86 systems
5395 <
5396 <
5397 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
5398 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
5399 < if test "${ac_align_double+set}" = set; then
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
5577 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5578 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5579 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5580    echo $ECHO_N "(cached) $ECHO_C" >&6
5581 + fi
5582 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5583 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5584   else
5585 <  echo 'void f(){}' > conftest.c
5586 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
5587 <        ac_align_double=yes
5585 >  # Is the header compilable?
5586 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5587 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5588 > cat >conftest.$ac_ext <<_ACEOF
5589 > /* confdefs.h.  */
5590 > _ACEOF
5591 > cat confdefs.h >>conftest.$ac_ext
5592 > cat >>conftest.$ac_ext <<_ACEOF
5593 > /* end confdefs.h.  */
5594 > $ac_includes_default
5595 > #include <$ac_header>
5596 > _ACEOF
5597 > rm -f conftest.$ac_objext
5598 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5599 >  (eval $ac_compile) 2>conftest.er1
5600 >  ac_status=$?
5601 >  grep -v '^ *+' conftest.er1 >conftest.err
5602 >  rm -f conftest.er1
5603 >  cat conftest.err >&5
5604 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 >  (exit $ac_status); } &&
5606 >         { ac_try='test -z "$ac_c_werror_flag"
5607 >                         || test ! -s conftest.err'
5608 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 >  (eval $ac_try) 2>&5
5610 >  ac_status=$?
5611 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 >  (exit $ac_status); }; } &&
5613 >         { ac_try='test -s conftest.$ac_objext'
5614 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 >  (eval $ac_try) 2>&5
5616 >  ac_status=$?
5617 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 >  (exit $ac_status); }; }; then
5619 >  ac_header_compiler=yes
5620   else
5621 <        ac_align_double=no
5621 >  echo "$as_me: failed program was:" >&5
5622 > sed 's/^/| /' conftest.$ac_ext >&5
5623 >
5624 > ac_header_compiler=no
5625   fi
5626 < rm -f conftest*
5626 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5627 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5628 > echo "${ECHO_T}$ac_header_compiler" >&6
5629  
5630 + # Is the header present?
5631 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
5632 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5633 + cat >conftest.$ac_ext <<_ACEOF
5634 + /* confdefs.h.  */
5635 + _ACEOF
5636 + cat confdefs.h >>conftest.$ac_ext
5637 + cat >>conftest.$ac_ext <<_ACEOF
5638 + /* end confdefs.h.  */
5639 + #include <$ac_header>
5640 + _ACEOF
5641 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5642 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5643 +  ac_status=$?
5644 +  grep -v '^ *+' conftest.er1 >conftest.err
5645 +  rm -f conftest.er1
5646 +  cat conftest.err >&5
5647 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 +  (exit $ac_status); } >/dev/null; then
5649 +  if test -s conftest.err; then
5650 +    ac_cpp_err=$ac_c_preproc_warn_flag
5651 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5652 +  else
5653 +    ac_cpp_err=
5654 +  fi
5655 + else
5656 +  ac_cpp_err=yes
5657   fi
5658 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
5659 < echo "${ECHO_T}$ac_align_double" >&6
5413 < if test "$ac_align_double" = yes; then
5414 <        :
5415 <        CFLAGS="$CFLAGS -malign-double"
5658 > if test -z "$ac_cpp_err"; then
5659 >  ac_header_preproc=yes
5660   else
5661 <        :
5661 >  echo "$as_me: failed program was:" >&5
5662 > sed 's/^/| /' conftest.$ac_ext >&5
5663  
5664 +  ac_header_preproc=no
5665   fi
5666 + rm -f conftest.err conftest.$ac_ext
5667 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5668 + echo "${ECHO_T}$ac_header_preproc" >&6
5669  
5670 <    # -fstrict-aliasing for gcc-2.95+
5671 <
5672 <
5673 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5674 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
5675 < if test "${ac_fstrict_aliasing+set}" = set; then
5670 > # So?  What about this header?
5671 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5672 >  yes:no: )
5673 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5674 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5675 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5676 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5677 >    ac_header_preproc=yes
5678 >    ;;
5679 >  no:yes:* )
5680 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5681 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5682 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5683 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5684 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5685 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5686 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5687 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5688 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5689 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5690 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5691 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5692 >    (
5693 >      cat <<\_ASBOX
5694 > ## ------------------------------ ##
5695 > ## Report this to gezelter@nd.edu ##
5696 > ## ------------------------------ ##
5697 > _ASBOX
5698 >    ) |
5699 >      sed "s/^/$as_me: WARNING:     /" >&2
5700 >    ;;
5701 > esac
5702 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5703 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5704 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5705    echo $ECHO_N "(cached) $ECHO_C" >&6
5706   else
5707 <  echo 'void f(){}' > conftest.c
5430 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
5431 <        ac_fstrict_aliasing=yes
5432 < else
5433 <        ac_fstrict_aliasing=no
5707 >  eval "$as_ac_Header=\$ac_header_preproc"
5708   fi
5709 < rm -f conftest*
5709 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5710 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5711  
5712   fi
5713 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
5714 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5715 < if test "$ac_fstrict_aliasing" = yes; then
5716 <        :
5442 <        CFLAGS="$CFLAGS -fstrict-aliasing"
5443 < else
5444 <        :
5713 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5714 >  cat >>confdefs.h <<_ACEOF
5715 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5716 > _ACEOF
5717  
5718   fi
5719  
5720 <  fi
5720 > done
5721  
5722 <  CPU_FLAGS=""
5723 <  if test $ac_cv_prog_really_gcc = yes; then
5724 <                  case "${host_cpu}" in
5725 <          i586*)
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 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5729 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
5730 < if test "${ac_cpu_pentium+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 <  echo 'void f(){}' > conftest.c
5740 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
5741 <        ac_cpu_pentium=yes
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.  */
5757 > #ifdef __STDC__
5758 > # include <limits.h>
5759 > #else
5760 > # include <assert.h>
5761 > #endif
5762 >                     Syntax error
5763 > _ACEOF
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); } >/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_cpu_pentium=no
5779 >  ac_cpp_err=yes
5780   fi
5781 < rm -f conftest*
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 +  # Broken: fails on valid input.
5788 + continue
5789   fi
5790 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
5470 < echo "${ECHO_T}$ac_cpu_pentium" >&6
5471 < if test "$ac_cpu_pentium" = yes; then
5472 <        :
5473 <        CPU_FLAGS=-mcpu=pentium
5474 < else
5475 <        :
5790 > rm -f conftest.err conftest.$ac_ext
5791  
5792 <
5793 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
5794 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
5795 < if test "${ac_pentium+set}" = set; then
5796 <  echo $ECHO_N "(cached) $ECHO_C" >&6
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 > 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 <  echo 'void f(){}' > conftest.c
5484 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
5485 <        ac_pentium=yes
5486 < else
5487 <        ac_pentium=no
5817 >  ac_cpp_err=yes
5818   fi
5819 < rm -f conftest*
5820 <
5821 < fi
5492 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
5493 < echo "${ECHO_T}$ac_pentium" >&6
5494 < if test "$ac_pentium" = yes; then
5495 <        :
5496 <        CPU_FLAGS=-mpentium
5819 > if test -z "$ac_cpp_err"; then
5820 >  # Broken: success on invalid input.
5821 > continue
5822   else
5823 <        :
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 <                  ;;
5840 <          i686*)
5839 >    done
5840 >    ac_cv_prog_CXXCPP=$CXXCPP
5841  
5842 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5843 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
5509 < if test "${ac_cpu_pentiumpro+set}" = set; then
5510 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5842 > fi
5843 >  CXXCPP=$ac_cv_prog_CXXCPP
5844   else
5845 <  echo 'void f(){}' > conftest.c
5846 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
5847 <        ac_cpu_pentiumpro=yes
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 > #ifdef __STDC__
5865 > # include <limits.h>
5866 > #else
5867 > # include <assert.h>
5868 > #endif
5869 >                     Syntax error
5870 > _ACEOF
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); } >/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_cpu_pentiumpro=no
5886 >  ac_cpp_err=yes
5887   fi
5888 < rm -f conftest*
5889 <
5520 < fi
5521 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
5522 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
5523 < if test "$ac_cpu_pentiumpro" = yes; then
5524 <        :
5525 <        CPU_FLAGS=-mcpu=pentiumpro
5888 > if test -z "$ac_cpp_err"; then
5889 >  :
5890   else
5891 <        :
5891 >  echo "$as_me: failed program was:" >&5
5892 > sed 's/^/| /' conftest.$ac_ext >&5
5893  
5894 <
5895 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5896 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
5897 < if test "${ac_pentiumpro+set}" = set; then
5898 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5899 < else
5900 <  echo 'void f(){}' > conftest.c
5901 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
5902 <        ac_pentiumpro=yes
5903 < else
5904 <        ac_pentiumpro=no
5905 < fi
5906 < rm -f conftest*
5907 <
5908 < fi
5909 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
5910 < echo "${ECHO_T}$ac_pentiumpro" >&6
5911 < if test "$ac_pentiumpro" = yes; then
5912 <        :
5913 <        CPU_FLAGS=-mpentiumpro
5914 < else
5915 <        :
5916 <
5917 < fi
5918 <
5919 < fi
5920 <
5921 <                  ;;
5922 <          powerpc*)
5923 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
5924 <                is60x=`echo $cputype | egrep "^600-9e?$"`
5925 <                if test -n "$is60x"; then
5926 <
5927 <
5928 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5929 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
5930 < if test "${ac_m_cpu_60x+set}" = set; then
5931 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5932 < else
5933 <  echo 'void f(){}' > conftest.c
5934 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
5935 <        ac_m_cpu_60x=yes
5936 < else
5937 <        ac_m_cpu_60x=no
5938 < fi
5939 < rm -f conftest*
5940 <
5941 < fi
5942 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
5943 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
5944 < if test "$ac_m_cpu_60x" = yes; then
5945 <        :
5946 <        CPU_FLAGS=-mcpu=$cputype
5947 < else
5948 <        :
5949 <
5950 < fi
5951 <
5952 <                elif test "$cputype" = 750; then
5953 <
5954 <
5955 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
5956 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
5957 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
5958 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5959 < else
5960 <
5961 < cat > conftest.c <<EOF
5962 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
5963 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
5964 <     yes;
5965 < #  endif
5966 < #endif
5967 < EOF
5968 < if { ac_try='${CC-cc} -E conftest.c'
5969 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 <  (eval $ac_try) 2>&5
5971 <  ac_status=$?
5972 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5974 <  ac_cv_prog_gcc_2_95=yes
5975 < else
5976 <  ac_cv_prog_gcc_2_95=no
5977 < fi
5978 <
5979 < fi
5980 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
5981 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
5982 < if test "$ac_cv_prog_gcc_2_95" = yes; then
5983 <        :
5984 <
5985 <
5986 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
5987 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
5988 < if test "${ac_m_cpu_750+set}" = set; then
5989 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5990 < else
5991 <  echo 'void f(){}' > conftest.c
5992 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
5993 <        ac_m_cpu_750=yes
5994 < else
5995 <        ac_m_cpu_750=no
5996 < fi
5997 < rm -f conftest*
5998 <
5999 < fi
6000 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6001 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6002 < if test "$ac_m_cpu_750" = yes; then
6003 <        :
6004 <        CPU_FLAGS=-mcpu=750
6005 < else
6006 <        :
6007 <
6008 < fi
6009 <
6010 < else
6011 <        :
6012 <
6013 < fi
6014 <
6015 <                fi
6016 <                if test -z "$CPU_FLAGS"; then
6017 <
6018 <
6019 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6020 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
6021 < if test "${ac_m_cpu_powerpc+set}" = set; then
6022 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6023 < else
6024 <  echo 'void f(){}' > conftest.c
6025 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
6026 <        ac_m_cpu_powerpc=yes
6027 < else
6028 <        ac_m_cpu_powerpc=no
6029 < fi
6030 < rm -f conftest*
6031 <
6032 < fi
6033 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6034 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6035 < if test "$ac_m_cpu_powerpc" = yes; then
6036 <        :
6037 <        CPU_FLAGS=-mcpu=powerpc
6038 < else
6039 <        :
6040 <
6041 < fi
6042 <
6043 <                fi
6044 <                if test -z "$CPU_FLAGS"; then
6045 <
6046 <
6047 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6048 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6049 < if test "${ac_m_powerpc+set}" = set; then
6050 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6051 < else
6052 <  echo 'void f(){}' > conftest.c
6053 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
6054 <        ac_m_powerpc=yes
6055 < else
6056 <        ac_m_powerpc=no
6057 < fi
6058 < rm -f conftest*
6059 <
6060 < fi
6061 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6062 < echo "${ECHO_T}$ac_m_powerpc" >&6
6063 < if test "$ac_m_powerpc" = yes; then
6064 <        :
6065 <        CPU_FLAGS=-mpowerpc
6066 < else
6067 <        :
6068 <
6069 < fi
6070 <
6071 <                fi
6072 <          esac
6073 <  fi
6074 <
6075 <  if test -n "$CPU_FLAGS"; then
6076 <        CFLAGS="$CFLAGS $CPU_FLAGS"
6077 <  fi
6078 <
6079 <  if test -z "$CFLAGS"; then
6080 <        echo ""
6081 <        echo "********************************************************"
6082 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
6083 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6084 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
6085 <        echo "********************************************************"
6086 <        echo ""
6087 <        CFLAGS="-O3"
6088 <  fi
6089 <
6090 <
6091 <
6092 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6093 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6094 < if test "${ac_guessed_cflags+set}" = set; then
6095 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6096 < else
6097 <  echo 'void f(){}' > conftest.c
6098 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
6099 <        ac_guessed_cflags=yes
6100 < else
6101 <        ac_guessed_cflags=no
6102 < fi
6103 < rm -f conftest*
6104 <
6105 < fi
6106 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6107 < echo "${ECHO_T}$ac_guessed_cflags" >&6
6108 < if test "$ac_guessed_cflags" = yes; then
6109 <        :
6110 <
6111 < else
6112 <        :
6113 <
6114 <        echo ""
6115 <        echo "********************************************************"
6116 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
6117 <        echo "* your compiler.                                       *"
6118 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6119 <        echo "********************************************************"
6120 <        echo ""
6121 <        CFLAGS=""
6122 <
6123 < fi
6124 <
6125 <
6126 < fi
6127 <
6128 <
6129 <
6130 <
6131 <
6132 <
6133 <
6134 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6135 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6136 < if test "${ac_cv_prog_really_gxx+set}" = set; then
6137 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6138 < else
6139 <
6140 < cat > conftest.cpp <<EOF
6141 < #ifdef __GNUC__
6142 <  #ifndef __INTEL_COMPILER
6143 <     yes;
6144 <  #endif
6145 < #endif
6146 < EOF
6147 < if { ac_try='${CXX-c++} -E conftest.cpp'
6148 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 <  (eval $ac_try) 2>&5
6150 <  ac_status=$?
6151 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6153 <  ac_cv_prog_really_gxx=yes
6154 < else
6155 <  ac_cv_prog_really_gxx=no
6156 < fi
6157 <
6158 < fi
6159 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6160 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6161 < if test "$ac_cv_prog_really_gxx" = yes; then
6162 <        :
6163 <
6164 < else
6165 <        :
6166 <
6167 < fi
6168 <
6169 <
6170 < # Try to determine "good" native compiler flags if none specified on command
6171 < # line
6172 < if test "$ac_test_CXXFLAGS" != "set"; then
6173 <  CXXFLAGS=""
6174 <  case "${host_cpu}-${host_os}" in
6175 <
6176 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
6177 <                    CXXFLAGS="-O"
6178 <                fi;;
6179 <  sparc-solaris2*) if test "$CXX" = CC; then
6180 <                    CXXFLAGS="-native -fast -xO5 -dalign"
6181 <                 fi;;
6182 <   rs6000*-aix*)  if test "$CXX" = xlC; then
6183 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6184 <                fi;;
6185 <   powerpc*-aix*)
6186 <        if test "$CXX" = xlC; then
6187 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
6188 <                echo "*******************************************************"
6189 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6190 <                echo "*  recommended that you use                           *"
6191 <                echo "*                                                     *"
6192 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6193 <                echo "*                                 ^^^                 *"
6194 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6195 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6196 <                echo "*******************************************************"
6197 <        fi;;
6198 <   *darwin*)
6199 <        if test "$CXX" = xlc++; then
6200 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6201 <        fi;;
6202 <  esac
6203 <
6204 <  # use default flags for gcc on all systems
6205 <  if test $ac_cv_prog_really_gxx = yes; then
6206 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6207 <  fi
6208 <
6209 <  # test for gcc-specific flags:
6210 <  if test $ac_cv_prog_really_gxx = yes; then
6211 <    # -malign-double for x86 systems
6212 <
6213 <
6214 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6215 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6216 < if test "${ac_align_double+set}" = set; then
6217 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6218 < else
6219 <  echo 'void f(){}' > conftest.cpp
6220 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
6221 <        ac_align_double=yes
6222 < else
6223 <        ac_align_double=no
6224 < fi
6225 < rm -f conftest*
6226 <
6227 < fi
6228 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6229 < echo "${ECHO_T}$ac_align_double" >&6
6230 < if test "$ac_align_double" = yes; then
6231 <        :
6232 <        CXXFLAGS="$CXXFLAGS -malign-double"
6233 < else
6234 <        :
6235 <
6236 < fi
6237 <
6238 <    # -fstrict-aliasing for gcc-2.95+
6239 <
6240 <
6241 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6242 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6243 < if test "${ac_fstrict_aliasing+set}" = set; then
6244 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6245 < else
6246 <  echo 'void f(){}' > conftest.cpp
6247 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
6248 <        ac_fstrict_aliasing=yes
6249 < else
6250 <        ac_fstrict_aliasing=no
6251 < fi
6252 < rm -f conftest*
6253 <
6254 < fi
6255 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6256 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6257 < if test "$ac_fstrict_aliasing" = yes; then
6258 <        :
6259 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
6260 < else
6261 <        :
6262 <
6263 < fi
6264 <
6265 <  fi
6266 <
6267 <  CPU_FLAGS=""
6268 <  if test $ac_cv_prog_really_gxx = yes; then
6269 <                  case "${host_cpu}" in
6270 <          i586*)
6271 <
6272 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6273 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6274 < if test "${ac_cpu_pentium+set}" = set; then
6275 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6276 < else
6277 <  echo 'void f(){}' > conftest.cpp
6278 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
6279 <        ac_cpu_pentium=yes
6280 < else
6281 <        ac_cpu_pentium=no
6282 < fi
6283 < rm -f conftest*
6284 <
6285 < fi
6286 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6287 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6288 < if test "$ac_cpu_pentium" = yes; then
6289 <        :
6290 <        CPU_FLAGS=-mcpu=pentium
6291 < else
6292 <        :
6293 <
6294 <
6295 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6296 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6297 < if test "${ac_pentium+set}" = set; then
6298 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6299 < else
6300 <  echo 'void f(){}' > conftest.cpp
6301 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
6302 <        ac_pentium=yes
6303 < else
6304 <        ac_pentium=no
6305 < fi
6306 < rm -f conftest*
6307 <
6308 < fi
6309 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6310 < echo "${ECHO_T}$ac_pentium" >&6
6311 < if test "$ac_pentium" = yes; then
6312 <        :
6313 <        CPU_FLAGS=-mpentium
6314 < else
6315 <        :
6316 <
6317 < fi
6318 <
6319 < fi
6320 <
6321 <                  ;;
6322 <          i686*)
6323 <
6324 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6325 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6326 < if test "${ac_cpu_pentiumpro+set}" = set; then
6327 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6328 < else
6329 <  echo 'void f(){}' > conftest.cpp
6330 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6331 <        ac_cpu_pentiumpro=yes
6332 < else
6333 <        ac_cpu_pentiumpro=no
6334 < fi
6335 < rm -f conftest*
6336 <
6337 < fi
6338 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6339 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6340 < if test "$ac_cpu_pentiumpro" = yes; then
6341 <        :
6342 <        CPU_FLAGS=-mcpu=pentiumpro
6343 < else
6344 <        :
6345 <
6346 <
6347 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6348 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6349 < if test "${ac_pentiumpro+set}" = set; then
6350 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6351 < else
6352 <  echo 'void f(){}' > conftest.cpp
6353 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6354 <        ac_pentiumpro=yes
6355 < else
6356 <        ac_pentiumpro=no
6357 < fi
6358 < rm -f conftest*
6359 <
6360 < fi
6361 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6362 < echo "${ECHO_T}$ac_pentiumpro" >&6
6363 < if test "$ac_pentiumpro" = yes; then
6364 <        :
6365 <        CPU_FLAGS=-mpentiumpro
6366 < else
6367 <        :
6368 <
6369 < fi
6370 <
6371 < fi
6372 <
6373 <                  ;;
6374 <          powerpc*)
6375 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6376 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6377 <                if test -n "$is60x"; then
6378 <
6379 <
6380 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6381 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6382 < if test "${ac_m_cpu_60x+set}" = set; then
6383 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6384 < else
6385 <  echo 'void f(){}' > conftest.cpp
6386 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6387 <        ac_m_cpu_60x=yes
6388 < else
6389 <        ac_m_cpu_60x=no
6390 < fi
6391 < rm -f conftest*
6392 <
6393 < fi
6394 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6395 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6396 < if test "$ac_m_cpu_60x" = yes; then
6397 <        :
6398 <        CPU_FLAGS=-mcpu=$cputype
6399 < else
6400 <        :
6401 <
6402 < fi
6403 <
6404 <                elif test "$cputype" = 750; then
6405 <
6406 <
6407 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6408 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6409 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6410 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6411 < else
6412 <
6413 < cat > conftest.cpp <<EOF
6414 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6415 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6416 <     yes;
6417 < #  endif
6418 < #endif
6419 < EOF
6420 < if { ac_try='${CXX-c++} -E conftest.cpp'
6421 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 <  (eval $ac_try) 2>&5
6423 <  ac_status=$?
6424 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6426 <  ac_cv_prog_gxx_2_95=yes
6427 < else
6428 <  ac_cv_prog_gxx_2_95=no
6429 < fi
6430 <
6431 < fi
6432 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6433 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6434 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6435 <        :
6436 <
6437 <
6438 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6439 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6440 < if test "${ac_m_cpu_750+set}" = set; then
6441 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6442 < else
6443 <  echo 'void f(){}' > conftest.cpp
6444 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
6445 <        ac_m_cpu_750=yes
6446 < else
6447 <        ac_m_cpu_750=no
6448 < fi
6449 < rm -f conftest*
6450 <
6451 < fi
6452 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6453 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6454 < if test "$ac_m_cpu_750" = yes; then
6455 <        :
6456 <        CPU_FLAGS=-mcpu=750
6457 < else
6458 <        :
6459 <
6460 < fi
6461 <
6462 < else
6463 <        :
6464 <
6465 < fi
6466 <
6467 <                fi
6468 <                if test -z "$CPU_FLAGS"; then
6469 <
6470 <
6471 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6472 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6473 < if test "${ac_m_cpu_powerpc+set}" = set; then
6474 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6475 < else
6476 <  echo 'void f(){}' > conftest.cpp
6477 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
6478 <        ac_m_cpu_powerpc=yes
6479 < else
6480 <        ac_m_cpu_powerpc=no
6481 < fi
6482 < rm -f conftest*
6483 <
6484 < fi
6485 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6486 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6487 < if test "$ac_m_cpu_powerpc" = yes; then
6488 <        :
6489 <        CPU_FLAGS=-mcpu=powerpc
6490 < else
6491 <        :
6492 <
6493 < fi
6494 <
6495 <                fi
6496 <                if test -z "$CPU_FLAGS"; then
6497 <
6498 <
6499 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6500 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6501 < if test "${ac_m_powerpc+set}" = set; then
6502 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6503 < else
6504 <  echo 'void f(){}' > conftest.cpp
6505 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
6506 <        ac_m_powerpc=yes
6507 < else
6508 <        ac_m_powerpc=no
6509 < fi
6510 < rm -f conftest*
6511 <
6512 < fi
6513 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6514 < echo "${ECHO_T}$ac_m_powerpc" >&6
6515 < if test "$ac_m_powerpc" = yes; then
6516 <        :
6517 <        CPU_FLAGS=-mpowerpc
6518 < else
6519 <        :
6520 <
6521 < fi
6522 <
6523 <                fi
6524 <          esac
6525 <  fi
6526 <
6527 <  if test -n "$CPU_FLAGS"; then
6528 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
6529 <  fi
6530 <
6531 <  if test -z "$CXXFLAGS"; then
6532 <        echo ""
6533 <        echo "**********************************************************"
6534 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
6535 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6536 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
6537 <        echo "**********************************************************"
6538 <        echo ""
6539 <        CXXFLAGS="-O3"
6540 <  fi
6541 <
6542 <
6543 <
6544 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6545 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6546 < if test "${ac_guessed_cxxflags+set}" = set; then
6547 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6548 < else
6549 <  echo 'void f(){}' > conftest.cpp
6550 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
6551 <        ac_guessed_cxxflags=yes
6552 < else
6553 <        ac_guessed_cxxflags=no
6554 < fi
6555 < rm -f conftest*
6556 <
6557 < fi
6558 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6559 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6560 < if test "$ac_guessed_cxxflags" = yes; then
6561 <        :
6562 <
6563 < else
6564 <        :
6565 <
6566 <        echo ""
6567 <        echo "**********************************************************"
6568 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
6569 <        echo "* your compiler.                                         *"
6570 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6571 <        echo "**********************************************************"
6572 <        echo ""
6573 <        CXXFLAGS=""
6574 <
6575 < fi
6576 <
6577 <
6578 < fi
6579 <
6580 <
6581 <
6582 <
6583 <
6584 < # Try to determine "good" native compiler flags if none specified on command
6585 < # line
6586 <
6587 < if test x"$F90FLAGS" = x ; then
6588 <  F90FLAGS=""
6589 <  case "${host_cpu}-${host_os}" in
6590 <
6591 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
6592 <                    F90FLAGS="-O"
6593 <                fi;;
6594 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
6595 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6596 <                fi;;
6597 <   powerpc*-aix*)
6598 <        if test "$F90" = f90 -o "$F90" = xlf90; then
6599 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
6600 <                echo "*******************************************************"
6601 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6602 <                echo "*  recommended that you use                           *"
6603 <                echo "*                                                     *"
6604 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6605 <                echo "*                                 ^^^                 *"
6606 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6607 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
6608 <                echo "*******************************************************"
6609 <        fi;;
6610 <   *darwin*)
6611 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6612 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6613 <        fi;;
6614 <  esac
6615 <
6616 <  if test -n "$CPU_FLAGS"; then
6617 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
6618 <  fi
6619 <
6620 <  if test -z "$F90FLAGS"; then
6621 <        echo ""
6622 <        echo "**********************************************************"
6623 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
6624 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6625 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
6626 <        echo "**********************************************************"
6627 <        echo ""
6628 <        F90FLAGS="-O3"
6629 <  fi
6630 <
6631 <
6632 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6633 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6634 < if test "${ac_guessed_f90flags+set}" = set; then
6635 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6636 < else
6637 <
6638 <
6639 <
6640 < ac_ext=f90
6641 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6642 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6643 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6644 <
6645 < echo 'program main' > conftest.$ac_ext
6646 < echo 'end program main' >> conftest.$ac_ext
6647 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6648 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6649 <  (eval $ac_compile) 2>&5
6650 <  ac_status=$?
6651 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 <  (exit $ac_status); }; then
6653 <        ac_guessed_f90flags=yes
6654 < else
6655 <        ac_guessed_f90flags=no
6656 < fi
6657 < rm -f conftest*
6658 < ac_ext=c
6659 < ac_cpp='$CPP $CPPFLAGS'
6660 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6661 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6662 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6663 <
6664 <
6665 < fi
6666 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
6667 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
6668 < if test "$ac_guessed_f90flags" = yes; then
6669 <        :
6670 <
6671 < else
6672 <        :
6673 <
6674 <        echo ""
6675 <        echo "**********************************************************"
6676 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
6677 <        echo "* your compiler.                                         *"
6678 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6679 <        echo "**********************************************************"
6680 <        echo ""
6681 <        F90FLAGS=""
6682 <
6683 < fi
6684 <
6685 <
6686 < fi
6687 <
6688 <     ;;
6689 < esac
6690 <
6691 < # Find a good install program.  We prefer a C program (faster),
6692 < # so one script is as good as another.  But avoid the broken or
6693 < # incompatible versions:
6694 < # SysV /etc/install, /usr/sbin/install
6695 < # SunOS /usr/etc/install
6696 < # IRIX /sbin/install
6697 < # AIX /bin/install
6698 < # AmigaOS /C/install, which installs bootblocks on floppy discs
6699 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6700 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6701 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6702 < # OS/2's system install, which has a completely different semantic
6703 < # ./install, which can be erroneously created by make from ./install.sh.
6704 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6705 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6706 < if test -z "$INSTALL"; then
6707 < if test "${ac_cv_path_install+set}" = set; then
6708 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6709 < else
6710 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 < for as_dir in $PATH
6712 < do
6713 <  IFS=$as_save_IFS
6714 <  test -z "$as_dir" && as_dir=.
6715 <  # Account for people who put trailing slashes in PATH elements.
6716 < case $as_dir/ in
6717 <  ./ | .// | /cC/* | \
6718 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6719 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6720 <  /usr/ucb/* ) ;;
6721 <  *)
6722 <    # OSF1 and SCO ODT 3.0 have their own names for install.
6723 <    # Don't use installbsd from OSF since it installs stuff as root
6724 <    # by default.
6725 <    for ac_prog in ginstall scoinst install; do
6726 <      for ac_exec_ext in '' $ac_executable_extensions; do
6727 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6728 <          if test $ac_prog = install &&
6729 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6730 <            # AIX install.  It has an incompatible calling convention.
6731 <            :
6732 <          elif test $ac_prog = install &&
6733 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6734 <            # program-specific install script used by HP pwplus--don't use.
6735 <            :
6736 <          else
6737 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6738 <            break 3
6739 <          fi
6740 <        fi
6741 <      done
6742 <    done
6743 <    ;;
6744 < esac
6745 < done
6746 <
6747 <
6748 < fi
6749 <  if test "${ac_cv_path_install+set}" = set; then
6750 <    INSTALL=$ac_cv_path_install
6751 <  else
6752 <    # As a last resort, use the slow shell script.  We don't cache a
6753 <    # path for INSTALL within a source directory, because that will
6754 <    # break other packages using the cache if that directory is
6755 <    # removed, or if the path is relative.
6756 <    INSTALL=$ac_install_sh
6757 <  fi
6758 < fi
6759 < echo "$as_me:$LINENO: result: $INSTALL" >&5
6760 < echo "${ECHO_T}$INSTALL" >&6
6761 <
6762 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6763 < # It thinks the first close brace ends the variable substitution.
6764 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6765 <
6766 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6767 <
6768 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6769 <
6770 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
6771 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6772 < LN_S=$as_ln_s
6773 < if test "$LN_S" = "ln -s"; then
6774 <  echo "$as_me:$LINENO: result: yes" >&5
6775 < echo "${ECHO_T}yes" >&6
6776 < else
6777 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6778 < echo "${ECHO_T}no, using $LN_S" >&6
6779 < fi
6780 <
6781 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6782 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6783 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6784 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6785 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6786 < else
6787 <  cat >conftest.make <<\_ACEOF
6788 < all:
6789 <        @echo 'ac_maketemp="$(MAKE)"'
6790 < _ACEOF
6791 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6792 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6793 < if test -n "$ac_maketemp"; then
6794 <  eval ac_cv_prog_make_${ac_make}_set=yes
6795 < else
6796 <  eval ac_cv_prog_make_${ac_make}_set=no
6797 < fi
6798 < rm -f conftest.make
6799 < fi
6800 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6801 <  echo "$as_me:$LINENO: result: yes" >&5
6802 < echo "${ECHO_T}yes" >&6
6803 <  SET_MAKE=
6804 < else
6805 <  echo "$as_me:$LINENO: result: no" >&5
6806 < echo "${ECHO_T}no" >&6
6807 <  SET_MAKE="MAKE=${MAKE-make}"
6808 < fi
6809 <
6810 < if test -n "$ac_tool_prefix"; then
6811 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6812 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6813 < echo "$as_me:$LINENO: checking for $ac_word" >&5
6814 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6815 < if test "${ac_cv_prog_RANLIB+set}" = set; then
6816 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6817 < else
6818 <  if test -n "$RANLIB"; then
6819 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6820 < else
6821 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 < for as_dir in $PATH
6823 < do
6824 <  IFS=$as_save_IFS
6825 <  test -z "$as_dir" && as_dir=.
6826 <  for ac_exec_ext in '' $ac_executable_extensions; do
6827 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6828 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6829 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6830 <    break 2
6831 <  fi
6832 < done
6833 < done
6834 <
6835 < fi
6836 < fi
6837 < RANLIB=$ac_cv_prog_RANLIB
6838 < if test -n "$RANLIB"; then
6839 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
6840 < echo "${ECHO_T}$RANLIB" >&6
6841 < else
6842 <  echo "$as_me:$LINENO: result: no" >&5
6843 < echo "${ECHO_T}no" >&6
6844 < fi
6845 <
6846 < fi
6847 < if test -z "$ac_cv_prog_RANLIB"; then
6848 <  ac_ct_RANLIB=$RANLIB
6849 <  # Extract the first word of "ranlib", so it can be a program name with args.
6850 < set dummy ranlib; ac_word=$2
6851 < echo "$as_me:$LINENO: checking for $ac_word" >&5
6852 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6853 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6854 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6855 < else
6856 <  if test -n "$ac_ct_RANLIB"; then
6857 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6858 < else
6859 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 < for as_dir in $PATH
6861 < do
6862 <  IFS=$as_save_IFS
6863 <  test -z "$as_dir" && as_dir=.
6864 <  for ac_exec_ext in '' $ac_executable_extensions; do
6865 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6866 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
6867 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 <    break 2
6869 <  fi
6870 < done
6871 < done
6872 <
6873 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6874 < fi
6875 < fi
6876 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6877 < if test -n "$ac_ct_RANLIB"; then
6878 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6879 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
6880 < else
6881 <  echo "$as_me:$LINENO: result: no" >&5
6882 < echo "${ECHO_T}no" >&6
6883 < fi
6884 <
6885 <  RANLIB=$ac_ct_RANLIB
6886 < else
6887 <  RANLIB="$ac_cv_prog_RANLIB"
6888 < fi
6889 <
6890 < for ac_prog in 'bison -y' byacc
6891 < do
6892 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
6893 < set dummy $ac_prog; ac_word=$2
6894 < echo "$as_me:$LINENO: checking for $ac_word" >&5
6895 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6896 < if test "${ac_cv_prog_YACC+set}" = set; then
6897 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6898 < else
6899 <  if test -n "$YACC"; then
6900 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
6901 < else
6902 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 < for as_dir in $PATH
6904 < do
6905 <  IFS=$as_save_IFS
6906 <  test -z "$as_dir" && as_dir=.
6907 <  for ac_exec_ext in '' $ac_executable_extensions; do
6908 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 <    ac_cv_prog_YACC="$ac_prog"
6910 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 <    break 2
6912 <  fi
6913 < done
6914 < done
6915 <
6916 < fi
6917 < fi
6918 < YACC=$ac_cv_prog_YACC
6919 < if test -n "$YACC"; then
6920 <  echo "$as_me:$LINENO: result: $YACC" >&5
6921 < echo "${ECHO_T}$YACC" >&6
6922 < else
6923 <  echo "$as_me:$LINENO: result: no" >&5
6924 < echo "${ECHO_T}no" >&6
6925 < fi
6926 <
6927 <  test -n "$YACC" && break
6928 < done
6929 < test -n "$YACC" || YACC="yacc"
6930 <
6931 < for ac_prog in flex lex
6932 < do
6933 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
6934 < set dummy $ac_prog; ac_word=$2
6935 < echo "$as_me:$LINENO: checking for $ac_word" >&5
6936 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6937 < if test "${ac_cv_prog_LEX+set}" = set; then
6938 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6939 < else
6940 <  if test -n "$LEX"; then
6941 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
6942 < else
6943 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 < for as_dir in $PATH
6945 < do
6946 <  IFS=$as_save_IFS
6947 <  test -z "$as_dir" && as_dir=.
6948 <  for ac_exec_ext in '' $ac_executable_extensions; do
6949 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6950 <    ac_cv_prog_LEX="$ac_prog"
6951 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6952 <    break 2
6953 <  fi
6954 < done
6955 < done
6956 <
6957 < fi
6958 < fi
6959 < LEX=$ac_cv_prog_LEX
6960 < if test -n "$LEX"; then
6961 <  echo "$as_me:$LINENO: result: $LEX" >&5
6962 < echo "${ECHO_T}$LEX" >&6
6963 < else
6964 <  echo "$as_me:$LINENO: result: no" >&5
6965 < echo "${ECHO_T}no" >&6
6966 < fi
6967 <
6968 <  test -n "$LEX" && break
6969 < done
6970 < test -n "$LEX" || LEX=":"
6971 <
6972 < if test -z "$LEXLIB"
6973 < then
6974 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6975 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6976 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6977 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6978 < else
6979 <  ac_check_lib_save_LIBS=$LIBS
6980 < LIBS="-lfl  $LIBS"
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 <
6988 < /* Override any gcc2 internal prototype to avoid an error.  */
6989 < #ifdef __cplusplus
6990 < extern "C"
6991 < #endif
6992 < /* We use char because int might match the return type of a gcc2
6993 <   builtin and then its argument prototype would still apply.  */
6994 < char yywrap ();
6995 < int
6996 < main ()
6997 < {
6998 < yywrap ();
6999 <  ;
7000 <  return 0;
7001 < }
7002 < _ACEOF
7003 < rm -f conftest.$ac_objext conftest$ac_exeext
7004 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7005 <  (eval $ac_link) 2>conftest.er1
7006 <  ac_status=$?
7007 <  grep -v '^ *+' conftest.er1 >conftest.err
7008 <  rm -f conftest.er1
7009 <  cat conftest.err >&5
7010 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 <  (exit $ac_status); } &&
7012 <         { ac_try='test -z "$ac_c_werror_flag"
7013 <                         || test ! -s conftest.err'
7014 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 <  (eval $ac_try) 2>&5
7016 <  ac_status=$?
7017 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 <  (exit $ac_status); }; } &&
7019 <         { ac_try='test -s conftest$ac_exeext'
7020 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021 <  (eval $ac_try) 2>&5
7022 <  ac_status=$?
7023 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 <  (exit $ac_status); }; }; then
7025 <  ac_cv_lib_fl_yywrap=yes
7026 < else
7027 <  echo "$as_me: failed program was:" >&5
7028 < sed 's/^/| /' conftest.$ac_ext >&5
7029 <
7030 < ac_cv_lib_fl_yywrap=no
7031 < fi
7032 < rm -f conftest.err conftest.$ac_objext \
7033 <      conftest$ac_exeext conftest.$ac_ext
7034 < LIBS=$ac_check_lib_save_LIBS
7035 < fi
7036 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
7037 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
7038 < if test $ac_cv_lib_fl_yywrap = yes; then
7039 <  LEXLIB="-lfl"
7040 < else
7041 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7042 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7043 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
7044 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7045 < else
7046 <  ac_check_lib_save_LIBS=$LIBS
7047 < LIBS="-ll  $LIBS"
7048 < cat >conftest.$ac_ext <<_ACEOF
7049 < /* confdefs.h.  */
7050 < _ACEOF
7051 < cat confdefs.h >>conftest.$ac_ext
7052 < cat >>conftest.$ac_ext <<_ACEOF
7053 < /* end confdefs.h.  */
7054 <
7055 < /* Override any gcc2 internal prototype to avoid an error.  */
7056 < #ifdef __cplusplus
7057 < extern "C"
7058 < #endif
7059 < /* We use char because int might match the return type of a gcc2
7060 <   builtin and then its argument prototype would still apply.  */
7061 < char yywrap ();
7062 < int
7063 < main ()
7064 < {
7065 < yywrap ();
7066 <  ;
7067 <  return 0;
7068 < }
7069 < _ACEOF
7070 < rm -f conftest.$ac_objext conftest$ac_exeext
7071 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7072 <  (eval $ac_link) 2>conftest.er1
7073 <  ac_status=$?
7074 <  grep -v '^ *+' conftest.er1 >conftest.err
7075 <  rm -f conftest.er1
7076 <  cat conftest.err >&5
7077 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 <  (exit $ac_status); } &&
7079 <         { ac_try='test -z "$ac_c_werror_flag"
7080 <                         || test ! -s conftest.err'
7081 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 <  (eval $ac_try) 2>&5
7083 <  ac_status=$?
7084 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 <  (exit $ac_status); }; } &&
7086 <         { ac_try='test -s conftest$ac_exeext'
7087 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 <  (eval $ac_try) 2>&5
7089 <  ac_status=$?
7090 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 <  (exit $ac_status); }; }; then
7092 <  ac_cv_lib_l_yywrap=yes
7093 < else
7094 <  echo "$as_me: failed program was:" >&5
7095 < sed 's/^/| /' conftest.$ac_ext >&5
7096 <
7097 < ac_cv_lib_l_yywrap=no
7098 < fi
7099 < rm -f conftest.err conftest.$ac_objext \
7100 <      conftest$ac_exeext conftest.$ac_ext
7101 < LIBS=$ac_check_lib_save_LIBS
7102 < fi
7103 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7104 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7105 < if test $ac_cv_lib_l_yywrap = yes; then
7106 <  LEXLIB="-ll"
7107 < fi
7108 <
7109 < fi
7110 <
7111 < fi
7112 <
7113 < if test "x$LEX" != "x:"; then
7114 <  echo "$as_me:$LINENO: checking lex output file root" >&5
7115 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7116 < if test "${ac_cv_prog_lex_root+set}" = set; then
7117 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7118 < else
7119 <  # The minimal lex program is just a single line: %%.  But some broken lexes
7120 < # (Solaris, I think it was) want two %% lines, so accommodate them.
7121 < cat >conftest.l <<_ACEOF
7122 < %%
7123 < %%
7124 < _ACEOF
7125 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7126 <  (eval $LEX conftest.l) 2>&5
7127 <  ac_status=$?
7128 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 <  (exit $ac_status); }
7130 < if test -f lex.yy.c; then
7131 <  ac_cv_prog_lex_root=lex.yy
7132 < elif test -f lexyy.c; then
7133 <  ac_cv_prog_lex_root=lexyy
7134 < else
7135 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7136 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7137 <   { (exit 1); exit 1; }; }
7138 < fi
7139 < fi
7140 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7141 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7142 < rm -f conftest.l
7143 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7144 <
7145 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7146 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7147 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7148 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7149 < else
7150 <  # POSIX says lex can declare yytext either as a pointer or an array; the
7151 < # default is implementation-dependent. Figure out which it is, since
7152 < # not all implementations provide the %pointer and %array declarations.
7153 < ac_cv_prog_lex_yytext_pointer=no
7154 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
7155 < ac_save_LIBS=$LIBS
7156 < LIBS="$LIBS $LEXLIB"
7157 < cat >conftest.$ac_ext <<_ACEOF
7158 < `cat $LEX_OUTPUT_ROOT.c`
7159 < _ACEOF
7160 < rm -f conftest.$ac_objext conftest$ac_exeext
7161 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7162 <  (eval $ac_link) 2>conftest.er1
7163 <  ac_status=$?
7164 <  grep -v '^ *+' conftest.er1 >conftest.err
7165 <  rm -f conftest.er1
7166 <  cat conftest.err >&5
7167 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 <  (exit $ac_status); } &&
7169 <         { ac_try='test -z "$ac_c_werror_flag"
7170 <                         || test ! -s conftest.err'
7171 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 <  (eval $ac_try) 2>&5
7173 <  ac_status=$?
7174 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 <  (exit $ac_status); }; } &&
7176 <         { ac_try='test -s conftest$ac_exeext'
7177 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7178 <  (eval $ac_try) 2>&5
7179 <  ac_status=$?
7180 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 <  (exit $ac_status); }; }; then
7182 <  ac_cv_prog_lex_yytext_pointer=yes
7183 < else
7184 <  echo "$as_me: failed program was:" >&5
7185 < sed 's/^/| /' conftest.$ac_ext >&5
7186 <
7187 < fi
7188 < rm -f conftest.err conftest.$ac_objext \
7189 <      conftest$ac_exeext conftest.$ac_ext
7190 < LIBS=$ac_save_LIBS
7191 < rm -f "${LEX_OUTPUT_ROOT}.c"
7192 <
7193 < fi
7194 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7195 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7196 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
7197 <
7198 < cat >>confdefs.h <<\_ACEOF
7199 < #define YYTEXT_POINTER 1
7200 < _ACEOF
7201 <
7202 < fi
7203 <
7204 < fi
7205 < # Extract the first word of "ar", so it can be a program name with args.
7206 < set dummy ar; ac_word=$2
7207 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7208 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7209 < if test "${ac_cv_prog_AR+set}" = set; then
7210 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7211 < else
7212 <  if test -n "$AR"; then
7213 <  ac_cv_prog_AR="$AR" # Let the user override the test.
7214 < else
7215 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7216 < for as_dir in $PATH
7217 < do
7218 <  IFS=$as_save_IFS
7219 <  test -z "$as_dir" && as_dir=.
7220 <  for ac_exec_ext in '' $ac_executable_extensions; do
7221 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7222 <    ac_cv_prog_AR="ar"
7223 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 <    break 2
7225 <  fi
7226 < done
7227 < done
7228 <
7229 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7230 < fi
7231 < fi
7232 < AR=$ac_cv_prog_AR
7233 < if test -n "$AR"; then
7234 <  echo "$as_me:$LINENO: result: $AR" >&5
7235 < echo "${ECHO_T}$AR" >&6
7236 < else
7237 <  echo "$as_me:$LINENO: result: no" >&5
7238 < echo "${ECHO_T}no" >&6
7239 < fi
7240 <
7241 < if test "$AR" = "NONE"; then
7242 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7243 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7244 <   { (exit 1); exit 1; }; }
7245 <  cat >confcache <<\_ACEOF
7246 < # This file is a shell script that caches the results of configure
7247 < # tests run on this system so they can be shared between configure
7248 < # scripts and configure runs, see configure's option --config-cache.
7249 < # It is not useful on other systems.  If it contains results you don't
7250 < # want to keep, you may remove or edit it.
7251 < #
7252 < # config.status only pays attention to the cache file if you give it
7253 < # the --recheck option to rerun configure.
7254 < #
7255 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
7256 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
7257 < # following values.
7258 <
7259 < _ACEOF
7260 <
7261 < # The following way of writing the cache mishandles newlines in values,
7262 < # but we know of no workaround that is simple, portable, and efficient.
7263 < # So, don't put newlines in cache variables' values.
7264 < # Ultrix sh set writes to stderr and can't be redirected directly,
7265 < # and sets the high bit in the cache file unless we assign to the vars.
7266 < {
7267 <  (set) 2>&1 |
7268 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7269 <    *ac_space=\ *)
7270 <      # `set' does not quote correctly, so add quotes (double-quote
7271 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
7272 <      sed -n \
7273 <        "s/'/'\\\\''/g;
7274 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7275 <      ;;
7276 <    *)
7277 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
7278 <      sed -n \
7279 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7280 <      ;;
7281 <    esac;
7282 < } |
7283 <  sed '
7284 <     t clear
7285 <     : clear
7286 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7287 <     t end
7288 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7289 <     : end' >>confcache
7290 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
7291 <  if test -w $cache_file; then
7292 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7293 <    cat confcache >$cache_file
7294 <  else
7295 <    echo "not updating unwritable cache $cache_file"
7296 <  fi
7297 < fi
7298 < rm -f confcache
7299 <  exit 1
7300 < fi
7301 <
7302 <
7303 <
7304 < # Check whether --with-mpi or --without-mpi was given.
7305 < if test "${with_mpi+set}" = set; then
7306 <  withval="$with_mpi"
7307 <  with_mpi=$withval
7308 < else
7309 <  with_mpi="no"
7310 < fi;
7311 <
7312 < case "x$with_mpi" in
7313 <        xyes | "x")  USE_MPI=yes;;
7314 <        xno) USE_MPI=no ;;
7315 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
7316 < esac
7317 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
7318 <        MPI="/usr/local"
7319 < fi
7320 < if test "$USE_MPI" = "yes"; then
7321 <
7322 <
7323 < # Set variables...
7324 < MPI_LIB_DIR="$MPI/lib"
7325 < MPI_INC_DIR="$MPI/include"
7326 <
7327 <
7328 <
7329 < echo "$as_me:$LINENO: checking for mpi.h" >&5
7330 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7331 < have_mpi_h=0
7332 < echo '#include <mpi.h>' > conftest.cc
7333 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7334 <        echo "$as_me:$LINENO: result: yes" >&5
7335 < echo "${ECHO_T}yes" >&6
7336 <        have_mpi_h=1
7337 < else
7338 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7339 < echo "${ECHO_T}no! Check MPI include paths" >&6
7340 <        USE_MPI="no"
7341 < fi
7342 < rm -f conftest*
7343 < if test "$have_mpi_h" = 1; then
7344 <
7345 < cat >>confdefs.h <<\_ACEOF
7346 < #define HAVE_MPI_H 1
7347 < _ACEOF
7348 <
7349 < fi
7350 <
7351 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7352 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7353 < have_mpif_h=0
7354 < rm -f conftest*
7355 < cat >conftest.f90 <<EOF
7356 < program main
7357 <   include 'mpif.h'
7358 < end
7359 < EOF
7360 < if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7361 <        echo "$as_me:$LINENO: result: yes" >&5
7362 < echo "${ECHO_T}yes" >&6
7363 <        MPI_F90_INC="$MPI_INC_DIR"
7364 <        have_mpif_h=1
7365 < else
7366 <        if test -s conftest.out ; then
7367 <                cat conftest.out >> config.log
7368 <        fi
7369 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7370 < echo "${ECHO_T}no! Check MPI include paths" >&6
7371 <        USE_MPI="no"
7372 < fi
7373 < rm -f conftest*
7374 <
7375 < if test "$have_mpif_h" = 1; then
7376 <
7377 < cat >>confdefs.h <<\_ACEOF
7378 < #define HAVE_MPIF_H 1
7379 < _ACEOF
7380 <
7381 < fi
7382 <
7383 < ac_ext=c
7384 < ac_cpp='$CPP $CPPFLAGS'
7385 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7386 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7387 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7388 <
7389 < ac_save_LDFLAGS=$LDFLAGS
7390 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7391 <
7392 < if test x = x"$MPI_LIB"; then
7393 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7394 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7395 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7396 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7397 < else
7398 <  ac_check_lib_save_LIBS=$LIBS
7399 < LIBS="-lmpich  $LIBS"
7400 < cat >conftest.$ac_ext <<_ACEOF
7401 < /* confdefs.h.  */
7402 < _ACEOF
7403 < cat confdefs.h >>conftest.$ac_ext
7404 < cat >>conftest.$ac_ext <<_ACEOF
7405 < /* end confdefs.h.  */
7406 <
7407 < /* Override any gcc2 internal prototype to avoid an error.  */
7408 < #ifdef __cplusplus
7409 < extern "C"
7410 < #endif
7411 < /* We use char because int might match the return type of a gcc2
7412 <   builtin and then its argument prototype would still apply.  */
7413 < char MPI_Init ();
7414 < int
7415 < main ()
7416 < {
7417 < MPI_Init ();
7418 <  ;
7419 <  return 0;
7420 < }
7421 < _ACEOF
7422 < rm -f conftest.$ac_objext conftest$ac_exeext
7423 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7424 <  (eval $ac_link) 2>conftest.er1
7425 <  ac_status=$?
7426 <  grep -v '^ *+' conftest.er1 >conftest.err
7427 <  rm -f conftest.er1
7428 <  cat conftest.err >&5
7429 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 <  (exit $ac_status); } &&
7431 <         { ac_try='test -z "$ac_c_werror_flag"
7432 <                         || test ! -s conftest.err'
7433 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434 <  (eval $ac_try) 2>&5
7435 <  ac_status=$?
7436 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 <  (exit $ac_status); }; } &&
7438 <         { ac_try='test -s conftest$ac_exeext'
7439 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 <  (eval $ac_try) 2>&5
7441 <  ac_status=$?
7442 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 <  (exit $ac_status); }; }; then
7444 <  ac_cv_lib_mpich_MPI_Init=yes
7445 < else
7446 <  echo "$as_me: failed program was:" >&5
7447 < sed 's/^/| /' conftest.$ac_ext >&5
7448 <
7449 < ac_cv_lib_mpich_MPI_Init=no
7450 < fi
7451 < rm -f conftest.err conftest.$ac_objext \
7452 <      conftest$ac_exeext conftest.$ac_ext
7453 < LIBS=$ac_check_lib_save_LIBS
7454 < fi
7455 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7456 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7457 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7458 <  MPI_LIB="-lmpich"
7459 < fi
7460 <
7461 < fi
7462 < if test x = x"$MPI_LIB"; then
7463 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7464 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7465 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7466 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7467 < else
7468 <  ac_check_lib_save_LIBS=$LIBS
7469 < LIBS="-lmpi  $LIBS"
7470 < cat >conftest.$ac_ext <<_ACEOF
7471 < /* confdefs.h.  */
7472 < _ACEOF
7473 < cat confdefs.h >>conftest.$ac_ext
7474 < cat >>conftest.$ac_ext <<_ACEOF
7475 < /* end confdefs.h.  */
7476 <
7477 < /* Override any gcc2 internal prototype to avoid an error.  */
7478 < #ifdef __cplusplus
7479 < extern "C"
7480 < #endif
7481 < /* We use char because int might match the return type of a gcc2
7482 <   builtin and then its argument prototype would still apply.  */
7483 < char MPI_Init ();
7484 < int
7485 < main ()
7486 < {
7487 < MPI_Init ();
7488 <  ;
7489 <  return 0;
7490 < }
7491 < _ACEOF
7492 < rm -f conftest.$ac_objext conftest$ac_exeext
7493 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7494 <  (eval $ac_link) 2>conftest.er1
7495 <  ac_status=$?
7496 <  grep -v '^ *+' conftest.er1 >conftest.err
7497 <  rm -f conftest.er1
7498 <  cat conftest.err >&5
7499 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 <  (exit $ac_status); } &&
7501 <         { ac_try='test -z "$ac_c_werror_flag"
7502 <                         || test ! -s conftest.err'
7503 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 <  (eval $ac_try) 2>&5
7505 <  ac_status=$?
7506 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 <  (exit $ac_status); }; } &&
7508 <         { ac_try='test -s conftest$ac_exeext'
7509 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 <  (eval $ac_try) 2>&5
7511 <  ac_status=$?
7512 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 <  (exit $ac_status); }; }; then
7514 <  ac_cv_lib_mpi_MPI_Init=yes
7515 < else
7516 <  echo "$as_me: failed program was:" >&5
7517 < sed 's/^/| /' conftest.$ac_ext >&5
7518 <
7519 < ac_cv_lib_mpi_MPI_Init=no
7520 < fi
7521 < rm -f conftest.err conftest.$ac_objext \
7522 <      conftest$ac_exeext conftest.$ac_ext
7523 < LIBS=$ac_check_lib_save_LIBS
7524 < fi
7525 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7526 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7527 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7528 <  MPI_LIB="-lmpi"
7529 < fi
7530 <
7531 < fi
7532 < $as_unset ac_cv_lib_mpi_MPI_Init
7533 < if test x = x"$MPI_LIB"; then
7534 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7535 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7536 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7537 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7538 < else
7539 <  ac_check_lib_save_LIBS=$LIBS
7540 < LIBS="-lmpi "-llam" $LIBS"
7541 < cat >conftest.$ac_ext <<_ACEOF
7542 < /* confdefs.h.  */
7543 < _ACEOF
7544 < cat confdefs.h >>conftest.$ac_ext
7545 < cat >>conftest.$ac_ext <<_ACEOF
7546 < /* end confdefs.h.  */
7547 <
7548 < /* Override any gcc2 internal prototype to avoid an error.  */
7549 < #ifdef __cplusplus
7550 < extern "C"
7551 < #endif
7552 < /* We use char because int might match the return type of a gcc2
7553 <   builtin and then its argument prototype would still apply.  */
7554 < char MPI_Init ();
7555 < int
7556 < main ()
7557 < {
7558 < MPI_Init ();
7559 <  ;
7560 <  return 0;
7561 < }
7562 < _ACEOF
7563 < rm -f conftest.$ac_objext conftest$ac_exeext
7564 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7565 <  (eval $ac_link) 2>conftest.er1
7566 <  ac_status=$?
7567 <  grep -v '^ *+' conftest.er1 >conftest.err
7568 <  rm -f conftest.er1
7569 <  cat conftest.err >&5
7570 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 <  (exit $ac_status); } &&
7572 <         { ac_try='test -z "$ac_c_werror_flag"
7573 <                         || test ! -s conftest.err'
7574 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 <  (eval $ac_try) 2>&5
7576 <  ac_status=$?
7577 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 <  (exit $ac_status); }; } &&
7579 <         { ac_try='test -s conftest$ac_exeext'
7580 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 <  (eval $ac_try) 2>&5
7582 <  ac_status=$?
7583 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 <  (exit $ac_status); }; }; then
7585 <  ac_cv_lib_mpi_MPI_Init=yes
7586 < else
7587 <  echo "$as_me: failed program was:" >&5
7588 < sed 's/^/| /' conftest.$ac_ext >&5
7589 <
7590 < ac_cv_lib_mpi_MPI_Init=no
7591 < fi
7592 < rm -f conftest.err conftest.$ac_objext \
7593 <      conftest$ac_exeext conftest.$ac_ext
7594 < LIBS=$ac_check_lib_save_LIBS
7595 < fi
7596 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7597 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7598 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7599 <  MPI_LIB="-lmpi -llam"
7600 < fi
7601 <
7602 < fi
7603 < $as_unset ac_cv_lib_mpich_MPI_Init
7604 < if test x = x"$MPI_LIB"; then
7605 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7606 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7607 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7608 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7609 < else
7610 <  ac_check_lib_save_LIBS=$LIBS
7611 < LIBS="-lmpich "-lpmpich" $LIBS"
7612 < cat >conftest.$ac_ext <<_ACEOF
7613 < /* confdefs.h.  */
7614 < _ACEOF
7615 < cat confdefs.h >>conftest.$ac_ext
7616 < cat >>conftest.$ac_ext <<_ACEOF
7617 < /* end confdefs.h.  */
7618 <
7619 < /* Override any gcc2 internal prototype to avoid an error.  */
7620 < #ifdef __cplusplus
7621 < extern "C"
7622 < #endif
7623 < /* We use char because int might match the return type of a gcc2
7624 <   builtin and then its argument prototype would still apply.  */
7625 < char MPI_Init ();
7626 < int
7627 < main ()
7628 < {
7629 < MPI_Init ();
7630 <  ;
7631 <  return 0;
7632 < }
7633 < _ACEOF
7634 < rm -f conftest.$ac_objext conftest$ac_exeext
7635 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7636 <  (eval $ac_link) 2>conftest.er1
7637 <  ac_status=$?
7638 <  grep -v '^ *+' conftest.er1 >conftest.err
7639 <  rm -f conftest.er1
7640 <  cat conftest.err >&5
7641 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 <  (exit $ac_status); } &&
7643 <         { ac_try='test -z "$ac_c_werror_flag"
7644 <                         || test ! -s conftest.err'
7645 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 <  (eval $ac_try) 2>&5
7647 <  ac_status=$?
7648 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 <  (exit $ac_status); }; } &&
7650 <         { ac_try='test -s conftest$ac_exeext'
7651 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 <  (eval $ac_try) 2>&5
7653 <  ac_status=$?
7654 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 <  (exit $ac_status); }; }; then
7656 <  ac_cv_lib_mpich_MPI_Init=yes
7657 < else
7658 <  echo "$as_me: failed program was:" >&5
7659 < sed 's/^/| /' conftest.$ac_ext >&5
7660 <
7661 < ac_cv_lib_mpich_MPI_Init=no
7662 < fi
7663 < rm -f conftest.err conftest.$ac_objext \
7664 <      conftest$ac_exeext conftest.$ac_ext
7665 < LIBS=$ac_check_lib_save_LIBS
7666 < fi
7667 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7668 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7669 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7670 <  MPI_LIB="-lmpich -lpmpich"
7671 < fi
7672 <
7673 < fi
7674 <
7675 < $as_unset ac_cv_lib_mpi_MPI_Init
7676 < if test x = x"$MPI_LIB"; then
7677 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7678 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7679 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7680 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7681 < else
7682 <  ac_check_lib_save_LIBS=$LIBS
7683 < LIBS="-lmpi -llam -lpthread $LIBS"
7684 < cat >conftest.$ac_ext <<_ACEOF
7685 < /* confdefs.h.  */
7686 < _ACEOF
7687 < cat confdefs.h >>conftest.$ac_ext
7688 < cat >>conftest.$ac_ext <<_ACEOF
7689 < /* end confdefs.h.  */
7690 <
7691 < /* Override any gcc2 internal prototype to avoid an error.  */
7692 < #ifdef __cplusplus
7693 < extern "C"
7694 < #endif
7695 < /* We use char because int might match the return type of a gcc2
7696 <   builtin and then its argument prototype would still apply.  */
7697 < char MPI_Init ();
7698 < int
7699 < main ()
7700 < {
7701 < MPI_Init ();
7702 <  ;
7703 <  return 0;
7704 < }
7705 < _ACEOF
7706 < rm -f conftest.$ac_objext conftest$ac_exeext
7707 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708 <  (eval $ac_link) 2>conftest.er1
7709 <  ac_status=$?
7710 <  grep -v '^ *+' conftest.er1 >conftest.err
7711 <  rm -f conftest.er1
7712 <  cat conftest.err >&5
7713 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 <  (exit $ac_status); } &&
7715 <         { ac_try='test -z "$ac_c_werror_flag"
7716 <                         || test ! -s conftest.err'
7717 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7718 <  (eval $ac_try) 2>&5
7719 <  ac_status=$?
7720 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 <  (exit $ac_status); }; } &&
7722 <         { ac_try='test -s conftest$ac_exeext'
7723 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 <  (eval $ac_try) 2>&5
7725 <  ac_status=$?
7726 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727 <  (exit $ac_status); }; }; then
7728 <  ac_cv_lib_mpi_MPI_Init=yes
7729 < else
7730 <  echo "$as_me: failed program was:" >&5
7731 < sed 's/^/| /' conftest.$ac_ext >&5
7732 <
7733 < ac_cv_lib_mpi_MPI_Init=no
7734 < fi
7735 < rm -f conftest.err conftest.$ac_objext \
7736 <      conftest$ac_exeext conftest.$ac_ext
7737 < LIBS=$ac_check_lib_save_LIBS
7738 < fi
7739 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7740 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7741 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7742 <  MPI_LIB="-lmpi -llam -lpthread"
7743 < else
7744 <
7745 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
7746 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
7747 <   { (exit 1); exit 1; }; }
7748 <             USE_MPI="no"
7749 <
7750 < fi
7751 <
7752 < fi
7753 <
7754 <
7755 <
7756 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
7757 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
7758 < MPI_F90_LIB=""
7759 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
7760 <        MPI_F90_LIB="-lfmpich"
7761 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
7762 <        MPI_F90_LIB="-llamf77mpi"
7763 < else
7764 <                        MPI_F90_LIB="  "
7765 < fi
7766 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
7767 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
7768 <
7769 <
7770 < fi
7771 <
7772 <
7773 <
7774 < # Check whether --with-sprng or --without-sprng was given.
7775 < if test "${with_sprng+set}" = set; then
7776 <  withval="$with_sprng"
7777 <  with_sprng=$withval
7778 < else
7779 <  with_sprng="/usr/local"
7780 < fi;
7781 <
7782 < case "x$with_sprng" in
7783 <        xyes | "x")  USE_SPRNG=yes;;
7784 <        xno) USE_SPRNG=no ;;
7785 <        *) SPRNG="$with_sprng"; USE_SPRNG=yes ;;
7786 < esac
7787 < if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then
7788 <        SPRNG="/usr/local"
7789 < fi
7790 < if test "$USE_SPRNG" = "yes"; then
7791 <
7792 <
7793 < # Set variables...
7794 < SPRNG_LIB_DIR="$SPRNG/lib"
7795 < SPRNG_INC_DIR="$SPRNG/include"
7796 <
7797 <
7798 <
7799 < echo "$as_me:$LINENO: checking for sprng.h" >&5
7800 < echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
7801 < have_sprng_h=0
7802 < echo '#include <sprng.h>' > conftest.cc
7803 < if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then
7804 <        echo "$as_me:$LINENO: result: yes" >&5
7805 < echo "${ECHO_T}yes" >&6
7806 <        have_sprng_h=1
7807 < else
7808 <        echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5
7809 < echo "${ECHO_T}no! Check SPRNG include path!" >&6
7810 <        USE_SPRNG="no"
7811 < fi
7812 < rm -f conftest*
7813 < if test "$have_sprng_h" = 1; then
7814 <
7815 < cat >>confdefs.h <<\_ACEOF
7816 < #define HAVE_SPRNG_H 1
7817 < _ACEOF
7818 <
7819 < fi
7820 <
7821 < ac_ext=c
7822 < ac_cpp='$CPP $CPPFLAGS'
7823 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7824 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7825 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7826 <
7827 < ac_save_LDFLAGS=$LDFLAGS
7828 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
7829 <
7830 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
7831 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
7832 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
7833 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7834 < else
7835 <  ac_check_lib_save_LIBS=$LIBS
7836 < LIBS="-lsprng  $LIBS"
7837 < cat >conftest.$ac_ext <<_ACEOF
7838 < /* confdefs.h.  */
7839 < _ACEOF
7840 < cat confdefs.h >>conftest.$ac_ext
7841 < cat >>conftest.$ac_ext <<_ACEOF
7842 < /* end confdefs.h.  */
7843 <
7844 < /* Override any gcc2 internal prototype to avoid an error.  */
7845 < #ifdef __cplusplus
7846 < extern "C"
7847 < #endif
7848 < /* We use char because int might match the return type of a gcc2
7849 <   builtin and then its argument prototype would still apply.  */
7850 < char init_rng ();
7851 < int
7852 < main ()
7853 < {
7854 < init_rng ();
7855 <  ;
7856 <  return 0;
7857 < }
7858 < _ACEOF
7859 < rm -f conftest.$ac_objext conftest$ac_exeext
7860 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7861 <  (eval $ac_link) 2>conftest.er1
7862 <  ac_status=$?
7863 <  grep -v '^ *+' conftest.er1 >conftest.err
7864 <  rm -f conftest.er1
7865 <  cat conftest.err >&5
7866 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 <  (exit $ac_status); } &&
7868 <         { ac_try='test -z "$ac_c_werror_flag"
7869 <                         || test ! -s conftest.err'
7870 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 <  (eval $ac_try) 2>&5
7872 <  ac_status=$?
7873 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 <  (exit $ac_status); }; } &&
7875 <         { ac_try='test -s conftest$ac_exeext'
7876 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877 <  (eval $ac_try) 2>&5
7878 <  ac_status=$?
7879 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 <  (exit $ac_status); }; }; then
7881 <  ac_cv_lib_sprng_init_rng=yes
7882 < else
7883 <  echo "$as_me: failed program was:" >&5
7884 < sed 's/^/| /' conftest.$ac_ext >&5
7885 <
7886 < ac_cv_lib_sprng_init_rng=no
7887 < fi
7888 < rm -f conftest.err conftest.$ac_objext \
7889 <      conftest$ac_exeext conftest.$ac_ext
7890 < LIBS=$ac_check_lib_save_LIBS
7891 < fi
7892 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
7893 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
7894 < if test $ac_cv_lib_sprng_init_rng = yes; then
7895 <  SPRNG_LIB="-lsprng"
7896 < else
7897 <
7898 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
7899 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
7900 <   { (exit 1); exit 1; }; }
7901 <             USE_SPRNG="no"
7902 <
7903 < fi
7904 <
7905 <
7906 < if test "$USE_SPRNG" = "no"; then
7907 <  { { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5
7908 < echo "$as_me: error: No working SPRNG library found" >&2;}
7909 <   { (exit 1); exit 1; }; }
7910 < fi
7911 <
7912 <
7913 < fi
7914 <
7915 <
7916 <
7917 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
7918 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
7919 <
7920 < # Check whether --with-mkl or --without-mkl was given.
7921 < if test "${with_mkl+set}" = set; then
7922 <  withval="$with_mkl"
7923 <     echo "$as_me:$LINENO: result: yes" >&5
7924 < echo "${ECHO_T}yes" >&6
7925 <    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
7926 <        mkldir="$dir"
7927 <        if test -f "$dir/include/mkl.h"; then
7928 <            found_mkl="yes";
7929 <            break;
7930 <        fi
7931 <    done
7932 <    if test x_$found_mkl != x_yes; then
7933 <        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
7934 < echo "$as_me: error: Cannot find MKL includes" >&2;}
7935 <   { (exit 1); exit 1; }; }
7936 <    else
7937 <        printf "MKL includes found in $mkldir/include\n";
7938 <    fi
7939 <
7940 <
7941 <
7942 <  ac_ext=c
7943 < ac_cpp='$CPP $CPPFLAGS'
7944 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7945 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7946 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7947 <
7948 <  ac_save_CPPFLAGS=$CPPFLAGS
7949 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
7950 <  ac_save_LDFLAGS=$LDFLAGS
7951 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
7952 <  if test "${ac_cv_header_mkl_h+set}" = set; then
7953 <  echo "$as_me:$LINENO: checking for mkl.h" >&5
7954 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
7955 < if test "${ac_cv_header_mkl_h+set}" = set; then
7956 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7957 < fi
7958 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
7959 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
7960 < else
7961 <  # Is the header compilable?
7962 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
7963 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
7964 < cat >conftest.$ac_ext <<_ACEOF
7965 < /* confdefs.h.  */
7966 < _ACEOF
7967 < cat confdefs.h >>conftest.$ac_ext
7968 < cat >>conftest.$ac_ext <<_ACEOF
7969 < /* end confdefs.h.  */
7970 < $ac_includes_default
7971 < #include <mkl.h>
7972 < _ACEOF
7973 < rm -f conftest.$ac_objext
7974 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7975 <  (eval $ac_compile) 2>conftest.er1
7976 <  ac_status=$?
7977 <  grep -v '^ *+' conftest.er1 >conftest.err
7978 <  rm -f conftest.er1
7979 <  cat conftest.err >&5
7980 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 <  (exit $ac_status); } &&
7982 <         { ac_try='test -z "$ac_c_werror_flag"
7983 <                         || test ! -s conftest.err'
7984 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 <  (eval $ac_try) 2>&5
7986 <  ac_status=$?
7987 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 <  (exit $ac_status); }; } &&
7989 <         { ac_try='test -s conftest.$ac_objext'
7990 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 <  (eval $ac_try) 2>&5
7992 <  ac_status=$?
7993 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 <  (exit $ac_status); }; }; then
7995 <  ac_header_compiler=yes
7996 < else
7997 <  echo "$as_me: failed program was:" >&5
7998 < sed 's/^/| /' conftest.$ac_ext >&5
7999 <
8000 < ac_header_compiler=no
8001 < fi
8002 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8003 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8004 < echo "${ECHO_T}$ac_header_compiler" >&6
8005 <
8006 < # Is the header present?
8007 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
8008 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
8009 < cat >conftest.$ac_ext <<_ACEOF
8010 < /* confdefs.h.  */
8011 < _ACEOF
8012 < cat confdefs.h >>conftest.$ac_ext
8013 < cat >>conftest.$ac_ext <<_ACEOF
8014 < /* end confdefs.h.  */
8015 < #include <mkl.h>
8016 < _ACEOF
8017 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8018 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8019 <  ac_status=$?
8020 <  grep -v '^ *+' conftest.er1 >conftest.err
8021 <  rm -f conftest.er1
8022 <  cat conftest.err >&5
8023 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 <  (exit $ac_status); } >/dev/null; then
8025 <  if test -s conftest.err; then
8026 <    ac_cpp_err=$ac_c_preproc_warn_flag
8027 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8028 <  else
8029 <    ac_cpp_err=
8030 <  fi
8031 < else
8032 <  ac_cpp_err=yes
8033 < fi
8034 < if test -z "$ac_cpp_err"; then
8035 <  ac_header_preproc=yes
8036 < else
8037 <  echo "$as_me: failed program was:" >&5
8038 < sed 's/^/| /' conftest.$ac_ext >&5
8039 <
8040 <  ac_header_preproc=no
8041 < fi
8042 < rm -f conftest.err conftest.$ac_ext
8043 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8044 < echo "${ECHO_T}$ac_header_preproc" >&6
8045 <
8046 < # So?  What about this header?
8047 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8048 <  yes:no: )
8049 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8050 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8051 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
8052 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
8053 <    ac_header_preproc=yes
8054 <    ;;
8055 <  no:yes:* )
8056 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
8057 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
8058 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
8059 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
8060 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
8061 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
8062 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
8063 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8064 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8065 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8066 <    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
8067 < echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
8068 <    (
8069 <      cat <<\_ASBOX
8070 < ## ------------------------------ ##
8071 < ## Report this to gezelter@nd.edu ##
8072 < ## ------------------------------ ##
8073 < _ASBOX
8074 <    ) |
8075 <      sed "s/^/$as_me: WARNING:     /" >&2
8076 <    ;;
8077 < esac
8078 < echo "$as_me:$LINENO: checking for mkl.h" >&5
8079 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8080 < if test "${ac_cv_header_mkl_h+set}" = set; then
8081 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8082 < else
8083 <  ac_cv_header_mkl_h=$ac_header_preproc
8084 < fi
8085 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8086 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8087 <
8088 < fi
8089 < if test $ac_cv_header_mkl_h = yes; then
8090 <
8091 <    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
8092 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
8093 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
8094 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8095 < else
8096 <  ac_check_lib_save_LIBS=$LIBS
8097 < LIBS="-lmkl  $LIBS"
8098 < cat >conftest.$ac_ext <<_ACEOF
8099 < /* confdefs.h.  */
8100 < _ACEOF
8101 < cat confdefs.h >>conftest.$ac_ext
8102 < cat >>conftest.$ac_ext <<_ACEOF
8103 < /* end confdefs.h.  */
8104 <
8105 < /* Override any gcc2 internal prototype to avoid an error.  */
8106 < #ifdef __cplusplus
8107 < extern "C"
8108 < #endif
8109 < /* We use char because int might match the return type of a gcc2
8110 <   builtin and then its argument prototype would still apply.  */
8111 < char vslNewStream ();
8112 < int
8113 < main ()
8114 < {
8115 < vslNewStream ();
8116 <  ;
8117 <  return 0;
8118 < }
8119 < _ACEOF
8120 < rm -f conftest.$ac_objext conftest$ac_exeext
8121 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8122 <  (eval $ac_link) 2>conftest.er1
8123 <  ac_status=$?
8124 <  grep -v '^ *+' conftest.er1 >conftest.err
8125 <  rm -f conftest.er1
8126 <  cat conftest.err >&5
8127 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 <  (exit $ac_status); } &&
8129 <         { ac_try='test -z "$ac_c_werror_flag"
8130 <                         || test ! -s conftest.err'
8131 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 <  (eval $ac_try) 2>&5
8133 <  ac_status=$?
8134 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 <  (exit $ac_status); }; } &&
8136 <         { ac_try='test -s conftest$ac_exeext'
8137 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 <  (eval $ac_try) 2>&5
8139 <  ac_status=$?
8140 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 <  (exit $ac_status); }; }; then
8142 <  ac_cv_lib_mkl_vslNewStream=yes
8143 < else
8144 <  echo "$as_me: failed program was:" >&5
8145 < sed 's/^/| /' conftest.$ac_ext >&5
8146 <
8147 < ac_cv_lib_mkl_vslNewStream=no
8148 < fi
8149 < rm -f conftest.err conftest.$ac_objext \
8150 <      conftest$ac_exeext conftest.$ac_ext
8151 < LIBS=$ac_check_lib_save_LIBS
8152 < fi
8153 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
8154 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
8155 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
8156 <  MKL_LIBDIR="${mkldir}/lib/32",
8157 <                     MKL_LIB="-lmkl -lvml -lguide",
8158 <                     HAVE_MKL="yes"
8159 < fi
8160 <
8161 <
8162 < else
8163 <  MKL_INC="-I${mkldir}/include"
8164 < fi
8165 <
8166 <
8167 <  CPPFLAGS=$ac_save_CPPFLAGS
8168 <  LDFLAGS=$ac_save_LDFLAGS
8169 <  ac_ext=c
8170 < ac_cpp='$CPP $CPPFLAGS'
8171 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8172 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8173 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8174 <
8175 <
8176 <  if test x_$HAVE_MKL != x_yes; then
8177 <        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
8178 < echo "$as_me: error: Can't build with MKL" >&2;}
8179 <   { (exit 1); exit 1; }; }
8180 <  fi
8181 <
8182 <
8183 <
8184 <
8185 <
8186 < else
8187 <
8188 <    echo "$as_me:$LINENO: result: no" >&5
8189 < echo "${ECHO_T}no" >&6
8190 <
8191 < fi;
8192 <
8193 <
8194 <
8195 < # Check whether --enable-doxygen or --disable-doxygen was given.
8196 < if test "${enable_doxygen+set}" = set; then
8197 <  enableval="$enable_doxygen"
8198 <
8199 < fi;
8200 < # Check whether --enable-dot or --disable-dot was given.
8201 < if test "${enable_dot+set}" = set; then
8202 <  enableval="$enable_dot"
8203 <
8204 < fi;
8205 < # Check whether --enable-html-docs or --disable-html-docs was given.
8206 < if test "${enable_html_docs+set}" = set; then
8207 <  enableval="$enable_html_docs"
8208 <
8209 < else
8210 <   enable_html_docs=yes
8211 < fi;
8212 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
8213 < if test "${enable_latex_docs+set}" = set; then
8214 <  enableval="$enable_latex_docs"
8215 <
8216 < else
8217 <   enable_latex_docs=no
8218 < fi;
8219 < if test "x$enable_doxygen" = xno; then
8220 <        enable_doc=no
8221 < else
8222 <        # Extract the first word of "doxygen", so it can be a program name with args.
8223 < set dummy doxygen; ac_word=$2
8224 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8225 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8226 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
8227 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8228 < else
8229 <  case $DOXYGEN in
8230 <  [\\/]* | ?:[\\/]*)
8231 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8232 <  ;;
8233 <  *)
8234 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 < for as_dir in $PATH
8236 < do
8237 <  IFS=$as_save_IFS
8238 <  test -z "$as_dir" && as_dir=.
8239 <  for ac_exec_ext in '' $ac_executable_extensions; do
8240 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8242 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 <    break 2
8244 <  fi
8245 < done
8246 < done
8247 <
8248 <  ;;
8249 < esac
8250 < fi
8251 < DOXYGEN=$ac_cv_path_DOXYGEN
8252 <
8253 < if test -n "$DOXYGEN"; then
8254 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8255 < echo "${ECHO_T}$DOXYGEN" >&6
8256 < else
8257 <  echo "$as_me:$LINENO: result: no" >&5
8258 < echo "${ECHO_T}no" >&6
8259 < fi
8260 <
8261 <        if test "x$DOXYGEN" = x; then
8262 <                if test "x$enable_doxygen" = xyes; then
8263 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8264 < echo "$as_me: error: could not find doxygen" >&2;}
8265 <   { (exit 1); exit 1; }; }
8266 <                fi
8267 <                enable_doc=no
8268 <        else
8269 <                enable_doc=yes
8270 <                # Extract the first word of "dot", so it can be a program name with args.
8271 < set dummy dot; ac_word=$2
8272 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8273 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8274 < if test "${ac_cv_path_DOT+set}" = set; then
8275 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8276 < else
8277 <  case $DOT in
8278 <  [\\/]* | ?:[\\/]*)
8279 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8280 <  ;;
8281 <  *)
8282 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 < for as_dir in $PATH
8284 < do
8285 <  IFS=$as_save_IFS
8286 <  test -z "$as_dir" && as_dir=.
8287 <  for ac_exec_ext in '' $ac_executable_extensions; do
8288 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8289 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8290 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8291 <    break 2
8292 <  fi
8293 < done
8294 < done
8295 <
8296 <  ;;
8297 < esac
8298 < fi
8299 < DOT=$ac_cv_path_DOT
8300 <
8301 < if test -n "$DOT"; then
8302 <  echo "$as_me:$LINENO: result: $DOT" >&5
8303 < echo "${ECHO_T}$DOT" >&6
8304 < else
8305 <  echo "$as_me:$LINENO: result: no" >&5
8306 < echo "${ECHO_T}no" >&6
8307 < fi
8308 <
8309 <        fi
8310 < fi
8311 <
8312 < if test "x$enable_doc" = xyes; then
8313 <  DOC=1
8314 < else
8315 <  DOC=0
8316 < fi
8317 <
8318 <
8319 < if test x$DOT = x; then
8320 <        if test "x$enable_dot" = xyes; then
8321 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8322 < echo "$as_me: error: could not find dot" >&2;}
8323 <   { (exit 1); exit 1; }; }
8324 <        fi
8325 <        enable_dot=no
8326 < else
8327 <        enable_dot=yes
8328 < fi
8329 <
8330 <
8331 <
8332 <
8333 <
8334 <
8335 <
8336 < OBJEXT=".$OBJEXT"
8337 <
8338 < OOPSE=oopse
8339 <
8340 < if test "x${prefix}" = "xNONE"
8341 < then
8342 <  OOPSE_HOME=${ac_default_prefix}/oopse
8343 < else
8344 <  OOPSE_HOME=${prefix}/oopse
8345 < fi
8346 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
8347 < if test "${enable_oopse_home+set}" = set; then
8348 <  enableval="$enable_oopse_home"
8349 <  OOPSE_HOME="${enableval}"
8350 < fi;
8351 <
8352 < case "x$INSTALL" in
8353 <   x/*) ;;
8354 <   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
8355 < esac
8356 <
8357 < MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
8358 <
8359 < CFLAGS=${CFLAGS-""}
8360 < CXXFLAGS=${CXXFLAGS-""}
8361 < CPPFLAGS=${CPPFLAGS-""}
8362 < FFLAGS=${FFLAGS-""}
8363 < F90FLAGS=${F90FLAGS-""}
8364 < LDFLAGS=${LDFLAGS-""}
8365 < DEBUG=${DEBUG-"-g"}
8366 <
8367 < case $debug in
8368 <  1)
8369 <     FFLAGS="$DEBUG $FFLAGS"
8370 <     F90FLAGS="$DEBUG $F90FLAGS"
8371 <     ;;
8372 <  *)
8373 <     ;;
8374 < esac
8375 <
8376 <
8377 <
8378 <
8379 <
8380 <
8381 <
8382 <
8383 <
8384 <
8385 <
8386 <
8387 <
8388 <
8389 <
8390 <
8391 <
8392 <
8393 <          ac_config_headers="$ac_config_headers src/config.h"
8394 <
8395 <          ac_config_files="$ac_config_files make/Makefile"
8396 <
8397 <
8398 < cat >confcache <<\_ACEOF
8399 < # This file is a shell script that caches the results of configure
8400 < # tests run on this system so they can be shared between configure
8401 < # scripts and configure runs, see configure's option --config-cache.
8402 < # It is not useful on other systems.  If it contains results you don't
8403 < # want to keep, you may remove or edit it.
8404 < #
8405 < # config.status only pays attention to the cache file if you give it
8406 < # the --recheck option to rerun configure.
8407 < #
8408 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
8409 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
8410 < # following values.
8411 <
8412 < _ACEOF
8413 <
8414 < # The following way of writing the cache mishandles newlines in values,
8415 < # but we know of no workaround that is simple, portable, and efficient.
8416 < # So, don't put newlines in cache variables' values.
8417 < # Ultrix sh set writes to stderr and can't be redirected directly,
8418 < # and sets the high bit in the cache file unless we assign to the vars.
8419 < {
8420 <  (set) 2>&1 |
8421 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8422 <    *ac_space=\ *)
8423 <      # `set' does not quote correctly, so add quotes (double-quote
8424 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
8425 <      sed -n \
8426 <        "s/'/'\\\\''/g;
8427 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8428 <      ;;
8429 <    *)
8430 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
8431 <      sed -n \
8432 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8433 <      ;;
8434 <    esac;
8435 < } |
8436 <  sed '
8437 <     t clear
8438 <     : clear
8439 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8440 <     t end
8441 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8442 <     : end' >>confcache
8443 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
8444 <  if test -w $cache_file; then
8445 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8446 <    cat confcache >$cache_file
8447 <  else
8448 <    echo "not updating unwritable cache $cache_file"
8449 <  fi
8450 < fi
8451 < rm -f confcache
8452 <
8453 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
8454 < # Let make expand exec_prefix.
8455 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8456 <
8457 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
8458 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8459 < # trailing colons and then remove the whole line if VPATH becomes empty
8460 < # (actually we leave an empty line to preserve line numbers).
8461 < if test "x$srcdir" = x.; then
8462 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8463 < s/:*\$(srcdir):*/:/;
8464 < s/:*\${srcdir}:*/:/;
8465 < s/:*@srcdir@:*/:/;
8466 < s/^\([^=]*=[     ]*\):*/\1/;
8467 < s/:*$//;
8468 < s/^[^=]*=[       ]*$//;
8469 < }'
8470 < fi
8471 <
8472 < DEFS=-DHAVE_CONFIG_H
8473 <
8474 < ac_libobjs=
8475 < ac_ltlibobjs=
8476 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8477 <  # 1. Remove the extension, and $U if already installed.
8478 <  ac_i=`echo "$ac_i" |
8479 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8480 <  # 2. Add them.
8481 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8482 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8483 < done
8484 < LIBOBJS=$ac_libobjs
8485 <
8486 < LTLIBOBJS=$ac_ltlibobjs
8487 <
8488 <
8489 <
8490 < : ${CONFIG_STATUS=./config.status}
8491 < ac_clean_files_save=$ac_clean_files
8492 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8493 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8494 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
8495 < cat >$CONFIG_STATUS <<_ACEOF
8496 < #! $SHELL
8497 < # Generated by $as_me.
8498 < # Run this file to recreate the current configuration.
8499 < # Compiler output produced by configure, useful for debugging
8500 < # configure, is in config.log if it exists.
8501 <
8502 < debug=false
8503 < ac_cs_recheck=false
8504 < ac_cs_silent=false
8505 < SHELL=\${CONFIG_SHELL-$SHELL}
8506 < _ACEOF
8507 <
8508 < cat >>$CONFIG_STATUS <<\_ACEOF
8509 < ## --------------------- ##
8510 < ## M4sh Initialization.  ##
8511 < ## --------------------- ##
8512 <
8513 < # Be Bourne compatible
8514 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8515 <  emulate sh
8516 <  NULLCMD=:
8517 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8518 <  # is contrary to our usage.  Disable this feature.
8519 <  alias -g '${1+"$@"}'='"$@"'
8520 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8521 <  set -o posix
8522 < fi
8523 < DUALCASE=1; export DUALCASE # for MKS sh
8524 <
8525 < # Support unset when possible.
8526 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8527 <  as_unset=unset
8528 < else
8529 <  as_unset=false
8530 < fi
8531 <
8532 <
8533 < # Work around bugs in pre-3.0 UWIN ksh.
8534 < $as_unset ENV MAIL MAILPATH
8535 < PS1='$ '
8536 < PS2='> '
8537 < PS4='+ '
8538 <
8539 < # NLS nuisances.
8540 < for as_var in \
8541 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8542 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8543 <  LC_TELEPHONE LC_TIME
8544 < do
8545 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8546 <    eval $as_var=C; export $as_var
8547 <  else
8548 <    $as_unset $as_var
8549 <  fi
8550 < done
8551 <
8552 < # Required to use basename.
8553 < if expr a : '\(a\)' >/dev/null 2>&1; then
8554 <  as_expr=expr
8555 < else
8556 <  as_expr=false
8557 < fi
8558 <
8559 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8560 <  as_basename=basename
8561 < else
8562 <  as_basename=false
8563 < fi
8564 <
8565 <
8566 < # Name of the executable.
8567 < as_me=`$as_basename "$0" ||
8568 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8569 <         X"$0" : 'X\(//\)$' \| \
8570 <         X"$0" : 'X\(/\)$' \| \
8571 <         .     : '\(.\)' 2>/dev/null ||
8572 < echo X/"$0" |
8573 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8574 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
8575 <          /^X\/\(\/\).*/{ s//\1/; q; }
8576 <          s/.*/./; q'`
8577 <
8578 <
8579 < # PATH needs CR, and LINENO needs CR and PATH.
8580 < # Avoid depending upon Character Ranges.
8581 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8582 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8583 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8584 < as_cr_digits='0123456789'
8585 < as_cr_alnum=$as_cr_Letters$as_cr_digits
8586 <
8587 < # The user is always right.
8588 < if test "${PATH_SEPARATOR+set}" != set; then
8589 <  echo "#! /bin/sh" >conf$$.sh
8590 <  echo  "exit 0"   >>conf$$.sh
8591 <  chmod +x conf$$.sh
8592 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8593 <    PATH_SEPARATOR=';'
8594 <  else
8595 <    PATH_SEPARATOR=:
8596 <  fi
8597 <  rm -f conf$$.sh
8598 < fi
8599 <
8600 <
8601 <  as_lineno_1=$LINENO
8602 <  as_lineno_2=$LINENO
8603 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8604 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
8605 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8606 <  # Find who we are.  Look in the path if we contain no path at all
8607 <  # relative or not.
8608 <  case $0 in
8609 <    *[\\/]* ) as_myself=$0 ;;
8610 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8611 < for as_dir in $PATH
8612 < do
8613 <  IFS=$as_save_IFS
8614 <  test -z "$as_dir" && as_dir=.
8615 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8616 < done
8617 <
8618 <       ;;
8619 <  esac
8620 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
8621 <  # in which case we are not to be found in the path.
8622 <  if test "x$as_myself" = x; then
8623 <    as_myself=$0
8624 <  fi
8625 <  if test ! -f "$as_myself"; then
8626 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8627 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8628 <   { (exit 1); exit 1; }; }
8629 <  fi
8630 <  case $CONFIG_SHELL in
8631 <  '')
8632 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8634 < do
8635 <  IFS=$as_save_IFS
8636 <  test -z "$as_dir" && as_dir=.
8637 <  for as_base in sh bash ksh sh5; do
8638 <         case $as_dir in
8639 <         /*)
8640 <           if ("$as_dir/$as_base" -c '
8641 <  as_lineno_1=$LINENO
8642 <  as_lineno_2=$LINENO
8643 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8644 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
8645 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8646 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8647 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8648 <             CONFIG_SHELL=$as_dir/$as_base
8649 <             export CONFIG_SHELL
8650 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8651 <           fi;;
8652 <         esac
8653 <       done
8654 < done
8655 < ;;
8656 <  esac
8657 <
8658 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8659 <  # uniformly replaced by the line number.  The first 'sed' inserts a
8660 <  # line-number line before each line; the second 'sed' does the real
8661 <  # work.  The second script uses 'N' to pair each line-number line
8662 <  # with the numbered line, and appends trailing '-' during
8663 <  # substitution so that $LINENO is not a special case at line end.
8664 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8665 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8666 <  sed '=' <$as_myself |
8667 <    sed '
8668 <      N
8669 <      s,$,-,
8670 <      : loop
8671 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8672 <      t loop
8673 <      s,-$,,
8674 <      s,^['$as_cr_digits']*\n,,
8675 <    ' >$as_me.lineno &&
8676 <  chmod +x $as_me.lineno ||
8677 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8678 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8679 <   { (exit 1); exit 1; }; }
8680 <
8681 <  # Don't try to exec as it changes $[0], causing all sort of problems
8682 <  # (the dirname of $[0] is not the place where we might find the
8683 <  # original and so on.  Autoconf is especially sensible to this).
8684 <  . ./$as_me.lineno
8685 <  # Exit status is that of the last command.
8686 <  exit
8687 < }
8688 <
8689 <
8690 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8691 <  *c*,-n*) ECHO_N= ECHO_C='
8692 < ' ECHO_T='      ' ;;
8693 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8694 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8695 < esac
8696 <
8697 < if expr a : '\(a\)' >/dev/null 2>&1; then
8698 <  as_expr=expr
8699 < else
8700 <  as_expr=false
8701 < fi
8702 <
8703 < rm -f conf$$ conf$$.exe conf$$.file
8704 < echo >conf$$.file
8705 < if ln -s conf$$.file conf$$ 2>/dev/null; then
8706 <  # We could just check for DJGPP; but this test a) works b) is more generic
8707 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8708 <  if test -f conf$$.exe; then
8709 <    # Don't use ln at all; we don't have any links
8710 <    as_ln_s='cp -p'
8711 <  else
8712 <    as_ln_s='ln -s'
8713 <  fi
8714 < elif ln conf$$.file conf$$ 2>/dev/null; then
8715 <  as_ln_s=ln
8716 < else
8717 <  as_ln_s='cp -p'
8718 < fi
8719 < rm -f conf$$ conf$$.exe conf$$.file
8720 <
8721 < if mkdir -p . 2>/dev/null; then
8722 <  as_mkdir_p=:
8723 < else
8724 <  test -d ./-p && rmdir ./-p
8725 <  as_mkdir_p=false
8726 < fi
8727 <
8728 < as_executable_p="test -f"
8729 <
8730 < # Sed expression to map a string onto a valid CPP name.
8731 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8732 <
8733 < # Sed expression to map a string onto a valid variable name.
8734 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8735 <
8736 <
8737 < # IFS
8738 < # We need space, tab and new line, in precisely that order.
8739 < as_nl='
8740 < '
8741 < IFS="   $as_nl"
8742 <
8743 < # CDPATH.
8744 < $as_unset CDPATH
8745 <
8746 < exec 6>&1
8747 <
8748 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
8749 < # report actual input values of CONFIG_FILES etc. instead of their
8750 < # values after options handling.  Logging --version etc. is OK.
8751 < exec 5>>config.log
8752 < {
8753 <  echo
8754 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8755 < ## Running $as_me. ##
8756 < _ASBOX
8757 < } >&5
8758 < cat >&5 <<_CSEOF
8759 <
8760 < This file was extended by OOPSE $as_me 2.0, which was
8761 < generated by GNU Autoconf 2.59.  Invocation command line was
8762 <
8763 <  CONFIG_FILES    = $CONFIG_FILES
8764 <  CONFIG_HEADERS  = $CONFIG_HEADERS
8765 <  CONFIG_LINKS    = $CONFIG_LINKS
8766 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
8767 <  $ $0 $@
8768 <
8769 < _CSEOF
8770 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8771 < echo >&5
8772 < _ACEOF
8773 <
8774 < # Files that config.status was made for.
8775 < if test -n "$ac_config_files"; then
8776 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8777 < fi
8778 <
8779 < if test -n "$ac_config_headers"; then
8780 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8781 < fi
8782 <
8783 < if test -n "$ac_config_links"; then
8784 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8785 < fi
8786 <
8787 < if test -n "$ac_config_commands"; then
8788 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8789 < fi
8790 <
8791 < cat >>$CONFIG_STATUS <<\_ACEOF
8792 <
8793 < ac_cs_usage="\
8794 < \`$as_me' instantiates files from templates according to the
8795 < current configuration.
8796 <
8797 < Usage: $0 [OPTIONS] [FILE]...
8798 <
8799 <  -h, --help       print this help, then exit
8800 <  -V, --version    print version number, then exit
8801 <  -q, --quiet      do not print progress messages
8802 <  -d, --debug      don't remove temporary files
8803 <      --recheck    update $as_me by reconfiguring in the same conditions
8804 <  --file=FILE[:TEMPLATE]
8805 <                   instantiate the configuration file FILE
8806 <  --header=FILE[:TEMPLATE]
8807 <                   instantiate the configuration header FILE
8808 <
8809 < Configuration files:
8810 < $config_files
8811 <
8812 < Configuration headers:
8813 < $config_headers
8814 <
8815 < Configuration links:
8816 < $config_links
8817 <
8818 < Report bugs to <bug-autoconf@gnu.org>."
8819 < _ACEOF
8820 <
8821 < cat >>$CONFIG_STATUS <<_ACEOF
8822 < ac_cs_version="\\
8823 < OOPSE config.status 2.0
8824 < configured by $0, generated by GNU Autoconf 2.59,
8825 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8826 <
8827 < Copyright (C) 2003 Free Software Foundation, Inc.
8828 < This config.status script is free software; the Free Software Foundation
8829 < gives unlimited permission to copy, distribute and modify it."
8830 < srcdir=$srcdir
8831 < INSTALL="$INSTALL"
8832 < _ACEOF
8833 <
8834 < cat >>$CONFIG_STATUS <<\_ACEOF
8835 < # If no file are specified by the user, then we need to provide default
8836 < # value.  By we need to know if files were specified by the user.
8837 < ac_need_defaults=:
8838 < while test $# != 0
8839 < do
8840 <  case $1 in
8841 <  --*=*)
8842 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8843 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8844 <    ac_shift=:
8845 <    ;;
8846 <  -*)
8847 <    ac_option=$1
8848 <    ac_optarg=$2
8849 <    ac_shift=shift
8850 <    ;;
8851 <  *) # This is not an option, so the user has probably given explicit
8852 <     # arguments.
8853 <     ac_option=$1
8854 <     ac_need_defaults=false;;
8855 <  esac
8856 <
8857 <  case $ac_option in
8858 <  # Handling of the options.
8859 < _ACEOF
8860 < cat >>$CONFIG_STATUS <<\_ACEOF
8861 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8862 <    ac_cs_recheck=: ;;
8863 <  --version | --vers* | -V )
8864 <    echo "$ac_cs_version"; exit 0 ;;
8865 <  --he | --h)
8866 <    # Conflict between --help and --header
8867 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8868 < Try \`$0 --help' for more information." >&5
8869 < echo "$as_me: error: ambiguous option: $1
8870 < Try \`$0 --help' for more information." >&2;}
8871 <   { (exit 1); exit 1; }; };;
8872 <  --help | --hel | -h )
8873 <    echo "$ac_cs_usage"; exit 0 ;;
8874 <  --debug | --d* | -d )
8875 <    debug=: ;;
8876 <  --file | --fil | --fi | --f )
8877 <    $ac_shift
8878 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8879 <    ac_need_defaults=false;;
8880 <  --header | --heade | --head | --hea )
8881 <    $ac_shift
8882 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8883 <    ac_need_defaults=false;;
8884 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8885 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8886 <    ac_cs_silent=: ;;
8887 <
8888 <  # This is an error.
8889 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8890 < Try \`$0 --help' for more information." >&5
8891 < echo "$as_me: error: unrecognized option: $1
8892 < Try \`$0 --help' for more information." >&2;}
8893 <   { (exit 1); exit 1; }; } ;;
8894 <
8895 <  *) ac_config_targets="$ac_config_targets $1" ;;
8896 <
8897 <  esac
8898 <  shift
8899 < done
8900 <
8901 < ac_configure_extra_args=
8902 <
8903 < if $ac_cs_silent; then
8904 <  exec 6>/dev/null
8905 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
8906 < fi
8907 <
8908 < _ACEOF
8909 < cat >>$CONFIG_STATUS <<_ACEOF
8910 < if \$ac_cs_recheck; then
8911 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8912 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8913 < fi
8914 <
8915 < _ACEOF
8916 <
8917 <
8918 <
8919 <
8920 <
8921 < cat >>$CONFIG_STATUS <<\_ACEOF
8922 < for ac_config_target in $ac_config_targets
8923 < do
8924 <  case "$ac_config_target" in
8925 <  # Handling of arguments.
8926 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8927 <  "src/utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/utils/getopt.h:src/utils/gnugetopt.h" ;;
8928 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8929 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8930 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8931 <   { (exit 1); exit 1; }; };;
8932 <  esac
8933 < done
8934 <
8935 < # If the user did not use the arguments to specify the items to instantiate,
8936 < # then the envvar interface is used.  Set only those that are not.
8937 < # We use the long form for the default assignment because of an extremely
8938 < # bizarre bug on SunOS 4.1.3.
8939 < if $ac_need_defaults; then
8940 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8941 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8942 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
8943 < fi
8944 <
8945 < # Have a temporary directory for convenience.  Make it in the build tree
8946 < # simply because there is no reason to put it here, and in addition,
8947 < # creating and moving files from /tmp can sometimes cause problems.
8948 < # Create a temporary directory, and hook for its removal unless debugging.
8949 < $debug ||
8950 < {
8951 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8952 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
8953 < }
8954 <
8955 < # Create a (secure) tmp directory for tmp files.
8956 <
8957 < {
8958 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8959 <  test -n "$tmp" && test -d "$tmp"
8960 < }  ||
8961 < {
8962 <  tmp=./confstat$$-$RANDOM
8963 <  (umask 077 && mkdir $tmp)
8964 < } ||
8965 < {
8966 <   echo "$me: cannot create a temporary directory in ." >&2
8967 <   { (exit 1); exit 1; }
8968 < }
8969 <
8970 < _ACEOF
8971 <
8972 < cat >>$CONFIG_STATUS <<_ACEOF
8973 <
8974 < #
8975 < # CONFIG_FILES section.
8976 < #
8977 <
8978 < # No need to generate the scripts if there are no CONFIG_FILES.
8979 < # This happens for instance when ./config.status config.h
8980 < if test -n "\$CONFIG_FILES"; then
8981 <  # Protect against being on the right side of a sed subst in config.status.
8982 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8983 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8984 < s,@SHELL@,$SHELL,;t t
8985 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8986 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8987 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8988 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8989 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8990 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8991 < s,@exec_prefix@,$exec_prefix,;t t
8992 < s,@prefix@,$prefix,;t t
8993 < s,@program_transform_name@,$program_transform_name,;t t
8994 < s,@bindir@,$bindir,;t t
8995 < s,@sbindir@,$sbindir,;t t
8996 < s,@libexecdir@,$libexecdir,;t t
8997 < s,@datadir@,$datadir,;t t
8998 < s,@sysconfdir@,$sysconfdir,;t t
8999 < s,@sharedstatedir@,$sharedstatedir,;t t
9000 < s,@localstatedir@,$localstatedir,;t t
9001 < s,@libdir@,$libdir,;t t
9002 < s,@includedir@,$includedir,;t t
9003 < s,@oldincludedir@,$oldincludedir,;t t
9004 < s,@infodir@,$infodir,;t t
9005 < s,@mandir@,$mandir,;t t
9006 < s,@build_alias@,$build_alias,;t t
9007 < s,@host_alias@,$host_alias,;t t
9008 < s,@target_alias@,$target_alias,;t t
9009 < s,@DEFS@,$DEFS,;t t
9010 < s,@ECHO_C@,$ECHO_C,;t t
9011 < s,@ECHO_N@,$ECHO_N,;t t
9012 < s,@ECHO_T@,$ECHO_T,;t t
9013 < s,@LIBS@,$LIBS,;t t
9014 < s,@PROGNAME@,$PROGNAME,;t t
9015 < s,@debug@,$debug,;t t
9016 < s,@build@,$build,;t t
9017 < s,@build_cpu@,$build_cpu,;t t
9018 < s,@build_vendor@,$build_vendor,;t t
9019 < s,@build_os@,$build_os,;t t
9020 < s,@host@,$host,;t t
9021 < s,@host_cpu@,$host_cpu,;t t
9022 < s,@host_vendor@,$host_vendor,;t t
9023 < s,@host_os@,$host_os,;t t
9024 < s,@CC@,$CC,;t t
9025 < s,@CFLAGS@,$CFLAGS,;t t
9026 < s,@LDFLAGS@,$LDFLAGS,;t t
9027 < s,@CPPFLAGS@,$CPPFLAGS,;t t
9028 < s,@ac_ct_CC@,$ac_ct_CC,;t t
9029 < s,@EXEEXT@,$EXEEXT,;t t
9030 < s,@OBJEXT@,$OBJEXT,;t t
9031 < s,@CXX@,$CXX,;t t
9032 < s,@CXXFLAGS@,$CXXFLAGS,;t t
9033 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9034 < s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
9035 < s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
9036 < s,@F90@,$F90,;t t
9037 < s,@F90FLAGS@,$F90FLAGS,;t t
9038 < s,@ac_ct_F90@,$ac_ct_F90,;t t
9039 < s,@PREPFLAG@,$PREPFLAG,;t t
9040 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
9041 < s,@F90LIBS@,$F90LIBS,;t t
9042 < s,@F90_FUNC@,$F90_FUNC,;t t
9043 < s,@F90_FUNC_@,$F90_FUNC_,;t t
9044 < s,@MOD@,$MOD,;t t
9045 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
9046 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
9047 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9048 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9049 < s,@CPP@,$CPP,;t t
9050 < s,@EGREP@,$EGREP,;t t
9051 < s,@LIBOBJS@,$LIBOBJS,;t t
9052 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9053 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9054 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9055 < s,@LN_S@,$LN_S,;t t
9056 < s,@SET_MAKE@,$SET_MAKE,;t t
9057 < s,@RANLIB@,$RANLIB,;t t
9058 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9059 < s,@YACC@,$YACC,;t t
9060 < s,@LEX@,$LEX,;t t
9061 < s,@LEXLIB@,$LEXLIB,;t t
9062 < s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9063 < s,@AR@,$AR,;t t
9064 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9065 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9066 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
9067 < s,@MPI_LIB@,$MPI_LIB,;t t
9068 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9069 < s,@USE_MPI@,$USE_MPI,;t t
9070 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9071 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9072 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9073 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9074 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9075 < s,@MKL_LIB@,$MKL_LIB,;t t
9076 < s,@MKL_INC@,$MKL_INC,;t t
9077 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9078 < s,@DOXYGEN@,$DOXYGEN,;t t
9079 < s,@DOT@,$DOT,;t t
9080 < s,@DOC@,$DOC,;t t
9081 < s,@enable_dot@,$enable_dot,;t t
9082 < s,@enable_html_docs@,$enable_html_docs,;t t
9083 < s,@enable_latex_docs@,$enable_latex_docs,;t t
9084 < s,@BATEXT@,$BATEXT,;t t
9085 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9086 < s,@OOPSE@,$OOPSE,;t t
9087 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9088 < s,@SUBDIRS@,$SUBDIRS,;t t
9089 < s,@FFLAGS@,$FFLAGS,;t t
9090 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9091 < CEOF
9092 <
9093 < _ACEOF
9094 <
9095 <  cat >>$CONFIG_STATUS <<\_ACEOF
9096 <  # Split the substitutions into bite-sized pieces for seds with
9097 <  # small command number limits, like on Digital OSF/1 and HP-UX.
9098 <  ac_max_sed_lines=48
9099 <  ac_sed_frag=1 # Number of current file.
9100 <  ac_beg=1 # First line for current file.
9101 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
9102 <  ac_more_lines=:
9103 <  ac_sed_cmds=
9104 <  while $ac_more_lines; do
9105 <    if test $ac_beg -gt 1; then
9106 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9107 <    else
9108 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9109 <    fi
9110 <    if test ! -s $tmp/subs.frag; then
9111 <      ac_more_lines=false
9112 <    else
9113 <      # The purpose of the label and of the branching condition is to
9114 <      # speed up the sed processing (if there are no `@' at all, there
9115 <      # is no need to browse any of the substitutions).
9116 <      # These are the two extra sed commands mentioned above.
9117 <      (echo ':t
9118 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9119 <      if test -z "$ac_sed_cmds"; then
9120 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9121 <      else
9122 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9123 <      fi
9124 <      ac_sed_frag=`expr $ac_sed_frag + 1`
9125 <      ac_beg=$ac_end
9126 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
9127 <    fi
9128 <  done
9129 <  if test -z "$ac_sed_cmds"; then
9130 <    ac_sed_cmds=cat
9131 <  fi
9132 < fi # test -n "$CONFIG_FILES"
9133 <
9134 < _ACEOF
9135 < cat >>$CONFIG_STATUS <<\_ACEOF
9136 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9137 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9138 <  case $ac_file in
9139 <  - | *:- | *:-:* ) # input from stdin
9140 <        cat >$tmp/stdin
9141 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9142 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9143 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9144 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9145 <  * )   ac_file_in=$ac_file.in ;;
9146 <  esac
9147 <
9148 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9149 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9150 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9151 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9152 <         X"$ac_file" : 'X\(//\)$' \| \
9153 <         X"$ac_file" : 'X\(/\)' \| \
9154 <         .     : '\(.\)' 2>/dev/null ||
9155 < echo X"$ac_file" |
9156 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9157 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9158 <          /^X\(\/\/\)$/{ s//\1/; q; }
9159 <          /^X\(\/\).*/{ s//\1/; q; }
9160 <          s/.*/./; q'`
9161 <  { if $as_mkdir_p; then
9162 <    mkdir -p "$ac_dir"
9163 <  else
9164 <    as_dir="$ac_dir"
9165 <    as_dirs=
9166 <    while test ! -d "$as_dir"; do
9167 <      as_dirs="$as_dir $as_dirs"
9168 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9169 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9170 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9171 <         X"$as_dir" : 'X\(//\)$' \| \
9172 <         X"$as_dir" : 'X\(/\)' \| \
9173 <         .     : '\(.\)' 2>/dev/null ||
9174 < echo X"$as_dir" |
9175 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9176 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9177 <          /^X\(\/\/\)$/{ s//\1/; q; }
9178 <          /^X\(\/\).*/{ s//\1/; q; }
9179 <          s/.*/./; q'`
9180 <    done
9181 <    test ! -n "$as_dirs" || mkdir $as_dirs
9182 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9183 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9184 <   { (exit 1); exit 1; }; }; }
9185 <
9186 <  ac_builddir=.
9187 <
9188 < if test "$ac_dir" != .; then
9189 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9190 <  # A "../" for each directory in $ac_dir_suffix.
9191 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9192 < else
9193 <  ac_dir_suffix= ac_top_builddir=
9194 < fi
9195 <
9196 < case $srcdir in
9197 <  .)  # No --srcdir option.  We are building in place.
9198 <    ac_srcdir=.
9199 <    if test -z "$ac_top_builddir"; then
9200 <       ac_top_srcdir=.
9201 <    else
9202 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9203 <    fi ;;
9204 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9205 <    ac_srcdir=$srcdir$ac_dir_suffix;
9206 <    ac_top_srcdir=$srcdir ;;
9207 <  *) # Relative path.
9208 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9209 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9210 < esac
9211 <
9212 < # Do not use `cd foo && pwd` to compute absolute paths, because
9213 < # the directories may not exist.
9214 < case `pwd` in
9215 < .) ac_abs_builddir="$ac_dir";;
9216 < *)
9217 <  case "$ac_dir" in
9218 <  .) ac_abs_builddir=`pwd`;;
9219 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9220 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9221 <  esac;;
9222 < esac
9223 < case $ac_abs_builddir in
9224 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
9225 < *)
9226 <  case ${ac_top_builddir}. in
9227 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
9228 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9229 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9230 <  esac;;
9231 < esac
9232 < case $ac_abs_builddir in
9233 < .) ac_abs_srcdir=$ac_srcdir;;
9234 < *)
9235 <  case $ac_srcdir in
9236 <  .) ac_abs_srcdir=$ac_abs_builddir;;
9237 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9238 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9239 <  esac;;
9240 < esac
9241 < case $ac_abs_builddir in
9242 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
9243 < *)
9244 <  case $ac_top_srcdir in
9245 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9246 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9247 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9248 <  esac;;
9249 < esac
9250 <
9251 <
9252 <  case $INSTALL in
9253 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9254 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9255 <  esac
9256 <
9257 <  if test x"$ac_file" != x-; then
9258 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
9259 < echo "$as_me: creating $ac_file" >&6;}
9260 <    rm -f "$ac_file"
9261 <  fi
9262 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
9263 <  # use $as_me), people would be surprised to read:
9264 <  #    /* config.h.  Generated by config.status.  */
9265 <  if test x"$ac_file" = x-; then
9266 <    configure_input=
9267 <  else
9268 <    configure_input="$ac_file.  "
9269 <  fi
9270 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9271 <                                     sed 's,.*/,,'` by configure."
9272 <
9273 <  # First look for the input files in the build tree, otherwise in the
9274 <  # src tree.
9275 <  ac_file_inputs=`IFS=:
9276 <    for f in $ac_file_in; do
9277 <      case $f in
9278 <      -) echo $tmp/stdin ;;
9279 <      [\\/$]*)
9280 <         # Absolute (can't be DOS-style, as IFS=:)
9281 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9282 < echo "$as_me: error: cannot find input file: $f" >&2;}
9283 <   { (exit 1); exit 1; }; }
9284 <         echo "$f";;
9285 <      *) # Relative
9286 <         if test -f "$f"; then
9287 <           # Build tree
9288 <           echo "$f"
9289 <         elif test -f "$srcdir/$f"; then
9290 <           # Source tree
9291 <           echo "$srcdir/$f"
9292 <         else
9293 <           # /dev/null tree
9294 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9295 < echo "$as_me: error: cannot find input file: $f" >&2;}
9296 <   { (exit 1); exit 1; }; }
9297 <         fi;;
9298 <      esac
9299 <    done` || { (exit 1); exit 1; }
9300 < _ACEOF
9301 < cat >>$CONFIG_STATUS <<_ACEOF
9302 <  sed "$ac_vpsub
9303 < $extrasub
9304 < _ACEOF
9305 < cat >>$CONFIG_STATUS <<\_ACEOF
9306 < :t
9307 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9308 < s,@configure_input@,$configure_input,;t t
9309 < s,@srcdir@,$ac_srcdir,;t t
9310 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
9311 < s,@top_srcdir@,$ac_top_srcdir,;t t
9312 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9313 < s,@builddir@,$ac_builddir,;t t
9314 < s,@abs_builddir@,$ac_abs_builddir,;t t
9315 < s,@top_builddir@,$ac_top_builddir,;t t
9316 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9317 < s,@INSTALL@,$ac_INSTALL,;t t
9318 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9319 <  rm -f $tmp/stdin
9320 <  if test x"$ac_file" != x-; then
9321 <    mv $tmp/out $ac_file
9322 <  else
9323 <    cat $tmp/out
9324 <    rm -f $tmp/out
9325 <  fi
9326 <
5894 >  # Broken: fails on valid input.
5895 > continue
5896 > fi
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 > 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 >  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 >
5959 >
5960 >
5961 >
5962 >
5963 >
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 >  # 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); }; } &&
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 >  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 > 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 >  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 > 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