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 493 by gezelter, Wed Apr 13 22:30:22 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 AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315 > ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP CXXCPP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316   ac_subst_files=''
317  
318   # Initialize some variables set by options.
# Line 879 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888    --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
# Line 988 | 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 1880 | Line 1885 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1885  
1886  
1887  
1888 + #
1889 + #
1890 + #
1891 +
1892  
1893  
1894  
# Line 2319 | 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"
2323 <                         || 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 2378 | 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"
2382 <                         || 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 2495 | 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"
2499 <                         || 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 2550 | 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"
2554 <                         || 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 2596 | 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"
2600 <                         || 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 2641 | 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"
2645 <                         || 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 2827 | 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"
2831 <                         || 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 2886 | 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"
2890 <                         || 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 2958 | 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"
2962 <                         || 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 3003 | 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"
3007 <                         || 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 3214 | 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"
3218 <                         || 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 3315 | 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"
3319 <                         || 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 3430 | 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"
3434 <                         || 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 3509 | 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"
3513 <                         || 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 3546 | Line 3541 | F90FLAGS="$F90FLAGS $ac_verb"
3541   ac_save_F90FLAGS=$F90FLAGS
3542   F90FLAGS="$F90FLAGS $ac_verb"
3543  
3544 < (eval echo $as_me:3549: \"$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 3623 | 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:3626: \"$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 3812 | 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"
3816 <                         || 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 3871 | 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"
3875 <                         || 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 3942 | 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"
3946 <                         || 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 4247 | 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"
4251 <                         || 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 4455 | 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 4744 | 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"
4748 <                         || 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 4915 | 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"
4919 <                         || 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 4949 | Line 5021 | done
5021   done
5022  
5023  
5024 + #
5025 + # Handle user hints
5026 + #
5027 + echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5028 + echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5029  
5030 + # Check whether --with-zlib or --without-zlib was given.
5031 + if test "${with_zlib+set}" = set; then
5032 +  withval="$with_zlib"
5033 +  if test "$withval" != no ; then
5034 +  echo "$as_me:$LINENO: result: yes" >&5
5035 + echo "${ECHO_T}yes" >&6
5036 +  if test -d "$withval"
5037 +  then
5038 +    ZLIB_HOME="$withval"
5039 +  else
5040 +    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5041 + echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5042 +  fi
5043 + else
5044 +  echo "$as_me:$LINENO: result: no" >&5
5045 + echo "${ECHO_T}no" >&6
5046 + fi
5047 + fi;
5048  
5049 + ZLIB_HOME=/usr/local
5050 + if test ! -f "${ZLIB_HOME}/include/zlib.h"
5051 + then
5052 +        ZLIB_HOME=/usr
5053 + fi
5054  
5055 + #
5056 + # Locate zlib, if wanted
5057 + #
5058 + if test -n "${ZLIB_HOME}"
5059 + then
5060 +        ZLIB_OLD_LDFLAGS=$LDFLAGS
5061 +        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5062 +        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5063 +        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5064  
5065  
5066 +        ac_ext=c
5067 + ac_cpp='$CPP $CPPFLAGS'
5068 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5071  
5072 +        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5073 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5074 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5075 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5076 + else
5077 +  ac_check_lib_save_LIBS=$LIBS
5078 + LIBS="-lz  $LIBS"
5079 + cat >conftest.$ac_ext <<_ACEOF
5080 + /* confdefs.h.  */
5081 + _ACEOF
5082 + cat confdefs.h >>conftest.$ac_ext
5083 + cat >>conftest.$ac_ext <<_ACEOF
5084 + /* end confdefs.h.  */
5085  
5086 + /* Override any gcc2 internal prototype to avoid an error.  */
5087 + #ifdef __cplusplus
5088 + extern "C"
5089 + #endif
5090 + /* We use char because int might match the return type of a gcc2
5091 +   builtin and then its argument prototype would still apply.  */
5092 + char inflateEnd ();
5093 + int
5094 + main ()
5095 + {
5096 + inflateEnd ();
5097 +  ;
5098 +  return 0;
5099 + }
5100 + _ACEOF
5101 + rm -f conftest.$ac_objext conftest$ac_exeext
5102 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5103 +  (eval $ac_link) 2>conftest.er1
5104 +  ac_status=$?
5105 +  grep -v '^ *+' conftest.er1 >conftest.err
5106 +  rm -f conftest.er1
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"                   || test ! -s conftest.err'
5111 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 +  (eval $ac_try) 2>&5
5113 +  ac_status=$?
5114 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 +  (exit $ac_status); }; } &&
5116 +         { ac_try='test -s conftest$ac_exeext'
5117 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 +  (eval $ac_try) 2>&5
5119 +  ac_status=$?
5120 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 +  (exit $ac_status); }; }; then
5122 +  ac_cv_lib_z_inflateEnd=yes
5123 + else
5124 +  echo "$as_me: failed program was:" >&5
5125 + sed 's/^/| /' conftest.$ac_ext >&5
5126  
5127 + ac_cv_lib_z_inflateEnd=no
5128 + fi
5129 + rm -f conftest.err conftest.$ac_objext \
5130 +      conftest$ac_exeext conftest.$ac_ext
5131 + LIBS=$ac_check_lib_save_LIBS
5132 + fi
5133 + echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5134 + echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5135 + if test $ac_cv_lib_z_inflateEnd = yes; then
5136 +  zlib_cv_libz=yes
5137 + else
5138 +  zlib_cv_libz=no
5139 + fi
5140  
5141 < 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
5142 < do
5143 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5144 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
4965 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
4966 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4967 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5141 >        if test "${ac_cv_header_zlib_h+set}" = set; then
5142 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
5143 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5144 > if test "${ac_cv_header_zlib_h+set}" = set; then
5145    echo $ECHO_N "(cached) $ECHO_C" >&6
5146   fi
5147 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5148 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5147 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5148 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5149   else
5150    # Is the header compilable?
5151 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
5152 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5151 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5152 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5153   cat >conftest.$ac_ext <<_ACEOF
5154   /* confdefs.h.  */
5155   _ACEOF
# Line 4980 | Line 5157 | $ac_includes_default
5157   cat >>conftest.$ac_ext <<_ACEOF
5158   /* end confdefs.h.  */
5159   $ac_includes_default
5160 < #include <$ac_header>
5160 > #include <zlib.h>
5161   _ACEOF
5162   rm -f conftest.$ac_objext
5163   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
# Line 4991 | 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"
4995 <                         || 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 5016 | Line 5192 | echo "${ECHO_T}$ac_header_compiler" >&6
5192   echo "${ECHO_T}$ac_header_compiler" >&6
5193  
5194   # Is the header present?
5195 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5196 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5195 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5196 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5197   cat >conftest.$ac_ext <<_ACEOF
5198   /* confdefs.h.  */
5199   _ACEOF
5200   cat confdefs.h >>conftest.$ac_ext
5201   cat >>conftest.$ac_ext <<_ACEOF
5202   /* end confdefs.h.  */
5203 < #include <$ac_header>
5203 > #include <zlib.h>
5204   _ACEOF
5205   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5206    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5058 | Line 5234 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
5234   # So?  What about this header?
5235   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5236    yes:no: )
5237 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5238 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5239 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5240 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5237 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5238 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5239 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5240 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5241      ac_header_preproc=yes
5242      ;;
5243    no:yes:* )
5244 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5245 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5246 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5247 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5248 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5249 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5250 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5251 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5252 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5253 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5254 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5255 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5244 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5245 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5246 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5247 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5248 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5249 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5250 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5251 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5252 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5253 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5254 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5255 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5256      (
5257        cat <<\_ASBOX
5258   ## ------------------------------ ##
# Line 5087 | Line 5263 | esac
5263        sed "s/^/$as_me: WARNING:     /" >&2
5264      ;;
5265   esac
5266 < echo "$as_me:$LINENO: checking for $ac_header" >&5
5267 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5268 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5266 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5267 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5268 > if test "${ac_cv_header_zlib_h+set}" = set; then
5269    echo $ECHO_N "(cached) $ECHO_C" >&6
5270   else
5271 <  eval "$as_ac_Header=\$ac_header_preproc"
5271 >  ac_cv_header_zlib_h=$ac_header_preproc
5272   fi
5273 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5274 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5273 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5274 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5275  
5276   fi
5277 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
5278 <  cat >>confdefs.h <<_ACEOF
5279 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5280 < _ACEOF
5105 <
5277 > if test $ac_cv_header_zlib_h = yes; then
5278 >  zlib_cv_zlib_h=yes
5279 > else
5280 >  zlib_cv_zlib_h=no
5281   fi
5282  
5108 done
5283  
5284 +        ac_ext=c
5285 + ac_cpp='$CPP $CPPFLAGS'
5286 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5289  
5290 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5291 +        then
5292 +                #
5293 +                # If both library and header were found, use them
5294 +                #
5295  
5296 <
5297 <
5298 <
5115 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5116 < do
5117 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5118 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5119 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5120 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5296 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5297 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5298 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5299    echo $ECHO_N "(cached) $ECHO_C" >&6
5300   else
5301 <  cat >conftest.$ac_ext <<_ACEOF
5301 >  ac_check_lib_save_LIBS=$LIBS
5302 > LIBS="-lz  $LIBS"
5303 > cat >conftest.$ac_ext <<_ACEOF
5304   /* confdefs.h.  */
5305   _ACEOF
5306   cat confdefs.h >>conftest.$ac_ext
5307   cat >>conftest.$ac_ext <<_ACEOF
5308   /* end confdefs.h.  */
5129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5130   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5131 #define $ac_func innocuous_$ac_func
5309  
5133 /* System header to define __stub macros and hopefully few prototypes,
5134    which can conflict with char $ac_func (); below.
5135    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5136    <limits.h> exists even on freestanding compilers.  */
5137
5138 #ifdef __STDC__
5139 # include <limits.h>
5140 #else
5141 # include <assert.h>
5142 #endif
5143
5144 #undef $ac_func
5145
5310   /* Override any gcc2 internal prototype to avoid an error.  */
5311   #ifdef __cplusplus
5312   extern "C"
5149 {
5313   #endif
5314   /* We use char because int might match the return type of a gcc2
5315     builtin and then its argument prototype would still apply.  */
5316 < char $ac_func ();
5154 < /* The GNU C library defines this for functions which it implements
5155 <    to always fail with ENOSYS.  Some functions are actually named
5156 <    something starting with __ and the normal name is an alias.  */
5157 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5158 < choke me
5159 < #else
5160 < char (*f) () = $ac_func;
5161 < #endif
5162 < #ifdef __cplusplus
5163 < }
5164 < #endif
5165 <
5316 > char inflateEnd ();
5317   int
5318   main ()
5319   {
5320 < return f != $ac_func;
5320 > inflateEnd ();
5321    ;
5322    return 0;
5323   }
# Line 5180 | 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"
5184 <                         || 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 5193 | Line 5343 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5343    ac_status=$?
5344    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345    (exit $ac_status); }; }; then
5346 <  eval "$as_ac_var=yes"
5346 >  ac_cv_lib_z_inflateEnd=yes
5347   else
5348    echo "$as_me: failed program was:" >&5
5349   sed 's/^/| /' conftest.$ac_ext >&5
5350  
5351 < eval "$as_ac_var=no"
5351 > ac_cv_lib_z_inflateEnd=no
5352   fi
5353   rm -f conftest.err conftest.$ac_objext \
5354        conftest$ac_exeext conftest.$ac_ext
5355 + LIBS=$ac_check_lib_save_LIBS
5356   fi
5357 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5358 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5359 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5357 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5358 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5359 > if test $ac_cv_lib_z_inflateEnd = yes; then
5360    cat >>confdefs.h <<_ACEOF
5361 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5361 > #define HAVE_LIBZ 1
5362   _ACEOF
5363  
5364 +  LIBS="-lz $LIBS"
5365 +
5366   fi
5214 done
5367  
5368 < # special check for _system_configuration because AIX <4.3.2 do not
5369 < # contain the `physmem' member.
5370 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5371 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5368 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5369 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5370 >                echo "$as_me:$LINENO: result: ok" >&5
5371 > echo "${ECHO_T}ok" >&6
5372 >        else
5373 >                #
5374 >                # If either header or library was not found, revert and bomb
5375 >                #
5376 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5377 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5378 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5379 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5380 >                echo "$as_me:$LINENO: result: failed" >&5
5381 > echo "${ECHO_T}failed" >&6
5382 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5383 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5384 >   { (exit 1); exit 1; }; }
5385 >        fi
5386 > fi
5387 >
5388 >
5389 >
5390 >
5391 >
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 < #include <sys/systemcfg.h>
5417 < int
5228 < main ()
5229 < {
5230 < double x = _system_configuration.physmem;
5231 <  ;
5232 <  return 0;
5233 < }
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
# Line 5241 | Line 5425 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
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"
5245 <                         || test ! -s conftest.err'
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=$?
# Line 5254 | Line 5437 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5437    ac_status=$?
5438    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439    (exit $ac_status); }; }; then
5440 <  echo "$as_me:$LINENO: result: yes" >&5
5258 < echo "${ECHO_T}yes" >&6
5259 <
5260 < cat >>confdefs.h <<\_ACEOF
5261 < #define HAVE__SYSTEM_CONFIGURATION 1
5262 < _ACEOF
5263 <
5440 >  ac_header_compiler=yes
5441   else
5442    echo "$as_me: failed program was:" >&5
5443   sed 's/^/| /' conftest.$ac_ext >&5
5444  
5445 < echo "$as_me:$LINENO: result: no" >&5
5269 < echo "${ECHO_T}no" >&6
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 <  # clean out junk possibly left behind by a previous configuration
5452 <  rm -f src/getopt.h
5453 <  # Check for getopt_long support
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 getopt.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 5307 | 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"
5311 <                         || 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=$?
# Line 5423 | Line 5693 | done
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 < for ac_func in getopt_long
5703 < do
5704 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5705 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5706 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5707 < if eval "test \"\${$as_ac_var+set}\" = set"; then
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.  */
5441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5442   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5443 #define $ac_func innocuous_$ac_func
5444
5445 /* System header to define __stub macros and hopefully few prototypes,
5446    which can conflict with char $ac_func (); below.
5447    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5448    <limits.h> exists even on freestanding compilers.  */
5449
5731   #ifdef __STDC__
5732   # include <limits.h>
5733   #else
5734   # include <assert.h>
5735   #endif
5736 <
5456 < #undef $ac_func
5457 <
5458 < /* Override any gcc2 internal prototype to avoid an error.  */
5459 < #ifdef __cplusplus
5460 < extern "C"
5461 < {
5462 < #endif
5463 < /* We use char because int might match the return type of a gcc2
5464 <   builtin and then its argument prototype would still apply.  */
5465 < char $ac_func ();
5466 < /* The GNU C library defines this for functions which it implements
5467 <    to always fail with ENOSYS.  Some functions are actually named
5468 <    something starting with __ and the normal name is an alias.  */
5469 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5470 < choke me
5471 < #else
5472 < char (*f) () = $ac_func;
5473 < #endif
5474 < #ifdef __cplusplus
5475 < }
5476 < #endif
5477 <
5478 < int
5479 < main ()
5480 < {
5481 < return f != $ac_func;
5482 <  ;
5483 <  return 0;
5484 < }
5736 >                     Syntax error
5737   _ACEOF
5738 < rm -f conftest.$ac_objext conftest$ac_exeext
5739 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5488 <  (eval $ac_link) 2>conftest.er1
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); } &&
5746 <         { ac_try='test -z "$ac_c_werror_flag"
5747 <                         || test ! -s conftest.err'
5748 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5749 <  (eval $ac_try) 2>&5
5750 <  ac_status=$?
5751 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 <  (exit $ac_status); }; } &&
5502 <         { ac_try='test -s conftest$ac_exeext'
5503 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 <  (eval $ac_try) 2>&5
5505 <  ac_status=$?
5506 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 <  (exit $ac_status); }; }; then
5508 <  eval "$as_ac_var=yes"
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 < eval "$as_ac_var=no"
5761 >  # Broken: fails on valid input.
5762 > continue
5763   fi
5764 < rm -f conftest.err conftest.$ac_objext \
5516 <      conftest$ac_exeext conftest.$ac_ext
5517 < fi
5518 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5519 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5520 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5521 <  cat >>confdefs.h <<_ACEOF
5522 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5523 < _ACEOF
5764 > rm -f conftest.err conftest.$ac_ext
5765  
5766 < else
5767 <  # FreeBSD has a gnugetopt library for this
5768 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5528 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5529 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5530 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5531 < else
5532 <  ac_check_lib_save_LIBS=$LIBS
5533 < LIBS="-lgnugetopt  $LIBS"
5534 < cat >conftest.$ac_ext <<_ACEOF
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 <
5541 < /* Override any gcc2 internal prototype to avoid an error.  */
5542 < #ifdef __cplusplus
5543 < extern "C"
5544 < #endif
5545 < /* We use char because int might match the return type of a gcc2
5546 <   builtin and then its argument prototype would still apply.  */
5547 < char getopt_long ();
5548 < int
5549 < main ()
5550 < {
5551 < getopt_long ();
5552 <  ;
5553 <  return 0;
5554 < }
5774 > #include <ac_nonexistent.h>
5775   _ACEOF
5776 < rm -f conftest.$ac_objext conftest$ac_exeext
5777 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5558 <  (eval $ac_link) 2>conftest.er1
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); } &&
5784 <         { ac_try='test -z "$ac_c_werror_flag"
5785 <                         || test ! -s conftest.err'
5786 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 <  (eval $ac_try) 2>&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); }; } &&
5853 <         { ac_try='test -s conftest$ac_exeext'
5854 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 <  (eval $ac_try) 2>&5
5856 <  ac_status=$?
5857 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 <  (exit $ac_status); }; }; then
5578 <  ac_cv_lib_gnugetopt_getopt_long=yes
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 < ac_cv_lib_gnugetopt_getopt_long=no
5868 >  # Broken: fails on valid input.
5869 > continue
5870   fi
5871 < rm -f conftest.err conftest.$ac_objext \
5586 <      conftest$ac_exeext conftest.$ac_ext
5587 < LIBS=$ac_check_lib_save_LIBS
5588 < fi
5589 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5590 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5591 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5592 <  cat >>confdefs.h <<\_ACEOF
5593 < #define HAVE_GETOPT_LONG 1
5594 < _ACEOF
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 <  # use the GNU replacement
5598 <      case $LIBOBJS in
5599 <    "getopt.$ac_objext"   | \
5600 <  *" getopt.$ac_objext"   | \
5601 <    "getopt.$ac_objext "* | \
5602 <  *" getopt.$ac_objext "* ) ;;
5603 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5604 < esac
5605 <
5606 <      case $LIBOBJS in
5607 <    "getopt1.$ac_objext"   | \
5608 <  *" getopt1.$ac_objext"   | \
5609 <    "getopt1.$ac_objext "* | \
5610 <  *" getopt1.$ac_objext "* ) ;;
5611 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5612 < esac
5613 <
5614 <                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5615 <
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  
5623 case $debug in
5624  1)
5625     ;;
5626  *)
5933  
5934  
5935  
5936  
5937  
5938 <
5939 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5940 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5941 < if test "${ac_cv_prog_really_gcc+set}" = set; then
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 <
5951 < cat > conftest.c <<EOF
5952 < #ifdef __GNUC__
5953 <  #ifndef __INTEL_COMPILER
5954 <     yes;
5955 <  #endif
5956 < #endif
5957 < EOF
5958 < if { ac_try='${CC-cc} -E conftest.c'
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); }; } | egrep yes >/dev/null 2>&1; then
5977 <  ac_cv_prog_really_gcc=yes
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 <  ac_cv_prog_really_gcc=no
5986 < fi
5985 >  echo "$as_me: failed program was:" >&5
5986 > sed 's/^/| /' conftest.$ac_ext >&5
5987  
5988 + ac_header_compiler=no
5989   fi
5990 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
5991 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5992 < if test "$ac_cv_prog_really_gcc" = yes; then
5661 <        :
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 <        :
5665 <
6020 >  ac_cpp_err=yes
6021   fi
6022 <
6023 <
6024 < # Try to determine "good" native compiler flags if none specified on command
6025 < # line
6026 < if test "$ac_test_CFLAGS" != "set"; then
6027 <  CFLAGS=""
6028 <  case "${host_cpu}-${host_os}" in
6029 <
6030 <  *linux*) if test "$CC" = icc; then
6031 <                    CFLAGS="-O"
6032 <                fi;;
6033 <  sparc-solaris2*) if test "$CC" = cc; then
6034 <                    CFLAGS="-native -fast -xO5 -dalign"
6035 <                 fi;;
6036 <
6037 <  alpha*-osf*)  if test "$CC" = cc; then
6038 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
6039 <                fi;;
6040 <
6041 <  hppa*-hpux*)  if test "$CC" = cc; then
6042 <                    CFLAGS="-Ae +O3 +Oall"
6043 <                fi;;
6044 <
6045 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
6046 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
6047 <                fi;;
6048 <   powerpc*-aix*)
6049 <        if test "$CC" = cc -o "$CC" = xlc; then
6050 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
6051 <                echo "*******************************************************"
6052 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6053 <                echo "*  recommended that you use                           *"
6054 <                echo "*                                                     *"
6055 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6056 <                echo "*                                 ^^^                 *"
6057 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6058 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6059 <                echo "*******************************************************"
6060 <        fi;;
6061 <   *darwin*)
6062 <        if test "$CC" = xlc -o "$CC" = cc; then
6063 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6064 <        fi;;
6065 <  esac
6066 <
6067 <  # use default flags for gcc on all systems
6068 <  if test $ac_cv_prog_really_gcc = yes; then
6069 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6070 <  fi
6071 <
6072 <  # test for gcc-specific flags:
6073 <  if test $ac_cv_prog_really_gcc = yes; then
6074 <    # -malign-double for x86 systems
6075 <
6076 <
6077 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
6078 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
6079 < if test "${ac_align_double+set}" = set; then
6080 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6081 < else
6082 <  echo 'void f(){}' > conftest.c
6083 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
6084 <        ac_align_double=yes
6085 < else
6086 <        ac_align_double=no
6087 < fi
6088 < rm -f conftest*
6089 <
6090 < fi
6091 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6092 < echo "${ECHO_T}$ac_align_double" >&6
6093 < if test "$ac_align_double" = yes; then
6094 <        :
6095 <        CFLAGS="$CFLAGS -malign-double"
6096 < else
6097 <        :
6098 <
6099 < fi
6100 <
6101 <    # -fstrict-aliasing for gcc-2.95+
6102 <
6103 <
6104 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
6105 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
6106 < if test "${ac_fstrict_aliasing+set}" = set; then
6107 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6108 < else
6109 <  echo 'void f(){}' > conftest.c
6110 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
6111 <        ac_fstrict_aliasing=yes
6112 < else
6113 <        ac_fstrict_aliasing=no
6114 < fi
6115 < rm -f conftest*
6116 <
6117 < fi
6118 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6119 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6120 < if test "$ac_fstrict_aliasing" = yes; then
6121 <        :
6122 <        CFLAGS="$CFLAGS -fstrict-aliasing"
6123 < else
6124 <        :
6125 <
6126 < fi
6127 <
6128 <  fi
6129 <
6130 <  CPU_FLAGS=""
6131 <  if test $ac_cv_prog_really_gcc = yes; then
6132 <                  case "${host_cpu}" in
6133 <          i586*)
6134 <
6135 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
6136 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
6137 < if test "${ac_cpu_pentium+set}" = set; then
6138 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6139 < else
6140 <  echo 'void f(){}' > conftest.c
6141 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
6142 <        ac_cpu_pentium=yes
6143 < else
6144 <        ac_cpu_pentium=no
6145 < fi
6146 < rm -f conftest*
6147 <
6148 < fi
6149 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6150 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6151 < if test "$ac_cpu_pentium" = yes; then
6152 <        :
6153 <        CPU_FLAGS=-mcpu=pentium
6154 < else
6155 <        :
6156 <
6157 <
6158 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
6159 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
6160 < if test "${ac_pentium+set}" = set; then
6161 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6162 < else
6163 <  echo 'void f(){}' > conftest.c
6164 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
6165 <        ac_pentium=yes
6166 < else
6167 <        ac_pentium=no
6168 < fi
6169 < rm -f conftest*
6170 <
6171 < fi
6172 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6173 < echo "${ECHO_T}$ac_pentium" >&6
6174 < if test "$ac_pentium" = yes; then
6175 <        :
6176 <        CPU_FLAGS=-mpentium
6177 < else
6178 <        :
6179 <
6180 < fi
6181 <
6182 < fi
6183 <
6184 <                  ;;
6185 <          i686*)
6186 <
6187 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
6188 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6189 < if test "${ac_cpu_pentiumpro+set}" = set; then
6190 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6191 < else
6192 <  echo 'void f(){}' > conftest.c
6193 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
6194 <        ac_cpu_pentiumpro=yes
6195 < else
6196 <        ac_cpu_pentiumpro=no
6197 < fi
6198 < rm -f conftest*
6199 <
6200 < fi
6201 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6202 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6203 < if test "$ac_cpu_pentiumpro" = yes; then
6204 <        :
6205 <        CPU_FLAGS=-mcpu=pentiumpro
6206 < else
6207 <        :
6208 <
6209 <
6210 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
6211 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
6212 < if test "${ac_pentiumpro+set}" = set; then
6213 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6214 < else
6215 <  echo 'void f(){}' > conftest.c
6216 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
6217 <        ac_pentiumpro=yes
6218 < else
6219 <        ac_pentiumpro=no
6220 < fi
6221 < rm -f conftest*
6222 <
6223 < fi
6224 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6225 < echo "${ECHO_T}$ac_pentiumpro" >&6
6226 < if test "$ac_pentiumpro" = yes; then
6227 <        :
6228 <        CPU_FLAGS=-mpentiumpro
6229 < else
6230 <        :
6231 <
6232 < fi
6233 <
6234 < fi
6235 <
6236 <                  ;;
6237 <          powerpc*)
6238 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6239 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6240 <                if test -n "$is60x"; then
6241 <
6242 <
6243 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
6244 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
6245 < if test "${ac_m_cpu_60x+set}" = set; then
6246 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6247 < else
6248 <  echo 'void f(){}' > conftest.c
6249 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
6250 <        ac_m_cpu_60x=yes
6251 < else
6252 <        ac_m_cpu_60x=no
6253 < fi
6254 < rm -f conftest*
6255 <
6256 < fi
6257 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6258 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6259 < if test "$ac_m_cpu_60x" = yes; then
6260 <        :
6261 <        CPU_FLAGS=-mcpu=$cputype
6262 < else
6263 <        :
6264 <
6265 < fi
6266 <
6267 <                elif test "$cputype" = 750; then
6268 <
6269 <
6270 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
6271 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
6272 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
6273 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6274 < else
6275 <
6276 < cat > conftest.c <<EOF
6277 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6278 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6279 <     yes;
6280 < #  endif
6281 < #endif
6282 < EOF
6283 < if { ac_try='${CC-cc} -E conftest.c'
6284 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6285 <  (eval $ac_try) 2>&5
6286 <  ac_status=$?
6287 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6289 <  ac_cv_prog_gcc_2_95=yes
6290 < else
6291 <  ac_cv_prog_gcc_2_95=no
6292 < fi
6293 <
6294 < fi
6295 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
6296 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
6297 < if test "$ac_cv_prog_gcc_2_95" = yes; then
6298 <        :
6299 <
6300 <
6301 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
6302 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
6303 < if test "${ac_m_cpu_750+set}" = set; then
6304 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6305 < else
6306 <  echo 'void f(){}' > conftest.c
6307 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
6308 <        ac_m_cpu_750=yes
6309 < else
6310 <        ac_m_cpu_750=no
6311 < fi
6312 < rm -f conftest*
6313 <
6314 < fi
6315 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6316 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6317 < if test "$ac_m_cpu_750" = yes; then
6318 <        :
6319 <        CPU_FLAGS=-mcpu=750
6320 < else
6321 <        :
6322 <
6323 < fi
6324 <
6325 < else
6326 <        :
6327 <
6328 < fi
6329 <
6330 <                fi
6331 <                if test -z "$CPU_FLAGS"; then
6332 <
6333 <
6334 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6335 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
6336 < if test "${ac_m_cpu_powerpc+set}" = set; then
6337 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6338 < else
6339 <  echo 'void f(){}' > conftest.c
6340 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
6341 <        ac_m_cpu_powerpc=yes
6342 < else
6343 <        ac_m_cpu_powerpc=no
6344 < fi
6345 < rm -f conftest*
6346 <
6347 < fi
6348 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6349 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6350 < if test "$ac_m_cpu_powerpc" = yes; then
6351 <        :
6352 <        CPU_FLAGS=-mcpu=powerpc
6353 < else
6354 <        :
6355 <
6356 < fi
6357 <
6358 <                fi
6359 <                if test -z "$CPU_FLAGS"; then
6360 <
6361 <
6362 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6363 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6364 < if test "${ac_m_powerpc+set}" = set; then
6365 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6366 < else
6367 <  echo 'void f(){}' > conftest.c
6368 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
6369 <        ac_m_powerpc=yes
6370 < else
6371 <        ac_m_powerpc=no
6372 < fi
6373 < rm -f conftest*
6374 <
6375 < fi
6376 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6377 < echo "${ECHO_T}$ac_m_powerpc" >&6
6378 < if test "$ac_m_powerpc" = yes; then
6379 <        :
6380 <        CPU_FLAGS=-mpowerpc
6381 < else
6382 <        :
6383 <
6384 < fi
6385 <
6386 <                fi
6387 <          esac
6388 <  fi
6389 <
6390 <  if test -n "$CPU_FLAGS"; then
6391 <        CFLAGS="$CFLAGS $CPU_FLAGS"
6392 <  fi
6393 <
6394 <  if test -z "$CFLAGS"; then
6395 <        echo ""
6396 <        echo "********************************************************"
6397 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
6398 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6399 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
6400 <        echo "********************************************************"
6401 <        echo ""
6402 <        CFLAGS="-O3"
6403 <  fi
6404 <
6405 <
6406 <
6407 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6408 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6409 < if test "${ac_guessed_cflags+set}" = set; then
6410 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6411 < else
6412 <  echo 'void f(){}' > conftest.c
6413 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
6414 <        ac_guessed_cflags=yes
6415 < else
6416 <        ac_guessed_cflags=no
6417 < fi
6418 < rm -f conftest*
6419 <
6420 < fi
6421 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6422 < echo "${ECHO_T}$ac_guessed_cflags" >&6
6423 < if test "$ac_guessed_cflags" = yes; then
6424 <        :
6425 <
6426 < else
6427 <        :
6428 <
6429 <        echo ""
6430 <        echo "********************************************************"
6431 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
6432 <        echo "* your compiler.                                       *"
6433 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6434 <        echo "********************************************************"
6435 <        echo ""
6436 <        CFLAGS=""
6437 <
6438 < fi
6439 <
6440 <
6441 < fi
6442 <
6443 <
6444 <
6445 <
6446 <
6447 <
6448 <
6449 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6450 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6451 < if test "${ac_cv_prog_really_gxx+set}" = set; then
6452 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6453 < else
6454 <
6455 < cat > conftest.cpp <<EOF
6456 < #ifdef __GNUC__
6457 <  #ifndef __INTEL_COMPILER
6458 <     yes;
6459 <  #endif
6460 < #endif
6461 < EOF
6462 < if { ac_try='${CXX-c++} -E conftest.cpp'
6463 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 <  (eval $ac_try) 2>&5
6465 <  ac_status=$?
6466 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6468 <  ac_cv_prog_really_gxx=yes
6469 < else
6470 <  ac_cv_prog_really_gxx=no
6471 < fi
6472 <
6473 < fi
6474 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6475 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6476 < if test "$ac_cv_prog_really_gxx" = yes; then
6477 <        :
6478 <
6479 < else
6480 <        :
6481 <
6482 < fi
6483 <
6484 <
6485 < # Try to determine "good" native compiler flags if none specified on command
6486 < # line
6487 < if test "$ac_test_CXXFLAGS" != "set"; then
6488 <  CXXFLAGS=""
6489 <  case "${host_cpu}-${host_os}" in
6490 <
6491 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
6492 <                    CXXFLAGS="-O"
6493 <                fi;;
6494 <  sparc-solaris2*) if test "$CXX" = CC; then
6495 <                    CXXFLAGS="-native -fast -xO5 -dalign"
6496 <                 fi;;
6497 <   rs6000*-aix*)  if test "$CXX" = xlC; then
6498 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6499 <                fi;;
6500 <   powerpc*-aix*)
6501 <        if test "$CXX" = xlC; then
6502 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
6503 <                echo "*******************************************************"
6504 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6505 <                echo "*  recommended that you use                           *"
6506 <                echo "*                                                     *"
6507 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6508 <                echo "*                                 ^^^                 *"
6509 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6510 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6511 <                echo "*******************************************************"
6512 <        fi;;
6513 <   *darwin*)
6514 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
6515 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6516 <        fi;;
6517 <  esac
6518 <
6519 <  # use default flags for gcc on all systems
6520 <  if test $ac_cv_prog_really_gxx = yes; then
6521 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6522 <  fi
6523 <
6524 <  # test for gcc-specific flags:
6525 <  if test $ac_cv_prog_really_gxx = yes; then
6526 <    # -malign-double for x86 systems
6527 <
6528 <
6529 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6530 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6531 < if test "${ac_align_double+set}" = set; then
6532 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6533 < else
6534 <  echo 'void f(){}' > conftest.cpp
6535 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
6536 <        ac_align_double=yes
6537 < else
6538 <        ac_align_double=no
6539 < fi
6540 < rm -f conftest*
6541 <
6542 < fi
6543 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6544 < echo "${ECHO_T}$ac_align_double" >&6
6545 < if test "$ac_align_double" = yes; then
6546 <        :
6547 <        CXXFLAGS="$CXXFLAGS -malign-double"
6548 < else
6549 <        :
6550 <
6551 < fi
6552 <
6553 <    # -fstrict-aliasing for gcc-2.95+
6554 <
6555 <
6556 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6557 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6558 < if test "${ac_fstrict_aliasing+set}" = set; then
6559 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6560 < else
6561 <  echo 'void f(){}' > conftest.cpp
6562 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
6563 <        ac_fstrict_aliasing=yes
6564 < else
6565 <        ac_fstrict_aliasing=no
6566 < fi
6567 < rm -f conftest*
6568 <
6569 < fi
6570 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6571 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6572 < if test "$ac_fstrict_aliasing" = yes; then
6573 <        :
6574 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
6575 < else
6576 <        :
6577 <
6578 < fi
6579 <
6580 <  fi
6581 <
6582 <  CPU_FLAGS=""
6583 <  if test $ac_cv_prog_really_gxx = yes; then
6584 <                  case "${host_cpu}" in
6585 <          i586*)
6586 <
6587 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6588 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6589 < if test "${ac_cpu_pentium+set}" = set; then
6590 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6591 < else
6592 <  echo 'void f(){}' > conftest.cpp
6593 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
6594 <        ac_cpu_pentium=yes
6595 < else
6596 <        ac_cpu_pentium=no
6597 < fi
6598 < rm -f conftest*
6599 <
6600 < fi
6601 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6602 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6603 < if test "$ac_cpu_pentium" = yes; then
6604 <        :
6605 <        CPU_FLAGS=-mcpu=pentium
6606 < else
6607 <        :
6608 <
6609 <
6610 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6611 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6612 < if test "${ac_pentium+set}" = set; then
6613 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6614 < else
6615 <  echo 'void f(){}' > conftest.cpp
6616 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
6617 <        ac_pentium=yes
6618 < else
6619 <        ac_pentium=no
6620 < fi
6621 < rm -f conftest*
6622 <
6623 < fi
6624 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6625 < echo "${ECHO_T}$ac_pentium" >&6
6626 < if test "$ac_pentium" = yes; then
6627 <        :
6628 <        CPU_FLAGS=-mpentium
6629 < else
6630 <        :
6631 <
6632 < fi
6633 <
6634 < fi
6635 <
6636 <                  ;;
6637 <          i686*)
6638 <
6639 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6640 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6641 < if test "${ac_cpu_pentiumpro+set}" = set; then
6642 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6643 < else
6644 <  echo 'void f(){}' > conftest.cpp
6645 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6646 <        ac_cpu_pentiumpro=yes
6647 < else
6648 <        ac_cpu_pentiumpro=no
6649 < fi
6650 < rm -f conftest*
6651 <
6652 < fi
6653 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6654 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6655 < if test "$ac_cpu_pentiumpro" = yes; then
6656 <        :
6657 <        CPU_FLAGS=-mcpu=pentiumpro
6658 < else
6659 <        :
6660 <
6661 <
6662 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6663 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6664 < if test "${ac_pentiumpro+set}" = set; then
6665 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6666 < else
6667 <  echo 'void f(){}' > conftest.cpp
6668 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6669 <        ac_pentiumpro=yes
6670 < else
6671 <        ac_pentiumpro=no
6672 < fi
6673 < rm -f conftest*
6674 <
6675 < fi
6676 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6677 < echo "${ECHO_T}$ac_pentiumpro" >&6
6678 < if test "$ac_pentiumpro" = yes; then
6679 <        :
6680 <        CPU_FLAGS=-mpentiumpro
6681 < else
6682 <        :
6683 <
6684 < fi
6685 <
6686 < fi
6687 <
6688 <                  ;;
6689 <          powerpc*)
6690 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6691 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6692 <                if test -n "$is60x"; then
6693 <
6694 <
6695 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6696 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6697 < if test "${ac_m_cpu_60x+set}" = set; then
6698 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6699 < else
6700 <  echo 'void f(){}' > conftest.cpp
6701 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6702 <        ac_m_cpu_60x=yes
6703 < else
6704 <        ac_m_cpu_60x=no
6705 < fi
6706 < rm -f conftest*
6707 <
6708 < fi
6709 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6710 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6711 < if test "$ac_m_cpu_60x" = yes; then
6712 <        :
6713 <        CPU_FLAGS=-mcpu=$cputype
6714 < else
6715 <        :
6716 <
6717 < fi
6718 <
6719 <                elif test "$cputype" = 750; then
6720 <
6721 <
6722 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6723 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6724 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6725 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6726 < else
6727 <
6728 < cat > conftest.cpp <<EOF
6729 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6730 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6731 <     yes;
6732 < #  endif
6733 < #endif
6734 < EOF
6735 < if { ac_try='${CXX-c++} -E conftest.cpp'
6736 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 <  (eval $ac_try) 2>&5
6738 <  ac_status=$?
6739 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6741 <  ac_cv_prog_gxx_2_95=yes
6742 < else
6743 <  ac_cv_prog_gxx_2_95=no
6744 < fi
6745 <
6746 < fi
6747 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6748 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6749 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6750 <        :
6751 <
6752 <
6753 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6754 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6755 < if test "${ac_m_cpu_750+set}" = set; then
6756 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6757 < else
6758 <  echo 'void f(){}' > conftest.cpp
6759 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
6760 <        ac_m_cpu_750=yes
6761 < else
6762 <        ac_m_cpu_750=no
6763 < fi
6764 < rm -f conftest*
6765 <
6766 < fi
6767 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6768 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6769 < if test "$ac_m_cpu_750" = yes; then
6770 <        :
6771 <        CPU_FLAGS=-mcpu=750
6772 < else
6773 <        :
6774 <
6775 < fi
6776 <
6777 < else
6778 <        :
6779 <
6780 < fi
6781 <
6782 <                fi
6783 <                if test -z "$CPU_FLAGS"; then
6784 <
6785 <
6786 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6787 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6788 < if test "${ac_m_cpu_powerpc+set}" = set; then
6789 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6790 < else
6791 <  echo 'void f(){}' > conftest.cpp
6792 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
6793 <        ac_m_cpu_powerpc=yes
6794 < else
6795 <        ac_m_cpu_powerpc=no
6796 < fi
6797 < rm -f conftest*
6798 <
6799 < fi
6800 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6801 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6802 < if test "$ac_m_cpu_powerpc" = yes; then
6803 <        :
6804 <        CPU_FLAGS=-mcpu=powerpc
6805 < else
6806 <        :
6807 <
6808 < fi
6809 <
6810 <                fi
6811 <                if test -z "$CPU_FLAGS"; then
6812 <
6813 <
6814 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6815 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6816 < if test "${ac_m_powerpc+set}" = set; then
6817 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6818 < else
6819 <  echo 'void f(){}' > conftest.cpp
6820 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
6821 <        ac_m_powerpc=yes
6822 < else
6823 <        ac_m_powerpc=no
6824 < fi
6825 < rm -f conftest*
6826 <
6827 < fi
6828 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6829 < echo "${ECHO_T}$ac_m_powerpc" >&6
6830 < if test "$ac_m_powerpc" = yes; then
6831 <        :
6832 <        CPU_FLAGS=-mpowerpc
6833 < else
6834 <        :
6835 <
6836 < fi
6837 <
6838 <                fi
6839 <          esac
6840 <  fi
6841 <
6842 <  if test -n "$CPU_FLAGS"; then
6843 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
6844 <  fi
6845 <
6846 <  if test -z "$CXXFLAGS"; then
6847 <        echo ""
6848 <        echo "**********************************************************"
6849 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
6850 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6851 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
6852 <        echo "**********************************************************"
6853 <        echo ""
6854 <        CXXFLAGS="-O3"
6855 <  fi
6856 <
6857 <
6858 <
6859 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6860 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6861 < if test "${ac_guessed_cxxflags+set}" = set; then
6862 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6863 < else
6864 <  echo 'void f(){}' > conftest.cpp
6865 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
6866 <        ac_guessed_cxxflags=yes
6867 < else
6868 <        ac_guessed_cxxflags=no
6869 < fi
6870 < rm -f conftest*
6871 <
6872 < fi
6873 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6874 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6875 < if test "$ac_guessed_cxxflags" = yes; then
6876 <        :
6877 <
6878 < else
6879 <        :
6880 <
6881 <        echo ""
6882 <        echo "**********************************************************"
6883 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
6884 <        echo "* your compiler.                                         *"
6885 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6886 <        echo "**********************************************************"
6887 <        echo ""
6888 <        CXXFLAGS=""
6889 <
6890 < fi
6891 <
6892 <
6893 < fi
6894 <
6895 <
6896 <
6897 <
6898 <
6899 < # Try to determine "good" native compiler flags if none specified on command
6900 < # line
6901 <
6902 < if test x"$F90FLAGS" = x ; then
6903 <  F90FLAGS=""
6904 <  case "${host_cpu}-${host_os}" in
6905 <
6906 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
6907 <                    F90FLAGS="-O"
6908 <                fi;;
6909 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
6910 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6911 <                fi;;
6912 <   powerpc*-aix*)
6913 <        if test "$F90" = f90 -o "$F90" = xlf90; then
6914 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
6915 <                echo "*******************************************************"
6916 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6917 <                echo "*  recommended that you use                           *"
6918 <                echo "*                                                     *"
6919 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6920 <                echo "*                                 ^^^                 *"
6921 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6922 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
6923 <                echo "*******************************************************"
6924 <        fi;;
6925 <   *darwin*)
6926 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6927 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6928 <        fi;;
6929 <  esac
6930 <
6931 <  if test -n "$CPU_FLAGS"; then
6932 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
6933 <  fi
6934 <
6935 <  if test -z "$F90FLAGS"; then
6936 <        echo ""
6937 <        echo "**********************************************************"
6938 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
6939 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6940 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
6941 <        echo "**********************************************************"
6942 <        echo ""
6943 <        F90FLAGS="-O3"
6944 <  fi
6945 <
6946 <
6947 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6948 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6949 < if test "${ac_guessed_f90flags+set}" = set; then
6950 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6951 < else
6952 <
6953 <
6954 <
6955 < ac_ext=f90
6956 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6957 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6958 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6959 <
6960 < echo 'program main' > conftest.$ac_ext
6961 < echo 'end program main' >> conftest.$ac_ext
6962 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6963 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6964 <  (eval $ac_compile) 2>&5
6965 <  ac_status=$?
6966 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 <  (exit $ac_status); }; then
6968 <        ac_guessed_f90flags=yes
6969 < else
6970 <        ac_guessed_f90flags=no
6971 < fi
6972 < rm -f conftest*
6973 < ac_ext=c
6974 < ac_cpp='$CPP $CPPFLAGS'
6975 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6976 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6977 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6978 <
6979 <
6980 < fi
6981 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
6982 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
6983 < if test "$ac_guessed_f90flags" = yes; then
6984 <        :
6985 <
6986 < else
6987 <        :
6988 <
6989 <        echo ""
6990 <        echo "**********************************************************"
6991 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
6992 <        echo "* your compiler.                                         *"
6993 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6994 <        echo "**********************************************************"
6995 <        echo ""
6996 <        F90FLAGS=""
6997 <
6998 < fi
6999 <
7000 <
7001 < fi
7002 <
7003 <     ;;
7004 < esac
7005 <
7006 < # Find a good install program.  We prefer a C program (faster),
7007 < # so one script is as good as another.  But avoid the broken or
7008 < # incompatible versions:
7009 < # SysV /etc/install, /usr/sbin/install
7010 < # SunOS /usr/etc/install
7011 < # IRIX /sbin/install
7012 < # AIX /bin/install
7013 < # AmigaOS /C/install, which installs bootblocks on floppy discs
7014 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7015 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7016 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7017 < # OS/2's system install, which has a completely different semantic
7018 < # ./install, which can be erroneously created by make from ./install.sh.
7019 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7020 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7021 < if test -z "$INSTALL"; then
7022 < if test "${ac_cv_path_install+set}" = set; then
7023 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7024 < else
7025 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 < for as_dir in $PATH
7027 < do
7028 <  IFS=$as_save_IFS
7029 <  test -z "$as_dir" && as_dir=.
7030 <  # Account for people who put trailing slashes in PATH elements.
7031 < case $as_dir/ in
7032 <  ./ | .// | /cC/* | \
7033 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7034 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
7035 <  /usr/ucb/* ) ;;
7036 <  *)
7037 <    # OSF1 and SCO ODT 3.0 have their own names for install.
7038 <    # Don't use installbsd from OSF since it installs stuff as root
7039 <    # by default.
7040 <    for ac_prog in ginstall scoinst install; do
7041 <      for ac_exec_ext in '' $ac_executable_extensions; do
7042 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7043 <          if test $ac_prog = install &&
7044 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7045 <            # AIX install.  It has an incompatible calling convention.
7046 <            :
7047 <          elif test $ac_prog = install &&
7048 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7049 <            # program-specific install script used by HP pwplus--don't use.
7050 <            :
7051 <          else
7052 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7053 <            break 3
7054 <          fi
7055 <        fi
7056 <      done
7057 <    done
7058 <    ;;
7059 < esac
7060 < done
7061 <
7062 <
7063 < fi
7064 <  if test "${ac_cv_path_install+set}" = set; then
7065 <    INSTALL=$ac_cv_path_install
7066 <  else
7067 <    # As a last resort, use the slow shell script.  We don't cache a
7068 <    # path for INSTALL within a source directory, because that will
7069 <    # break other packages using the cache if that directory is
7070 <    # removed, or if the path is relative.
7071 <    INSTALL=$ac_install_sh
7072 <  fi
7073 < fi
7074 < echo "$as_me:$LINENO: result: $INSTALL" >&5
7075 < echo "${ECHO_T}$INSTALL" >&6
7076 <
7077 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7078 < # It thinks the first close brace ends the variable substitution.
7079 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7080 <
7081 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7082 <
7083 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7084 <
7085 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
7086 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7087 < LN_S=$as_ln_s
7088 < if test "$LN_S" = "ln -s"; then
7089 <  echo "$as_me:$LINENO: result: yes" >&5
7090 < echo "${ECHO_T}yes" >&6
7091 < else
7092 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7093 < echo "${ECHO_T}no, using $LN_S" >&6
7094 < fi
7095 <
7096 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7097 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7098 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7099 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7100 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7101 < else
7102 <  cat >conftest.make <<\_ACEOF
7103 < all:
7104 <        @echo 'ac_maketemp="$(MAKE)"'
7105 < _ACEOF
7106 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7107 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7108 < if test -n "$ac_maketemp"; then
7109 <  eval ac_cv_prog_make_${ac_make}_set=yes
7110 < else
7111 <  eval ac_cv_prog_make_${ac_make}_set=no
7112 < fi
7113 < rm -f conftest.make
7114 < fi
7115 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7116 <  echo "$as_me:$LINENO: result: yes" >&5
7117 < echo "${ECHO_T}yes" >&6
7118 <  SET_MAKE=
7119 < else
7120 <  echo "$as_me:$LINENO: result: no" >&5
7121 < echo "${ECHO_T}no" >&6
7122 <  SET_MAKE="MAKE=${MAKE-make}"
7123 < fi
7124 <
7125 < if test -n "$ac_tool_prefix"; then
7126 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7127 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7128 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7129 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7130 < if test "${ac_cv_prog_RANLIB+set}" = set; then
7131 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7132 < else
7133 <  if test -n "$RANLIB"; then
7134 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7135 < else
7136 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 < for as_dir in $PATH
7138 < do
7139 <  IFS=$as_save_IFS
7140 <  test -z "$as_dir" && as_dir=.
7141 <  for ac_exec_ext in '' $ac_executable_extensions; do
7142 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7144 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 <    break 2
7146 <  fi
7147 < done
7148 < done
7149 <
7150 < fi
7151 < fi
7152 < RANLIB=$ac_cv_prog_RANLIB
7153 < if test -n "$RANLIB"; then
7154 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
7155 < echo "${ECHO_T}$RANLIB" >&6
7156 < else
7157 <  echo "$as_me:$LINENO: result: no" >&5
7158 < echo "${ECHO_T}no" >&6
7159 < fi
7160 <
7161 < fi
7162 < if test -z "$ac_cv_prog_RANLIB"; then
7163 <  ac_ct_RANLIB=$RANLIB
7164 <  # Extract the first word of "ranlib", so it can be a program name with args.
7165 < set dummy ranlib; ac_word=$2
7166 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7167 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7168 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7169 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7170 < else
7171 <  if test -n "$ac_ct_RANLIB"; then
7172 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7173 < else
7174 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 < for as_dir in $PATH
7176 < do
7177 <  IFS=$as_save_IFS
7178 <  test -z "$as_dir" && as_dir=.
7179 <  for ac_exec_ext in '' $ac_executable_extensions; do
7180 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
7182 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 <    break 2
7184 <  fi
7185 < done
7186 < done
7187 <
7188 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7189 < fi
7190 < fi
7191 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7192 < if test -n "$ac_ct_RANLIB"; then
7193 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7194 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
7195 < else
7196 <  echo "$as_me:$LINENO: result: no" >&5
7197 < echo "${ECHO_T}no" >&6
7198 < fi
7199 <
7200 <  RANLIB=$ac_ct_RANLIB
7201 < else
7202 <  RANLIB="$ac_cv_prog_RANLIB"
7203 < fi
7204 <
7205 < for ac_prog in 'bison -y' byacc
7206 < do
7207 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7208 < set dummy $ac_prog; ac_word=$2
7209 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7210 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7211 < if test "${ac_cv_prog_YACC+set}" = set; then
7212 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7213 < else
7214 <  if test -n "$YACC"; then
7215 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
7216 < else
7217 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 < for as_dir in $PATH
7219 < do
7220 <  IFS=$as_save_IFS
7221 <  test -z "$as_dir" && as_dir=.
7222 <  for ac_exec_ext in '' $ac_executable_extensions; do
7223 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 <    ac_cv_prog_YACC="$ac_prog"
7225 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7226 <    break 2
7227 <  fi
7228 < done
7229 < done
7230 <
7231 < fi
7232 < fi
7233 < YACC=$ac_cv_prog_YACC
7234 < if test -n "$YACC"; then
7235 <  echo "$as_me:$LINENO: result: $YACC" >&5
7236 < echo "${ECHO_T}$YACC" >&6
7237 < else
7238 <  echo "$as_me:$LINENO: result: no" >&5
7239 < echo "${ECHO_T}no" >&6
7240 < fi
7241 <
7242 <  test -n "$YACC" && break
7243 < done
7244 < test -n "$YACC" || YACC="yacc"
7245 <
7246 < for ac_prog in flex lex
7247 < do
7248 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7249 < set dummy $ac_prog; ac_word=$2
7250 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7251 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7252 < if test "${ac_cv_prog_LEX+set}" = set; then
7253 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7254 < else
7255 <  if test -n "$LEX"; then
7256 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
7257 < else
7258 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259 < for as_dir in $PATH
7260 < do
7261 <  IFS=$as_save_IFS
7262 <  test -z "$as_dir" && as_dir=.
7263 <  for ac_exec_ext in '' $ac_executable_extensions; do
7264 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 <    ac_cv_prog_LEX="$ac_prog"
7266 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 <    break 2
7268 <  fi
7269 < done
7270 < done
7271 <
7272 < fi
7273 < fi
7274 < LEX=$ac_cv_prog_LEX
7275 < if test -n "$LEX"; then
7276 <  echo "$as_me:$LINENO: result: $LEX" >&5
7277 < echo "${ECHO_T}$LEX" >&6
7278 < else
7279 <  echo "$as_me:$LINENO: result: no" >&5
7280 < echo "${ECHO_T}no" >&6
7281 < fi
7282 <
7283 <  test -n "$LEX" && break
7284 < done
7285 < test -n "$LEX" || LEX=":"
7286 <
7287 < if test -z "$LEXLIB"
7288 < then
7289 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
7290 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
7291 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
7292 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7293 < else
7294 <  ac_check_lib_save_LIBS=$LIBS
7295 < LIBS="-lfl  $LIBS"
7296 < cat >conftest.$ac_ext <<_ACEOF
7297 < /* confdefs.h.  */
7298 < _ACEOF
7299 < cat confdefs.h >>conftest.$ac_ext
7300 < cat >>conftest.$ac_ext <<_ACEOF
7301 < /* end confdefs.h.  */
7302 <
7303 < /* Override any gcc2 internal prototype to avoid an error.  */
7304 < #ifdef __cplusplus
7305 < extern "C"
7306 < #endif
7307 < /* We use char because int might match the return type of a gcc2
7308 <   builtin and then its argument prototype would still apply.  */
7309 < char yywrap ();
7310 < int
7311 < main ()
7312 < {
7313 < yywrap ();
7314 <  ;
7315 <  return 0;
7316 < }
7317 < _ACEOF
7318 < rm -f conftest.$ac_objext conftest$ac_exeext
7319 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7320 <  (eval $ac_link) 2>conftest.er1
7321 <  ac_status=$?
7322 <  grep -v '^ *+' conftest.er1 >conftest.err
7323 <  rm -f conftest.er1
7324 <  cat conftest.err >&5
7325 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 <  (exit $ac_status); } &&
7327 <         { ac_try='test -z "$ac_c_werror_flag"
7328 <                         || test ! -s conftest.err'
7329 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7330 <  (eval $ac_try) 2>&5
7331 <  ac_status=$?
7332 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 <  (exit $ac_status); }; } &&
7334 <         { ac_try='test -s conftest$ac_exeext'
7335 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 <  (eval $ac_try) 2>&5
7337 <  ac_status=$?
7338 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 <  (exit $ac_status); }; }; then
7340 <  ac_cv_lib_fl_yywrap=yes
7341 < else
7342 <  echo "$as_me: failed program was:" >&5
7343 < sed 's/^/| /' conftest.$ac_ext >&5
7344 <
7345 < ac_cv_lib_fl_yywrap=no
7346 < fi
7347 < rm -f conftest.err conftest.$ac_objext \
7348 <      conftest$ac_exeext conftest.$ac_ext
7349 < LIBS=$ac_check_lib_save_LIBS
7350 < fi
7351 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
7352 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
7353 < if test $ac_cv_lib_fl_yywrap = yes; then
7354 <  LEXLIB="-lfl"
7355 < else
7356 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7357 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7358 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
7359 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7360 < else
7361 <  ac_check_lib_save_LIBS=$LIBS
7362 < LIBS="-ll  $LIBS"
7363 < cat >conftest.$ac_ext <<_ACEOF
7364 < /* confdefs.h.  */
7365 < _ACEOF
7366 < cat confdefs.h >>conftest.$ac_ext
7367 < cat >>conftest.$ac_ext <<_ACEOF
7368 < /* end confdefs.h.  */
7369 <
7370 < /* Override any gcc2 internal prototype to avoid an error.  */
7371 < #ifdef __cplusplus
7372 < extern "C"
7373 < #endif
7374 < /* We use char because int might match the return type of a gcc2
7375 <   builtin and then its argument prototype would still apply.  */
7376 < char yywrap ();
7377 < int
7378 < main ()
7379 < {
7380 < yywrap ();
7381 <  ;
7382 <  return 0;
7383 < }
7384 < _ACEOF
7385 < rm -f conftest.$ac_objext conftest$ac_exeext
7386 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7387 <  (eval $ac_link) 2>conftest.er1
7388 <  ac_status=$?
7389 <  grep -v '^ *+' conftest.er1 >conftest.err
7390 <  rm -f conftest.er1
7391 <  cat conftest.err >&5
7392 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 <  (exit $ac_status); } &&
7394 <         { ac_try='test -z "$ac_c_werror_flag"
7395 <                         || test ! -s conftest.err'
7396 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7397 <  (eval $ac_try) 2>&5
7398 <  ac_status=$?
7399 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400 <  (exit $ac_status); }; } &&
7401 <         { ac_try='test -s conftest$ac_exeext'
7402 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 <  (eval $ac_try) 2>&5
7404 <  ac_status=$?
7405 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 <  (exit $ac_status); }; }; then
7407 <  ac_cv_lib_l_yywrap=yes
7408 < else
7409 <  echo "$as_me: failed program was:" >&5
7410 < sed 's/^/| /' conftest.$ac_ext >&5
7411 <
7412 < ac_cv_lib_l_yywrap=no
7413 < fi
7414 < rm -f conftest.err conftest.$ac_objext \
7415 <      conftest$ac_exeext conftest.$ac_ext
7416 < LIBS=$ac_check_lib_save_LIBS
7417 < fi
7418 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7419 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7420 < if test $ac_cv_lib_l_yywrap = yes; then
7421 <  LEXLIB="-ll"
7422 < fi
7423 <
7424 < fi
7425 <
7426 < fi
7427 <
7428 < if test "x$LEX" != "x:"; then
7429 <  echo "$as_me:$LINENO: checking lex output file root" >&5
7430 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7431 < if test "${ac_cv_prog_lex_root+set}" = set; then
7432 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7433 < else
7434 <  # The minimal lex program is just a single line: %%.  But some broken lexes
7435 < # (Solaris, I think it was) want two %% lines, so accommodate them.
7436 < cat >conftest.l <<_ACEOF
7437 < %%
7438 < %%
7439 < _ACEOF
7440 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7441 <  (eval $LEX conftest.l) 2>&5
7442 <  ac_status=$?
7443 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 <  (exit $ac_status); }
7445 < if test -f lex.yy.c; then
7446 <  ac_cv_prog_lex_root=lex.yy
7447 < elif test -f lexyy.c; then
7448 <  ac_cv_prog_lex_root=lexyy
7449 < else
7450 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7451 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7452 <   { (exit 1); exit 1; }; }
7453 < fi
7454 < fi
7455 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7456 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7457 < rm -f conftest.l
7458 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7459 <
7460 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7461 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7462 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7463 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7464 < else
7465 <  # POSIX says lex can declare yytext either as a pointer or an array; the
7466 < # default is implementation-dependent. Figure out which it is, since
7467 < # not all implementations provide the %pointer and %array declarations.
7468 < ac_cv_prog_lex_yytext_pointer=no
7469 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
7470 < ac_save_LIBS=$LIBS
7471 < LIBS="$LIBS $LEXLIB"
7472 < cat >conftest.$ac_ext <<_ACEOF
7473 < `cat $LEX_OUTPUT_ROOT.c`
7474 < _ACEOF
7475 < rm -f conftest.$ac_objext conftest$ac_exeext
7476 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7477 <  (eval $ac_link) 2>conftest.er1
7478 <  ac_status=$?
7479 <  grep -v '^ *+' conftest.er1 >conftest.err
7480 <  rm -f conftest.er1
7481 <  cat conftest.err >&5
7482 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 <  (exit $ac_status); } &&
7484 <         { ac_try='test -z "$ac_c_werror_flag"
7485 <                         || test ! -s conftest.err'
7486 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 <  (eval $ac_try) 2>&5
7488 <  ac_status=$?
7489 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 <  (exit $ac_status); }; } &&
7491 <         { ac_try='test -s conftest$ac_exeext'
7492 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 <  (eval $ac_try) 2>&5
7494 <  ac_status=$?
7495 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 <  (exit $ac_status); }; }; then
7497 <  ac_cv_prog_lex_yytext_pointer=yes
7498 < else
7499 <  echo "$as_me: failed program was:" >&5
7500 < sed 's/^/| /' conftest.$ac_ext >&5
7501 <
7502 < fi
7503 < rm -f conftest.err conftest.$ac_objext \
7504 <      conftest$ac_exeext conftest.$ac_ext
7505 < LIBS=$ac_save_LIBS
7506 < rm -f "${LEX_OUTPUT_ROOT}.c"
7507 <
7508 < fi
7509 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7510 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7511 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
7512 <
7513 < cat >>confdefs.h <<\_ACEOF
7514 < #define YYTEXT_POINTER 1
7515 < _ACEOF
7516 <
7517 < fi
7518 <
7519 < fi
7520 < # Extract the first word of "ar", so it can be a program name with args.
7521 < set dummy ar; ac_word=$2
7522 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7523 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7524 < if test "${ac_cv_prog_AR+set}" = set; then
7525 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7526 < else
7527 <  if test -n "$AR"; then
7528 <  ac_cv_prog_AR="$AR" # Let the user override the test.
7529 < else
7530 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 < for as_dir in $PATH
7532 < do
7533 <  IFS=$as_save_IFS
7534 <  test -z "$as_dir" && as_dir=.
7535 <  for ac_exec_ext in '' $ac_executable_extensions; do
7536 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7537 <    ac_cv_prog_AR="ar"
7538 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 <    break 2
7540 <  fi
7541 < done
7542 < done
7543 <
7544 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7545 < fi
7546 < fi
7547 < AR=$ac_cv_prog_AR
7548 < if test -n "$AR"; then
7549 <  echo "$as_me:$LINENO: result: $AR" >&5
7550 < echo "${ECHO_T}$AR" >&6
7551 < else
7552 <  echo "$as_me:$LINENO: result: no" >&5
7553 < echo "${ECHO_T}no" >&6
7554 < fi
7555 <
7556 < if test "$AR" = "NONE"; then
7557 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7558 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7559 <   { (exit 1); exit 1; }; }
7560 <  cat >confcache <<\_ACEOF
7561 < # This file is a shell script that caches the results of configure
7562 < # tests run on this system so they can be shared between configure
7563 < # scripts and configure runs, see configure's option --config-cache.
7564 < # It is not useful on other systems.  If it contains results you don't
7565 < # want to keep, you may remove or edit it.
7566 < #
7567 < # config.status only pays attention to the cache file if you give it
7568 < # the --recheck option to rerun configure.
7569 < #
7570 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
7571 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
7572 < # following values.
7573 <
7574 < _ACEOF
7575 <
7576 < # The following way of writing the cache mishandles newlines in values,
7577 < # but we know of no workaround that is simple, portable, and efficient.
7578 < # So, don't put newlines in cache variables' values.
7579 < # Ultrix sh set writes to stderr and can't be redirected directly,
7580 < # and sets the high bit in the cache file unless we assign to the vars.
7581 < {
7582 <  (set) 2>&1 |
7583 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7584 <    *ac_space=\ *)
7585 <      # `set' does not quote correctly, so add quotes (double-quote
7586 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
7587 <      sed -n \
7588 <        "s/'/'\\\\''/g;
7589 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7590 <      ;;
7591 <    *)
7592 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
7593 <      sed -n \
7594 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7595 <      ;;
7596 <    esac;
7597 < } |
7598 <  sed '
7599 <     t clear
7600 <     : clear
7601 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7602 <     t end
7603 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7604 <     : end' >>confcache
7605 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
7606 <  if test -w $cache_file; then
7607 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7608 <    cat confcache >$cache_file
7609 <  else
7610 <    echo "not updating unwritable cache $cache_file"
7611 <  fi
7612 < fi
7613 < rm -f confcache
7614 <  exit 1
7615 < fi
7616 <
7617 < # Extract the first word of "ps", so it can be a program name with args.
7618 < set dummy ps; ac_word=$2
7619 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7620 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7621 < if test "${ac_cv_path_PS+set}" = set; then
7622 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7623 < else
7624 <  case $PS in
7625 <  [\\/]* | ?:[\\/]*)
7626 <  ac_cv_path_PS="$PS" # Let the user override the test with a path.
7627 <  ;;
7628 <  *)
7629 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 < for as_dir in $PATH
7631 < do
7632 <  IFS=$as_save_IFS
7633 <  test -z "$as_dir" && as_dir=.
7634 <  for ac_exec_ext in '' $ac_executable_extensions; do
7635 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 <    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7637 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 <    break 2
7639 <  fi
7640 < done
7641 < done
7642 <
7643 <  ;;
7644 < esac
7645 < fi
7646 < PS=$ac_cv_path_PS
7647 <
7648 < if test -n "$PS"; then
7649 <  echo "$as_me:$LINENO: result: $PS" >&5
7650 < echo "${ECHO_T}$PS" >&6
7651 < else
7652 <  echo "$as_me:$LINENO: result: no" >&5
7653 < echo "${ECHO_T}no" >&6
7654 < fi
7655 <
7656 < echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7657 < echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7658 < if test "${ac_cv_prog_ps_syntax+set}" = set; then
7659 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7660 < else
7661 <
7662 <        if $PS ax -o rss > /dev/null 2>&1; then
7663 <                ac_cv_prog_ps_ax=yes
7664 <        else
7665 <                ac_cv_prog_ps_ax=no
7666 <        fi
7667 <        if $PS -ef -o rss > /dev/null 2>&1; then
7668 <                ac_cv_prog_ps_ef=yes
7669 <        else
7670 <                ac_cv_prog_ps_ef=no
7671 <        fi
7672 <        if test "$ac_cv_prog_ps_ax" = yes; then
7673 <                ac_cv_prog_ps_syntax=BSD
7674 <        else
7675 <                if test "$ac_cv_prog_ps_ef" = yes; then
7676 <                        ac_cv_prog_ps_syntax=POSIX
7677 <                else
7678 <                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7679 < echo "$as_me: error: Could not determine ps syntax" >&2;}
7680 <   { (exit 1); exit 1; }; }
7681 <                fi
7682 <        fi
7683 <
7684 < fi
7685 < echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7686 < echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7687 <
7688 <
7689 < cat >>confdefs.h <<_ACEOF
7690 < #define PSCOMMAND $PS
7691 < _ACEOF
7692 <
7693 <
7694 < if test "$ac_cv_prog_ps_syntax" = BSD; then
7695 <  cat >>confdefs.h <<\_ACEOF
7696 < #define PSTYPE_IS_BSD 1
7697 < _ACEOF
7698 <
7699 < else
7700 <   if test "$ac_cv_prog_ps_syntax" = POSIX; then
7701 <       cat >>confdefs.h <<\_ACEOF
7702 < #define PSTYPE_IS_POSIX 1
7703 < _ACEOF
7704 <
7705 <   else
7706 <       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7707 < echo "$as_me: error: Unknown ps syntax type!" >&2;}
7708 <   { (exit 1); exit 1; }; }
7709 <   fi
7710 < fi
7711 <
7712 <
7713 < # Check whether --with-mpi or --without-mpi was given.
7714 < if test "${with_mpi+set}" = set; then
7715 <  withval="$with_mpi"
7716 <  with_mpi=$withval
7717 < else
7718 <  with_mpi="no"
7719 < fi;
7720 <
7721 < case "x$with_mpi" in
7722 <        xyes | "x")  USE_MPI=yes;;
7723 <        xno) USE_MPI=no ;;
7724 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
7725 < esac
7726 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
7727 <        MPI="/usr/local"
7728 < fi
7729 < if test "$USE_MPI" = "yes"; then
7730 <
7731 <
7732 < # Set variables...
7733 < MPI_LIB_DIR="$MPI/lib"
7734 < MPI_INC_DIR="$MPI/include"
7735 <
7736 <
7737 <
7738 < echo "$as_me:$LINENO: checking for mpi.h" >&5
7739 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7740 < have_mpi_h=0
7741 < echo '#include <mpi.h>' > conftest.cc
7742 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7743 <        echo "$as_me:$LINENO: result: yes" >&5
7744 < echo "${ECHO_T}yes" >&6
7745 <        have_mpi_h=1
7746 < else
7747 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7748 < echo "${ECHO_T}no! Check MPI include paths" >&6
7749 <        USE_MPI="no"
7750 < fi
7751 < rm -f conftest*
7752 < if test "$have_mpi_h" = 1; then
7753 <
7754 < cat >>confdefs.h <<\_ACEOF
7755 < #define HAVE_MPI_H 1
7756 < _ACEOF
7757 <
7758 < fi
7759 <
7760 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7761 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7762 < have_mpif_h=0
7763 < rm -f conftest*
7764 < cat >conftest.f90 <<EOF
7765 < program main
7766 <   include 'mpif.h'
7767 < end
7768 < EOF
7769 < if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7770 <        echo "$as_me:$LINENO: result: yes" >&5
7771 < echo "${ECHO_T}yes" >&6
7772 <        MPI_F90_INC="$MPI_INC_DIR"
7773 <        have_mpif_h=1
7774 < else
7775 <        if test -s conftest.out ; then
7776 <                cat conftest.out >> config.log
7777 <        fi
7778 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7779 < echo "${ECHO_T}no! Check MPI include paths" >&6
7780 <        USE_MPI="no"
7781 < fi
7782 < rm -f conftest*
7783 <
7784 < if test "$have_mpif_h" = 1; then
7785 <
7786 < cat >>confdefs.h <<\_ACEOF
7787 < #define HAVE_MPIF_H 1
7788 < _ACEOF
7789 <
7790 < fi
7791 <
7792 < ac_ext=c
7793 < ac_cpp='$CPP $CPPFLAGS'
7794 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7795 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7796 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7797 <
7798 < ac_save_LDFLAGS=$LDFLAGS
7799 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7800 <
7801 < if test x = x"$MPI_LIB"; then
7802 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7803 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7804 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7805 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7806 < else
7807 <  ac_check_lib_save_LIBS=$LIBS
7808 < LIBS="-lmpich  $LIBS"
7809 < cat >conftest.$ac_ext <<_ACEOF
7810 < /* confdefs.h.  */
7811 < _ACEOF
7812 < cat confdefs.h >>conftest.$ac_ext
7813 < cat >>conftest.$ac_ext <<_ACEOF
7814 < /* end confdefs.h.  */
7815 <
7816 < /* Override any gcc2 internal prototype to avoid an error.  */
7817 < #ifdef __cplusplus
7818 < extern "C"
7819 < #endif
7820 < /* We use char because int might match the return type of a gcc2
7821 <   builtin and then its argument prototype would still apply.  */
7822 < char MPI_Init ();
7823 < int
7824 < main ()
7825 < {
7826 < MPI_Init ();
7827 <  ;
7828 <  return 0;
7829 < }
7830 < _ACEOF
7831 < rm -f conftest.$ac_objext conftest$ac_exeext
7832 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7833 <  (eval $ac_link) 2>conftest.er1
7834 <  ac_status=$?
7835 <  grep -v '^ *+' conftest.er1 >conftest.err
7836 <  rm -f conftest.er1
7837 <  cat conftest.err >&5
7838 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 <  (exit $ac_status); } &&
7840 <         { ac_try='test -z "$ac_c_werror_flag"
7841 <                         || test ! -s conftest.err'
7842 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 <  (eval $ac_try) 2>&5
7844 <  ac_status=$?
7845 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 <  (exit $ac_status); }; } &&
7847 <         { ac_try='test -s conftest$ac_exeext'
7848 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849 <  (eval $ac_try) 2>&5
7850 <  ac_status=$?
7851 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 <  (exit $ac_status); }; }; then
7853 <  ac_cv_lib_mpich_MPI_Init=yes
7854 < else
7855 <  echo "$as_me: failed program was:" >&5
7856 < sed 's/^/| /' conftest.$ac_ext >&5
7857 <
7858 < ac_cv_lib_mpich_MPI_Init=no
7859 < fi
7860 < rm -f conftest.err conftest.$ac_objext \
7861 <      conftest$ac_exeext conftest.$ac_ext
7862 < LIBS=$ac_check_lib_save_LIBS
7863 < fi
7864 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7865 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7866 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7867 <  MPI_LIB="-lmpich"
7868 < fi
7869 <
7870 < fi
7871 < if test x = x"$MPI_LIB"; then
7872 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7873 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7874 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7875 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7876 < else
7877 <  ac_check_lib_save_LIBS=$LIBS
7878 < LIBS="-lmpi  $LIBS"
7879 < cat >conftest.$ac_ext <<_ACEOF
7880 < /* confdefs.h.  */
7881 < _ACEOF
7882 < cat confdefs.h >>conftest.$ac_ext
7883 < cat >>conftest.$ac_ext <<_ACEOF
7884 < /* end confdefs.h.  */
7885 <
7886 < /* Override any gcc2 internal prototype to avoid an error.  */
7887 < #ifdef __cplusplus
7888 < extern "C"
7889 < #endif
7890 < /* We use char because int might match the return type of a gcc2
7891 <   builtin and then its argument prototype would still apply.  */
7892 < char MPI_Init ();
7893 < int
7894 < main ()
7895 < {
7896 < MPI_Init ();
7897 <  ;
7898 <  return 0;
7899 < }
7900 < _ACEOF
7901 < rm -f conftest.$ac_objext conftest$ac_exeext
7902 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7903 <  (eval $ac_link) 2>conftest.er1
7904 <  ac_status=$?
7905 <  grep -v '^ *+' conftest.er1 >conftest.err
7906 <  rm -f conftest.er1
7907 <  cat conftest.err >&5
7908 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 <  (exit $ac_status); } &&
7910 <         { ac_try='test -z "$ac_c_werror_flag"
7911 <                         || test ! -s conftest.err'
7912 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 <  (eval $ac_try) 2>&5
7914 <  ac_status=$?
7915 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 <  (exit $ac_status); }; } &&
7917 <         { ac_try='test -s conftest$ac_exeext'
7918 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 <  (eval $ac_try) 2>&5
7920 <  ac_status=$?
7921 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 <  (exit $ac_status); }; }; then
7923 <  ac_cv_lib_mpi_MPI_Init=yes
7924 < else
7925 <  echo "$as_me: failed program was:" >&5
7926 < sed 's/^/| /' conftest.$ac_ext >&5
7927 <
7928 < ac_cv_lib_mpi_MPI_Init=no
7929 < fi
7930 < rm -f conftest.err conftest.$ac_objext \
7931 <      conftest$ac_exeext conftest.$ac_ext
7932 < LIBS=$ac_check_lib_save_LIBS
7933 < fi
7934 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7935 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7936 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7937 <  MPI_LIB="-lmpi"
7938 < fi
7939 <
7940 < fi
7941 < $as_unset ac_cv_lib_mpi_MPI_Init
7942 < if test x = x"$MPI_LIB"; then
7943 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7944 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7945 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7946 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7947 < else
7948 <  ac_check_lib_save_LIBS=$LIBS
7949 < LIBS="-lmpi "-llam" $LIBS"
7950 < cat >conftest.$ac_ext <<_ACEOF
7951 < /* confdefs.h.  */
7952 < _ACEOF
7953 < cat confdefs.h >>conftest.$ac_ext
7954 < cat >>conftest.$ac_ext <<_ACEOF
7955 < /* end confdefs.h.  */
7956 <
7957 < /* Override any gcc2 internal prototype to avoid an error.  */
7958 < #ifdef __cplusplus
7959 < extern "C"
7960 < #endif
7961 < /* We use char because int might match the return type of a gcc2
7962 <   builtin and then its argument prototype would still apply.  */
7963 < char MPI_Init ();
7964 < int
7965 < main ()
7966 < {
7967 < MPI_Init ();
7968 <  ;
7969 <  return 0;
7970 < }
7971 < _ACEOF
7972 < rm -f conftest.$ac_objext conftest$ac_exeext
7973 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7974 <  (eval $ac_link) 2>conftest.er1
7975 <  ac_status=$?
7976 <  grep -v '^ *+' conftest.er1 >conftest.err
7977 <  rm -f conftest.er1
7978 <  cat conftest.err >&5
7979 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 <  (exit $ac_status); } &&
7981 <         { ac_try='test -z "$ac_c_werror_flag"
7982 <                         || test ! -s conftest.err'
7983 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 <  (eval $ac_try) 2>&5
7985 <  ac_status=$?
7986 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 <  (exit $ac_status); }; } &&
7988 <         { ac_try='test -s conftest$ac_exeext'
7989 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 <  (eval $ac_try) 2>&5
7991 <  ac_status=$?
7992 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 <  (exit $ac_status); }; }; then
7994 <  ac_cv_lib_mpi_MPI_Init=yes
7995 < else
7996 <  echo "$as_me: failed program was:" >&5
7997 < sed 's/^/| /' conftest.$ac_ext >&5
7998 <
7999 < ac_cv_lib_mpi_MPI_Init=no
8000 < fi
8001 < rm -f conftest.err conftest.$ac_objext \
8002 <      conftest$ac_exeext conftest.$ac_ext
8003 < LIBS=$ac_check_lib_save_LIBS
8004 < fi
8005 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8006 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8007 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8008 <  MPI_LIB="-lmpi -llam"
8009 < fi
8010 <
8011 < fi
8012 < $as_unset ac_cv_lib_mpich_MPI_Init
8013 < if test x = x"$MPI_LIB"; then
8014 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
8015 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
8016 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
8017 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8018 < else
8019 <  ac_check_lib_save_LIBS=$LIBS
8020 < LIBS="-lmpich "-lpmpich" $LIBS"
8021 < cat >conftest.$ac_ext <<_ACEOF
8022 < /* confdefs.h.  */
8023 < _ACEOF
8024 < cat confdefs.h >>conftest.$ac_ext
8025 < cat >>conftest.$ac_ext <<_ACEOF
8026 < /* end confdefs.h.  */
8027 <
8028 < /* Override any gcc2 internal prototype to avoid an error.  */
8029 < #ifdef __cplusplus
8030 < extern "C"
8031 < #endif
8032 < /* We use char because int might match the return type of a gcc2
8033 <   builtin and then its argument prototype would still apply.  */
8034 < char MPI_Init ();
8035 < int
8036 < main ()
8037 < {
8038 < MPI_Init ();
8039 <  ;
8040 <  return 0;
8041 < }
8042 < _ACEOF
8043 < rm -f conftest.$ac_objext conftest$ac_exeext
8044 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8045 <  (eval $ac_link) 2>conftest.er1
8046 <  ac_status=$?
8047 <  grep -v '^ *+' conftest.er1 >conftest.err
8048 <  rm -f conftest.er1
8049 <  cat conftest.err >&5
8050 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 <  (exit $ac_status); } &&
8052 <         { ac_try='test -z "$ac_c_werror_flag"
8053 <                         || test ! -s conftest.err'
8054 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8055 <  (eval $ac_try) 2>&5
8056 <  ac_status=$?
8057 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 <  (exit $ac_status); }; } &&
8059 <         { ac_try='test -s conftest$ac_exeext'
8060 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 <  (eval $ac_try) 2>&5
8062 <  ac_status=$?
8063 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 <  (exit $ac_status); }; }; then
8065 <  ac_cv_lib_mpich_MPI_Init=yes
8066 < else
8067 <  echo "$as_me: failed program was:" >&5
8068 < sed 's/^/| /' conftest.$ac_ext >&5
8069 <
8070 < ac_cv_lib_mpich_MPI_Init=no
8071 < fi
8072 < rm -f conftest.err conftest.$ac_objext \
8073 <      conftest$ac_exeext conftest.$ac_ext
8074 < LIBS=$ac_check_lib_save_LIBS
8075 < fi
8076 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8077 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8078 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
8079 <  MPI_LIB="-lmpich -lpmpich"
8080 < fi
8081 <
8082 < fi
8083 <
8084 < $as_unset ac_cv_lib_mpi_MPI_Init
8085 < if test x = x"$MPI_LIB"; then
8086 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8087 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8088 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8089 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8090 < else
8091 <  ac_check_lib_save_LIBS=$LIBS
8092 < LIBS="-lmpi -llam -lpthread $LIBS"
8093 < cat >conftest.$ac_ext <<_ACEOF
8094 < /* confdefs.h.  */
8095 < _ACEOF
8096 < cat confdefs.h >>conftest.$ac_ext
8097 < cat >>conftest.$ac_ext <<_ACEOF
8098 < /* end confdefs.h.  */
8099 <
8100 < /* Override any gcc2 internal prototype to avoid an error.  */
8101 < #ifdef __cplusplus
8102 < extern "C"
8103 < #endif
8104 < /* We use char because int might match the return type of a gcc2
8105 <   builtin and then its argument prototype would still apply.  */
8106 < char MPI_Init ();
8107 < int
8108 < main ()
8109 < {
8110 < MPI_Init ();
8111 <  ;
8112 <  return 0;
8113 < }
8114 < _ACEOF
8115 < rm -f conftest.$ac_objext conftest$ac_exeext
8116 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8117 <  (eval $ac_link) 2>conftest.er1
8118 <  ac_status=$?
8119 <  grep -v '^ *+' conftest.er1 >conftest.err
8120 <  rm -f conftest.er1
8121 <  cat conftest.err >&5
8122 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 <  (exit $ac_status); } &&
8124 <         { ac_try='test -z "$ac_c_werror_flag"
8125 <                         || test ! -s conftest.err'
8126 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 <  (eval $ac_try) 2>&5
8128 <  ac_status=$?
8129 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 <  (exit $ac_status); }; } &&
8131 <         { ac_try='test -s conftest$ac_exeext'
8132 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133 <  (eval $ac_try) 2>&5
8134 <  ac_status=$?
8135 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 <  (exit $ac_status); }; }; then
8137 <  ac_cv_lib_mpi_MPI_Init=yes
8138 < else
8139 <  echo "$as_me: failed program was:" >&5
8140 < sed 's/^/| /' conftest.$ac_ext >&5
8141 <
8142 < ac_cv_lib_mpi_MPI_Init=no
8143 < fi
8144 < rm -f conftest.err conftest.$ac_objext \
8145 <      conftest$ac_exeext conftest.$ac_ext
8146 < LIBS=$ac_check_lib_save_LIBS
8147 < fi
8148 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8149 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8150 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8151 <  MPI_LIB="-lmpi -llam -lpthread"
8152 < else
8153 <
8154 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
8155 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
8156 <   { (exit 1); exit 1; }; }
8157 <             USE_MPI="no"
8158 <
8159 < fi
8160 <
8161 < fi
8162 <
8163 <
8164 <
8165 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
8166 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
8167 < MPI_F90_LIB=""
8168 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
8169 <        MPI_F90_LIB="-lfmpich"
8170 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
8171 <        MPI_F90_LIB="-llamf77mpi"
8172 < else
8173 <                        MPI_F90_LIB="  "
8174 < fi
8175 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
8176 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
8177 <
8178 <
8179 < fi
8180 <
8181 <
8182 <
8183 <
8184 < USE_CGAL=no
8185 < cgal_makefile=auto
8186 <
8187 < # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
8188 < if test "${with_cgal_makefile+set}" = set; then
8189 <  withval="$with_cgal_makefile"
8190 <  cgal_makefile="$withval"
8191 < fi;
8192 <
8193 < if test "x$cgal_makefile" != xno; then
8194 <
8195 <  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
8196 <    cgal_makefile="$CGAL_MAKEFILE"
8197 <  fi
8198 <
8199 <  echo "cgal_makefile      $cgal_makefile"
8200 <
8201 <  if test -f "$cgal_makefile"; then
8202 <
8203 <    cat >config.tmp.Makefile <<EOF
8204 < include $cgal_makefile
8205 < default:
8206 <        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
8207 <        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
8208 <        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
8209 <        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
8210 <        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
8211 <        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
8212 <        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
8213 <        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
8214 <        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
8215 <        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
8216 <        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
8217 <        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
8218 < EOF
8219 <
8220 <    make -s -f config.tmp.Makefile
8221 <    . config.tmp.cgalvariables
8222 <
8223 <    rm -f config.tmp.Makefile config.tmp.cgalvariables
8224 <
8225 <    if test "x$CGAL_INCLDIR" = "x"; then
8226 <      CGAL_INCLDIR=""
8227 <    fi
8228 <
8229 <    if test "x$CGAL_LIBDIR" = "x"; then
8230 <      CGAL_LIBDIR=""
8231 <    fi
8232 <
8233 <    if test "x$CGAL_RLIBDIR" = "x"; then
8234 <      CGAL_RLIBDIR=""
8235 <    fi
8236 <
8237 <    if test "x$LEDA_INCLDIR" = "x"; then
8238 <      LEDA_INCLDIR=""
8239 <    fi
8240 <
8241 <    if test "x$LEDA_LIBDIR" = "x"; then
8242 <      LEDA_LIBDIR=""
8243 <    fi
8244 <
8245 <    if test "x$LEDA_RLIBDIR" = "x"; then
8246 <      LEDA_RLIBDIR=""
8247 <    fi
8248 <
8249 <    if test "x$GMP_INCLDIR" = "x"; then
8250 <      GMP_INCLDIR=""
8251 <    fi
8252 <
8253 <    if test "x$GMP_LIBDIR" = "x"; then
8254 <      GMP_LIBDIR=""
8255 <    fi
8256 <
8257 <    if test "x$GMP_RLIBDIR" = "x"; then
8258 <      GMP_RLIBDIR=""
8259 <    fi
8260 <
8261 <    echo "CGAL_OS_COMPILER   $CGAL_OS_COMPILER"
8262 <    echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8263 <    echo "CGAL_INCLCONFDIR   $CGAL_INCLCONFDIR"
8264 <    echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8265 <    echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8266 <    echo "LEDA_INCLDIR       $LEDA_INCLDIR"
8267 <    echo "LEDA_LIBDIR        $LEDA_LIBDIR"
8268 <    echo "GMP_INCLDIR        $GMP_INCLDIR"
8269 <    echo "GMP_LIBDIR         $GMP_LIBDIR"
8270 <
8271 <    ac_ext=cc
8272 < ac_cpp='$CXXCPP $CPPFLAGS'
8273 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8274 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8275 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8276 <
8277 <    save_CXXFLAGS="$CXXFLAGS"
8278 <    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8279 <
8280 < ac_ext=cc
8281 < ac_cpp='$CXXCPP $CPPFLAGS'
8282 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8283 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8284 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8285 < echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8286 < echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8287 < if test -z "$CXXCPP"; then
8288 <  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8289 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8290 < else
8291 <      # Double quotes because CXXCPP needs to be expanded
8292 <    for CXXCPP in "$CXX -E" "/lib/cpp"
8293 <    do
8294 <      ac_preproc_ok=false
8295 < for ac_cxx_preproc_warn_flag in '' yes
8296 < do
8297 <  # Use a header file that comes with gcc, so configuring glibc
8298 <  # with a fresh cross-compiler works.
8299 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8300 <  # <limits.h> exists even on freestanding compilers.
8301 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8302 <  # not just through cpp. "Syntax error" is here to catch this case.
8303 <  cat >conftest.$ac_ext <<_ACEOF
8304 < /* confdefs.h.  */
8305 < _ACEOF
8306 < cat confdefs.h >>conftest.$ac_ext
8307 < cat >>conftest.$ac_ext <<_ACEOF
8308 < /* end confdefs.h.  */
8309 < #ifdef __STDC__
8310 < # include <limits.h>
8311 < #else
8312 < # include <assert.h>
8313 < #endif
8314 <                     Syntax error
8315 < _ACEOF
8316 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8317 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8318 <  ac_status=$?
8319 <  grep -v '^ *+' conftest.er1 >conftest.err
8320 <  rm -f conftest.er1
8321 <  cat conftest.err >&5
8322 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 <  (exit $ac_status); } >/dev/null; then
8324 <  if test -s conftest.err; then
8325 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8326 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8327 <  else
8328 <    ac_cpp_err=
8329 <  fi
8330 < else
8331 <  ac_cpp_err=yes
8332 < fi
8333 < if test -z "$ac_cpp_err"; then
8334 <  :
8335 < else
8336 <  echo "$as_me: failed program was:" >&5
8337 < sed 's/^/| /' conftest.$ac_ext >&5
8338 <
8339 <  # Broken: fails on valid input.
8340 < continue
8341 < fi
8342 < rm -f conftest.err conftest.$ac_ext
8343 <
8344 <  # OK, works on sane cases.  Now check whether non-existent headers
8345 <  # can be detected and how.
8346 <  cat >conftest.$ac_ext <<_ACEOF
8347 < /* confdefs.h.  */
8348 < _ACEOF
8349 < cat confdefs.h >>conftest.$ac_ext
8350 < cat >>conftest.$ac_ext <<_ACEOF
8351 < /* end confdefs.h.  */
8352 < #include <ac_nonexistent.h>
8353 < _ACEOF
8354 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8355 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8356 <  ac_status=$?
8357 <  grep -v '^ *+' conftest.er1 >conftest.err
8358 <  rm -f conftest.er1
8359 <  cat conftest.err >&5
8360 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 <  (exit $ac_status); } >/dev/null; then
8362 <  if test -s conftest.err; then
8363 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8364 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8365 <  else
8366 <    ac_cpp_err=
8367 <  fi
8368 < else
8369 <  ac_cpp_err=yes
8370 < fi
8371 < if test -z "$ac_cpp_err"; then
8372 <  # Broken: success on invalid input.
8373 < continue
8374 < else
8375 <  echo "$as_me: failed program was:" >&5
8376 < sed 's/^/| /' conftest.$ac_ext >&5
8377 <
8378 <  # Passes both tests.
8379 < ac_preproc_ok=:
8380 < break
8381 < fi
8382 < rm -f conftest.err conftest.$ac_ext
8383 <
8384 < done
8385 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8386 < rm -f conftest.err conftest.$ac_ext
8387 < if $ac_preproc_ok; then
8388 <  break
8389 < fi
8390 <
8391 <    done
8392 <    ac_cv_prog_CXXCPP=$CXXCPP
8393 <
8394 < fi
8395 <  CXXCPP=$ac_cv_prog_CXXCPP
8396 < else
8397 <  ac_cv_prog_CXXCPP=$CXXCPP
8398 < fi
8399 < echo "$as_me:$LINENO: result: $CXXCPP" >&5
8400 < echo "${ECHO_T}$CXXCPP" >&6
8401 < ac_preproc_ok=false
8402 < for ac_cxx_preproc_warn_flag in '' yes
8403 < do
8404 <  # Use a header file that comes with gcc, so configuring glibc
8405 <  # with a fresh cross-compiler works.
8406 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8407 <  # <limits.h> exists even on freestanding compilers.
8408 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8409 <  # not just through cpp. "Syntax error" is here to catch this case.
8410 <  cat >conftest.$ac_ext <<_ACEOF
8411 < /* confdefs.h.  */
8412 < _ACEOF
8413 < cat confdefs.h >>conftest.$ac_ext
8414 < cat >>conftest.$ac_ext <<_ACEOF
8415 < /* end confdefs.h.  */
8416 < #ifdef __STDC__
8417 < # include <limits.h>
8418 < #else
8419 < # include <assert.h>
8420 < #endif
8421 <                     Syntax error
8422 < _ACEOF
8423 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8424 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8425 <  ac_status=$?
8426 <  grep -v '^ *+' conftest.er1 >conftest.err
8427 <  rm -f conftest.er1
8428 <  cat conftest.err >&5
8429 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 <  (exit $ac_status); } >/dev/null; then
8431 <  if test -s conftest.err; then
8432 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8433 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8434 <  else
8435 <    ac_cpp_err=
8436 <  fi
8437 < else
8438 <  ac_cpp_err=yes
8439 < fi
8440 < if test -z "$ac_cpp_err"; then
8441 <  :
8442 < else
8443 <  echo "$as_me: failed program was:" >&5
8444 < sed 's/^/| /' conftest.$ac_ext >&5
8445 <
8446 <  # Broken: fails on valid input.
8447 < continue
8448 < fi
8449 < rm -f conftest.err conftest.$ac_ext
8450 <
8451 <  # OK, works on sane cases.  Now check whether non-existent headers
8452 <  # can be detected and how.
8453 <  cat >conftest.$ac_ext <<_ACEOF
8454 < /* confdefs.h.  */
8455 < _ACEOF
8456 < cat confdefs.h >>conftest.$ac_ext
8457 < cat >>conftest.$ac_ext <<_ACEOF
8458 < /* end confdefs.h.  */
8459 < #include <ac_nonexistent.h>
8460 < _ACEOF
8461 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8462 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8463 <  ac_status=$?
8464 <  grep -v '^ *+' conftest.er1 >conftest.err
8465 <  rm -f conftest.er1
8466 <  cat conftest.err >&5
8467 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 <  (exit $ac_status); } >/dev/null; then
8469 <  if test -s conftest.err; then
8470 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8471 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8472 <  else
8473 <    ac_cpp_err=
8474 <  fi
8475 < else
8476 <  ac_cpp_err=yes
8477 < fi
8478 < if test -z "$ac_cpp_err"; then
8479 <  # Broken: success on invalid input.
8480 < continue
8481 < else
8482 <  echo "$as_me: failed program was:" >&5
8483 < sed 's/^/| /' conftest.$ac_ext >&5
8484 <
8485 <  # Passes both tests.
8486 < ac_preproc_ok=:
8487 < break
8488 < fi
8489 < rm -f conftest.err conftest.$ac_ext
8490 <
8491 < done
8492 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8493 < rm -f conftest.err conftest.$ac_ext
8494 < if $ac_preproc_ok; then
8495 <  :
8496 < else
8497 <  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8498 < See \`config.log' for more details." >&5
8499 < echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8500 < See \`config.log' for more details." >&2;}
8501 <   { (exit 1); exit 1; }; }
8502 < fi
8503 <
8504 < ac_ext=cc
8505 < ac_cpp='$CXXCPP $CPPFLAGS'
8506 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8507 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8508 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8509 <
8510 <
8511 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8512 <  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8513 < echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8514 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8515 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8516 < fi
8517 < echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8518 < echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8519 < else
8520 <  # Is the header compilable?
8521 < echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
8522 < echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
8523 < cat >conftest.$ac_ext <<_ACEOF
8524 < /* confdefs.h.  */
8525 < _ACEOF
8526 < cat confdefs.h >>conftest.$ac_ext
8527 < cat >>conftest.$ac_ext <<_ACEOF
8528 < /* end confdefs.h.  */
8529 < $ac_includes_default
8530 < #include <CGAL/Cartesian.h>
8531 < _ACEOF
8532 < rm -f conftest.$ac_objext
8533 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8534 <  (eval $ac_compile) 2>conftest.er1
8535 <  ac_status=$?
8536 <  grep -v '^ *+' conftest.er1 >conftest.err
8537 <  rm -f conftest.er1
8538 <  cat conftest.err >&5
8539 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 <  (exit $ac_status); } &&
8541 <         { ac_try='test -z "$ac_cxx_werror_flag"
8542 <                         || test ! -s conftest.err'
8543 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 <  (eval $ac_try) 2>&5
8545 <  ac_status=$?
8546 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 <  (exit $ac_status); }; } &&
8548 <         { ac_try='test -s conftest.$ac_objext'
8549 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 <  (eval $ac_try) 2>&5
8551 <  ac_status=$?
8552 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 <  (exit $ac_status); }; }; then
8554 <  ac_header_compiler=yes
8555 < else
8556 <  echo "$as_me: failed program was:" >&5
8557 < sed 's/^/| /' conftest.$ac_ext >&5
8558 <
8559 < ac_header_compiler=no
8560 < fi
8561 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8562 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8563 < echo "${ECHO_T}$ac_header_compiler" >&6
8564 <
8565 < # Is the header present?
8566 < echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
8567 < echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
8568 < cat >conftest.$ac_ext <<_ACEOF
8569 < /* confdefs.h.  */
8570 < _ACEOF
8571 < cat confdefs.h >>conftest.$ac_ext
8572 < cat >>conftest.$ac_ext <<_ACEOF
8573 < /* end confdefs.h.  */
8574 < #include <CGAL/Cartesian.h>
8575 < _ACEOF
8576 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8577 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8578 <  ac_status=$?
8579 <  grep -v '^ *+' conftest.er1 >conftest.err
8580 <  rm -f conftest.er1
8581 <  cat conftest.err >&5
8582 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 <  (exit $ac_status); } >/dev/null; then
8584 <  if test -s conftest.err; then
8585 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8586 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8587 <  else
8588 <    ac_cpp_err=
8589 <  fi
8590 < else
8591 <  ac_cpp_err=yes
8592 < fi
8593 < if test -z "$ac_cpp_err"; then
8594 <  ac_header_preproc=yes
8595 < else
8596 <  echo "$as_me: failed program was:" >&5
8597 < sed 's/^/| /' conftest.$ac_ext >&5
8598 <
8599 <  ac_header_preproc=no
8600 < fi
8601 < rm -f conftest.err conftest.$ac_ext
8602 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8603 < echo "${ECHO_T}$ac_header_preproc" >&6
8604 <
8605 < # So?  What about this header?
8606 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8607 <  yes:no: )
8608 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
8609 < echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8610 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
8611 < echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
8612 <    ac_header_preproc=yes
8613 <    ;;
8614 <  no:yes:* )
8615 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
8616 < echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
8617 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
8618 < echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
8619 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
8620 < echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
8621 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
8622 < echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8623 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
8624 < echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
8625 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
8626 < echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
8627 <    (
8628 <      cat <<\_ASBOX
8629 < ## ------------------------------ ##
8630 < ## Report this to gezelter@nd.edu ##
8631 < ## ------------------------------ ##
8632 < _ASBOX
8633 <    ) |
8634 <      sed "s/^/$as_me: WARNING:     /" >&2
8635 <    ;;
8636 < esac
8637 < echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8638 < echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8639 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8640 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8641 < else
8642 <  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
8643 < fi
8644 < echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8645 < echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8646 <
8647 < fi
8648 < if test $ac_cv_header_CGAL_Cartesian_h = yes; then
8649 <  cgal=yes
8650 < else
8651 <  cgal=no
8652 < fi
8653 <
8654 <
8655 <    CXXFLAGS="$save_CXXFLAGS"
8656 <
8657 <    if test "x$cgal" = xyes; then
8658 <      echo "$as_me:$LINENO: checking for CGAL version" >&5
8659 < echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
8660 <      LOCATION=${CGAL_INCLDIR}
8661 <      LOCATION=${LOCATION:-/usr/include}
8662 <      if test -f $LOCATION/CGAL/version.h; then
8663 <        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
8664 <      else
8665 <        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
8666 <      fi
8667 <      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
8668 <        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
8669 < echo "${ECHO_T}($CGAL_VERSION) yes" >&6
8670 <      else
8671 <        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
8672 < echo "${ECHO_T}($CGAL_VERSION) no" >&6
8673 <        cgal=no
8674 <      fi
8675 <    fi
8676 <
8677 <    if test "x$cgal" = xyes; then
8678 <      CGAL_LIBS="-lCGAL"
8679 <      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
8680 < echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
8681 <      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
8682 <        CGAL_USES_LEDA=yes
8683 <        echo "$as_me:$LINENO: result: yes" >&5
8684 < echo "${ECHO_T}yes" >&6
8685 <        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
8686 <      else
8687 <        echo "$as_me:$LINENO: result: no" >&5
8688 < echo "${ECHO_T}no" >&6
8689 <        CGAL_USES_LEDA=no
8690 <      fi
8691 <
8692 <      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
8693 < echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
8694 <      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
8695 <        CGAL_USES_GMP=yes
8696 <        echo "$as_me:$LINENO: result: yes" >&5
8697 < echo "${ECHO_T}yes" >&6
8698 <        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
8699 <      else
8700 <        echo "$as_me:$LINENO: result: no" >&5
8701 < echo "${ECHO_T}no" >&6
8702 <        CGAL_USES_GMP=no
8703 <      fi
8704 <
8705 <      CGAL_LIBS="$CGAL_LIBS -lm"
8706 <
8707 <      CGAL_CXXFLAGS="-ftemplate-depth-50"
8708 <
8709 <      echo "CGAL_USES_LEDA     $CGAL_USES_LEDA"
8710 <      echo "CGAL_USES_GMP      $CGAL_USES_GMP"
8711 <      echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8712 <      echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8713 <      echo "CGAL_DEFINES       $CGAL_DEFINES"
8714 <      echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8715 <      echo "CGAL_LIBS          $CGAL_LIBS"
8716 <    fi
8717 <
8718 <    if test "x$cgal" = xyes; then
8719 <      save_LIBS="$LIBS"
8720 <      LIBS="$LIBS -L$CGAL_LIBDIR"
8721 <      if test "x$CGAL_USES_LEDA" = xyes; then
8722 <        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
8723 <      fi
8724 <      # if test "x$CGAL_USES_GMP" = xyes; then
8725 <      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
8726 <      # fi
8727 <      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
8728 < echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
8729 < save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
8730 < CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8731 < save_LIBS_CHECK_CXX_LIB="$LIBS"
8732 < LIBS="-lCGAL  $LIBS"
8733 < cat >conftest.$ac_ext <<_ACEOF
8734 < /* confdefs.h.  */
8735 < _ACEOF
8736 < cat confdefs.h >>conftest.$ac_ext
8737 < cat >>conftest.$ac_ext <<_ACEOF
8738 < /* end confdefs.h.  */
8739 < #include <CGAL/Cartesian.h>
8740 < int
8741 < main ()
8742 < {
8743 < ::CGAL::Cartesian<int>::Point_2 P
8744 <  ;
8745 <  return 0;
8746 < }
8747 < _ACEOF
8748 < rm -f conftest.$ac_objext conftest$ac_exeext
8749 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8750 <  (eval $ac_link) 2>conftest.er1
8751 <  ac_status=$?
8752 <  grep -v '^ *+' conftest.er1 >conftest.err
8753 <  rm -f conftest.er1
8754 <  cat conftest.err >&5
8755 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 <  (exit $ac_status); } &&
8757 <         { ac_try='test -z "$ac_cxx_werror_flag"
8758 <                         || test ! -s conftest.err'
8759 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 <  (eval $ac_try) 2>&5
8761 <  ac_status=$?
8762 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 <  (exit $ac_status); }; } &&
8764 <         { ac_try='test -s conftest$ac_exeext'
8765 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 <  (eval $ac_try) 2>&5
8767 <  ac_status=$?
8768 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 <  (exit $ac_status); }; }; then
8770 <  echo "$as_me:$LINENO: result: yes" >&5
8771 < echo "${ECHO_T}yes" >&6
8772 < cgal=yes
8773 < else
8774 <  echo "$as_me: failed program was:" >&5
8775 < sed 's/^/| /' conftest.$ac_ext >&5
8776 <
8777 < echo "$as_me:$LINENO: result: no" >&5
8778 < echo "${ECHO_T}no" >&6
8779 < cgal=no
8780 < fi
8781 < rm -f conftest.err conftest.$ac_objext \
8782 <      conftest$ac_exeext conftest.$ac_ext
8783 < CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
8784 < LIBS="$save_LIBS_CHECK_CXX_LIB"
8785 <      LIBS="$save_LIBS"
8786 <    fi
8787 <
8788 <  fi
8789 <  ac_ext=c
8790 < ac_cpp='$CPP $CPPFLAGS'
8791 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8792 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8793 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8794 <
8795 <
8796 < fi
8797 <
8798 < if test "x$cgal" = xyes; then
8799 <  USE_CGAL=yes
8800 <
8801 < cat >>confdefs.h <<\_ACEOF
8802 < #define HAVE_CGAL 1
8803 < _ACEOF
8804 <
8805 <
8806 < cat >>confdefs.h <<_ACEOF
8807 < #define CGAL_VERSION $CGAL_VERSION
8808 < _ACEOF
8809 <
8810 <  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
8811 <    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8812 < echo "$as_me: WARNING: *****************************************************" >&2;}
8813 <    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
8814 < echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
8815 <    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
8816 < echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
8817 <    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8818 < echo "$as_me: WARNING: *****************************************************" >&2;}
8819 <  fi
8820 < else
8821 <   if test "x$cgal_makefile" != xno; then
8822 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8823 < echo "$as_me: WARNING: *********************************************************" >&2;}
8824 <    { echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found.                      ***" >&5
8825 < echo "$as_me: WARNING: *** Warning: CGAL was not found.                      ***" >&2;}
8826 <    { echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&5
8827 < echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&2;}
8828 <    { echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled.                    ***" >&5
8829 < echo "$as_me: WARNING: *** CGAL support will be disabled.                    ***" >&2;}
8830 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8831 < echo "$as_me: WARNING: *********************************************************" >&2;}
8832 <  fi
8833 <  CGAL_INCLDIR=
8834 <  CGAL_LIBDIR=
8835 <  CGAL_RLIBDIR=
8836 <  CGAL_DEFINES=
8837 <  CGAL_CXXFLAGS=
8838 <  CGAL_LIBS=
8839 < fi
8840 <
8841 <
8842 < CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
8843 <
8844 < CGAL_LIB_DIR=${CGAL_LIBDIR}
8845 <
8846 < CGAL_RLIB_DIR=${CGAL_RLIBDIR}
8847 <
8848 <
8849 <
8850 <
8851 <
8852 <
8853 <
8854 < # Check whether --enable-doxygen or --disable-doxygen was given.
8855 < if test "${enable_doxygen+set}" = set; then
8856 <  enableval="$enable_doxygen"
8857 <
8858 < fi;
8859 < # Check whether --enable-dot or --disable-dot was given.
8860 < if test "${enable_dot+set}" = set; then
8861 <  enableval="$enable_dot"
8862 <
8863 < fi;
8864 < # Check whether --enable-html-docs or --disable-html-docs was given.
8865 < if test "${enable_html_docs+set}" = set; then
8866 <  enableval="$enable_html_docs"
8867 <
8868 < else
8869 <   enable_html_docs=yes
8870 < fi;
8871 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
8872 < if test "${enable_latex_docs+set}" = set; then
8873 <  enableval="$enable_latex_docs"
8874 <
8875 < else
8876 <   enable_latex_docs=no
8877 < fi;
8878 < if test "x$enable_doxygen" = xno; then
8879 <        enable_doc=no
8880 < else
8881 <        # Extract the first word of "doxygen", so it can be a program name with args.
8882 < set dummy doxygen; ac_word=$2
8883 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8884 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8885 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
8886 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8887 < else
8888 <  case $DOXYGEN in
8889 <  [\\/]* | ?:[\\/]*)
8890 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8891 <  ;;
8892 <  *)
8893 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8894 < for as_dir in $PATH
8895 < do
8896 <  IFS=$as_save_IFS
8897 <  test -z "$as_dir" && as_dir=.
8898 <  for ac_exec_ext in '' $ac_executable_extensions; do
8899 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8900 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8901 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8902 <    break 2
8903 <  fi
8904 < done
8905 < done
8906 <
8907 <  ;;
8908 < esac
8909 < fi
8910 < DOXYGEN=$ac_cv_path_DOXYGEN
8911 <
8912 < if test -n "$DOXYGEN"; then
8913 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8914 < echo "${ECHO_T}$DOXYGEN" >&6
8915 < else
8916 <  echo "$as_me:$LINENO: result: no" >&5
8917 < echo "${ECHO_T}no" >&6
8918 < fi
8919 <
8920 <        if test "x$DOXYGEN" = x; then
8921 <                if test "x$enable_doxygen" = xyes; then
8922 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8923 < echo "$as_me: error: could not find doxygen" >&2;}
8924 <   { (exit 1); exit 1; }; }
8925 <                fi
8926 <                enable_doc=no
8927 <        else
8928 <                enable_doc=yes
8929 <                # Extract the first word of "dot", so it can be a program name with args.
8930 < set dummy dot; ac_word=$2
8931 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8932 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8933 < if test "${ac_cv_path_DOT+set}" = set; then
8934 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8935 < else
8936 <  case $DOT in
8937 <  [\\/]* | ?:[\\/]*)
8938 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8939 <  ;;
8940 <  *)
8941 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8942 < for as_dir in $PATH
8943 < do
8944 <  IFS=$as_save_IFS
8945 <  test -z "$as_dir" && as_dir=.
8946 <  for ac_exec_ext in '' $ac_executable_extensions; do
8947 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8948 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8949 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8950 <    break 2
8951 <  fi
8952 < done
8953 < done
8954 <
8955 <  ;;
8956 < esac
8957 < fi
8958 < DOT=$ac_cv_path_DOT
8959 <
8960 < if test -n "$DOT"; then
8961 <  echo "$as_me:$LINENO: result: $DOT" >&5
8962 < echo "${ECHO_T}$DOT" >&6
8963 < else
8964 <  echo "$as_me:$LINENO: result: no" >&5
8965 < echo "${ECHO_T}no" >&6
8966 < fi
8967 <
8968 <        fi
8969 < fi
8970 <
8971 < if test "x$enable_doc" = xyes; then
8972 <  DOC=1
8973 < else
8974 <  DOC=0
8975 < fi
8976 <
8977 <
8978 < if test x$DOT = x; then
8979 <        if test "x$enable_dot" = xyes; then
8980 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8981 < echo "$as_me: error: could not find dot" >&2;}
8982 <   { (exit 1); exit 1; }; }
8983 <        fi
8984 <        enable_dot=no
8985 < else
8986 <        enable_dot=yes
8987 < fi
8988 <
8989 <
8990 <
8991 <
8992 <
8993 <
8994 <
8995 < OBJEXT=".$OBJEXT"
8996 <
8997 < OOPSE=oopse
8998 <
8999 < if test "x${prefix}" = "xNONE"
9000 < then
9001 <  OOPSE_HOME=${ac_default_prefix}/oopse
9002 < else
9003 <  OOPSE_HOME=${prefix}/oopse
9004 < fi
9005 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
9006 < if test "${enable_oopse_home+set}" = set; then
9007 <  enableval="$enable_oopse_home"
9008 <  OOPSE_HOME="${enableval}"
9009 < fi;
9010 <
9011 < case "x$INSTALL" in
9012 <   x/*) ;;
9013 <   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
9014 < esac
9015 <
9016 < MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
9017 <
9018 < CFLAGS=${CFLAGS-""}
9019 < CXXFLAGS=${CXXFLAGS-""}
9020 < CPPFLAGS=${CPPFLAGS-""}
9021 < FFLAGS=${FFLAGS-""}
9022 < F90FLAGS=${F90FLAGS-""}
9023 < LDFLAGS=${LDFLAGS-""}
9024 < DEBUG=${DEBUG-"-g"}
9025 <
9026 < case $debug in
9027 <  1)
9028 <     FFLAGS="$DEBUG $FFLAGS"
9029 <     F90FLAGS="$DEBUG $F90FLAGS"
9030 <     ;;
9031 <  *)
9032 <     ;;
9033 < esac
9034 <
9035 <
9036 <
9037 <
9038 <
9039 <
9040 <
9041 <
9042 <
9043 <
9044 <
9045 <
9046 <
9047 <
9048 <
9049 <
9050 <
9051 <
9052 <          ac_config_headers="$ac_config_headers src/config.h"
9053 <
9054 <                              ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile"
9055 <
9056 <
9057 < cat >confcache <<\_ACEOF
9058 < # This file is a shell script that caches the results of configure
9059 < # tests run on this system so they can be shared between configure
9060 < # scripts and configure runs, see configure's option --config-cache.
9061 < # It is not useful on other systems.  If it contains results you don't
9062 < # want to keep, you may remove or edit it.
9063 < #
9064 < # config.status only pays attention to the cache file if you give it
9065 < # the --recheck option to rerun configure.
9066 < #
9067 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
9068 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
9069 < # following values.
9070 <
9071 < _ACEOF
9072 <
9073 < # The following way of writing the cache mishandles newlines in values,
9074 < # but we know of no workaround that is simple, portable, and efficient.
9075 < # So, don't put newlines in cache variables' values.
9076 < # Ultrix sh set writes to stderr and can't be redirected directly,
9077 < # and sets the high bit in the cache file unless we assign to the vars.
9078 < {
9079 <  (set) 2>&1 |
9080 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9081 <    *ac_space=\ *)
9082 <      # `set' does not quote correctly, so add quotes (double-quote
9083 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
9084 <      sed -n \
9085 <        "s/'/'\\\\''/g;
9086 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9087 <      ;;
9088 <    *)
9089 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
9090 <      sed -n \
9091 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9092 <      ;;
9093 <    esac;
9094 < } |
9095 <  sed '
9096 <     t clear
9097 <     : clear
9098 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9099 <     t end
9100 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9101 <     : end' >>confcache
9102 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
9103 <  if test -w $cache_file; then
9104 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9105 <    cat confcache >$cache_file
9106 <  else
9107 <    echo "not updating unwritable cache $cache_file"
9108 <  fi
9109 < fi
9110 < rm -f confcache
9111 <
9112 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
9113 < # Let make expand exec_prefix.
9114 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9115 <
9116 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
9117 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9118 < # trailing colons and then remove the whole line if VPATH becomes empty
9119 < # (actually we leave an empty line to preserve line numbers).
9120 < if test "x$srcdir" = x.; then
9121 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
9122 < s/:*\$(srcdir):*/:/;
9123 < s/:*\${srcdir}:*/:/;
9124 < s/:*@srcdir@:*/:/;
9125 < s/^\([^=]*=[     ]*\):*/\1/;
9126 < s/:*$//;
9127 < s/^[^=]*=[       ]*$//;
9128 < }'
9129 < fi
9130 <
9131 < DEFS=-DHAVE_CONFIG_H
9132 <
9133 < ac_libobjs=
9134 < ac_ltlibobjs=
9135 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9136 <  # 1. Remove the extension, and $U if already installed.
9137 <  ac_i=`echo "$ac_i" |
9138 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9139 <  # 2. Add them.
9140 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9141 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9142 < done
9143 < LIBOBJS=$ac_libobjs
9144 <
9145 < LTLIBOBJS=$ac_ltlibobjs
9146 <
9147 <
9148 <
9149 < : ${CONFIG_STATUS=./config.status}
9150 < ac_clean_files_save=$ac_clean_files
9151 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9152 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9153 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
9154 < cat >$CONFIG_STATUS <<_ACEOF
9155 < #! $SHELL
9156 < # Generated by $as_me.
9157 < # Run this file to recreate the current configuration.
9158 < # Compiler output produced by configure, useful for debugging
9159 < # configure, is in config.log if it exists.
9160 <
9161 < debug=false
9162 < ac_cs_recheck=false
9163 < ac_cs_silent=false
9164 < SHELL=\${CONFIG_SHELL-$SHELL}
9165 < _ACEOF
9166 <
9167 < cat >>$CONFIG_STATUS <<\_ACEOF
9168 < ## --------------------- ##
9169 < ## M4sh Initialization.  ##
9170 < ## --------------------- ##
9171 <
9172 < # Be Bourne compatible
9173 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9174 <  emulate sh
9175 <  NULLCMD=:
9176 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9177 <  # is contrary to our usage.  Disable this feature.
9178 <  alias -g '${1+"$@"}'='"$@"'
9179 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9180 <  set -o posix
9181 < fi
9182 < DUALCASE=1; export DUALCASE # for MKS sh
9183 <
9184 < # Support unset when possible.
9185 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9186 <  as_unset=unset
9187 < else
9188 <  as_unset=false
9189 < fi
9190 <
9191 <
9192 < # Work around bugs in pre-3.0 UWIN ksh.
9193 < $as_unset ENV MAIL MAILPATH
9194 < PS1='$ '
9195 < PS2='> '
9196 < PS4='+ '
9197 <
9198 < # NLS nuisances.
9199 < for as_var in \
9200 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9201 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9202 <  LC_TELEPHONE LC_TIME
9203 < do
9204 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9205 <    eval $as_var=C; export $as_var
9206 <  else
9207 <    $as_unset $as_var
9208 <  fi
9209 < done
9210 <
9211 < # Required to use basename.
9212 < if expr a : '\(a\)' >/dev/null 2>&1; then
9213 <  as_expr=expr
9214 < else
9215 <  as_expr=false
9216 < fi
9217 <
9218 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9219 <  as_basename=basename
9220 < else
9221 <  as_basename=false
9222 < fi
9223 <
9224 <
9225 < # Name of the executable.
9226 < as_me=`$as_basename "$0" ||
9227 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9228 <         X"$0" : 'X\(//\)$' \| \
9229 <         X"$0" : 'X\(/\)$' \| \
9230 <         .     : '\(.\)' 2>/dev/null ||
9231 < echo X/"$0" |
9232 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9233 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
9234 <          /^X\/\(\/\).*/{ s//\1/; q; }
9235 <          s/.*/./; q'`
9236 <
9237 <
9238 < # PATH needs CR, and LINENO needs CR and PATH.
9239 < # Avoid depending upon Character Ranges.
9240 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9241 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9242 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9243 < as_cr_digits='0123456789'
9244 < as_cr_alnum=$as_cr_Letters$as_cr_digits
9245 <
9246 < # The user is always right.
9247 < if test "${PATH_SEPARATOR+set}" != set; then
9248 <  echo "#! /bin/sh" >conf$$.sh
9249 <  echo  "exit 0"   >>conf$$.sh
9250 <  chmod +x conf$$.sh
9251 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9252 <    PATH_SEPARATOR=';'
9253 <  else
9254 <    PATH_SEPARATOR=:
9255 <  fi
9256 <  rm -f conf$$.sh
9257 < fi
9258 <
9259 <
9260 <  as_lineno_1=$LINENO
9261 <  as_lineno_2=$LINENO
9262 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9263 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9264 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
9265 <  # Find who we are.  Look in the path if we contain no path at all
9266 <  # relative or not.
9267 <  case $0 in
9268 <    *[\\/]* ) as_myself=$0 ;;
9269 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9270 < for as_dir in $PATH
9271 < do
9272 <  IFS=$as_save_IFS
9273 <  test -z "$as_dir" && as_dir=.
9274 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9275 < done
9276 <
9277 <       ;;
9278 <  esac
9279 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
9280 <  # in which case we are not to be found in the path.
9281 <  if test "x$as_myself" = x; then
9282 <    as_myself=$0
9283 <  fi
9284 <  if test ! -f "$as_myself"; then
9285 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9286 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9287 <   { (exit 1); exit 1; }; }
9288 <  fi
9289 <  case $CONFIG_SHELL in
9290 <  '')
9291 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9292 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9293 < do
9294 <  IFS=$as_save_IFS
9295 <  test -z "$as_dir" && as_dir=.
9296 <  for as_base in sh bash ksh sh5; do
9297 <         case $as_dir in
9298 <         /*)
9299 <           if ("$as_dir/$as_base" -c '
9300 <  as_lineno_1=$LINENO
9301 <  as_lineno_2=$LINENO
9302 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9303 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9304 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
9305 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9306 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9307 <             CONFIG_SHELL=$as_dir/$as_base
9308 <             export CONFIG_SHELL
9309 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9310 <           fi;;
9311 <         esac
9312 <       done
9313 < done
9314 < ;;
9315 <  esac
9316 <
9317 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9318 <  # uniformly replaced by the line number.  The first 'sed' inserts a
9319 <  # line-number line before each line; the second 'sed' does the real
9320 <  # work.  The second script uses 'N' to pair each line-number line
9321 <  # with the numbered line, and appends trailing '-' during
9322 <  # substitution so that $LINENO is not a special case at line end.
9323 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9324 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
9325 <  sed '=' <$as_myself |
9326 <    sed '
9327 <      N
9328 <      s,$,-,
9329 <      : loop
9330 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9331 <      t loop
9332 <      s,-$,,
9333 <      s,^['$as_cr_digits']*\n,,
9334 <    ' >$as_me.lineno &&
9335 <  chmod +x $as_me.lineno ||
9336 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9337 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9338 <   { (exit 1); exit 1; }; }
9339 <
9340 <  # Don't try to exec as it changes $[0], causing all sort of problems
9341 <  # (the dirname of $[0] is not the place where we might find the
9342 <  # original and so on.  Autoconf is especially sensible to this).
9343 <  . ./$as_me.lineno
9344 <  # Exit status is that of the last command.
9345 <  exit
9346 < }
9347 <
9348 <
9349 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9350 <  *c*,-n*) ECHO_N= ECHO_C='
9351 < ' ECHO_T='      ' ;;
9352 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9353 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
9354 < esac
9355 <
9356 < if expr a : '\(a\)' >/dev/null 2>&1; then
9357 <  as_expr=expr
9358 < else
9359 <  as_expr=false
9360 < fi
9361 <
9362 < rm -f conf$$ conf$$.exe conf$$.file
9363 < echo >conf$$.file
9364 < if ln -s conf$$.file conf$$ 2>/dev/null; then
9365 <  # We could just check for DJGPP; but this test a) works b) is more generic
9366 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9367 <  if test -f conf$$.exe; then
9368 <    # Don't use ln at all; we don't have any links
9369 <    as_ln_s='cp -p'
9370 <  else
9371 <    as_ln_s='ln -s'
9372 <  fi
9373 < elif ln conf$$.file conf$$ 2>/dev/null; then
9374 <  as_ln_s=ln
9375 < else
9376 <  as_ln_s='cp -p'
9377 < fi
9378 < rm -f conf$$ conf$$.exe conf$$.file
9379 <
9380 < if mkdir -p . 2>/dev/null; then
9381 <  as_mkdir_p=:
9382 < else
9383 <  test -d ./-p && rmdir ./-p
9384 <  as_mkdir_p=false
9385 < fi
9386 <
9387 < as_executable_p="test -f"
9388 <
9389 < # Sed expression to map a string onto a valid CPP name.
9390 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9391 <
9392 < # Sed expression to map a string onto a valid variable name.
9393 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9394 <
9395 <
9396 < # IFS
9397 < # We need space, tab and new line, in precisely that order.
9398 < as_nl='
9399 < '
9400 < IFS="   $as_nl"
9401 <
9402 < # CDPATH.
9403 < $as_unset CDPATH
9404 <
9405 < exec 6>&1
9406 <
9407 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
9408 < # report actual input values of CONFIG_FILES etc. instead of their
9409 < # values after options handling.  Logging --version etc. is OK.
9410 < exec 5>>config.log
9411 < {
9412 <  echo
9413 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9414 < ## Running $as_me. ##
9415 < _ASBOX
9416 < } >&5
9417 < cat >&5 <<_CSEOF
9418 <
9419 < This file was extended by OOPSE $as_me 2.0, which was
9420 < generated by GNU Autoconf 2.59.  Invocation command line was
9421 <
9422 <  CONFIG_FILES    = $CONFIG_FILES
9423 <  CONFIG_HEADERS  = $CONFIG_HEADERS
9424 <  CONFIG_LINKS    = $CONFIG_LINKS
9425 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
9426 <  $ $0 $@
9427 <
9428 < _CSEOF
9429 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9430 < echo >&5
9431 < _ACEOF
9432 <
9433 < # Files that config.status was made for.
9434 < if test -n "$ac_config_files"; then
9435 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9436 < fi
9437 <
9438 < if test -n "$ac_config_headers"; then
9439 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9440 < fi
9441 <
9442 < if test -n "$ac_config_links"; then
9443 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9444 < fi
9445 <
9446 < if test -n "$ac_config_commands"; then
9447 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9448 < fi
9449 <
9450 < cat >>$CONFIG_STATUS <<\_ACEOF
9451 <
9452 < ac_cs_usage="\
9453 < \`$as_me' instantiates files from templates according to the
9454 < current configuration.
9455 <
9456 < Usage: $0 [OPTIONS] [FILE]...
9457 <
9458 <  -h, --help       print this help, then exit
9459 <  -V, --version    print version number, then exit
9460 <  -q, --quiet      do not print progress messages
9461 <  -d, --debug      don't remove temporary files
9462 <      --recheck    update $as_me by reconfiguring in the same conditions
9463 <  --file=FILE[:TEMPLATE]
9464 <                   instantiate the configuration file FILE
9465 <  --header=FILE[:TEMPLATE]
9466 <                   instantiate the configuration header FILE
9467 <
9468 < Configuration files:
9469 < $config_files
9470 <
9471 < Configuration headers:
9472 < $config_headers
9473 <
9474 < Configuration links:
9475 < $config_links
9476 <
9477 < Report bugs to <bug-autoconf@gnu.org>."
9478 < _ACEOF
9479 <
9480 < cat >>$CONFIG_STATUS <<_ACEOF
9481 < ac_cs_version="\\
9482 < OOPSE config.status 2.0
9483 < configured by $0, generated by GNU Autoconf 2.59,
9484 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9485 <
9486 < Copyright (C) 2003 Free Software Foundation, Inc.
9487 < This config.status script is free software; the Free Software Foundation
9488 < gives unlimited permission to copy, distribute and modify it."
9489 < srcdir=$srcdir
9490 < INSTALL="$INSTALL"
9491 < _ACEOF
9492 <
9493 < cat >>$CONFIG_STATUS <<\_ACEOF
9494 < # If no file are specified by the user, then we need to provide default
9495 < # value.  By we need to know if files were specified by the user.
9496 < ac_need_defaults=:
9497 < while test $# != 0
9498 < do
9499 <  case $1 in
9500 <  --*=*)
9501 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
9502 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9503 <    ac_shift=:
9504 <    ;;
9505 <  -*)
9506 <    ac_option=$1
9507 <    ac_optarg=$2
9508 <    ac_shift=shift
9509 <    ;;
9510 <  *) # This is not an option, so the user has probably given explicit
9511 <     # arguments.
9512 <     ac_option=$1
9513 <     ac_need_defaults=false;;
9514 <  esac
9515 <
9516 <  case $ac_option in
9517 <  # Handling of the options.
9518 < _ACEOF
9519 < cat >>$CONFIG_STATUS <<\_ACEOF
9520 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9521 <    ac_cs_recheck=: ;;
9522 <  --version | --vers* | -V )
9523 <    echo "$ac_cs_version"; exit 0 ;;
9524 <  --he | --h)
9525 <    # Conflict between --help and --header
9526 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
9527 < Try \`$0 --help' for more information." >&5
9528 < echo "$as_me: error: ambiguous option: $1
9529 < Try \`$0 --help' for more information." >&2;}
9530 <   { (exit 1); exit 1; }; };;
9531 <  --help | --hel | -h )
9532 <    echo "$ac_cs_usage"; exit 0 ;;
9533 <  --debug | --d* | -d )
9534 <    debug=: ;;
9535 <  --file | --fil | --fi | --f )
9536 <    $ac_shift
9537 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9538 <    ac_need_defaults=false;;
9539 <  --header | --heade | --head | --hea )
9540 <    $ac_shift
9541 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9542 <    ac_need_defaults=false;;
9543 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9544 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9545 <    ac_cs_silent=: ;;
9546 <
9547 <  # This is an error.
9548 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9549 < Try \`$0 --help' for more information." >&5
9550 < echo "$as_me: error: unrecognized option: $1
9551 < Try \`$0 --help' for more information." >&2;}
9552 <   { (exit 1); exit 1; }; } ;;
9553 <
9554 <  *) ac_config_targets="$ac_config_targets $1" ;;
9555 <
9556 <  esac
9557 <  shift
9558 < done
9559 <
9560 < ac_configure_extra_args=
9561 <
9562 < if $ac_cs_silent; then
9563 <  exec 6>/dev/null
9564 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
9565 < fi
9566 <
9567 < _ACEOF
9568 < cat >>$CONFIG_STATUS <<_ACEOF
9569 < if \$ac_cs_recheck; then
9570 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9571 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9572 < fi
9573 <
9574 < _ACEOF
9575 <
9576 <
9577 <
9578 <
9579 <
9580 < cat >>$CONFIG_STATUS <<\_ACEOF
9581 < for ac_config_target in $ac_config_targets
9582 < do
9583 <  case "$ac_config_target" in
9584 <  # Handling of arguments.
9585 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9586 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9587 <  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9588 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9589 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9590 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9591 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9592 <   { (exit 1); exit 1; }; };;
9593 <  esac
9594 < done
9595 <
9596 < # If the user did not use the arguments to specify the items to instantiate,
9597 < # then the envvar interface is used.  Set only those that are not.
9598 < # We use the long form for the default assignment because of an extremely
9599 < # bizarre bug on SunOS 4.1.3.
9600 < if $ac_need_defaults; then
9601 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9602 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9603 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
9604 < fi
9605 <
9606 < # Have a temporary directory for convenience.  Make it in the build tree
9607 < # simply because there is no reason to put it here, and in addition,
9608 < # creating and moving files from /tmp can sometimes cause problems.
9609 < # Create a temporary directory, and hook for its removal unless debugging.
9610 < $debug ||
9611 < {
9612 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9613 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
9614 < }
9615 <
9616 < # Create a (secure) tmp directory for tmp files.
9617 <
9618 < {
9619 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9620 <  test -n "$tmp" && test -d "$tmp"
9621 < }  ||
9622 < {
9623 <  tmp=./confstat$$-$RANDOM
9624 <  (umask 077 && mkdir $tmp)
9625 < } ||
9626 < {
9627 <   echo "$me: cannot create a temporary directory in ." >&2
9628 <   { (exit 1); exit 1; }
9629 < }
9630 <
9631 < _ACEOF
9632 <
9633 < cat >>$CONFIG_STATUS <<_ACEOF
9634 <
9635 < #
9636 < # CONFIG_FILES section.
9637 < #
9638 <
9639 < # No need to generate the scripts if there are no CONFIG_FILES.
9640 < # This happens for instance when ./config.status config.h
9641 < if test -n "\$CONFIG_FILES"; then
9642 <  # Protect against being on the right side of a sed subst in config.status.
9643 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9644 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9645 < s,@SHELL@,$SHELL,;t t
9646 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9647 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9648 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9649 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9650 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9651 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9652 < s,@exec_prefix@,$exec_prefix,;t t
9653 < s,@prefix@,$prefix,;t t
9654 < s,@program_transform_name@,$program_transform_name,;t t
9655 < s,@bindir@,$bindir,;t t
9656 < s,@sbindir@,$sbindir,;t t
9657 < s,@libexecdir@,$libexecdir,;t t
9658 < s,@datadir@,$datadir,;t t
9659 < s,@sysconfdir@,$sysconfdir,;t t
9660 < s,@sharedstatedir@,$sharedstatedir,;t t
9661 < s,@localstatedir@,$localstatedir,;t t
9662 < s,@libdir@,$libdir,;t t
9663 < s,@includedir@,$includedir,;t t
9664 < s,@oldincludedir@,$oldincludedir,;t t
9665 < s,@infodir@,$infodir,;t t
9666 < s,@mandir@,$mandir,;t t
9667 < s,@build_alias@,$build_alias,;t t
9668 < s,@host_alias@,$host_alias,;t t
9669 < s,@target_alias@,$target_alias,;t t
9670 < s,@DEFS@,$DEFS,;t t
9671 < s,@ECHO_C@,$ECHO_C,;t t
9672 < s,@ECHO_N@,$ECHO_N,;t t
9673 < s,@ECHO_T@,$ECHO_T,;t t
9674 < s,@LIBS@,$LIBS,;t t
9675 < s,@PROGNAME@,$PROGNAME,;t t
9676 < s,@debug@,$debug,;t t
9677 < s,@build@,$build,;t t
9678 < s,@build_cpu@,$build_cpu,;t t
9679 < s,@build_vendor@,$build_vendor,;t t
9680 < s,@build_os@,$build_os,;t t
9681 < s,@host@,$host,;t t
9682 < s,@host_cpu@,$host_cpu,;t t
9683 < s,@host_vendor@,$host_vendor,;t t
9684 < s,@host_os@,$host_os,;t t
9685 < s,@CC@,$CC,;t t
9686 < s,@CFLAGS@,$CFLAGS,;t t
9687 < s,@LDFLAGS@,$LDFLAGS,;t t
9688 < s,@CPPFLAGS@,$CPPFLAGS,;t t
9689 < s,@ac_ct_CC@,$ac_ct_CC,;t t
9690 < s,@EXEEXT@,$EXEEXT,;t t
9691 < s,@OBJEXT@,$OBJEXT,;t t
9692 < s,@CXX@,$CXX,;t t
9693 < s,@CXXFLAGS@,$CXXFLAGS,;t t
9694 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9695 < s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
9696 < s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
9697 < s,@F90@,$F90,;t t
9698 < s,@F90FLAGS@,$F90FLAGS,;t t
9699 < s,@ac_ct_F90@,$ac_ct_F90,;t t
9700 < s,@PREPFLAG@,$PREPFLAG,;t t
9701 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
9702 < s,@F90LIBS@,$F90LIBS,;t t
9703 < s,@F90_FUNC@,$F90_FUNC,;t t
9704 < s,@F90_FUNC_@,$F90_FUNC_,;t t
9705 < s,@MOD@,$MOD,;t t
9706 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
9707 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
9708 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9709 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9710 < s,@CPP@,$CPP,;t t
9711 < s,@EGREP@,$EGREP,;t t
9712 < s,@LIBOBJS@,$LIBOBJS,;t t
9713 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9714 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9715 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9716 < s,@LN_S@,$LN_S,;t t
9717 < s,@SET_MAKE@,$SET_MAKE,;t t
9718 < s,@RANLIB@,$RANLIB,;t t
9719 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9720 < s,@YACC@,$YACC,;t t
9721 < s,@LEX@,$LEX,;t t
9722 < s,@LEXLIB@,$LEXLIB,;t t
9723 < s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9724 < s,@AR@,$AR,;t t
9725 < s,@PS@,$PS,;t t
9726 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9727 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9728 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
9729 < s,@MPI_LIB@,$MPI_LIB,;t t
9730 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9731 < s,@USE_MPI@,$USE_MPI,;t t
9732 < s,@CXXCPP@,$CXXCPP,;t t
9733 < s,@USE_CGAL@,$USE_CGAL,;t t
9734 < s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
9735 < s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
9736 < s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
9737 < s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
9738 < s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
9739 < s,@CGAL_LIBS@,$CGAL_LIBS,;t t
9740 < s,@DOXYGEN@,$DOXYGEN,;t t
9741 < s,@DOT@,$DOT,;t t
9742 < s,@DOC@,$DOC,;t t
9743 < s,@enable_dot@,$enable_dot,;t t
9744 < s,@enable_html_docs@,$enable_html_docs,;t t
9745 < s,@enable_latex_docs@,$enable_latex_docs,;t t
9746 < s,@BATEXT@,$BATEXT,;t t
9747 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9748 < s,@OOPSE@,$OOPSE,;t t
9749 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9750 < s,@SUBDIRS@,$SUBDIRS,;t t
9751 < s,@FFLAGS@,$FFLAGS,;t t
9752 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9753 < CEOF
9754 <
9755 < _ACEOF
9756 <
9757 <  cat >>$CONFIG_STATUS <<\_ACEOF
9758 <  # Split the substitutions into bite-sized pieces for seds with
9759 <  # small command number limits, like on Digital OSF/1 and HP-UX.
9760 <  ac_max_sed_lines=48
9761 <  ac_sed_frag=1 # Number of current file.
9762 <  ac_beg=1 # First line for current file.
9763 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
9764 <  ac_more_lines=:
9765 <  ac_sed_cmds=
9766 <  while $ac_more_lines; do
9767 <    if test $ac_beg -gt 1; then
9768 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9769 <    else
9770 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9771 <    fi
9772 <    if test ! -s $tmp/subs.frag; then
9773 <      ac_more_lines=false
9774 <    else
9775 <      # The purpose of the label and of the branching condition is to
9776 <      # speed up the sed processing (if there are no `@' at all, there
9777 <      # is no need to browse any of the substitutions).
9778 <      # These are the two extra sed commands mentioned above.
9779 <      (echo ':t
9780 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9781 <      if test -z "$ac_sed_cmds"; then
9782 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9783 <      else
9784 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9785 <      fi
9786 <      ac_sed_frag=`expr $ac_sed_frag + 1`
9787 <      ac_beg=$ac_end
9788 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
9789 <    fi
9790 <  done
9791 <  if test -z "$ac_sed_cmds"; then
9792 <    ac_sed_cmds=cat
9793 <  fi
9794 < fi # test -n "$CONFIG_FILES"
9795 <
9796 < _ACEOF
9797 < cat >>$CONFIG_STATUS <<\_ACEOF
9798 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9799 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9800 <  case $ac_file in
9801 <  - | *:- | *:-:* ) # input from stdin
9802 <        cat >$tmp/stdin
9803 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9804 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9805 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9806 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9807 <  * )   ac_file_in=$ac_file.in ;;
9808 <  esac
9809 <
9810 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9811 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9812 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9813 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9814 <         X"$ac_file" : 'X\(//\)$' \| \
9815 <         X"$ac_file" : 'X\(/\)' \| \
9816 <         .     : '\(.\)' 2>/dev/null ||
9817 < echo X"$ac_file" |
9818 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9819 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9820 <          /^X\(\/\/\)$/{ s//\1/; q; }
9821 <          /^X\(\/\).*/{ s//\1/; q; }
9822 <          s/.*/./; q'`
9823 <  { if $as_mkdir_p; then
9824 <    mkdir -p "$ac_dir"
9825 <  else
9826 <    as_dir="$ac_dir"
9827 <    as_dirs=
9828 <    while test ! -d "$as_dir"; do
9829 <      as_dirs="$as_dir $as_dirs"
9830 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9831 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9832 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9833 <         X"$as_dir" : 'X\(//\)$' \| \
9834 <         X"$as_dir" : 'X\(/\)' \| \
9835 <         .     : '\(.\)' 2>/dev/null ||
9836 < echo X"$as_dir" |
9837 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9838 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9839 <          /^X\(\/\/\)$/{ s//\1/; q; }
9840 <          /^X\(\/\).*/{ s//\1/; q; }
9841 <          s/.*/./; q'`
9842 <    done
9843 <    test ! -n "$as_dirs" || mkdir $as_dirs
9844 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9845 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9846 <   { (exit 1); exit 1; }; }; }
9847 <
9848 <  ac_builddir=.
9849 <
9850 < if test "$ac_dir" != .; then
9851 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9852 <  # A "../" for each directory in $ac_dir_suffix.
9853 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9854 < else
9855 <  ac_dir_suffix= ac_top_builddir=
9856 < fi
9857 <
9858 < case $srcdir in
9859 <  .)  # No --srcdir option.  We are building in place.
9860 <    ac_srcdir=.
9861 <    if test -z "$ac_top_builddir"; then
9862 <       ac_top_srcdir=.
9863 <    else
9864 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9865 <    fi ;;
9866 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9867 <    ac_srcdir=$srcdir$ac_dir_suffix;
9868 <    ac_top_srcdir=$srcdir ;;
9869 <  *) # Relative path.
9870 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9871 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9872 < esac
9873 <
9874 < # Do not use `cd foo && pwd` to compute absolute paths, because
9875 < # the directories may not exist.
9876 < case `pwd` in
9877 < .) ac_abs_builddir="$ac_dir";;
9878 < *)
9879 <  case "$ac_dir" in
9880 <  .) ac_abs_builddir=`pwd`;;
9881 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9882 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9883 <  esac;;
9884 < esac
9885 < case $ac_abs_builddir in
9886 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
9887 < *)
9888 <  case ${ac_top_builddir}. in
9889 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
9890 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9891 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9892 <  esac;;
9893 < esac
9894 < case $ac_abs_builddir in
9895 < .) ac_abs_srcdir=$ac_srcdir;;
9896 < *)
9897 <  case $ac_srcdir in
9898 <  .) ac_abs_srcdir=$ac_abs_builddir;;
9899 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9900 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9901 <  esac;;
9902 < esac
9903 < case $ac_abs_builddir in
9904 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
9905 < *)
9906 <  case $ac_top_srcdir in
9907 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9908 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9909 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9910 <  esac;;
9911 < esac
9912 <
9913 <
9914 <  case $INSTALL in
9915 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9916 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9917 <  esac
9918 <
9919 <  if test x"$ac_file" != x-; then
9920 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
9921 < echo "$as_me: creating $ac_file" >&6;}
9922 <    rm -f "$ac_file"
9923 <  fi
9924 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
9925 <  # use $as_me), people would be surprised to read:
9926 <  #    /* config.h.  Generated by config.status.  */
9927 <  if test x"$ac_file" = x-; then
9928 <    configure_input=
9929 <  else
9930 <    configure_input="$ac_file.  "
9931 <  fi
9932 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9933 <                                     sed 's,.*/,,'` by configure."
9934 <
9935 <  # First look for the input files in the build tree, otherwise in the
9936 <  # src tree.
9937 <  ac_file_inputs=`IFS=:
9938 <    for f in $ac_file_in; do
9939 <      case $f in
9940 <      -) echo $tmp/stdin ;;
9941 <      [\\/$]*)
9942 <         # Absolute (can't be DOS-style, as IFS=:)
9943 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9944 < echo "$as_me: error: cannot find input file: $f" >&2;}
9945 <   { (exit 1); exit 1; }; }
9946 <         echo "$f";;
9947 <      *) # Relative
9948 <         if test -f "$f"; then
9949 <           # Build tree
9950 <           echo "$f"
9951 <         elif test -f "$srcdir/$f"; then
9952 <           # Source tree
9953 <           echo "$srcdir/$f"
9954 <         else
9955 <           # /dev/null tree
9956 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9957 < echo "$as_me: error: cannot find input file: $f" >&2;}
9958 <   { (exit 1); exit 1; }; }
9959 <         fi;;
9960 <      esac
9961 <    done` || { (exit 1); exit 1; }
9962 < _ACEOF
9963 < cat >>$CONFIG_STATUS <<_ACEOF
9964 <  sed "$ac_vpsub
9965 < $extrasub
9966 < _ACEOF
9967 < cat >>$CONFIG_STATUS <<\_ACEOF
9968 < :t
9969 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9970 < s,@configure_input@,$configure_input,;t t
9971 < s,@srcdir@,$ac_srcdir,;t t
9972 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
9973 < s,@top_srcdir@,$ac_top_srcdir,;t t
9974 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9975 < s,@builddir@,$ac_builddir,;t t
9976 < s,@abs_builddir@,$ac_abs_builddir,;t t
9977 < s,@top_builddir@,$ac_top_builddir,;t t
9978 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9979 < s,@INSTALL@,$ac_INSTALL,;t t
9980 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9981 <  rm -f $tmp/stdin
9982 <  if test x"$ac_file" != x-; then
9983 <    mv $tmp/out $ac_file
9984 <  else
9985 <    cat $tmp/out
9986 <    rm -f $tmp/out
9987 <  fi
9988 <
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=$?
6132 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 >  (exit $ac_status); }; } &&
6134 >         { ac_try='test -s conftest.$ac_objext'
6135 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 >  (eval $ac_try) 2>&5
6137 >  ac_status=$?
6138 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 >  (exit $ac_status); }; }; then
6140 >  ac_header_compiler=yes
6141 > else
6142 >  echo "$as_me: failed program was:" >&5
6143 > sed 's/^/| /' conftest.$ac_ext >&5
6144 >
6145 > ac_header_compiler=no
6146 > fi
6147 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6148 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6149 > echo "${ECHO_T}$ac_header_compiler" >&6
6150 >
6151 > # Is the header present?
6152 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6153 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6154 > cat >conftest.$ac_ext <<_ACEOF
6155 > /* confdefs.h.  */
6156 > _ACEOF
6157 > cat confdefs.h >>conftest.$ac_ext
6158 > cat >>conftest.$ac_ext <<_ACEOF
6159 > /* end confdefs.h.  */
6160 > #include <$ac_header>
6161 > _ACEOF
6162 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6163 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6164 >  ac_status=$?
6165 >  grep -v '^ *+' conftest.er1 >conftest.err
6166 >  rm -f conftest.er1
6167 >  cat conftest.err >&5
6168 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 >  (exit $ac_status); } >/dev/null; then
6170 >  if test -s conftest.err; then
6171 >    ac_cpp_err=$ac_c_preproc_warn_flag
6172 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6173 >  else
6174 >    ac_cpp_err=
6175 >  fi
6176 > else
6177 >  ac_cpp_err=yes
6178 > fi
6179 > if test -z "$ac_cpp_err"; then
6180 >  ac_header_preproc=yes
6181 > else
6182 >  echo "$as_me: failed program was:" >&5
6183 > sed 's/^/| /' conftest.$ac_ext >&5
6184 >
6185 >  ac_header_preproc=no
6186 > fi
6187 > rm -f conftest.err conftest.$ac_ext
6188 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6189 > echo "${ECHO_T}$ac_header_preproc" >&6
6190 >
6191 > # So?  What about this header?
6192 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6193 >  yes:no: )
6194 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6195 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6196 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6197 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6198 >    ac_header_preproc=yes
6199 >    ;;
6200 >  no:yes:* )
6201 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6202 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6203 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6204 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6205 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6206 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6207 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6208 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6209 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6210 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6211 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6212 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6213 >    (
6214 >      cat <<\_ASBOX
6215 > ## ------------------------------ ##
6216 > ## Report this to gezelter@nd.edu ##
6217 > ## ------------------------------ ##
6218 > _ASBOX
6219 >    ) |
6220 >      sed "s/^/$as_me: WARNING:     /" >&2
6221 >    ;;
6222 > esac
6223 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6224 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6225 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6226 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6227 > else
6228 >  eval "$as_ac_Header=\$ac_header_preproc"
6229 > fi
6230 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6231 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6232 >
6233 > fi
6234 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6235 >  cat >>confdefs.h <<_ACEOF
6236 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6237 > _ACEOF
6238 >
6239 > fi
6240 >
6241 > done
6242 >
6243 >
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`
6656 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6657 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6658 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6659 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6660 > else
6661 >  cat >conftest.$ac_ext <<_ACEOF
6662 > /* confdefs.h.  */
6663 > _ACEOF
6664 > cat confdefs.h >>conftest.$ac_ext
6665 > cat >>conftest.$ac_ext <<_ACEOF
6666 > /* end confdefs.h.  */
6667 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6668 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6669 > #define $ac_func innocuous_$ac_func
6670 >
6671 > /* System header to define __stub macros and hopefully few prototypes,
6672 >    which can conflict with char $ac_func (); below.
6673 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6674 >    <limits.h> exists even on freestanding compilers.  */
6675 >
6676 > #ifdef __STDC__
6677 > # include <limits.h>
6678 > #else
6679 > # include <assert.h>
6680 > #endif
6681 >
6682 > #undef $ac_func
6683 >
6684 > /* Override any gcc2 internal prototype to avoid an error.  */
6685 > #ifdef __cplusplus
6686 > extern "C"
6687 > {
6688 > #endif
6689 > /* We use char because int might match the return type of a gcc2
6690 >   builtin and then its argument prototype would still apply.  */
6691 > char $ac_func ();
6692 > /* The GNU C library defines this for functions which it implements
6693 >    to always fail with ENOSYS.  Some functions are actually named
6694 >    something starting with __ and the normal name is an alias.  */
6695 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6696 > choke me
6697 > #else
6698 > char (*f) () = $ac_func;
6699 > #endif
6700 > #ifdef __cplusplus
6701 > }
6702 > #endif
6703 >
6704 > int
6705 > main ()
6706 > {
6707 > return f != $ac_func;
6708 >  ;
6709 >  return 0;
6710 > }
6711 > _ACEOF
6712 > rm -f conftest.$ac_objext conftest$ac_exeext
6713 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6714 >  (eval $ac_link) 2>conftest.er1
6715 >  ac_status=$?
6716 >  grep -v '^ *+' conftest.er1 >conftest.err
6717 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
6722 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 >  (eval $ac_try) 2>&5
6724 >  ac_status=$?
6725 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 >  (exit $ac_status); }; } &&
6727 >         { ac_try='test -s conftest$ac_exeext'
6728 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 >  (eval $ac_try) 2>&5
6730 >  ac_status=$?
6731 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 >  (exit $ac_status); }; }; then
6733 >  eval "$as_ac_var=yes"
6734 > else
6735 >  echo "$as_me: failed program was:" >&5
6736 > sed 's/^/| /' conftest.$ac_ext >&5
6737 >
6738 > eval "$as_ac_var=no"
6739 > fi
6740 > rm -f conftest.err conftest.$ac_objext \
6741 >      conftest$ac_exeext conftest.$ac_ext
6742 > fi
6743 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6744 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6745 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6746 >  cat >>confdefs.h <<_ACEOF
6747 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6748 > _ACEOF
6749 >
6750 > fi
6751 > done
6752 >
6753 > # special check for _system_configuration because AIX <4.3.2 do not
6754 > # contain the `physmem' member.
6755 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
6756 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
6757 > cat >conftest.$ac_ext <<_ACEOF
6758 > /* confdefs.h.  */
6759 > _ACEOF
6760 > cat confdefs.h >>conftest.$ac_ext
6761 > cat >>conftest.$ac_ext <<_ACEOF
6762 > /* end confdefs.h.  */
6763 > #include <sys/systemcfg.h>
6764 > int
6765 > main ()
6766 > {
6767 > double x = _system_configuration.physmem;
6768 >  ;
6769 >  return 0;
6770 > }
6771 > _ACEOF
6772 > rm -f conftest.$ac_objext
6773 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 >  (eval $ac_compile) 2>conftest.er1
6775 >  ac_status=$?
6776 >  grep -v '^ *+' conftest.er1 >conftest.err
6777 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
6782 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 >  (eval $ac_try) 2>&5
6784 >  ac_status=$?
6785 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 >  (exit $ac_status); }; } &&
6787 >         { ac_try='test -s conftest.$ac_objext'
6788 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789 >  (eval $ac_try) 2>&5
6790 >  ac_status=$?
6791 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 >  (exit $ac_status); }; }; then
6793 >  echo "$as_me:$LINENO: result: yes" >&5
6794 > echo "${ECHO_T}yes" >&6
6795 >
6796 > cat >>confdefs.h <<\_ACEOF
6797 > #define HAVE__SYSTEM_CONFIGURATION 1
6798 > _ACEOF
6799 >
6800 > else
6801 >  echo "$as_me: failed program was:" >&5
6802 > sed 's/^/| /' conftest.$ac_ext >&5
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
7220 >
7221 > for ac_header in getopt.h
7222 > do
7223 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7224 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7225 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7226 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7227 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7228 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7229 > fi
7230 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7231 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7232 > else
7233 >  # Is the header compilable?
7234 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7235 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7236 > cat >conftest.$ac_ext <<_ACEOF
7237 > /* confdefs.h.  */
7238 > _ACEOF
7239 > cat confdefs.h >>conftest.$ac_ext
7240 > cat >>conftest.$ac_ext <<_ACEOF
7241 > /* end confdefs.h.  */
7242 > $ac_includes_default
7243 > #include <$ac_header>
7244 > _ACEOF
7245 > rm -f conftest.$ac_objext
7246 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247 >  (eval $ac_compile) 2>conftest.er1
7248 >  ac_status=$?
7249 >  grep -v '^ *+' conftest.er1 >conftest.err
7250 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
7255 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 >  (eval $ac_try) 2>&5
7257 >  ac_status=$?
7258 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 >  (exit $ac_status); }; } &&
7260 >         { ac_try='test -s conftest.$ac_objext'
7261 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 >  (eval $ac_try) 2>&5
7263 >  ac_status=$?
7264 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 >  (exit $ac_status); }; }; then
7266 >  ac_header_compiler=yes
7267 > else
7268 >  echo "$as_me: failed program was:" >&5
7269 > sed 's/^/| /' conftest.$ac_ext >&5
7270 >
7271 > ac_header_compiler=no
7272 > fi
7273 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7274 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7275 > echo "${ECHO_T}$ac_header_compiler" >&6
7276 >
7277 > # Is the header present?
7278 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7279 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7280 > cat >conftest.$ac_ext <<_ACEOF
7281 > /* confdefs.h.  */
7282 > _ACEOF
7283 > cat confdefs.h >>conftest.$ac_ext
7284 > cat >>conftest.$ac_ext <<_ACEOF
7285 > /* end confdefs.h.  */
7286 > #include <$ac_header>
7287 > _ACEOF
7288 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7290 >  ac_status=$?
7291 >  grep -v '^ *+' conftest.er1 >conftest.err
7292 >  rm -f conftest.er1
7293 >  cat conftest.err >&5
7294 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 >  (exit $ac_status); } >/dev/null; then
7296 >  if test -s conftest.err; then
7297 >    ac_cpp_err=$ac_c_preproc_warn_flag
7298 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7299 >  else
7300 >    ac_cpp_err=
7301 >  fi
7302 > else
7303 >  ac_cpp_err=yes
7304 > fi
7305 > if test -z "$ac_cpp_err"; then
7306 >  ac_header_preproc=yes
7307 > else
7308 >  echo "$as_me: failed program was:" >&5
7309 > sed 's/^/| /' conftest.$ac_ext >&5
7310 >
7311 >  ac_header_preproc=no
7312 > fi
7313 > rm -f conftest.err conftest.$ac_ext
7314 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7315 > echo "${ECHO_T}$ac_header_preproc" >&6
7316 >
7317 > # So?  What about this header?
7318 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7319 >  yes:no: )
7320 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7321 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7322 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7323 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7324 >    ac_header_preproc=yes
7325 >    ;;
7326 >  no:yes:* )
7327 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7328 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7329 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7330 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7331 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7332 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7333 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7334 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7335 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7336 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7337 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7338 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7339 >    (
7340 >      cat <<\_ASBOX
7341 > ## ------------------------------ ##
7342 > ## Report this to gezelter@nd.edu ##
7343 > ## ------------------------------ ##
7344 > _ASBOX
7345 >    ) |
7346 >      sed "s/^/$as_me: WARNING:     /" >&2
7347 >    ;;
7348 > esac
7349 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7350 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7351 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7352 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7353 > else
7354 >  eval "$as_ac_Header=\$ac_header_preproc"
7355 > fi
7356 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7357 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7358 >
7359 > fi
7360 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7361 >  cat >>confdefs.h <<_ACEOF
7362 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7363 > _ACEOF
7364 >
7365 > fi
7366 >
7367 > done
7368 >
7369 >
7370 > for ac_func in getopt_long
7371 > do
7372 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7373 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7374 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7375 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7376 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7377 > else
7378 >  cat >conftest.$ac_ext <<_ACEOF
7379 > /* confdefs.h.  */
7380 > _ACEOF
7381 > cat confdefs.h >>conftest.$ac_ext
7382 > cat >>conftest.$ac_ext <<_ACEOF
7383 > /* end confdefs.h.  */
7384 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7385 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7386 > #define $ac_func innocuous_$ac_func
7387 >
7388 > /* System header to define __stub macros and hopefully few prototypes,
7389 >    which can conflict with char $ac_func (); below.
7390 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7391 >    <limits.h> exists even on freestanding compilers.  */
7392 >
7393 > #ifdef __STDC__
7394 > # include <limits.h>
7395 > #else
7396 > # include <assert.h>
7397 > #endif
7398 >
7399 > #undef $ac_func
7400 >
7401 > /* Override any gcc2 internal prototype to avoid an error.  */
7402 > #ifdef __cplusplus
7403 > extern "C"
7404 > {
7405 > #endif
7406 > /* We use char because int might match the return type of a gcc2
7407 >   builtin and then its argument prototype would still apply.  */
7408 > char $ac_func ();
7409 > /* The GNU C library defines this for functions which it implements
7410 >    to always fail with ENOSYS.  Some functions are actually named
7411 >    something starting with __ and the normal name is an alias.  */
7412 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7413 > choke me
7414 > #else
7415 > char (*f) () = $ac_func;
7416 > #endif
7417 > #ifdef __cplusplus
7418 > }
7419 > #endif
7420 >
7421 > int
7422 > main ()
7423 > {
7424 > return f != $ac_func;
7425 >  ;
7426 >  return 0;
7427 > }
7428 > _ACEOF
7429 > rm -f conftest.$ac_objext conftest$ac_exeext
7430 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 >  (eval $ac_link) 2>conftest.er1
7432 >  ac_status=$?
7433 >  grep -v '^ *+' conftest.er1 >conftest.err
7434 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
7439 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 >  (eval $ac_try) 2>&5
7441 >  ac_status=$?
7442 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 >  (exit $ac_status); }; } &&
7444 >         { ac_try='test -s conftest$ac_exeext'
7445 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 >  (eval $ac_try) 2>&5
7447 >  ac_status=$?
7448 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 >  (exit $ac_status); }; }; then
7450 >  eval "$as_ac_var=yes"
7451 > else
7452 >  echo "$as_me: failed program was:" >&5
7453 > sed 's/^/| /' conftest.$ac_ext >&5
7454 >
7455 > eval "$as_ac_var=no"
7456 > fi
7457 > rm -f conftest.err conftest.$ac_objext \
7458 >      conftest$ac_exeext conftest.$ac_ext
7459 > fi
7460 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7461 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7462 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7463 >  cat >>confdefs.h <<_ACEOF
7464 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7465 > _ACEOF
7466 >
7467 > else
7468 >  # FreeBSD has a gnugetopt library for this
7469 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
7470 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
7471 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
7472 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7473 > else
7474 >  ac_check_lib_save_LIBS=$LIBS
7475 > LIBS="-lgnugetopt  $LIBS"
7476 > cat >conftest.$ac_ext <<_ACEOF
7477 > /* confdefs.h.  */
7478 > _ACEOF
7479 > cat confdefs.h >>conftest.$ac_ext
7480 > cat >>conftest.$ac_ext <<_ACEOF
7481 > /* end confdefs.h.  */
7482 >
7483 > /* Override any gcc2 internal prototype to avoid an error.  */
7484 > #ifdef __cplusplus
7485 > extern "C"
7486 > #endif
7487 > /* We use char because int might match the return type of a gcc2
7488 >   builtin and then its argument prototype would still apply.  */
7489 > char getopt_long ();
7490 > int
7491 > main ()
7492 > {
7493 > getopt_long ();
7494 >  ;
7495 >  return 0;
7496 > }
7497 > _ACEOF
7498 > rm -f conftest.$ac_objext conftest$ac_exeext
7499 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500 >  (eval $ac_link) 2>conftest.er1
7501 >  ac_status=$?
7502 >  grep -v '^ *+' conftest.er1 >conftest.err
7503 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
7508 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 >  (eval $ac_try) 2>&5
7510 >  ac_status=$?
7511 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 >  (exit $ac_status); }; } &&
7513 >         { ac_try='test -s conftest$ac_exeext'
7514 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 >  (eval $ac_try) 2>&5
7516 >  ac_status=$?
7517 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 >  (exit $ac_status); }; }; then
7519 >  ac_cv_lib_gnugetopt_getopt_long=yes
7520 > else
7521 >  echo "$as_me: failed program was:" >&5
7522 > sed 's/^/| /' conftest.$ac_ext >&5
7523 >
7524 > ac_cv_lib_gnugetopt_getopt_long=no
7525 > fi
7526 > rm -f conftest.err conftest.$ac_objext \
7527 >      conftest$ac_exeext conftest.$ac_ext
7528 > LIBS=$ac_check_lib_save_LIBS
7529 > fi
7530 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7531 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
7532 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
7533 >  cat >>confdefs.h <<\_ACEOF
7534 > #define HAVE_GETOPT_LONG 1
7535 > _ACEOF
7536 >
7537 > else
7538 >  # use the GNU replacement
7539 >      case $LIBOBJS in
7540 >    "getopt.$ac_objext"   | \
7541 >  *" getopt.$ac_objext"   | \
7542 >    "getopt.$ac_objext "* | \
7543 >  *" getopt.$ac_objext "* ) ;;
7544 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
7545 > esac
7546 >
7547 >      case $LIBOBJS in
7548 >    "getopt1.$ac_objext"   | \
7549 >  *" getopt1.$ac_objext"   | \
7550 >    "getopt1.$ac_objext "* | \
7551 >  *" getopt1.$ac_objext "* ) ;;
7552 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
7553 > esac
7554 >
7555 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7556 >
7557 > fi
7558 >
7559 > fi
7560 > done
7561 >
7562 >
7563 >
7564 > case $debug in
7565 >  1)
7566 >     ;;
7567 >  *)
7568 >
7569 >
7570 >
7571 >
7572 >
7573 >
7574 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
7575 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
7576 > if test "${ac_cv_prog_really_gcc+set}" = set; then
7577 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7578 > else
7579 >
7580 > cat > conftest.c <<EOF
7581 > #ifdef __GNUC__
7582 >  #ifndef __INTEL_COMPILER
7583 >     yes;
7584 >  #endif
7585 > #endif
7586 > EOF
7587 > if { ac_try='${CC-cc} -E conftest.c'
7588 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7589 >  (eval $ac_try) 2>&5
7590 >  ac_status=$?
7591 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7593 >  ac_cv_prog_really_gcc=yes
7594 > else
7595 >  ac_cv_prog_really_gcc=no
7596 > fi
7597 >
7598 > fi
7599 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7600 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7601 > if test "$ac_cv_prog_really_gcc" = yes; then
7602 >        :
7603 >
7604 > else
7605 >        :
7606 >
7607 > fi
7608 >
7609 >
7610 > # Try to determine "good" native compiler flags if none specified on command
7611 > # line
7612 > if test "$ac_test_CFLAGS" != "set"; then
7613 >  CFLAGS=""
7614 >  case "${host_cpu}-${host_os}" in
7615 >
7616 >  *linux*) if test "$CC" = icc; then
7617 >                    CFLAGS="-O"
7618 >                fi;;
7619 >  sparc-solaris2*) if test "$CC" = cc; then
7620 >                    CFLAGS="-native -fast -xO5 -dalign"
7621 >                 fi;;
7622 >
7623 >  alpha*-osf*)  if test "$CC" = cc; then
7624 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
7625 >                fi;;
7626 >
7627 >  hppa*-hpux*)  if test "$CC" = cc; then
7628 >                    CFLAGS="-Ae +O3 +Oall"
7629 >                fi;;
7630 >
7631 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
7632 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
7633 >                fi;;
7634 >   powerpc*-aix*)
7635 >        if test "$CC" = cc -o "$CC" = xlc; then
7636 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
7637 >                echo "*******************************************************"
7638 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7639 >                echo "*  recommended that you use                           *"
7640 >                echo "*                                                     *"
7641 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7642 >                echo "*                                 ^^^                 *"
7643 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7644 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
7645 >                echo "*******************************************************"
7646 >        fi;;
7647 >   *darwin*)
7648 >        if test "$CC" = xlc -o "$CC" = cc; then
7649 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
7650 >        fi;;
7651 >  esac
7652 >
7653 >  # use default flags for gcc on all systems
7654 >  if test $ac_cv_prog_really_gcc = yes; then
7655 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
7656 >  fi
7657 >
7658 >  # test for gcc-specific flags:
7659 >  if test $ac_cv_prog_really_gcc = yes; then
7660 >    # -malign-double for x86 systems
7661 >
7662 >
7663 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7664 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7665 > if test "${ac_align_double+set}" = set; then
7666 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7667 > else
7668 >  echo 'void f(){}' > conftest.c
7669 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
7670 >        ac_align_double=yes
7671 > else
7672 >        ac_align_double=no
7673 > fi
7674 > rm -f conftest*
7675 >
7676 > fi
7677 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7678 > echo "${ECHO_T}$ac_align_double" >&6
7679 > if test "$ac_align_double" = yes; then
7680 >        :
7681 >        CFLAGS="$CFLAGS -malign-double"
7682 > else
7683 >        :
7684 >
7685 > fi
7686 >
7687 >    # -fstrict-aliasing for gcc-2.95+
7688 >
7689 >
7690 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7691 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7692 > if test "${ac_fstrict_aliasing+set}" = set; then
7693 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7694 > else
7695 >  echo 'void f(){}' > conftest.c
7696 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
7697 >        ac_fstrict_aliasing=yes
7698 > else
7699 >        ac_fstrict_aliasing=no
7700 > fi
7701 > rm -f conftest*
7702 >
7703 > fi
7704 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7705 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7706 > if test "$ac_fstrict_aliasing" = yes; then
7707 >        :
7708 >        CFLAGS="$CFLAGS -fstrict-aliasing"
7709 > else
7710 >        :
7711 >
7712 > fi
7713 >
7714 >  fi
7715 >
7716 >  CPU_FLAGS=""
7717 >  if test $ac_cv_prog_really_gcc = yes; then
7718 >                  case "${host_cpu}" in
7719 >          i586*)
7720 >
7721 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7722 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7723 > if test "${ac_cpu_pentium+set}" = set; then
7724 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7725 > else
7726 >  echo 'void f(){}' > conftest.c
7727 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
7728 >        ac_cpu_pentium=yes
7729 > else
7730 >        ac_cpu_pentium=no
7731 > fi
7732 > rm -f conftest*
7733 >
7734 > fi
7735 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7736 > echo "${ECHO_T}$ac_cpu_pentium" >&6
7737 > if test "$ac_cpu_pentium" = yes; then
7738 >        :
7739 >        CPU_FLAGS=-mcpu=pentium
7740 > else
7741 >        :
7742 >
7743 >
7744 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7745 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7746 > if test "${ac_pentium+set}" = set; then
7747 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7748 > else
7749 >  echo 'void f(){}' > conftest.c
7750 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
7751 >        ac_pentium=yes
7752 > else
7753 >        ac_pentium=no
7754 > fi
7755 > rm -f conftest*
7756 >
7757 > fi
7758 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7759 > echo "${ECHO_T}$ac_pentium" >&6
7760 > if test "$ac_pentium" = yes; then
7761 >        :
7762 >        CPU_FLAGS=-mpentium
7763 > else
7764 >        :
7765 >
7766 > fi
7767 >
7768 > fi
7769 >
7770 >                  ;;
7771 >          i686*)
7772 >
7773 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7774 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7775 > if test "${ac_cpu_pentiumpro+set}" = set; then
7776 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7777 > else
7778 >  echo 'void f(){}' > conftest.c
7779 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
7780 >        ac_cpu_pentiumpro=yes
7781 > else
7782 >        ac_cpu_pentiumpro=no
7783 > fi
7784 > rm -f conftest*
7785 >
7786 > fi
7787 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7788 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7789 > if test "$ac_cpu_pentiumpro" = yes; then
7790 >        :
7791 >        CPU_FLAGS=-mcpu=pentiumpro
7792 > else
7793 >        :
7794 >
7795 >
7796 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7797 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7798 > if test "${ac_pentiumpro+set}" = set; then
7799 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7800 > else
7801 >  echo 'void f(){}' > conftest.c
7802 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
7803 >        ac_pentiumpro=yes
7804 > else
7805 >        ac_pentiumpro=no
7806 > fi
7807 > rm -f conftest*
7808 >
7809 > fi
7810 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7811 > echo "${ECHO_T}$ac_pentiumpro" >&6
7812 > if test "$ac_pentiumpro" = yes; then
7813 >        :
7814 >        CPU_FLAGS=-mpentiumpro
7815 > else
7816 >        :
7817 >
7818 > fi
7819 >
7820 > fi
7821 >
7822 >                  ;;
7823 >          powerpc*)
7824 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
7825 >                is60x=`echo $cputype | egrep "^600-9e?$"`
7826 >                if test -n "$is60x"; then
7827 >
7828 >
7829 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7830 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7831 > if test "${ac_m_cpu_60x+set}" = set; then
7832 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7833 > else
7834 >  echo 'void f(){}' > conftest.c
7835 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
7836 >        ac_m_cpu_60x=yes
7837 > else
7838 >        ac_m_cpu_60x=no
7839 > fi
7840 > rm -f conftest*
7841 >
7842 > fi
7843 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7844 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
7845 > if test "$ac_m_cpu_60x" = yes; then
7846 >        :
7847 >        CPU_FLAGS=-mcpu=$cputype
7848 > else
7849 >        :
7850 >
7851 > fi
7852 >
7853 >                elif test "$cputype" = 750; then
7854 >
7855 >
7856 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7857 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7858 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7859 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7860 > else
7861 >
7862 > cat > conftest.c <<EOF
7863 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
7864 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
7865 >     yes;
7866 > #  endif
7867 > #endif
7868 > EOF
7869 > if { ac_try='${CC-cc} -E conftest.c'
7870 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 >  (eval $ac_try) 2>&5
7872 >  ac_status=$?
7873 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7875 >  ac_cv_prog_gcc_2_95=yes
7876 > else
7877 >  ac_cv_prog_gcc_2_95=no
7878 > fi
7879 >
7880 > fi
7881 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7882 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7883 > if test "$ac_cv_prog_gcc_2_95" = yes; then
7884 >        :
7885 >
7886 >
7887 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7888 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7889 > if test "${ac_m_cpu_750+set}" = set; then
7890 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7891 > else
7892 >  echo 'void f(){}' > conftest.c
7893 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
7894 >        ac_m_cpu_750=yes
7895 > else
7896 >        ac_m_cpu_750=no
7897 > fi
7898 > rm -f conftest*
7899 >
7900 > fi
7901 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7902 > echo "${ECHO_T}$ac_m_cpu_750" >&6
7903 > if test "$ac_m_cpu_750" = yes; then
7904 >        :
7905 >        CPU_FLAGS=-mcpu=750
7906 > else
7907 >        :
7908 >
7909 > fi
7910 >
7911 > else
7912 >        :
7913 >
7914 > fi
7915 >
7916 >                fi
7917 >                if test -z "$CPU_FLAGS"; then
7918 >
7919 >
7920 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7921 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7922 > if test "${ac_m_cpu_powerpc+set}" = set; then
7923 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7924 > else
7925 >  echo 'void f(){}' > conftest.c
7926 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
7927 >        ac_m_cpu_powerpc=yes
7928 > else
7929 >        ac_m_cpu_powerpc=no
7930 > fi
7931 > rm -f conftest*
7932 >
7933 > fi
7934 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7935 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7936 > if test "$ac_m_cpu_powerpc" = yes; then
7937 >        :
7938 >        CPU_FLAGS=-mcpu=powerpc
7939 > else
7940 >        :
7941 >
7942 > fi
7943 >
7944 >                fi
7945 >                if test -z "$CPU_FLAGS"; then
7946 >
7947 >
7948 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7949 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7950 > if test "${ac_m_powerpc+set}" = set; then
7951 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7952 > else
7953 >  echo 'void f(){}' > conftest.c
7954 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
7955 >        ac_m_powerpc=yes
7956 > else
7957 >        ac_m_powerpc=no
7958 > fi
7959 > rm -f conftest*
7960 >
7961 > fi
7962 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
7963 > echo "${ECHO_T}$ac_m_powerpc" >&6
7964 > if test "$ac_m_powerpc" = yes; then
7965 >        :
7966 >        CPU_FLAGS=-mpowerpc
7967 > else
7968 >        :
7969 >
7970 > fi
7971 >
7972 >                fi
7973 >          esac
7974 >  fi
7975 >
7976 >  if test -n "$CPU_FLAGS"; then
7977 >        CFLAGS="$CFLAGS $CPU_FLAGS"
7978 >  fi
7979 >
7980 >  if test -z "$CFLAGS"; then
7981 >        echo ""
7982 >        echo "********************************************************"
7983 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
7984 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
7985 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
7986 >        echo "********************************************************"
7987 >        echo ""
7988 >        CFLAGS="-O3"
7989 >  fi
7990 >
7991 >
7992 >
7993 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
7994 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
7995 > if test "${ac_guessed_cflags+set}" = set; then
7996 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7997 > else
7998 >  echo 'void f(){}' > conftest.c
7999 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
8000 >        ac_guessed_cflags=yes
8001 > else
8002 >        ac_guessed_cflags=no
8003 > fi
8004 > rm -f conftest*
8005 >
8006 > fi
8007 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
8008 > echo "${ECHO_T}$ac_guessed_cflags" >&6
8009 > if test "$ac_guessed_cflags" = yes; then
8010 >        :
8011 >
8012 > else
8013 >        :
8014 >
8015 >        echo ""
8016 >        echo "********************************************************"
8017 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
8018 >        echo "* your compiler.                                       *"
8019 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8020 >        echo "********************************************************"
8021 >        echo ""
8022 >        CFLAGS=""
8023 >
8024 > fi
8025 >
8026 >
8027 > fi
8028 >
8029 >
8030 >
8031 >
8032 >
8033 >
8034 >
8035 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
8036 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
8037 > if test "${ac_cv_prog_really_gxx+set}" = set; then
8038 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8039 > else
8040 >
8041 > cat > conftest.cpp <<EOF
8042 > #ifdef __GNUC__
8043 >  #ifndef __INTEL_COMPILER
8044 >     yes;
8045 >  #endif
8046 > #endif
8047 > EOF
8048 > if { ac_try='${CXX-c++} -E conftest.cpp'
8049 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050 >  (eval $ac_try) 2>&5
8051 >  ac_status=$?
8052 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8054 >  ac_cv_prog_really_gxx=yes
8055 > else
8056 >  ac_cv_prog_really_gxx=no
8057 > fi
8058 >
8059 > fi
8060 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
8061 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
8062 > if test "$ac_cv_prog_really_gxx" = yes; then
8063 >        :
8064 >
8065 > else
8066 >        :
8067 >
8068 > fi
8069 >
8070 >
8071 > # Try to determine "good" native compiler flags if none specified on command
8072 > # line
8073 > if test "$ac_test_CXXFLAGS" != "set"; then
8074 >  CXXFLAGS=""
8075 >  case "${host_cpu}-${host_os}" in
8076 >
8077 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8078 >                    CXXFLAGS="-O"
8079 >                fi;;
8080 >  sparc-solaris2*) if test "$CXX" = CC; then
8081 >                    CXXFLAGS="-native -fast -xO5 -dalign"
8082 >                 fi;;
8083 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8084 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8085 >                fi;;
8086 >   powerpc*-aix*)
8087 >        if test "$CXX" = xlC; then
8088 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8089 >                echo "*******************************************************"
8090 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8091 >                echo "*  recommended that you use                           *"
8092 >                echo "*                                                     *"
8093 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8094 >                echo "*                                 ^^^                 *"
8095 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8096 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8097 >                echo "*******************************************************"
8098 >        fi;;
8099 >   *darwin*)
8100 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8101 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8102 >        fi;;
8103 >  esac
8104 >
8105 >  # use default flags for gcc on all systems
8106 >  if test $ac_cv_prog_really_gxx = yes; then
8107 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8108 >  fi
8109 >
8110 >  # test for gcc-specific flags:
8111 >  if test $ac_cv_prog_really_gxx = yes; then
8112 >    # -malign-double for x86 systems
8113 >
8114 >
8115 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8116 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8117 > if test "${ac_align_double+set}" = set; then
8118 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8119 > else
8120 >  echo 'void f(){}' > conftest.cpp
8121 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8122 >        ac_align_double=yes
8123 > else
8124 >        ac_align_double=no
8125 > fi
8126 > rm -f conftest*
8127 >
8128 > fi
8129 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8130 > echo "${ECHO_T}$ac_align_double" >&6
8131 > if test "$ac_align_double" = yes; then
8132 >        :
8133 >        CXXFLAGS="$CXXFLAGS -malign-double"
8134 > else
8135 >        :
8136 >
8137 > fi
8138 >
8139 >    # -fstrict-aliasing for gcc-2.95+
8140 >
8141 >
8142 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8143 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8144 > if test "${ac_fstrict_aliasing+set}" = set; then
8145 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8146 > else
8147 >  echo 'void f(){}' > conftest.cpp
8148 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8149 >        ac_fstrict_aliasing=yes
8150 > else
8151 >        ac_fstrict_aliasing=no
8152 > fi
8153 > rm -f conftest*
8154 >
8155 > fi
8156 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8157 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8158 > if test "$ac_fstrict_aliasing" = yes; then
8159 >        :
8160 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8161 > else
8162 >        :
8163 >
8164 > fi
8165 >
8166 >  fi
8167 >
8168 >  CPU_FLAGS=""
8169 >  if test $ac_cv_prog_really_gxx = yes; then
8170 >                  case "${host_cpu}" in
8171 >          i586*)
8172 >
8173 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8174 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8175 > if test "${ac_cpu_pentium+set}" = set; then
8176 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8177 > else
8178 >  echo 'void f(){}' > conftest.cpp
8179 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8180 >        ac_cpu_pentium=yes
8181 > else
8182 >        ac_cpu_pentium=no
8183 > fi
8184 > rm -f conftest*
8185 >
8186 > fi
8187 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8188 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8189 > if test "$ac_cpu_pentium" = yes; then
8190 >        :
8191 >        CPU_FLAGS=-mcpu=pentium
8192 > else
8193 >        :
8194 >
8195 >
8196 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8197 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8198 > if test "${ac_pentium+set}" = set; then
8199 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8200 > else
8201 >  echo 'void f(){}' > conftest.cpp
8202 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8203 >        ac_pentium=yes
8204 > else
8205 >        ac_pentium=no
8206 > fi
8207 > rm -f conftest*
8208 >
8209 > fi
8210 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8211 > echo "${ECHO_T}$ac_pentium" >&6
8212 > if test "$ac_pentium" = yes; then
8213 >        :
8214 >        CPU_FLAGS=-mpentium
8215 > else
8216 >        :
8217 >
8218 > fi
8219 >
8220 > fi
8221 >
8222 >                  ;;
8223 >          i686*)
8224 >
8225 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8226 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8227 > if test "${ac_cpu_pentiumpro+set}" = set; then
8228 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8229 > else
8230 >  echo 'void f(){}' > conftest.cpp
8231 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8232 >        ac_cpu_pentiumpro=yes
8233 > else
8234 >        ac_cpu_pentiumpro=no
8235 > fi
8236 > rm -f conftest*
8237 >
8238 > fi
8239 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8240 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8241 > if test "$ac_cpu_pentiumpro" = yes; then
8242 >        :
8243 >        CPU_FLAGS=-mcpu=pentiumpro
8244 > else
8245 >        :
8246 >
8247 >
8248 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8249 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8250 > if test "${ac_pentiumpro+set}" = set; then
8251 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8252 > else
8253 >  echo 'void f(){}' > conftest.cpp
8254 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8255 >        ac_pentiumpro=yes
8256 > else
8257 >        ac_pentiumpro=no
8258 > fi
8259 > rm -f conftest*
8260 >
8261 > fi
8262 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8263 > echo "${ECHO_T}$ac_pentiumpro" >&6
8264 > if test "$ac_pentiumpro" = yes; then
8265 >        :
8266 >        CPU_FLAGS=-mpentiumpro
8267 > else
8268 >        :
8269 >
8270 > fi
8271 >
8272 > fi
8273 >
8274 >                  ;;
8275 >          powerpc*)
8276 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8277 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8278 >                if test -n "$is60x"; then
8279 >
8280 >
8281 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8282 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8283 > if test "${ac_m_cpu_60x+set}" = set; then
8284 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8285 > else
8286 >  echo 'void f(){}' > conftest.cpp
8287 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8288 >        ac_m_cpu_60x=yes
8289 > else
8290 >        ac_m_cpu_60x=no
8291 > fi
8292 > rm -f conftest*
8293 >
8294 > fi
8295 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8296 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8297 > if test "$ac_m_cpu_60x" = yes; then
8298 >        :
8299 >        CPU_FLAGS=-mcpu=$cputype
8300 > else
8301 >        :
8302 >
8303 > fi
8304 >
8305 >                elif test "$cputype" = 750; then
8306 >
8307 >
8308 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8309 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8310 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8311 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8312 > else
8313 >
8314 > cat > conftest.cpp <<EOF
8315 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8316 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8317 >     yes;
8318 > #  endif
8319 > #endif
8320 > EOF
8321 > if { ac_try='${CXX-c++} -E conftest.cpp'
8322 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 >  (eval $ac_try) 2>&5
8324 >  ac_status=$?
8325 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8327 >  ac_cv_prog_gxx_2_95=yes
8328 > else
8329 >  ac_cv_prog_gxx_2_95=no
8330 > fi
8331 >
8332 > fi
8333 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8334 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8335 > if test "$ac_cv_prog_gxx_2_95" = yes; then
8336 >        :
8337 >
8338 >
8339 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8340 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8341 > if test "${ac_m_cpu_750+set}" = set; then
8342 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8343 > else
8344 >  echo 'void f(){}' > conftest.cpp
8345 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
8346 >        ac_m_cpu_750=yes
8347 > else
8348 >        ac_m_cpu_750=no
8349 > fi
8350 > rm -f conftest*
8351 >
8352 > fi
8353 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8354 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8355 > if test "$ac_m_cpu_750" = yes; then
8356 >        :
8357 >        CPU_FLAGS=-mcpu=750
8358 > else
8359 >        :
8360 >
8361 > fi
8362 >
8363 > else
8364 >        :
8365 >
8366 > fi
8367 >
8368 >                fi
8369 >                if test -z "$CPU_FLAGS"; then
8370 >
8371 >
8372 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8373 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8374 > if test "${ac_m_cpu_powerpc+set}" = set; then
8375 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8376 > else
8377 >  echo 'void f(){}' > conftest.cpp
8378 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
8379 >        ac_m_cpu_powerpc=yes
8380 > else
8381 >        ac_m_cpu_powerpc=no
8382 > fi
8383 > rm -f conftest*
8384 >
8385 > fi
8386 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8387 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8388 > if test "$ac_m_cpu_powerpc" = yes; then
8389 >        :
8390 >        CPU_FLAGS=-mcpu=powerpc
8391 > else
8392 >        :
8393 >
8394 > fi
8395 >
8396 >                fi
8397 >                if test -z "$CPU_FLAGS"; then
8398 >
8399 >
8400 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8401 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8402 > if test "${ac_m_powerpc+set}" = set; then
8403 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8404 > else
8405 >  echo 'void f(){}' > conftest.cpp
8406 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
8407 >        ac_m_powerpc=yes
8408 > else
8409 >        ac_m_powerpc=no
8410 > fi
8411 > rm -f conftest*
8412 >
8413 > fi
8414 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8415 > echo "${ECHO_T}$ac_m_powerpc" >&6
8416 > if test "$ac_m_powerpc" = yes; then
8417 >        :
8418 >        CPU_FLAGS=-mpowerpc
8419 > else
8420 >        :
8421 >
8422 > fi
8423 >
8424 >                fi
8425 >          esac
8426 >  fi
8427 >
8428 >  if test -n "$CPU_FLAGS"; then
8429 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
8430 >  fi
8431 >
8432 >  if test -z "$CXXFLAGS"; then
8433 >        echo ""
8434 >        echo "**********************************************************"
8435 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
8436 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8437 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
8438 >        echo "**********************************************************"
8439 >        echo ""
8440 >        CXXFLAGS="-O3"
8441 >  fi
8442 >
8443 >
8444 >
8445 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8446 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8447 > if test "${ac_guessed_cxxflags+set}" = set; then
8448 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8449 > else
8450 >  echo 'void f(){}' > conftest.cpp
8451 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
8452 >        ac_guessed_cxxflags=yes
8453 > else
8454 >        ac_guessed_cxxflags=no
8455 > fi
8456 > rm -f conftest*
8457 >
8458 > fi
8459 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8460 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8461 > if test "$ac_guessed_cxxflags" = yes; then
8462 >        :
8463 >
8464 > else
8465 >        :
8466 >
8467 >        echo ""
8468 >        echo "**********************************************************"
8469 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
8470 >        echo "* your compiler.                                         *"
8471 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8472 >        echo "**********************************************************"
8473 >        echo ""
8474 >        CXXFLAGS=""
8475 >
8476 > fi
8477 >
8478 >
8479 > fi
8480 >
8481 >
8482 >
8483 >
8484 >
8485 > # Try to determine "good" native compiler flags if none specified on command
8486 > # line
8487 >
8488 > if test x"$F90FLAGS" = x ; then
8489 >  F90FLAGS=""
8490 >  case "${host_cpu}-${host_os}" in
8491 >
8492 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
8493 >                    F90FLAGS="-O"
8494 >                fi;;
8495 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
8496 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8497 >                fi;;
8498 >   powerpc*-aix*)
8499 >        if test "$F90" = f90 -o "$F90" = xlf90; then
8500 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
8501 >                echo "*******************************************************"
8502 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8503 >                echo "*  recommended that you use                           *"
8504 >                echo "*                                                     *"
8505 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8506 >                echo "*                                 ^^^                 *"
8507 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8508 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
8509 >                echo "*******************************************************"
8510 >        fi;;
8511 >   *darwin*)
8512 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
8513 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
8514 >        fi;;
8515 >  esac
8516 >
8517 >  if test -n "$CPU_FLAGS"; then
8518 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
8519 >  fi
8520 >
8521 >  if test -z "$F90FLAGS"; then
8522 >        echo ""
8523 >        echo "**********************************************************"
8524 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
8525 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8526 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
8527 >        echo "**********************************************************"
8528 >        echo ""
8529 >        F90FLAGS="-O3"
8530 >  fi
8531 >
8532 >
8533 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8534 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8535 > if test "${ac_guessed_f90flags+set}" = set; then
8536 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8537 > else
8538 >
8539 >
8540 >
8541 > ac_ext=f90
8542 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8543 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8544 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
8545 >
8546 > echo 'program main' > conftest.$ac_ext
8547 > echo 'end program main' >> conftest.$ac_ext
8548 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8549 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8550 >  (eval $ac_compile) 2>&5
8551 >  ac_status=$?
8552 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 >  (exit $ac_status); }; then
8554 >        ac_guessed_f90flags=yes
8555 > else
8556 >        ac_guessed_f90flags=no
8557 > fi
8558 > rm -f conftest*
8559 > ac_ext=c
8560 > ac_cpp='$CPP $CPPFLAGS'
8561 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8564 >
8565 >
8566 > fi
8567 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8568 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
8569 > if test "$ac_guessed_f90flags" = yes; then
8570 >        :
8571 >
8572 > else
8573 >        :
8574 >
8575 >        echo ""
8576 >        echo "**********************************************************"
8577 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
8578 >        echo "* your compiler.                                         *"
8579 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8580 >        echo "**********************************************************"
8581 >        echo ""
8582 >        F90FLAGS=""
8583 >
8584 > fi
8585 >
8586 >
8587 > fi
8588 >
8589 >     ;;
8590 > esac
8591 >
8592 > # Find a good install program.  We prefer a C program (faster),
8593 > # so one script is as good as another.  But avoid the broken or
8594 > # incompatible versions:
8595 > # SysV /etc/install, /usr/sbin/install
8596 > # SunOS /usr/etc/install
8597 > # IRIX /sbin/install
8598 > # AIX /bin/install
8599 > # AmigaOS /C/install, which installs bootblocks on floppy discs
8600 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8601 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8602 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8603 > # OS/2's system install, which has a completely different semantic
8604 > # ./install, which can be erroneously created by make from ./install.sh.
8605 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8606 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8607 > if test -z "$INSTALL"; then
8608 > if test "${ac_cv_path_install+set}" = set; then
8609 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8610 > else
8611 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 > for as_dir in $PATH
8613 > do
8614 >  IFS=$as_save_IFS
8615 >  test -z "$as_dir" && as_dir=.
8616 >  # Account for people who put trailing slashes in PATH elements.
8617 > case $as_dir/ in
8618 >  ./ | .// | /cC/* | \
8619 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8620 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8621 >  /usr/ucb/* ) ;;
8622 >  *)
8623 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8624 >    # Don't use installbsd from OSF since it installs stuff as root
8625 >    # by default.
8626 >    for ac_prog in ginstall scoinst install; do
8627 >      for ac_exec_ext in '' $ac_executable_extensions; do
8628 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8629 >          if test $ac_prog = install &&
8630 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8631 >            # AIX install.  It has an incompatible calling convention.
8632 >            :
8633 >          elif test $ac_prog = install &&
8634 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8635 >            # program-specific install script used by HP pwplus--don't use.
8636 >            :
8637 >          else
8638 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8639 >            break 3
8640 >          fi
8641 >        fi
8642 >      done
8643 >    done
8644 >    ;;
8645 > esac
8646 > done
8647 >
8648 >
8649 > fi
8650 >  if test "${ac_cv_path_install+set}" = set; then
8651 >    INSTALL=$ac_cv_path_install
8652 >  else
8653 >    # As a last resort, use the slow shell script.  We don't cache a
8654 >    # path for INSTALL within a source directory, because that will
8655 >    # break other packages using the cache if that directory is
8656 >    # removed, or if the path is relative.
8657 >    INSTALL=$ac_install_sh
8658 >  fi
8659 > fi
8660 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8661 > echo "${ECHO_T}$INSTALL" >&6
8662 >
8663 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8664 > # It thinks the first close brace ends the variable substitution.
8665 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8666 >
8667 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8668 >
8669 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8670 >
8671 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8672 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8673 > LN_S=$as_ln_s
8674 > if test "$LN_S" = "ln -s"; then
8675 >  echo "$as_me:$LINENO: result: yes" >&5
8676 > echo "${ECHO_T}yes" >&6
8677 > else
8678 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8679 > echo "${ECHO_T}no, using $LN_S" >&6
8680 > fi
8681 >
8682 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8683 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8684 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8685 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8686 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8687 > else
8688 >  cat >conftest.make <<\_ACEOF
8689 > all:
8690 >        @echo 'ac_maketemp="$(MAKE)"'
8691 > _ACEOF
8692 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8693 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8694 > if test -n "$ac_maketemp"; then
8695 >  eval ac_cv_prog_make_${ac_make}_set=yes
8696 > else
8697 >  eval ac_cv_prog_make_${ac_make}_set=no
8698 > fi
8699 > rm -f conftest.make
8700 > fi
8701 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8702 >  echo "$as_me:$LINENO: result: yes" >&5
8703 > echo "${ECHO_T}yes" >&6
8704 >  SET_MAKE=
8705 > else
8706 >  echo "$as_me:$LINENO: result: no" >&5
8707 > echo "${ECHO_T}no" >&6
8708 >  SET_MAKE="MAKE=${MAKE-make}"
8709 > fi
8710 >
8711 > if test -n "$ac_tool_prefix"; then
8712 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8713 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8714 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8715 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8716 > if test "${ac_cv_prog_RANLIB+set}" = set; then
8717 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8718 > else
8719 >  if test -n "$RANLIB"; then
8720 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8721 > else
8722 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 > for as_dir in $PATH
8724 > do
8725 >  IFS=$as_save_IFS
8726 >  test -z "$as_dir" && as_dir=.
8727 >  for ac_exec_ext in '' $ac_executable_extensions; do
8728 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8729 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8730 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 >    break 2
8732 >  fi
8733 > done
8734 > done
8735 >
8736 > fi
8737 > fi
8738 > RANLIB=$ac_cv_prog_RANLIB
8739 > if test -n "$RANLIB"; then
8740 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8741 > echo "${ECHO_T}$RANLIB" >&6
8742 > else
8743 >  echo "$as_me:$LINENO: result: no" >&5
8744 > echo "${ECHO_T}no" >&6
8745 > fi
8746 >
8747 > fi
8748 > if test -z "$ac_cv_prog_RANLIB"; then
8749 >  ac_ct_RANLIB=$RANLIB
8750 >  # Extract the first word of "ranlib", so it can be a program name with args.
8751 > set dummy ranlib; ac_word=$2
8752 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8753 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8754 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8755 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8756 > else
8757 >  if test -n "$ac_ct_RANLIB"; then
8758 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8759 > else
8760 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8761 > for as_dir in $PATH
8762 > do
8763 >  IFS=$as_save_IFS
8764 >  test -z "$as_dir" && as_dir=.
8765 >  for ac_exec_ext in '' $ac_executable_extensions; do
8766 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8767 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
8768 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8769 >    break 2
8770 >  fi
8771 > done
8772 > done
8773 >
8774 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8775 > fi
8776 > fi
8777 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8778 > if test -n "$ac_ct_RANLIB"; then
8779 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8780 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
8781 > else
8782 >  echo "$as_me:$LINENO: result: no" >&5
8783 > echo "${ECHO_T}no" >&6
8784 > fi
8785 >
8786 >  RANLIB=$ac_ct_RANLIB
8787 > else
8788 >  RANLIB="$ac_cv_prog_RANLIB"
8789 > fi
8790 >
8791 > for ac_prog in 'bison -y' byacc
8792 > do
8793 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8794 > set dummy $ac_prog; ac_word=$2
8795 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8796 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8797 > if test "${ac_cv_prog_YACC+set}" = set; then
8798 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8799 > else
8800 >  if test -n "$YACC"; then
8801 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
8802 > else
8803 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 > for as_dir in $PATH
8805 > do
8806 >  IFS=$as_save_IFS
8807 >  test -z "$as_dir" && as_dir=.
8808 >  for ac_exec_ext in '' $ac_executable_extensions; do
8809 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810 >    ac_cv_prog_YACC="$ac_prog"
8811 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8812 >    break 2
8813 >  fi
8814 > done
8815 > done
8816 >
8817 > fi
8818 > fi
8819 > YACC=$ac_cv_prog_YACC
8820 > if test -n "$YACC"; then
8821 >  echo "$as_me:$LINENO: result: $YACC" >&5
8822 > echo "${ECHO_T}$YACC" >&6
8823 > else
8824 >  echo "$as_me:$LINENO: result: no" >&5
8825 > echo "${ECHO_T}no" >&6
8826 > fi
8827 >
8828 >  test -n "$YACC" && break
8829 > done
8830 > test -n "$YACC" || YACC="yacc"
8831 >
8832 > for ac_prog in flex lex
8833 > do
8834 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8835 > set dummy $ac_prog; ac_word=$2
8836 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8837 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8838 > if test "${ac_cv_prog_LEX+set}" = set; then
8839 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8840 > else
8841 >  if test -n "$LEX"; then
8842 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
8843 > else
8844 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 > for as_dir in $PATH
8846 > do
8847 >  IFS=$as_save_IFS
8848 >  test -z "$as_dir" && as_dir=.
8849 >  for ac_exec_ext in '' $ac_executable_extensions; do
8850 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8851 >    ac_cv_prog_LEX="$ac_prog"
8852 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8853 >    break 2
8854 >  fi
8855 > done
8856 > done
8857 >
8858 > fi
8859 > fi
8860 > LEX=$ac_cv_prog_LEX
8861 > if test -n "$LEX"; then
8862 >  echo "$as_me:$LINENO: result: $LEX" >&5
8863 > echo "${ECHO_T}$LEX" >&6
8864 > else
8865 >  echo "$as_me:$LINENO: result: no" >&5
8866 > echo "${ECHO_T}no" >&6
8867 > fi
8868 >
8869 >  test -n "$LEX" && break
8870 > done
8871 > test -n "$LEX" || LEX=":"
8872 >
8873 > if test -z "$LEXLIB"
8874 > then
8875 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8876 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8877 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8878 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8879 > else
8880 >  ac_check_lib_save_LIBS=$LIBS
8881 > LIBS="-lfl  $LIBS"
8882 > cat >conftest.$ac_ext <<_ACEOF
8883 > /* confdefs.h.  */
8884 > _ACEOF
8885 > cat confdefs.h >>conftest.$ac_ext
8886 > cat >>conftest.$ac_ext <<_ACEOF
8887 > /* end confdefs.h.  */
8888 >
8889 > /* Override any gcc2 internal prototype to avoid an error.  */
8890 > #ifdef __cplusplus
8891 > extern "C"
8892 > #endif
8893 > /* We use char because int might match the return type of a gcc2
8894 >   builtin and then its argument prototype would still apply.  */
8895 > char yywrap ();
8896 > int
8897 > main ()
8898 > {
8899 > yywrap ();
8900 >  ;
8901 >  return 0;
8902 > }
8903 > _ACEOF
8904 > rm -f conftest.$ac_objext conftest$ac_exeext
8905 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8906 >  (eval $ac_link) 2>conftest.er1
8907 >  ac_status=$?
8908 >  grep -v '^ *+' conftest.er1 >conftest.err
8909 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
8914 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 >  (eval $ac_try) 2>&5
8916 >  ac_status=$?
8917 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 >  (exit $ac_status); }; } &&
8919 >         { ac_try='test -s conftest$ac_exeext'
8920 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 >  (eval $ac_try) 2>&5
8922 >  ac_status=$?
8923 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 >  (exit $ac_status); }; }; then
8925 >  ac_cv_lib_fl_yywrap=yes
8926 > else
8927 >  echo "$as_me: failed program was:" >&5
8928 > sed 's/^/| /' conftest.$ac_ext >&5
8929 >
8930 > ac_cv_lib_fl_yywrap=no
8931 > fi
8932 > rm -f conftest.err conftest.$ac_objext \
8933 >      conftest$ac_exeext conftest.$ac_ext
8934 > LIBS=$ac_check_lib_save_LIBS
8935 > fi
8936 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8937 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8938 > if test $ac_cv_lib_fl_yywrap = yes; then
8939 >  LEXLIB="-lfl"
8940 > else
8941 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8942 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8943 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
8944 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8945 > else
8946 >  ac_check_lib_save_LIBS=$LIBS
8947 > LIBS="-ll  $LIBS"
8948 > cat >conftest.$ac_ext <<_ACEOF
8949 > /* confdefs.h.  */
8950 > _ACEOF
8951 > cat confdefs.h >>conftest.$ac_ext
8952 > cat >>conftest.$ac_ext <<_ACEOF
8953 > /* end confdefs.h.  */
8954 >
8955 > /* Override any gcc2 internal prototype to avoid an error.  */
8956 > #ifdef __cplusplus
8957 > extern "C"
8958 > #endif
8959 > /* We use char because int might match the return type of a gcc2
8960 >   builtin and then its argument prototype would still apply.  */
8961 > char yywrap ();
8962 > int
8963 > main ()
8964 > {
8965 > yywrap ();
8966 >  ;
8967 >  return 0;
8968 > }
8969 > _ACEOF
8970 > rm -f conftest.$ac_objext conftest$ac_exeext
8971 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8972 >  (eval $ac_link) 2>conftest.er1
8973 >  ac_status=$?
8974 >  grep -v '^ *+' conftest.er1 >conftest.err
8975 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
8980 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 >  (eval $ac_try) 2>&5
8982 >  ac_status=$?
8983 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 >  (exit $ac_status); }; } &&
8985 >         { ac_try='test -s conftest$ac_exeext'
8986 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 >  (eval $ac_try) 2>&5
8988 >  ac_status=$?
8989 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 >  (exit $ac_status); }; }; then
8991 >  ac_cv_lib_l_yywrap=yes
8992 > else
8993 >  echo "$as_me: failed program was:" >&5
8994 > sed 's/^/| /' conftest.$ac_ext >&5
8995 >
8996 > ac_cv_lib_l_yywrap=no
8997 > fi
8998 > rm -f conftest.err conftest.$ac_objext \
8999 >      conftest$ac_exeext conftest.$ac_ext
9000 > LIBS=$ac_check_lib_save_LIBS
9001 > fi
9002 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9003 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9004 > if test $ac_cv_lib_l_yywrap = yes; then
9005 >  LEXLIB="-ll"
9006 > fi
9007 >
9008 > fi
9009 >
9010 > fi
9011 >
9012 > if test "x$LEX" != "x:"; then
9013 >  echo "$as_me:$LINENO: checking lex output file root" >&5
9014 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9015 > if test "${ac_cv_prog_lex_root+set}" = set; then
9016 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9017 > else
9018 >  # The minimal lex program is just a single line: %%.  But some broken lexes
9019 > # (Solaris, I think it was) want two %% lines, so accommodate them.
9020 > cat >conftest.l <<_ACEOF
9021 > %%
9022 > %%
9023 > _ACEOF
9024 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9025 >  (eval $LEX conftest.l) 2>&5
9026 >  ac_status=$?
9027 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 >  (exit $ac_status); }
9029 > if test -f lex.yy.c; then
9030 >  ac_cv_prog_lex_root=lex.yy
9031 > elif test -f lexyy.c; then
9032 >  ac_cv_prog_lex_root=lexyy
9033 > else
9034 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9035 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9036 >   { (exit 1); exit 1; }; }
9037 > fi
9038 > fi
9039 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9040 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9041 > rm -f conftest.l
9042 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9043 >
9044 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9045 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9046 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9047 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9048 > else
9049 >  # POSIX says lex can declare yytext either as a pointer or an array; the
9050 > # default is implementation-dependent. Figure out which it is, since
9051 > # not all implementations provide the %pointer and %array declarations.
9052 > ac_cv_prog_lex_yytext_pointer=no
9053 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9054 > ac_save_LIBS=$LIBS
9055 > LIBS="$LIBS $LEXLIB"
9056 > cat >conftest.$ac_ext <<_ACEOF
9057 > `cat $LEX_OUTPUT_ROOT.c`
9058 > _ACEOF
9059 > rm -f conftest.$ac_objext conftest$ac_exeext
9060 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9061 >  (eval $ac_link) 2>conftest.er1
9062 >  ac_status=$?
9063 >  grep -v '^ *+' conftest.er1 >conftest.err
9064 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
9069 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070 >  (eval $ac_try) 2>&5
9071 >  ac_status=$?
9072 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 >  (exit $ac_status); }; } &&
9074 >         { ac_try='test -s conftest$ac_exeext'
9075 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 >  (eval $ac_try) 2>&5
9077 >  ac_status=$?
9078 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 >  (exit $ac_status); }; }; then
9080 >  ac_cv_prog_lex_yytext_pointer=yes
9081 > else
9082 >  echo "$as_me: failed program was:" >&5
9083 > sed 's/^/| /' conftest.$ac_ext >&5
9084 >
9085 > fi
9086 > rm -f conftest.err conftest.$ac_objext \
9087 >      conftest$ac_exeext conftest.$ac_ext
9088 > LIBS=$ac_save_LIBS
9089 > rm -f "${LEX_OUTPUT_ROOT}.c"
9090 >
9091 > fi
9092 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9093 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9094 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9095 >
9096 > cat >>confdefs.h <<\_ACEOF
9097 > #define YYTEXT_POINTER 1
9098 > _ACEOF
9099 >
9100 > fi
9101 >
9102 > fi
9103 >
9104 >   # Extract the first word of "perl", so it can be a program name with args.
9105 > set dummy perl; ac_word=$2
9106 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9107 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9108 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9109 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9110 > else
9111 >  case $PERLINTERP in
9112 >  [\\/]* | ?:[\\/]*)
9113 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9114 >  ;;
9115 >  *)
9116 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 > for as_dir in $PATH
9118 > do
9119 >  IFS=$as_save_IFS
9120 >  test -z "$as_dir" && as_dir=.
9121 >  for ac_exec_ext in '' $ac_executable_extensions; do
9122 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9123 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9124 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9125 >    break 2
9126 >  fi
9127 > done
9128 > done
9129 >
9130 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9131 >  ;;
9132 > esac
9133 > fi
9134 > PERLINTERP=$ac_cv_path_PERLINTERP
9135 >
9136 > if test -n "$PERLINTERP"; then
9137 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9138 > echo "${ECHO_T}$PERLINTERP" >&6
9139 > else
9140 >  echo "$as_me:$LINENO: result: no" >&5
9141 > echo "${ECHO_T}no" >&6
9142 > fi
9143 >
9144 >   ac_cv_path_perlinterp="$PERLINTERP"
9145 >   _sHpB='#!'
9146 >
9147 >
9148 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9149 > if test "${with_perl_shebang+set}" = set; then
9150 >  withval="$with_perl_shebang"
9151 >  opt_perl_shebang="$withval"
9152 > else
9153 >                opt_perl_shebang="not_set"
9154 > fi;
9155 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9156 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9157 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9158 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9159 > else
9160 >   case "$opt_perl_shebang" in
9161 >                      not_set  ) ax_cv_opt_perl_shebang=''
9162 >                               ;;
9163 >                         *     )
9164 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9165 >                    esac
9166 >
9167 > fi
9168 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9169 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9170 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9171 >     then
9172 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9173 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9174 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9175 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9176 >
9177 > # Automatic detection of sharpbang formula starts here
9178 >     else
9179 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9180 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9181 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9182 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9183 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9184 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9185 > else
9186 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9187 >        if test "x$_somian_kspb_perl" == x
9188 >          then _somian_ksbp_warn_empty='durnit'
9189 >          else
9190 >          case "A$_somian_kspb_perl" in
9191 >                 A#!*perl* )
9192 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9193 >                        ;;
9194 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9195 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9196 >          esac
9197 >        fi
9198 >
9199 > fi
9200 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9201 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9202 > # The above prints Checking ... result message to user.
9203 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9204 >
9205 >    if test A${_somian_ksbp_warn_empty+set} == Aset
9206 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9207 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9208 >    fi
9209 > # Inform user after printing result value
9210 >    if test A${_somian_ksbp_warn_defau+set} == Aset
9211 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9212 > echo "$as_me: Maybe Not good -" >&6;}
9213 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9214 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9215 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
9216 > echo "$as_me: OK Good result - " >&6;}
9217 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9218 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9219 >    fi
9220 >  fi
9221 >
9222 > # Extract the first word of "ar", so it can be a program name with args.
9223 > set dummy ar; ac_word=$2
9224 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9225 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9226 > if test "${ac_cv_prog_AR+set}" = set; then
9227 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9228 > else
9229 >  if test -n "$AR"; then
9230 >  ac_cv_prog_AR="$AR" # Let the user override the test.
9231 > else
9232 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233 > for as_dir in $PATH
9234 > do
9235 >  IFS=$as_save_IFS
9236 >  test -z "$as_dir" && as_dir=.
9237 >  for ac_exec_ext in '' $ac_executable_extensions; do
9238 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9239 >    ac_cv_prog_AR="ar"
9240 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9241 >    break 2
9242 >  fi
9243 > done
9244 > done
9245 >
9246 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9247 > fi
9248 > fi
9249 > AR=$ac_cv_prog_AR
9250 > if test -n "$AR"; then
9251 >  echo "$as_me:$LINENO: result: $AR" >&5
9252 > echo "${ECHO_T}$AR" >&6
9253 > else
9254 >  echo "$as_me:$LINENO: result: no" >&5
9255 > echo "${ECHO_T}no" >&6
9256 > fi
9257 >
9258 > if test "$AR" = "NONE"; then
9259 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9260 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9261 >   { (exit 1); exit 1; }; }
9262 >  cat >confcache <<\_ACEOF
9263 > # This file is a shell script that caches the results of configure
9264 > # tests run on this system so they can be shared between configure
9265 > # scripts and configure runs, see configure's option --config-cache.
9266 > # It is not useful on other systems.  If it contains results you don't
9267 > # want to keep, you may remove or edit it.
9268 > #
9269 > # config.status only pays attention to the cache file if you give it
9270 > # the --recheck option to rerun configure.
9271 > #
9272 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9273 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
9274 > # following values.
9275 >
9276 > _ACEOF
9277 >
9278 > # The following way of writing the cache mishandles newlines in values,
9279 > # but we know of no workaround that is simple, portable, and efficient.
9280 > # So, don't put newlines in cache variables' values.
9281 > # Ultrix sh set writes to stderr and can't be redirected directly,
9282 > # and sets the high bit in the cache file unless we assign to the vars.
9283 > {
9284 >  (set) 2>&1 |
9285 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9286 >    *ac_space=\ *)
9287 >      # `set' does not quote correctly, so add quotes (double-quote
9288 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
9289 >      sed -n \
9290 >        "s/'/'\\\\''/g;
9291 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9292 >      ;;
9293 >    *)
9294 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
9295 >      sed -n \
9296 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9297 >      ;;
9298 >    esac;
9299 > } |
9300 >  sed '
9301 >     t clear
9302 >     : clear
9303 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9304 >     t end
9305 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9306 >     : end' >>confcache
9307 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9308 >  if test -w $cache_file; then
9309 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9310 >    cat confcache >$cache_file
9311 >  else
9312 >    echo "not updating unwritable cache $cache_file"
9313 >  fi
9314 > fi
9315 > rm -f confcache
9316 >  exit 1
9317 > fi
9318 >
9319 > # Extract the first word of "ps", so it can be a program name with args.
9320 > set dummy ps; ac_word=$2
9321 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9322 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9323 > if test "${ac_cv_path_PS+set}" = set; then
9324 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9325 > else
9326 >  case $PS in
9327 >  [\\/]* | ?:[\\/]*)
9328 >  ac_cv_path_PS="$PS" # Let the user override the test with a path.
9329 >  ;;
9330 >  *)
9331 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 > for as_dir in $PATH
9333 > do
9334 >  IFS=$as_save_IFS
9335 >  test -z "$as_dir" && as_dir=.
9336 >  for ac_exec_ext in '' $ac_executable_extensions; do
9337 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9338 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9339 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9340 >    break 2
9341 >  fi
9342 > done
9343 > done
9344 >
9345 >  ;;
9346 > esac
9347 > fi
9348 > PS=$ac_cv_path_PS
9349 >
9350 > if test -n "$PS"; then
9351 >  echo "$as_me:$LINENO: result: $PS" >&5
9352 > echo "${ECHO_T}$PS" >&6
9353 > else
9354 >  echo "$as_me:$LINENO: result: no" >&5
9355 > echo "${ECHO_T}no" >&6
9356 > fi
9357 >
9358 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9359 > echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9360 > if test "${ac_cv_prog_ps_syntax+set}" = set; then
9361 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9362 > else
9363 >
9364 >        if $PS ax -o rss > /dev/null 2>&1; then
9365 >                ac_cv_prog_ps_ax=yes
9366 >        else
9367 >                ac_cv_prog_ps_ax=no
9368 >        fi
9369 >        if $PS -ef -o rss > /dev/null 2>&1; then
9370 >                ac_cv_prog_ps_ef=yes
9371 >        else
9372 >                ac_cv_prog_ps_ef=no
9373 >        fi
9374 >        if test "$ac_cv_prog_ps_ax" = yes; then
9375 >                ac_cv_prog_ps_syntax=BSD
9376 >        else
9377 >                if test "$ac_cv_prog_ps_ef" = yes; then
9378 >                        ac_cv_prog_ps_syntax=POSIX
9379 >                else
9380 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9381 > echo "$as_me: error: Could not determine ps syntax" >&2;}
9382 >   { (exit 1); exit 1; }; }
9383 >                fi
9384 >        fi
9385 >
9386 > fi
9387 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9388 > echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9389 >
9390 >
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
9403 >  cat >>confdefs.h <<\_ACEOF
9404 > #define PSTYPE_IS_BSD 1
9405 > _ACEOF
9406 >
9407 > else
9408 >   if test "$ac_cv_prog_ps_syntax" = POSIX; then
9409 >       cat >>confdefs.h <<\_ACEOF
9410 > #define PSTYPE_IS_POSIX 1
9411 > _ACEOF
9412 >
9413 >   else
9414 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9415 > echo "$as_me: error: Unknown ps syntax type!" >&2;}
9416 >   { (exit 1); exit 1; }; }
9417 >   fi
9418 > fi
9419 >
9420 >
9421 > # Check whether --with-mpi or --without-mpi was given.
9422 > if test "${with_mpi+set}" = set; then
9423 >  withval="$with_mpi"
9424 >  with_mpi=$withval
9425 > else
9426 >  with_mpi="no"
9427 > fi;
9428 >
9429 > case "x$with_mpi" in
9430 >        xyes | "x")  USE_MPI=yes;;
9431 >        xno) USE_MPI=no ;;
9432 >        *) MPI="$with_mpi"; USE_MPI=yes ;;
9433 > esac
9434 > if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
9435 >        MPI="/usr/local"
9436 > fi
9437 > if test "$USE_MPI" = "yes"; then
9438 >
9439 >
9440 > # Set variables...
9441 > MPI_LIB_DIR="$MPI/lib"
9442 > MPI_INC_DIR="$MPI/include"
9443 >
9444 >
9445 >
9446 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9447 > echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9448 > have_mpi_h=0
9449 > rm -f conftest*
9450 > echo '#include <mpi.h>' > conftest.cc
9451 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9452 >        echo "$as_me:$LINENO: result: yes" >&5
9453 > echo "${ECHO_T}yes" >&6
9454 >        have_mpi_h=1
9455 > else
9456 >        if test -s conftest.out ; then
9457 >                cat conftest.out >> config.log
9458 >        fi
9459 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9460 > echo "${ECHO_T}no! Check MPI include paths" >&6
9461 >        USE_MPI="no"
9462 > fi
9463 > rm -f conftest*
9464 > if test "$have_mpi_h" = 1; then
9465 >
9466 > cat >>confdefs.h <<\_ACEOF
9467 > #define HAVE_MPI_H 1
9468 > _ACEOF
9469 >
9470 > fi
9471 >
9472 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9473 > echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9474 > have_mpif_h=0
9475 > rm -f conftest*
9476 > cat >conftest.f90 <<EOF
9477 > program main
9478 >   include 'mpif.h'
9479 > end
9480 > EOF
9481 > if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9482 >        echo "$as_me:$LINENO: result: yes" >&5
9483 > echo "${ECHO_T}yes" >&6
9484 >        MPI_F90_INC="$MPI_INC_DIR"
9485 >        have_mpif_h=1
9486 > else
9487 >        if test -s conftest.out ; then
9488 >                cat conftest.out >> config.log
9489 >        fi
9490 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9491 > echo "${ECHO_T}no! Check MPI include paths" >&6
9492 >        USE_MPI="no"
9493 > fi
9494 > rm -f conftest*
9495 >
9496 > if test "$have_mpif_h" = 1; then
9497 >
9498 > cat >>confdefs.h <<\_ACEOF
9499 > #define HAVE_MPIF_H 1
9500 > _ACEOF
9501 >
9502 > fi
9503 >
9504 > ac_ext=c
9505 > ac_cpp='$CPP $CPPFLAGS'
9506 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9507 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9508 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9509 >
9510 > ac_save_LDFLAGS=$LDFLAGS
9511 > LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9512 >
9513 > if test x = x"$MPI_LIB"; then
9514 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9515 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9516 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9517 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9518 > else
9519 >  ac_check_lib_save_LIBS=$LIBS
9520 > LIBS="-lmpich  $LIBS"
9521 > cat >conftest.$ac_ext <<_ACEOF
9522 > /* confdefs.h.  */
9523 > _ACEOF
9524 > cat confdefs.h >>conftest.$ac_ext
9525 > cat >>conftest.$ac_ext <<_ACEOF
9526 > /* end confdefs.h.  */
9527 >
9528 > /* Override any gcc2 internal prototype to avoid an error.  */
9529 > #ifdef __cplusplus
9530 > extern "C"
9531 > #endif
9532 > /* We use char because int might match the return type of a gcc2
9533 >   builtin and then its argument prototype would still apply.  */
9534 > char MPI_Init ();
9535 > int
9536 > main ()
9537 > {
9538 > MPI_Init ();
9539 >  ;
9540 >  return 0;
9541 > }
9542 > _ACEOF
9543 > rm -f conftest.$ac_objext conftest$ac_exeext
9544 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 >  (eval $ac_link) 2>conftest.er1
9546 >  ac_status=$?
9547 >  grep -v '^ *+' conftest.er1 >conftest.err
9548 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
9553 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554 >  (eval $ac_try) 2>&5
9555 >  ac_status=$?
9556 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 >  (exit $ac_status); }; } &&
9558 >         { ac_try='test -s conftest$ac_exeext'
9559 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9560 >  (eval $ac_try) 2>&5
9561 >  ac_status=$?
9562 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 >  (exit $ac_status); }; }; then
9564 >  ac_cv_lib_mpich_MPI_Init=yes
9565 > else
9566 >  echo "$as_me: failed program was:" >&5
9567 > sed 's/^/| /' conftest.$ac_ext >&5
9568 >
9569 > ac_cv_lib_mpich_MPI_Init=no
9570 > fi
9571 > rm -f conftest.err conftest.$ac_objext \
9572 >      conftest$ac_exeext conftest.$ac_ext
9573 > LIBS=$ac_check_lib_save_LIBS
9574 > fi
9575 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9576 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9577 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9578 >  MPI_LIB="-lmpich"
9579 > fi
9580 >
9581 > fi
9582 > if test x = x"$MPI_LIB"; then
9583 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9584 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9585 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9586 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9587 > else
9588 >  ac_check_lib_save_LIBS=$LIBS
9589 > LIBS="-lmpi  $LIBS"
9590 > cat >conftest.$ac_ext <<_ACEOF
9591 > /* confdefs.h.  */
9592 > _ACEOF
9593 > cat confdefs.h >>conftest.$ac_ext
9594 > cat >>conftest.$ac_ext <<_ACEOF
9595 > /* end confdefs.h.  */
9596 >
9597 > /* Override any gcc2 internal prototype to avoid an error.  */
9598 > #ifdef __cplusplus
9599 > extern "C"
9600 > #endif
9601 > /* We use char because int might match the return type of a gcc2
9602 >   builtin and then its argument prototype would still apply.  */
9603 > char MPI_Init ();
9604 > int
9605 > main ()
9606 > {
9607 > MPI_Init ();
9608 >  ;
9609 >  return 0;
9610 > }
9611 > _ACEOF
9612 > rm -f conftest.$ac_objext conftest$ac_exeext
9613 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9614 >  (eval $ac_link) 2>conftest.er1
9615 >  ac_status=$?
9616 >  grep -v '^ *+' conftest.er1 >conftest.err
9617 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
9622 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623 >  (eval $ac_try) 2>&5
9624 >  ac_status=$?
9625 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 >  (exit $ac_status); }; } &&
9627 >         { ac_try='test -s conftest$ac_exeext'
9628 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 >  (eval $ac_try) 2>&5
9630 >  ac_status=$?
9631 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 >  (exit $ac_status); }; }; then
9633 >  ac_cv_lib_mpi_MPI_Init=yes
9634 > else
9635 >  echo "$as_me: failed program was:" >&5
9636 > sed 's/^/| /' conftest.$ac_ext >&5
9637 >
9638 > ac_cv_lib_mpi_MPI_Init=no
9639 > fi
9640 > rm -f conftest.err conftest.$ac_objext \
9641 >      conftest$ac_exeext conftest.$ac_ext
9642 > LIBS=$ac_check_lib_save_LIBS
9643 > fi
9644 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9645 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9646 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9647 >  MPI_LIB="-lmpi"
9648 > fi
9649 >
9650 > fi
9651 > $as_unset ac_cv_lib_mpi_MPI_Init
9652 > if test x = x"$MPI_LIB"; then
9653 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9654 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9655 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9656 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9657 > else
9658 >  ac_check_lib_save_LIBS=$LIBS
9659 > LIBS="-lmpi "-llam" $LIBS"
9660 > cat >conftest.$ac_ext <<_ACEOF
9661 > /* confdefs.h.  */
9662 > _ACEOF
9663 > cat confdefs.h >>conftest.$ac_ext
9664 > cat >>conftest.$ac_ext <<_ACEOF
9665 > /* end confdefs.h.  */
9666 >
9667 > /* Override any gcc2 internal prototype to avoid an error.  */
9668 > #ifdef __cplusplus
9669 > extern "C"
9670 > #endif
9671 > /* We use char because int might match the return type of a gcc2
9672 >   builtin and then its argument prototype would still apply.  */
9673 > char MPI_Init ();
9674 > int
9675 > main ()
9676 > {
9677 > MPI_Init ();
9678 >  ;
9679 >  return 0;
9680 > }
9681 > _ACEOF
9682 > rm -f conftest.$ac_objext conftest$ac_exeext
9683 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684 >  (eval $ac_link) 2>conftest.er1
9685 >  ac_status=$?
9686 >  grep -v '^ *+' conftest.er1 >conftest.err
9687 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
9692 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 >  (eval $ac_try) 2>&5
9694 >  ac_status=$?
9695 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 >  (exit $ac_status); }; } &&
9697 >         { ac_try='test -s conftest$ac_exeext'
9698 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 >  (eval $ac_try) 2>&5
9700 >  ac_status=$?
9701 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 >  (exit $ac_status); }; }; then
9703 >  ac_cv_lib_mpi_MPI_Init=yes
9704 > else
9705 >  echo "$as_me: failed program was:" >&5
9706 > sed 's/^/| /' conftest.$ac_ext >&5
9707 >
9708 > ac_cv_lib_mpi_MPI_Init=no
9709 > fi
9710 > rm -f conftest.err conftest.$ac_objext \
9711 >      conftest$ac_exeext conftest.$ac_ext
9712 > LIBS=$ac_check_lib_save_LIBS
9713 > fi
9714 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9715 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9716 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9717 >  MPI_LIB="-lmpi -llam"
9718 > fi
9719 >
9720 > fi
9721 > $as_unset ac_cv_lib_mpich_MPI_Init
9722 > if test x = x"$MPI_LIB"; then
9723 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9724 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9725 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9726 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9727 > else
9728 >  ac_check_lib_save_LIBS=$LIBS
9729 > LIBS="-lmpich "-lpmpich" $LIBS"
9730 > cat >conftest.$ac_ext <<_ACEOF
9731 > /* confdefs.h.  */
9732 > _ACEOF
9733 > cat confdefs.h >>conftest.$ac_ext
9734 > cat >>conftest.$ac_ext <<_ACEOF
9735 > /* end confdefs.h.  */
9736 >
9737 > /* Override any gcc2 internal prototype to avoid an error.  */
9738 > #ifdef __cplusplus
9739 > extern "C"
9740 > #endif
9741 > /* We use char because int might match the return type of a gcc2
9742 >   builtin and then its argument prototype would still apply.  */
9743 > char MPI_Init ();
9744 > int
9745 > main ()
9746 > {
9747 > MPI_Init ();
9748 >  ;
9749 >  return 0;
9750 > }
9751 > _ACEOF
9752 > rm -f conftest.$ac_objext conftest$ac_exeext
9753 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9754 >  (eval $ac_link) 2>conftest.er1
9755 >  ac_status=$?
9756 >  grep -v '^ *+' conftest.er1 >conftest.err
9757 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
9762 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 >  (eval $ac_try) 2>&5
9764 >  ac_status=$?
9765 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 >  (exit $ac_status); }; } &&
9767 >         { ac_try='test -s conftest$ac_exeext'
9768 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 >  (eval $ac_try) 2>&5
9770 >  ac_status=$?
9771 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 >  (exit $ac_status); }; }; then
9773 >  ac_cv_lib_mpich_MPI_Init=yes
9774 > else
9775 >  echo "$as_me: failed program was:" >&5
9776 > sed 's/^/| /' conftest.$ac_ext >&5
9777 >
9778 > ac_cv_lib_mpich_MPI_Init=no
9779 > fi
9780 > rm -f conftest.err conftest.$ac_objext \
9781 >      conftest$ac_exeext conftest.$ac_ext
9782 > LIBS=$ac_check_lib_save_LIBS
9783 > fi
9784 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9785 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9786 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9787 >  MPI_LIB="-lmpich -lpmpich"
9788 > fi
9789 >
9790 > fi
9791 >
9792 > $as_unset ac_cv_lib_mpi_MPI_Init
9793 > if test x = x"$MPI_LIB"; then
9794 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9795 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9796 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9797 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9798 > else
9799 >  ac_check_lib_save_LIBS=$LIBS
9800 > LIBS="-lmpi -llam -lpthread $LIBS"
9801 > cat >conftest.$ac_ext <<_ACEOF
9802 > /* confdefs.h.  */
9803 > _ACEOF
9804 > cat confdefs.h >>conftest.$ac_ext
9805 > cat >>conftest.$ac_ext <<_ACEOF
9806 > /* end confdefs.h.  */
9807 >
9808 > /* Override any gcc2 internal prototype to avoid an error.  */
9809 > #ifdef __cplusplus
9810 > extern "C"
9811 > #endif
9812 > /* We use char because int might match the return type of a gcc2
9813 >   builtin and then its argument prototype would still apply.  */
9814 > char MPI_Init ();
9815 > int
9816 > main ()
9817 > {
9818 > MPI_Init ();
9819 >  ;
9820 >  return 0;
9821 > }
9822 > _ACEOF
9823 > rm -f conftest.$ac_objext conftest$ac_exeext
9824 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 >  (eval $ac_link) 2>conftest.er1
9826 >  ac_status=$?
9827 >  grep -v '^ *+' conftest.er1 >conftest.err
9828 >  rm -f conftest.er1
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"                   || test ! -s conftest.err'
9833 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 >  (eval $ac_try) 2>&5
9835 >  ac_status=$?
9836 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 >  (exit $ac_status); }; } &&
9838 >         { ac_try='test -s conftest$ac_exeext'
9839 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9840 >  (eval $ac_try) 2>&5
9841 >  ac_status=$?
9842 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 >  (exit $ac_status); }; }; then
9844 >  ac_cv_lib_mpi_MPI_Init=yes
9845 > else
9846 >  echo "$as_me: failed program was:" >&5
9847 > sed 's/^/| /' conftest.$ac_ext >&5
9848 >
9849 > ac_cv_lib_mpi_MPI_Init=no
9850 > fi
9851 > rm -f conftest.err conftest.$ac_objext \
9852 >      conftest$ac_exeext conftest.$ac_ext
9853 > LIBS=$ac_check_lib_save_LIBS
9854 > fi
9855 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9856 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9857 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9858 >  MPI_LIB="-lmpi -llam -lpthread"
9859 > else
9860 >
9861 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9862 > echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9863 >   { (exit 1); exit 1; }; }
9864 >             USE_MPI="no"
9865 >
9866 > fi
9867 >
9868 > fi
9869 >
9870 >
9871 >
9872 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9873 > echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9874 > MPI_F90_LIB=""
9875 > if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
9876 >        MPI_F90_LIB="-lfmpich"
9877 > elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
9878 >        MPI_F90_LIB="-llamf77mpi"
9879 > else
9880 >                        MPI_F90_LIB="  "
9881 > fi
9882 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9883 > echo "${ECHO_T}found $MPI_F90_LIB" >&6
9884 >
9885 >
9886 > fi
9887 >
9888 >
9889 >
9890 >
9891 > USE_CGAL=no
9892 > cgal_makefile=auto
9893 >
9894 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9895 > if test "${with_cgal_makefile+set}" = set; then
9896 >  withval="$with_cgal_makefile"
9897 >  cgal_makefile="$withval"
9898 > fi;
9899 >
9900 > if test "x$cgal_makefile" != xno; then
9901 >
9902 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9903 >    cgal_makefile="$CGAL_MAKEFILE"
9904 >  fi
9905 >
9906 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9907 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9908 >
9909 >  if test -f "$cgal_makefile"; then
9910 >
9911 >    cat >config.tmp.Makefile <<EOF
9912 > include $cgal_makefile
9913 > default:
9914 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9915 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9916 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9917 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9918 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9919 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9920 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9921 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9922 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9923 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9924 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9925 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9926 > EOF
9927 >
9928 >    make -s -f config.tmp.Makefile
9929 >    . config.tmp.cgalvariables
9930 >
9931 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9932 >
9933 >    if test "x$CGAL_INCLDIR" = "x"; then
9934 >      CGAL_INCLDIR=""
9935 >    fi
9936 >
9937 >    if test "x$CGAL_LIBDIR" = "x"; then
9938 >      CGAL_LIBDIR=""
9939 >    fi
9940 >
9941 >    if test "x$CGAL_RLIBDIR" = "x"; then
9942 >      CGAL_RLIBDIR=""
9943 >    fi
9944 >
9945 >    if test "x$LEDA_INCLDIR" = "x"; then
9946 >      LEDA_INCLDIR=""
9947 >    fi
9948 >
9949 >    if test "x$LEDA_LIBDIR" = "x"; then
9950 >      LEDA_LIBDIR=""
9951 >    fi
9952 >
9953 >    if test "x$LEDA_RLIBDIR" = "x"; then
9954 >      LEDA_RLIBDIR=""
9955 >    fi
9956 >
9957 >    if test "x$GMP_INCLDIR" = "x"; then
9958 >      GMP_INCLDIR=""
9959 >    fi
9960 >
9961 >    if test "x$GMP_LIBDIR" = "x"; then
9962 >      GMP_LIBDIR=""
9963 >    fi
9964 >
9965 >    if test "x$GMP_RLIBDIR" = "x"; then
9966 >      GMP_RLIBDIR=""
9967 >    fi
9968 >
9969 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
9970 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
9971 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
9972 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
9973 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
9974 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
9975 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
9976 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
9977 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
9978 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
9979 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
9980 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
9981 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
9982 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
9983 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
9984 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
9985 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
9986 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
9987 >
9988 >    ac_ext=cc
9989 > ac_cpp='$CXXCPP $CPPFLAGS'
9990 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9991 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9992 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9993 >
9994 >    save_CXXFLAGS="$CXXFLAGS"
9995 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
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
10000 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10001 > fi
10002 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10003 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10004 > else
10005 >  # Is the header compilable?
10006 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10007 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10008 > cat >conftest.$ac_ext <<_ACEOF
10009 > /* confdefs.h.  */
10010 > _ACEOF
10011 > cat confdefs.h >>conftest.$ac_ext
10012 > cat >>conftest.$ac_ext <<_ACEOF
10013 > /* end confdefs.h.  */
10014 > $ac_includes_default
10015 > #include <CGAL/Cartesian.h>
10016 > _ACEOF
10017 > rm -f conftest.$ac_objext
10018 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10019 >  (eval $ac_compile) 2>conftest.er1
10020 >  ac_status=$?
10021 >  grep -v '^ *+' conftest.er1 >conftest.err
10022 >  rm -f conftest.er1
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"                         || test ! -s conftest.err'
10027 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028 >  (eval $ac_try) 2>&5
10029 >  ac_status=$?
10030 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 >  (exit $ac_status); }; } &&
10032 >         { ac_try='test -s conftest.$ac_objext'
10033 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 >  (eval $ac_try) 2>&5
10035 >  ac_status=$?
10036 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 >  (exit $ac_status); }; }; then
10038 >  ac_header_compiler=yes
10039 > else
10040 >  echo "$as_me: failed program was:" >&5
10041 > sed 's/^/| /' conftest.$ac_ext >&5
10042 >
10043 > ac_header_compiler=no
10044 > fi
10045 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10046 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10047 > echo "${ECHO_T}$ac_header_compiler" >&6
10048 >
10049 > # Is the header present?
10050 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10051 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10052 > cat >conftest.$ac_ext <<_ACEOF
10053 > /* confdefs.h.  */
10054 > _ACEOF
10055 > cat confdefs.h >>conftest.$ac_ext
10056 > cat >>conftest.$ac_ext <<_ACEOF
10057 > /* end confdefs.h.  */
10058 > #include <CGAL/Cartesian.h>
10059 > _ACEOF
10060 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10061 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10062 >  ac_status=$?
10063 >  grep -v '^ *+' conftest.er1 >conftest.err
10064 >  rm -f conftest.er1
10065 >  cat conftest.err >&5
10066 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 >  (exit $ac_status); } >/dev/null; then
10068 >  if test -s conftest.err; then
10069 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10070 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10071 >  else
10072 >    ac_cpp_err=
10073 >  fi
10074 > else
10075 >  ac_cpp_err=yes
10076 > fi
10077 > if test -z "$ac_cpp_err"; then
10078 >  ac_header_preproc=yes
10079 > else
10080 >  echo "$as_me: failed program was:" >&5
10081 > sed 's/^/| /' conftest.$ac_ext >&5
10082 >
10083 >  ac_header_preproc=no
10084 > fi
10085 > rm -f conftest.err conftest.$ac_ext
10086 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10087 > echo "${ECHO_T}$ac_header_preproc" >&6
10088 >
10089 > # So?  What about this header?
10090 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10091 >  yes:no: )
10092 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10093 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10094 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10095 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10096 >    ac_header_preproc=yes
10097 >    ;;
10098 >  no:yes:* )
10099 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10100 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10101 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10102 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10103 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10104 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10105 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10106 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10107 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10108 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10109 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10110 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10111 >    (
10112 >      cat <<\_ASBOX
10113 > ## ------------------------------ ##
10114 > ## Report this to gezelter@nd.edu ##
10115 > ## ------------------------------ ##
10116 > _ASBOX
10117 >    ) |
10118 >      sed "s/^/$as_me: WARNING:     /" >&2
10119 >    ;;
10120 > esac
10121 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10122 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10123 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10124 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10125 > else
10126 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10127 > fi
10128 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10129 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10130 >
10131 > fi
10132 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10133 >  cgal=yes
10134 > else
10135 >  cgal=no
10136 > fi
10137 >
10138 >
10139 >    CXXFLAGS="$save_CXXFLAGS"
10140 >
10141 >    if test "x$cgal" = xyes; then
10142 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10143 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10144 >      LOCATION=${CGAL_INCLDIR}
10145 >      LOCATION=${LOCATION:-/usr/include}
10146 >      if test -f $LOCATION/CGAL/version.h; then
10147 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10148 >      else
10149 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10150 >      fi
10151 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10152 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10153 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10154 >      else
10155 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10156 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10157 >        cgal=no
10158 >      fi
10159 >    fi
10160 >
10161 >    if test "x$cgal" = xyes; then
10162 >      CGAL_LIBS="-lCGAL"
10163 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10164 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10165 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10166 >        CGAL_USES_LEDA=yes
10167 >        echo "$as_me:$LINENO: result: yes" >&5
10168 > echo "${ECHO_T}yes" >&6
10169 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10170 >      else
10171 >        echo "$as_me:$LINENO: result: no" >&5
10172 > echo "${ECHO_T}no" >&6
10173 >        CGAL_USES_LEDA=no
10174 >      fi
10175 >
10176 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10177 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10178 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10179 >        CGAL_USES_GMP=yes
10180 >        echo "$as_me:$LINENO: result: yes" >&5
10181 > echo "${ECHO_T}yes" >&6
10182 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10183 >      else
10184 >        echo "$as_me:$LINENO: result: no" >&5
10185 > echo "${ECHO_T}no" >&6
10186 >        CGAL_USES_GMP=no
10187 >      fi
10188 >
10189 >      CGAL_LIBS="$CGAL_LIBS -lm"
10190 >
10191 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10192 >
10193 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10194 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10195 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10196 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10197 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10198 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10199 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10200 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10201 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10202 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10203 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10204 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10205 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10206 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10207 >    fi
10208 >
10209 >    if test "x$cgal" = xyes; then
10210 >      save_LIBS="$LIBS"
10211 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10212 >      if test "x$CGAL_USES_LEDA" = xyes; then
10213 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10214 >      fi
10215 >      # if test "x$CGAL_USES_GMP" = xyes; then
10216 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10217 >      # fi
10218 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10219 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10220 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10221 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10222 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10223 > LIBS="-lCGAL  $LIBS"
10224 > cat >conftest.$ac_ext <<_ACEOF
10225 > /* confdefs.h.  */
10226 > _ACEOF
10227 > cat confdefs.h >>conftest.$ac_ext
10228 > cat >>conftest.$ac_ext <<_ACEOF
10229 > /* end confdefs.h.  */
10230 > #include <CGAL/Cartesian.h>
10231 > int
10232 > main ()
10233 > {
10234 > ::CGAL::Cartesian<int>::Point_2 P
10235 >  ;
10236 >  return 0;
10237 > }
10238 > _ACEOF
10239 > rm -f conftest.$ac_objext conftest$ac_exeext
10240 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10241 >  (eval $ac_link) 2>conftest.er1
10242 >  ac_status=$?
10243 >  grep -v '^ *+' conftest.er1 >conftest.err
10244 >  rm -f conftest.er1
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"                         || test ! -s conftest.err'
10249 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10250 >  (eval $ac_try) 2>&5
10251 >  ac_status=$?
10252 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 >  (exit $ac_status); }; } &&
10254 >         { ac_try='test -s conftest$ac_exeext'
10255 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10256 >  (eval $ac_try) 2>&5
10257 >  ac_status=$?
10258 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 >  (exit $ac_status); }; }; then
10260 >  echo "$as_me:$LINENO: result: yes" >&5
10261 > echo "${ECHO_T}yes" >&6
10262 > cgal=yes
10263 > else
10264 >  echo "$as_me: failed program was:" >&5
10265 > sed 's/^/| /' conftest.$ac_ext >&5
10266 >
10267 > echo "$as_me:$LINENO: result: no" >&5
10268 > echo "${ECHO_T}no" >&6
10269 > cgal=no
10270 > fi
10271 > rm -f conftest.err conftest.$ac_objext \
10272 >      conftest$ac_exeext conftest.$ac_ext
10273 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10274 > LIBS="$save_LIBS_CHECK_CXX_LIB"
10275 >      LIBS="$save_LIBS"
10276 >    fi
10277 >
10278 >  fi
10279 >  ac_ext=c
10280 > ac_cpp='$CPP $CPPFLAGS'
10281 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10282 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10283 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
10284 >
10285 >
10286 > fi
10287 >
10288 > if test "x$cgal" = xyes; then
10289 >  USE_CGAL=yes
10290 >
10291 > cat >>confdefs.h <<\_ACEOF
10292 > #define HAVE_CGAL 1
10293 > _ACEOF
10294 >
10295 >
10296 > cat >>confdefs.h <<_ACEOF
10297 > #define CGAL_VERSION $CGAL_VERSION
10298 > _ACEOF
10299 >
10300 >  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10301 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10302 > echo "$as_me: WARNING: *****************************************************" >&2;}
10303 >    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10304 > echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10305 >    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10306 > echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10307 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10308 > echo "$as_me: WARNING: *****************************************************" >&2;}
10309 >  fi
10310 > else
10311 >   if test "x$cgal_makefile" != xno; then
10312 >    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10313 > echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10314 >  fi
10315 >  CGAL_INCLDIR=
10316 >  CGAL_LIBDIR=
10317 >  CGAL_RLIBDIR=
10318 >  CGAL_DEFINES=
10319 >  CGAL_CXXFLAGS=
10320 >  CGAL_LIBS=
10321 > fi
10322 >
10323 >
10324 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10325 >
10326 > CGAL_LIB_DIR=${CGAL_LIBDIR}
10327 >
10328 > CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10329 >
10330 >
10331 >
10332 >
10333 >
10334 >
10335 >
10336 > # Check whether --enable-doxygen or --disable-doxygen was given.
10337 > if test "${enable_doxygen+set}" = set; then
10338 >  enableval="$enable_doxygen"
10339 >
10340 > fi;
10341 > # Check whether --enable-dot or --disable-dot was given.
10342 > if test "${enable_dot+set}" = set; then
10343 >  enableval="$enable_dot"
10344 >
10345 > fi;
10346 > # Check whether --enable-html-docs or --disable-html-docs was given.
10347 > if test "${enable_html_docs+set}" = set; then
10348 >  enableval="$enable_html_docs"
10349 >
10350 > else
10351 >   enable_html_docs=yes
10352 > fi;
10353 > # Check whether --enable-latex-docs or --disable-latex-docs was given.
10354 > if test "${enable_latex_docs+set}" = set; then
10355 >  enableval="$enable_latex_docs"
10356 >
10357 > else
10358 >   enable_latex_docs=no
10359 > fi;
10360 > if test "x$enable_doxygen" = xno; then
10361 >        enable_doc=no
10362 > else
10363 >        # Extract the first word of "doxygen", so it can be a program name with args.
10364 > set dummy doxygen; ac_word=$2
10365 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10366 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10367 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
10368 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10369 > else
10370 >  case $DOXYGEN in
10371 >  [\\/]* | ?:[\\/]*)
10372 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10373 >  ;;
10374 >  *)
10375 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10376 > for as_dir in $PATH
10377 > do
10378 >  IFS=$as_save_IFS
10379 >  test -z "$as_dir" && as_dir=.
10380 >  for ac_exec_ext in '' $ac_executable_extensions; do
10381 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10382 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10383 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10384 >    break 2
10385 >  fi
10386 > done
10387 > done
10388 >
10389 >  ;;
10390 > esac
10391 > fi
10392 > DOXYGEN=$ac_cv_path_DOXYGEN
10393 >
10394 > if test -n "$DOXYGEN"; then
10395 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10396 > echo "${ECHO_T}$DOXYGEN" >&6
10397 > else
10398 >  echo "$as_me:$LINENO: result: no" >&5
10399 > echo "${ECHO_T}no" >&6
10400 > fi
10401 >
10402 >        if test "x$DOXYGEN" = x; then
10403 >                if test "x$enable_doxygen" = xyes; then
10404 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10405 > echo "$as_me: error: could not find doxygen" >&2;}
10406 >   { (exit 1); exit 1; }; }
10407 >                fi
10408 >                enable_doc=no
10409 >        else
10410 >                enable_doc=yes
10411 >                # Extract the first word of "dot", so it can be a program name with args.
10412 > set dummy dot; ac_word=$2
10413 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10414 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10415 > if test "${ac_cv_path_DOT+set}" = set; then
10416 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10417 > else
10418 >  case $DOT in
10419 >  [\\/]* | ?:[\\/]*)
10420 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10421 >  ;;
10422 >  *)
10423 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 > for as_dir in $PATH
10425 > do
10426 >  IFS=$as_save_IFS
10427 >  test -z "$as_dir" && as_dir=.
10428 >  for ac_exec_ext in '' $ac_executable_extensions; do
10429 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10430 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10431 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 >    break 2
10433 >  fi
10434 > done
10435 > done
10436 >
10437 >  ;;
10438 > esac
10439 > fi
10440 > DOT=$ac_cv_path_DOT
10441 >
10442 > if test -n "$DOT"; then
10443 >  echo "$as_me:$LINENO: result: $DOT" >&5
10444 > echo "${ECHO_T}$DOT" >&6
10445 > else
10446 >  echo "$as_me:$LINENO: result: no" >&5
10447 > echo "${ECHO_T}no" >&6
10448 > fi
10449 >
10450 >        fi
10451 > fi
10452 >
10453 > if test "x$enable_doc" = xyes; then
10454 >  DOC=1
10455 > else
10456 >  DOC=0
10457 > fi
10458 >
10459 >
10460 > if test x$DOT = x; then
10461 >        if test "x$enable_dot" = xyes; then
10462 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10463 > echo "$as_me: error: could not find dot" >&2;}
10464 >   { (exit 1); exit 1; }; }
10465 >        fi
10466 >        enable_dot=no
10467 > else
10468 >        enable_dot=yes
10469 > fi
10470 >
10471 >
10472 >
10473 >
10474 >
10475 >
10476 >
10477 > OBJEXT=".$OBJEXT"
10478 >
10479 > OOPSE=oopse
10480 >
10481 > if test "x${prefix}" = "xNONE"
10482 > then
10483 >  OOPSE_HOME=${ac_default_prefix}/oopse
10484 > else
10485 >  OOPSE_HOME=${prefix}/oopse
10486 > fi
10487 > # Check whether --enable-oopse-home or --disable-oopse-home was given.
10488 > if test "${enable_oopse_home+set}" = set; then
10489 >  enableval="$enable_oopse_home"
10490 >  OOPSE_HOME="${enableval}"
10491 > fi;
10492 >
10493 > case "x$INSTALL" in
10494 >   x/*) ;;
10495 >   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
10496 > esac
10497 >
10498 > MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
10499 >
10500 > CFLAGS=${CFLAGS-""}
10501 > CXXFLAGS=${CXXFLAGS-""}
10502 > CPPFLAGS=${CPPFLAGS-""}
10503 > FFLAGS=${FFLAGS-""}
10504 > F90FLAGS=${F90FLAGS-""}
10505 > LDFLAGS=${LDFLAGS-""}
10506 > DEBUG=${DEBUG-"-g"}
10507 >
10508 > case $debug in
10509 >  1)
10510 >     FFLAGS="$DEBUG $FFLAGS"
10511 >     F90FLAGS="$DEBUG $F90FLAGS"
10512 >     ;;
10513 >  *)
10514 >     ;;
10515 > esac
10516 >
10517 >
10518 >
10519 >
10520 >
10521 >
10522 >
10523 >
10524 >
10525 >
10526 >
10527 >
10528 >
10529 >
10530 >
10531 >
10532 >
10533 >
10534 >          ac_config_headers="$ac_config_headers src/config.h"
10535 >
10536 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10537 >
10538 >
10539 > cat >confcache <<\_ACEOF
10540 > # This file is a shell script that caches the results of configure
10541 > # tests run on this system so they can be shared between configure
10542 > # scripts and configure runs, see configure's option --config-cache.
10543 > # It is not useful on other systems.  If it contains results you don't
10544 > # want to keep, you may remove or edit it.
10545 > #
10546 > # config.status only pays attention to the cache file if you give it
10547 > # the --recheck option to rerun configure.
10548 > #
10549 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10550 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
10551 > # following values.
10552 >
10553 > _ACEOF
10554 >
10555 > # The following way of writing the cache mishandles newlines in values,
10556 > # but we know of no workaround that is simple, portable, and efficient.
10557 > # So, don't put newlines in cache variables' values.
10558 > # Ultrix sh set writes to stderr and can't be redirected directly,
10559 > # and sets the high bit in the cache file unless we assign to the vars.
10560 > {
10561 >  (set) 2>&1 |
10562 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
10563 >    *ac_space=\ *)
10564 >      # `set' does not quote correctly, so add quotes (double-quote
10565 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
10566 >      sed -n \
10567 >        "s/'/'\\\\''/g;
10568 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10569 >      ;;
10570 >    *)
10571 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
10572 >      sed -n \
10573 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10574 >      ;;
10575 >    esac;
10576 > } |
10577 >  sed '
10578 >     t clear
10579 >     : clear
10580 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10581 >     t end
10582 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10583 >     : end' >>confcache
10584 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10585 >  if test -w $cache_file; then
10586 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10587 >    cat confcache >$cache_file
10588 >  else
10589 >    echo "not updating unwritable cache $cache_file"
10590 >  fi
10591 > fi
10592 > rm -f confcache
10593 >
10594 > test "x$prefix" = xNONE && prefix=$ac_default_prefix
10595 > # Let make expand exec_prefix.
10596 > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10597 >
10598 > # VPATH may cause trouble with some makes, so we remove $(srcdir),
10599 > # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10600 > # trailing colons and then remove the whole line if VPATH becomes empty
10601 > # (actually we leave an empty line to preserve line numbers).
10602 > if test "x$srcdir" = x.; then
10603 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10604 > s/:*\$(srcdir):*/:/;
10605 > s/:*\${srcdir}:*/:/;
10606 > s/:*@srcdir@:*/:/;
10607 > s/^\([^=]*=[     ]*\):*/\1/;
10608 > s/:*$//;
10609 > s/^[^=]*=[       ]*$//;
10610 > }'
10611 > fi
10612 >
10613 > DEFS=-DHAVE_CONFIG_H
10614 >
10615 > ac_libobjs=
10616 > ac_ltlibobjs=
10617 > for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10618 >  # 1. Remove the extension, and $U if already installed.
10619 >  ac_i=`echo "$ac_i" |
10620 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10621 >  # 2. Add them.
10622 >  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10623 >  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10624 > done
10625 > LIBOBJS=$ac_libobjs
10626 >
10627 > LTLIBOBJS=$ac_ltlibobjs
10628 >
10629 >
10630 >
10631 > : ${CONFIG_STATUS=./config.status}
10632 > ac_clean_files_save=$ac_clean_files
10633 > ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10634 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10635 > echo "$as_me: creating $CONFIG_STATUS" >&6;}
10636 > cat >$CONFIG_STATUS <<_ACEOF
10637 > #! $SHELL
10638 > # Generated by $as_me.
10639 > # Run this file to recreate the current configuration.
10640 > # Compiler output produced by configure, useful for debugging
10641 > # configure, is in config.log if it exists.
10642 >
10643 > debug=false
10644 > ac_cs_recheck=false
10645 > ac_cs_silent=false
10646 > SHELL=\${CONFIG_SHELL-$SHELL}
10647 > _ACEOF
10648 >
10649 > cat >>$CONFIG_STATUS <<\_ACEOF
10650 > ## --------------------- ##
10651 > ## M4sh Initialization.  ##
10652 > ## --------------------- ##
10653 >
10654 > # Be Bourne compatible
10655 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10656 >  emulate sh
10657 >  NULLCMD=:
10658 >  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10659 >  # is contrary to our usage.  Disable this feature.
10660 >  alias -g '${1+"$@"}'='"$@"'
10661 > elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10662 >  set -o posix
10663 > fi
10664 > DUALCASE=1; export DUALCASE # for MKS sh
10665 >
10666 > # Support unset when possible.
10667 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10668 >  as_unset=unset
10669 > else
10670 >  as_unset=false
10671 > fi
10672 >
10673 >
10674 > # Work around bugs in pre-3.0 UWIN ksh.
10675 > $as_unset ENV MAIL MAILPATH
10676 > PS1='$ '
10677 > PS2='> '
10678 > PS4='+ '
10679 >
10680 > # NLS nuisances.
10681 > for as_var in \
10682 >  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10683 >  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10684 >  LC_TELEPHONE LC_TIME
10685 > do
10686 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10687 >    eval $as_var=C; export $as_var
10688 >  else
10689 >    $as_unset $as_var
10690 >  fi
10691 > done
10692 >
10693 > # Required to use basename.
10694 > if expr a : '\(a\)' >/dev/null 2>&1; then
10695 >  as_expr=expr
10696 > else
10697 >  as_expr=false
10698 > fi
10699 >
10700 > if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10701 >  as_basename=basename
10702 > else
10703 >  as_basename=false
10704 > fi
10705 >
10706 >
10707 > # Name of the executable.
10708 > as_me=`$as_basename "$0" ||
10709 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10710 >         X"$0" : 'X\(//\)$' \| \
10711 >         X"$0" : 'X\(/\)$' \| \
10712 >         .     : '\(.\)' 2>/dev/null ||
10713 > echo X/"$0" |
10714 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10715 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10716 >          /^X\/\(\/\).*/{ s//\1/; q; }
10717 >          s/.*/./; q'`
10718 >
10719 >
10720 > # PATH needs CR, and LINENO needs CR and PATH.
10721 > # Avoid depending upon Character Ranges.
10722 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10723 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10724 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10725 > as_cr_digits='0123456789'
10726 > as_cr_alnum=$as_cr_Letters$as_cr_digits
10727 >
10728 > # The user is always right.
10729 > if test "${PATH_SEPARATOR+set}" != set; then
10730 >  echo "#! /bin/sh" >conf$$.sh
10731 >  echo  "exit 0"   >>conf$$.sh
10732 >  chmod +x conf$$.sh
10733 >  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10734 >    PATH_SEPARATOR=';'
10735 >  else
10736 >    PATH_SEPARATOR=:
10737 >  fi
10738 >  rm -f conf$$.sh
10739 > fi
10740 >
10741 >
10742 >  as_lineno_1=$LINENO
10743 >  as_lineno_2=$LINENO
10744 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10745 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10746 >  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10747 >  # Find who we are.  Look in the path if we contain no path at all
10748 >  # relative or not.
10749 >  case $0 in
10750 >    *[\\/]* ) as_myself=$0 ;;
10751 >    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 > for as_dir in $PATH
10753 > do
10754 >  IFS=$as_save_IFS
10755 >  test -z "$as_dir" && as_dir=.
10756 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10757 > done
10758 >
10759 >       ;;
10760 >  esac
10761 >  # We did not find ourselves, most probably we were run as `sh COMMAND'
10762 >  # in which case we are not to be found in the path.
10763 >  if test "x$as_myself" = x; then
10764 >    as_myself=$0
10765 >  fi
10766 >  if test ! -f "$as_myself"; then
10767 >    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10768 > echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10769 >   { (exit 1); exit 1; }; }
10770 >  fi
10771 >  case $CONFIG_SHELL in
10772 >  '')
10773 >    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10774 > for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10775 > do
10776 >  IFS=$as_save_IFS
10777 >  test -z "$as_dir" && as_dir=.
10778 >  for as_base in sh bash ksh sh5; do
10779 >         case $as_dir in
10780 >         /*)
10781 >           if ("$as_dir/$as_base" -c '
10782 >  as_lineno_1=$LINENO
10783 >  as_lineno_2=$LINENO
10784 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10785 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10786 >  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10787 >             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10788 >             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10789 >             CONFIG_SHELL=$as_dir/$as_base
10790 >             export CONFIG_SHELL
10791 >             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10792 >           fi;;
10793 >         esac
10794 >       done
10795 > done
10796 > ;;
10797 >  esac
10798 >
10799 >  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10800 >  # uniformly replaced by the line number.  The first 'sed' inserts a
10801 >  # line-number line before each line; the second 'sed' does the real
10802 >  # work.  The second script uses 'N' to pair each line-number line
10803 >  # with the numbered line, and appends trailing '-' during
10804 >  # substitution so that $LINENO is not a special case at line end.
10805 >  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10806 >  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10807 >  sed '=' <$as_myself |
10808 >    sed '
10809 >      N
10810 >      s,$,-,
10811 >      : loop
10812 >      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10813 >      t loop
10814 >      s,-$,,
10815 >      s,^['$as_cr_digits']*\n,,
10816 >    ' >$as_me.lineno &&
10817 >  chmod +x $as_me.lineno ||
10818 >    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10819 > echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10820 >   { (exit 1); exit 1; }; }
10821 >
10822 >  # Don't try to exec as it changes $[0], causing all sort of problems
10823 >  # (the dirname of $[0] is not the place where we might find the
10824 >  # original and so on.  Autoconf is especially sensible to this).
10825 >  . ./$as_me.lineno
10826 >  # Exit status is that of the last command.
10827 >  exit
10828 > }
10829 >
10830 >
10831 > case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10832 >  *c*,-n*) ECHO_N= ECHO_C='
10833 > ' ECHO_T='      ' ;;
10834 >  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10835 >  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10836 > esac
10837 >
10838 > if expr a : '\(a\)' >/dev/null 2>&1; then
10839 >  as_expr=expr
10840 > else
10841 >  as_expr=false
10842 > fi
10843 >
10844 > rm -f conf$$ conf$$.exe conf$$.file
10845 > echo >conf$$.file
10846 > if ln -s conf$$.file conf$$ 2>/dev/null; then
10847 >  # We could just check for DJGPP; but this test a) works b) is more generic
10848 >  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10849 >  if test -f conf$$.exe; then
10850 >    # Don't use ln at all; we don't have any links
10851 >    as_ln_s='cp -p'
10852 >  else
10853 >    as_ln_s='ln -s'
10854 >  fi
10855 > elif ln conf$$.file conf$$ 2>/dev/null; then
10856 >  as_ln_s=ln
10857 > else
10858 >  as_ln_s='cp -p'
10859 > fi
10860 > rm -f conf$$ conf$$.exe conf$$.file
10861 >
10862 > if mkdir -p . 2>/dev/null; then
10863 >  as_mkdir_p=:
10864 > else
10865 >  test -d ./-p && rmdir ./-p
10866 >  as_mkdir_p=false
10867 > fi
10868 >
10869 > as_executable_p="test -f"
10870 >
10871 > # Sed expression to map a string onto a valid CPP name.
10872 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10873 >
10874 > # Sed expression to map a string onto a valid variable name.
10875 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10876 >
10877 >
10878 > # IFS
10879 > # We need space, tab and new line, in precisely that order.
10880 > as_nl='
10881 > '
10882 > IFS="   $as_nl"
10883 >
10884 > # CDPATH.
10885 > $as_unset CDPATH
10886 >
10887 > exec 6>&1
10888 >
10889 > # Open the log real soon, to keep \$[0] and so on meaningful, and to
10890 > # report actual input values of CONFIG_FILES etc. instead of their
10891 > # values after options handling.  Logging --version etc. is OK.
10892 > exec 5>>config.log
10893 > {
10894 >  echo
10895 >  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10896 > ## Running $as_me. ##
10897 > _ASBOX
10898 > } >&5
10899 > cat >&5 <<_CSEOF
10900 >
10901 > This file was extended by OOPSE $as_me 2.0, which was
10902 > generated by GNU Autoconf 2.59.  Invocation command line was
10903 >
10904 >  CONFIG_FILES    = $CONFIG_FILES
10905 >  CONFIG_HEADERS  = $CONFIG_HEADERS
10906 >  CONFIG_LINKS    = $CONFIG_LINKS
10907 >  CONFIG_COMMANDS = $CONFIG_COMMANDS
10908 >  $ $0 $@
10909 >
10910 > _CSEOF
10911 > echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10912 > echo >&5
10913 > _ACEOF
10914 >
10915 > # Files that config.status was made for.
10916 > if test -n "$ac_config_files"; then
10917 >  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10918 > fi
10919 >
10920 > if test -n "$ac_config_headers"; then
10921 >  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10922 > fi
10923 >
10924 > if test -n "$ac_config_links"; then
10925 >  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10926 > fi
10927 >
10928 > if test -n "$ac_config_commands"; then
10929 >  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10930 > fi
10931 >
10932 > cat >>$CONFIG_STATUS <<\_ACEOF
10933 >
10934 > ac_cs_usage="\
10935 > \`$as_me' instantiates files from templates according to the
10936 > current configuration.
10937 >
10938 > Usage: $0 [OPTIONS] [FILE]...
10939 >
10940 >  -h, --help       print this help, then exit
10941 >  -V, --version    print version number, then exit
10942 >  -q, --quiet      do not print progress messages
10943 >  -d, --debug      don't remove temporary files
10944 >      --recheck    update $as_me by reconfiguring in the same conditions
10945 >  --file=FILE[:TEMPLATE]
10946 >                   instantiate the configuration file FILE
10947 >  --header=FILE[:TEMPLATE]
10948 >                   instantiate the configuration header FILE
10949 >
10950 > Configuration files:
10951 > $config_files
10952 >
10953 > Configuration headers:
10954 > $config_headers
10955 >
10956 > Configuration links:
10957 > $config_links
10958 >
10959 > Report bugs to <bug-autoconf@gnu.org>."
10960 > _ACEOF
10961 >
10962 > cat >>$CONFIG_STATUS <<_ACEOF
10963 > ac_cs_version="\\
10964 > OOPSE config.status 2.0
10965 > configured by $0, generated by GNU Autoconf 2.59,
10966 >  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10967 >
10968 > Copyright (C) 2003 Free Software Foundation, Inc.
10969 > This config.status script is free software; the Free Software Foundation
10970 > gives unlimited permission to copy, distribute and modify it."
10971 > srcdir=$srcdir
10972 > INSTALL="$INSTALL"
10973 > _ACEOF
10974 >
10975 > cat >>$CONFIG_STATUS <<\_ACEOF
10976 > # If no file are specified by the user, then we need to provide default
10977 > # value.  By we need to know if files were specified by the user.
10978 > ac_need_defaults=:
10979 > while test $# != 0
10980 > do
10981 >  case $1 in
10982 >  --*=*)
10983 >    ac_option=`expr "x$1" : 'x\([^=]*\)='`
10984 >    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10985 >    ac_shift=:
10986 >    ;;
10987 >  -*)
10988 >    ac_option=$1
10989 >    ac_optarg=$2
10990 >    ac_shift=shift
10991 >    ;;
10992 >  *) # This is not an option, so the user has probably given explicit
10993 >     # arguments.
10994 >     ac_option=$1
10995 >     ac_need_defaults=false;;
10996 >  esac
10997 >
10998 >  case $ac_option in
10999 >  # Handling of the options.
11000 > _ACEOF
11001 > cat >>$CONFIG_STATUS <<\_ACEOF
11002 >  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11003 >    ac_cs_recheck=: ;;
11004 >  --version | --vers* | -V )
11005 >    echo "$ac_cs_version"; exit 0 ;;
11006 >  --he | --h)
11007 >    # Conflict between --help and --header
11008 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11009 > Try \`$0 --help' for more information." >&5
11010 > echo "$as_me: error: ambiguous option: $1
11011 > Try \`$0 --help' for more information." >&2;}
11012 >   { (exit 1); exit 1; }; };;
11013 >  --help | --hel | -h )
11014 >    echo "$ac_cs_usage"; exit 0 ;;
11015 >  --debug | --d* | -d )
11016 >    debug=: ;;
11017 >  --file | --fil | --fi | --f )
11018 >    $ac_shift
11019 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11020 >    ac_need_defaults=false;;
11021 >  --header | --heade | --head | --hea )
11022 >    $ac_shift
11023 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11024 >    ac_need_defaults=false;;
11025 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11026 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11027 >    ac_cs_silent=: ;;
11028 >
11029 >  # This is an error.
11030 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11031 > Try \`$0 --help' for more information." >&5
11032 > echo "$as_me: error: unrecognized option: $1
11033 > Try \`$0 --help' for more information." >&2;}
11034 >   { (exit 1); exit 1; }; } ;;
11035 >
11036 >  *) ac_config_targets="$ac_config_targets $1" ;;
11037 >
11038 >  esac
11039 >  shift
11040 > done
11041 >
11042 > ac_configure_extra_args=
11043 >
11044 > if $ac_cs_silent; then
11045 >  exec 6>/dev/null
11046 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
11047 > fi
11048 >
11049 > _ACEOF
11050 > cat >>$CONFIG_STATUS <<_ACEOF
11051 > if \$ac_cs_recheck; then
11052 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11053 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11054 > fi
11055 >
11056 > _ACEOF
11057 >
11058 >
11059 >
11060 >
11061 >
11062 > cat >>$CONFIG_STATUS <<\_ACEOF
11063 > for ac_config_target in $ac_config_targets
11064 > do
11065 >  case "$ac_config_target" in
11066 >  # Handling of arguments.
11067 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11068 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11069 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11070 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11071 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11072 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11073 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11074 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11075 >   { (exit 1); exit 1; }; };;
11076 >  esac
11077 > done
11078 >
11079 > # If the user did not use the arguments to specify the items to instantiate,
11080 > # then the envvar interface is used.  Set only those that are not.
11081 > # We use the long form for the default assignment because of an extremely
11082 > # bizarre bug on SunOS 4.1.3.
11083 > if $ac_need_defaults; then
11084 >  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11085 >  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11086 >  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11087 > fi
11088 >
11089 > # Have a temporary directory for convenience.  Make it in the build tree
11090 > # simply because there is no reason to put it here, and in addition,
11091 > # creating and moving files from /tmp can sometimes cause problems.
11092 > # Create a temporary directory, and hook for its removal unless debugging.
11093 > $debug ||
11094 > {
11095 >  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11096 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11097 > }
11098 >
11099 > # Create a (secure) tmp directory for tmp files.
11100 >
11101 > {
11102 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11103 >  test -n "$tmp" && test -d "$tmp"
11104 > }  ||
11105 > {
11106 >  tmp=./confstat$$-$RANDOM
11107 >  (umask 077 && mkdir $tmp)
11108 > } ||
11109 > {
11110 >   echo "$me: cannot create a temporary directory in ." >&2
11111 >   { (exit 1); exit 1; }
11112 > }
11113 >
11114 > _ACEOF
11115 >
11116 > cat >>$CONFIG_STATUS <<_ACEOF
11117 >
11118 > #
11119 > # CONFIG_FILES section.
11120 > #
11121 >
11122 > # No need to generate the scripts if there are no CONFIG_FILES.
11123 > # This happens for instance when ./config.status config.h
11124 > if test -n "\$CONFIG_FILES"; then
11125 >  # Protect against being on the right side of a sed subst in config.status.
11126 >  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11127 >   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11128 > s,@SHELL@,$SHELL,;t t
11129 > s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11130 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11131 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11132 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11133 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11134 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11135 > s,@exec_prefix@,$exec_prefix,;t t
11136 > s,@prefix@,$prefix,;t t
11137 > s,@program_transform_name@,$program_transform_name,;t t
11138 > s,@bindir@,$bindir,;t t
11139 > s,@sbindir@,$sbindir,;t t
11140 > s,@libexecdir@,$libexecdir,;t t
11141 > s,@datadir@,$datadir,;t t
11142 > s,@sysconfdir@,$sysconfdir,;t t
11143 > s,@sharedstatedir@,$sharedstatedir,;t t
11144 > s,@localstatedir@,$localstatedir,;t t
11145 > s,@libdir@,$libdir,;t t
11146 > s,@includedir@,$includedir,;t t
11147 > s,@oldincludedir@,$oldincludedir,;t t
11148 > s,@infodir@,$infodir,;t t
11149 > s,@mandir@,$mandir,;t t
11150 > s,@build_alias@,$build_alias,;t t
11151 > s,@host_alias@,$host_alias,;t t
11152 > s,@target_alias@,$target_alias,;t t
11153 > s,@DEFS@,$DEFS,;t t
11154 > s,@ECHO_C@,$ECHO_C,;t t
11155 > s,@ECHO_N@,$ECHO_N,;t t
11156 > s,@ECHO_T@,$ECHO_T,;t t
11157 > s,@LIBS@,$LIBS,;t t
11158 > s,@PROGNAME@,$PROGNAME,;t t
11159 > s,@debug@,$debug,;t t
11160 > s,@build@,$build,;t t
11161 > s,@build_cpu@,$build_cpu,;t t
11162 > s,@build_vendor@,$build_vendor,;t t
11163 > s,@build_os@,$build_os,;t t
11164 > s,@host@,$host,;t t
11165 > s,@host_cpu@,$host_cpu,;t t
11166 > s,@host_vendor@,$host_vendor,;t t
11167 > s,@host_os@,$host_os,;t t
11168 > s,@CC@,$CC,;t t
11169 > s,@CFLAGS@,$CFLAGS,;t t
11170 > s,@LDFLAGS@,$LDFLAGS,;t t
11171 > s,@CPPFLAGS@,$CPPFLAGS,;t t
11172 > s,@ac_ct_CC@,$ac_ct_CC,;t t
11173 > s,@EXEEXT@,$EXEEXT,;t t
11174 > s,@OBJEXT@,$OBJEXT,;t t
11175 > s,@CXX@,$CXX,;t t
11176 > s,@CXXFLAGS@,$CXXFLAGS,;t t
11177 > s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11178 > s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11179 > s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11180 > s,@F90@,$F90,;t t
11181 > s,@F90FLAGS@,$F90FLAGS,;t t
11182 > s,@ac_ct_F90@,$ac_ct_F90,;t t
11183 > s,@PREPFLAG@,$PREPFLAG,;t t
11184 > s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
11185 > s,@F90LIBS@,$F90LIBS,;t t
11186 > s,@F90_FUNC@,$F90_FUNC,;t t
11187 > s,@F90_FUNC_@,$F90_FUNC_,;t t
11188 > s,@MOD@,$MOD,;t t
11189 > s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
11190 > s,@MODDIRFLAG@,$MODDIRFLAG,;t t
11191 > s,@F90MODINCSPEC@,$F90MODINCSPEC,;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
11199 > s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11200 > s,@LN_S@,$LN_S,;t t
11201 > s,@SET_MAKE@,$SET_MAKE,;t t
11202 > s,@RANLIB@,$RANLIB,;t t
11203 > s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11204 > s,@YACC@,$YACC,;t t
11205 > s,@LEX@,$LEX,;t t
11206 > s,@LEXLIB@,$LEXLIB,;t t
11207 > s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11208 > s,@PERLINTERP@,$PERLINTERP,;t t
11209 > s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11210 > s,@AR@,$AR,;t t
11211 > s,@PS@,$PS,;t t
11212 > s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
11213 > s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
11214 > s,@MPI_F90_INC@,$MPI_F90_INC,;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
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
11221 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11222 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11223 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11224 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11225 > s,@DOXYGEN@,$DOXYGEN,;t t
11226 > s,@DOT@,$DOT,;t t
11227 > s,@DOC@,$DOC,;t t
11228 > s,@enable_dot@,$enable_dot,;t t
11229 > s,@enable_html_docs@,$enable_html_docs,;t t
11230 > s,@enable_latex_docs@,$enable_latex_docs,;t t
11231 > s,@BATEXT@,$BATEXT,;t t
11232 > s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11233 > s,@OOPSE@,$OOPSE,;t t
11234 > s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11235 > s,@SUBDIRS@,$SUBDIRS,;t t
11236 > s,@FFLAGS@,$FFLAGS,;t t
11237 > s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11238 > CEOF
11239 >
11240 > _ACEOF
11241 >
11242 >  cat >>$CONFIG_STATUS <<\_ACEOF
11243 >  # Split the substitutions into bite-sized pieces for seds with
11244 >  # small command number limits, like on Digital OSF/1 and HP-UX.
11245 >  ac_max_sed_lines=48
11246 >  ac_sed_frag=1 # Number of current file.
11247 >  ac_beg=1 # First line for current file.
11248 >  ac_end=$ac_max_sed_lines # Line after last line for current file.
11249 >  ac_more_lines=:
11250 >  ac_sed_cmds=
11251 >  while $ac_more_lines; do
11252 >    if test $ac_beg -gt 1; then
11253 >      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11254 >    else
11255 >      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11256 >    fi
11257 >    if test ! -s $tmp/subs.frag; then
11258 >      ac_more_lines=false
11259 >    else
11260 >      # The purpose of the label and of the branching condition is to
11261 >      # speed up the sed processing (if there are no `@' at all, there
11262 >      # is no need to browse any of the substitutions).
11263 >      # These are the two extra sed commands mentioned above.
11264 >      (echo ':t
11265 >  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11266 >      if test -z "$ac_sed_cmds"; then
11267 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11268 >      else
11269 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11270 >      fi
11271 >      ac_sed_frag=`expr $ac_sed_frag + 1`
11272 >      ac_beg=$ac_end
11273 >      ac_end=`expr $ac_end + $ac_max_sed_lines`
11274 >    fi
11275 >  done
11276 >  if test -z "$ac_sed_cmds"; then
11277 >    ac_sed_cmds=cat
11278 >  fi
11279 > fi # test -n "$CONFIG_FILES"
11280 >
11281 > _ACEOF
11282 > cat >>$CONFIG_STATUS <<\_ACEOF
11283 > for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11284 >  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11285 >  case $ac_file in
11286 >  - | *:- | *:-:* ) # input from stdin
11287 >        cat >$tmp/stdin
11288 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11289 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11290 >  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11291 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11292 >  * )   ac_file_in=$ac_file.in ;;
11293 >  esac
11294 >
11295 >  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11296 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11297 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11298 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11299 >         X"$ac_file" : 'X\(//\)$' \| \
11300 >         X"$ac_file" : 'X\(/\)' \| \
11301 >         .     : '\(.\)' 2>/dev/null ||
11302 > echo X"$ac_file" |
11303 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11304 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11305 >          /^X\(\/\/\)$/{ s//\1/; q; }
11306 >          /^X\(\/\).*/{ s//\1/; q; }
11307 >          s/.*/./; q'`
11308 >  { if $as_mkdir_p; then
11309 >    mkdir -p "$ac_dir"
11310 >  else
11311 >    as_dir="$ac_dir"
11312 >    as_dirs=
11313 >    while test ! -d "$as_dir"; do
11314 >      as_dirs="$as_dir $as_dirs"
11315 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11316 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11317 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11318 >         X"$as_dir" : 'X\(//\)$' \| \
11319 >         X"$as_dir" : 'X\(/\)' \| \
11320 >         .     : '\(.\)' 2>/dev/null ||
11321 > echo X"$as_dir" |
11322 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11323 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11324 >          /^X\(\/\/\)$/{ s//\1/; q; }
11325 >          /^X\(\/\).*/{ s//\1/; q; }
11326 >          s/.*/./; q'`
11327 >    done
11328 >    test ! -n "$as_dirs" || mkdir $as_dirs
11329 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11330 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11331 >   { (exit 1); exit 1; }; }; }
11332 >
11333 >  ac_builddir=.
11334 >
11335 > if test "$ac_dir" != .; then
11336 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11337 >  # A "../" for each directory in $ac_dir_suffix.
11338 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11339 > else
11340 >  ac_dir_suffix= ac_top_builddir=
11341 > fi
11342 >
11343 > case $srcdir in
11344 >  .)  # No --srcdir option.  We are building in place.
11345 >    ac_srcdir=.
11346 >    if test -z "$ac_top_builddir"; then
11347 >       ac_top_srcdir=.
11348 >    else
11349 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11350 >    fi ;;
11351 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11352 >    ac_srcdir=$srcdir$ac_dir_suffix;
11353 >    ac_top_srcdir=$srcdir ;;
11354 >  *) # Relative path.
11355 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11356 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11357 > esac
11358 >
11359 > # Do not use `cd foo && pwd` to compute absolute paths, because
11360 > # the directories may not exist.
11361 > case `pwd` in
11362 > .) ac_abs_builddir="$ac_dir";;
11363 > *)
11364 >  case "$ac_dir" in
11365 >  .) ac_abs_builddir=`pwd`;;
11366 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11367 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11368 >  esac;;
11369 > esac
11370 > case $ac_abs_builddir in
11371 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11372 > *)
11373 >  case ${ac_top_builddir}. in
11374 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11375 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11376 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11377 >  esac;;
11378 > esac
11379 > case $ac_abs_builddir in
11380 > .) ac_abs_srcdir=$ac_srcdir;;
11381 > *)
11382 >  case $ac_srcdir in
11383 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11384 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11385 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11386 >  esac;;
11387 > esac
11388 > case $ac_abs_builddir in
11389 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11390 > *)
11391 >  case $ac_top_srcdir in
11392 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11393 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11394 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11395 >  esac;;
11396 > esac
11397 >
11398 >
11399 >  case $INSTALL in
11400 >  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11401 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11402 >  esac
11403 >
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.  */
11407 >  if test x"$ac_file" = x-; then
11408 >    configure_input=
11409 >  else
11410 >    configure_input="$ac_file.  "
11411 >  fi
11412 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11413 >                                     sed 's,.*/,,'` by configure."
11414 >
11415 >  # First look for the input files in the build tree, otherwise in the
11416 >  # src tree.
11417 >  ac_file_inputs=`IFS=:
11418 >    for f in $ac_file_in; do
11419 >      case $f in
11420 >      -) echo $tmp/stdin ;;
11421 >      [\\/$]*)
11422 >         # Absolute (can't be DOS-style, as IFS=:)
11423 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11424 > echo "$as_me: error: cannot find input file: $f" >&2;}
11425 >   { (exit 1); exit 1; }; }
11426 >         echo "$f";;
11427 >      *) # Relative
11428 >         if test -f "$f"; then
11429 >           # Build tree
11430 >           echo "$f"
11431 >         elif test -f "$srcdir/$f"; then
11432 >           # Source tree
11433 >           echo "$srcdir/$f"
11434 >         else
11435 >           # /dev/null tree
11436 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11437 > echo "$as_me: error: cannot find input file: $f" >&2;}
11438 >   { (exit 1); exit 1; }; }
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
11451 > $extrasub
11452 > _ACEOF
11453 > cat >>$CONFIG_STATUS <<\_ACEOF
11454 > :t
11455 > /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11456 > s,@configure_input@,$configure_input,;t t
11457 > s,@srcdir@,$ac_srcdir,;t t
11458 > s,@abs_srcdir@,$ac_abs_srcdir,;t t
11459 > s,@top_srcdir@,$ac_top_srcdir,;t t
11460 > s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11461 > s,@builddir@,$ac_builddir,;t t
11462 > s,@abs_builddir@,$ac_abs_builddir,;t t
11463 > s,@top_builddir@,$ac_top_builddir,;t t
11464 > s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11465 > s,@INSTALL@,$ac_INSTALL,;t t
11466 > " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11467 >  rm -f $tmp/stdin
11468 >  if test x"$ac_file" != x-; then
11469 >    mv $tmp/out $ac_file
11470 >  else
11471 >    cat $tmp/out
11472 >    rm -f $tmp/out
11473 >  fi
11474 >
11475 >  # Run the commands associated with the file.
11476 >  case $ac_file in
11477 >    make/Makefile ) chmod 0755 scripts/* ;;
11478 >    src/utils/Makefile ) chmod 0755 scripts/* ;;
11479 >    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11480 >    scripts/filepp ) chmod 0755 scripts/* ;;
11481 >  esac
11482   done
11483   _ACEOF
11484   cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines