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

Comparing trunk/configure (file contents):
Revision 616 by gezelter, Tue Sep 20 22:03:35 2005 UTC vs.
Revision 768 by chuckv, Tue Nov 29 22:54:21 2005 UTC

# Line 312 | Line 312 | ac_includes_default="\
312   # include <unistd.h>
313   #endif"
314  
315 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG 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 993 | Line 993 | esac
993      else
994        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
995      fi
996 <    cd $ac_popdir
996 >    cd "$ac_popdir"
997    done
998   fi
999  
# Line 2328 | Line 2328 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2328    cat conftest.err >&5
2329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330    (exit $ac_status); } &&
2331 <         { ac_try='test -z "$ac_c_werror_flag"
2332 <                         || test ! -s conftest.err'
2331 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2332    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333    (eval $ac_try) 2>&5
2334    ac_status=$?
# Line 2387 | Line 2386 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386    cat conftest.err >&5
2387    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388    (exit $ac_status); } &&
2389 <         { ac_try='test -z "$ac_c_werror_flag"
2391 <                         || test ! -s conftest.err'
2389 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2390    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391    (eval $ac_try) 2>&5
2392    ac_status=$?
# Line 2504 | Line 2502 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502    cat conftest.err >&5
2503    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504    (exit $ac_status); } &&
2505 <         { ac_try='test -z "$ac_c_werror_flag"
2508 <                         || test ! -s conftest.err'
2505 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2506    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507    (eval $ac_try) 2>&5
2508    ac_status=$?
# Line 2559 | Line 2556 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556    cat conftest.err >&5
2557    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558    (exit $ac_status); } &&
2559 <         { ac_try='test -z "$ac_c_werror_flag"
2563 <                         || test ! -s conftest.err'
2559 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2560    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561    (eval $ac_try) 2>&5
2562    ac_status=$?
# Line 2605 | Line 2601 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601    cat conftest.err >&5
2602    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603    (exit $ac_status); } &&
2604 <         { ac_try='test -z "$ac_c_werror_flag"
2609 <                         || test ! -s conftest.err'
2604 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2605    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606    (eval $ac_try) 2>&5
2607    ac_status=$?
# Line 2650 | Line 2645 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2645    cat conftest.err >&5
2646    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647    (exit $ac_status); } &&
2648 <         { ac_try='test -z "$ac_c_werror_flag"
2654 <                         || test ! -s conftest.err'
2648 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2649    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650    (eval $ac_try) 2>&5
2651    ac_status=$?
# Line 2836 | Line 2830 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830    cat conftest.err >&5
2831    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832    (exit $ac_status); } &&
2833 <         { ac_try='test -z "$ac_cxx_werror_flag"
2840 <                         || test ! -s conftest.err'
2833 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2834    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835    (eval $ac_try) 2>&5
2836    ac_status=$?
# Line 2895 | Line 2888 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2888    cat conftest.err >&5
2889    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890    (exit $ac_status); } &&
2891 <         { ac_try='test -z "$ac_cxx_werror_flag"
2899 <                         || test ! -s conftest.err'
2891 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2892    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893    (eval $ac_try) 2>&5
2894    ac_status=$?
# Line 2967 | Line 2959 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959    cat conftest.err >&5
2960    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961    (exit $ac_status); } &&
2962 <         { ac_try='test -z "$ac_cxx_werror_flag"
2971 <                         || test ! -s conftest.err'
2962 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2963    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964    (eval $ac_try) 2>&5
2965    ac_status=$?
# Line 3012 | Line 3003 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3003    cat conftest.err >&5
3004    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005    (exit $ac_status); } &&
3006 <         { ac_try='test -z "$ac_cxx_werror_flag"
3016 <                         || test ! -s conftest.err'
3006 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3007    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008    (eval $ac_try) 2>&5
3009    ac_status=$?
# Line 3223 | Line 3213 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3213    cat conftest.err >&5
3214    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215    (exit $ac_status); } &&
3216 <         { ac_try='test -z "$ac_f90_werror_flag"
3227 <                         || test ! -s conftest.err'
3216 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3217    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218    (eval $ac_try) 2>&5
3219    ac_status=$?
# Line 3324 | Line 3313 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3313    cat conftest.err >&5
3314    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315    (exit $ac_status); } &&
3316 <         { ac_try='test -z "$ac_f90_werror_flag"
3328 <                         || test ! -s conftest.err'
3316 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3317    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318    (eval $ac_try) 2>&5
3319    ac_status=$?
# Line 3439 | Line 3427 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3427    cat conftest.err >&5
3428    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429    (exit $ac_status); } &&
3430 <         { ac_try='test -z "$ac_f90_werror_flag"
3443 <                         || test ! -s conftest.err'
3430 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3431    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432    (eval $ac_try) 2>&5
3433    ac_status=$?
# Line 3518 | Line 3505 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505    cat conftest.err >&5
3506    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507    (exit $ac_status); } &&
3508 <         { ac_try='test -z "$ac_f90_werror_flag"
3522 <                         || test ! -s conftest.err'
3508 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3509    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510    (eval $ac_try) 2>&5
3511    ac_status=$?
# Line 3555 | Line 3541 | F90FLAGS="$F90FLAGS $ac_verb"
3541   ac_save_F90FLAGS=$F90FLAGS
3542   F90FLAGS="$F90FLAGS $ac_verb"
3543  
3544 < (eval echo $as_me:3558: \"$ac_link\") >&5
3544 > (eval echo $as_me:3544: \"$ac_link\") >&5
3545   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3546   echo "$ac_f90_v_output" >&5
3547   F90FLAGS=$ac_save_F90FLAGS
# Line 3632 | Line 3618 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3618   ac_save_F90FLAGS=$F90FLAGS
3619   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3620  
3621 < (eval echo $as_me:3635: \"$ac_link\") >&5
3621 > (eval echo $as_me:3621: \"$ac_link\") >&5
3622   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3623   echo "$ac_f90_v_output" >&5
3624   F90FLAGS=$ac_save_F90FLAGS
# Line 3821 | Line 3807 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3807    cat conftest.err >&5
3808    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809    (exit $ac_status); } &&
3810 <         { ac_try='test -z "$ac_f90_werror_flag"
3825 <                         || test ! -s conftest.err'
3810 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3811    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812    (eval $ac_try) 2>&5
3813    ac_status=$?
# Line 3880 | Line 3865 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3865    cat conftest.err >&5
3866    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867    (exit $ac_status); } &&
3868 <         { ac_try='test -z "$ac_c_werror_flag"
3884 <                         || test ! -s conftest.err'
3868 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3869    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870    (eval $ac_try) 2>&5
3871    ac_status=$?
# Line 3951 | Line 3935 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3935    cat conftest.err >&5
3936    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937    (exit $ac_status); } &&
3938 <         { ac_try='test -z "$ac_c_werror_flag"
3955 <                         || test ! -s conftest.err'
3938 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3939    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940    (eval $ac_try) 2>&5
3941    ac_status=$?
# Line 4256 | Line 4239 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4239    cat conftest.err >&5
4240    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241    (exit $ac_status); } &&
4242 <         { ac_try='test -z "$ac_f90_werror_flag"
4260 <                         || test ! -s conftest.err'
4242 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
4243    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244    (eval $ac_try) 2>&5
4245    ac_status=$?
# Line 4464 | Line 4446 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4446   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4447  
4448  
4449 + ac_ext=cc
4450 + ac_cpp='$CXXCPP $CPPFLAGS'
4451 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4454 +
4455 +
4456 +
4457 + echo "$as_me:$LINENO: checking for asin in -lm" >&5
4458 + echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
4459 + if test "${ac_cv_lib_m_asin+set}" = set; then
4460 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4461 + else
4462 +  ac_check_lib_save_LIBS=$LIBS
4463 + LIBS="-lm  $LIBS"
4464 + cat >conftest.$ac_ext <<_ACEOF
4465 + /* confdefs.h.  */
4466 + _ACEOF
4467 + cat confdefs.h >>conftest.$ac_ext
4468 + cat >>conftest.$ac_ext <<_ACEOF
4469 + /* end confdefs.h.  */
4470 +
4471 + /* Override any gcc2 internal prototype to avoid an error.  */
4472 + #ifdef __cplusplus
4473 + extern "C"
4474 + #endif
4475 + /* We use char because int might match the return type of a gcc2
4476 +   builtin and then its argument prototype would still apply.  */
4477 + char asin ();
4478 + int
4479 + main ()
4480 + {
4481 + asin ();
4482 +  ;
4483 +  return 0;
4484 + }
4485 + _ACEOF
4486 + rm -f conftest.$ac_objext conftest$ac_exeext
4487 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4488 +  (eval $ac_link) 2>conftest.er1
4489 +  ac_status=$?
4490 +  grep -v '^ *+' conftest.er1 >conftest.err
4491 +  rm -f conftest.er1
4492 +  cat conftest.err >&5
4493 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 +  (exit $ac_status); } &&
4495 +         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4496 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 +  (eval $ac_try) 2>&5
4498 +  ac_status=$?
4499 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 +  (exit $ac_status); }; } &&
4501 +         { ac_try='test -s conftest$ac_exeext'
4502 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 +  (eval $ac_try) 2>&5
4504 +  ac_status=$?
4505 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 +  (exit $ac_status); }; }; then
4507 +  ac_cv_lib_m_asin=yes
4508 + else
4509 +  echo "$as_me: failed program was:" >&5
4510 + sed 's/^/| /' conftest.$ac_ext >&5
4511 +
4512 + ac_cv_lib_m_asin=no
4513 + fi
4514 + rm -f conftest.err conftest.$ac_objext \
4515 +      conftest$ac_exeext conftest.$ac_ext
4516 + LIBS=$ac_check_lib_save_LIBS
4517 + fi
4518 + echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
4519 + echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
4520 + if test $ac_cv_lib_m_asin = yes; then
4521 +  cat >>confdefs.h <<_ACEOF
4522 + #define HAVE_LIBM 1
4523 + _ACEOF
4524 +
4525 +  LIBS="-lm $LIBS"
4526 +
4527 + else
4528 +  exit
4529 + fi
4530 +
4531 +
4532   ac_ext=c
4533   ac_cpp='$CPP $CPPFLAGS'
4534   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4753 | Line 4818 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4818    cat conftest.err >&5
4819    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820    (exit $ac_status); } &&
4821 <         { ac_try='test -z "$ac_c_werror_flag"
4757 <                         || test ! -s conftest.err'
4821 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4822    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823    (eval $ac_try) 2>&5
4824    ac_status=$?
# Line 4924 | Line 4988 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4988    cat conftest.err >&5
4989    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990    (exit $ac_status); } &&
4991 <         { ac_try='test -z "$ac_c_werror_flag"
4928 <                         || test ! -s conftest.err'
4991 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4992    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993    (eval $ac_try) 2>&5
4994    ac_status=$?
# Line 5044 | Line 5107 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5107    cat conftest.err >&5
5108    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109    (exit $ac_status); } &&
5110 <         { ac_try='test -z "$ac_c_werror_flag"
5048 <                         || test ! -s conftest.err'
5110 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5111    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112    (eval $ac_try) 2>&5
5113    ac_status=$?
# Line 5106 | Line 5168 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5168    cat conftest.err >&5
5169    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170    (exit $ac_status); } &&
5171 <         { ac_try='test -z "$ac_c_werror_flag"
5110 <                         || test ! -s conftest.err'
5171 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5172    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5173    (eval $ac_try) 2>&5
5174    ac_status=$?
# Line 5270 | Line 5331 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5331    cat conftest.err >&5
5332    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333    (exit $ac_status); } &&
5334 <         { ac_try='test -z "$ac_c_werror_flag"
5274 <                         || test ! -s conftest.err'
5334 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5335    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336    (eval $ac_try) 2>&5
5337    ac_status=$?
# Line 5332 | Line 5392 | fi
5392  
5393  
5394  
5395 + for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5396 + do
5397 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5398 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5399 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
5400 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5401 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5403 + fi
5404 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5405 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5406 + else
5407 +  # Is the header compilable?
5408 + echo "$as_me:$LINENO: checking $ac_header usability" >&5
5409 + echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5410 + cat >conftest.$ac_ext <<_ACEOF
5411 + /* confdefs.h.  */
5412 + _ACEOF
5413 + cat confdefs.h >>conftest.$ac_ext
5414 + cat >>conftest.$ac_ext <<_ACEOF
5415 + /* end confdefs.h.  */
5416 + $ac_includes_default
5417 + #include <$ac_header>
5418 + _ACEOF
5419 + rm -f conftest.$ac_objext
5420 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5421 +  (eval $ac_compile) 2>conftest.er1
5422 +  ac_status=$?
5423 +  grep -v '^ *+' conftest.er1 >conftest.err
5424 +  rm -f conftest.er1
5425 +  cat conftest.err >&5
5426 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 +  (exit $ac_status); } &&
5428 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5429 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5430 +  (eval $ac_try) 2>&5
5431 +  ac_status=$?
5432 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 +  (exit $ac_status); }; } &&
5434 +         { ac_try='test -s conftest.$ac_objext'
5435 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5436 +  (eval $ac_try) 2>&5
5437 +  ac_status=$?
5438 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 +  (exit $ac_status); }; }; then
5440 +  ac_header_compiler=yes
5441 + else
5442 +  echo "$as_me: failed program was:" >&5
5443 + sed 's/^/| /' conftest.$ac_ext >&5
5444  
5445 + ac_header_compiler=no
5446 + fi
5447 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5448 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5449 + echo "${ECHO_T}$ac_header_compiler" >&6
5450  
5451 + # Is the header present?
5452 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
5453 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5454 + cat >conftest.$ac_ext <<_ACEOF
5455 + /* confdefs.h.  */
5456 + _ACEOF
5457 + cat confdefs.h >>conftest.$ac_ext
5458 + cat >>conftest.$ac_ext <<_ACEOF
5459 + /* end confdefs.h.  */
5460 + #include <$ac_header>
5461 + _ACEOF
5462 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5463 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5464 +  ac_status=$?
5465 +  grep -v '^ *+' conftest.er1 >conftest.err
5466 +  rm -f conftest.er1
5467 +  cat conftest.err >&5
5468 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 +  (exit $ac_status); } >/dev/null; then
5470 +  if test -s conftest.err; then
5471 +    ac_cpp_err=$ac_c_preproc_warn_flag
5472 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5473 +  else
5474 +    ac_cpp_err=
5475 +  fi
5476 + else
5477 +  ac_cpp_err=yes
5478 + fi
5479 + if test -z "$ac_cpp_err"; then
5480 +  ac_header_preproc=yes
5481 + else
5482 +  echo "$as_me: failed program was:" >&5
5483 + sed 's/^/| /' conftest.$ac_ext >&5
5484  
5485 < 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
5485 >  ac_header_preproc=no
5486 > fi
5487 > rm -f conftest.err conftest.$ac_ext
5488 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5489 > echo "${ECHO_T}$ac_header_preproc" >&6
5490 >
5491 > # So?  What about this header?
5492 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5493 >  yes:no: )
5494 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5495 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5496 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5497 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5498 >    ac_header_preproc=yes
5499 >    ;;
5500 >  no:yes:* )
5501 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5502 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5503 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5504 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5505 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5506 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5507 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5508 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5509 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5510 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5511 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5512 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5513 >    (
5514 >      cat <<\_ASBOX
5515 > ## ------------------------------ ##
5516 > ## Report this to gezelter@nd.edu ##
5517 > ## ------------------------------ ##
5518 > _ASBOX
5519 >    ) |
5520 >      sed "s/^/$as_me: WARNING:     /" >&2
5521 >    ;;
5522 > esac
5523 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5524 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5525 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5526 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5527 > else
5528 >  eval "$as_ac_Header=\$ac_header_preproc"
5529 > fi
5530 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5531 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5532 >
5533 > fi
5534 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5535 >  cat >>confdefs.h <<_ACEOF
5536 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5537 > _ACEOF
5538 >
5539 > fi
5540 >
5541 > done
5542 >
5543 >
5544 >
5545 >
5546 >
5547 >
5548 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5549   do
5550   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5551   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 5368 | Line 5578 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5578    cat conftest.err >&5
5579    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580    (exit $ac_status); } &&
5581 <         { ac_try='test -z "$ac_c_werror_flag"
5582 <                         || test ! -s conftest.err'
5581 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5582 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 >  (eval $ac_try) 2>&5
5584 >  ac_status=$?
5585 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 >  (exit $ac_status); }; } &&
5587 >         { ac_try='test -s conftest.$ac_objext'
5588 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 >  (eval $ac_try) 2>&5
5590 >  ac_status=$?
5591 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 >  (exit $ac_status); }; }; then
5593 >  ac_header_compiler=yes
5594 > else
5595 >  echo "$as_me: failed program was:" >&5
5596 > sed 's/^/| /' conftest.$ac_ext >&5
5597 >
5598 > ac_header_compiler=no
5599 > fi
5600 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5601 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5602 > echo "${ECHO_T}$ac_header_compiler" >&6
5603 >
5604 > # Is the header present?
5605 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5606 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5607 > cat >conftest.$ac_ext <<_ACEOF
5608 > /* confdefs.h.  */
5609 > _ACEOF
5610 > cat confdefs.h >>conftest.$ac_ext
5611 > cat >>conftest.$ac_ext <<_ACEOF
5612 > /* end confdefs.h.  */
5613 > #include <$ac_header>
5614 > _ACEOF
5615 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5616 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5617 >  ac_status=$?
5618 >  grep -v '^ *+' conftest.er1 >conftest.err
5619 >  rm -f conftest.er1
5620 >  cat conftest.err >&5
5621 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 >  (exit $ac_status); } >/dev/null; then
5623 >  if test -s conftest.err; then
5624 >    ac_cpp_err=$ac_c_preproc_warn_flag
5625 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5626 >  else
5627 >    ac_cpp_err=
5628 >  fi
5629 > else
5630 >  ac_cpp_err=yes
5631 > fi
5632 > if test -z "$ac_cpp_err"; then
5633 >  ac_header_preproc=yes
5634 > else
5635 >  echo "$as_me: failed program was:" >&5
5636 > sed 's/^/| /' conftest.$ac_ext >&5
5637 >
5638 >  ac_header_preproc=no
5639 > fi
5640 > rm -f conftest.err conftest.$ac_ext
5641 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5642 > echo "${ECHO_T}$ac_header_preproc" >&6
5643 >
5644 > # So?  What about this header?
5645 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5646 >  yes:no: )
5647 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5648 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5649 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5650 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5651 >    ac_header_preproc=yes
5652 >    ;;
5653 >  no:yes:* )
5654 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5655 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5656 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5657 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5658 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5659 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5660 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5661 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5662 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5663 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5664 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5665 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5666 >    (
5667 >      cat <<\_ASBOX
5668 > ## ------------------------------ ##
5669 > ## Report this to gezelter@nd.edu ##
5670 > ## ------------------------------ ##
5671 > _ASBOX
5672 >    ) |
5673 >      sed "s/^/$as_me: WARNING:     /" >&2
5674 >    ;;
5675 > esac
5676 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5677 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5678 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5679 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5680 > else
5681 >  eval "$as_ac_Header=\$ac_header_preproc"
5682 > fi
5683 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5684 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5685 >
5686 > fi
5687 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5688 >  cat >>confdefs.h <<_ACEOF
5689 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5690 > _ACEOF
5691 >
5692 > fi
5693 >
5694 > done
5695 >
5696 > ac_ext=cc
5697 > ac_cpp='$CXXCPP $CPPFLAGS'
5698 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5701 >
5702 > ac_ext=cc
5703 > ac_cpp='$CXXCPP $CPPFLAGS'
5704 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5707 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5708 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5709 > if test -z "$CXXCPP"; then
5710 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5711 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5712 > else
5713 >      # Double quotes because CXXCPP needs to be expanded
5714 >    for CXXCPP in "$CXX -E" "/lib/cpp"
5715 >    do
5716 >      ac_preproc_ok=false
5717 > for ac_cxx_preproc_warn_flag in '' yes
5718 > do
5719 >  # Use a header file that comes with gcc, so configuring glibc
5720 >  # with a fresh cross-compiler works.
5721 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5722 >  # <limits.h> exists even on freestanding compilers.
5723 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5724 >  # not just through cpp. "Syntax error" is here to catch this case.
5725 >  cat >conftest.$ac_ext <<_ACEOF
5726 > /* confdefs.h.  */
5727 > _ACEOF
5728 > cat confdefs.h >>conftest.$ac_ext
5729 > cat >>conftest.$ac_ext <<_ACEOF
5730 > /* end confdefs.h.  */
5731 > #ifdef __STDC__
5732 > # include <limits.h>
5733 > #else
5734 > # include <assert.h>
5735 > #endif
5736 >                     Syntax error
5737 > _ACEOF
5738 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5739 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5740 >  ac_status=$?
5741 >  grep -v '^ *+' conftest.er1 >conftest.err
5742 >  rm -f conftest.er1
5743 >  cat conftest.err >&5
5744 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 >  (exit $ac_status); } >/dev/null; then
5746 >  if test -s conftest.err; then
5747 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5748 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5749 >  else
5750 >    ac_cpp_err=
5751 >  fi
5752 > else
5753 >  ac_cpp_err=yes
5754 > fi
5755 > if test -z "$ac_cpp_err"; then
5756 >  :
5757 > else
5758 >  echo "$as_me: failed program was:" >&5
5759 > sed 's/^/| /' conftest.$ac_ext >&5
5760 >
5761 >  # Broken: fails on valid input.
5762 > continue
5763 > fi
5764 > rm -f conftest.err conftest.$ac_ext
5765 >
5766 >  # OK, works on sane cases.  Now check whether non-existent headers
5767 >  # can be detected and how.
5768 >  cat >conftest.$ac_ext <<_ACEOF
5769 > /* confdefs.h.  */
5770 > _ACEOF
5771 > cat confdefs.h >>conftest.$ac_ext
5772 > cat >>conftest.$ac_ext <<_ACEOF
5773 > /* end confdefs.h.  */
5774 > #include <ac_nonexistent.h>
5775 > _ACEOF
5776 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5777 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5778 >  ac_status=$?
5779 >  grep -v '^ *+' conftest.er1 >conftest.err
5780 >  rm -f conftest.er1
5781 >  cat conftest.err >&5
5782 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 >  (exit $ac_status); } >/dev/null; then
5784 >  if test -s conftest.err; then
5785 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5786 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5787 >  else
5788 >    ac_cpp_err=
5789 >  fi
5790 > else
5791 >  ac_cpp_err=yes
5792 > fi
5793 > if test -z "$ac_cpp_err"; then
5794 >  # Broken: success on invalid input.
5795 > continue
5796 > else
5797 >  echo "$as_me: failed program was:" >&5
5798 > sed 's/^/| /' conftest.$ac_ext >&5
5799 >
5800 >  # Passes both tests.
5801 > ac_preproc_ok=:
5802 > break
5803 > fi
5804 > rm -f conftest.err conftest.$ac_ext
5805 >
5806 > done
5807 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5808 > rm -f conftest.err conftest.$ac_ext
5809 > if $ac_preproc_ok; then
5810 >  break
5811 > fi
5812 >
5813 >    done
5814 >    ac_cv_prog_CXXCPP=$CXXCPP
5815 >
5816 > fi
5817 >  CXXCPP=$ac_cv_prog_CXXCPP
5818 > else
5819 >  ac_cv_prog_CXXCPP=$CXXCPP
5820 > fi
5821 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5822 > echo "${ECHO_T}$CXXCPP" >&6
5823 > ac_preproc_ok=false
5824 > for ac_cxx_preproc_warn_flag in '' yes
5825 > do
5826 >  # Use a header file that comes with gcc, so configuring glibc
5827 >  # with a fresh cross-compiler works.
5828 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5829 >  # <limits.h> exists even on freestanding compilers.
5830 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5831 >  # not just through cpp. "Syntax error" is here to catch this case.
5832 >  cat >conftest.$ac_ext <<_ACEOF
5833 > /* confdefs.h.  */
5834 > _ACEOF
5835 > cat confdefs.h >>conftest.$ac_ext
5836 > cat >>conftest.$ac_ext <<_ACEOF
5837 > /* end confdefs.h.  */
5838 > #ifdef __STDC__
5839 > # include <limits.h>
5840 > #else
5841 > # include <assert.h>
5842 > #endif
5843 >                     Syntax error
5844 > _ACEOF
5845 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5846 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5847 >  ac_status=$?
5848 >  grep -v '^ *+' conftest.er1 >conftest.err
5849 >  rm -f conftest.er1
5850 >  cat conftest.err >&5
5851 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 >  (exit $ac_status); } >/dev/null; then
5853 >  if test -s conftest.err; then
5854 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5855 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5856 >  else
5857 >    ac_cpp_err=
5858 >  fi
5859 > else
5860 >  ac_cpp_err=yes
5861 > fi
5862 > if test -z "$ac_cpp_err"; then
5863 >  :
5864 > else
5865 >  echo "$as_me: failed program was:" >&5
5866 > sed 's/^/| /' conftest.$ac_ext >&5
5867 >
5868 >  # Broken: fails on valid input.
5869 > continue
5870 > fi
5871 > rm -f conftest.err conftest.$ac_ext
5872 >
5873 >  # OK, works on sane cases.  Now check whether non-existent headers
5874 >  # can be detected and how.
5875 >  cat >conftest.$ac_ext <<_ACEOF
5876 > /* confdefs.h.  */
5877 > _ACEOF
5878 > cat confdefs.h >>conftest.$ac_ext
5879 > cat >>conftest.$ac_ext <<_ACEOF
5880 > /* end confdefs.h.  */
5881 > #include <ac_nonexistent.h>
5882 > _ACEOF
5883 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5884 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5885 >  ac_status=$?
5886 >  grep -v '^ *+' conftest.er1 >conftest.err
5887 >  rm -f conftest.er1
5888 >  cat conftest.err >&5
5889 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 >  (exit $ac_status); } >/dev/null; then
5891 >  if test -s conftest.err; then
5892 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5893 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5894 >  else
5895 >    ac_cpp_err=
5896 >  fi
5897 > else
5898 >  ac_cpp_err=yes
5899 > fi
5900 > if test -z "$ac_cpp_err"; then
5901 >  # Broken: success on invalid input.
5902 > continue
5903 > else
5904 >  echo "$as_me: failed program was:" >&5
5905 > sed 's/^/| /' conftest.$ac_ext >&5
5906 >
5907 >  # Passes both tests.
5908 > ac_preproc_ok=:
5909 > break
5910 > fi
5911 > rm -f conftest.err conftest.$ac_ext
5912 >
5913 > done
5914 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5915 > rm -f conftest.err conftest.$ac_ext
5916 > if $ac_preproc_ok; then
5917 >  :
5918 > else
5919 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5920 > See \`config.log' for more details." >&5
5921 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5922 > See \`config.log' for more details." >&2;}
5923 >   { (exit 1); exit 1; }; }
5924 > fi
5925 >
5926 > ac_ext=cc
5927 > ac_cpp='$CXXCPP $CPPFLAGS'
5928 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5929 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5930 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5931 >
5932 >
5933 >
5934 >
5935 >
5936 >
5937 >
5938 > for ac_header in ctype.h iostream fstream sstream strstream
5939 > do
5940 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5941 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5943 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5944 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5945 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5946 > fi
5947 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5948 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5949 > else
5950 >  # Is the header compilable?
5951 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5952 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5953 > cat >conftest.$ac_ext <<_ACEOF
5954 > /* confdefs.h.  */
5955 > _ACEOF
5956 > cat confdefs.h >>conftest.$ac_ext
5957 > cat >>conftest.$ac_ext <<_ACEOF
5958 > /* end confdefs.h.  */
5959 > $ac_includes_default
5960 > #include <$ac_header>
5961 > _ACEOF
5962 > rm -f conftest.$ac_objext
5963 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964 >  (eval $ac_compile) 2>conftest.er1
5965 >  ac_status=$?
5966 >  grep -v '^ *+' conftest.er1 >conftest.err
5967 >  rm -f conftest.er1
5968 >  cat conftest.err >&5
5969 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 >  (exit $ac_status); } &&
5971 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5972 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973 >  (eval $ac_try) 2>&5
5974 >  ac_status=$?
5975 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 >  (exit $ac_status); }; } &&
5977 >         { ac_try='test -s conftest.$ac_objext'
5978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979 >  (eval $ac_try) 2>&5
5980 >  ac_status=$?
5981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 >  (exit $ac_status); }; }; then
5983 >  ac_header_compiler=yes
5984 > else
5985 >  echo "$as_me: failed program was:" >&5
5986 > sed 's/^/| /' conftest.$ac_ext >&5
5987 >
5988 > ac_header_compiler=no
5989 > fi
5990 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5991 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5992 > echo "${ECHO_T}$ac_header_compiler" >&6
5993 >
5994 > # Is the header present?
5995 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5996 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5997 > cat >conftest.$ac_ext <<_ACEOF
5998 > /* confdefs.h.  */
5999 > _ACEOF
6000 > cat confdefs.h >>conftest.$ac_ext
6001 > cat >>conftest.$ac_ext <<_ACEOF
6002 > /* end confdefs.h.  */
6003 > #include <$ac_header>
6004 > _ACEOF
6005 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6006 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6007 >  ac_status=$?
6008 >  grep -v '^ *+' conftest.er1 >conftest.err
6009 >  rm -f conftest.er1
6010 >  cat conftest.err >&5
6011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 >  (exit $ac_status); } >/dev/null; then
6013 >  if test -s conftest.err; then
6014 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6015 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6016 >  else
6017 >    ac_cpp_err=
6018 >  fi
6019 > else
6020 >  ac_cpp_err=yes
6021 > fi
6022 > if test -z "$ac_cpp_err"; then
6023 >  ac_header_preproc=yes
6024 > else
6025 >  echo "$as_me: failed program was:" >&5
6026 > sed 's/^/| /' conftest.$ac_ext >&5
6027 >
6028 >  ac_header_preproc=no
6029 > fi
6030 > rm -f conftest.err conftest.$ac_ext
6031 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6032 > echo "${ECHO_T}$ac_header_preproc" >&6
6033 >
6034 > # So?  What about this header?
6035 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6036 >  yes:no: )
6037 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6038 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6039 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6040 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6041 >    ac_header_preproc=yes
6042 >    ;;
6043 >  no:yes:* )
6044 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6045 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6046 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6047 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6048 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6049 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6050 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6051 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6052 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6053 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6054 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6055 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6056 >    (
6057 >      cat <<\_ASBOX
6058 > ## ------------------------------ ##
6059 > ## Report this to gezelter@nd.edu ##
6060 > ## ------------------------------ ##
6061 > _ASBOX
6062 >    ) |
6063 >      sed "s/^/$as_me: WARNING:     /" >&2
6064 >    ;;
6065 > esac
6066 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6067 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6068 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6069 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6070 > else
6071 >  eval "$as_ac_Header=\$ac_header_preproc"
6072 > fi
6073 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6074 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6075 >
6076 > fi
6077 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6078 >  cat >>confdefs.h <<_ACEOF
6079 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6080 > _ACEOF
6081 >
6082 > fi
6083 >
6084 > done
6085 >
6086 > ac_ext=c
6087 > ac_cpp='$CPP $CPPFLAGS'
6088 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6089 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6090 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6091 >
6092 >
6093 >
6094 >
6095 > for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h
6096 > do
6097 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6098 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6099 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6100 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6101 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6102 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6103 > fi
6104 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6105 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6106 > else
6107 >  # Is the header compilable?
6108 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6109 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6110 > cat >conftest.$ac_ext <<_ACEOF
6111 > /* confdefs.h.  */
6112 > _ACEOF
6113 > cat confdefs.h >>conftest.$ac_ext
6114 > cat >>conftest.$ac_ext <<_ACEOF
6115 > /* end confdefs.h.  */
6116 > $ac_includes_default
6117 > #include <$ac_header>
6118 > _ACEOF
6119 > rm -f conftest.$ac_objext
6120 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6121 >  (eval $ac_compile) 2>conftest.er1
6122 >  ac_status=$?
6123 >  grep -v '^ *+' conftest.er1 >conftest.err
6124 >  rm -f conftest.er1
6125 >  cat conftest.err >&5
6126 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 >  (exit $ac_status); } &&
6128 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6129    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130    (eval $ac_try) 2>&5
6131    ac_status=$?
# Line 5488 | Line 6244 | done
6244  
6245  
6246  
6247 + for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h
6248 + do
6249 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6250 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 + fi
6256 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6257 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6258 + else
6259 +  # Is the header compilable?
6260 + echo "$as_me:$LINENO: checking $ac_header usability" >&5
6261 + echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6262 + cat >conftest.$ac_ext <<_ACEOF
6263 + /* confdefs.h.  */
6264 + _ACEOF
6265 + cat confdefs.h >>conftest.$ac_ext
6266 + cat >>conftest.$ac_ext <<_ACEOF
6267 + /* end confdefs.h.  */
6268 + $ac_includes_default
6269 + #include <$ac_header>
6270 + _ACEOF
6271 + rm -f conftest.$ac_objext
6272 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6273 +  (eval $ac_compile) 2>conftest.er1
6274 +  ac_status=$?
6275 +  grep -v '^ *+' conftest.er1 >conftest.err
6276 +  rm -f conftest.er1
6277 +  cat conftest.err >&5
6278 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 +  (exit $ac_status); } &&
6280 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6281 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6282 +  (eval $ac_try) 2>&5
6283 +  ac_status=$?
6284 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 +  (exit $ac_status); }; } &&
6286 +         { ac_try='test -s conftest.$ac_objext'
6287 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 +  (eval $ac_try) 2>&5
6289 +  ac_status=$?
6290 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 +  (exit $ac_status); }; }; then
6292 +  ac_header_compiler=yes
6293 + else
6294 +  echo "$as_me: failed program was:" >&5
6295 + sed 's/^/| /' conftest.$ac_ext >&5
6296  
6297 + ac_header_compiler=no
6298 + fi
6299 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6300 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6301 + echo "${ECHO_T}$ac_header_compiler" >&6
6302 +
6303 + # Is the header present?
6304 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
6305 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6306 + cat >conftest.$ac_ext <<_ACEOF
6307 + /* confdefs.h.  */
6308 + _ACEOF
6309 + cat confdefs.h >>conftest.$ac_ext
6310 + cat >>conftest.$ac_ext <<_ACEOF
6311 + /* end confdefs.h.  */
6312 + #include <$ac_header>
6313 + _ACEOF
6314 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6315 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6316 +  ac_status=$?
6317 +  grep -v '^ *+' conftest.er1 >conftest.err
6318 +  rm -f conftest.er1
6319 +  cat conftest.err >&5
6320 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 +  (exit $ac_status); } >/dev/null; then
6322 +  if test -s conftest.err; then
6323 +    ac_cpp_err=$ac_c_preproc_warn_flag
6324 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6325 +  else
6326 +    ac_cpp_err=
6327 +  fi
6328 + else
6329 +  ac_cpp_err=yes
6330 + fi
6331 + if test -z "$ac_cpp_err"; then
6332 +  ac_header_preproc=yes
6333 + else
6334 +  echo "$as_me: failed program was:" >&5
6335 + sed 's/^/| /' conftest.$ac_ext >&5
6336 +
6337 +  ac_header_preproc=no
6338 + fi
6339 + rm -f conftest.err conftest.$ac_ext
6340 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6341 + echo "${ECHO_T}$ac_header_preproc" >&6
6342 +
6343 + # So?  What about this header?
6344 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6345 +  yes:no: )
6346 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6347 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6348 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6349 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6350 +    ac_header_preproc=yes
6351 +    ;;
6352 +  no:yes:* )
6353 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6354 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6355 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6356 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6357 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6358 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6359 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6360 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6361 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6362 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6363 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6364 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6365 +    (
6366 +      cat <<\_ASBOX
6367 + ## ------------------------------ ##
6368 + ## Report this to gezelter@nd.edu ##
6369 + ## ------------------------------ ##
6370 + _ASBOX
6371 +    ) |
6372 +      sed "s/^/$as_me: WARNING:     /" >&2
6373 +    ;;
6374 + esac
6375 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6376 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6377 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6378 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6379 + else
6380 +  eval "$as_ac_Header=\$ac_header_preproc"
6381 + fi
6382 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6383 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6384 +
6385 + fi
6386 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6387 +  cat >>confdefs.h <<_ACEOF
6388 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6389 + _ACEOF
6390 +
6391 + fi
6392 +
6393 + done
6394 +
6395 +
6396 + for ac_header in machine/hal_sysinfo.h
6397 + do
6398 + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6399 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6400 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
6401 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6402 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6403 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6404 + fi
6405 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6406 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6407 + else
6408 +  # Is the header compilable?
6409 + echo "$as_me:$LINENO: checking $ac_header usability" >&5
6410 + echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6411 + cat >conftest.$ac_ext <<_ACEOF
6412 + /* confdefs.h.  */
6413 + _ACEOF
6414 + cat confdefs.h >>conftest.$ac_ext
6415 + cat >>conftest.$ac_ext <<_ACEOF
6416 + /* end confdefs.h.  */
6417 + $ac_includes_default
6418 + #include <$ac_header>
6419 + _ACEOF
6420 + rm -f conftest.$ac_objext
6421 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 +  (eval $ac_compile) 2>conftest.er1
6423 +  ac_status=$?
6424 +  grep -v '^ *+' conftest.er1 >conftest.err
6425 +  rm -f conftest.er1
6426 +  cat conftest.err >&5
6427 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 +  (exit $ac_status); } &&
6429 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6430 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 +  (eval $ac_try) 2>&5
6432 +  ac_status=$?
6433 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 +  (exit $ac_status); }; } &&
6435 +         { ac_try='test -s conftest.$ac_objext'
6436 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 +  (eval $ac_try) 2>&5
6438 +  ac_status=$?
6439 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 +  (exit $ac_status); }; }; then
6441 +  ac_header_compiler=yes
6442 + else
6443 +  echo "$as_me: failed program was:" >&5
6444 + sed 's/^/| /' conftest.$ac_ext >&5
6445 +
6446 + ac_header_compiler=no
6447 + fi
6448 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6449 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6450 + echo "${ECHO_T}$ac_header_compiler" >&6
6451 +
6452 + # Is the header present?
6453 + echo "$as_me:$LINENO: checking $ac_header presence" >&5
6454 + echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6455 + cat >conftest.$ac_ext <<_ACEOF
6456 + /* confdefs.h.  */
6457 + _ACEOF
6458 + cat confdefs.h >>conftest.$ac_ext
6459 + cat >>conftest.$ac_ext <<_ACEOF
6460 + /* end confdefs.h.  */
6461 + #include <$ac_header>
6462 + _ACEOF
6463 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6464 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6465 +  ac_status=$?
6466 +  grep -v '^ *+' conftest.er1 >conftest.err
6467 +  rm -f conftest.er1
6468 +  cat conftest.err >&5
6469 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 +  (exit $ac_status); } >/dev/null; then
6471 +  if test -s conftest.err; then
6472 +    ac_cpp_err=$ac_c_preproc_warn_flag
6473 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6474 +  else
6475 +    ac_cpp_err=
6476 +  fi
6477 + else
6478 +  ac_cpp_err=yes
6479 + fi
6480 + if test -z "$ac_cpp_err"; then
6481 +  ac_header_preproc=yes
6482 + else
6483 +  echo "$as_me: failed program was:" >&5
6484 + sed 's/^/| /' conftest.$ac_ext >&5
6485 +
6486 +  ac_header_preproc=no
6487 + fi
6488 + rm -f conftest.err conftest.$ac_ext
6489 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6490 + echo "${ECHO_T}$ac_header_preproc" >&6
6491 +
6492 + # So?  What about this header?
6493 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6494 +  yes:no: )
6495 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6496 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6497 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6498 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6499 +    ac_header_preproc=yes
6500 +    ;;
6501 +  no:yes:* )
6502 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6503 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6504 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6505 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6506 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6507 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6508 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6509 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6510 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6511 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6512 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6513 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6514 +    (
6515 +      cat <<\_ASBOX
6516 + ## ------------------------------ ##
6517 + ## Report this to gezelter@nd.edu ##
6518 + ## ------------------------------ ##
6519 + _ASBOX
6520 +    ) |
6521 +      sed "s/^/$as_me: WARNING:     /" >&2
6522 +    ;;
6523 + esac
6524 + echo "$as_me:$LINENO: checking for $ac_header" >&5
6525 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6526 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
6527 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6528 + else
6529 +  eval "$as_ac_Header=\$ac_header_preproc"
6530 + fi
6531 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6532 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6533 +
6534 + fi
6535 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
6536 +  cat >>confdefs.h <<_ACEOF
6537 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6538 + _ACEOF
6539 +
6540 + fi
6541 +
6542 + done
6543 +
6544 +
6545 +
6546 +
6547 +
6548 + for ac_func in rint snprintf sranddev strncasecmp
6549 + do
6550 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6551 + echo "$as_me:$LINENO: checking for $ac_func" >&5
6552 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6553 + if eval "test \"\${$as_ac_var+set}\" = set"; then
6554 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6555 + else
6556 +  cat >conftest.$ac_ext <<_ACEOF
6557 + /* confdefs.h.  */
6558 + _ACEOF
6559 + cat confdefs.h >>conftest.$ac_ext
6560 + cat >>conftest.$ac_ext <<_ACEOF
6561 + /* end confdefs.h.  */
6562 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6563 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6564 + #define $ac_func innocuous_$ac_func
6565 +
6566 + /* System header to define __stub macros and hopefully few prototypes,
6567 +    which can conflict with char $ac_func (); below.
6568 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6569 +    <limits.h> exists even on freestanding compilers.  */
6570 +
6571 + #ifdef __STDC__
6572 + # include <limits.h>
6573 + #else
6574 + # include <assert.h>
6575 + #endif
6576 +
6577 + #undef $ac_func
6578 +
6579 + /* Override any gcc2 internal prototype to avoid an error.  */
6580 + #ifdef __cplusplus
6581 + extern "C"
6582 + {
6583 + #endif
6584 + /* We use char because int might match the return type of a gcc2
6585 +   builtin and then its argument prototype would still apply.  */
6586 + char $ac_func ();
6587 + /* The GNU C library defines this for functions which it implements
6588 +    to always fail with ENOSYS.  Some functions are actually named
6589 +    something starting with __ and the normal name is an alias.  */
6590 + #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6591 + choke me
6592 + #else
6593 + char (*f) () = $ac_func;
6594 + #endif
6595 + #ifdef __cplusplus
6596 + }
6597 + #endif
6598 +
6599 + int
6600 + main ()
6601 + {
6602 + return f != $ac_func;
6603 +  ;
6604 +  return 0;
6605 + }
6606 + _ACEOF
6607 + rm -f conftest.$ac_objext conftest$ac_exeext
6608 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6609 +  (eval $ac_link) 2>conftest.er1
6610 +  ac_status=$?
6611 +  grep -v '^ *+' conftest.er1 >conftest.err
6612 +  rm -f conftest.er1
6613 +  cat conftest.err >&5
6614 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 +  (exit $ac_status); } &&
6616 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6617 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 +  (eval $ac_try) 2>&5
6619 +  ac_status=$?
6620 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 +  (exit $ac_status); }; } &&
6622 +         { ac_try='test -s conftest$ac_exeext'
6623 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 +  (eval $ac_try) 2>&5
6625 +  ac_status=$?
6626 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 +  (exit $ac_status); }; }; then
6628 +  eval "$as_ac_var=yes"
6629 + else
6630 +  echo "$as_me: failed program was:" >&5
6631 + sed 's/^/| /' conftest.$ac_ext >&5
6632 +
6633 + eval "$as_ac_var=no"
6634 + fi
6635 + rm -f conftest.err conftest.$ac_objext \
6636 +      conftest$ac_exeext conftest.$ac_ext
6637 + fi
6638 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6639 + echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6640 + if test `eval echo '${'$as_ac_var'}'` = yes; then
6641 +  cat >>confdefs.h <<_ACEOF
6642 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6643 + _ACEOF
6644 +
6645 + fi
6646 + done
6647 +
6648 +
6649 +
6650 +
6651 +
6652 +
6653   for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
6654   do
6655   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
# Line 5557 | Line 6718 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6718    cat conftest.err >&5
6719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720    (exit $ac_status); } &&
6721 <         { ac_try='test -z "$ac_c_werror_flag"
5561 <                         || test ! -s conftest.err'
6721 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6722    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723    (eval $ac_try) 2>&5
6724    ac_status=$?
# Line 5618 | Line 6778 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6778    cat conftest.err >&5
6779    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780    (exit $ac_status); } &&
6781 <         { ac_try='test -z "$ac_c_werror_flag"
5622 <                         || test ! -s conftest.err'
6781 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6782    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783    (eval $ac_try) 2>&5
6784    ac_status=$?
# Line 5644 | Line 6803 | echo "${ECHO_T}no" >&6
6803  
6804   echo "$as_me:$LINENO: result: no" >&5
6805   echo "${ECHO_T}no" >&6
6806 + fi
6807 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6808 + echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6809 + echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6810 + if test "${ac_cv_header_time+set}" = set; then
6811 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6812 + else
6813 +  cat >conftest.$ac_ext <<_ACEOF
6814 + /* confdefs.h.  */
6815 + _ACEOF
6816 + cat confdefs.h >>conftest.$ac_ext
6817 + cat >>conftest.$ac_ext <<_ACEOF
6818 + /* end confdefs.h.  */
6819 + #include <sys/types.h>
6820 + #include <sys/time.h>
6821 + #include <time.h>
6822 +
6823 + int
6824 + main ()
6825 + {
6826 + if ((struct tm *) 0)
6827 + return 0;
6828 +  ;
6829 +  return 0;
6830 + }
6831 + _ACEOF
6832 + rm -f conftest.$ac_objext
6833 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6834 +  (eval $ac_compile) 2>conftest.er1
6835 +  ac_status=$?
6836 +  grep -v '^ *+' conftest.er1 >conftest.err
6837 +  rm -f conftest.er1
6838 +  cat conftest.err >&5
6839 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 +  (exit $ac_status); } &&
6841 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
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); }; } &&
6847 +         { ac_try='test -s conftest.$ac_objext'
6848 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 +  (eval $ac_try) 2>&5
6850 +  ac_status=$?
6851 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 +  (exit $ac_status); }; }; then
6853 +  ac_cv_header_time=yes
6854 + else
6855 +  echo "$as_me: failed program was:" >&5
6856 + sed 's/^/| /' conftest.$ac_ext >&5
6857 +
6858 + ac_cv_header_time=no
6859 + fi
6860 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 + fi
6862 + echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6863 + echo "${ECHO_T}$ac_cv_header_time" >&6
6864 + if test $ac_cv_header_time = yes; then
6865 +
6866 + cat >>confdefs.h <<\_ACEOF
6867 + #define TIME_WITH_SYS_TIME 1
6868 + _ACEOF
6869 +
6870 + fi
6871 +
6872 +
6873 + echo "$as_me:$LINENO: checking for clock_t" >&5
6874 + echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
6875 + if test "${ac_cv_type_clock_t+set}" = set; then
6876 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6877 + else
6878 +  cat >conftest.$ac_ext <<_ACEOF
6879 + /* confdefs.h.  */
6880 + _ACEOF
6881 + cat confdefs.h >>conftest.$ac_ext
6882 + cat >>conftest.$ac_ext <<_ACEOF
6883 + /* end confdefs.h.  */
6884 + $ac_includes_default
6885 + int
6886 + main ()
6887 + {
6888 + if ((clock_t *) 0)
6889 +  return 0;
6890 + if (sizeof (clock_t))
6891 +  return 0;
6892 +  ;
6893 +  return 0;
6894 + }
6895 + _ACEOF
6896 + rm -f conftest.$ac_objext
6897 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 +  (eval $ac_compile) 2>conftest.er1
6899 +  ac_status=$?
6900 +  grep -v '^ *+' conftest.er1 >conftest.err
6901 +  rm -f conftest.er1
6902 +  cat conftest.err >&5
6903 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 +  (exit $ac_status); } &&
6905 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6906 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 +  (eval $ac_try) 2>&5
6908 +  ac_status=$?
6909 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 +  (exit $ac_status); }; } &&
6911 +         { ac_try='test -s conftest.$ac_objext'
6912 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 +  (eval $ac_try) 2>&5
6914 +  ac_status=$?
6915 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 +  (exit $ac_status); }; }; then
6917 +  ac_cv_type_clock_t=yes
6918 + else
6919 +  echo "$as_me: failed program was:" >&5
6920 + sed 's/^/| /' conftest.$ac_ext >&5
6921 +
6922 + ac_cv_type_clock_t=no
6923 + fi
6924 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6925 + fi
6926 + echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
6927 + echo "${ECHO_T}$ac_cv_type_clock_t" >&6
6928 + if test $ac_cv_type_clock_t = yes; then
6929 +
6930 + cat >>confdefs.h <<_ACEOF
6931 + #define HAVE_CLOCK_T 1
6932 + _ACEOF
6933 +
6934 +
6935 + fi
6936 +
6937 + echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6938 + echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6939 + if test "${ac_cv_c_const+set}" = set; then
6940 +  echo $ECHO_N "(cached) $ECHO_C" >&6
6941 + else
6942 +  cat >conftest.$ac_ext <<_ACEOF
6943 + /* confdefs.h.  */
6944 + _ACEOF
6945 + cat confdefs.h >>conftest.$ac_ext
6946 + cat >>conftest.$ac_ext <<_ACEOF
6947 + /* end confdefs.h.  */
6948 +
6949 + int
6950 + main ()
6951 + {
6952 + /* FIXME: Include the comments suggested by Paul. */
6953 + #ifndef __cplusplus
6954 +  /* Ultrix mips cc rejects this.  */
6955 +  typedef int charset[2];
6956 +  const charset x;
6957 +  /* SunOS 4.1.1 cc rejects this.  */
6958 +  char const *const *ccp;
6959 +  char **p;
6960 +  /* NEC SVR4.0.2 mips cc rejects this.  */
6961 +  struct point {int x, y;};
6962 +  static struct point const zero = {0,0};
6963 +  /* AIX XL C 1.02.0.0 rejects this.
6964 +     It does not let you subtract one const X* pointer from another in
6965 +     an arm of an if-expression whose if-part is not a constant
6966 +     expression */
6967 +  const char *g = "string";
6968 +  ccp = &g + (g ? g-g : 0);
6969 +  /* HPUX 7.0 cc rejects these. */
6970 +  ++ccp;
6971 +  p = (char**) ccp;
6972 +  ccp = (char const *const *) p;
6973 +  { /* SCO 3.2v4 cc rejects this.  */
6974 +    char *t;
6975 +    char const *s = 0 ? (char *) 0 : (char const *) 0;
6976 +
6977 +    *t++ = 0;
6978 +  }
6979 +  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6980 +    int x[] = {25, 17};
6981 +    const int *foo = &x[0];
6982 +    ++foo;
6983 +  }
6984 +  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6985 +    typedef const int *iptr;
6986 +    iptr p = 0;
6987 +    ++p;
6988 +  }
6989 +  { /* AIX XL C 1.02.0.0 rejects this saying
6990 +       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6991 +    struct s { int j; const int *ap[3]; };
6992 +    struct s *b; b->j = 5;
6993 +  }
6994 +  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6995 +    const int foo = 10;
6996 +  }
6997 + #endif
6998 +
6999 +  ;
7000 +  return 0;
7001 + }
7002 + _ACEOF
7003 + rm -f conftest.$ac_objext
7004 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005 +  (eval $ac_compile) 2>conftest.er1
7006 +  ac_status=$?
7007 +  grep -v '^ *+' conftest.er1 >conftest.err
7008 +  rm -f conftest.er1
7009 +  cat conftest.err >&5
7010 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 +  (exit $ac_status); } &&
7012 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7013 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 +  (eval $ac_try) 2>&5
7015 +  ac_status=$?
7016 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 +  (exit $ac_status); }; } &&
7018 +         { ac_try='test -s conftest.$ac_objext'
7019 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 +  (eval $ac_try) 2>&5
7021 +  ac_status=$?
7022 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 +  (exit $ac_status); }; }; then
7024 +  ac_cv_c_const=yes
7025 + else
7026 +  echo "$as_me: failed program was:" >&5
7027 + sed 's/^/| /' conftest.$ac_ext >&5
7028 +
7029 + ac_cv_c_const=no
7030   fi
7031   rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7032 + fi
7033 + echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7034 + echo "${ECHO_T}$ac_cv_c_const" >&6
7035 + if test $ac_cv_c_const = no; then
7036 +
7037 + cat >>confdefs.h <<\_ACEOF
7038 + #define const
7039 + _ACEOF
7040 +
7041 + fi
7042 +
7043 + echo "$as_me:$LINENO: checking for inline" >&5
7044 + echo $ECHO_N "checking for inline... $ECHO_C" >&6
7045 + if test "${ac_cv_c_inline+set}" = set; then
7046 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7047 + else
7048 +  ac_cv_c_inline=no
7049 + for ac_kw in inline __inline__ __inline; do
7050 +  cat >conftest.$ac_ext <<_ACEOF
7051 + /* confdefs.h.  */
7052 + _ACEOF
7053 + cat confdefs.h >>conftest.$ac_ext
7054 + cat >>conftest.$ac_ext <<_ACEOF
7055 + /* end confdefs.h.  */
7056 + #ifndef __cplusplus
7057 + typedef int foo_t;
7058 + static $ac_kw foo_t static_foo () {return 0; }
7059 + $ac_kw foo_t foo () {return 0; }
7060 + #endif
7061 +
7062 + _ACEOF
7063 + rm -f conftest.$ac_objext
7064 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065 +  (eval $ac_compile) 2>conftest.er1
7066 +  ac_status=$?
7067 +  grep -v '^ *+' conftest.er1 >conftest.err
7068 +  rm -f conftest.er1
7069 +  cat conftest.err >&5
7070 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 +  (exit $ac_status); } &&
7072 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7073 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 +  (eval $ac_try) 2>&5
7075 +  ac_status=$?
7076 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 +  (exit $ac_status); }; } &&
7078 +         { ac_try='test -s conftest.$ac_objext'
7079 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 +  (eval $ac_try) 2>&5
7081 +  ac_status=$?
7082 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 +  (exit $ac_status); }; }; then
7084 +  ac_cv_c_inline=$ac_kw; break
7085 + else
7086 +  echo "$as_me: failed program was:" >&5
7087 + sed 's/^/| /' conftest.$ac_ext >&5
7088 +
7089 + fi
7090 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7091 + done
7092 +
7093 + fi
7094 + echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7095 + echo "${ECHO_T}$ac_cv_c_inline" >&6
7096 +
7097 +
7098 + case $ac_cv_c_inline in
7099 +  inline | yes) ;;
7100 +  *)
7101 +    case $ac_cv_c_inline in
7102 +      no) ac_val=;;
7103 +      *) ac_val=$ac_cv_c_inline;;
7104 +    esac
7105 +    cat >>confdefs.h <<_ACEOF
7106 + #ifndef __cplusplus
7107 + #define inline $ac_val
7108 + #endif
7109 + _ACEOF
7110 +    ;;
7111 + esac
7112 +
7113 +
7114 +
7115 +
7116 + for ac_func in rint sranddev
7117 + do
7118 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7119 + echo "$as_me:$LINENO: checking for $ac_func" >&5
7120 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7121 + if eval "test \"\${$as_ac_var+set}\" = set"; then
7122 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7123 + else
7124 +  cat >conftest.$ac_ext <<_ACEOF
7125 + /* confdefs.h.  */
7126 + _ACEOF
7127 + cat confdefs.h >>conftest.$ac_ext
7128 + cat >>conftest.$ac_ext <<_ACEOF
7129 + /* end confdefs.h.  */
7130 + /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7131 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7132 + #define $ac_func innocuous_$ac_func
7133 +
7134 + /* System header to define __stub macros and hopefully few prototypes,
7135 +    which can conflict with char $ac_func (); below.
7136 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7137 +    <limits.h> exists even on freestanding compilers.  */
7138 +
7139 + #ifdef __STDC__
7140 + # include <limits.h>
7141 + #else
7142 + # include <assert.h>
7143 + #endif
7144 +
7145 + #undef $ac_func
7146 +
7147 + /* Override any gcc2 internal prototype to avoid an error.  */
7148 + #ifdef __cplusplus
7149 + extern "C"
7150 + {
7151 + #endif
7152 + /* We use char because int might match the return type of a gcc2
7153 +   builtin and then its argument prototype would still apply.  */
7154 + char $ac_func ();
7155 + /* The GNU C library defines this for functions which it implements
7156 +    to always fail with ENOSYS.  Some functions are actually named
7157 +    something starting with __ and the normal name is an alias.  */
7158 + #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7159 + choke me
7160 + #else
7161 + char (*f) () = $ac_func;
7162 + #endif
7163 + #ifdef __cplusplus
7164 + }
7165 + #endif
7166 +
7167 + int
7168 + main ()
7169 + {
7170 + return f != $ac_func;
7171 +  ;
7172 +  return 0;
7173 + }
7174 + _ACEOF
7175 + rm -f conftest.$ac_objext conftest$ac_exeext
7176 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7177 +  (eval $ac_link) 2>conftest.er1
7178 +  ac_status=$?
7179 +  grep -v '^ *+' conftest.er1 >conftest.err
7180 +  rm -f conftest.er1
7181 +  cat conftest.err >&5
7182 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 +  (exit $ac_status); } &&
7184 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7185 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 +  (eval $ac_try) 2>&5
7187 +  ac_status=$?
7188 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 +  (exit $ac_status); }; } &&
7190 +         { ac_try='test -s conftest$ac_exeext'
7191 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7192 +  (eval $ac_try) 2>&5
7193 +  ac_status=$?
7194 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 +  (exit $ac_status); }; }; then
7196 +  eval "$as_ac_var=yes"
7197 + else
7198 +  echo "$as_me: failed program was:" >&5
7199 + sed 's/^/| /' conftest.$ac_ext >&5
7200 +
7201 + eval "$as_ac_var=no"
7202 + fi
7203 + rm -f conftest.err conftest.$ac_objext \
7204 +      conftest$ac_exeext conftest.$ac_ext
7205 + fi
7206 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7207 + echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7208 + if test `eval echo '${'$as_ac_var'}'` = yes; then
7209 +  cat >>confdefs.h <<_ACEOF
7210 + #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7211 + _ACEOF
7212  
7213 + fi
7214 + done
7215 +
7216 +
7217    # clean out junk possibly left behind by a previous configuration
7218    rm -f src/getopt.h
7219    # Check for getopt_long support
# Line 5684 | Line 7251 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7251    cat conftest.err >&5
7252    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253    (exit $ac_status); } &&
7254 <         { ac_try='test -z "$ac_c_werror_flag"
5688 <                         || test ! -s conftest.err'
7254 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7255    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256    (eval $ac_try) 2>&5
7257    ac_status=$?
# Line 5869 | Line 7435 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435    cat conftest.err >&5
7436    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437    (exit $ac_status); } &&
7438 <         { ac_try='test -z "$ac_c_werror_flag"
5873 <                         || test ! -s conftest.err'
7438 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7439    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440    (eval $ac_try) 2>&5
7441    ac_status=$?
# Line 5939 | Line 7504 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7504    cat conftest.err >&5
7505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506    (exit $ac_status); } &&
7507 <         { ac_try='test -z "$ac_c_werror_flag"
5943 <                         || test ! -s conftest.err'
7507 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7508    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509    (eval $ac_try) 2>&5
7510    ac_status=$?
# Line 7346 | Line 8910 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8910    cat conftest.err >&5
8911    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912    (exit $ac_status); } &&
8913 <         { ac_try='test -z "$ac_c_werror_flag"
7350 <                         || test ! -s conftest.err'
8913 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8914    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915    (eval $ac_try) 2>&5
8916    ac_status=$?
# Line 7413 | Line 8976 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976    cat conftest.err >&5
8977    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978    (exit $ac_status); } &&
8979 <         { ac_try='test -z "$ac_c_werror_flag"
7417 <                         || test ! -s conftest.err'
8979 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8980    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981    (eval $ac_try) 2>&5
8982    ac_status=$?
# Line 7503 | Line 9065 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9065    cat conftest.err >&5
9066    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067    (exit $ac_status); } &&
9068 <         { ac_try='test -z "$ac_c_werror_flag"
7507 <                         || test ! -s conftest.err'
9068 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9069    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070    (eval $ac_try) 2>&5
9071    ac_status=$?
# Line 7830 | Line 9391 | _ACEOF
9391   cat >>confdefs.h <<_ACEOF
9392   #define PSCOMMAND $PS
9393   _ACEOF
9394 +
9395 +
9396 + cat >>confdefs.h <<\_ACEOF
9397 + #define OBAPI
9398 + _ACEOF
9399 +
9400  
9401  
9402   if test "$ac_cv_prog_ps_syntax" = BSD; then
# Line 7982 | Line 9549 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9549    cat conftest.err >&5
9550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551    (exit $ac_status); } &&
9552 <         { ac_try='test -z "$ac_c_werror_flag"
7986 <                         || test ! -s conftest.err'
9552 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9553    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554    (eval $ac_try) 2>&5
9555    ac_status=$?
# Line 8052 | Line 9618 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9618    cat conftest.err >&5
9619    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620    (exit $ac_status); } &&
9621 <         { ac_try='test -z "$ac_c_werror_flag"
8056 <                         || test ! -s conftest.err'
9621 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9622    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623    (eval $ac_try) 2>&5
9624    ac_status=$?
# Line 8123 | Line 9688 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9688    cat conftest.err >&5
9689    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690    (exit $ac_status); } &&
9691 <         { ac_try='test -z "$ac_c_werror_flag"
8127 <                         || test ! -s conftest.err'
9691 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9692    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693    (eval $ac_try) 2>&5
9694    ac_status=$?
# Line 8194 | Line 9758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9758    cat conftest.err >&5
9759    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760    (exit $ac_status); } &&
9761 <         { ac_try='test -z "$ac_c_werror_flag"
8198 <                         || test ! -s conftest.err'
9761 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9762    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763    (eval $ac_try) 2>&5
9764    ac_status=$?
# Line 8266 | Line 9829 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9829    cat conftest.err >&5
9830    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831    (exit $ac_status); } &&
9832 <         { ac_try='test -z "$ac_c_werror_flag"
8270 <                         || test ! -s conftest.err'
9832 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9833    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834    (eval $ac_try) 2>&5
9835    ac_status=$?
# Line 8431 | Line 9993 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9993  
9994      save_CXXFLAGS="$CXXFLAGS"
9995      CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
9996 <
8435 < ac_ext=cc
8436 < ac_cpp='$CXXCPP $CPPFLAGS'
8437 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8440 < echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8441 < echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8442 < if test -z "$CXXCPP"; then
8443 <  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8444 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8445 < else
8446 <      # Double quotes because CXXCPP needs to be expanded
8447 <    for CXXCPP in "$CXX -E" "/lib/cpp"
8448 <    do
8449 <      ac_preproc_ok=false
8450 < for ac_cxx_preproc_warn_flag in '' yes
8451 < do
8452 <  # Use a header file that comes with gcc, so configuring glibc
8453 <  # with a fresh cross-compiler works.
8454 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8455 <  # <limits.h> exists even on freestanding compilers.
8456 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8457 <  # not just through cpp. "Syntax error" is here to catch this case.
8458 <  cat >conftest.$ac_ext <<_ACEOF
8459 < /* confdefs.h.  */
8460 < _ACEOF
8461 < cat confdefs.h >>conftest.$ac_ext
8462 < cat >>conftest.$ac_ext <<_ACEOF
8463 < /* end confdefs.h.  */
8464 < #ifdef __STDC__
8465 < # include <limits.h>
8466 < #else
8467 < # include <assert.h>
8468 < #endif
8469 <                     Syntax error
8470 < _ACEOF
8471 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8472 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8473 <  ac_status=$?
8474 <  grep -v '^ *+' conftest.er1 >conftest.err
8475 <  rm -f conftest.er1
8476 <  cat conftest.err >&5
8477 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 <  (exit $ac_status); } >/dev/null; then
8479 <  if test -s conftest.err; then
8480 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8481 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8482 <  else
8483 <    ac_cpp_err=
8484 <  fi
8485 < else
8486 <  ac_cpp_err=yes
8487 < fi
8488 < if test -z "$ac_cpp_err"; then
8489 <  :
8490 < else
8491 <  echo "$as_me: failed program was:" >&5
8492 < sed 's/^/| /' conftest.$ac_ext >&5
8493 <
8494 <  # Broken: fails on valid input.
8495 < continue
8496 < fi
8497 < rm -f conftest.err conftest.$ac_ext
8498 <
8499 <  # OK, works on sane cases.  Now check whether non-existent headers
8500 <  # can be detected and how.
8501 <  cat >conftest.$ac_ext <<_ACEOF
8502 < /* confdefs.h.  */
8503 < _ACEOF
8504 < cat confdefs.h >>conftest.$ac_ext
8505 < cat >>conftest.$ac_ext <<_ACEOF
8506 < /* end confdefs.h.  */
8507 < #include <ac_nonexistent.h>
8508 < _ACEOF
8509 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8510 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8511 <  ac_status=$?
8512 <  grep -v '^ *+' conftest.er1 >conftest.err
8513 <  rm -f conftest.er1
8514 <  cat conftest.err >&5
8515 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 <  (exit $ac_status); } >/dev/null; then
8517 <  if test -s conftest.err; then
8518 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8519 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8520 <  else
8521 <    ac_cpp_err=
8522 <  fi
8523 < else
8524 <  ac_cpp_err=yes
8525 < fi
8526 < if test -z "$ac_cpp_err"; then
8527 <  # Broken: success on invalid input.
8528 < continue
8529 < else
8530 <  echo "$as_me: failed program was:" >&5
8531 < sed 's/^/| /' conftest.$ac_ext >&5
8532 <
8533 <  # Passes both tests.
8534 < ac_preproc_ok=:
8535 < break
8536 < fi
8537 < rm -f conftest.err conftest.$ac_ext
8538 <
8539 < done
8540 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8541 < rm -f conftest.err conftest.$ac_ext
8542 < if $ac_preproc_ok; then
8543 <  break
8544 < fi
8545 <
8546 <    done
8547 <    ac_cv_prog_CXXCPP=$CXXCPP
8548 <
8549 < fi
8550 <  CXXCPP=$ac_cv_prog_CXXCPP
8551 < else
8552 <  ac_cv_prog_CXXCPP=$CXXCPP
8553 < fi
8554 < echo "$as_me:$LINENO: result: $CXXCPP" >&5
8555 < echo "${ECHO_T}$CXXCPP" >&6
8556 < ac_preproc_ok=false
8557 < for ac_cxx_preproc_warn_flag in '' yes
8558 < do
8559 <  # Use a header file that comes with gcc, so configuring glibc
8560 <  # with a fresh cross-compiler works.
8561 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8562 <  # <limits.h> exists even on freestanding compilers.
8563 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8564 <  # not just through cpp. "Syntax error" is here to catch this case.
8565 <  cat >conftest.$ac_ext <<_ACEOF
8566 < /* confdefs.h.  */
8567 < _ACEOF
8568 < cat confdefs.h >>conftest.$ac_ext
8569 < cat >>conftest.$ac_ext <<_ACEOF
8570 < /* end confdefs.h.  */
8571 < #ifdef __STDC__
8572 < # include <limits.h>
8573 < #else
8574 < # include <assert.h>
8575 < #endif
8576 <                     Syntax error
8577 < _ACEOF
8578 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8579 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8580 <  ac_status=$?
8581 <  grep -v '^ *+' conftest.er1 >conftest.err
8582 <  rm -f conftest.er1
8583 <  cat conftest.err >&5
8584 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 <  (exit $ac_status); } >/dev/null; then
8586 <  if test -s conftest.err; then
8587 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8588 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8589 <  else
8590 <    ac_cpp_err=
8591 <  fi
8592 < else
8593 <  ac_cpp_err=yes
8594 < fi
8595 < if test -z "$ac_cpp_err"; then
8596 <  :
8597 < else
8598 <  echo "$as_me: failed program was:" >&5
8599 < sed 's/^/| /' conftest.$ac_ext >&5
8600 <
8601 <  # Broken: fails on valid input.
8602 < continue
8603 < fi
8604 < rm -f conftest.err conftest.$ac_ext
8605 <
8606 <  # OK, works on sane cases.  Now check whether non-existent headers
8607 <  # can be detected and how.
8608 <  cat >conftest.$ac_ext <<_ACEOF
8609 < /* confdefs.h.  */
8610 < _ACEOF
8611 < cat confdefs.h >>conftest.$ac_ext
8612 < cat >>conftest.$ac_ext <<_ACEOF
8613 < /* end confdefs.h.  */
8614 < #include <ac_nonexistent.h>
8615 < _ACEOF
8616 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8617 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8618 <  ac_status=$?
8619 <  grep -v '^ *+' conftest.er1 >conftest.err
8620 <  rm -f conftest.er1
8621 <  cat conftest.err >&5
8622 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 <  (exit $ac_status); } >/dev/null; then
8624 <  if test -s conftest.err; then
8625 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8626 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8627 <  else
8628 <    ac_cpp_err=
8629 <  fi
8630 < else
8631 <  ac_cpp_err=yes
8632 < fi
8633 < if test -z "$ac_cpp_err"; then
8634 <  # Broken: success on invalid input.
8635 < continue
8636 < else
8637 <  echo "$as_me: failed program was:" >&5
8638 < sed 's/^/| /' conftest.$ac_ext >&5
8639 <
8640 <  # Passes both tests.
8641 < ac_preproc_ok=:
8642 < break
8643 < fi
8644 < rm -f conftest.err conftest.$ac_ext
8645 <
8646 < done
8647 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8648 < rm -f conftest.err conftest.$ac_ext
8649 < if $ac_preproc_ok; then
8650 <  :
8651 < else
8652 <  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8653 < See \`config.log' for more details." >&5
8654 < echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8655 < See \`config.log' for more details." >&2;}
8656 <   { (exit 1); exit 1; }; }
8657 < fi
8658 <
8659 < ac_ext=cc
8660 < ac_cpp='$CXXCPP $CPPFLAGS'
8661 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8662 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8663 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8664 <
8665 <
8666 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9996 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9997    echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
9998   echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
9999   if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
# Line 8693 | Line 10023 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10023    cat conftest.err >&5
10024    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025    (exit $ac_status); } &&
10026 <         { ac_try='test -z "$ac_cxx_werror_flag"
8697 <                         || test ! -s conftest.err'
10026 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10027    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028    (eval $ac_try) 2>&5
10029    ac_status=$?
# Line 8916 | Line 10245 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10245    cat conftest.err >&5
10246    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247    (exit $ac_status); } &&
10248 <         { ac_try='test -z "$ac_cxx_werror_flag"
8920 <                         || test ! -s conftest.err'
10248 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10249    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10250    (eval $ac_try) 2>&5
10251    ac_status=$?
# Line 9864 | Line 11192 | s,@EGREP@,$EGREP,;t t
11192   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11193   s,@CPP@,$CPP,;t t
11194   s,@EGREP@,$EGREP,;t t
11195 + s,@CXXCPP@,$CXXCPP,;t t
11196   s,@LIBOBJS@,$LIBOBJS,;t t
11197   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11198   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 9886 | Line 11215 | s,@USE_MPI@,$USE_MPI,;t t
11215   s,@MPI_LIB@,$MPI_LIB,;t t
11216   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11217   s,@USE_MPI@,$USE_MPI,;t t
9889 s,@CXXCPP@,$CXXCPP,;t t
11218   s,@USE_CGAL@,$USE_CGAL,;t t
11219   s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11220   s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
# Line 10073 | Line 11401 | esac
11401    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11402    esac
11403  
10076  if test x"$ac_file" != x-; then
10077    { echo "$as_me:$LINENO: creating $ac_file" >&5
10078 echo "$as_me: creating $ac_file" >&6;}
10079    rm -f "$ac_file"
10080  fi
11404    # Let's still pretend it is `configure' which instantiates (i.e., don't
11405    # use $as_me), people would be surprised to read:
11406    #    /* config.h.  Generated by config.status.  */
# Line 10116 | Line 11439 | echo "$as_me: error: cannot find input file: $f" >&2;}
11439           fi;;
11440        esac
11441      done` || { (exit 1); exit 1; }
11442 +
11443 +  if test x"$ac_file" != x-; then
11444 +    { echo "$as_me:$LINENO: creating $ac_file" >&5
11445 + echo "$as_me: creating $ac_file" >&6;}
11446 +    rm -f "$ac_file"
11447 +  fi
11448   _ACEOF
11449   cat >>$CONFIG_STATUS <<_ACEOF
11450    sed "$ac_vpsub

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines