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

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 2190 by gezelter, Wed Apr 13 22:30:22 2005 UTC vs.
Revision 2453 by gezelter, Thu Nov 17 20:39:59 2005 UTC

# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP 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'
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 879 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888    --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
# Line 1880 | Line 1885 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1885  
1886  
1887  
1888 + #
1889 + #
1890 + #
1891 +
1892  
1893  
1894  
# Line 3546 | Line 3555 | F90FLAGS="$F90FLAGS $ac_verb"
3555   ac_save_F90FLAGS=$F90FLAGS
3556   F90FLAGS="$F90FLAGS $ac_verb"
3557  
3558 < (eval echo $as_me:3549: \"$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 3623 | 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:3626: \"$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 4453 | 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 4949 | Line 5042 | done
5042   done
5043  
5044  
5045 + #
5046 + # Handle user hints
5047 + #
5048 + echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5049 + echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5050  
5051 + # Check whether --with-zlib or --without-zlib was given.
5052 + if test "${with_zlib+set}" = set; then
5053 +  withval="$with_zlib"
5054 +  if test "$withval" != no ; then
5055 +  echo "$as_me:$LINENO: result: yes" >&5
5056 + echo "${ECHO_T}yes" >&6
5057 +  if test -d "$withval"
5058 +  then
5059 +    ZLIB_HOME="$withval"
5060 +  else
5061 +    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5062 + echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5063 +  fi
5064 + else
5065 +  echo "$as_me:$LINENO: result: no" >&5
5066 + echo "${ECHO_T}no" >&6
5067 + fi
5068 + fi;
5069  
5070 + ZLIB_HOME=/usr/local
5071 + if test ! -f "${ZLIB_HOME}/include/zlib.h"
5072 + then
5073 +        ZLIB_HOME=/usr
5074 + fi
5075  
5076 + #
5077 + # Locate zlib, if wanted
5078 + #
5079 + if test -n "${ZLIB_HOME}"
5080 + then
5081 +        ZLIB_OLD_LDFLAGS=$LDFLAGS
5082 +        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5083 +        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5084 +        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5085  
5086  
5087 +        ac_ext=c
5088 + ac_cpp='$CPP $CPPFLAGS'
5089 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092  
5093 +        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5094 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5095 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5096 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5097 + else
5098 +  ac_check_lib_save_LIBS=$LIBS
5099 + LIBS="-lz  $LIBS"
5100 + cat >conftest.$ac_ext <<_ACEOF
5101 + /* confdefs.h.  */
5102 + _ACEOF
5103 + cat confdefs.h >>conftest.$ac_ext
5104 + cat >>conftest.$ac_ext <<_ACEOF
5105 + /* end confdefs.h.  */
5106  
5107 + /* Override any gcc2 internal prototype to avoid an error.  */
5108 + #ifdef __cplusplus
5109 + extern "C"
5110 + #endif
5111 + /* We use char because int might match the return type of a gcc2
5112 +   builtin and then its argument prototype would still apply.  */
5113 + char inflateEnd ();
5114 + int
5115 + main ()
5116 + {
5117 + inflateEnd ();
5118 +  ;
5119 +  return 0;
5120 + }
5121 + _ACEOF
5122 + rm -f conftest.$ac_objext conftest$ac_exeext
5123 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 +  (eval $ac_link) 2>conftest.er1
5125 +  ac_status=$?
5126 +  grep -v '^ *+' conftest.er1 >conftest.err
5127 +  rm -f conftest.er1
5128 +  cat conftest.err >&5
5129 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 +  (exit $ac_status); } &&
5131 +         { ac_try='test -z "$ac_c_werror_flag"
5132 +                         || test ! -s conftest.err'
5133 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 +  (eval $ac_try) 2>&5
5135 +  ac_status=$?
5136 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 +  (exit $ac_status); }; } &&
5138 +         { ac_try='test -s conftest$ac_exeext'
5139 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 +  (eval $ac_try) 2>&5
5141 +  ac_status=$?
5142 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 +  (exit $ac_status); }; }; then
5144 +  ac_cv_lib_z_inflateEnd=yes
5145 + else
5146 +  echo "$as_me: failed program was:" >&5
5147 + sed 's/^/| /' conftest.$ac_ext >&5
5148  
5149 + ac_cv_lib_z_inflateEnd=no
5150 + fi
5151 + rm -f conftest.err conftest.$ac_objext \
5152 +      conftest$ac_exeext conftest.$ac_ext
5153 + LIBS=$ac_check_lib_save_LIBS
5154 + fi
5155 + echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5156 + echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5157 + if test $ac_cv_lib_z_inflateEnd = yes; then
5158 +  zlib_cv_libz=yes
5159 + else
5160 +  zlib_cv_libz=no
5161 + fi
5162  
5163 < for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
5164 < do
5165 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5166 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
4965 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
4966 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4967 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5163 >        if test "${ac_cv_header_zlib_h+set}" = set; then
5164 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
5165 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5166 > if test "${ac_cv_header_zlib_h+set}" = set; then
5167    echo $ECHO_N "(cached) $ECHO_C" >&6
5168   fi
5169 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5170 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5169 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5170 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5171   else
5172    # Is the header compilable?
5173 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
5174 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5173 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5174 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5175   cat >conftest.$ac_ext <<_ACEOF
5176   /* confdefs.h.  */
5177   _ACEOF
# Line 4980 | 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 5016 | Line 5215 | echo "$as_me:$LINENO: checking $ac_header presence" >&
5215   echo "${ECHO_T}$ac_header_compiler" >&6
5216  
5217   # Is the header present?
5218 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5219 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5218 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5219 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5220   cat >conftest.$ac_ext <<_ACEOF
5221   /* confdefs.h.  */
5222   _ACEOF
5223   cat confdefs.h >>conftest.$ac_ext
5224   cat >>conftest.$ac_ext <<_ACEOF
5225   /* end confdefs.h.  */
5226 < #include <$ac_header>
5226 > #include <zlib.h>
5227   _ACEOF
5228   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5058 | 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 5087 | Line 5286 | echo "$as_me:$LINENO: checking for $ac_header" >&5
5286        sed "s/^/$as_me: WARNING:     /" >&2
5287      ;;
5288   esac
5289 < echo "$as_me:$LINENO: checking for $ac_header" >&5
5290 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5291 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5289 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5290 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5291 > if test "${ac_cv_header_zlib_h+set}" = set; then
5292    echo $ECHO_N "(cached) $ECHO_C" >&6
5293   else
5294 <  eval "$as_ac_Header=\$ac_header_preproc"
5294 >  ac_cv_header_zlib_h=$ac_header_preproc
5295   fi
5296 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5297 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5296 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5297 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5298  
5299   fi
5300 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
5301 <  cat >>confdefs.h <<_ACEOF
5302 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5303 < _ACEOF
5105 <
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  
5108 done
5306  
5307 +        ac_ext=c
5308 + ac_cpp='$CPP $CPPFLAGS'
5309 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5310 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5311 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5312  
5313 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5314 +        then
5315 +                #
5316 +                # If both library and header were found, use them
5317 +                #
5318  
5319 <
5320 <
5321 <
5115 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5116 < do
5117 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5118 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5119 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5120 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5319 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5320 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5321 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5322    echo $ECHO_N "(cached) $ECHO_C" >&6
5323   else
5324 <  cat >conftest.$ac_ext <<_ACEOF
5324 >  ac_check_lib_save_LIBS=$LIBS
5325 > LIBS="-lz  $LIBS"
5326 > cat >conftest.$ac_ext <<_ACEOF
5327   /* confdefs.h.  */
5328   _ACEOF
5329   cat confdefs.h >>conftest.$ac_ext
5330   cat >>conftest.$ac_ext <<_ACEOF
5331   /* end confdefs.h.  */
5129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5130   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5131 #define $ac_func innocuous_$ac_func
5332  
5133 /* System header to define __stub macros and hopefully few prototypes,
5134    which can conflict with char $ac_func (); below.
5135    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5136    <limits.h> exists even on freestanding compilers.  */
5137
5138 #ifdef __STDC__
5139 # include <limits.h>
5140 #else
5141 # include <assert.h>
5142 #endif
5143
5144 #undef $ac_func
5145
5333   /* Override any gcc2 internal prototype to avoid an error.  */
5334   #ifdef __cplusplus
5335   extern "C"
5149 {
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 ();
5154 < /* The GNU C library defines this for functions which it implements
5155 <    to always fail with ENOSYS.  Some functions are actually named
5156 <    something starting with __ and the normal name is an alias.  */
5157 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5158 < choke me
5159 < #else
5160 < char (*f) () = $ac_func;
5161 < #endif
5162 < #ifdef __cplusplus
5163 < }
5164 < #endif
5165 <
5339 > char inflateEnd ();
5340   int
5341   main ()
5342   {
5343 < return f != $ac_func;
5343 > inflateEnd ();
5344    ;
5345    return 0;
5346   }
# Line 5193 | Line 5367 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5367    ac_status=$?
5368    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369    (exit $ac_status); }; }; then
5370 <  eval "$as_ac_var=yes"
5370 >  ac_cv_lib_z_inflateEnd=yes
5371   else
5372    echo "$as_me: failed program was:" >&5
5373   sed 's/^/| /' conftest.$ac_ext >&5
5374  
5375 < eval "$as_ac_var=no"
5375 > ac_cv_lib_z_inflateEnd=no
5376   fi
5377   rm -f conftest.err conftest.$ac_objext \
5378        conftest$ac_exeext conftest.$ac_ext
5379 + LIBS=$ac_check_lib_save_LIBS
5380   fi
5381 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5382 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5383 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5381 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5382 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5383 > if test $ac_cv_lib_z_inflateEnd = yes; then
5384    cat >>confdefs.h <<_ACEOF
5385 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5385 > #define HAVE_LIBZ 1
5386   _ACEOF
5387  
5388 +  LIBS="-lz $LIBS"
5389 +
5390   fi
5214 done
5391  
5392 < # special check for _system_configuration because AIX <4.3.2 do not
5393 < # contain the `physmem' member.
5394 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5395 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5392 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5393 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5394 >                echo "$as_me:$LINENO: result: ok" >&5
5395 > echo "${ECHO_T}ok" >&6
5396 >        else
5397 >                #
5398 >                # If either header or library was not found, revert and bomb
5399 >                #
5400 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5401 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5402 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5403 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5404 >                echo "$as_me:$LINENO: result: failed" >&5
5405 > echo "${ECHO_T}failed" >&6
5406 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5407 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5408 >   { (exit 1); exit 1; }; }
5409 >        fi
5410 > fi
5411 >
5412 >
5413 >
5414 >
5415 >
5416 >
5417 >
5418 >
5419 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5420 > do
5421 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5422 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5423 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5427 > fi
5428 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5429 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5430 > else
5431 >  # Is the header compilable?
5432 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5433 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5434   cat >conftest.$ac_ext <<_ACEOF
5435   /* confdefs.h.  */
5436   _ACEOF
5437   cat confdefs.h >>conftest.$ac_ext
5438   cat >>conftest.$ac_ext <<_ACEOF
5439   /* end confdefs.h.  */
5440 < #include <sys/systemcfg.h>
5441 < int
5228 < main ()
5229 < {
5230 < double x = _system_configuration.physmem;
5231 <  ;
5232 <  return 0;
5233 < }
5440 > $ac_includes_default
5441 > #include <$ac_header>
5442   _ACEOF
5443   rm -f conftest.$ac_objext
5444   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
# Line 5254 | Line 5462 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462    ac_status=$?
5463    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464    (exit $ac_status); }; }; then
5465 <  echo "$as_me:$LINENO: result: yes" >&5
5466 < echo "${ECHO_T}yes" >&6
5465 >  ac_header_compiler=yes
5466 > else
5467 >  echo "$as_me: failed program was:" >&5
5468 > sed 's/^/| /' conftest.$ac_ext >&5
5469  
5470 < cat >>confdefs.h <<\_ACEOF
5471 < #define HAVE__SYSTEM_CONFIGURATION 1
5472 < _ACEOF
5470 > ac_header_compiler=no
5471 > fi
5472 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5473 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5474 > echo "${ECHO_T}$ac_header_compiler" >&6
5475  
5476 + # Is the header present?
5477 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
5478 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5479 + cat >conftest.$ac_ext <<_ACEOF
5480 + /* confdefs.h.  */
5481 + _ACEOF
5482 + cat confdefs.h >>conftest.$ac_ext
5483 + cat >>conftest.$ac_ext <<_ACEOF
5484 + /* end confdefs.h.  */
5485 + #include <$ac_header>
5486 + _ACEOF
5487 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5488 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5489 +  ac_status=$?
5490 +  grep -v '^ *+' conftest.er1 >conftest.err
5491 +  rm -f conftest.er1
5492 +  cat conftest.err >&5
5493 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 +  (exit $ac_status); } >/dev/null; then
5495 +  if test -s conftest.err; then
5496 +    ac_cpp_err=$ac_c_preproc_warn_flag
5497 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5498 +  else
5499 +    ac_cpp_err=
5500 +  fi
5501   else
5502 +  ac_cpp_err=yes
5503 + fi
5504 + if test -z "$ac_cpp_err"; then
5505 +  ac_header_preproc=yes
5506 + else
5507    echo "$as_me: failed program was:" >&5
5508   sed 's/^/| /' conftest.$ac_ext >&5
5509  
5510 < echo "$as_me:$LINENO: result: no" >&5
5269 < echo "${ECHO_T}no" >&6
5510 >  ac_header_preproc=no
5511   fi
5512 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5512 > rm -f conftest.err conftest.$ac_ext
5513 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5514 > echo "${ECHO_T}$ac_header_preproc" >&6
5515  
5516 <  # clean out junk possibly left behind by a previous configuration
5517 <  rm -f src/getopt.h
5518 <  # Check for getopt_long support
5516 > # So?  What about this header?
5517 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5518 >  yes:no: )
5519 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5520 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5521 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5522 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5523 >    ac_header_preproc=yes
5524 >    ;;
5525 >  no:yes:* )
5526 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5527 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5528 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5529 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5530 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5531 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5532 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5533 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5534 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5535 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5537 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5538 >    (
5539 >      cat <<\_ASBOX
5540 > ## ------------------------------ ##
5541 > ## Report this to gezelter@nd.edu ##
5542 > ## ------------------------------ ##
5543 > _ASBOX
5544 >    ) |
5545 >      sed "s/^/$as_me: WARNING:     /" >&2
5546 >    ;;
5547 > esac
5548 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5549 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5550 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5551 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5552 > else
5553 >  eval "$as_ac_Header=\$ac_header_preproc"
5554 > fi
5555 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5556 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5557  
5558 < for ac_header in getopt.h
5558 > fi
5559 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560 >  cat >>confdefs.h <<_ACEOF
5561 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 > _ACEOF
5563 >
5564 > fi
5565 >
5566 > done
5567 >
5568 >
5569 >
5570 >
5571 >
5572 >
5573 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5574   do
5575   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5576   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 5423 | Line 5719 | done
5719  
5720   done
5721  
5722 + ac_ext=cc
5723 + ac_cpp='$CXXCPP $CPPFLAGS'
5724 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5725 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5726 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5727  
5728 < for ac_func in getopt_long
5729 < do
5730 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5731 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5732 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5733 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5728 > ac_ext=cc
5729 > ac_cpp='$CXXCPP $CPPFLAGS'
5730 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5733 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5734 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5735 > if test -z "$CXXCPP"; then
5736 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5737    echo $ECHO_N "(cached) $ECHO_C" >&6
5738   else
5739 +      # Double quotes because CXXCPP needs to be expanded
5740 +    for CXXCPP in "$CXX -E" "/lib/cpp"
5741 +    do
5742 +      ac_preproc_ok=false
5743 + for ac_cxx_preproc_warn_flag in '' yes
5744 + do
5745 +  # Use a header file that comes with gcc, so configuring glibc
5746 +  # with a fresh cross-compiler works.
5747 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5748 +  # <limits.h> exists even on freestanding compilers.
5749 +  # On the NeXT, cc -E runs the code through the compiler's parser,
5750 +  # not just through cpp. "Syntax error" is here to catch this case.
5751    cat >conftest.$ac_ext <<_ACEOF
5752   /* confdefs.h.  */
5753   _ACEOF
5754   cat confdefs.h >>conftest.$ac_ext
5755   cat >>conftest.$ac_ext <<_ACEOF
5756   /* end confdefs.h.  */
5441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5442   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5443 #define $ac_func innocuous_$ac_func
5444
5445 /* System header to define __stub macros and hopefully few prototypes,
5446    which can conflict with char $ac_func (); below.
5447    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5448    <limits.h> exists even on freestanding compilers.  */
5449
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_cpp_err=yes
5780 + fi
5781 + if test -z "$ac_cpp_err"; then
5782 +  :
5783 + else
5784 +  echo "$as_me: failed program was:" >&5
5785 + sed 's/^/| /' conftest.$ac_ext >&5
5786  
5787 < #undef $ac_func
5787 >  # Broken: fails on valid input.
5788 > continue
5789 > fi
5790 > rm -f conftest.err conftest.$ac_ext
5791  
5792 < /* Override any gcc2 internal prototype to avoid an error.  */
5793 < #ifdef __cplusplus
5794 < extern "C"
5795 < {
5462 < #endif
5463 < /* We use char because int might match the return type of a gcc2
5464 <   builtin and then its argument prototype would still apply.  */
5465 < char $ac_func ();
5466 < /* The GNU C library defines this for functions which it implements
5467 <    to always fail with ENOSYS.  Some functions are actually named
5468 <    something starting with __ and the normal name is an alias.  */
5469 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5470 < choke me
5471 < #else
5472 < char (*f) () = $ac_func;
5473 < #endif
5474 < #ifdef __cplusplus
5475 < }
5476 < #endif
5477 <
5478 < int
5479 < main ()
5480 < {
5481 < return f != $ac_func;
5482 <  ;
5483 <  return 0;
5484 < }
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 < rm -f conftest.$ac_objext conftest$ac_exeext
5798 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5799 <  (eval $ac_link) 2>conftest.er1
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); } &&
5810 <         { ac_try='test -z "$ac_c_werror_flag"
5811 <                         || test ! -s conftest.err'
5812 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 <  (eval $ac_try) 2>&5
5814 <  ac_status=$?
5815 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 <  (exit $ac_status); }; } &&
5502 <         { ac_try='test -s conftest$ac_exeext'
5503 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 <  (eval $ac_try) 2>&5
5505 <  ac_status=$?
5506 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 <  (exit $ac_status); }; }; then
5508 <  eval "$as_ac_var=yes"
5809 >  (exit $ac_status); } >/dev/null; then
5810 >  if test -s conftest.err; then
5811 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5812 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5813 >  else
5814 >    ac_cpp_err=
5815 >  fi
5816   else
5817 +  ac_cpp_err=yes
5818 + fi
5819 + if test -z "$ac_cpp_err"; then
5820 +  # Broken: success on invalid input.
5821 + continue
5822 + else
5823    echo "$as_me: failed program was:" >&5
5824   sed 's/^/| /' conftest.$ac_ext >&5
5825  
5826 < eval "$as_ac_var=no"
5826 >  # Passes both tests.
5827 > ac_preproc_ok=:
5828 > break
5829   fi
5830 < rm -f conftest.err conftest.$ac_objext \
5831 <      conftest$ac_exeext conftest.$ac_ext
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
5518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5520 if test `eval echo '${'$as_ac_var'}'` = yes; then
5521  cat >>confdefs.h <<_ACEOF
5522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5523 _ACEOF
5838  
5839 +    done
5840 +    ac_cv_prog_CXXCPP=$CXXCPP
5841 +
5842 + fi
5843 +  CXXCPP=$ac_cv_prog_CXXCPP
5844   else
5845 <  # FreeBSD has a gnugetopt library for this
5846 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5847 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5848 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5849 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5850 < else
5851 <  ac_check_lib_save_LIBS=$LIBS
5852 < LIBS="-lgnugetopt  $LIBS"
5853 < cat >conftest.$ac_ext <<_ACEOF
5845 >  ac_cv_prog_CXXCPP=$CXXCPP
5846 > fi
5847 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5848 > echo "${ECHO_T}$CXXCPP" >&6
5849 > ac_preproc_ok=false
5850 > for ac_cxx_preproc_warn_flag in '' yes
5851 > do
5852 >  # Use a header file that comes with gcc, so configuring glibc
5853 >  # with a fresh cross-compiler works.
5854 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5855 >  # <limits.h> exists even on freestanding compilers.
5856 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5857 >  # not just through cpp. "Syntax error" is here to catch this case.
5858 >  cat >conftest.$ac_ext <<_ACEOF
5859   /* confdefs.h.  */
5860   _ACEOF
5861   cat confdefs.h >>conftest.$ac_ext
5862   cat >>conftest.$ac_ext <<_ACEOF
5863   /* end confdefs.h.  */
5864 <
5865 < /* Override any gcc2 internal prototype to avoid an error.  */
5866 < #ifdef __cplusplus
5867 < extern "C"
5864 > #ifdef __STDC__
5865 > # include <limits.h>
5866 > #else
5867 > # include <assert.h>
5868   #endif
5869 < /* We use char because int might match the return type of a gcc2
5546 <   builtin and then its argument prototype would still apply.  */
5547 < char getopt_long ();
5548 < int
5549 < main ()
5550 < {
5551 < getopt_long ();
5552 <  ;
5553 <  return 0;
5554 < }
5869 >                     Syntax error
5870   _ACEOF
5871 < rm -f conftest.$ac_objext conftest$ac_exeext
5872 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5558 <  (eval $ac_link) 2>conftest.er1
5871 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5872 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5873    ac_status=$?
5874    grep -v '^ *+' conftest.er1 >conftest.err
5875    rm -f conftest.er1
5876    cat conftest.err >&5
5877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 <  (exit $ac_status); } &&
5879 <         { ac_try='test -z "$ac_c_werror_flag"
5880 <                         || test ! -s conftest.err'
5881 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882 <  (eval $ac_try) 2>&5
5883 <  ac_status=$?
5884 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 <  (exit $ac_status); }; } &&
5572 <         { ac_try='test -s conftest$ac_exeext'
5573 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 <  (eval $ac_try) 2>&5
5575 <  ac_status=$?
5576 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 <  (exit $ac_status); }; }; then
5578 <  ac_cv_lib_gnugetopt_getopt_long=yes
5878 >  (exit $ac_status); } >/dev/null; then
5879 >  if test -s conftest.err; then
5880 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5881 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5882 >  else
5883 >    ac_cpp_err=
5884 >  fi
5885   else
5886 +  ac_cpp_err=yes
5887 + fi
5888 + if test -z "$ac_cpp_err"; then
5889 +  :
5890 + else
5891    echo "$as_me: failed program was:" >&5
5892   sed 's/^/| /' conftest.$ac_ext >&5
5893  
5894 < ac_cv_lib_gnugetopt_getopt_long=no
5894 >  # Broken: fails on valid input.
5895 > continue
5896   fi
5897 < rm -f conftest.err conftest.$ac_objext \
5586 <      conftest$ac_exeext conftest.$ac_ext
5587 < LIBS=$ac_check_lib_save_LIBS
5588 < fi
5589 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5590 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5591 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5592 <  cat >>confdefs.h <<\_ACEOF
5593 < #define HAVE_GETOPT_LONG 1
5594 < _ACEOF
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 <  # use the GNU replacement
5598 <      case $LIBOBJS in
5599 <    "getopt.$ac_objext"   | \
5600 <  *" getopt.$ac_objext"   | \
5601 <    "getopt.$ac_objext "* | \
5602 <  *" getopt.$ac_objext "* ) ;;
5603 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5604 < esac
5605 <
5606 <      case $LIBOBJS in
5607 <    "getopt1.$ac_objext"   | \
5608 <  *" getopt1.$ac_objext"   | \
5609 <    "getopt1.$ac_objext "* | \
5610 <  *" getopt1.$ac_objext "* ) ;;
5611 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5612 < esac
5613 <
5614 <                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5615 <
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  
5623 case $debug in
5624  1)
5625     ;;
5626  *)
5959  
5960  
5961  
5962  
5963  
5964 <
5965 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5966 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5967 < if test "${ac_cv_prog_really_gcc+set}" = set; then
5964 > for ac_header in ctype.h iostream fstream sstream strstream
5965 > do
5966 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971    echo $ECHO_N "(cached) $ECHO_C" >&6
5972 + fi
5973 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5975   else
5976 <
5977 < cat > conftest.c <<EOF
5978 < #ifdef __GNUC__
5979 <  #ifndef __INTEL_COMPILER
5980 <     yes;
5981 <  #endif
5982 < #endif
5983 < EOF
5984 < if { ac_try='${CC-cc} -E conftest.c'
5976 >  # Is the header compilable?
5977 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 > cat >conftest.$ac_ext <<_ACEOF
5980 > /* confdefs.h.  */
5981 > _ACEOF
5982 > cat confdefs.h >>conftest.$ac_ext
5983 > cat >>conftest.$ac_ext <<_ACEOF
5984 > /* end confdefs.h.  */
5985 > $ac_includes_default
5986 > #include <$ac_header>
5987 > _ACEOF
5988 > rm -f conftest.$ac_objext
5989 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 >  (eval $ac_compile) 2>conftest.er1
5991 >  ac_status=$?
5992 >  grep -v '^ *+' conftest.er1 >conftest.err
5993 >  rm -f conftest.er1
5994 >  cat conftest.err >&5
5995 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 >  (exit $ac_status); } &&
5997 >         { ac_try='test -z "$ac_cxx_werror_flag"
5998 >                         || test ! -s conftest.err'
5999    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000    (eval $ac_try) 2>&5
6001    ac_status=$?
6002    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6004 <  ac_cv_prog_really_gcc=yes
6003 >  (exit $ac_status); }; } &&
6004 >         { ac_try='test -s conftest.$ac_objext'
6005 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 >  (eval $ac_try) 2>&5
6007 >  ac_status=$?
6008 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 >  (exit $ac_status); }; }; then
6010 >  ac_header_compiler=yes
6011   else
6012 <  ac_cv_prog_really_gcc=no
6012 >  echo "$as_me: failed program was:" >&5
6013 > sed 's/^/| /' conftest.$ac_ext >&5
6014 >
6015 > ac_header_compiler=no
6016   fi
6017 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 + echo "${ECHO_T}$ac_header_compiler" >&6
6020  
6021 + # Is the header present?
6022 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 + cat >conftest.$ac_ext <<_ACEOF
6025 + /* confdefs.h.  */
6026 + _ACEOF
6027 + cat confdefs.h >>conftest.$ac_ext
6028 + cat >>conftest.$ac_ext <<_ACEOF
6029 + /* end confdefs.h.  */
6030 + #include <$ac_header>
6031 + _ACEOF
6032 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6034 +  ac_status=$?
6035 +  grep -v '^ *+' conftest.er1 >conftest.err
6036 +  rm -f conftest.er1
6037 +  cat conftest.err >&5
6038 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 +  (exit $ac_status); } >/dev/null; then
6040 +  if test -s conftest.err; then
6041 +    ac_cpp_err=$ac_cxx_preproc_warn_flag
6042 +    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6043 +  else
6044 +    ac_cpp_err=
6045 +  fi
6046 + else
6047 +  ac_cpp_err=yes
6048   fi
6049 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
6050 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
6051 < if test "$ac_cv_prog_really_gcc" = yes; then
6052 <        :
6049 > if test -z "$ac_cpp_err"; then
6050 >  ac_header_preproc=yes
6051 > else
6052 >  echo "$as_me: failed program was:" >&5
6053 > sed 's/^/| /' conftest.$ac_ext >&5
6054  
6055 +  ac_header_preproc=no
6056 + fi
6057 + rm -f conftest.err conftest.$ac_ext
6058 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 + echo "${ECHO_T}$ac_header_preproc" >&6
6060 +
6061 + # So?  What about this header?
6062 + case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6063 +  yes:no: )
6064 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068 +    ac_header_preproc=yes
6069 +    ;;
6070 +  no:yes:* )
6071 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6074 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6075 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6078 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6079 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6083 +    (
6084 +      cat <<\_ASBOX
6085 + ## ------------------------------ ##
6086 + ## Report this to gezelter@nd.edu ##
6087 + ## ------------------------------ ##
6088 + _ASBOX
6089 +    ) |
6090 +      sed "s/^/$as_me: WARNING:     /" >&2
6091 +    ;;
6092 + esac
6093 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6097   else
6098 <        :
6098 >  eval "$as_ac_Header=\$ac_header_preproc"
6099 > fi
6100 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6102  
6103   fi
6104 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105 +  cat >>confdefs.h <<_ACEOF
6106 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 + _ACEOF
6108  
6109 + fi
6110  
6111 < # Try to determine "good" native compiler flags if none specified on command
5670 < # line
5671 < if test "$ac_test_CFLAGS" != "set"; then
5672 <  CFLAGS=""
5673 <  case "${host_cpu}-${host_os}" in
6111 > done
6112  
6113 <  *linux*) if test "$CC" = icc; then
6114 <                    CFLAGS="-O"
6115 <                fi;;
6116 <  sparc-solaris2*) if test "$CC" = cc; then
6117 <                    CFLAGS="-native -fast -xO5 -dalign"
5680 <                 fi;;
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 <  alpha*-osf*)  if test "$CC" = cc; then
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  
# Line 7158 | Line 9035 | _ACEOF
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
# Line 7333 | Line 9329 | _ACEOF
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
# Line 7383 | Line 9385 | echo '#include <mpi.h>' > conftest.cc
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 test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
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"
# Line 7841 | Line 9847 | if test "x$cgal_makefile" != xno; then
9847      cgal_makefile="$CGAL_MAKEFILE"
9848    fi
9849  
9850 <  echo "cgal_makefile      $cgal_makefile"
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  
# Line 7903 | Line 9910 | EOF
9910        GMP_RLIBDIR=""
9911      fi
9912  
9913 <    echo "CGAL_OS_COMPILER   $CGAL_OS_COMPILER"
9914 <    echo "CGAL_INCLDIR       $CGAL_INCLDIR"
9915 <    echo "CGAL_INCLCONFDIR   $CGAL_INCLCONFDIR"
9916 <    echo "CGAL_LIBDIR        $CGAL_LIBDIR"
9917 <    echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
9918 <    echo "LEDA_INCLDIR       $LEDA_INCLDIR"
9919 <    echo "LEDA_LIBDIR        $LEDA_LIBDIR"
9920 <    echo "GMP_INCLDIR        $GMP_INCLDIR"
9921 <    echo "GMP_LIBDIR         $GMP_LIBDIR"
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'
# Line 7921 | Line 9937 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9937  
9938      save_CXXFLAGS="$CXXFLAGS"
9939      CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
9940 <
7925 < ac_ext=cc
7926 < ac_cpp='$CXXCPP $CPPFLAGS'
7927 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7928 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7930 < echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7931 < echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7932 < if test -z "$CXXCPP"; then
7933 <  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7934 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7935 < else
7936 <      # Double quotes because CXXCPP needs to be expanded
7937 <    for CXXCPP in "$CXX -E" "/lib/cpp"
7938 <    do
7939 <      ac_preproc_ok=false
7940 < for ac_cxx_preproc_warn_flag in '' yes
7941 < do
7942 <  # Use a header file that comes with gcc, so configuring glibc
7943 <  # with a fresh cross-compiler works.
7944 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7945 <  # <limits.h> exists even on freestanding compilers.
7946 <  # On the NeXT, cc -E runs the code through the compiler's parser,
7947 <  # not just through cpp. "Syntax error" is here to catch this case.
7948 <  cat >conftest.$ac_ext <<_ACEOF
7949 < /* confdefs.h.  */
7950 < _ACEOF
7951 < cat confdefs.h >>conftest.$ac_ext
7952 < cat >>conftest.$ac_ext <<_ACEOF
7953 < /* end confdefs.h.  */
7954 < #ifdef __STDC__
7955 < # include <limits.h>
7956 < #else
7957 < # include <assert.h>
7958 < #endif
7959 <                     Syntax error
7960 < _ACEOF
7961 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7962 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7963 <  ac_status=$?
7964 <  grep -v '^ *+' conftest.er1 >conftest.err
7965 <  rm -f conftest.er1
7966 <  cat conftest.err >&5
7967 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 <  (exit $ac_status); } >/dev/null; then
7969 <  if test -s conftest.err; then
7970 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
7971 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7972 <  else
7973 <    ac_cpp_err=
7974 <  fi
7975 < else
7976 <  ac_cpp_err=yes
7977 < fi
7978 < if test -z "$ac_cpp_err"; then
7979 <  :
7980 < else
7981 <  echo "$as_me: failed program was:" >&5
7982 < sed 's/^/| /' conftest.$ac_ext >&5
7983 <
7984 <  # Broken: fails on valid input.
7985 < continue
7986 < fi
7987 < rm -f conftest.err conftest.$ac_ext
7988 <
7989 <  # OK, works on sane cases.  Now check whether non-existent headers
7990 <  # can be detected and how.
7991 <  cat >conftest.$ac_ext <<_ACEOF
7992 < /* confdefs.h.  */
7993 < _ACEOF
7994 < cat confdefs.h >>conftest.$ac_ext
7995 < cat >>conftest.$ac_ext <<_ACEOF
7996 < /* end confdefs.h.  */
7997 < #include <ac_nonexistent.h>
7998 < _ACEOF
7999 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8000 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8001 <  ac_status=$?
8002 <  grep -v '^ *+' conftest.er1 >conftest.err
8003 <  rm -f conftest.er1
8004 <  cat conftest.err >&5
8005 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 <  (exit $ac_status); } >/dev/null; then
8007 <  if test -s conftest.err; then
8008 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8009 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8010 <  else
8011 <    ac_cpp_err=
8012 <  fi
8013 < else
8014 <  ac_cpp_err=yes
8015 < fi
8016 < if test -z "$ac_cpp_err"; then
8017 <  # Broken: success on invalid input.
8018 < continue
8019 < else
8020 <  echo "$as_me: failed program was:" >&5
8021 < sed 's/^/| /' conftest.$ac_ext >&5
8022 <
8023 <  # Passes both tests.
8024 < ac_preproc_ok=:
8025 < break
8026 < fi
8027 < rm -f conftest.err conftest.$ac_ext
8028 <
8029 < done
8030 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8031 < rm -f conftest.err conftest.$ac_ext
8032 < if $ac_preproc_ok; then
8033 <  break
8034 < fi
8035 <
8036 <    done
8037 <    ac_cv_prog_CXXCPP=$CXXCPP
8038 <
8039 < fi
8040 <  CXXCPP=$ac_cv_prog_CXXCPP
8041 < else
8042 <  ac_cv_prog_CXXCPP=$CXXCPP
8043 < fi
8044 < echo "$as_me:$LINENO: result: $CXXCPP" >&5
8045 < echo "${ECHO_T}$CXXCPP" >&6
8046 < ac_preproc_ok=false
8047 < for ac_cxx_preproc_warn_flag in '' yes
8048 < do
8049 <  # Use a header file that comes with gcc, so configuring glibc
8050 <  # with a fresh cross-compiler works.
8051 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8052 <  # <limits.h> exists even on freestanding compilers.
8053 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8054 <  # not just through cpp. "Syntax error" is here to catch this case.
8055 <  cat >conftest.$ac_ext <<_ACEOF
8056 < /* confdefs.h.  */
8057 < _ACEOF
8058 < cat confdefs.h >>conftest.$ac_ext
8059 < cat >>conftest.$ac_ext <<_ACEOF
8060 < /* end confdefs.h.  */
8061 < #ifdef __STDC__
8062 < # include <limits.h>
8063 < #else
8064 < # include <assert.h>
8065 < #endif
8066 <                     Syntax error
8067 < _ACEOF
8068 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8069 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8070 <  ac_status=$?
8071 <  grep -v '^ *+' conftest.er1 >conftest.err
8072 <  rm -f conftest.er1
8073 <  cat conftest.err >&5
8074 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 <  (exit $ac_status); } >/dev/null; then
8076 <  if test -s conftest.err; then
8077 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8078 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8079 <  else
8080 <    ac_cpp_err=
8081 <  fi
8082 < else
8083 <  ac_cpp_err=yes
8084 < fi
8085 < if test -z "$ac_cpp_err"; then
8086 <  :
8087 < else
8088 <  echo "$as_me: failed program was:" >&5
8089 < sed 's/^/| /' conftest.$ac_ext >&5
8090 <
8091 <  # Broken: fails on valid input.
8092 < continue
8093 < fi
8094 < rm -f conftest.err conftest.$ac_ext
8095 <
8096 <  # OK, works on sane cases.  Now check whether non-existent headers
8097 <  # can be detected and how.
8098 <  cat >conftest.$ac_ext <<_ACEOF
8099 < /* confdefs.h.  */
8100 < _ACEOF
8101 < cat confdefs.h >>conftest.$ac_ext
8102 < cat >>conftest.$ac_ext <<_ACEOF
8103 < /* end confdefs.h.  */
8104 < #include <ac_nonexistent.h>
8105 < _ACEOF
8106 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8107 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8108 <  ac_status=$?
8109 <  grep -v '^ *+' conftest.er1 >conftest.err
8110 <  rm -f conftest.er1
8111 <  cat conftest.err >&5
8112 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 <  (exit $ac_status); } >/dev/null; then
8114 <  if test -s conftest.err; then
8115 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8116 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8117 <  else
8118 <    ac_cpp_err=
8119 <  fi
8120 < else
8121 <  ac_cpp_err=yes
8122 < fi
8123 < if test -z "$ac_cpp_err"; then
8124 <  # Broken: success on invalid input.
8125 < continue
8126 < else
8127 <  echo "$as_me: failed program was:" >&5
8128 < sed 's/^/| /' conftest.$ac_ext >&5
8129 <
8130 <  # Passes both tests.
8131 < ac_preproc_ok=:
8132 < break
8133 < fi
8134 < rm -f conftest.err conftest.$ac_ext
8135 <
8136 < done
8137 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8138 < rm -f conftest.err conftest.$ac_ext
8139 < if $ac_preproc_ok; then
8140 <  :
8141 < else
8142 <  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8143 < See \`config.log' for more details." >&5
8144 < echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8145 < See \`config.log' for more details." >&2;}
8146 <   { (exit 1); exit 1; }; }
8147 < fi
8148 <
8149 < ac_ext=cc
8150 < ac_cpp='$CXXCPP $CPPFLAGS'
8151 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8152 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8153 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8154 <
8155 <
8156 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
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
# Line 8351 | Line 10135 | echo "${ECHO_T}no" >&6
10135  
10136        CGAL_CXXFLAGS="-ftemplate-depth-50"
10137  
10138 <      echo "CGAL_USES_LEDA     $CGAL_USES_LEDA"
10139 <      echo "CGAL_USES_GMP      $CGAL_USES_GMP"
10140 <      echo "CGAL_INCLDIR       $CGAL_INCLDIR"
10141 <      echo "CGAL_LIBDIR        $CGAL_LIBDIR"
10142 <      echo "CGAL_DEFINES       $CGAL_DEFINES"
10143 <      echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
10144 <      echo "CGAL_LIBS          $CGAL_LIBS"
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
# Line 8464 | Line 10255 | else
10255    fi
10256   else
10257     if test "x$cgal_makefile" != xno; then
10258 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
10259 < echo "$as_me: WARNING: *********************************************************" >&2;}
8469 <    { echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found.                      ***" >&5
8470 < echo "$as_me: WARNING: *** Warning: CGAL was not found.                      ***" >&2;}
8471 <    { echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&5
8472 < echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&2;}
8473 <    { echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled.                    ***" >&5
8474 < echo "$as_me: WARNING: *** CGAL support will be disabled.                    ***" >&2;}
8475 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8476 < echo "$as_me: WARNING: *********************************************************" >&2;}
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=
# Line 8696 | Line 10479 | esac
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"
10482 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10483  
10484  
10485   cat >confcache <<\_ACEOF
# Line 9230 | Line 11013 | do
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
# Line 9354 | Line 11138 | s,@LIBOBJS@,$LIBOBJS,;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
# Line 9366 | Line 11151 | s,@AR@,$AR,;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
# Line 9374 | Line 11161 | s,@CXXCPP@,$CXXCPP,;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
9377 s,@CXXCPP@,$CXXCPP,;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
# Line 9631 | Line 11417 | done
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