ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/configure
(Generate patch)

Comparing trunk/configure (file contents):
Revision 44 by gezelter, Wed Oct 6 21:22:43 2004 UTC vs.
Revision 754 by gezelter, Thu Nov 17 20:39:59 2005 UTC

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