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

Comparing trunk/OOPSE-2.0/configure (file contents):
Revision 2190 by gezelter, Wed Apr 13 22:30:22 2005 UTC vs.
Revision 2473 by gezelter, Fri Dec 2 20:09:55 2005 UTC

# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315 > ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP 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 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 777 | Line 777 | ac_env_F90_set=${F90+set}
777   ac_env_CXXFLAGS_value=$CXXFLAGS
778   ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
779   ac_cv_env_CXXFLAGS_value=$CXXFLAGS
780 + ac_env_CPP_set=${CPP+set}
781 + ac_env_CPP_value=$CPP
782 + ac_cv_env_CPP_set=${CPP+set}
783 + ac_cv_env_CPP_value=$CPP
784   ac_env_F90_set=${F90+set}
785   ac_env_F90_value=$F90
786   ac_cv_env_F90_set=${F90+set}
# Line 785 | Line 789 | ac_env_CPP_set=${CPP+set}
789   ac_env_F90FLAGS_value=$F90FLAGS
790   ac_cv_env_F90FLAGS_set=${F90FLAGS+set}
791   ac_cv_env_F90FLAGS_value=$F90FLAGS
788 ac_env_CPP_set=${CPP+set}
789 ac_env_CPP_value=$CPP
790 ac_cv_env_CPP_set=${CPP+set}
791 ac_cv_env_CPP_value=$CPP
792   ac_env_CXXCPP_set=${CXXCPP+set}
793   ac_env_CXXCPP_value=$CXXCPP
794   ac_cv_env_CXXCPP_set=${CXXCPP+set}
# 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 891 | Line 896 | Some influential environment variables:
896                headers in a nonstandard directory <include dir>
897    CXX         C++ compiler command
898    CXXFLAGS    C++ compiler flags
899 +  CPP         C preprocessor
900    F90         Fortran 90 compiler command
901    F90FLAGS    Fortran 90 compiler flags
896  CPP         C preprocessor
902    CXXCPP      C++ preprocessor
903  
904   Use these variables to override the choices made by `configure' or to help
# Line 1879 | Line 1884 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1884  
1885  
1886  
1887 +
1888 + #
1889 + #
1890 + #
1891  
1892  
1893  
# Line 3029 | Line 3038 | fi
3038    echo '#ifdef __cplusplus' >>confdefs.h
3039    echo $ac_declaration      >>confdefs.h
3040    echo '#endif'             >>confdefs.h
3041 + fi
3042 +
3043 + ac_ext=c
3044 + ac_cpp='$CPP $CPPFLAGS'
3045 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 +
3049 +
3050 + ac_ext=c
3051 + ac_cpp='$CPP $CPPFLAGS'
3052 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055 + echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3056 + echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3057 + # On Suns, sometimes $CPP names a directory.
3058 + if test -n "$CPP" && test -d "$CPP"; then
3059 +  CPP=
3060 + fi
3061 + if test -z "$CPP"; then
3062 +  if test "${ac_cv_prog_CPP+set}" = set; then
3063 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3064 + else
3065 +      # Double quotes because CPP needs to be expanded
3066 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3067 +    do
3068 +      ac_preproc_ok=false
3069 + for ac_c_preproc_warn_flag in '' yes
3070 + do
3071 +  # Use a header file that comes with gcc, so configuring glibc
3072 +  # with a fresh cross-compiler works.
3073 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074 +  # <limits.h> exists even on freestanding compilers.
3075 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3076 +  # not just through cpp. "Syntax error" is here to catch this case.
3077 +  cat >conftest.$ac_ext <<_ACEOF
3078 + /* confdefs.h.  */
3079 + _ACEOF
3080 + cat confdefs.h >>conftest.$ac_ext
3081 + cat >>conftest.$ac_ext <<_ACEOF
3082 + /* end confdefs.h.  */
3083 + #ifdef __STDC__
3084 + # include <limits.h>
3085 + #else
3086 + # include <assert.h>
3087 + #endif
3088 +                     Syntax error
3089 + _ACEOF
3090 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3091 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3092 +  ac_status=$?
3093 +  grep -v '^ *+' conftest.er1 >conftest.err
3094 +  rm -f conftest.er1
3095 +  cat conftest.err >&5
3096 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 +  (exit $ac_status); } >/dev/null; then
3098 +  if test -s conftest.err; then
3099 +    ac_cpp_err=$ac_c_preproc_warn_flag
3100 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3101 +  else
3102 +    ac_cpp_err=
3103 +  fi
3104 + else
3105 +  ac_cpp_err=yes
3106 + fi
3107 + if test -z "$ac_cpp_err"; then
3108 +  :
3109 + else
3110 +  echo "$as_me: failed program was:" >&5
3111 + sed 's/^/| /' conftest.$ac_ext >&5
3112 +
3113 +  # Broken: fails on valid input.
3114 + continue
3115 + fi
3116 + rm -f conftest.err conftest.$ac_ext
3117 +
3118 +  # OK, works on sane cases.  Now check whether non-existent headers
3119 +  # can be detected and how.
3120 +  cat >conftest.$ac_ext <<_ACEOF
3121 + /* confdefs.h.  */
3122 + _ACEOF
3123 + cat confdefs.h >>conftest.$ac_ext
3124 + cat >>conftest.$ac_ext <<_ACEOF
3125 + /* end confdefs.h.  */
3126 + #include <ac_nonexistent.h>
3127 + _ACEOF
3128 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3129 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3130 +  ac_status=$?
3131 +  grep -v '^ *+' conftest.er1 >conftest.err
3132 +  rm -f conftest.er1
3133 +  cat conftest.err >&5
3134 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 +  (exit $ac_status); } >/dev/null; then
3136 +  if test -s conftest.err; then
3137 +    ac_cpp_err=$ac_c_preproc_warn_flag
3138 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3139 +  else
3140 +    ac_cpp_err=
3141 +  fi
3142 + else
3143 +  ac_cpp_err=yes
3144 + fi
3145 + if test -z "$ac_cpp_err"; then
3146 +  # Broken: success on invalid input.
3147 + continue
3148 + else
3149 +  echo "$as_me: failed program was:" >&5
3150 + sed 's/^/| /' conftest.$ac_ext >&5
3151 +
3152 +  # Passes both tests.
3153 + ac_preproc_ok=:
3154 + break
3155 + fi
3156 + rm -f conftest.err conftest.$ac_ext
3157 +
3158 + done
3159 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3160 + rm -f conftest.err conftest.$ac_ext
3161 + if $ac_preproc_ok; then
3162 +  break
3163   fi
3164  
3165 +    done
3166 +    ac_cv_prog_CPP=$CPP
3167 +
3168 + fi
3169 +  CPP=$ac_cv_prog_CPP
3170 + else
3171 +  ac_cv_prog_CPP=$CPP
3172 + fi
3173 + echo "$as_me:$LINENO: result: $CPP" >&5
3174 + echo "${ECHO_T}$CPP" >&6
3175 + ac_preproc_ok=false
3176 + for ac_c_preproc_warn_flag in '' yes
3177 + do
3178 +  # Use a header file that comes with gcc, so configuring glibc
3179 +  # with a fresh cross-compiler works.
3180 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3181 +  # <limits.h> exists even on freestanding compilers.
3182 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3183 +  # not just through cpp. "Syntax error" is here to catch this case.
3184 +  cat >conftest.$ac_ext <<_ACEOF
3185 + /* confdefs.h.  */
3186 + _ACEOF
3187 + cat confdefs.h >>conftest.$ac_ext
3188 + cat >>conftest.$ac_ext <<_ACEOF
3189 + /* end confdefs.h.  */
3190 + #ifdef __STDC__
3191 + # include <limits.h>
3192 + #else
3193 + # include <assert.h>
3194 + #endif
3195 +                     Syntax error
3196 + _ACEOF
3197 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3199 +  ac_status=$?
3200 +  grep -v '^ *+' conftest.er1 >conftest.err
3201 +  rm -f conftest.er1
3202 +  cat conftest.err >&5
3203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 +  (exit $ac_status); } >/dev/null; then
3205 +  if test -s conftest.err; then
3206 +    ac_cpp_err=$ac_c_preproc_warn_flag
3207 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3208 +  else
3209 +    ac_cpp_err=
3210 +  fi
3211 + else
3212 +  ac_cpp_err=yes
3213 + fi
3214 + if test -z "$ac_cpp_err"; then
3215 +  :
3216 + else
3217 +  echo "$as_me: failed program was:" >&5
3218 + sed 's/^/| /' conftest.$ac_ext >&5
3219 +
3220 +  # Broken: fails on valid input.
3221 + continue
3222 + fi
3223 + rm -f conftest.err conftest.$ac_ext
3224 +
3225 +  # OK, works on sane cases.  Now check whether non-existent headers
3226 +  # can be detected and how.
3227 +  cat >conftest.$ac_ext <<_ACEOF
3228 + /* confdefs.h.  */
3229 + _ACEOF
3230 + cat confdefs.h >>conftest.$ac_ext
3231 + cat >>conftest.$ac_ext <<_ACEOF
3232 + /* end confdefs.h.  */
3233 + #include <ac_nonexistent.h>
3234 + _ACEOF
3235 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3236 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3237 +  ac_status=$?
3238 +  grep -v '^ *+' conftest.er1 >conftest.err
3239 +  rm -f conftest.er1
3240 +  cat conftest.err >&5
3241 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 +  (exit $ac_status); } >/dev/null; then
3243 +  if test -s conftest.err; then
3244 +    ac_cpp_err=$ac_c_preproc_warn_flag
3245 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3246 +  else
3247 +    ac_cpp_err=
3248 +  fi
3249 + else
3250 +  ac_cpp_err=yes
3251 + fi
3252 + if test -z "$ac_cpp_err"; then
3253 +  # Broken: success on invalid input.
3254 + continue
3255 + else
3256 +  echo "$as_me: failed program was:" >&5
3257 + sed 's/^/| /' conftest.$ac_ext >&5
3258 +
3259 +  # Passes both tests.
3260 + ac_preproc_ok=:
3261 + break
3262 + fi
3263 + rm -f conftest.err conftest.$ac_ext
3264 +
3265 + done
3266 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3267 + rm -f conftest.err conftest.$ac_ext
3268 + if $ac_preproc_ok; then
3269 +  :
3270 + else
3271 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3272 + See \`config.log' for more details." >&5
3273 + echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3274 + See \`config.log' for more details." >&2;}
3275 +   { (exit 1); exit 1; }; }
3276 + fi
3277 +
3278   ac_ext=c
3279   ac_cpp='$CPP $CPPFLAGS'
3280   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3038 | Line 3282 | OOPSE_TEMPLATE_FLAGS=""
3282   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283  
3284  
3285 + echo "$as_me:$LINENO: checking for egrep" >&5
3286 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3287 + if test "${ac_cv_prog_egrep+set}" = set; then
3288 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3289 + else
3290 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3291 +    then ac_cv_prog_egrep='grep -E'
3292 +    else ac_cv_prog_egrep='egrep'
3293 +    fi
3294 + fi
3295 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3296 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3297 + EGREP=$ac_cv_prog_egrep
3298 +
3299 +
3300 +
3301   OOPSE_TEMPLATE_FLAGS=""
3302   if test $ac_cv_cxx_compiler_gnu = no; then
3303    echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
# Line 3546 | Line 3806 | F90FLAGS="$F90FLAGS $ac_verb"
3806   ac_save_F90FLAGS=$F90FLAGS
3807   F90FLAGS="$F90FLAGS $ac_verb"
3808  
3809 < (eval echo $as_me:3549: \"$ac_link\") >&5
3809 > (eval echo $as_me:3809: \"$ac_link\") >&5
3810   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3811   echo "$ac_f90_v_output" >&5
3812   F90FLAGS=$ac_save_F90FLAGS
# Line 3623 | Line 3883 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3883   ac_save_F90FLAGS=$F90FLAGS
3884   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3885  
3886 < (eval echo $as_me:3626: \"$ac_link\") >&5
3886 > (eval echo $as_me:3886: \"$ac_link\") >&5
3887   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3888   echo "$ac_f90_v_output" >&5
3889   F90FLAGS=$ac_save_F90FLAGS
# Line 4455 | Line 4715 | ac_ext=c
4715   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4716  
4717  
4718 < ac_ext=c
4719 < ac_cpp='$CPP $CPPFLAGS'
4720 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4718 > ac_ext=cc
4719 > ac_cpp='$CXXCPP $CPPFLAGS'
4720 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4723  
4724 < ac_ext=c
4725 < ac_cpp='$CPP $CPPFLAGS'
4726 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4469 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4470 < echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4471 < # On Suns, sometimes $CPP names a directory.
4472 < if test -n "$CPP" && test -d "$CPP"; then
4473 <  CPP=
4474 < fi
4475 < if test -z "$CPP"; then
4476 <  if test "${ac_cv_prog_CPP+set}" = set; then
4724 >
4725 >
4726 > echo "$as_me:$LINENO: checking for asin in -lm" >&5
4727 > echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
4728 > if test "${ac_cv_lib_m_asin+set}" = set; then
4729    echo $ECHO_N "(cached) $ECHO_C" >&6
4730   else
4731 <      # Double quotes because CPP needs to be expanded
4732 <    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4733 <    do
4482 <      ac_preproc_ok=false
4483 < for ac_c_preproc_warn_flag in '' yes
4484 < do
4485 <  # Use a header file that comes with gcc, so configuring glibc
4486 <  # with a fresh cross-compiler works.
4487 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4488 <  # <limits.h> exists even on freestanding compilers.
4489 <  # On the NeXT, cc -E runs the code through the compiler's parser,
4490 <  # not just through cpp. "Syntax error" is here to catch this case.
4491 <  cat >conftest.$ac_ext <<_ACEOF
4731 >  ac_check_lib_save_LIBS=$LIBS
4732 > LIBS="-lm  $LIBS"
4733 > cat >conftest.$ac_ext <<_ACEOF
4734   /* confdefs.h.  */
4735   _ACEOF
4736   cat confdefs.h >>conftest.$ac_ext
4737   cat >>conftest.$ac_ext <<_ACEOF
4738   /* end confdefs.h.  */
4739 < #ifdef __STDC__
4740 < # include <limits.h>
4741 < #else
4742 < # include <assert.h>
4739 >
4740 > /* Override any gcc2 internal prototype to avoid an error.  */
4741 > #ifdef __cplusplus
4742 > extern "C"
4743   #endif
4744 <                     Syntax error
4744 > /* We use char because int might match the return type of a gcc2
4745 >   builtin and then its argument prototype would still apply.  */
4746 > char asin ();
4747 > int
4748 > main ()
4749 > {
4750 > asin ();
4751 >  ;
4752 >  return 0;
4753 > }
4754   _ACEOF
4755 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4756 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4755 > rm -f conftest.$ac_objext conftest$ac_exeext
4756 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4757 >  (eval $ac_link) 2>conftest.er1
4758    ac_status=$?
4759    grep -v '^ *+' conftest.er1 >conftest.err
4760    rm -f conftest.er1
4761    cat conftest.err >&5
4762    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 <  (exit $ac_status); } >/dev/null; then
4764 <  if test -s conftest.err; then
4765 <    ac_cpp_err=$ac_c_preproc_warn_flag
4766 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4767 <  else
4516 <    ac_cpp_err=
4517 <  fi
4518 < else
4519 <  ac_cpp_err=yes
4520 < fi
4521 < if test -z "$ac_cpp_err"; then
4522 <  :
4523 < else
4524 <  echo "$as_me: failed program was:" >&5
4525 < sed 's/^/| /' conftest.$ac_ext >&5
4526 <
4527 <  # Broken: fails on valid input.
4528 < continue
4529 < fi
4530 < rm -f conftest.err conftest.$ac_ext
4531 <
4532 <  # OK, works on sane cases.  Now check whether non-existent headers
4533 <  # can be detected and how.
4534 <  cat >conftest.$ac_ext <<_ACEOF
4535 < /* confdefs.h.  */
4536 < _ACEOF
4537 < cat confdefs.h >>conftest.$ac_ext
4538 < cat >>conftest.$ac_ext <<_ACEOF
4539 < /* end confdefs.h.  */
4540 < #include <ac_nonexistent.h>
4541 < _ACEOF
4542 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4543 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4763 >  (exit $ac_status); } &&
4764 >         { ac_try='test -z "$ac_cxx_werror_flag"
4765 >                         || test ! -s conftest.err'
4766 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 >  (eval $ac_try) 2>&5
4768    ac_status=$?
4545  grep -v '^ *+' conftest.er1 >conftest.err
4546  rm -f conftest.er1
4547  cat conftest.err >&5
4769    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 <  (exit $ac_status); } >/dev/null; then
4771 <  if test -s conftest.err; then
4772 <    ac_cpp_err=$ac_c_preproc_warn_flag
4773 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4774 <  else
4775 <    ac_cpp_err=
4776 <  fi
4777 < else
4557 <  ac_cpp_err=yes
4558 < fi
4559 < if test -z "$ac_cpp_err"; then
4560 <  # Broken: success on invalid input.
4561 < continue
4770 >  (exit $ac_status); }; } &&
4771 >         { ac_try='test -s conftest$ac_exeext'
4772 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 >  (eval $ac_try) 2>&5
4774 >  ac_status=$?
4775 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 >  (exit $ac_status); }; }; then
4777 >  ac_cv_lib_m_asin=yes
4778   else
4779    echo "$as_me: failed program was:" >&5
4780   sed 's/^/| /' conftest.$ac_ext >&5
4781  
4782 <  # Passes both tests.
4567 < ac_preproc_ok=:
4568 < break
4782 > ac_cv_lib_m_asin=no
4783   fi
4784 < rm -f conftest.err conftest.$ac_ext
4785 <
4786 < done
4573 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4574 < rm -f conftest.err conftest.$ac_ext
4575 < if $ac_preproc_ok; then
4576 <  break
4784 > rm -f conftest.err conftest.$ac_objext \
4785 >      conftest$ac_exeext conftest.$ac_ext
4786 > LIBS=$ac_check_lib_save_LIBS
4787   fi
4788 <
4789 <    done
4790 <    ac_cv_prog_CPP=$CPP
4791 <
4792 < fi
4583 <  CPP=$ac_cv_prog_CPP
4584 < else
4585 <  ac_cv_prog_CPP=$CPP
4586 < fi
4587 < echo "$as_me:$LINENO: result: $CPP" >&5
4588 < echo "${ECHO_T}$CPP" >&6
4589 < ac_preproc_ok=false
4590 < for ac_c_preproc_warn_flag in '' yes
4591 < do
4592 <  # Use a header file that comes with gcc, so configuring glibc
4593 <  # with a fresh cross-compiler works.
4594 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4595 <  # <limits.h> exists even on freestanding compilers.
4596 <  # On the NeXT, cc -E runs the code through the compiler's parser,
4597 <  # not just through cpp. "Syntax error" is here to catch this case.
4598 <  cat >conftest.$ac_ext <<_ACEOF
4599 < /* confdefs.h.  */
4788 > echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
4789 > echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
4790 > if test $ac_cv_lib_m_asin = yes; then
4791 >  cat >>confdefs.h <<_ACEOF
4792 > #define HAVE_LIBM 1
4793   _ACEOF
4601 cat confdefs.h >>conftest.$ac_ext
4602 cat >>conftest.$ac_ext <<_ACEOF
4603 /* end confdefs.h.  */
4604 #ifdef __STDC__
4605 # include <limits.h>
4606 #else
4607 # include <assert.h>
4608 #endif
4609                     Syntax error
4610 _ACEOF
4611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4612  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4613  ac_status=$?
4614  grep -v '^ *+' conftest.er1 >conftest.err
4615  rm -f conftest.er1
4616  cat conftest.err >&5
4617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618  (exit $ac_status); } >/dev/null; then
4619  if test -s conftest.err; then
4620    ac_cpp_err=$ac_c_preproc_warn_flag
4621    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4622  else
4623    ac_cpp_err=
4624  fi
4625 else
4626  ac_cpp_err=yes
4627 fi
4628 if test -z "$ac_cpp_err"; then
4629  :
4630 else
4631  echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.$ac_ext >&5
4794  
4795 <  # Broken: fails on valid input.
4635 < continue
4636 < fi
4637 < rm -f conftest.err conftest.$ac_ext
4795 >  LIBS="-lm $LIBS"
4796  
4639  # OK, works on sane cases.  Now check whether non-existent headers
4640  # can be detected and how.
4641  cat >conftest.$ac_ext <<_ACEOF
4642 /* confdefs.h.  */
4643 _ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h.  */
4647 #include <ac_nonexistent.h>
4648 _ACEOF
4649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4650  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4651  ac_status=$?
4652  grep -v '^ *+' conftest.er1 >conftest.err
4653  rm -f conftest.er1
4654  cat conftest.err >&5
4655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656  (exit $ac_status); } >/dev/null; then
4657  if test -s conftest.err; then
4658    ac_cpp_err=$ac_c_preproc_warn_flag
4659    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4660  else
4661    ac_cpp_err=
4662  fi
4797   else
4798 <  ac_cpp_err=yes
4798 >  exit
4799   fi
4666 if test -z "$ac_cpp_err"; then
4667  # Broken: success on invalid input.
4668 continue
4669 else
4670  echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4800  
4673  # Passes both tests.
4674 ac_preproc_ok=:
4675 break
4676 fi
4677 rm -f conftest.err conftest.$ac_ext
4801  
4679 done
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.err conftest.$ac_ext
4682 if $ac_preproc_ok; then
4683  :
4684 else
4685  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4686 See \`config.log' for more details." >&5
4687 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4688 See \`config.log' for more details." >&2;}
4689   { (exit 1); exit 1; }; }
4690 fi
4691
4802   ac_ext=c
4803   ac_cpp='$CPP $CPPFLAGS'
4804   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4696 | Line 4806 | echo "$as_me:$LINENO: checking for egrep" >&5
4806   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4807  
4808  
4699 echo "$as_me:$LINENO: checking for egrep" >&5
4700 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4701 if test "${ac_cv_prog_egrep+set}" = set; then
4702  echo $ECHO_N "(cached) $ECHO_C" >&6
4703 else
4704  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4705    then ac_cv_prog_egrep='grep -E'
4706    else ac_cv_prog_egrep='egrep'
4707    fi
4708 fi
4709 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4710 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4711 EGREP=$ac_cv_prog_egrep
4712
4713
4809   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4810   echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4811   if test "${ac_cv_header_stdc+set}" = set; then
# Line 4949 | Line 5044 | done
5044   done
5045  
5046  
5047 + #
5048 + # Handle user hints
5049 + #
5050 + echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5051 + echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5052  
5053 + # Check whether --with-zlib or --without-zlib was given.
5054 + if test "${with_zlib+set}" = set; then
5055 +  withval="$with_zlib"
5056 +  if test "$withval" != no ; then
5057 +  echo "$as_me:$LINENO: result: yes" >&5
5058 + echo "${ECHO_T}yes" >&6
5059 +  if test -d "$withval"
5060 +  then
5061 +    ZLIB_HOME="$withval"
5062 +  else
5063 +    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5064 + echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5065 +  fi
5066 + else
5067 +  echo "$as_me:$LINENO: result: no" >&5
5068 + echo "${ECHO_T}no" >&6
5069 + fi
5070 + fi;
5071  
5072 + ZLIB_HOME=/usr/local
5073 + if test ! -f "${ZLIB_HOME}/include/zlib.h"
5074 + then
5075 +        ZLIB_HOME=/usr
5076 + fi
5077  
5078 + #
5079 + # Locate zlib, if wanted
5080 + #
5081 + if test -n "${ZLIB_HOME}"
5082 + then
5083 +        ZLIB_OLD_LDFLAGS=$LDFLAGS
5084 +        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5085 +        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5086 +        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5087  
5088  
5089 +        ac_ext=c
5090 + ac_cpp='$CPP $CPPFLAGS'
5091 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094  
5095 +        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5096 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5097 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5098 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5099 + else
5100 +  ac_check_lib_save_LIBS=$LIBS
5101 + LIBS="-lz  $LIBS"
5102 + cat >conftest.$ac_ext <<_ACEOF
5103 + /* confdefs.h.  */
5104 + _ACEOF
5105 + cat confdefs.h >>conftest.$ac_ext
5106 + cat >>conftest.$ac_ext <<_ACEOF
5107 + /* end confdefs.h.  */
5108  
5109 + /* Override any gcc2 internal prototype to avoid an error.  */
5110 + #ifdef __cplusplus
5111 + extern "C"
5112 + #endif
5113 + /* We use char because int might match the return type of a gcc2
5114 +   builtin and then its argument prototype would still apply.  */
5115 + char inflateEnd ();
5116 + int
5117 + main ()
5118 + {
5119 + inflateEnd ();
5120 +  ;
5121 +  return 0;
5122 + }
5123 + _ACEOF
5124 + rm -f conftest.$ac_objext conftest$ac_exeext
5125 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5126 +  (eval $ac_link) 2>conftest.er1
5127 +  ac_status=$?
5128 +  grep -v '^ *+' conftest.er1 >conftest.err
5129 +  rm -f conftest.er1
5130 +  cat conftest.err >&5
5131 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 +  (exit $ac_status); } &&
5133 +         { ac_try='test -z "$ac_c_werror_flag"
5134 +                         || test ! -s conftest.err'
5135 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136 +  (eval $ac_try) 2>&5
5137 +  ac_status=$?
5138 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 +  (exit $ac_status); }; } &&
5140 +         { ac_try='test -s conftest$ac_exeext'
5141 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 +  (eval $ac_try) 2>&5
5143 +  ac_status=$?
5144 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 +  (exit $ac_status); }; }; then
5146 +  ac_cv_lib_z_inflateEnd=yes
5147 + else
5148 +  echo "$as_me: failed program was:" >&5
5149 + sed 's/^/| /' conftest.$ac_ext >&5
5150  
5151 + ac_cv_lib_z_inflateEnd=no
5152 + fi
5153 + rm -f conftest.err conftest.$ac_objext \
5154 +      conftest$ac_exeext conftest.$ac_ext
5155 + LIBS=$ac_check_lib_save_LIBS
5156 + fi
5157 + echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5158 + echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5159 + if test $ac_cv_lib_z_inflateEnd = yes; then
5160 +  zlib_cv_libz=yes
5161 + else
5162 +  zlib_cv_libz=no
5163 + fi
5164  
5165 < 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
5166 < do
5167 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5168 < 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
5165 >        if test "${ac_cv_header_zlib_h+set}" = set; then
5166 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
5167 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5168 > if test "${ac_cv_header_zlib_h+set}" = set; then
5169    echo $ECHO_N "(cached) $ECHO_C" >&6
5170   fi
5171 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5172 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5171 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5172 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5173   else
5174    # Is the header compilable?
5175 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
5176 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5175 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5176 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5177   cat >conftest.$ac_ext <<_ACEOF
5178   /* confdefs.h.  */
5179   _ACEOF
# Line 4980 | Line 5181 | $ac_includes_default
5181   cat >>conftest.$ac_ext <<_ACEOF
5182   /* end confdefs.h.  */
5183   $ac_includes_default
5184 < #include <$ac_header>
5184 > #include <zlib.h>
5185   _ACEOF
5186   rm -f conftest.$ac_objext
5187   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
# Line 5016 | Line 5217 | echo "$as_me:$LINENO: checking $ac_header presence" >&
5217   echo "${ECHO_T}$ac_header_compiler" >&6
5218  
5219   # Is the header present?
5220 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5221 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5220 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5221 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5222   cat >conftest.$ac_ext <<_ACEOF
5223   /* confdefs.h.  */
5224   _ACEOF
5225   cat confdefs.h >>conftest.$ac_ext
5226   cat >>conftest.$ac_ext <<_ACEOF
5227   /* end confdefs.h.  */
5228 < #include <$ac_header>
5228 > #include <zlib.h>
5229   _ACEOF
5230   if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5231    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 5058 | Line 5259 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
5259   # So?  What about this header?
5260   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5261    yes:no: )
5262 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5263 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5264 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5265 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5262 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5263 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5264 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5265 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5266      ac_header_preproc=yes
5267      ;;
5268    no:yes:* )
5269 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5270 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5271 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5272 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5273 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5274 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5275 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5276 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5277 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5278 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5279 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5280 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5269 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5270 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5271 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5272 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5273 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5274 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5275 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5276 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5277 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5278 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5279 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5280 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5281      (
5282        cat <<\_ASBOX
5283   ## ------------------------------ ##
# Line 5087 | Line 5288 | echo "$as_me:$LINENO: checking for $ac_header" >&5
5288        sed "s/^/$as_me: WARNING:     /" >&2
5289      ;;
5290   esac
5291 < echo "$as_me:$LINENO: checking for $ac_header" >&5
5292 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5293 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5291 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5292 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5293 > if test "${ac_cv_header_zlib_h+set}" = set; then
5294    echo $ECHO_N "(cached) $ECHO_C" >&6
5295   else
5296 <  eval "$as_ac_Header=\$ac_header_preproc"
5296 >  ac_cv_header_zlib_h=$ac_header_preproc
5297   fi
5298 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5299 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5298 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5299 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5300  
5301   fi
5302 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
5303 <  cat >>confdefs.h <<_ACEOF
5304 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5305 < _ACEOF
5105 <
5302 > if test $ac_cv_header_zlib_h = yes; then
5303 >  zlib_cv_zlib_h=yes
5304 > else
5305 >  zlib_cv_zlib_h=no
5306   fi
5307  
5108 done
5308  
5309 +        ac_ext=c
5310 + ac_cpp='$CPP $CPPFLAGS'
5311 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5314  
5315 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5316 +        then
5317 +                #
5318 +                # If both library and header were found, use them
5319 +                #
5320  
5321 <
5322 <
5323 <
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
5321 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5322 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5323 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5324    echo $ECHO_N "(cached) $ECHO_C" >&6
5325   else
5326 <  cat >conftest.$ac_ext <<_ACEOF
5326 >  ac_check_lib_save_LIBS=$LIBS
5327 > LIBS="-lz  $LIBS"
5328 > cat >conftest.$ac_ext <<_ACEOF
5329   /* confdefs.h.  */
5330   _ACEOF
5331   cat confdefs.h >>conftest.$ac_ext
5332   cat >>conftest.$ac_ext <<_ACEOF
5333   /* 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
5132
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
5334  
5335   /* Override any gcc2 internal prototype to avoid an error.  */
5336   #ifdef __cplusplus
5337   extern "C"
5149 {
5338   #endif
5339   /* We use char because int might match the return type of a gcc2
5340     builtin and then its argument prototype would still apply.  */
5341 < 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 <
5341 > char inflateEnd ();
5342   int
5343   main ()
5344   {
5345 < return f != $ac_func;
5345 > inflateEnd ();
5346    ;
5347    return 0;
5348   }
# Line 5193 | Line 5369 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5369    ac_status=$?
5370    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371    (exit $ac_status); }; }; then
5372 <  eval "$as_ac_var=yes"
5372 >  ac_cv_lib_z_inflateEnd=yes
5373   else
5374    echo "$as_me: failed program was:" >&5
5375   sed 's/^/| /' conftest.$ac_ext >&5
5376  
5377 < eval "$as_ac_var=no"
5377 > ac_cv_lib_z_inflateEnd=no
5378   fi
5379   rm -f conftest.err conftest.$ac_objext \
5380        conftest$ac_exeext conftest.$ac_ext
5381 + LIBS=$ac_check_lib_save_LIBS
5382   fi
5383 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5384 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5385 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5383 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5384 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5385 > if test $ac_cv_lib_z_inflateEnd = yes; then
5386    cat >>confdefs.h <<_ACEOF
5387 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5387 > #define HAVE_LIBZ 1
5388   _ACEOF
5389  
5390 +  LIBS="-lz $LIBS"
5391 +
5392   fi
5214 done
5393  
5394 < # special check for _system_configuration because AIX <4.3.2 do not
5395 < # contain the `physmem' member.
5396 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5397 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5394 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5395 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5396 >                echo "$as_me:$LINENO: result: ok" >&5
5397 > echo "${ECHO_T}ok" >&6
5398 >        else
5399 >                #
5400 >                # If either header or library was not found, revert and bomb
5401 >                #
5402 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5403 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5404 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5405 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5406 >                echo "$as_me:$LINENO: result: failed" >&5
5407 > echo "${ECHO_T}failed" >&6
5408 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5409 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5410 >   { (exit 1); exit 1; }; }
5411 >        fi
5412 > fi
5413 >
5414 >
5415 >
5416 >
5417 >
5418 >
5419 >
5420 >
5421 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5422 > do
5423 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5424 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5425 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5426 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5427 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5428 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5429 > fi
5430 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5431 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5432 > else
5433 >  # Is the header compilable?
5434 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5435 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5436   cat >conftest.$ac_ext <<_ACEOF
5437   /* confdefs.h.  */
5438   _ACEOF
5439   cat confdefs.h >>conftest.$ac_ext
5440   cat >>conftest.$ac_ext <<_ACEOF
5441   /* end confdefs.h.  */
5442 < #include <sys/systemcfg.h>
5443 < int
5228 < main ()
5229 < {
5230 < double x = _system_configuration.physmem;
5231 <  ;
5232 <  return 0;
5233 < }
5442 > $ac_includes_default
5443 > #include <$ac_header>
5444   _ACEOF
5445   rm -f conftest.$ac_objext
5446   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
# Line 5254 | Line 5464 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5464    ac_status=$?
5465    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466    (exit $ac_status); }; }; then
5467 <  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 <
5467 >  ac_header_compiler=yes
5468   else
5469    echo "$as_me: failed program was:" >&5
5470   sed 's/^/| /' conftest.$ac_ext >&5
5471  
5472 < echo "$as_me:$LINENO: result: no" >&5
5269 < echo "${ECHO_T}no" >&6
5472 > ac_header_compiler=no
5473   fi
5474   rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5475 + echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5476 + echo "${ECHO_T}$ac_header_compiler" >&6
5477  
5478 <  # clean out junk possibly left behind by a previous configuration
5479 <  rm -f src/getopt.h
5480 <  # Check for getopt_long support
5478 > # Is the header present?
5479 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5480 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5481 > cat >conftest.$ac_ext <<_ACEOF
5482 > /* confdefs.h.  */
5483 > _ACEOF
5484 > cat confdefs.h >>conftest.$ac_ext
5485 > cat >>conftest.$ac_ext <<_ACEOF
5486 > /* end confdefs.h.  */
5487 > #include <$ac_header>
5488 > _ACEOF
5489 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5490 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5491 >  ac_status=$?
5492 >  grep -v '^ *+' conftest.er1 >conftest.err
5493 >  rm -f conftest.er1
5494 >  cat conftest.err >&5
5495 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 >  (exit $ac_status); } >/dev/null; then
5497 >  if test -s conftest.err; then
5498 >    ac_cpp_err=$ac_c_preproc_warn_flag
5499 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5500 >  else
5501 >    ac_cpp_err=
5502 >  fi
5503 > else
5504 >  ac_cpp_err=yes
5505 > fi
5506 > if test -z "$ac_cpp_err"; then
5507 >  ac_header_preproc=yes
5508 > else
5509 >  echo "$as_me: failed program was:" >&5
5510 > sed 's/^/| /' conftest.$ac_ext >&5
5511  
5512 < for ac_header in getopt.h
5512 >  ac_header_preproc=no
5513 > fi
5514 > rm -f conftest.err conftest.$ac_ext
5515 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5516 > echo "${ECHO_T}$ac_header_preproc" >&6
5517 >
5518 > # So?  What about this header?
5519 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5520 >  yes:no: )
5521 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5522 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5523 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5524 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5525 >    ac_header_preproc=yes
5526 >    ;;
5527 >  no:yes:* )
5528 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5529 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5530 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5531 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5532 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5533 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5534 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5535 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5537 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5538 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5539 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5540 >    (
5541 >      cat <<\_ASBOX
5542 > ## ------------------------------ ##
5543 > ## Report this to gezelter@nd.edu ##
5544 > ## ------------------------------ ##
5545 > _ASBOX
5546 >    ) |
5547 >      sed "s/^/$as_me: WARNING:     /" >&2
5548 >    ;;
5549 > esac
5550 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5551 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5552 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5553 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5554 > else
5555 >  eval "$as_ac_Header=\$ac_header_preproc"
5556 > fi
5557 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5558 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5559 >
5560 > fi
5561 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5562 >  cat >>confdefs.h <<_ACEOF
5563 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5564 > _ACEOF
5565 >
5566 > fi
5567 >
5568 > done
5569 >
5570 >
5571 >
5572 >
5573 >
5574 >
5575 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5576   do
5577   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5578   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 5423 | Line 5721 | done
5721  
5722   done
5723  
5724 + ac_ext=cc
5725 + ac_cpp='$CXXCPP $CPPFLAGS'
5726 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5727 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5728 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5729  
5730 < for ac_func in getopt_long
5731 < do
5732 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5733 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5734 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5735 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5730 > ac_ext=cc
5731 > ac_cpp='$CXXCPP $CPPFLAGS'
5732 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5733 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5734 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5735 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5736 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5737 > if test -z "$CXXCPP"; then
5738 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5739    echo $ECHO_N "(cached) $ECHO_C" >&6
5740   else
5741 +      # Double quotes because CXXCPP needs to be expanded
5742 +    for CXXCPP in "$CXX -E" "/lib/cpp"
5743 +    do
5744 +      ac_preproc_ok=false
5745 + for ac_cxx_preproc_warn_flag in '' yes
5746 + do
5747 +  # Use a header file that comes with gcc, so configuring glibc
5748 +  # with a fresh cross-compiler works.
5749 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5750 +  # <limits.h> exists even on freestanding compilers.
5751 +  # On the NeXT, cc -E runs the code through the compiler's parser,
5752 +  # not just through cpp. "Syntax error" is here to catch this case.
5753    cat >conftest.$ac_ext <<_ACEOF
5754   /* confdefs.h.  */
5755   _ACEOF
5756   cat confdefs.h >>conftest.$ac_ext
5757   cat >>conftest.$ac_ext <<_ACEOF
5758   /* 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
5759   #ifdef __STDC__
5760   # include <limits.h>
5761   #else
5762   # include <assert.h>
5763   #endif
5764 <
5765 < #undef $ac_func
5766 <
5767 < /* Override any gcc2 internal prototype to avoid an error.  */
5768 < #ifdef __cplusplus
5769 < extern "C"
5770 < {
5771 < #endif
5772 < /* We use char because int might match the return type of a gcc2
5773 <   builtin and then its argument prototype would still apply.  */
5774 < char $ac_func ();
5775 < /* The GNU C library defines this for functions which it implements
5776 <    to always fail with ENOSYS.  Some functions are actually named
5777 <    something starting with __ and the normal name is an alias.  */
5778 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5779 < choke me
5780 < #else
5781 < char (*f) () = $ac_func;
5782 < #endif
5783 < #ifdef __cplusplus
5784 < }
5785 < #endif
5786 <
5787 < int
5788 < main ()
5789 < {
5790 < return f != $ac_func;
5791 <  ;
5792 <  return 0;
5793 < }
5794 < _ACEOF
5795 < rm -f conftest.$ac_objext conftest$ac_exeext
5796 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5797 <  (eval $ac_link) 2>conftest.er1
5798 <  ac_status=$?
5799 <  grep -v '^ *+' conftest.er1 >conftest.err
5800 <  rm -f conftest.er1
5801 <  cat conftest.err >&5
5802 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 <  (exit $ac_status); } &&
5804 <         { ac_try='test -z "$ac_c_werror_flag"
5805 <                         || test ! -s conftest.err'
5806 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 <  (eval $ac_try) 2>&5
5808 <  ac_status=$?
5809 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 <  (exit $ac_status); }; } &&
5811 <         { ac_try='test -s conftest$ac_exeext'
5812 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 <  (eval $ac_try) 2>&5
5814 <  ac_status=$?
5815 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 <  (exit $ac_status); }; }; then
5817 <  eval "$as_ac_var=yes"
5818 < else
5819 <  echo "$as_me: failed program was:" >&5
5820 < sed 's/^/| /' conftest.$ac_ext >&5
5821 <
5822 < eval "$as_ac_var=no"
5823 < fi
5824 < rm -f conftest.err conftest.$ac_objext \
5825 <      conftest$ac_exeext conftest.$ac_ext
5826 < fi
5827 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5828 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5829 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5830 <  cat >>confdefs.h <<_ACEOF
5831 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5832 < _ACEOF
5833 <
5834 < else
5835 <  # FreeBSD has a gnugetopt library for this
5836 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5837 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5838 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5839 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5840 < else
5841 <  ac_check_lib_save_LIBS=$LIBS
5842 < LIBS="-lgnugetopt  $LIBS"
5843 < cat >conftest.$ac_ext <<_ACEOF
5844 < /* confdefs.h.  */
5845 < _ACEOF
5846 < cat confdefs.h >>conftest.$ac_ext
5847 < cat >>conftest.$ac_ext <<_ACEOF
5848 < /* end confdefs.h.  */
5849 <
5850 < /* Override any gcc2 internal prototype to avoid an error.  */
5851 < #ifdef __cplusplus
5852 < extern "C"
5853 < #endif
5854 < /* We use char because int might match the return type of a gcc2
5855 <   builtin and then its argument prototype would still apply.  */
5856 < char getopt_long ();
5857 < int
5858 < main ()
5859 < {
5860 < getopt_long ();
5861 <  ;
5862 <  return 0;
5863 < }
5864 < _ACEOF
5865 < rm -f conftest.$ac_objext conftest$ac_exeext
5866 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5867 <  (eval $ac_link) 2>conftest.er1
5868 <  ac_status=$?
5869 <  grep -v '^ *+' conftest.er1 >conftest.err
5870 <  rm -f conftest.er1
5871 <  cat conftest.err >&5
5872 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 <  (exit $ac_status); } &&
5874 <         { ac_try='test -z "$ac_c_werror_flag"
5875 <                         || test ! -s conftest.err'
5876 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5877 <  (eval $ac_try) 2>&5
5878 <  ac_status=$?
5879 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 <  (exit $ac_status); }; } &&
5881 <         { ac_try='test -s conftest$ac_exeext'
5882 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 <  (eval $ac_try) 2>&5
5884 <  ac_status=$?
5885 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 <  (exit $ac_status); }; }; then
5887 <  ac_cv_lib_gnugetopt_getopt_long=yes
5888 < else
5889 <  echo "$as_me: failed program was:" >&5
5890 < sed 's/^/| /' conftest.$ac_ext >&5
5891 <
5892 < ac_cv_lib_gnugetopt_getopt_long=no
5893 < fi
5894 < rm -f conftest.err conftest.$ac_objext \
5895 <      conftest$ac_exeext conftest.$ac_ext
5896 < LIBS=$ac_check_lib_save_LIBS
5897 < fi
5898 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5899 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5900 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5901 <  cat >>confdefs.h <<\_ACEOF
5902 < #define HAVE_GETOPT_LONG 1
5903 < _ACEOF
5904 <
5905 < else
5906 <  # use the GNU replacement
5907 <      case $LIBOBJS in
5908 <    "getopt.$ac_objext"   | \
5909 <  *" getopt.$ac_objext"   | \
5910 <    "getopt.$ac_objext "* | \
5911 <  *" getopt.$ac_objext "* ) ;;
5912 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5913 < esac
5914 <
5915 <      case $LIBOBJS in
5916 <    "getopt1.$ac_objext"   | \
5917 <  *" getopt1.$ac_objext"   | \
5918 <    "getopt1.$ac_objext "* | \
5919 <  *" getopt1.$ac_objext "* ) ;;
5920 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5921 < esac
5922 <
5923 <                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5924 <
5925 < fi
5926 <
5927 < fi
5928 < done
5929 <
5930 <
5931 <
5932 < case $debug in
5933 <  1)
5934 <     ;;
5935 <  *)
5936 <
5937 <
5938 <
5939 <
5940 <
5941 <
5942 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5943 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5944 < if test "${ac_cv_prog_really_gcc+set}" = set; then
5945 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5946 < else
5947 <
5948 < cat > conftest.c <<EOF
5949 < #ifdef __GNUC__
5950 <  #ifndef __INTEL_COMPILER
5951 <     yes;
5952 <  #endif
5953 < #endif
5954 < EOF
5955 < if { ac_try='${CC-cc} -E conftest.c'
5956 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5957 <  (eval $ac_try) 2>&5
5958 <  ac_status=$?
5959 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5961 <  ac_cv_prog_really_gcc=yes
5962 < else
5963 <  ac_cv_prog_really_gcc=no
5964 < fi
5965 <
5966 < fi
5967 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
5968 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5969 < if test "$ac_cv_prog_really_gcc" = yes; then
5970 <        :
5971 <
5972 < else
5973 <        :
5974 <
5975 < fi
5976 <
5977 <
5978 < # Try to determine "good" native compiler flags if none specified on command
5979 < # line
5980 < if test "$ac_test_CFLAGS" != "set"; then
5981 <  CFLAGS=""
5982 <  case "${host_cpu}-${host_os}" in
5983 <
5984 <  *linux*) if test "$CC" = icc; then
5985 <                    CFLAGS="-O"
5986 <                fi;;
5987 <  sparc-solaris2*) if test "$CC" = cc; then
5988 <                    CFLAGS="-native -fast -xO5 -dalign"
5989 <                 fi;;
5990 <
5991 <  alpha*-osf*)  if test "$CC" = cc; then
5992 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
5993 <                fi;;
5994 <
5995 <  hppa*-hpux*)  if test "$CC" = cc; then
5996 <                    CFLAGS="-Ae +O3 +Oall"
5997 <                fi;;
5998 <
5999 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
6000 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
6001 <                fi;;
6002 <   powerpc*-aix*)
6003 <        if test "$CC" = cc -o "$CC" = xlc; then
6004 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
6005 <                echo "*******************************************************"
6006 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6007 <                echo "*  recommended that you use                           *"
6008 <                echo "*                                                     *"
6009 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6010 <                echo "*                                 ^^^                 *"
6011 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6012 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6013 <                echo "*******************************************************"
6014 <        fi;;
6015 <   *darwin*)
6016 <        if test "$CC" = xlc -o "$CC" = cc; then
6017 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6018 <        fi;;
6019 <  esac
6020 <
6021 <  # use default flags for gcc on all systems
6022 <  if test $ac_cv_prog_really_gcc = yes; then
6023 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6024 <  fi
6025 <
6026 <  # test for gcc-specific flags:
6027 <  if test $ac_cv_prog_really_gcc = yes; then
6028 <    # -malign-double for x86 systems
6029 <
6030 <
6031 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
6032 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
6033 < if test "${ac_align_double+set}" = set; then
6034 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6035 < else
6036 <  echo 'void f(){}' > conftest.c
6037 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
6038 <        ac_align_double=yes
6039 < else
6040 <        ac_align_double=no
6041 < fi
6042 < rm -f conftest*
6043 <
6044 < fi
6045 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6046 < echo "${ECHO_T}$ac_align_double" >&6
6047 < if test "$ac_align_double" = yes; then
6048 <        :
6049 <        CFLAGS="$CFLAGS -malign-double"
6050 < else
6051 <        :
6052 <
6053 < fi
6054 <
6055 <    # -fstrict-aliasing for gcc-2.95+
6056 <
6057 <
6058 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
6059 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
6060 < if test "${ac_fstrict_aliasing+set}" = set; then
6061 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6062 < else
6063 <  echo 'void f(){}' > conftest.c
6064 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
6065 <        ac_fstrict_aliasing=yes
6066 < else
6067 <        ac_fstrict_aliasing=no
6068 < fi
6069 < rm -f conftest*
6070 <
6071 < fi
6072 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6073 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6074 < if test "$ac_fstrict_aliasing" = yes; then
6075 <        :
6076 <        CFLAGS="$CFLAGS -fstrict-aliasing"
6077 < else
6078 <        :
6079 <
6080 < fi
6081 <
6082 <  fi
6083 <
6084 <  CPU_FLAGS=""
6085 <  if test $ac_cv_prog_really_gcc = yes; then
6086 <                  case "${host_cpu}" in
6087 <          i586*)
6088 <
6089 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
6090 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
6091 < if test "${ac_cpu_pentium+set}" = set; then
6092 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6093 < else
6094 <  echo 'void f(){}' > conftest.c
6095 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
6096 <        ac_cpu_pentium=yes
6097 < else
6098 <        ac_cpu_pentium=no
6099 < fi
6100 < rm -f conftest*
6101 <
6102 < fi
6103 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6104 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6105 < if test "$ac_cpu_pentium" = yes; then
6106 <        :
6107 <        CPU_FLAGS=-mcpu=pentium
6108 < else
6109 <        :
6110 <
6111 <
6112 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
6113 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
6114 < if test "${ac_pentium+set}" = set; then
6115 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6116 < else
6117 <  echo 'void f(){}' > conftest.c
6118 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
6119 <        ac_pentium=yes
6120 < else
6121 <        ac_pentium=no
6122 < fi
6123 < rm -f conftest*
6124 <
6125 < fi
6126 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6127 < echo "${ECHO_T}$ac_pentium" >&6
6128 < if test "$ac_pentium" = yes; then
6129 <        :
6130 <        CPU_FLAGS=-mpentium
6131 < else
6132 <        :
6133 <
6134 < fi
6135 <
6136 < fi
6137 <
6138 <                  ;;
6139 <          i686*)
6140 <
6141 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
6142 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6143 < if test "${ac_cpu_pentiumpro+set}" = set; then
6144 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6145 < else
6146 <  echo 'void f(){}' > conftest.c
6147 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
6148 <        ac_cpu_pentiumpro=yes
6149 < else
6150 <        ac_cpu_pentiumpro=no
6151 < fi
6152 < rm -f conftest*
6153 <
6154 < fi
6155 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6156 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6157 < if test "$ac_cpu_pentiumpro" = yes; then
6158 <        :
6159 <        CPU_FLAGS=-mcpu=pentiumpro
6160 < else
6161 <        :
6162 <
6163 <
6164 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
6165 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
6166 < if test "${ac_pentiumpro+set}" = set; then
6167 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6168 < else
6169 <  echo 'void f(){}' > conftest.c
6170 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
6171 <        ac_pentiumpro=yes
6172 < else
6173 <        ac_pentiumpro=no
6174 < fi
6175 < rm -f conftest*
6176 <
6177 < fi
6178 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6179 < echo "${ECHO_T}$ac_pentiumpro" >&6
6180 < if test "$ac_pentiumpro" = yes; then
6181 <        :
6182 <        CPU_FLAGS=-mpentiumpro
6183 < else
6184 <        :
6185 <
6186 < fi
6187 <
6188 < fi
6189 <
6190 <                  ;;
6191 <          powerpc*)
6192 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6193 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6194 <                if test -n "$is60x"; then
6195 <
6196 <
6197 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
6198 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
6199 < if test "${ac_m_cpu_60x+set}" = set; then
6200 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6201 < else
6202 <  echo 'void f(){}' > conftest.c
6203 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
6204 <        ac_m_cpu_60x=yes
6205 < else
6206 <        ac_m_cpu_60x=no
6207 < fi
6208 < rm -f conftest*
6209 <
6210 < fi
6211 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6212 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6213 < if test "$ac_m_cpu_60x" = yes; then
6214 <        :
6215 <        CPU_FLAGS=-mcpu=$cputype
6216 < else
6217 <        :
6218 <
6219 < fi
6220 <
6221 <                elif test "$cputype" = 750; then
6222 <
6223 <
6224 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
6225 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
6226 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
6227 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6228 < else
6229 <
6230 < cat > conftest.c <<EOF
6231 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6232 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6233 <     yes;
6234 < #  endif
6235 < #endif
6236 < EOF
6237 < if { ac_try='${CC-cc} -E conftest.c'
6238 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 <  (eval $ac_try) 2>&5
6240 <  ac_status=$?
6241 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6243 <  ac_cv_prog_gcc_2_95=yes
6244 < else
6245 <  ac_cv_prog_gcc_2_95=no
6246 < fi
6247 <
6248 < fi
6249 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
6250 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
6251 < if test "$ac_cv_prog_gcc_2_95" = yes; then
6252 <        :
6253 <
6254 <
6255 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
6256 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
6257 < if test "${ac_m_cpu_750+set}" = set; then
6258 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6259 < else
6260 <  echo 'void f(){}' > conftest.c
6261 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
6262 <        ac_m_cpu_750=yes
6263 < else
6264 <        ac_m_cpu_750=no
6265 < fi
6266 < rm -f conftest*
6267 <
6268 < fi
6269 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6270 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6271 < if test "$ac_m_cpu_750" = yes; then
6272 <        :
6273 <        CPU_FLAGS=-mcpu=750
6274 < else
6275 <        :
6276 <
6277 < fi
6278 <
6279 < else
6280 <        :
6281 <
6282 < fi
6283 <
6284 <                fi
6285 <                if test -z "$CPU_FLAGS"; then
6286 <
6287 <
6288 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6289 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
6290 < if test "${ac_m_cpu_powerpc+set}" = set; then
6291 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6292 < else
6293 <  echo 'void f(){}' > conftest.c
6294 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
6295 <        ac_m_cpu_powerpc=yes
6296 < else
6297 <        ac_m_cpu_powerpc=no
6298 < fi
6299 < rm -f conftest*
6300 <
6301 < fi
6302 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6303 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6304 < if test "$ac_m_cpu_powerpc" = yes; then
6305 <        :
6306 <        CPU_FLAGS=-mcpu=powerpc
6307 < else
6308 <        :
6309 <
6310 < fi
6311 <
6312 <                fi
6313 <                if test -z "$CPU_FLAGS"; then
6314 <
6315 <
6316 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6317 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6318 < if test "${ac_m_powerpc+set}" = set; then
6319 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6320 < else
6321 <  echo 'void f(){}' > conftest.c
6322 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
6323 <        ac_m_powerpc=yes
6324 < else
6325 <        ac_m_powerpc=no
6326 < fi
6327 < rm -f conftest*
6328 <
6329 < fi
6330 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6331 < echo "${ECHO_T}$ac_m_powerpc" >&6
6332 < if test "$ac_m_powerpc" = yes; then
6333 <        :
6334 <        CPU_FLAGS=-mpowerpc
6335 < else
6336 <        :
6337 <
6338 < fi
6339 <
6340 <                fi
6341 <          esac
6342 <  fi
6343 <
6344 <  if test -n "$CPU_FLAGS"; then
6345 <        CFLAGS="$CFLAGS $CPU_FLAGS"
6346 <  fi
6347 <
6348 <  if test -z "$CFLAGS"; then
6349 <        echo ""
6350 <        echo "********************************************************"
6351 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
6352 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6353 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
6354 <        echo "********************************************************"
6355 <        echo ""
6356 <        CFLAGS="-O3"
6357 <  fi
6358 <
6359 <
6360 <
6361 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6362 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6363 < if test "${ac_guessed_cflags+set}" = set; then
6364 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6365 < else
6366 <  echo 'void f(){}' > conftest.c
6367 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
6368 <        ac_guessed_cflags=yes
6369 < else
6370 <        ac_guessed_cflags=no
6371 < fi
6372 < rm -f conftest*
6373 <
6374 < fi
6375 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6376 < echo "${ECHO_T}$ac_guessed_cflags" >&6
6377 < if test "$ac_guessed_cflags" = yes; then
6378 <        :
6379 <
6380 < else
6381 <        :
6382 <
6383 <        echo ""
6384 <        echo "********************************************************"
6385 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
6386 <        echo "* your compiler.                                       *"
6387 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6388 <        echo "********************************************************"
6389 <        echo ""
6390 <        CFLAGS=""
6391 <
6392 < fi
6393 <
6394 <
6395 < fi
6396 <
6397 <
6398 <
6399 <
6400 <
6401 <
6402 <
6403 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6404 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6405 < if test "${ac_cv_prog_really_gxx+set}" = set; then
6406 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6407 < else
6408 <
6409 < cat > conftest.cpp <<EOF
6410 < #ifdef __GNUC__
6411 <  #ifndef __INTEL_COMPILER
6412 <     yes;
6413 <  #endif
6414 < #endif
6415 < EOF
6416 < if { ac_try='${CXX-c++} -E conftest.cpp'
6417 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 <  (eval $ac_try) 2>&5
6419 <  ac_status=$?
6420 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6422 <  ac_cv_prog_really_gxx=yes
6423 < else
6424 <  ac_cv_prog_really_gxx=no
6425 < fi
6426 <
6427 < fi
6428 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6429 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6430 < if test "$ac_cv_prog_really_gxx" = yes; then
6431 <        :
6432 <
6433 < else
6434 <        :
6435 <
6436 < fi
6437 <
6438 <
6439 < # Try to determine "good" native compiler flags if none specified on command
6440 < # line
6441 < if test "$ac_test_CXXFLAGS" != "set"; then
6442 <  CXXFLAGS=""
6443 <  case "${host_cpu}-${host_os}" in
6444 <
6445 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
6446 <                    CXXFLAGS="-O"
6447 <                fi;;
6448 <  sparc-solaris2*) if test "$CXX" = CC; then
6449 <                    CXXFLAGS="-native -fast -xO5 -dalign"
6450 <                 fi;;
6451 <   rs6000*-aix*)  if test "$CXX" = xlC; then
6452 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6453 <                fi;;
6454 <   powerpc*-aix*)
6455 <        if test "$CXX" = xlC; then
6456 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
6457 <                echo "*******************************************************"
6458 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6459 <                echo "*  recommended that you use                           *"
6460 <                echo "*                                                     *"
6461 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6462 <                echo "*                                 ^^^                 *"
6463 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6464 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6465 <                echo "*******************************************************"
6466 <        fi;;
6467 <   *darwin*)
6468 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
6469 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6470 <        fi;;
6471 <  esac
6472 <
6473 <  # use default flags for gcc on all systems
6474 <  if test $ac_cv_prog_really_gxx = yes; then
6475 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6476 <  fi
6477 <
6478 <  # test for gcc-specific flags:
6479 <  if test $ac_cv_prog_really_gxx = yes; then
6480 <    # -malign-double for x86 systems
6481 <
6482 <
6483 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6484 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6485 < if test "${ac_align_double+set}" = set; then
6486 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6487 < else
6488 <  echo 'void f(){}' > conftest.cpp
6489 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
6490 <        ac_align_double=yes
6491 < else
6492 <        ac_align_double=no
6493 < fi
6494 < rm -f conftest*
6495 <
6496 < fi
6497 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6498 < echo "${ECHO_T}$ac_align_double" >&6
6499 < if test "$ac_align_double" = yes; then
6500 <        :
6501 <        CXXFLAGS="$CXXFLAGS -malign-double"
6502 < else
6503 <        :
6504 <
6505 < fi
6506 <
6507 <    # -fstrict-aliasing for gcc-2.95+
6508 <
6509 <
6510 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6511 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6512 < if test "${ac_fstrict_aliasing+set}" = set; then
6513 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6514 < else
6515 <  echo 'void f(){}' > conftest.cpp
6516 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
6517 <        ac_fstrict_aliasing=yes
6518 < else
6519 <        ac_fstrict_aliasing=no
6520 < fi
6521 < rm -f conftest*
6522 <
6523 < fi
6524 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6525 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6526 < if test "$ac_fstrict_aliasing" = yes; then
6527 <        :
6528 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
6529 < else
6530 <        :
6531 <
6532 < fi
6533 <
6534 <  fi
6535 <
6536 <  CPU_FLAGS=""
6537 <  if test $ac_cv_prog_really_gxx = yes; then
6538 <                  case "${host_cpu}" in
6539 <          i586*)
6540 <
6541 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6542 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6543 < if test "${ac_cpu_pentium+set}" = set; then
6544 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6545 < else
6546 <  echo 'void f(){}' > conftest.cpp
6547 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
6548 <        ac_cpu_pentium=yes
6549 < else
6550 <        ac_cpu_pentium=no
6551 < fi
6552 < rm -f conftest*
6553 <
6554 < fi
6555 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6556 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6557 < if test "$ac_cpu_pentium" = yes; then
6558 <        :
6559 <        CPU_FLAGS=-mcpu=pentium
6560 < else
6561 <        :
6562 <
6563 <
6564 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6565 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6566 < if test "${ac_pentium+set}" = set; then
6567 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6568 < else
6569 <  echo 'void f(){}' > conftest.cpp
6570 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
6571 <        ac_pentium=yes
6572 < else
6573 <        ac_pentium=no
6574 < fi
6575 < rm -f conftest*
6576 <
6577 < fi
6578 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6579 < echo "${ECHO_T}$ac_pentium" >&6
6580 < if test "$ac_pentium" = yes; then
6581 <        :
6582 <        CPU_FLAGS=-mpentium
6583 < else
6584 <        :
6585 <
6586 < fi
6587 <
6588 < fi
6589 <
6590 <                  ;;
6591 <          i686*)
6592 <
6593 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6594 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6595 < if test "${ac_cpu_pentiumpro+set}" = set; then
6596 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6597 < else
6598 <  echo 'void f(){}' > conftest.cpp
6599 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6600 <        ac_cpu_pentiumpro=yes
6601 < else
6602 <        ac_cpu_pentiumpro=no
6603 < fi
6604 < rm -f conftest*
6605 <
6606 < fi
6607 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6608 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6609 < if test "$ac_cpu_pentiumpro" = yes; then
6610 <        :
6611 <        CPU_FLAGS=-mcpu=pentiumpro
6612 < else
6613 <        :
6614 <
6615 <
6616 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6617 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6618 < if test "${ac_pentiumpro+set}" = set; then
6619 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6620 < else
6621 <  echo 'void f(){}' > conftest.cpp
6622 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6623 <        ac_pentiumpro=yes
6624 < else
6625 <        ac_pentiumpro=no
6626 < fi
6627 < rm -f conftest*
6628 <
6629 < fi
6630 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6631 < echo "${ECHO_T}$ac_pentiumpro" >&6
6632 < if test "$ac_pentiumpro" = yes; then
6633 <        :
6634 <        CPU_FLAGS=-mpentiumpro
6635 < else
6636 <        :
6637 <
6638 < fi
6639 <
6640 < fi
6641 <
6642 <                  ;;
6643 <          powerpc*)
6644 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6645 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6646 <                if test -n "$is60x"; then
6647 <
6648 <
6649 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6650 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6651 < if test "${ac_m_cpu_60x+set}" = set; then
6652 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6653 < else
6654 <  echo 'void f(){}' > conftest.cpp
6655 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6656 <        ac_m_cpu_60x=yes
6657 < else
6658 <        ac_m_cpu_60x=no
6659 < fi
6660 < rm -f conftest*
6661 <
6662 < fi
6663 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6664 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6665 < if test "$ac_m_cpu_60x" = yes; then
6666 <        :
6667 <        CPU_FLAGS=-mcpu=$cputype
6668 < else
6669 <        :
6670 <
6671 < fi
6672 <
6673 <                elif test "$cputype" = 750; then
6674 <
6675 <
6676 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6677 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6678 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6679 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6680 < else
6681 <
6682 < cat > conftest.cpp <<EOF
6683 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6684 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6685 <     yes;
6686 < #  endif
6687 < #endif
6688 < EOF
6689 < if { ac_try='${CXX-c++} -E conftest.cpp'
6690 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 <  (eval $ac_try) 2>&5
6692 <  ac_status=$?
6693 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6695 <  ac_cv_prog_gxx_2_95=yes
6696 < else
6697 <  ac_cv_prog_gxx_2_95=no
6698 < fi
6699 <
6700 < fi
6701 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6702 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6703 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6704 <        :
6705 <
6706 <
6707 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6708 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6709 < if test "${ac_m_cpu_750+set}" = set; then
6710 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6711 < else
6712 <  echo 'void f(){}' > conftest.cpp
6713 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
6714 <        ac_m_cpu_750=yes
6715 < else
6716 <        ac_m_cpu_750=no
6717 < fi
6718 < rm -f conftest*
6719 <
6720 < fi
6721 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6722 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6723 < if test "$ac_m_cpu_750" = yes; then
6724 <        :
6725 <        CPU_FLAGS=-mcpu=750
6726 < else
6727 <        :
6728 <
6729 < fi
6730 <
6731 < else
6732 <        :
6733 <
6734 < fi
6735 <
6736 <                fi
6737 <                if test -z "$CPU_FLAGS"; then
6738 <
6739 <
6740 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6741 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6742 < if test "${ac_m_cpu_powerpc+set}" = set; then
6743 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6744 < else
6745 <  echo 'void f(){}' > conftest.cpp
6746 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
6747 <        ac_m_cpu_powerpc=yes
6748 < else
6749 <        ac_m_cpu_powerpc=no
6750 < fi
6751 < rm -f conftest*
6752 <
6753 < fi
6754 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6755 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6756 < if test "$ac_m_cpu_powerpc" = yes; then
6757 <        :
6758 <        CPU_FLAGS=-mcpu=powerpc
6759 < else
6760 <        :
6761 <
6762 < fi
6763 <
6764 <                fi
6765 <                if test -z "$CPU_FLAGS"; then
6766 <
6767 <
6768 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6769 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6770 < if test "${ac_m_powerpc+set}" = set; then
6771 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6772 < else
6773 <  echo 'void f(){}' > conftest.cpp
6774 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
6775 <        ac_m_powerpc=yes
6776 < else
6777 <        ac_m_powerpc=no
6778 < fi
6779 < rm -f conftest*
6780 <
6781 < fi
6782 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6783 < echo "${ECHO_T}$ac_m_powerpc" >&6
6784 < if test "$ac_m_powerpc" = yes; then
6785 <        :
6786 <        CPU_FLAGS=-mpowerpc
6787 < else
6788 <        :
6789 <
6790 < fi
6791 <
6792 <                fi
6793 <          esac
6794 <  fi
6795 <
6796 <  if test -n "$CPU_FLAGS"; then
6797 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
6798 <  fi
6799 <
6800 <  if test -z "$CXXFLAGS"; then
6801 <        echo ""
6802 <        echo "**********************************************************"
6803 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
6804 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6805 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
6806 <        echo "**********************************************************"
6807 <        echo ""
6808 <        CXXFLAGS="-O3"
6809 <  fi
6810 <
6811 <
6812 <
6813 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6814 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6815 < if test "${ac_guessed_cxxflags+set}" = set; then
6816 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6817 < else
6818 <  echo 'void f(){}' > conftest.cpp
6819 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
6820 <        ac_guessed_cxxflags=yes
6821 < else
6822 <        ac_guessed_cxxflags=no
6823 < fi
6824 < rm -f conftest*
6825 <
6826 < fi
6827 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6828 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6829 < if test "$ac_guessed_cxxflags" = yes; then
6830 <        :
6831 <
6832 < else
6833 <        :
6834 <
6835 <        echo ""
6836 <        echo "**********************************************************"
6837 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
6838 <        echo "* your compiler.                                         *"
6839 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6840 <        echo "**********************************************************"
6841 <        echo ""
6842 <        CXXFLAGS=""
6843 <
6844 < fi
6845 <
6846 <
6847 < fi
6848 <
6849 <
6850 <
6851 <
6852 <
6853 < # Try to determine "good" native compiler flags if none specified on command
6854 < # line
6855 <
6856 < if test x"$F90FLAGS" = x ; then
6857 <  F90FLAGS=""
6858 <  case "${host_cpu}-${host_os}" in
6859 <
6860 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
6861 <                    F90FLAGS="-O"
6862 <                fi;;
6863 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
6864 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6865 <                fi;;
6866 <   powerpc*-aix*)
6867 <        if test "$F90" = f90 -o "$F90" = xlf90; then
6868 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
6869 <                echo "*******************************************************"
6870 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6871 <                echo "*  recommended that you use                           *"
6872 <                echo "*                                                     *"
6873 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6874 <                echo "*                                 ^^^                 *"
6875 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6876 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
6877 <                echo "*******************************************************"
6878 <        fi;;
6879 <   *darwin*)
6880 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6881 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6882 <        fi;;
6883 <  esac
6884 <
6885 <  if test -n "$CPU_FLAGS"; then
6886 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
6887 <  fi
6888 <
6889 <  if test -z "$F90FLAGS"; then
6890 <        echo ""
6891 <        echo "**********************************************************"
6892 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
6893 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6894 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
6895 <        echo "**********************************************************"
6896 <        echo ""
6897 <        F90FLAGS="-O3"
6898 <  fi
6899 <
6900 <
6901 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6902 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6903 < if test "${ac_guessed_f90flags+set}" = set; then
6904 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6905 < else
6906 <
6907 <
6908 <
6909 < ac_ext=f90
6910 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6911 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6912 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6913 <
6914 < echo 'program main' > conftest.$ac_ext
6915 < echo 'end program main' >> conftest.$ac_ext
6916 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6917 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6918 <  (eval $ac_compile) 2>&5
6919 <  ac_status=$?
6920 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 <  (exit $ac_status); }; then
6922 <        ac_guessed_f90flags=yes
6923 < else
6924 <        ac_guessed_f90flags=no
6925 < fi
6926 < rm -f conftest*
6927 < ac_ext=c
6928 < ac_cpp='$CPP $CPPFLAGS'
6929 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6930 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6931 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6932 <
6933 <
6934 < fi
6935 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
6936 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
6937 < if test "$ac_guessed_f90flags" = yes; then
6938 <        :
6939 <
6940 < else
6941 <        :
6942 <
6943 <        echo ""
6944 <        echo "**********************************************************"
6945 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
6946 <        echo "* your compiler.                                         *"
6947 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6948 <        echo "**********************************************************"
6949 <        echo ""
6950 <        F90FLAGS=""
6951 <
6952 < fi
6953 <
6954 <
6955 < fi
6956 <
6957 <     ;;
6958 < esac
6959 <
6960 < # Find a good install program.  We prefer a C program (faster),
6961 < # so one script is as good as another.  But avoid the broken or
6962 < # incompatible versions:
6963 < # SysV /etc/install, /usr/sbin/install
6964 < # SunOS /usr/etc/install
6965 < # IRIX /sbin/install
6966 < # AIX /bin/install
6967 < # AmigaOS /C/install, which installs bootblocks on floppy discs
6968 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6969 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6970 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6971 < # OS/2's system install, which has a completely different semantic
6972 < # ./install, which can be erroneously created by make from ./install.sh.
6973 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6974 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6975 < if test -z "$INSTALL"; then
6976 < if test "${ac_cv_path_install+set}" = set; then
6977 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6978 < else
6979 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 < for as_dir in $PATH
6981 < do
6982 <  IFS=$as_save_IFS
6983 <  test -z "$as_dir" && as_dir=.
6984 <  # Account for people who put trailing slashes in PATH elements.
6985 < case $as_dir/ in
6986 <  ./ | .// | /cC/* | \
6987 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6988 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6989 <  /usr/ucb/* ) ;;
6990 <  *)
6991 <    # OSF1 and SCO ODT 3.0 have their own names for install.
6992 <    # Don't use installbsd from OSF since it installs stuff as root
6993 <    # by default.
6994 <    for ac_prog in ginstall scoinst install; do
6995 <      for ac_exec_ext in '' $ac_executable_extensions; do
6996 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6997 <          if test $ac_prog = install &&
6998 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6999 <            # AIX install.  It has an incompatible calling convention.
7000 <            :
7001 <          elif test $ac_prog = install &&
7002 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7003 <            # program-specific install script used by HP pwplus--don't use.
7004 <            :
7005 <          else
7006 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7007 <            break 3
7008 <          fi
7009 <        fi
7010 <      done
7011 <    done
7012 <    ;;
7013 < esac
7014 < done
7015 <
7016 <
7017 < fi
7018 <  if test "${ac_cv_path_install+set}" = set; then
7019 <    INSTALL=$ac_cv_path_install
7020 <  else
7021 <    # As a last resort, use the slow shell script.  We don't cache a
7022 <    # path for INSTALL within a source directory, because that will
7023 <    # break other packages using the cache if that directory is
7024 <    # removed, or if the path is relative.
7025 <    INSTALL=$ac_install_sh
7026 <  fi
7027 < fi
7028 < echo "$as_me:$LINENO: result: $INSTALL" >&5
7029 < echo "${ECHO_T}$INSTALL" >&6
7030 <
7031 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7032 < # It thinks the first close brace ends the variable substitution.
7033 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7034 <
7035 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7036 <
7037 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7038 <
7039 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
7040 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7041 < LN_S=$as_ln_s
7042 < if test "$LN_S" = "ln -s"; then
7043 <  echo "$as_me:$LINENO: result: yes" >&5
7044 < echo "${ECHO_T}yes" >&6
7045 < else
7046 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7047 < echo "${ECHO_T}no, using $LN_S" >&6
7048 < fi
7049 <
7050 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7051 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7052 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7053 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7054 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7055 < else
7056 <  cat >conftest.make <<\_ACEOF
7057 < all:
7058 <        @echo 'ac_maketemp="$(MAKE)"'
7059 < _ACEOF
7060 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7061 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7062 < if test -n "$ac_maketemp"; then
7063 <  eval ac_cv_prog_make_${ac_make}_set=yes
7064 < else
7065 <  eval ac_cv_prog_make_${ac_make}_set=no
7066 < fi
7067 < rm -f conftest.make
7068 < fi
7069 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7070 <  echo "$as_me:$LINENO: result: yes" >&5
7071 < echo "${ECHO_T}yes" >&6
7072 <  SET_MAKE=
7073 < else
7074 <  echo "$as_me:$LINENO: result: no" >&5
7075 < echo "${ECHO_T}no" >&6
7076 <  SET_MAKE="MAKE=${MAKE-make}"
7077 < fi
7078 <
7079 < if test -n "$ac_tool_prefix"; then
7080 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7081 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7082 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7083 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7084 < if test "${ac_cv_prog_RANLIB+set}" = set; then
7085 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7086 < else
7087 <  if test -n "$RANLIB"; then
7088 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7089 < else
7090 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 < for as_dir in $PATH
7092 < do
7093 <  IFS=$as_save_IFS
7094 <  test -z "$as_dir" && as_dir=.
7095 <  for ac_exec_ext in '' $ac_executable_extensions; do
7096 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7098 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 <    break 2
7100 <  fi
7101 < done
7102 < done
7103 <
7104 < fi
7105 < fi
7106 < RANLIB=$ac_cv_prog_RANLIB
7107 < if test -n "$RANLIB"; then
7108 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
7109 < echo "${ECHO_T}$RANLIB" >&6
7110 < else
7111 <  echo "$as_me:$LINENO: result: no" >&5
7112 < echo "${ECHO_T}no" >&6
7113 < fi
7114 <
7115 < fi
7116 < if test -z "$ac_cv_prog_RANLIB"; then
7117 <  ac_ct_RANLIB=$RANLIB
7118 <  # Extract the first word of "ranlib", so it can be a program name with args.
7119 < set dummy ranlib; ac_word=$2
7120 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7121 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7122 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7123 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7124 < else
7125 <  if test -n "$ac_ct_RANLIB"; then
7126 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7127 < else
7128 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 < for as_dir in $PATH
7130 < do
7131 <  IFS=$as_save_IFS
7132 <  test -z "$as_dir" && as_dir=.
7133 <  for ac_exec_ext in '' $ac_executable_extensions; do
7134 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
7136 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 <    break 2
7138 <  fi
7139 < done
7140 < done
7141 <
7142 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7143 < fi
7144 < fi
7145 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7146 < if test -n "$ac_ct_RANLIB"; then
7147 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7148 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
7149 < else
7150 <  echo "$as_me:$LINENO: result: no" >&5
7151 < echo "${ECHO_T}no" >&6
7152 < fi
7153 <
7154 <  RANLIB=$ac_ct_RANLIB
7155 < else
7156 <  RANLIB="$ac_cv_prog_RANLIB"
7157 < fi
7158 <
7159 < for ac_prog in 'bison -y' byacc
7160 < do
7161 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7162 < set dummy $ac_prog; ac_word=$2
7163 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7164 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7165 < if test "${ac_cv_prog_YACC+set}" = set; then
7166 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7167 < else
7168 <  if test -n "$YACC"; then
7169 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
7170 < else
7171 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172 < for as_dir in $PATH
7173 < do
7174 <  IFS=$as_save_IFS
7175 <  test -z "$as_dir" && as_dir=.
7176 <  for ac_exec_ext in '' $ac_executable_extensions; do
7177 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7178 <    ac_cv_prog_YACC="$ac_prog"
7179 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 <    break 2
7181 <  fi
7182 < done
7183 < done
7184 <
7185 < fi
7186 < fi
7187 < YACC=$ac_cv_prog_YACC
7188 < if test -n "$YACC"; then
7189 <  echo "$as_me:$LINENO: result: $YACC" >&5
7190 < echo "${ECHO_T}$YACC" >&6
7191 < else
7192 <  echo "$as_me:$LINENO: result: no" >&5
7193 < echo "${ECHO_T}no" >&6
7194 < fi
7195 <
7196 <  test -n "$YACC" && break
7197 < done
7198 < test -n "$YACC" || YACC="yacc"
7199 <
7200 < for ac_prog in flex lex
7201 < do
7202 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7203 < set dummy $ac_prog; ac_word=$2
7204 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7205 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7206 < if test "${ac_cv_prog_LEX+set}" = set; then
7207 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7208 < else
7209 <  if test -n "$LEX"; then
7210 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
7211 < else
7212 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7213 < for as_dir in $PATH
7214 < do
7215 <  IFS=$as_save_IFS
7216 <  test -z "$as_dir" && as_dir=.
7217 <  for ac_exec_ext in '' $ac_executable_extensions; do
7218 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7219 <    ac_cv_prog_LEX="$ac_prog"
7220 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 <    break 2
7222 <  fi
7223 < done
7224 < done
7225 <
7226 < fi
7227 < fi
7228 < LEX=$ac_cv_prog_LEX
7229 < if test -n "$LEX"; then
7230 <  echo "$as_me:$LINENO: result: $LEX" >&5
7231 < echo "${ECHO_T}$LEX" >&6
7232 < else
7233 <  echo "$as_me:$LINENO: result: no" >&5
7234 < echo "${ECHO_T}no" >&6
7235 < fi
7236 <
7237 <  test -n "$LEX" && break
7238 < done
7239 < test -n "$LEX" || LEX=":"
7240 <
7241 < if test -z "$LEXLIB"
7242 < then
7243 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
7244 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
7245 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
7246 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7247 < else
7248 <  ac_check_lib_save_LIBS=$LIBS
7249 < LIBS="-lfl  $LIBS"
7250 < cat >conftest.$ac_ext <<_ACEOF
7251 < /* confdefs.h.  */
7252 < _ACEOF
7253 < cat confdefs.h >>conftest.$ac_ext
7254 < cat >>conftest.$ac_ext <<_ACEOF
7255 < /* end confdefs.h.  */
7256 <
7257 < /* Override any gcc2 internal prototype to avoid an error.  */
7258 < #ifdef __cplusplus
7259 < extern "C"
7260 < #endif
7261 < /* We use char because int might match the return type of a gcc2
7262 <   builtin and then its argument prototype would still apply.  */
7263 < char yywrap ();
7264 < int
7265 < main ()
7266 < {
7267 < yywrap ();
7268 <  ;
7269 <  return 0;
7270 < }
7271 < _ACEOF
7272 < rm -f conftest.$ac_objext conftest$ac_exeext
7273 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7274 <  (eval $ac_link) 2>conftest.er1
7275 <  ac_status=$?
7276 <  grep -v '^ *+' conftest.er1 >conftest.err
7277 <  rm -f conftest.er1
7278 <  cat conftest.err >&5
7279 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 <  (exit $ac_status); } &&
7281 <         { ac_try='test -z "$ac_c_werror_flag"
7282 <                         || test ! -s conftest.err'
7283 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 <  (eval $ac_try) 2>&5
7285 <  ac_status=$?
7286 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 <  (exit $ac_status); }; } &&
7288 <         { ac_try='test -s conftest$ac_exeext'
7289 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 <  (eval $ac_try) 2>&5
7291 <  ac_status=$?
7292 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 <  (exit $ac_status); }; }; then
7294 <  ac_cv_lib_fl_yywrap=yes
7295 < else
7296 <  echo "$as_me: failed program was:" >&5
7297 < sed 's/^/| /' conftest.$ac_ext >&5
7298 <
7299 < ac_cv_lib_fl_yywrap=no
7300 < fi
7301 < rm -f conftest.err conftest.$ac_objext \
7302 <      conftest$ac_exeext conftest.$ac_ext
7303 < LIBS=$ac_check_lib_save_LIBS
7304 < fi
7305 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
7306 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
7307 < if test $ac_cv_lib_fl_yywrap = yes; then
7308 <  LEXLIB="-lfl"
7309 < else
7310 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7311 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7312 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
7313 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7314 < else
7315 <  ac_check_lib_save_LIBS=$LIBS
7316 < LIBS="-ll  $LIBS"
7317 < cat >conftest.$ac_ext <<_ACEOF
7318 < /* confdefs.h.  */
7319 < _ACEOF
7320 < cat confdefs.h >>conftest.$ac_ext
7321 < cat >>conftest.$ac_ext <<_ACEOF
7322 < /* end confdefs.h.  */
7323 <
7324 < /* Override any gcc2 internal prototype to avoid an error.  */
7325 < #ifdef __cplusplus
7326 < extern "C"
7327 < #endif
7328 < /* We use char because int might match the return type of a gcc2
7329 <   builtin and then its argument prototype would still apply.  */
7330 < char yywrap ();
7331 < int
7332 < main ()
7333 < {
7334 < yywrap ();
7335 <  ;
7336 <  return 0;
7337 < }
7338 < _ACEOF
7339 < rm -f conftest.$ac_objext conftest$ac_exeext
7340 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7341 <  (eval $ac_link) 2>conftest.er1
7342 <  ac_status=$?
7343 <  grep -v '^ *+' conftest.er1 >conftest.err
7344 <  rm -f conftest.er1
7345 <  cat conftest.err >&5
7346 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 <  (exit $ac_status); } &&
7348 <         { ac_try='test -z "$ac_c_werror_flag"
7349 <                         || test ! -s conftest.err'
7350 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7351 <  (eval $ac_try) 2>&5
7352 <  ac_status=$?
7353 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 <  (exit $ac_status); }; } &&
7355 <         { ac_try='test -s conftest$ac_exeext'
7356 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7357 <  (eval $ac_try) 2>&5
7358 <  ac_status=$?
7359 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 <  (exit $ac_status); }; }; then
7361 <  ac_cv_lib_l_yywrap=yes
7362 < else
7363 <  echo "$as_me: failed program was:" >&5
7364 < sed 's/^/| /' conftest.$ac_ext >&5
7365 <
7366 < ac_cv_lib_l_yywrap=no
7367 < fi
7368 < rm -f conftest.err conftest.$ac_objext \
7369 <      conftest$ac_exeext conftest.$ac_ext
7370 < LIBS=$ac_check_lib_save_LIBS
7371 < fi
7372 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7373 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7374 < if test $ac_cv_lib_l_yywrap = yes; then
7375 <  LEXLIB="-ll"
7376 < fi
7377 <
7378 < fi
7379 <
7380 < fi
7381 <
7382 < if test "x$LEX" != "x:"; then
7383 <  echo "$as_me:$LINENO: checking lex output file root" >&5
7384 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7385 < if test "${ac_cv_prog_lex_root+set}" = set; then
7386 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7387 < else
7388 <  # The minimal lex program is just a single line: %%.  But some broken lexes
7389 < # (Solaris, I think it was) want two %% lines, so accommodate them.
7390 < cat >conftest.l <<_ACEOF
7391 < %%
7392 < %%
7393 < _ACEOF
7394 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7395 <  (eval $LEX conftest.l) 2>&5
7396 <  ac_status=$?
7397 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 <  (exit $ac_status); }
7399 < if test -f lex.yy.c; then
7400 <  ac_cv_prog_lex_root=lex.yy
7401 < elif test -f lexyy.c; then
7402 <  ac_cv_prog_lex_root=lexyy
7403 < else
7404 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7405 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7406 <   { (exit 1); exit 1; }; }
7407 < fi
7408 < fi
7409 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7410 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7411 < rm -f conftest.l
7412 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7413 <
7414 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7415 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7416 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7417 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7418 < else
7419 <  # POSIX says lex can declare yytext either as a pointer or an array; the
7420 < # default is implementation-dependent. Figure out which it is, since
7421 < # not all implementations provide the %pointer and %array declarations.
7422 < ac_cv_prog_lex_yytext_pointer=no
7423 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
7424 < ac_save_LIBS=$LIBS
7425 < LIBS="$LIBS $LEXLIB"
7426 < cat >conftest.$ac_ext <<_ACEOF
7427 < `cat $LEX_OUTPUT_ROOT.c`
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"
7439 <                         || test ! -s conftest.err'
7440 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 <  (eval $ac_try) 2>&5
7442 <  ac_status=$?
7443 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 <  (exit $ac_status); }; } &&
7445 <         { ac_try='test -s conftest$ac_exeext'
7446 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 <  (eval $ac_try) 2>&5
7448 <  ac_status=$?
7449 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 <  (exit $ac_status); }; }; then
7451 <  ac_cv_prog_lex_yytext_pointer=yes
7452 < else
7453 <  echo "$as_me: failed program was:" >&5
7454 < sed 's/^/| /' conftest.$ac_ext >&5
7455 <
7456 < fi
7457 < rm -f conftest.err conftest.$ac_objext \
7458 <      conftest$ac_exeext conftest.$ac_ext
7459 < LIBS=$ac_save_LIBS
7460 < rm -f "${LEX_OUTPUT_ROOT}.c"
7461 <
7462 < fi
7463 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7464 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7465 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
7466 <
7467 < cat >>confdefs.h <<\_ACEOF
7468 < #define YYTEXT_POINTER 1
7469 < _ACEOF
7470 <
7471 < fi
7472 <
7473 < fi
7474 < # Extract the first word of "ar", so it can be a program name with args.
7475 < set dummy ar; ac_word=$2
7476 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7477 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7478 < if test "${ac_cv_prog_AR+set}" = set; then
7479 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7480 < else
7481 <  if test -n "$AR"; then
7482 <  ac_cv_prog_AR="$AR" # Let the user override the test.
7483 < else
7484 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7485 < for as_dir in $PATH
7486 < do
7487 <  IFS=$as_save_IFS
7488 <  test -z "$as_dir" && as_dir=.
7489 <  for ac_exec_ext in '' $ac_executable_extensions; do
7490 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7491 <    ac_cv_prog_AR="ar"
7492 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 <    break 2
7494 <  fi
7495 < done
7496 < done
7497 <
7498 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7499 < fi
7500 < fi
7501 < AR=$ac_cv_prog_AR
7502 < if test -n "$AR"; then
7503 <  echo "$as_me:$LINENO: result: $AR" >&5
7504 < echo "${ECHO_T}$AR" >&6
7505 < else
7506 <  echo "$as_me:$LINENO: result: no" >&5
7507 < echo "${ECHO_T}no" >&6
7508 < fi
7509 <
7510 < if test "$AR" = "NONE"; then
7511 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7512 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7513 <   { (exit 1); exit 1; }; }
7514 <  cat >confcache <<\_ACEOF
7515 < # This file is a shell script that caches the results of configure
7516 < # tests run on this system so they can be shared between configure
7517 < # scripts and configure runs, see configure's option --config-cache.
7518 < # It is not useful on other systems.  If it contains results you don't
7519 < # want to keep, you may remove or edit it.
7520 < #
7521 < # config.status only pays attention to the cache file if you give it
7522 < # the --recheck option to rerun configure.
7523 < #
7524 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
7525 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
7526 < # following values.
7527 <
7528 < _ACEOF
7529 <
7530 < # The following way of writing the cache mishandles newlines in values,
7531 < # but we know of no workaround that is simple, portable, and efficient.
7532 < # So, don't put newlines in cache variables' values.
7533 < # Ultrix sh set writes to stderr and can't be redirected directly,
7534 < # and sets the high bit in the cache file unless we assign to the vars.
7535 < {
7536 <  (set) 2>&1 |
7537 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7538 <    *ac_space=\ *)
7539 <      # `set' does not quote correctly, so add quotes (double-quote
7540 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
7541 <      sed -n \
7542 <        "s/'/'\\\\''/g;
7543 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7544 <      ;;
7545 <    *)
7546 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
7547 <      sed -n \
7548 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7549 <      ;;
7550 <    esac;
7551 < } |
7552 <  sed '
7553 <     t clear
7554 <     : clear
7555 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7556 <     t end
7557 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7558 <     : end' >>confcache
7559 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
7560 <  if test -w $cache_file; then
7561 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7562 <    cat confcache >$cache_file
7563 <  else
7564 <    echo "not updating unwritable cache $cache_file"
7565 <  fi
7566 < fi
7567 < rm -f confcache
7568 <  exit 1
7569 < fi
7570 <
7571 < # Extract the first word of "ps", so it can be a program name with args.
7572 < set dummy ps; ac_word=$2
7573 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7574 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7575 < if test "${ac_cv_path_PS+set}" = set; then
7576 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7577 < else
7578 <  case $PS in
7579 <  [\\/]* | ?:[\\/]*)
7580 <  ac_cv_path_PS="$PS" # Let the user override the test with a path.
7581 <  ;;
7582 <  *)
7583 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 < for as_dir in $PATH
7585 < do
7586 <  IFS=$as_save_IFS
7587 <  test -z "$as_dir" && as_dir=.
7588 <  for ac_exec_ext in '' $ac_executable_extensions; do
7589 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7590 <    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7591 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 <    break 2
7593 <  fi
7594 < done
7595 < done
7596 <
7597 <  ;;
7598 < esac
7599 < fi
7600 < PS=$ac_cv_path_PS
7601 <
7602 < if test -n "$PS"; then
7603 <  echo "$as_me:$LINENO: result: $PS" >&5
7604 < echo "${ECHO_T}$PS" >&6
7605 < else
7606 <  echo "$as_me:$LINENO: result: no" >&5
7607 < echo "${ECHO_T}no" >&6
7608 < fi
7609 <
7610 < echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7611 < echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7612 < if test "${ac_cv_prog_ps_syntax+set}" = set; then
7613 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7614 < else
7615 <
7616 <        if $PS ax -o rss > /dev/null 2>&1; then
7617 <                ac_cv_prog_ps_ax=yes
7618 <        else
7619 <                ac_cv_prog_ps_ax=no
7620 <        fi
7621 <        if $PS -ef -o rss > /dev/null 2>&1; then
7622 <                ac_cv_prog_ps_ef=yes
7623 <        else
7624 <                ac_cv_prog_ps_ef=no
7625 <        fi
7626 <        if test "$ac_cv_prog_ps_ax" = yes; then
7627 <                ac_cv_prog_ps_syntax=BSD
7628 <        else
7629 <                if test "$ac_cv_prog_ps_ef" = yes; then
7630 <                        ac_cv_prog_ps_syntax=POSIX
7631 <                else
7632 <                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7633 < echo "$as_me: error: Could not determine ps syntax" >&2;}
7634 <   { (exit 1); exit 1; }; }
7635 <                fi
7636 <        fi
7637 <
7638 < fi
7639 < echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7640 < echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7641 <
7642 <
7643 < cat >>confdefs.h <<_ACEOF
7644 < #define PSCOMMAND $PS
7645 < _ACEOF
7646 <
7647 <
7648 < if test "$ac_cv_prog_ps_syntax" = BSD; then
7649 <  cat >>confdefs.h <<\_ACEOF
7650 < #define PSTYPE_IS_BSD 1
7651 < _ACEOF
7652 <
7653 < else
7654 <   if test "$ac_cv_prog_ps_syntax" = POSIX; then
7655 <       cat >>confdefs.h <<\_ACEOF
7656 < #define PSTYPE_IS_POSIX 1
7657 < _ACEOF
7658 <
7659 <   else
7660 <       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7661 < echo "$as_me: error: Unknown ps syntax type!" >&2;}
7662 <   { (exit 1); exit 1; }; }
7663 <   fi
7664 < fi
7665 <
7666 <
7667 < # Check whether --with-mpi or --without-mpi was given.
7668 < if test "${with_mpi+set}" = set; then
7669 <  withval="$with_mpi"
7670 <  with_mpi=$withval
7671 < else
7672 <  with_mpi="no"
7673 < fi;
7674 <
7675 < case "x$with_mpi" in
7676 <        xyes | "x")  USE_MPI=yes;;
7677 <        xno) USE_MPI=no ;;
7678 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
7679 < esac
7680 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
7681 <        MPI="/usr/local"
7682 < fi
7683 < if test "$USE_MPI" = "yes"; then
7684 <
7685 <
7686 < # Set variables...
7687 < MPI_LIB_DIR="$MPI/lib"
7688 < MPI_INC_DIR="$MPI/include"
7689 <
7690 <
7691 <
7692 < echo "$as_me:$LINENO: checking for mpi.h" >&5
7693 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7694 < have_mpi_h=0
7695 < echo '#include <mpi.h>' > conftest.cc
7696 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7697 <        echo "$as_me:$LINENO: result: yes" >&5
7698 < echo "${ECHO_T}yes" >&6
7699 <        have_mpi_h=1
7700 < else
7701 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7702 < echo "${ECHO_T}no! Check MPI include paths" >&6
7703 <        USE_MPI="no"
7704 < fi
7705 < rm -f conftest*
7706 < if test "$have_mpi_h" = 1; then
7707 <
7708 < cat >>confdefs.h <<\_ACEOF
7709 < #define HAVE_MPI_H 1
7710 < _ACEOF
7711 <
7712 < fi
7713 <
7714 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7715 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7716 < have_mpif_h=0
7717 < rm -f conftest*
7718 < cat >conftest.f90 <<EOF
7719 < program main
7720 <   include 'mpif.h'
7721 < end
7722 < EOF
7723 < if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7724 <        echo "$as_me:$LINENO: result: yes" >&5
7725 < echo "${ECHO_T}yes" >&6
7726 <        MPI_F90_INC="$MPI_INC_DIR"
7727 <        have_mpif_h=1
7728 < else
7729 <        if test -s conftest.out ; then
7730 <                cat conftest.out >> config.log
7731 <        fi
7732 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7733 < echo "${ECHO_T}no! Check MPI include paths" >&6
7734 <        USE_MPI="no"
7735 < fi
7736 < rm -f conftest*
7737 <
7738 < if test "$have_mpif_h" = 1; then
7739 <
7740 < cat >>confdefs.h <<\_ACEOF
7741 < #define HAVE_MPIF_H 1
7742 < _ACEOF
7743 <
7744 < fi
7745 <
7746 < ac_ext=c
7747 < ac_cpp='$CPP $CPPFLAGS'
7748 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7749 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7750 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7751 <
7752 < ac_save_LDFLAGS=$LDFLAGS
7753 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7754 <
7755 < if test x = x"$MPI_LIB"; then
7756 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7757 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7758 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7759 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7760 < else
7761 <  ac_check_lib_save_LIBS=$LIBS
7762 < LIBS="-lmpich  $LIBS"
7763 < cat >conftest.$ac_ext <<_ACEOF
7764 < /* confdefs.h.  */
7765 < _ACEOF
7766 < cat confdefs.h >>conftest.$ac_ext
7767 < cat >>conftest.$ac_ext <<_ACEOF
7768 < /* end confdefs.h.  */
7769 <
7770 < /* Override any gcc2 internal prototype to avoid an error.  */
7771 < #ifdef __cplusplus
7772 < extern "C"
7773 < #endif
7774 < /* We use char because int might match the return type of a gcc2
7775 <   builtin and then its argument prototype would still apply.  */
7776 < char MPI_Init ();
7777 < int
7778 < main ()
7779 < {
7780 < MPI_Init ();
7781 <  ;
7782 <  return 0;
7783 < }
7784 < _ACEOF
7785 < rm -f conftest.$ac_objext conftest$ac_exeext
7786 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7787 <  (eval $ac_link) 2>conftest.er1
7788 <  ac_status=$?
7789 <  grep -v '^ *+' conftest.er1 >conftest.err
7790 <  rm -f conftest.er1
7791 <  cat conftest.err >&5
7792 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7793 <  (exit $ac_status); } &&
7794 <         { ac_try='test -z "$ac_c_werror_flag"
7795 <                         || test ! -s conftest.err'
7796 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 <  (eval $ac_try) 2>&5
7798 <  ac_status=$?
7799 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 <  (exit $ac_status); }; } &&
7801 <         { ac_try='test -s conftest$ac_exeext'
7802 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 <  (eval $ac_try) 2>&5
7804 <  ac_status=$?
7805 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806 <  (exit $ac_status); }; }; then
7807 <  ac_cv_lib_mpich_MPI_Init=yes
7808 < else
7809 <  echo "$as_me: failed program was:" >&5
7810 < sed 's/^/| /' conftest.$ac_ext >&5
7811 <
7812 < ac_cv_lib_mpich_MPI_Init=no
7813 < fi
7814 < rm -f conftest.err conftest.$ac_objext \
7815 <      conftest$ac_exeext conftest.$ac_ext
7816 < LIBS=$ac_check_lib_save_LIBS
7817 < fi
7818 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7819 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7820 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7821 <  MPI_LIB="-lmpich"
7822 < fi
7823 <
7824 < fi
7825 < if test x = x"$MPI_LIB"; then
7826 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7827 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7828 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7829 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7830 < else
7831 <  ac_check_lib_save_LIBS=$LIBS
7832 < LIBS="-lmpi  $LIBS"
7833 < cat >conftest.$ac_ext <<_ACEOF
7834 < /* confdefs.h.  */
7835 < _ACEOF
7836 < cat confdefs.h >>conftest.$ac_ext
7837 < cat >>conftest.$ac_ext <<_ACEOF
7838 < /* end confdefs.h.  */
7839 <
7840 < /* Override any gcc2 internal prototype to avoid an error.  */
7841 < #ifdef __cplusplus
7842 < extern "C"
7843 < #endif
7844 < /* We use char because int might match the return type of a gcc2
7845 <   builtin and then its argument prototype would still apply.  */
7846 < char MPI_Init ();
7847 < int
7848 < main ()
7849 < {
7850 < MPI_Init ();
7851 <  ;
7852 <  return 0;
7853 < }
7854 < _ACEOF
7855 < rm -f conftest.$ac_objext conftest$ac_exeext
7856 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7857 <  (eval $ac_link) 2>conftest.er1
7858 <  ac_status=$?
7859 <  grep -v '^ *+' conftest.er1 >conftest.err
7860 <  rm -f conftest.er1
7861 <  cat conftest.err >&5
7862 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 <  (exit $ac_status); } &&
7864 <         { ac_try='test -z "$ac_c_werror_flag"
7865 <                         || test ! -s conftest.err'
7866 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 <  (eval $ac_try) 2>&5
7868 <  ac_status=$?
7869 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 <  (exit $ac_status); }; } &&
7871 <         { ac_try='test -s conftest$ac_exeext'
7872 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 <  (eval $ac_try) 2>&5
7874 <  ac_status=$?
7875 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 <  (exit $ac_status); }; }; then
7877 <  ac_cv_lib_mpi_MPI_Init=yes
7878 < else
7879 <  echo "$as_me: failed program was:" >&5
7880 < sed 's/^/| /' conftest.$ac_ext >&5
7881 <
7882 < ac_cv_lib_mpi_MPI_Init=no
7883 < fi
7884 < rm -f conftest.err conftest.$ac_objext \
7885 <      conftest$ac_exeext conftest.$ac_ext
7886 < LIBS=$ac_check_lib_save_LIBS
7887 < fi
7888 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7889 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7890 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7891 <  MPI_LIB="-lmpi"
7892 < fi
7893 <
7894 < fi
7895 < $as_unset ac_cv_lib_mpi_MPI_Init
7896 < if test x = x"$MPI_LIB"; then
7897 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7898 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7899 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7900 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7901 < else
7902 <  ac_check_lib_save_LIBS=$LIBS
7903 < LIBS="-lmpi "-llam" $LIBS"
7904 < cat >conftest.$ac_ext <<_ACEOF
7905 < /* confdefs.h.  */
7906 < _ACEOF
7907 < cat confdefs.h >>conftest.$ac_ext
7908 < cat >>conftest.$ac_ext <<_ACEOF
7909 < /* end confdefs.h.  */
7910 <
7911 < /* Override any gcc2 internal prototype to avoid an error.  */
7912 < #ifdef __cplusplus
7913 < extern "C"
7914 < #endif
7915 < /* We use char because int might match the return type of a gcc2
7916 <   builtin and then its argument prototype would still apply.  */
7917 < char MPI_Init ();
7918 < int
7919 < main ()
7920 < {
7921 < MPI_Init ();
7922 <  ;
7923 <  return 0;
7924 < }
7925 < _ACEOF
7926 < rm -f conftest.$ac_objext conftest$ac_exeext
7927 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 <  (eval $ac_link) 2>conftest.er1
7929 <  ac_status=$?
7930 <  grep -v '^ *+' conftest.er1 >conftest.err
7931 <  rm -f conftest.er1
7932 <  cat conftest.err >&5
7933 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 <  (exit $ac_status); } &&
7935 <         { ac_try='test -z "$ac_c_werror_flag"
7936 <                         || test ! -s conftest.err'
7937 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938 <  (eval $ac_try) 2>&5
7939 <  ac_status=$?
7940 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 <  (exit $ac_status); }; } &&
7942 <         { ac_try='test -s conftest$ac_exeext'
7943 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944 <  (eval $ac_try) 2>&5
7945 <  ac_status=$?
7946 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 <  (exit $ac_status); }; }; then
7948 <  ac_cv_lib_mpi_MPI_Init=yes
7949 < else
7950 <  echo "$as_me: failed program was:" >&5
7951 < sed 's/^/| /' conftest.$ac_ext >&5
7952 <
7953 < ac_cv_lib_mpi_MPI_Init=no
7954 < fi
7955 < rm -f conftest.err conftest.$ac_objext \
7956 <      conftest$ac_exeext conftest.$ac_ext
7957 < LIBS=$ac_check_lib_save_LIBS
7958 < fi
7959 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7960 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7961 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7962 <  MPI_LIB="-lmpi -llam"
7963 < fi
7964 <
7965 < fi
7966 < $as_unset ac_cv_lib_mpich_MPI_Init
7967 < if test x = x"$MPI_LIB"; then
7968 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7969 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7970 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7971 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7972 < else
7973 <  ac_check_lib_save_LIBS=$LIBS
7974 < LIBS="-lmpich "-lpmpich" $LIBS"
7975 < cat >conftest.$ac_ext <<_ACEOF
7976 < /* confdefs.h.  */
7977 < _ACEOF
7978 < cat confdefs.h >>conftest.$ac_ext
7979 < cat >>conftest.$ac_ext <<_ACEOF
7980 < /* end confdefs.h.  */
7981 <
7982 < /* Override any gcc2 internal prototype to avoid an error.  */
7983 < #ifdef __cplusplus
7984 < extern "C"
7985 < #endif
7986 < /* We use char because int might match the return type of a gcc2
7987 <   builtin and then its argument prototype would still apply.  */
7988 < char MPI_Init ();
7989 < int
7990 < main ()
7991 < {
7992 < MPI_Init ();
7993 <  ;
7994 <  return 0;
7995 < }
7996 < _ACEOF
7997 < rm -f conftest.$ac_objext conftest$ac_exeext
7998 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7999 <  (eval $ac_link) 2>conftest.er1
8000 <  ac_status=$?
8001 <  grep -v '^ *+' conftest.er1 >conftest.err
8002 <  rm -f conftest.er1
8003 <  cat conftest.err >&5
8004 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 <  (exit $ac_status); } &&
8006 <         { ac_try='test -z "$ac_c_werror_flag"
8007 <                         || test ! -s conftest.err'
8008 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 <  (eval $ac_try) 2>&5
8010 <  ac_status=$?
8011 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 <  (exit $ac_status); }; } &&
8013 <         { ac_try='test -s conftest$ac_exeext'
8014 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 <  (eval $ac_try) 2>&5
8016 <  ac_status=$?
8017 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 <  (exit $ac_status); }; }; then
8019 <  ac_cv_lib_mpich_MPI_Init=yes
8020 < else
8021 <  echo "$as_me: failed program was:" >&5
8022 < sed 's/^/| /' conftest.$ac_ext >&5
8023 <
8024 < ac_cv_lib_mpich_MPI_Init=no
8025 < fi
8026 < rm -f conftest.err conftest.$ac_objext \
8027 <      conftest$ac_exeext conftest.$ac_ext
8028 < LIBS=$ac_check_lib_save_LIBS
8029 < fi
8030 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8031 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8032 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
8033 <  MPI_LIB="-lmpich -lpmpich"
8034 < fi
8035 <
8036 < fi
8037 <
8038 < $as_unset ac_cv_lib_mpi_MPI_Init
8039 < if test x = x"$MPI_LIB"; then
8040 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8041 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8042 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8043 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8044 < else
8045 <  ac_check_lib_save_LIBS=$LIBS
8046 < LIBS="-lmpi -llam -lpthread $LIBS"
8047 < cat >conftest.$ac_ext <<_ACEOF
8048 < /* confdefs.h.  */
8049 < _ACEOF
8050 < cat confdefs.h >>conftest.$ac_ext
8051 < cat >>conftest.$ac_ext <<_ACEOF
8052 < /* end confdefs.h.  */
8053 <
8054 < /* Override any gcc2 internal prototype to avoid an error.  */
8055 < #ifdef __cplusplus
8056 < extern "C"
8057 < #endif
8058 < /* We use char because int might match the return type of a gcc2
8059 <   builtin and then its argument prototype would still apply.  */
8060 < char MPI_Init ();
8061 < int
8062 < main ()
8063 < {
8064 < MPI_Init ();
8065 <  ;
8066 <  return 0;
8067 < }
8068 < _ACEOF
8069 < rm -f conftest.$ac_objext conftest$ac_exeext
8070 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8071 <  (eval $ac_link) 2>conftest.er1
8072 <  ac_status=$?
8073 <  grep -v '^ *+' conftest.er1 >conftest.err
8074 <  rm -f conftest.er1
8075 <  cat conftest.err >&5
8076 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 <  (exit $ac_status); } &&
8078 <         { ac_try='test -z "$ac_c_werror_flag"
8079 <                         || test ! -s conftest.err'
8080 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 <  (eval $ac_try) 2>&5
8082 <  ac_status=$?
8083 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 <  (exit $ac_status); }; } &&
8085 <         { ac_try='test -s conftest$ac_exeext'
8086 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8087 <  (eval $ac_try) 2>&5
8088 <  ac_status=$?
8089 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 <  (exit $ac_status); }; }; then
8091 <  ac_cv_lib_mpi_MPI_Init=yes
8092 < else
8093 <  echo "$as_me: failed program was:" >&5
8094 < sed 's/^/| /' conftest.$ac_ext >&5
8095 <
8096 < ac_cv_lib_mpi_MPI_Init=no
8097 < fi
8098 < rm -f conftest.err conftest.$ac_objext \
8099 <      conftest$ac_exeext conftest.$ac_ext
8100 < LIBS=$ac_check_lib_save_LIBS
8101 < fi
8102 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8103 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8104 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8105 <  MPI_LIB="-lmpi -llam -lpthread"
8106 < else
8107 <
8108 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
8109 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
8110 <   { (exit 1); exit 1; }; }
8111 <             USE_MPI="no"
8112 <
8113 < fi
8114 <
8115 < fi
8116 <
8117 <
8118 <
8119 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
8120 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
8121 < MPI_F90_LIB=""
8122 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
8123 <        MPI_F90_LIB="-lfmpich"
8124 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
8125 <        MPI_F90_LIB="-llamf77mpi"
8126 < else
8127 <                        MPI_F90_LIB="  "
8128 < fi
8129 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
8130 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
8131 <
8132 <
8133 < fi
8134 <
8135 <
8136 <
8137 <
8138 < USE_CGAL=no
8139 < cgal_makefile=auto
8140 <
8141 < # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
8142 < if test "${with_cgal_makefile+set}" = set; then
8143 <  withval="$with_cgal_makefile"
8144 <  cgal_makefile="$withval"
8145 < fi;
8146 <
8147 < if test "x$cgal_makefile" != xno; then
8148 <
8149 <  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
8150 <    cgal_makefile="$CGAL_MAKEFILE"
8151 <  fi
8152 <
8153 <  echo "cgal_makefile      $cgal_makefile"
8154 <
8155 <  if test -f "$cgal_makefile"; then
8156 <
8157 <    cat >config.tmp.Makefile <<EOF
8158 < include $cgal_makefile
8159 < default:
8160 <        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
8161 <        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
8162 <        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
8163 <        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
8164 <        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
8165 <        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
8166 <        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
8167 <        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
8168 <        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
8169 <        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
8170 <        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
8171 <        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
8172 < EOF
8173 <
8174 <    make -s -f config.tmp.Makefile
8175 <    . config.tmp.cgalvariables
8176 <
8177 <    rm -f config.tmp.Makefile config.tmp.cgalvariables
8178 <
8179 <    if test "x$CGAL_INCLDIR" = "x"; then
8180 <      CGAL_INCLDIR=""
8181 <    fi
8182 <
8183 <    if test "x$CGAL_LIBDIR" = "x"; then
8184 <      CGAL_LIBDIR=""
8185 <    fi
8186 <
8187 <    if test "x$CGAL_RLIBDIR" = "x"; then
8188 <      CGAL_RLIBDIR=""
8189 <    fi
8190 <
8191 <    if test "x$LEDA_INCLDIR" = "x"; then
8192 <      LEDA_INCLDIR=""
8193 <    fi
8194 <
8195 <    if test "x$LEDA_LIBDIR" = "x"; then
8196 <      LEDA_LIBDIR=""
8197 <    fi
8198 <
8199 <    if test "x$LEDA_RLIBDIR" = "x"; then
8200 <      LEDA_RLIBDIR=""
8201 <    fi
8202 <
8203 <    if test "x$GMP_INCLDIR" = "x"; then
8204 <      GMP_INCLDIR=""
8205 <    fi
8206 <
8207 <    if test "x$GMP_LIBDIR" = "x"; then
8208 <      GMP_LIBDIR=""
8209 <    fi
8210 <
8211 <    if test "x$GMP_RLIBDIR" = "x"; then
8212 <      GMP_RLIBDIR=""
8213 <    fi
8214 <
8215 <    echo "CGAL_OS_COMPILER   $CGAL_OS_COMPILER"
8216 <    echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8217 <    echo "CGAL_INCLCONFDIR   $CGAL_INCLCONFDIR"
8218 <    echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8219 <    echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8220 <    echo "LEDA_INCLDIR       $LEDA_INCLDIR"
8221 <    echo "LEDA_LIBDIR        $LEDA_LIBDIR"
8222 <    echo "GMP_INCLDIR        $GMP_INCLDIR"
8223 <    echo "GMP_LIBDIR         $GMP_LIBDIR"
8224 <
8225 <    ac_ext=cc
8226 < ac_cpp='$CXXCPP $CPPFLAGS'
8227 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8228 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8229 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8230 <
8231 <    save_CXXFLAGS="$CXXFLAGS"
8232 <    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8233 <
8234 < ac_ext=cc
8235 < ac_cpp='$CXXCPP $CPPFLAGS'
8236 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8237 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8238 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8239 < echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8240 < echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8241 < if test -z "$CXXCPP"; then
8242 <  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8243 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8244 < else
8245 <      # Double quotes because CXXCPP needs to be expanded
8246 <    for CXXCPP in "$CXX -E" "/lib/cpp"
8247 <    do
8248 <      ac_preproc_ok=false
8249 < for ac_cxx_preproc_warn_flag in '' yes
8250 < do
8251 <  # Use a header file that comes with gcc, so configuring glibc
8252 <  # with a fresh cross-compiler works.
8253 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8254 <  # <limits.h> exists even on freestanding compilers.
8255 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8256 <  # not just through cpp. "Syntax error" is here to catch this case.
8257 <  cat >conftest.$ac_ext <<_ACEOF
8258 < /* confdefs.h.  */
8259 < _ACEOF
8260 < cat confdefs.h >>conftest.$ac_ext
8261 < cat >>conftest.$ac_ext <<_ACEOF
8262 < /* end confdefs.h.  */
8263 < #ifdef __STDC__
8264 < # include <limits.h>
8265 < #else
8266 < # include <assert.h>
8267 < #endif
8268 <                     Syntax error
8269 < _ACEOF
8270 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8271 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8272 <  ac_status=$?
8273 <  grep -v '^ *+' conftest.er1 >conftest.err
8274 <  rm -f conftest.er1
8275 <  cat conftest.err >&5
8276 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 <  (exit $ac_status); } >/dev/null; then
8278 <  if test -s conftest.err; then
8279 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8280 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8281 <  else
8282 <    ac_cpp_err=
8283 <  fi
8284 < else
8285 <  ac_cpp_err=yes
8286 < fi
8287 < if test -z "$ac_cpp_err"; then
8288 <  :
8289 < else
8290 <  echo "$as_me: failed program was:" >&5
8291 < sed 's/^/| /' conftest.$ac_ext >&5
8292 <
8293 <  # Broken: fails on valid input.
8294 < continue
8295 < fi
8296 < rm -f conftest.err conftest.$ac_ext
8297 <
8298 <  # OK, works on sane cases.  Now check whether non-existent headers
8299 <  # can be detected and how.
8300 <  cat >conftest.$ac_ext <<_ACEOF
8301 < /* confdefs.h.  */
8302 < _ACEOF
8303 < cat confdefs.h >>conftest.$ac_ext
8304 < cat >>conftest.$ac_ext <<_ACEOF
8305 < /* end confdefs.h.  */
8306 < #include <ac_nonexistent.h>
8307 < _ACEOF
8308 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8309 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8310 <  ac_status=$?
8311 <  grep -v '^ *+' conftest.er1 >conftest.err
8312 <  rm -f conftest.er1
8313 <  cat conftest.err >&5
8314 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 <  (exit $ac_status); } >/dev/null; then
8316 <  if test -s conftest.err; then
8317 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8318 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8319 <  else
8320 <    ac_cpp_err=
8321 <  fi
8322 < else
8323 <  ac_cpp_err=yes
8324 < fi
8325 < if test -z "$ac_cpp_err"; then
8326 <  # Broken: success on invalid input.
8327 < continue
8328 < else
8329 <  echo "$as_me: failed program was:" >&5
8330 < sed 's/^/| /' conftest.$ac_ext >&5
8331 <
8332 <  # Passes both tests.
8333 < ac_preproc_ok=:
8334 < break
8335 < fi
8336 < rm -f conftest.err conftest.$ac_ext
8337 <
8338 < done
8339 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8340 < rm -f conftest.err conftest.$ac_ext
8341 < if $ac_preproc_ok; then
8342 <  break
8343 < fi
8344 <
8345 <    done
8346 <    ac_cv_prog_CXXCPP=$CXXCPP
8347 <
8348 < fi
8349 <  CXXCPP=$ac_cv_prog_CXXCPP
8350 < else
8351 <  ac_cv_prog_CXXCPP=$CXXCPP
8352 < fi
8353 < echo "$as_me:$LINENO: result: $CXXCPP" >&5
8354 < echo "${ECHO_T}$CXXCPP" >&6
8355 < ac_preproc_ok=false
8356 < for ac_cxx_preproc_warn_flag in '' yes
8357 < do
8358 <  # Use a header file that comes with gcc, so configuring glibc
8359 <  # with a fresh cross-compiler works.
8360 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8361 <  # <limits.h> exists even on freestanding compilers.
8362 <  # On the NeXT, cc -E runs the code through the compiler's parser,
8363 <  # not just through cpp. "Syntax error" is here to catch this case.
8364 <  cat >conftest.$ac_ext <<_ACEOF
8365 < /* confdefs.h.  */
8366 < _ACEOF
8367 < cat confdefs.h >>conftest.$ac_ext
8368 < cat >>conftest.$ac_ext <<_ACEOF
8369 < /* end confdefs.h.  */
8370 < #ifdef __STDC__
8371 < # include <limits.h>
8372 < #else
8373 < # include <assert.h>
8374 < #endif
8375 <                     Syntax error
8376 < _ACEOF
8377 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8378 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8379 <  ac_status=$?
8380 <  grep -v '^ *+' conftest.er1 >conftest.err
8381 <  rm -f conftest.er1
8382 <  cat conftest.err >&5
8383 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 <  (exit $ac_status); } >/dev/null; then
8385 <  if test -s conftest.err; then
8386 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8387 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8388 <  else
8389 <    ac_cpp_err=
8390 <  fi
8391 < else
8392 <  ac_cpp_err=yes
8393 < fi
8394 < if test -z "$ac_cpp_err"; then
8395 <  :
8396 < else
8397 <  echo "$as_me: failed program was:" >&5
8398 < sed 's/^/| /' conftest.$ac_ext >&5
8399 <
8400 <  # Broken: fails on valid input.
8401 < continue
8402 < fi
8403 < rm -f conftest.err conftest.$ac_ext
8404 <
8405 <  # OK, works on sane cases.  Now check whether non-existent headers
8406 <  # can be detected and how.
8407 <  cat >conftest.$ac_ext <<_ACEOF
8408 < /* confdefs.h.  */
8409 < _ACEOF
8410 < cat confdefs.h >>conftest.$ac_ext
8411 < cat >>conftest.$ac_ext <<_ACEOF
8412 < /* end confdefs.h.  */
8413 < #include <ac_nonexistent.h>
8414 < _ACEOF
8415 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8416 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8417 <  ac_status=$?
8418 <  grep -v '^ *+' conftest.er1 >conftest.err
8419 <  rm -f conftest.er1
8420 <  cat conftest.err >&5
8421 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 <  (exit $ac_status); } >/dev/null; then
8423 <  if test -s conftest.err; then
8424 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8425 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8426 <  else
8427 <    ac_cpp_err=
8428 <  fi
8429 < else
8430 <  ac_cpp_err=yes
8431 < fi
8432 < if test -z "$ac_cpp_err"; then
8433 <  # Broken: success on invalid input.
8434 < continue
8435 < else
8436 <  echo "$as_me: failed program was:" >&5
8437 < sed 's/^/| /' conftest.$ac_ext >&5
8438 <
8439 <  # Passes both tests.
8440 < ac_preproc_ok=:
8441 < break
8442 < fi
8443 < rm -f conftest.err conftest.$ac_ext
8444 <
8445 < done
8446 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8447 < rm -f conftest.err conftest.$ac_ext
8448 < if $ac_preproc_ok; then
8449 <  :
8450 < else
8451 <  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8452 < See \`config.log' for more details." >&5
8453 < echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8454 < See \`config.log' for more details." >&2;}
8455 <   { (exit 1); exit 1; }; }
8456 < fi
8457 <
8458 < ac_ext=cc
8459 < ac_cpp='$CXXCPP $CPPFLAGS'
8460 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8461 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8462 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8463 <
8464 <
8465 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8466 <  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8467 < echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8468 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8469 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8470 < fi
8471 < echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8472 < echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8473 < else
8474 <  # Is the header compilable?
8475 < echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
8476 < echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
8477 < cat >conftest.$ac_ext <<_ACEOF
8478 < /* confdefs.h.  */
8479 < _ACEOF
8480 < cat confdefs.h >>conftest.$ac_ext
8481 < cat >>conftest.$ac_ext <<_ACEOF
8482 < /* end confdefs.h.  */
8483 < $ac_includes_default
8484 < #include <CGAL/Cartesian.h>
8485 < _ACEOF
8486 < rm -f conftest.$ac_objext
8487 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8488 <  (eval $ac_compile) 2>conftest.er1
8489 <  ac_status=$?
8490 <  grep -v '^ *+' conftest.er1 >conftest.err
8491 <  rm -f conftest.er1
8492 <  cat conftest.err >&5
8493 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 <  (exit $ac_status); } &&
8495 <         { ac_try='test -z "$ac_cxx_werror_flag"
8496 <                         || test ! -s conftest.err'
8497 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 <  (eval $ac_try) 2>&5
8499 <  ac_status=$?
8500 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 <  (exit $ac_status); }; } &&
8502 <         { ac_try='test -s conftest.$ac_objext'
8503 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 <  (eval $ac_try) 2>&5
8505 <  ac_status=$?
8506 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 <  (exit $ac_status); }; }; then
8508 <  ac_header_compiler=yes
8509 < else
8510 <  echo "$as_me: failed program was:" >&5
8511 < sed 's/^/| /' conftest.$ac_ext >&5
8512 <
8513 < ac_header_compiler=no
8514 < fi
8515 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8516 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8517 < echo "${ECHO_T}$ac_header_compiler" >&6
8518 <
8519 < # Is the header present?
8520 < echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
8521 < echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
8522 < cat >conftest.$ac_ext <<_ACEOF
8523 < /* confdefs.h.  */
8524 < _ACEOF
8525 < cat confdefs.h >>conftest.$ac_ext
8526 < cat >>conftest.$ac_ext <<_ACEOF
8527 < /* end confdefs.h.  */
8528 < #include <CGAL/Cartesian.h>
8529 < _ACEOF
8530 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8531 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8532 <  ac_status=$?
8533 <  grep -v '^ *+' conftest.er1 >conftest.err
8534 <  rm -f conftest.er1
8535 <  cat conftest.err >&5
8536 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 <  (exit $ac_status); } >/dev/null; then
8538 <  if test -s conftest.err; then
8539 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
8540 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8541 <  else
8542 <    ac_cpp_err=
8543 <  fi
8544 < else
8545 <  ac_cpp_err=yes
8546 < fi
8547 < if test -z "$ac_cpp_err"; then
8548 <  ac_header_preproc=yes
8549 < else
8550 <  echo "$as_me: failed program was:" >&5
8551 < sed 's/^/| /' conftest.$ac_ext >&5
8552 <
8553 <  ac_header_preproc=no
8554 < fi
8555 < rm -f conftest.err conftest.$ac_ext
8556 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8557 < echo "${ECHO_T}$ac_header_preproc" >&6
8558 <
8559 < # So?  What about this header?
8560 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8561 <  yes:no: )
8562 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
8563 < echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8564 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
8565 < echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
8566 <    ac_header_preproc=yes
8567 <    ;;
8568 <  no:yes:* )
8569 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
8570 < echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
8571 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
8572 < echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
8573 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
8574 < echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
8575 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
8576 < echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8577 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
8578 < echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
8579 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
8580 < echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
8581 <    (
8582 <      cat <<\_ASBOX
8583 < ## ------------------------------ ##
8584 < ## Report this to gezelter@nd.edu ##
8585 < ## ------------------------------ ##
8586 < _ASBOX
8587 <    ) |
8588 <      sed "s/^/$as_me: WARNING:     /" >&2
8589 <    ;;
8590 < esac
8591 < echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8592 < echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8593 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8594 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8595 < else
8596 <  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
8597 < fi
8598 < echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8599 < echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8600 <
8601 < fi
8602 < if test $ac_cv_header_CGAL_Cartesian_h = yes; then
8603 <  cgal=yes
8604 < else
8605 <  cgal=no
8606 < fi
8607 <
8608 <
8609 <    CXXFLAGS="$save_CXXFLAGS"
8610 <
8611 <    if test "x$cgal" = xyes; then
8612 <      echo "$as_me:$LINENO: checking for CGAL version" >&5
8613 < echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
8614 <      LOCATION=${CGAL_INCLDIR}
8615 <      LOCATION=${LOCATION:-/usr/include}
8616 <      if test -f $LOCATION/CGAL/version.h; then
8617 <        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
8618 <      else
8619 <        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
8620 <      fi
8621 <      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
8622 <        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
8623 < echo "${ECHO_T}($CGAL_VERSION) yes" >&6
8624 <      else
8625 <        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
8626 < echo "${ECHO_T}($CGAL_VERSION) no" >&6
8627 <        cgal=no
8628 <      fi
8629 <    fi
8630 <
8631 <    if test "x$cgal" = xyes; then
8632 <      CGAL_LIBS="-lCGAL"
8633 <      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
8634 < echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
8635 <      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
8636 <        CGAL_USES_LEDA=yes
8637 <        echo "$as_me:$LINENO: result: yes" >&5
8638 < echo "${ECHO_T}yes" >&6
8639 <        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
8640 <      else
8641 <        echo "$as_me:$LINENO: result: no" >&5
8642 < echo "${ECHO_T}no" >&6
8643 <        CGAL_USES_LEDA=no
8644 <      fi
8645 <
8646 <      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
8647 < echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
8648 <      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
8649 <        CGAL_USES_GMP=yes
8650 <        echo "$as_me:$LINENO: result: yes" >&5
8651 < echo "${ECHO_T}yes" >&6
8652 <        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
8653 <      else
8654 <        echo "$as_me:$LINENO: result: no" >&5
8655 < echo "${ECHO_T}no" >&6
8656 <        CGAL_USES_GMP=no
8657 <      fi
8658 <
8659 <      CGAL_LIBS="$CGAL_LIBS -lm"
8660 <
8661 <      CGAL_CXXFLAGS="-ftemplate-depth-50"
8662 <
8663 <      echo "CGAL_USES_LEDA     $CGAL_USES_LEDA"
8664 <      echo "CGAL_USES_GMP      $CGAL_USES_GMP"
8665 <      echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8666 <      echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8667 <      echo "CGAL_DEFINES       $CGAL_DEFINES"
8668 <      echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8669 <      echo "CGAL_LIBS          $CGAL_LIBS"
8670 <    fi
8671 <
8672 <    if test "x$cgal" = xyes; then
8673 <      save_LIBS="$LIBS"
8674 <      LIBS="$LIBS -L$CGAL_LIBDIR"
8675 <      if test "x$CGAL_USES_LEDA" = xyes; then
8676 <        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
8677 <      fi
8678 <      # if test "x$CGAL_USES_GMP" = xyes; then
8679 <      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
8680 <      # fi
8681 <      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
8682 < echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
8683 < save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
8684 < CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8685 < save_LIBS_CHECK_CXX_LIB="$LIBS"
8686 < LIBS="-lCGAL  $LIBS"
8687 < cat >conftest.$ac_ext <<_ACEOF
8688 < /* confdefs.h.  */
8689 < _ACEOF
8690 < cat confdefs.h >>conftest.$ac_ext
8691 < cat >>conftest.$ac_ext <<_ACEOF
8692 < /* end confdefs.h.  */
8693 < #include <CGAL/Cartesian.h>
8694 < int
8695 < main ()
8696 < {
8697 < ::CGAL::Cartesian<int>::Point_2 P
8698 <  ;
8699 <  return 0;
8700 < }
8701 < _ACEOF
8702 < rm -f conftest.$ac_objext conftest$ac_exeext
8703 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8704 <  (eval $ac_link) 2>conftest.er1
8705 <  ac_status=$?
8706 <  grep -v '^ *+' conftest.er1 >conftest.err
8707 <  rm -f conftest.er1
8708 <  cat conftest.err >&5
8709 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 <  (exit $ac_status); } &&
8711 <         { ac_try='test -z "$ac_cxx_werror_flag"
8712 <                         || test ! -s conftest.err'
8713 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 <  (eval $ac_try) 2>&5
8715 <  ac_status=$?
8716 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 <  (exit $ac_status); }; } &&
8718 <         { ac_try='test -s conftest$ac_exeext'
8719 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720 <  (eval $ac_try) 2>&5
8721 <  ac_status=$?
8722 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 <  (exit $ac_status); }; }; then
8724 <  echo "$as_me:$LINENO: result: yes" >&5
8725 < echo "${ECHO_T}yes" >&6
8726 < cgal=yes
8727 < else
8728 <  echo "$as_me: failed program was:" >&5
8729 < sed 's/^/| /' conftest.$ac_ext >&5
8730 <
8731 < echo "$as_me:$LINENO: result: no" >&5
8732 < echo "${ECHO_T}no" >&6
8733 < cgal=no
8734 < fi
8735 < rm -f conftest.err conftest.$ac_objext \
8736 <      conftest$ac_exeext conftest.$ac_ext
8737 < CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
8738 < LIBS="$save_LIBS_CHECK_CXX_LIB"
8739 <      LIBS="$save_LIBS"
8740 <    fi
8741 <
8742 <  fi
8743 <  ac_ext=c
8744 < ac_cpp='$CPP $CPPFLAGS'
8745 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8746 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8747 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8748 <
8749 <
8750 < fi
8751 <
8752 < if test "x$cgal" = xyes; then
8753 <  USE_CGAL=yes
8754 <
8755 < cat >>confdefs.h <<\_ACEOF
8756 < #define HAVE_CGAL 1
8757 < _ACEOF
8758 <
8759 <
8760 < cat >>confdefs.h <<_ACEOF
8761 < #define CGAL_VERSION $CGAL_VERSION
8762 < _ACEOF
8763 <
8764 <  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
8765 <    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8766 < echo "$as_me: WARNING: *****************************************************" >&2;}
8767 <    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
8768 < echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
8769 <    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
8770 < echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
8771 <    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8772 < echo "$as_me: WARNING: *****************************************************" >&2;}
8773 <  fi
8774 < else
8775 <   if test "x$cgal_makefile" != xno; then
8776 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8777 < echo "$as_me: WARNING: *********************************************************" >&2;}
8778 <    { echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found.                      ***" >&5
8779 < echo "$as_me: WARNING: *** Warning: CGAL was not found.                      ***" >&2;}
8780 <    { echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&5
8781 < echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&2;}
8782 <    { echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled.                    ***" >&5
8783 < echo "$as_me: WARNING: *** CGAL support will be disabled.                    ***" >&2;}
8784 <    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8785 < echo "$as_me: WARNING: *********************************************************" >&2;}
8786 <  fi
8787 <  CGAL_INCLDIR=
8788 <  CGAL_LIBDIR=
8789 <  CGAL_RLIBDIR=
8790 <  CGAL_DEFINES=
8791 <  CGAL_CXXFLAGS=
8792 <  CGAL_LIBS=
8793 < fi
8794 <
8795 <
8796 < CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
8797 <
8798 < CGAL_LIB_DIR=${CGAL_LIBDIR}
8799 <
8800 < CGAL_RLIB_DIR=${CGAL_RLIBDIR}
8801 <
8802 <
8803 <
8804 <
8805 <
8806 <
8807 <
8808 < # Check whether --enable-doxygen or --disable-doxygen was given.
8809 < if test "${enable_doxygen+set}" = set; then
8810 <  enableval="$enable_doxygen"
8811 <
8812 < fi;
8813 < # Check whether --enable-dot or --disable-dot was given.
8814 < if test "${enable_dot+set}" = set; then
8815 <  enableval="$enable_dot"
8816 <
8817 < fi;
8818 < # Check whether --enable-html-docs or --disable-html-docs was given.
8819 < if test "${enable_html_docs+set}" = set; then
8820 <  enableval="$enable_html_docs"
8821 <
8822 < else
8823 <   enable_html_docs=yes
8824 < fi;
8825 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
8826 < if test "${enable_latex_docs+set}" = set; then
8827 <  enableval="$enable_latex_docs"
8828 <
8829 < else
8830 <   enable_latex_docs=no
8831 < fi;
8832 < if test "x$enable_doxygen" = xno; then
8833 <        enable_doc=no
8834 < else
8835 <        # Extract the first word of "doxygen", so it can be a program name with args.
8836 < set dummy doxygen; ac_word=$2
8837 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8838 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8839 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
8840 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8841 < else
8842 <  case $DOXYGEN in
8843 <  [\\/]* | ?:[\\/]*)
8844 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8845 <  ;;
8846 <  *)
8847 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 < for as_dir in $PATH
8849 < do
8850 <  IFS=$as_save_IFS
8851 <  test -z "$as_dir" && as_dir=.
8852 <  for ac_exec_ext in '' $ac_executable_extensions; do
8853 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8854 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8855 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8856 <    break 2
8857 <  fi
8858 < done
8859 < done
8860 <
8861 <  ;;
8862 < esac
8863 < fi
8864 < DOXYGEN=$ac_cv_path_DOXYGEN
8865 <
8866 < if test -n "$DOXYGEN"; then
8867 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8868 < echo "${ECHO_T}$DOXYGEN" >&6
8869 < else
8870 <  echo "$as_me:$LINENO: result: no" >&5
8871 < echo "${ECHO_T}no" >&6
8872 < fi
8873 <
8874 <        if test "x$DOXYGEN" = x; then
8875 <                if test "x$enable_doxygen" = xyes; then
8876 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8877 < echo "$as_me: error: could not find doxygen" >&2;}
8878 <   { (exit 1); exit 1; }; }
8879 <                fi
8880 <                enable_doc=no
8881 <        else
8882 <                enable_doc=yes
8883 <                # Extract the first word of "dot", so it can be a program name with args.
8884 < set dummy dot; ac_word=$2
8885 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8886 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8887 < if test "${ac_cv_path_DOT+set}" = set; then
8888 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8889 < else
8890 <  case $DOT in
8891 <  [\\/]* | ?:[\\/]*)
8892 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8893 <  ;;
8894 <  *)
8895 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896 < for as_dir in $PATH
8897 < do
8898 <  IFS=$as_save_IFS
8899 <  test -z "$as_dir" && as_dir=.
8900 <  for ac_exec_ext in '' $ac_executable_extensions; do
8901 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8902 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8903 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 <    break 2
8905 <  fi
8906 < done
8907 < done
8908 <
8909 <  ;;
8910 < esac
8911 < fi
8912 < DOT=$ac_cv_path_DOT
8913 <
8914 < if test -n "$DOT"; then
8915 <  echo "$as_me:$LINENO: result: $DOT" >&5
8916 < echo "${ECHO_T}$DOT" >&6
8917 < else
8918 <  echo "$as_me:$LINENO: result: no" >&5
8919 < echo "${ECHO_T}no" >&6
8920 < fi
8921 <
8922 <        fi
8923 < fi
8924 <
8925 < if test "x$enable_doc" = xyes; then
8926 <  DOC=1
8927 < else
8928 <  DOC=0
8929 < fi
8930 <
8931 <
8932 < if test x$DOT = x; then
8933 <        if test "x$enable_dot" = xyes; then
8934 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8935 < echo "$as_me: error: could not find dot" >&2;}
8936 <   { (exit 1); exit 1; }; }
8937 <        fi
8938 <        enable_dot=no
8939 < else
8940 <        enable_dot=yes
8941 < fi
8942 <
8943 <
8944 <
8945 <
8946 <
8947 <
8948 <
8949 < OBJEXT=".$OBJEXT"
8950 <
8951 < OOPSE=oopse
8952 <
8953 < if test "x${prefix}" = "xNONE"
8954 < then
8955 <  OOPSE_HOME=${ac_default_prefix}/oopse
8956 < else
8957 <  OOPSE_HOME=${prefix}/oopse
8958 < fi
8959 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
8960 < if test "${enable_oopse_home+set}" = set; then
8961 <  enableval="$enable_oopse_home"
8962 <  OOPSE_HOME="${enableval}"
8963 < fi;
8964 <
8965 < case "x$INSTALL" in
8966 <   x/*) ;;
8967 <   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
8968 < esac
8969 <
8970 < MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
8971 <
8972 < CFLAGS=${CFLAGS-""}
8973 < CXXFLAGS=${CXXFLAGS-""}
8974 < CPPFLAGS=${CPPFLAGS-""}
8975 < FFLAGS=${FFLAGS-""}
8976 < F90FLAGS=${F90FLAGS-""}
8977 < LDFLAGS=${LDFLAGS-""}
8978 < DEBUG=${DEBUG-"-g"}
8979 <
8980 < case $debug in
8981 <  1)
8982 <     FFLAGS="$DEBUG $FFLAGS"
8983 <     F90FLAGS="$DEBUG $F90FLAGS"
8984 <     ;;
8985 <  *)
8986 <     ;;
8987 < esac
8988 <
8989 <
8990 <
8991 <
8992 <
8993 <
8994 <
8995 <
8996 <
8997 <
8998 <
8999 <
9000 <
9001 <
9002 <
9003 <
9004 <
9005 <
9006 <          ac_config_headers="$ac_config_headers src/config.h"
9007 <
9008 <                              ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile"
9009 <
9010 <
9011 < cat >confcache <<\_ACEOF
9012 < # This file is a shell script that caches the results of configure
9013 < # tests run on this system so they can be shared between configure
9014 < # scripts and configure runs, see configure's option --config-cache.
9015 < # It is not useful on other systems.  If it contains results you don't
9016 < # want to keep, you may remove or edit it.
9017 < #
9018 < # config.status only pays attention to the cache file if you give it
9019 < # the --recheck option to rerun configure.
9020 < #
9021 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
9022 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
9023 < # following values.
9024 <
9025 < _ACEOF
9026 <
9027 < # The following way of writing the cache mishandles newlines in values,
9028 < # but we know of no workaround that is simple, portable, and efficient.
9029 < # So, don't put newlines in cache variables' values.
9030 < # Ultrix sh set writes to stderr and can't be redirected directly,
9031 < # and sets the high bit in the cache file unless we assign to the vars.
9032 < {
9033 <  (set) 2>&1 |
9034 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9035 <    *ac_space=\ *)
9036 <      # `set' does not quote correctly, so add quotes (double-quote
9037 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
9038 <      sed -n \
9039 <        "s/'/'\\\\''/g;
9040 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9041 <      ;;
9042 <    *)
9043 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
9044 <      sed -n \
9045 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9046 <      ;;
9047 <    esac;
9048 < } |
9049 <  sed '
9050 <     t clear
9051 <     : clear
9052 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9053 <     t end
9054 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9055 <     : end' >>confcache
9056 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
9057 <  if test -w $cache_file; then
9058 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9059 <    cat confcache >$cache_file
9060 <  else
9061 <    echo "not updating unwritable cache $cache_file"
9062 <  fi
9063 < fi
9064 < rm -f confcache
9065 <
9066 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
9067 < # Let make expand exec_prefix.
9068 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9069 <
9070 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
9071 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9072 < # trailing colons and then remove the whole line if VPATH becomes empty
9073 < # (actually we leave an empty line to preserve line numbers).
9074 < if test "x$srcdir" = x.; then
9075 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
9076 < s/:*\$(srcdir):*/:/;
9077 < s/:*\${srcdir}:*/:/;
9078 < s/:*@srcdir@:*/:/;
9079 < s/^\([^=]*=[     ]*\):*/\1/;
9080 < s/:*$//;
9081 < s/^[^=]*=[       ]*$//;
9082 < }'
9083 < fi
9084 <
9085 < DEFS=-DHAVE_CONFIG_H
9086 <
9087 < ac_libobjs=
9088 < ac_ltlibobjs=
9089 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9090 <  # 1. Remove the extension, and $U if already installed.
9091 <  ac_i=`echo "$ac_i" |
9092 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9093 <  # 2. Add them.
9094 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9095 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9096 < done
9097 < LIBOBJS=$ac_libobjs
9098 <
9099 < LTLIBOBJS=$ac_ltlibobjs
9100 <
9101 <
9102 <
9103 < : ${CONFIG_STATUS=./config.status}
9104 < ac_clean_files_save=$ac_clean_files
9105 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9106 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9107 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
9108 < cat >$CONFIG_STATUS <<_ACEOF
9109 < #! $SHELL
9110 < # Generated by $as_me.
9111 < # Run this file to recreate the current configuration.
9112 < # Compiler output produced by configure, useful for debugging
9113 < # configure, is in config.log if it exists.
9114 <
9115 < debug=false
9116 < ac_cs_recheck=false
9117 < ac_cs_silent=false
9118 < SHELL=\${CONFIG_SHELL-$SHELL}
9119 < _ACEOF
9120 <
9121 < cat >>$CONFIG_STATUS <<\_ACEOF
9122 < ## --------------------- ##
9123 < ## M4sh Initialization.  ##
9124 < ## --------------------- ##
9125 <
9126 < # Be Bourne compatible
9127 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9128 <  emulate sh
9129 <  NULLCMD=:
9130 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9131 <  # is contrary to our usage.  Disable this feature.
9132 <  alias -g '${1+"$@"}'='"$@"'
9133 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9134 <  set -o posix
9135 < fi
9136 < DUALCASE=1; export DUALCASE # for MKS sh
9137 <
9138 < # Support unset when possible.
9139 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9140 <  as_unset=unset
9141 < else
9142 <  as_unset=false
9143 < fi
9144 <
9145 <
9146 < # Work around bugs in pre-3.0 UWIN ksh.
9147 < $as_unset ENV MAIL MAILPATH
9148 < PS1='$ '
9149 < PS2='> '
9150 < PS4='+ '
9151 <
9152 < # NLS nuisances.
9153 < for as_var in \
9154 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9155 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9156 <  LC_TELEPHONE LC_TIME
9157 < do
9158 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9159 <    eval $as_var=C; export $as_var
9160 <  else
9161 <    $as_unset $as_var
9162 <  fi
9163 < done
9164 <
9165 < # Required to use basename.
9166 < if expr a : '\(a\)' >/dev/null 2>&1; then
9167 <  as_expr=expr
9168 < else
9169 <  as_expr=false
9170 < fi
9171 <
9172 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9173 <  as_basename=basename
9174 < else
9175 <  as_basename=false
9176 < fi
9177 <
9178 <
9179 < # Name of the executable.
9180 < as_me=`$as_basename "$0" ||
9181 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9182 <         X"$0" : 'X\(//\)$' \| \
9183 <         X"$0" : 'X\(/\)$' \| \
9184 <         .     : '\(.\)' 2>/dev/null ||
9185 < echo X/"$0" |
9186 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9187 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
9188 <          /^X\/\(\/\).*/{ s//\1/; q; }
9189 <          s/.*/./; q'`
9190 <
9191 <
9192 < # PATH needs CR, and LINENO needs CR and PATH.
9193 < # Avoid depending upon Character Ranges.
9194 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9195 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9196 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9197 < as_cr_digits='0123456789'
9198 < as_cr_alnum=$as_cr_Letters$as_cr_digits
9199 <
9200 < # The user is always right.
9201 < if test "${PATH_SEPARATOR+set}" != set; then
9202 <  echo "#! /bin/sh" >conf$$.sh
9203 <  echo  "exit 0"   >>conf$$.sh
9204 <  chmod +x conf$$.sh
9205 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9206 <    PATH_SEPARATOR=';'
9207 <  else
9208 <    PATH_SEPARATOR=:
9209 <  fi
9210 <  rm -f conf$$.sh
9211 < fi
9212 <
9213 <
9214 <  as_lineno_1=$LINENO
9215 <  as_lineno_2=$LINENO
9216 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9217 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9218 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
9219 <  # Find who we are.  Look in the path if we contain no path at all
9220 <  # relative or not.
9221 <  case $0 in
9222 <    *[\\/]* ) as_myself=$0 ;;
9223 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224 < for as_dir in $PATH
9225 < do
9226 <  IFS=$as_save_IFS
9227 <  test -z "$as_dir" && as_dir=.
9228 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9229 < done
9230 <
9231 <       ;;
9232 <  esac
9233 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
9234 <  # in which case we are not to be found in the path.
9235 <  if test "x$as_myself" = x; then
9236 <    as_myself=$0
9237 <  fi
9238 <  if test ! -f "$as_myself"; then
9239 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9240 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9241 <   { (exit 1); exit 1; }; }
9242 <  fi
9243 <  case $CONFIG_SHELL in
9244 <  '')
9245 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9247 < do
9248 <  IFS=$as_save_IFS
9249 <  test -z "$as_dir" && as_dir=.
9250 <  for as_base in sh bash ksh sh5; do
9251 <         case $as_dir in
9252 <         /*)
9253 <           if ("$as_dir/$as_base" -c '
9254 <  as_lineno_1=$LINENO
9255 <  as_lineno_2=$LINENO
9256 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9257 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9258 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
9259 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9260 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9261 <             CONFIG_SHELL=$as_dir/$as_base
9262 <             export CONFIG_SHELL
9263 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9264 <           fi;;
9265 <         esac
9266 <       done
9267 < done
9268 < ;;
9269 <  esac
9270 <
9271 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9272 <  # uniformly replaced by the line number.  The first 'sed' inserts a
9273 <  # line-number line before each line; the second 'sed' does the real
9274 <  # work.  The second script uses 'N' to pair each line-number line
9275 <  # with the numbered line, and appends trailing '-' during
9276 <  # substitution so that $LINENO is not a special case at line end.
9277 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9278 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
9279 <  sed '=' <$as_myself |
9280 <    sed '
9281 <      N
9282 <      s,$,-,
9283 <      : loop
9284 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9285 <      t loop
9286 <      s,-$,,
9287 <      s,^['$as_cr_digits']*\n,,
9288 <    ' >$as_me.lineno &&
9289 <  chmod +x $as_me.lineno ||
9290 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9291 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9292 <   { (exit 1); exit 1; }; }
9293 <
9294 <  # Don't try to exec as it changes $[0], causing all sort of problems
9295 <  # (the dirname of $[0] is not the place where we might find the
9296 <  # original and so on.  Autoconf is especially sensible to this).
9297 <  . ./$as_me.lineno
9298 <  # Exit status is that of the last command.
9299 <  exit
9300 < }
9301 <
9302 <
9303 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9304 <  *c*,-n*) ECHO_N= ECHO_C='
9305 < ' ECHO_T='      ' ;;
9306 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9307 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
9308 < esac
9309 <
9310 < if expr a : '\(a\)' >/dev/null 2>&1; then
9311 <  as_expr=expr
9312 < else
9313 <  as_expr=false
9314 < fi
9315 <
9316 < rm -f conf$$ conf$$.exe conf$$.file
9317 < echo >conf$$.file
9318 < if ln -s conf$$.file conf$$ 2>/dev/null; then
9319 <  # We could just check for DJGPP; but this test a) works b) is more generic
9320 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9321 <  if test -f conf$$.exe; then
9322 <    # Don't use ln at all; we don't have any links
9323 <    as_ln_s='cp -p'
9324 <  else
9325 <    as_ln_s='ln -s'
9326 <  fi
9327 < elif ln conf$$.file conf$$ 2>/dev/null; then
9328 <  as_ln_s=ln
9329 < else
9330 <  as_ln_s='cp -p'
9331 < fi
9332 < rm -f conf$$ conf$$.exe conf$$.file
9333 <
9334 < if mkdir -p . 2>/dev/null; then
9335 <  as_mkdir_p=:
9336 < else
9337 <  test -d ./-p && rmdir ./-p
9338 <  as_mkdir_p=false
9339 < fi
9340 <
9341 < as_executable_p="test -f"
9342 <
9343 < # Sed expression to map a string onto a valid CPP name.
9344 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9345 <
9346 < # Sed expression to map a string onto a valid variable name.
9347 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9348 <
9349 <
9350 < # IFS
9351 < # We need space, tab and new line, in precisely that order.
9352 < as_nl='
9353 < '
9354 < IFS="   $as_nl"
9355 <
9356 < # CDPATH.
9357 < $as_unset CDPATH
9358 <
9359 < exec 6>&1
9360 <
9361 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
9362 < # report actual input values of CONFIG_FILES etc. instead of their
9363 < # values after options handling.  Logging --version etc. is OK.
9364 < exec 5>>config.log
9365 < {
9366 <  echo
9367 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9368 < ## Running $as_me. ##
9369 < _ASBOX
9370 < } >&5
9371 < cat >&5 <<_CSEOF
9372 <
9373 < This file was extended by OOPSE $as_me 2.0, which was
9374 < generated by GNU Autoconf 2.59.  Invocation command line was
9375 <
9376 <  CONFIG_FILES    = $CONFIG_FILES
9377 <  CONFIG_HEADERS  = $CONFIG_HEADERS
9378 <  CONFIG_LINKS    = $CONFIG_LINKS
9379 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
9380 <  $ $0 $@
9381 <
9382 < _CSEOF
9383 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9384 < echo >&5
9385 < _ACEOF
9386 <
9387 < # Files that config.status was made for.
9388 < if test -n "$ac_config_files"; then
9389 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9390 < fi
9391 <
9392 < if test -n "$ac_config_headers"; then
9393 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9394 < fi
9395 <
9396 < if test -n "$ac_config_links"; then
9397 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9398 < fi
9399 <
9400 < if test -n "$ac_config_commands"; then
9401 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9402 < fi
9403 <
9404 < cat >>$CONFIG_STATUS <<\_ACEOF
9405 <
9406 < ac_cs_usage="\
9407 < \`$as_me' instantiates files from templates according to the
9408 < current configuration.
9409 <
9410 < Usage: $0 [OPTIONS] [FILE]...
9411 <
9412 <  -h, --help       print this help, then exit
9413 <  -V, --version    print version number, then exit
9414 <  -q, --quiet      do not print progress messages
9415 <  -d, --debug      don't remove temporary files
9416 <      --recheck    update $as_me by reconfiguring in the same conditions
9417 <  --file=FILE[:TEMPLATE]
9418 <                   instantiate the configuration file FILE
9419 <  --header=FILE[:TEMPLATE]
9420 <                   instantiate the configuration header FILE
9421 <
9422 < Configuration files:
9423 < $config_files
9424 <
9425 < Configuration headers:
9426 < $config_headers
9427 <
9428 < Configuration links:
9429 < $config_links
9430 <
9431 < Report bugs to <bug-autoconf@gnu.org>."
9432 < _ACEOF
9433 <
9434 < cat >>$CONFIG_STATUS <<_ACEOF
9435 < ac_cs_version="\\
9436 < OOPSE config.status 2.0
9437 < configured by $0, generated by GNU Autoconf 2.59,
9438 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9439 <
9440 < Copyright (C) 2003 Free Software Foundation, Inc.
9441 < This config.status script is free software; the Free Software Foundation
9442 < gives unlimited permission to copy, distribute and modify it."
9443 < srcdir=$srcdir
9444 < INSTALL="$INSTALL"
9445 < _ACEOF
9446 <
9447 < cat >>$CONFIG_STATUS <<\_ACEOF
9448 < # If no file are specified by the user, then we need to provide default
9449 < # value.  By we need to know if files were specified by the user.
9450 < ac_need_defaults=:
9451 < while test $# != 0
9452 < do
9453 <  case $1 in
9454 <  --*=*)
9455 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
9456 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9457 <    ac_shift=:
9458 <    ;;
9459 <  -*)
9460 <    ac_option=$1
9461 <    ac_optarg=$2
9462 <    ac_shift=shift
9463 <    ;;
9464 <  *) # This is not an option, so the user has probably given explicit
9465 <     # arguments.
9466 <     ac_option=$1
9467 <     ac_need_defaults=false;;
9468 <  esac
9469 <
9470 <  case $ac_option in
9471 <  # Handling of the options.
9472 < _ACEOF
9473 < cat >>$CONFIG_STATUS <<\_ACEOF
9474 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9475 <    ac_cs_recheck=: ;;
9476 <  --version | --vers* | -V )
9477 <    echo "$ac_cs_version"; exit 0 ;;
9478 <  --he | --h)
9479 <    # Conflict between --help and --header
9480 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
9481 < Try \`$0 --help' for more information." >&5
9482 < echo "$as_me: error: ambiguous option: $1
9483 < Try \`$0 --help' for more information." >&2;}
9484 <   { (exit 1); exit 1; }; };;
9485 <  --help | --hel | -h )
9486 <    echo "$ac_cs_usage"; exit 0 ;;
9487 <  --debug | --d* | -d )
9488 <    debug=: ;;
9489 <  --file | --fil | --fi | --f )
9490 <    $ac_shift
9491 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9492 <    ac_need_defaults=false;;
9493 <  --header | --heade | --head | --hea )
9494 <    $ac_shift
9495 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9496 <    ac_need_defaults=false;;
9497 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9498 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9499 <    ac_cs_silent=: ;;
9500 <
9501 <  # This is an error.
9502 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9503 < Try \`$0 --help' for more information." >&5
9504 < echo "$as_me: error: unrecognized option: $1
9505 < Try \`$0 --help' for more information." >&2;}
9506 <   { (exit 1); exit 1; }; } ;;
9507 <
9508 <  *) ac_config_targets="$ac_config_targets $1" ;;
9509 <
9510 <  esac
9511 <  shift
9512 < done
9513 <
9514 < ac_configure_extra_args=
9515 <
9516 < if $ac_cs_silent; then
9517 <  exec 6>/dev/null
9518 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
9519 < fi
9520 <
9521 < _ACEOF
9522 < cat >>$CONFIG_STATUS <<_ACEOF
9523 < if \$ac_cs_recheck; then
9524 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9525 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9526 < fi
9527 <
9528 < _ACEOF
9529 <
9530 <
9531 <
9532 <
9533 <
9534 < cat >>$CONFIG_STATUS <<\_ACEOF
9535 < for ac_config_target in $ac_config_targets
9536 < do
9537 <  case "$ac_config_target" in
9538 <  # Handling of arguments.
9539 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9540 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9541 <  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9542 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9543 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9544 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9545 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9546 <   { (exit 1); exit 1; }; };;
9547 <  esac
9548 < done
9549 <
9550 < # If the user did not use the arguments to specify the items to instantiate,
9551 < # then the envvar interface is used.  Set only those that are not.
9552 < # We use the long form for the default assignment because of an extremely
9553 < # bizarre bug on SunOS 4.1.3.
9554 < if $ac_need_defaults; then
9555 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9556 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9557 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
9558 < fi
9559 <
9560 < # Have a temporary directory for convenience.  Make it in the build tree
9561 < # simply because there is no reason to put it here, and in addition,
9562 < # creating and moving files from /tmp can sometimes cause problems.
9563 < # Create a temporary directory, and hook for its removal unless debugging.
9564 < $debug ||
9565 < {
9566 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9567 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
9568 < }
9569 <
9570 < # Create a (secure) tmp directory for tmp files.
9571 <
9572 < {
9573 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9574 <  test -n "$tmp" && test -d "$tmp"
9575 < }  ||
9576 < {
9577 <  tmp=./confstat$$-$RANDOM
9578 <  (umask 077 && mkdir $tmp)
9579 < } ||
9580 < {
9581 <   echo "$me: cannot create a temporary directory in ." >&2
9582 <   { (exit 1); exit 1; }
9583 < }
9584 <
9585 < _ACEOF
9586 <
9587 < cat >>$CONFIG_STATUS <<_ACEOF
9588 <
9589 < #
9590 < # CONFIG_FILES section.
9591 < #
9592 <
9593 < # No need to generate the scripts if there are no CONFIG_FILES.
9594 < # This happens for instance when ./config.status config.h
9595 < if test -n "\$CONFIG_FILES"; then
9596 <  # Protect against being on the right side of a sed subst in config.status.
9597 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9598 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9599 < s,@SHELL@,$SHELL,;t t
9600 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9601 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9602 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9603 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9604 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9605 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9606 < s,@exec_prefix@,$exec_prefix,;t t
9607 < s,@prefix@,$prefix,;t t
9608 < s,@program_transform_name@,$program_transform_name,;t t
9609 < s,@bindir@,$bindir,;t t
9610 < s,@sbindir@,$sbindir,;t t
9611 < s,@libexecdir@,$libexecdir,;t t
9612 < s,@datadir@,$datadir,;t t
9613 < s,@sysconfdir@,$sysconfdir,;t t
9614 < s,@sharedstatedir@,$sharedstatedir,;t t
9615 < s,@localstatedir@,$localstatedir,;t t
9616 < s,@libdir@,$libdir,;t t
9617 < s,@includedir@,$includedir,;t t
9618 < s,@oldincludedir@,$oldincludedir,;t t
9619 < s,@infodir@,$infodir,;t t
9620 < s,@mandir@,$mandir,;t t
9621 < s,@build_alias@,$build_alias,;t t
9622 < s,@host_alias@,$host_alias,;t t
9623 < s,@target_alias@,$target_alias,;t t
9624 < s,@DEFS@,$DEFS,;t t
9625 < s,@ECHO_C@,$ECHO_C,;t t
9626 < s,@ECHO_N@,$ECHO_N,;t t
9627 < s,@ECHO_T@,$ECHO_T,;t t
9628 < s,@LIBS@,$LIBS,;t t
9629 < s,@PROGNAME@,$PROGNAME,;t t
9630 < s,@debug@,$debug,;t t
9631 < s,@build@,$build,;t t
9632 < s,@build_cpu@,$build_cpu,;t t
9633 < s,@build_vendor@,$build_vendor,;t t
9634 < s,@build_os@,$build_os,;t t
9635 < s,@host@,$host,;t t
9636 < s,@host_cpu@,$host_cpu,;t t
9637 < s,@host_vendor@,$host_vendor,;t t
9638 < s,@host_os@,$host_os,;t t
9639 < s,@CC@,$CC,;t t
9640 < s,@CFLAGS@,$CFLAGS,;t t
9641 < s,@LDFLAGS@,$LDFLAGS,;t t
9642 < s,@CPPFLAGS@,$CPPFLAGS,;t t
9643 < s,@ac_ct_CC@,$ac_ct_CC,;t t
9644 < s,@EXEEXT@,$EXEEXT,;t t
9645 < s,@OBJEXT@,$OBJEXT,;t t
9646 < s,@CXX@,$CXX,;t t
9647 < s,@CXXFLAGS@,$CXXFLAGS,;t t
9648 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9649 < s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
9650 < s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
9651 < s,@F90@,$F90,;t t
9652 < s,@F90FLAGS@,$F90FLAGS,;t t
9653 < s,@ac_ct_F90@,$ac_ct_F90,;t t
9654 < s,@PREPFLAG@,$PREPFLAG,;t t
9655 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
9656 < s,@F90LIBS@,$F90LIBS,;t t
9657 < s,@F90_FUNC@,$F90_FUNC,;t t
9658 < s,@F90_FUNC_@,$F90_FUNC_,;t t
9659 < s,@MOD@,$MOD,;t t
9660 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
9661 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
9662 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9663 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9664 < s,@CPP@,$CPP,;t t
9665 < s,@EGREP@,$EGREP,;t t
9666 < s,@LIBOBJS@,$LIBOBJS,;t t
9667 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9668 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9669 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9670 < s,@LN_S@,$LN_S,;t t
9671 < s,@SET_MAKE@,$SET_MAKE,;t t
9672 < s,@RANLIB@,$RANLIB,;t t
9673 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9674 < s,@YACC@,$YACC,;t t
9675 < s,@LEX@,$LEX,;t t
9676 < s,@LEXLIB@,$LEXLIB,;t t
9677 < s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9678 < s,@AR@,$AR,;t t
9679 < s,@PS@,$PS,;t t
9680 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9681 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9682 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
9683 < s,@MPI_LIB@,$MPI_LIB,;t t
9684 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9685 < s,@USE_MPI@,$USE_MPI,;t t
9686 < s,@CXXCPP@,$CXXCPP,;t t
9687 < s,@USE_CGAL@,$USE_CGAL,;t t
9688 < s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
9689 < s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
9690 < s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
9691 < s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
9692 < s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
9693 < s,@CGAL_LIBS@,$CGAL_LIBS,;t t
9694 < s,@DOXYGEN@,$DOXYGEN,;t t
9695 < s,@DOT@,$DOT,;t t
9696 < s,@DOC@,$DOC,;t t
9697 < s,@enable_dot@,$enable_dot,;t t
9698 < s,@enable_html_docs@,$enable_html_docs,;t t
9699 < s,@enable_latex_docs@,$enable_latex_docs,;t t
9700 < s,@BATEXT@,$BATEXT,;t t
9701 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9702 < s,@OOPSE@,$OOPSE,;t t
9703 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9704 < s,@SUBDIRS@,$SUBDIRS,;t t
9705 < s,@FFLAGS@,$FFLAGS,;t t
9706 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9707 < CEOF
9708 <
9709 < _ACEOF
9710 <
9711 <  cat >>$CONFIG_STATUS <<\_ACEOF
9712 <  # Split the substitutions into bite-sized pieces for seds with
9713 <  # small command number limits, like on Digital OSF/1 and HP-UX.
9714 <  ac_max_sed_lines=48
9715 <  ac_sed_frag=1 # Number of current file.
9716 <  ac_beg=1 # First line for current file.
9717 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
9718 <  ac_more_lines=:
9719 <  ac_sed_cmds=
9720 <  while $ac_more_lines; do
9721 <    if test $ac_beg -gt 1; then
9722 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9723 <    else
9724 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9725 <    fi
9726 <    if test ! -s $tmp/subs.frag; then
9727 <      ac_more_lines=false
9728 <    else
9729 <      # The purpose of the label and of the branching condition is to
9730 <      # speed up the sed processing (if there are no `@' at all, there
9731 <      # is no need to browse any of the substitutions).
9732 <      # These are the two extra sed commands mentioned above.
9733 <      (echo ':t
9734 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9735 <      if test -z "$ac_sed_cmds"; then
9736 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9737 <      else
9738 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9739 <      fi
9740 <      ac_sed_frag=`expr $ac_sed_frag + 1`
9741 <      ac_beg=$ac_end
9742 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
9743 <    fi
9744 <  done
9745 <  if test -z "$ac_sed_cmds"; then
9746 <    ac_sed_cmds=cat
9747 <  fi
9748 < fi # test -n "$CONFIG_FILES"
9749 <
9750 < _ACEOF
9751 < cat >>$CONFIG_STATUS <<\_ACEOF
9752 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9753 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9754 <  case $ac_file in
9755 <  - | *:- | *:-:* ) # input from stdin
9756 <        cat >$tmp/stdin
9757 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9758 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9759 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9760 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9761 <  * )   ac_file_in=$ac_file.in ;;
9762 <  esac
9763 <
9764 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9765 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9766 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9767 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9768 <         X"$ac_file" : 'X\(//\)$' \| \
9769 <         X"$ac_file" : 'X\(/\)' \| \
9770 <         .     : '\(.\)' 2>/dev/null ||
9771 < echo X"$ac_file" |
9772 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9773 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9774 <          /^X\(\/\/\)$/{ s//\1/; q; }
9775 <          /^X\(\/\).*/{ s//\1/; q; }
9776 <          s/.*/./; q'`
9777 <  { if $as_mkdir_p; then
9778 <    mkdir -p "$ac_dir"
9779 <  else
9780 <    as_dir="$ac_dir"
9781 <    as_dirs=
9782 <    while test ! -d "$as_dir"; do
9783 <      as_dirs="$as_dir $as_dirs"
9784 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9785 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9786 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9787 <         X"$as_dir" : 'X\(//\)$' \| \
9788 <         X"$as_dir" : 'X\(/\)' \| \
9789 <         .     : '\(.\)' 2>/dev/null ||
9790 < echo X"$as_dir" |
9791 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9792 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9793 <          /^X\(\/\/\)$/{ s//\1/; q; }
9794 <          /^X\(\/\).*/{ s//\1/; q; }
9795 <          s/.*/./; q'`
9796 <    done
9797 <    test ! -n "$as_dirs" || mkdir $as_dirs
9798 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9799 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9800 <   { (exit 1); exit 1; }; }; }
9801 <
9802 <  ac_builddir=.
9803 <
9804 < if test "$ac_dir" != .; then
9805 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9806 <  # A "../" for each directory in $ac_dir_suffix.
9807 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9808 < else
9809 <  ac_dir_suffix= ac_top_builddir=
9810 < fi
9811 <
9812 < case $srcdir in
9813 <  .)  # No --srcdir option.  We are building in place.
9814 <    ac_srcdir=.
9815 <    if test -z "$ac_top_builddir"; then
9816 <       ac_top_srcdir=.
9817 <    else
9818 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9819 <    fi ;;
9820 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9821 <    ac_srcdir=$srcdir$ac_dir_suffix;
9822 <    ac_top_srcdir=$srcdir ;;
9823 <  *) # Relative path.
9824 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9825 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9826 < esac
9827 <
9828 < # Do not use `cd foo && pwd` to compute absolute paths, because
9829 < # the directories may not exist.
9830 < case `pwd` in
9831 < .) ac_abs_builddir="$ac_dir";;
9832 < *)
9833 <  case "$ac_dir" in
9834 <  .) ac_abs_builddir=`pwd`;;
9835 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9836 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9837 <  esac;;
9838 < esac
9839 < case $ac_abs_builddir in
9840 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
9841 < *)
9842 <  case ${ac_top_builddir}. in
9843 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
9844 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9845 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9846 <  esac;;
9847 < esac
9848 < case $ac_abs_builddir in
9849 < .) ac_abs_srcdir=$ac_srcdir;;
9850 < *)
9851 <  case $ac_srcdir in
9852 <  .) ac_abs_srcdir=$ac_abs_builddir;;
9853 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9854 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9855 <  esac;;
9856 < esac
9857 < case $ac_abs_builddir in
9858 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
9859 < *)
9860 <  case $ac_top_srcdir in
9861 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9862 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9863 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9864 <  esac;;
9865 < esac
9866 <
9867 <
9868 <  case $INSTALL in
9869 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9870 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9871 <  esac
9872 <
9873 <  if test x"$ac_file" != x-; then
9874 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
9875 < echo "$as_me: creating $ac_file" >&6;}
9876 <    rm -f "$ac_file"
9877 <  fi
9878 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
9879 <  # use $as_me), people would be surprised to read:
9880 <  #    /* config.h.  Generated by config.status.  */
9881 <  if test x"$ac_file" = x-; then
9882 <    configure_input=
9883 <  else
9884 <    configure_input="$ac_file.  "
9885 <  fi
9886 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9887 <                                     sed 's,.*/,,'` by configure."
9888 <
9889 <  # First look for the input files in the build tree, otherwise in the
9890 <  # src tree.
9891 <  ac_file_inputs=`IFS=:
9892 <    for f in $ac_file_in; do
9893 <      case $f in
9894 <      -) echo $tmp/stdin ;;
9895 <      [\\/$]*)
9896 <         # Absolute (can't be DOS-style, as IFS=:)
9897 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9898 < echo "$as_me: error: cannot find input file: $f" >&2;}
9899 <   { (exit 1); exit 1; }; }
9900 <         echo "$f";;
9901 <      *) # Relative
9902 <         if test -f "$f"; then
9903 <           # Build tree
9904 <           echo "$f"
9905 <         elif test -f "$srcdir/$f"; then
9906 <           # Source tree
9907 <           echo "$srcdir/$f"
9908 <         else
9909 <           # /dev/null tree
9910 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9911 < echo "$as_me: error: cannot find input file: $f" >&2;}
9912 <   { (exit 1); exit 1; }; }
9913 <         fi;;
9914 <      esac
9915 <    done` || { (exit 1); exit 1; }
9916 < _ACEOF
9917 < cat >>$CONFIG_STATUS <<_ACEOF
9918 <  sed "$ac_vpsub
9919 < $extrasub
9920 < _ACEOF
9921 < cat >>$CONFIG_STATUS <<\_ACEOF
9922 < :t
9923 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9924 < s,@configure_input@,$configure_input,;t t
9925 < s,@srcdir@,$ac_srcdir,;t t
9926 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
9927 < s,@top_srcdir@,$ac_top_srcdir,;t t
9928 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9929 < s,@builddir@,$ac_builddir,;t t
9930 < s,@abs_builddir@,$ac_abs_builddir,;t t
9931 < s,@top_builddir@,$ac_top_builddir,;t t
9932 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9933 < s,@INSTALL@,$ac_INSTALL,;t t
9934 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9935 <  rm -f $tmp/stdin
9936 <  if test x"$ac_file" != x-; then
9937 <    mv $tmp/out $ac_file
9938 <  else
9939 <    cat $tmp/out
9940 <    rm -f $tmp/out
9941 <  fi
9942 <
5764 >                     Syntax error
5765 > _ACEOF
5766 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5767 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5768 >  ac_status=$?
5769 >  grep -v '^ *+' conftest.er1 >conftest.err
5770 >  rm -f conftest.er1
5771 >  cat conftest.err >&5
5772 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 >  (exit $ac_status); } >/dev/null; then
5774 >  if test -s conftest.err; then
5775 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5776 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5777 >  else
5778 >    ac_cpp_err=
5779 >  fi
5780 > else
5781 >  ac_cpp_err=yes
5782 > fi
5783 > if test -z "$ac_cpp_err"; then
5784 >  :
5785 > else
5786 >  echo "$as_me: failed program was:" >&5
5787 > sed 's/^/| /' conftest.$ac_ext >&5
5788 >
5789 >  # Broken: fails on valid input.
5790 > continue
5791 > fi
5792 > rm -f conftest.err conftest.$ac_ext
5793 >
5794 >  # OK, works on sane cases.  Now check whether non-existent headers
5795 >  # can be detected and how.
5796 >  cat >conftest.$ac_ext <<_ACEOF
5797 > /* confdefs.h.  */
5798 > _ACEOF
5799 > cat confdefs.h >>conftest.$ac_ext
5800 > cat >>conftest.$ac_ext <<_ACEOF
5801 > /* end confdefs.h.  */
5802 > #include <ac_nonexistent.h>
5803 > _ACEOF
5804 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5805 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5806 >  ac_status=$?
5807 >  grep -v '^ *+' conftest.er1 >conftest.err
5808 >  rm -f conftest.er1
5809 >  cat conftest.err >&5
5810 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 >  (exit $ac_status); } >/dev/null; then
5812 >  if test -s conftest.err; then
5813 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5814 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5815 >  else
5816 >    ac_cpp_err=
5817 >  fi
5818 > else
5819 >  ac_cpp_err=yes
5820 > fi
5821 > if test -z "$ac_cpp_err"; then
5822 >  # Broken: success on invalid input.
5823 > continue
5824 > else
5825 >  echo "$as_me: failed program was:" >&5
5826 > sed 's/^/| /' conftest.$ac_ext >&5
5827 >
5828 >  # Passes both tests.
5829 > ac_preproc_ok=:
5830 > break
5831 > fi
5832 > rm -f conftest.err conftest.$ac_ext
5833 >
5834 > done
5835 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5836 > rm -f conftest.err conftest.$ac_ext
5837 > if $ac_preproc_ok; then
5838 >  break
5839 > fi
5840 >
5841 >    done
5842 >    ac_cv_prog_CXXCPP=$CXXCPP
5843 >
5844 > fi
5845 >  CXXCPP=$ac_cv_prog_CXXCPP
5846 > else
5847 >  ac_cv_prog_CXXCPP=$CXXCPP
5848 > fi
5849 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5850 > echo "${ECHO_T}$CXXCPP" >&6
5851 > ac_preproc_ok=false
5852 > for ac_cxx_preproc_warn_flag in '' yes
5853 > do
5854 >  # Use a header file that comes with gcc, so configuring glibc
5855 >  # with a fresh cross-compiler works.
5856 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5857 >  # <limits.h> exists even on freestanding compilers.
5858 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5859 >  # not just through cpp. "Syntax error" is here to catch this case.
5860 >  cat >conftest.$ac_ext <<_ACEOF
5861 > /* confdefs.h.  */
5862 > _ACEOF
5863 > cat confdefs.h >>conftest.$ac_ext
5864 > cat >>conftest.$ac_ext <<_ACEOF
5865 > /* end confdefs.h.  */
5866 > #ifdef __STDC__
5867 > # include <limits.h>
5868 > #else
5869 > # include <assert.h>
5870 > #endif
5871 >                     Syntax error
5872 > _ACEOF
5873 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5874 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5875 >  ac_status=$?
5876 >  grep -v '^ *+' conftest.er1 >conftest.err
5877 >  rm -f conftest.er1
5878 >  cat conftest.err >&5
5879 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 >  (exit $ac_status); } >/dev/null; then
5881 >  if test -s conftest.err; then
5882 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5883 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5884 >  else
5885 >    ac_cpp_err=
5886 >  fi
5887 > else
5888 >  ac_cpp_err=yes
5889 > fi
5890 > if test -z "$ac_cpp_err"; then
5891 >  :
5892 > else
5893 >  echo "$as_me: failed program was:" >&5
5894 > sed 's/^/| /' conftest.$ac_ext >&5
5895 >
5896 >  # Broken: fails on valid input.
5897 > continue
5898 > fi
5899 > rm -f conftest.err conftest.$ac_ext
5900 >
5901 >  # OK, works on sane cases.  Now check whether non-existent headers
5902 >  # can be detected and how.
5903 >  cat >conftest.$ac_ext <<_ACEOF
5904 > /* confdefs.h.  */
5905 > _ACEOF
5906 > cat confdefs.h >>conftest.$ac_ext
5907 > cat >>conftest.$ac_ext <<_ACEOF
5908 > /* end confdefs.h.  */
5909 > #include <ac_nonexistent.h>
5910 > _ACEOF
5911 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5912 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5913 >  ac_status=$?
5914 >  grep -v '^ *+' conftest.er1 >conftest.err
5915 >  rm -f conftest.er1
5916 >  cat conftest.err >&5
5917 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 >  (exit $ac_status); } >/dev/null; then
5919 >  if test -s conftest.err; then
5920 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5921 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5922 >  else
5923 >    ac_cpp_err=
5924 >  fi
5925 > else
5926 >  ac_cpp_err=yes
5927 > fi
5928 > if test -z "$ac_cpp_err"; then
5929 >  # Broken: success on invalid input.
5930 > continue
5931 > else
5932 >  echo "$as_me: failed program was:" >&5
5933 > sed 's/^/| /' conftest.$ac_ext >&5
5934 >
5935 >  # Passes both tests.
5936 > ac_preproc_ok=:
5937 > break
5938 > fi
5939 > rm -f conftest.err conftest.$ac_ext
5940 >
5941 > done
5942 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5943 > rm -f conftest.err conftest.$ac_ext
5944 > if $ac_preproc_ok; then
5945 >  :
5946 > else
5947 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5948 > See \`config.log' for more details." >&5
5949 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5950 > See \`config.log' for more details." >&2;}
5951 >   { (exit 1); exit 1; }; }
5952 > fi
5953 >
5954 > ac_ext=cc
5955 > ac_cpp='$CXXCPP $CPPFLAGS'
5956 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5959 >
5960 >
5961 >
5962 >
5963 >
5964 >
5965 >
5966 > for ac_header in ctype.h iostream fstream sstream strstream
5967 > do
5968 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5969 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5970 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5971 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5972 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5973 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5974 > fi
5975 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5976 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5977 > else
5978 >  # Is the header compilable?
5979 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5980 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5981 > cat >conftest.$ac_ext <<_ACEOF
5982 > /* confdefs.h.  */
5983 > _ACEOF
5984 > cat confdefs.h >>conftest.$ac_ext
5985 > cat >>conftest.$ac_ext <<_ACEOF
5986 > /* end confdefs.h.  */
5987 > $ac_includes_default
5988 > #include <$ac_header>
5989 > _ACEOF
5990 > rm -f conftest.$ac_objext
5991 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5992 >  (eval $ac_compile) 2>conftest.er1
5993 >  ac_status=$?
5994 >  grep -v '^ *+' conftest.er1 >conftest.err
5995 >  rm -f conftest.er1
5996 >  cat conftest.err >&5
5997 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 >  (exit $ac_status); } &&
5999 >         { ac_try='test -z "$ac_cxx_werror_flag"
6000 >                         || test ! -s conftest.err'
6001 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 >  (eval $ac_try) 2>&5
6003 >  ac_status=$?
6004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 >  (exit $ac_status); }; } &&
6006 >         { ac_try='test -s conftest.$ac_objext'
6007 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 >  (eval $ac_try) 2>&5
6009 >  ac_status=$?
6010 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 >  (exit $ac_status); }; }; then
6012 >  ac_header_compiler=yes
6013 > else
6014 >  echo "$as_me: failed program was:" >&5
6015 > sed 's/^/| /' conftest.$ac_ext >&5
6016 >
6017 > ac_header_compiler=no
6018 > fi
6019 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6020 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6021 > echo "${ECHO_T}$ac_header_compiler" >&6
6022 >
6023 > # Is the header present?
6024 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6025 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6026 > cat >conftest.$ac_ext <<_ACEOF
6027 > /* confdefs.h.  */
6028 > _ACEOF
6029 > cat confdefs.h >>conftest.$ac_ext
6030 > cat >>conftest.$ac_ext <<_ACEOF
6031 > /* end confdefs.h.  */
6032 > #include <$ac_header>
6033 > _ACEOF
6034 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6035 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6036 >  ac_status=$?
6037 >  grep -v '^ *+' conftest.er1 >conftest.err
6038 >  rm -f conftest.er1
6039 >  cat conftest.err >&5
6040 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 >  (exit $ac_status); } >/dev/null; then
6042 >  if test -s conftest.err; then
6043 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6044 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6045 >  else
6046 >    ac_cpp_err=
6047 >  fi
6048 > else
6049 >  ac_cpp_err=yes
6050 > fi
6051 > if test -z "$ac_cpp_err"; then
6052 >  ac_header_preproc=yes
6053 > else
6054 >  echo "$as_me: failed program was:" >&5
6055 > sed 's/^/| /' conftest.$ac_ext >&5
6056 >
6057 >  ac_header_preproc=no
6058 > fi
6059 > rm -f conftest.err conftest.$ac_ext
6060 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6061 > echo "${ECHO_T}$ac_header_preproc" >&6
6062 >
6063 > # So?  What about this header?
6064 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6065 >  yes:no: )
6066 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6067 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6068 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6069 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6070 >    ac_header_preproc=yes
6071 >    ;;
6072 >  no:yes:* )
6073 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6074 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6075 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6076 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6077 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6078 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6079 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6080 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6081 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6082 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6083 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6084 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6085 >    (
6086 >      cat <<\_ASBOX
6087 > ## ------------------------------ ##
6088 > ## Report this to gezelter@nd.edu ##
6089 > ## ------------------------------ ##
6090 > _ASBOX
6091 >    ) |
6092 >      sed "s/^/$as_me: WARNING:     /" >&2
6093 >    ;;
6094 > esac
6095 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6096 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6097 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6098 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6099 > else
6100 >  eval "$as_ac_Header=\$ac_header_preproc"
6101 > fi
6102 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6103 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6104 >
6105 > fi
6106 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6107 >  cat >>confdefs.h <<_ACEOF
6108 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6109 > _ACEOF
6110 >
6111 > fi
6112 >
6113 > done
6114 >
6115 > ac_ext=c
6116 > ac_cpp='$CPP $CPPFLAGS'
6117 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6118 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6120 >
6121 >
6122 >
6123 >
6124 > for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h
6125 > do
6126 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6127 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6128 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6129 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6130 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6131 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6132 > fi
6133 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6134 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6135 > else
6136 >  # Is the header compilable?
6137 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6138 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6139 > cat >conftest.$ac_ext <<_ACEOF
6140 > /* confdefs.h.  */
6141 > _ACEOF
6142 > cat confdefs.h >>conftest.$ac_ext
6143 > cat >>conftest.$ac_ext <<_ACEOF
6144 > /* end confdefs.h.  */
6145 > $ac_includes_default
6146 > #include <$ac_header>
6147 > _ACEOF
6148 > rm -f conftest.$ac_objext
6149 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6150 >  (eval $ac_compile) 2>conftest.er1
6151 >  ac_status=$?
6152 >  grep -v '^ *+' conftest.er1 >conftest.err
6153 >  rm -f conftest.er1
6154 >  cat conftest.err >&5
6155 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 >  (exit $ac_status); } &&
6157 >         { ac_try='test -z "$ac_c_werror_flag"
6158 >                         || test ! -s conftest.err'
6159 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 >  (eval $ac_try) 2>&5
6161 >  ac_status=$?
6162 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 >  (exit $ac_status); }; } &&
6164 >         { ac_try='test -s conftest.$ac_objext'
6165 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 >  (eval $ac_try) 2>&5
6167 >  ac_status=$?
6168 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 >  (exit $ac_status); }; }; then
6170 >  ac_header_compiler=yes
6171 > else
6172 >  echo "$as_me: failed program was:" >&5
6173 > sed 's/^/| /' conftest.$ac_ext >&5
6174 >
6175 > ac_header_compiler=no
6176 > fi
6177 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6178 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6179 > echo "${ECHO_T}$ac_header_compiler" >&6
6180 >
6181 > # Is the header present?
6182 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6183 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6184 > cat >conftest.$ac_ext <<_ACEOF
6185 > /* confdefs.h.  */
6186 > _ACEOF
6187 > cat confdefs.h >>conftest.$ac_ext
6188 > cat >>conftest.$ac_ext <<_ACEOF
6189 > /* end confdefs.h.  */
6190 > #include <$ac_header>
6191 > _ACEOF
6192 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6193 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6194 >  ac_status=$?
6195 >  grep -v '^ *+' conftest.er1 >conftest.err
6196 >  rm -f conftest.er1
6197 >  cat conftest.err >&5
6198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 >  (exit $ac_status); } >/dev/null; then
6200 >  if test -s conftest.err; then
6201 >    ac_cpp_err=$ac_c_preproc_warn_flag
6202 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6203 >  else
6204 >    ac_cpp_err=
6205 >  fi
6206 > else
6207 >  ac_cpp_err=yes
6208 > fi
6209 > if test -z "$ac_cpp_err"; then
6210 >  ac_header_preproc=yes
6211 > else
6212 >  echo "$as_me: failed program was:" >&5
6213 > sed 's/^/| /' conftest.$ac_ext >&5
6214 >
6215 >  ac_header_preproc=no
6216 > fi
6217 > rm -f conftest.err conftest.$ac_ext
6218 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6219 > echo "${ECHO_T}$ac_header_preproc" >&6
6220 >
6221 > # So?  What about this header?
6222 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6223 >  yes:no: )
6224 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6225 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6226 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6227 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6228 >    ac_header_preproc=yes
6229 >    ;;
6230 >  no:yes:* )
6231 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6232 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6233 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6234 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6235 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6236 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6237 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6238 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6239 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6240 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6241 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6242 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6243 >    (
6244 >      cat <<\_ASBOX
6245 > ## ------------------------------ ##
6246 > ## Report this to gezelter@nd.edu ##
6247 > ## ------------------------------ ##
6248 > _ASBOX
6249 >    ) |
6250 >      sed "s/^/$as_me: WARNING:     /" >&2
6251 >    ;;
6252 > esac
6253 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6254 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6255 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6256 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6257 > else
6258 >  eval "$as_ac_Header=\$ac_header_preproc"
6259 > fi
6260 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6261 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6262 >
6263 > fi
6264 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6265 >  cat >>confdefs.h <<_ACEOF
6266 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6267 > _ACEOF
6268 >
6269 > fi
6270 >
6271 > done
6272 >
6273 >
6274 >
6275 >
6276 >
6277 > for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h
6278 > do
6279 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6280 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6281 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6282 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6283 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6284 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6285 > fi
6286 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6287 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6288 > else
6289 >  # Is the header compilable?
6290 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6291 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6292 > cat >conftest.$ac_ext <<_ACEOF
6293 > /* confdefs.h.  */
6294 > _ACEOF
6295 > cat confdefs.h >>conftest.$ac_ext
6296 > cat >>conftest.$ac_ext <<_ACEOF
6297 > /* end confdefs.h.  */
6298 > $ac_includes_default
6299 > #include <$ac_header>
6300 > _ACEOF
6301 > rm -f conftest.$ac_objext
6302 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6303 >  (eval $ac_compile) 2>conftest.er1
6304 >  ac_status=$?
6305 >  grep -v '^ *+' conftest.er1 >conftest.err
6306 >  rm -f conftest.er1
6307 >  cat conftest.err >&5
6308 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 >  (exit $ac_status); } &&
6310 >         { ac_try='test -z "$ac_c_werror_flag"
6311 >                         || test ! -s conftest.err'
6312 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 >  (eval $ac_try) 2>&5
6314 >  ac_status=$?
6315 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 >  (exit $ac_status); }; } &&
6317 >         { ac_try='test -s conftest.$ac_objext'
6318 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 >  (eval $ac_try) 2>&5
6320 >  ac_status=$?
6321 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 >  (exit $ac_status); }; }; then
6323 >  ac_header_compiler=yes
6324 > else
6325 >  echo "$as_me: failed program was:" >&5
6326 > sed 's/^/| /' conftest.$ac_ext >&5
6327 >
6328 > ac_header_compiler=no
6329 > fi
6330 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6331 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6332 > echo "${ECHO_T}$ac_header_compiler" >&6
6333 >
6334 > # Is the header present?
6335 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6336 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6337 > cat >conftest.$ac_ext <<_ACEOF
6338 > /* confdefs.h.  */
6339 > _ACEOF
6340 > cat confdefs.h >>conftest.$ac_ext
6341 > cat >>conftest.$ac_ext <<_ACEOF
6342 > /* end confdefs.h.  */
6343 > #include <$ac_header>
6344 > _ACEOF
6345 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6346 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6347 >  ac_status=$?
6348 >  grep -v '^ *+' conftest.er1 >conftest.err
6349 >  rm -f conftest.er1
6350 >  cat conftest.err >&5
6351 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 >  (exit $ac_status); } >/dev/null; then
6353 >  if test -s conftest.err; then
6354 >    ac_cpp_err=$ac_c_preproc_warn_flag
6355 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6356 >  else
6357 >    ac_cpp_err=
6358 >  fi
6359 > else
6360 >  ac_cpp_err=yes
6361 > fi
6362 > if test -z "$ac_cpp_err"; then
6363 >  ac_header_preproc=yes
6364 > else
6365 >  echo "$as_me: failed program was:" >&5
6366 > sed 's/^/| /' conftest.$ac_ext >&5
6367 >
6368 >  ac_header_preproc=no
6369 > fi
6370 > rm -f conftest.err conftest.$ac_ext
6371 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6372 > echo "${ECHO_T}$ac_header_preproc" >&6
6373 >
6374 > # So?  What about this header?
6375 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6376 >  yes:no: )
6377 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6378 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6379 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6380 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6381 >    ac_header_preproc=yes
6382 >    ;;
6383 >  no:yes:* )
6384 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6385 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6386 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6387 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6388 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6389 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6390 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6391 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6392 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6393 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6394 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6395 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6396 >    (
6397 >      cat <<\_ASBOX
6398 > ## ------------------------------ ##
6399 > ## Report this to gezelter@nd.edu ##
6400 > ## ------------------------------ ##
6401 > _ASBOX
6402 >    ) |
6403 >      sed "s/^/$as_me: WARNING:     /" >&2
6404 >    ;;
6405 > esac
6406 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6407 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6408 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6409 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6410 > else
6411 >  eval "$as_ac_Header=\$ac_header_preproc"
6412 > fi
6413 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6414 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6415 >
6416 > fi
6417 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6418 >  cat >>confdefs.h <<_ACEOF
6419 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6420 > _ACEOF
6421 >
6422 > fi
6423 >
6424 > done
6425 >
6426 >
6427 > for ac_header in machine/hal_sysinfo.h
6428 > do
6429 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6430 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6431 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6432 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6433 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6434 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6435 > fi
6436 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6437 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6438 > else
6439 >  # Is the header compilable?
6440 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6441 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6442 > cat >conftest.$ac_ext <<_ACEOF
6443 > /* confdefs.h.  */
6444 > _ACEOF
6445 > cat confdefs.h >>conftest.$ac_ext
6446 > cat >>conftest.$ac_ext <<_ACEOF
6447 > /* end confdefs.h.  */
6448 > $ac_includes_default
6449 > #include <$ac_header>
6450 > _ACEOF
6451 > rm -f conftest.$ac_objext
6452 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 >  (eval $ac_compile) 2>conftest.er1
6454 >  ac_status=$?
6455 >  grep -v '^ *+' conftest.er1 >conftest.err
6456 >  rm -f conftest.er1
6457 >  cat conftest.err >&5
6458 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 >  (exit $ac_status); } &&
6460 >         { ac_try='test -z "$ac_c_werror_flag"
6461 >                         || test ! -s conftest.err'
6462 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 >  (eval $ac_try) 2>&5
6464 >  ac_status=$?
6465 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 >  (exit $ac_status); }; } &&
6467 >         { ac_try='test -s conftest.$ac_objext'
6468 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 >  (eval $ac_try) 2>&5
6470 >  ac_status=$?
6471 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 >  (exit $ac_status); }; }; then
6473 >  ac_header_compiler=yes
6474 > else
6475 >  echo "$as_me: failed program was:" >&5
6476 > sed 's/^/| /' conftest.$ac_ext >&5
6477 >
6478 > ac_header_compiler=no
6479 > fi
6480 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6481 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6482 > echo "${ECHO_T}$ac_header_compiler" >&6
6483 >
6484 > # Is the header present?
6485 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6486 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6487 > cat >conftest.$ac_ext <<_ACEOF
6488 > /* confdefs.h.  */
6489 > _ACEOF
6490 > cat confdefs.h >>conftest.$ac_ext
6491 > cat >>conftest.$ac_ext <<_ACEOF
6492 > /* end confdefs.h.  */
6493 > #include <$ac_header>
6494 > _ACEOF
6495 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6496 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6497 >  ac_status=$?
6498 >  grep -v '^ *+' conftest.er1 >conftest.err
6499 >  rm -f conftest.er1
6500 >  cat conftest.err >&5
6501 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 >  (exit $ac_status); } >/dev/null; then
6503 >  if test -s conftest.err; then
6504 >    ac_cpp_err=$ac_c_preproc_warn_flag
6505 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6506 >  else
6507 >    ac_cpp_err=
6508 >  fi
6509 > else
6510 >  ac_cpp_err=yes
6511 > fi
6512 > if test -z "$ac_cpp_err"; then
6513 >  ac_header_preproc=yes
6514 > else
6515 >  echo "$as_me: failed program was:" >&5
6516 > sed 's/^/| /' conftest.$ac_ext >&5
6517 >
6518 >  ac_header_preproc=no
6519 > fi
6520 > rm -f conftest.err conftest.$ac_ext
6521 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6522 > echo "${ECHO_T}$ac_header_preproc" >&6
6523 >
6524 > # So?  What about this header?
6525 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6526 >  yes:no: )
6527 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6528 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6529 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6530 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6531 >    ac_header_preproc=yes
6532 >    ;;
6533 >  no:yes:* )
6534 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6535 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6536 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6537 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6538 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6539 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6540 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6541 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6542 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6543 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6544 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6545 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6546 >    (
6547 >      cat <<\_ASBOX
6548 > ## ------------------------------ ##
6549 > ## Report this to gezelter@nd.edu ##
6550 > ## ------------------------------ ##
6551 > _ASBOX
6552 >    ) |
6553 >      sed "s/^/$as_me: WARNING:     /" >&2
6554 >    ;;
6555 > esac
6556 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6557 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6558 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6559 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6560 > else
6561 >  eval "$as_ac_Header=\$ac_header_preproc"
6562 > fi
6563 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6564 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6565 >
6566 > fi
6567 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6568 >  cat >>confdefs.h <<_ACEOF
6569 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6570 > _ACEOF
6571 >
6572 > fi
6573 >
6574 > done
6575 >
6576 >
6577 >
6578 >
6579 >
6580 > for ac_func in rint snprintf sranddev strncasecmp
6581 > do
6582 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6583 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6584 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6585 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6586 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6587 > else
6588 >  cat >conftest.$ac_ext <<_ACEOF
6589 > /* confdefs.h.  */
6590 > _ACEOF
6591 > cat confdefs.h >>conftest.$ac_ext
6592 > cat >>conftest.$ac_ext <<_ACEOF
6593 > /* end confdefs.h.  */
6594 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6595 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6596 > #define $ac_func innocuous_$ac_func
6597 >
6598 > /* System header to define __stub macros and hopefully few prototypes,
6599 >    which can conflict with char $ac_func (); below.
6600 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6601 >    <limits.h> exists even on freestanding compilers.  */
6602 >
6603 > #ifdef __STDC__
6604 > # include <limits.h>
6605 > #else
6606 > # include <assert.h>
6607 > #endif
6608 >
6609 > #undef $ac_func
6610 >
6611 > /* Override any gcc2 internal prototype to avoid an error.  */
6612 > #ifdef __cplusplus
6613 > extern "C"
6614 > {
6615 > #endif
6616 > /* We use char because int might match the return type of a gcc2
6617 >   builtin and then its argument prototype would still apply.  */
6618 > char $ac_func ();
6619 > /* The GNU C library defines this for functions which it implements
6620 >    to always fail with ENOSYS.  Some functions are actually named
6621 >    something starting with __ and the normal name is an alias.  */
6622 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6623 > choke me
6624 > #else
6625 > char (*f) () = $ac_func;
6626 > #endif
6627 > #ifdef __cplusplus
6628 > }
6629 > #endif
6630 >
6631 > int
6632 > main ()
6633 > {
6634 > return f != $ac_func;
6635 >  ;
6636 >  return 0;
6637 > }
6638 > _ACEOF
6639 > rm -f conftest.$ac_objext conftest$ac_exeext
6640 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6641 >  (eval $ac_link) 2>conftest.er1
6642 >  ac_status=$?
6643 >  grep -v '^ *+' conftest.er1 >conftest.err
6644 >  rm -f conftest.er1
6645 >  cat conftest.err >&5
6646 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 >  (exit $ac_status); } &&
6648 >         { ac_try='test -z "$ac_c_werror_flag"
6649 >                         || test ! -s conftest.err'
6650 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 >  (eval $ac_try) 2>&5
6652 >  ac_status=$?
6653 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 >  (exit $ac_status); }; } &&
6655 >         { ac_try='test -s conftest$ac_exeext'
6656 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 >  (eval $ac_try) 2>&5
6658 >  ac_status=$?
6659 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 >  (exit $ac_status); }; }; then
6661 >  eval "$as_ac_var=yes"
6662 > else
6663 >  echo "$as_me: failed program was:" >&5
6664 > sed 's/^/| /' conftest.$ac_ext >&5
6665 >
6666 > eval "$as_ac_var=no"
6667 > fi
6668 > rm -f conftest.err conftest.$ac_objext \
6669 >      conftest$ac_exeext conftest.$ac_ext
6670 > fi
6671 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6672 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6673 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6674 >  cat >>confdefs.h <<_ACEOF
6675 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6676 > _ACEOF
6677 >
6678 > fi
6679 > done
6680 >
6681 >
6682 >
6683 >
6684 >
6685 >
6686 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
6687 > do
6688 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6689 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6690 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6691 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6692 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6693 > else
6694 >  cat >conftest.$ac_ext <<_ACEOF
6695 > /* confdefs.h.  */
6696 > _ACEOF
6697 > cat confdefs.h >>conftest.$ac_ext
6698 > cat >>conftest.$ac_ext <<_ACEOF
6699 > /* end confdefs.h.  */
6700 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6701 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6702 > #define $ac_func innocuous_$ac_func
6703 >
6704 > /* System header to define __stub macros and hopefully few prototypes,
6705 >    which can conflict with char $ac_func (); below.
6706 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6707 >    <limits.h> exists even on freestanding compilers.  */
6708 >
6709 > #ifdef __STDC__
6710 > # include <limits.h>
6711 > #else
6712 > # include <assert.h>
6713 > #endif
6714 >
6715 > #undef $ac_func
6716 >
6717 > /* Override any gcc2 internal prototype to avoid an error.  */
6718 > #ifdef __cplusplus
6719 > extern "C"
6720 > {
6721 > #endif
6722 > /* We use char because int might match the return type of a gcc2
6723 >   builtin and then its argument prototype would still apply.  */
6724 > char $ac_func ();
6725 > /* The GNU C library defines this for functions which it implements
6726 >    to always fail with ENOSYS.  Some functions are actually named
6727 >    something starting with __ and the normal name is an alias.  */
6728 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6729 > choke me
6730 > #else
6731 > char (*f) () = $ac_func;
6732 > #endif
6733 > #ifdef __cplusplus
6734 > }
6735 > #endif
6736 >
6737 > int
6738 > main ()
6739 > {
6740 > return f != $ac_func;
6741 >  ;
6742 >  return 0;
6743 > }
6744 > _ACEOF
6745 > rm -f conftest.$ac_objext conftest$ac_exeext
6746 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6747 >  (eval $ac_link) 2>conftest.er1
6748 >  ac_status=$?
6749 >  grep -v '^ *+' conftest.er1 >conftest.err
6750 >  rm -f conftest.er1
6751 >  cat conftest.err >&5
6752 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 >  (exit $ac_status); } &&
6754 >         { ac_try='test -z "$ac_c_werror_flag"
6755 >                         || test ! -s conftest.err'
6756 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 >  (eval $ac_try) 2>&5
6758 >  ac_status=$?
6759 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 >  (exit $ac_status); }; } &&
6761 >         { ac_try='test -s conftest$ac_exeext'
6762 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 >  (eval $ac_try) 2>&5
6764 >  ac_status=$?
6765 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 >  (exit $ac_status); }; }; then
6767 >  eval "$as_ac_var=yes"
6768 > else
6769 >  echo "$as_me: failed program was:" >&5
6770 > sed 's/^/| /' conftest.$ac_ext >&5
6771 >
6772 > eval "$as_ac_var=no"
6773 > fi
6774 > rm -f conftest.err conftest.$ac_objext \
6775 >      conftest$ac_exeext conftest.$ac_ext
6776 > fi
6777 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6778 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6779 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6780 >  cat >>confdefs.h <<_ACEOF
6781 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6782 > _ACEOF
6783 >
6784 > fi
6785 > done
6786 >
6787 > # special check for _system_configuration because AIX <4.3.2 do not
6788 > # contain the `physmem' member.
6789 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
6790 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
6791 > cat >conftest.$ac_ext <<_ACEOF
6792 > /* confdefs.h.  */
6793 > _ACEOF
6794 > cat confdefs.h >>conftest.$ac_ext
6795 > cat >>conftest.$ac_ext <<_ACEOF
6796 > /* end confdefs.h.  */
6797 > #include <sys/systemcfg.h>
6798 > int
6799 > main ()
6800 > {
6801 > double x = _system_configuration.physmem;
6802 >  ;
6803 >  return 0;
6804 > }
6805 > _ACEOF
6806 > rm -f conftest.$ac_objext
6807 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6808 >  (eval $ac_compile) 2>conftest.er1
6809 >  ac_status=$?
6810 >  grep -v '^ *+' conftest.er1 >conftest.err
6811 >  rm -f conftest.er1
6812 >  cat conftest.err >&5
6813 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 >  (exit $ac_status); } &&
6815 >         { ac_try='test -z "$ac_c_werror_flag"
6816 >                         || test ! -s conftest.err'
6817 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 >  (eval $ac_try) 2>&5
6819 >  ac_status=$?
6820 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 >  (exit $ac_status); }; } &&
6822 >         { ac_try='test -s conftest.$ac_objext'
6823 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 >  (eval $ac_try) 2>&5
6825 >  ac_status=$?
6826 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 >  (exit $ac_status); }; }; then
6828 >  echo "$as_me:$LINENO: result: yes" >&5
6829 > echo "${ECHO_T}yes" >&6
6830 >
6831 > cat >>confdefs.h <<\_ACEOF
6832 > #define HAVE__SYSTEM_CONFIGURATION 1
6833 > _ACEOF
6834 >
6835 > else
6836 >  echo "$as_me: failed program was:" >&5
6837 > sed 's/^/| /' conftest.$ac_ext >&5
6838 >
6839 > echo "$as_me:$LINENO: result: no" >&5
6840 > echo "${ECHO_T}no" >&6
6841 > fi
6842 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6843 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6844 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6845 > if test "${ac_cv_header_time+set}" = set; then
6846 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6847 > else
6848 >  cat >conftest.$ac_ext <<_ACEOF
6849 > /* confdefs.h.  */
6850 > _ACEOF
6851 > cat confdefs.h >>conftest.$ac_ext
6852 > cat >>conftest.$ac_ext <<_ACEOF
6853 > /* end confdefs.h.  */
6854 > #include <sys/types.h>
6855 > #include <sys/time.h>
6856 > #include <time.h>
6857 >
6858 > int
6859 > main ()
6860 > {
6861 > if ((struct tm *) 0)
6862 > return 0;
6863 >  ;
6864 >  return 0;
6865 > }
6866 > _ACEOF
6867 > rm -f conftest.$ac_objext
6868 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869 >  (eval $ac_compile) 2>conftest.er1
6870 >  ac_status=$?
6871 >  grep -v '^ *+' conftest.er1 >conftest.err
6872 >  rm -f conftest.er1
6873 >  cat conftest.err >&5
6874 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 >  (exit $ac_status); } &&
6876 >         { ac_try='test -z "$ac_c_werror_flag"
6877 >                         || test ! -s conftest.err'
6878 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6879 >  (eval $ac_try) 2>&5
6880 >  ac_status=$?
6881 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 >  (exit $ac_status); }; } &&
6883 >         { ac_try='test -s conftest.$ac_objext'
6884 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6885 >  (eval $ac_try) 2>&5
6886 >  ac_status=$?
6887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 >  (exit $ac_status); }; }; then
6889 >  ac_cv_header_time=yes
6890 > else
6891 >  echo "$as_me: failed program was:" >&5
6892 > sed 's/^/| /' conftest.$ac_ext >&5
6893 >
6894 > ac_cv_header_time=no
6895 > fi
6896 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6897 > fi
6898 > echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6899 > echo "${ECHO_T}$ac_cv_header_time" >&6
6900 > if test $ac_cv_header_time = yes; then
6901 >
6902 > cat >>confdefs.h <<\_ACEOF
6903 > #define TIME_WITH_SYS_TIME 1
6904 > _ACEOF
6905 >
6906 > fi
6907 >
6908 >
6909 > echo "$as_me:$LINENO: checking for clock_t" >&5
6910 > echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
6911 > if test "${ac_cv_type_clock_t+set}" = set; then
6912 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6913 > else
6914 >  cat >conftest.$ac_ext <<_ACEOF
6915 > /* confdefs.h.  */
6916 > _ACEOF
6917 > cat confdefs.h >>conftest.$ac_ext
6918 > cat >>conftest.$ac_ext <<_ACEOF
6919 > /* end confdefs.h.  */
6920 > $ac_includes_default
6921 > int
6922 > main ()
6923 > {
6924 > if ((clock_t *) 0)
6925 >  return 0;
6926 > if (sizeof (clock_t))
6927 >  return 0;
6928 >  ;
6929 >  return 0;
6930 > }
6931 > _ACEOF
6932 > rm -f conftest.$ac_objext
6933 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 >  (eval $ac_compile) 2>conftest.er1
6935 >  ac_status=$?
6936 >  grep -v '^ *+' conftest.er1 >conftest.err
6937 >  rm -f conftest.er1
6938 >  cat conftest.err >&5
6939 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 >  (exit $ac_status); } &&
6941 >         { ac_try='test -z "$ac_c_werror_flag"
6942 >                         || test ! -s conftest.err'
6943 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 >  (eval $ac_try) 2>&5
6945 >  ac_status=$?
6946 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 >  (exit $ac_status); }; } &&
6948 >         { ac_try='test -s conftest.$ac_objext'
6949 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 >  (eval $ac_try) 2>&5
6951 >  ac_status=$?
6952 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 >  (exit $ac_status); }; }; then
6954 >  ac_cv_type_clock_t=yes
6955 > else
6956 >  echo "$as_me: failed program was:" >&5
6957 > sed 's/^/| /' conftest.$ac_ext >&5
6958 >
6959 > ac_cv_type_clock_t=no
6960 > fi
6961 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6962 > fi
6963 > echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
6964 > echo "${ECHO_T}$ac_cv_type_clock_t" >&6
6965 > if test $ac_cv_type_clock_t = yes; then
6966 >
6967 > cat >>confdefs.h <<_ACEOF
6968 > #define HAVE_CLOCK_T 1
6969 > _ACEOF
6970 >
6971 >
6972 > fi
6973 >
6974 > echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6975 > echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6976 > if test "${ac_cv_c_const+set}" = set; then
6977 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6978 > else
6979 >  cat >conftest.$ac_ext <<_ACEOF
6980 > /* confdefs.h.  */
6981 > _ACEOF
6982 > cat confdefs.h >>conftest.$ac_ext
6983 > cat >>conftest.$ac_ext <<_ACEOF
6984 > /* end confdefs.h.  */
6985 >
6986 > int
6987 > main ()
6988 > {
6989 > /* FIXME: Include the comments suggested by Paul. */
6990 > #ifndef __cplusplus
6991 >  /* Ultrix mips cc rejects this.  */
6992 >  typedef int charset[2];
6993 >  const charset x;
6994 >  /* SunOS 4.1.1 cc rejects this.  */
6995 >  char const *const *ccp;
6996 >  char **p;
6997 >  /* NEC SVR4.0.2 mips cc rejects this.  */
6998 >  struct point {int x, y;};
6999 >  static struct point const zero = {0,0};
7000 >  /* AIX XL C 1.02.0.0 rejects this.
7001 >     It does not let you subtract one const X* pointer from another in
7002 >     an arm of an if-expression whose if-part is not a constant
7003 >     expression */
7004 >  const char *g = "string";
7005 >  ccp = &g + (g ? g-g : 0);
7006 >  /* HPUX 7.0 cc rejects these. */
7007 >  ++ccp;
7008 >  p = (char**) ccp;
7009 >  ccp = (char const *const *) p;
7010 >  { /* SCO 3.2v4 cc rejects this.  */
7011 >    char *t;
7012 >    char const *s = 0 ? (char *) 0 : (char const *) 0;
7013 >
7014 >    *t++ = 0;
7015 >  }
7016 >  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7017 >    int x[] = {25, 17};
7018 >    const int *foo = &x[0];
7019 >    ++foo;
7020 >  }
7021 >  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7022 >    typedef const int *iptr;
7023 >    iptr p = 0;
7024 >    ++p;
7025 >  }
7026 >  { /* AIX XL C 1.02.0.0 rejects this saying
7027 >       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7028 >    struct s { int j; const int *ap[3]; };
7029 >    struct s *b; b->j = 5;
7030 >  }
7031 >  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7032 >    const int foo = 10;
7033 >  }
7034 > #endif
7035 >
7036 >  ;
7037 >  return 0;
7038 > }
7039 > _ACEOF
7040 > rm -f conftest.$ac_objext
7041 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 >  (eval $ac_compile) 2>conftest.er1
7043 >  ac_status=$?
7044 >  grep -v '^ *+' conftest.er1 >conftest.err
7045 >  rm -f conftest.er1
7046 >  cat conftest.err >&5
7047 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 >  (exit $ac_status); } &&
7049 >         { ac_try='test -z "$ac_c_werror_flag"
7050 >                         || test ! -s conftest.err'
7051 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 >  (eval $ac_try) 2>&5
7053 >  ac_status=$?
7054 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 >  (exit $ac_status); }; } &&
7056 >         { ac_try='test -s conftest.$ac_objext'
7057 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 >  (eval $ac_try) 2>&5
7059 >  ac_status=$?
7060 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 >  (exit $ac_status); }; }; then
7062 >  ac_cv_c_const=yes
7063 > else
7064 >  echo "$as_me: failed program was:" >&5
7065 > sed 's/^/| /' conftest.$ac_ext >&5
7066 >
7067 > ac_cv_c_const=no
7068 > fi
7069 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7070 > fi
7071 > echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7072 > echo "${ECHO_T}$ac_cv_c_const" >&6
7073 > if test $ac_cv_c_const = no; then
7074 >
7075 > cat >>confdefs.h <<\_ACEOF
7076 > #define const
7077 > _ACEOF
7078 >
7079 > fi
7080 >
7081 > echo "$as_me:$LINENO: checking for inline" >&5
7082 > echo $ECHO_N "checking for inline... $ECHO_C" >&6
7083 > if test "${ac_cv_c_inline+set}" = set; then
7084 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7085 > else
7086 >  ac_cv_c_inline=no
7087 > for ac_kw in inline __inline__ __inline; do
7088 >  cat >conftest.$ac_ext <<_ACEOF
7089 > /* confdefs.h.  */
7090 > _ACEOF
7091 > cat confdefs.h >>conftest.$ac_ext
7092 > cat >>conftest.$ac_ext <<_ACEOF
7093 > /* end confdefs.h.  */
7094 > #ifndef __cplusplus
7095 > typedef int foo_t;
7096 > static $ac_kw foo_t static_foo () {return 0; }
7097 > $ac_kw foo_t foo () {return 0; }
7098 > #endif
7099 >
7100 > _ACEOF
7101 > rm -f conftest.$ac_objext
7102 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7103 >  (eval $ac_compile) 2>conftest.er1
7104 >  ac_status=$?
7105 >  grep -v '^ *+' conftest.er1 >conftest.err
7106 >  rm -f conftest.er1
7107 >  cat conftest.err >&5
7108 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 >  (exit $ac_status); } &&
7110 >         { ac_try='test -z "$ac_c_werror_flag"
7111 >                         || test ! -s conftest.err'
7112 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7113 >  (eval $ac_try) 2>&5
7114 >  ac_status=$?
7115 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 >  (exit $ac_status); }; } &&
7117 >         { ac_try='test -s conftest.$ac_objext'
7118 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 >  (eval $ac_try) 2>&5
7120 >  ac_status=$?
7121 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 >  (exit $ac_status); }; }; then
7123 >  ac_cv_c_inline=$ac_kw; break
7124 > else
7125 >  echo "$as_me: failed program was:" >&5
7126 > sed 's/^/| /' conftest.$ac_ext >&5
7127 >
7128 > fi
7129 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7130 > done
7131 >
7132 > fi
7133 > echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7134 > echo "${ECHO_T}$ac_cv_c_inline" >&6
7135 >
7136 >
7137 > case $ac_cv_c_inline in
7138 >  inline | yes) ;;
7139 >  *)
7140 >    case $ac_cv_c_inline in
7141 >      no) ac_val=;;
7142 >      *) ac_val=$ac_cv_c_inline;;
7143 >    esac
7144 >    cat >>confdefs.h <<_ACEOF
7145 > #ifndef __cplusplus
7146 > #define inline $ac_val
7147 > #endif
7148 > _ACEOF
7149 >    ;;
7150 > esac
7151 >
7152 >
7153 >
7154 >
7155 > for ac_func in rint sranddev
7156 > do
7157 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7158 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7159 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7160 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7162 > else
7163 >  cat >conftest.$ac_ext <<_ACEOF
7164 > /* confdefs.h.  */
7165 > _ACEOF
7166 > cat confdefs.h >>conftest.$ac_ext
7167 > cat >>conftest.$ac_ext <<_ACEOF
7168 > /* end confdefs.h.  */
7169 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7170 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7171 > #define $ac_func innocuous_$ac_func
7172 >
7173 > /* System header to define __stub macros and hopefully few prototypes,
7174 >    which can conflict with char $ac_func (); below.
7175 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 >    <limits.h> exists even on freestanding compilers.  */
7177 >
7178 > #ifdef __STDC__
7179 > # include <limits.h>
7180 > #else
7181 > # include <assert.h>
7182 > #endif
7183 >
7184 > #undef $ac_func
7185 >
7186 > /* Override any gcc2 internal prototype to avoid an error.  */
7187 > #ifdef __cplusplus
7188 > extern "C"
7189 > {
7190 > #endif
7191 > /* We use char because int might match the return type of a gcc2
7192 >   builtin and then its argument prototype would still apply.  */
7193 > char $ac_func ();
7194 > /* The GNU C library defines this for functions which it implements
7195 >    to always fail with ENOSYS.  Some functions are actually named
7196 >    something starting with __ and the normal name is an alias.  */
7197 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7198 > choke me
7199 > #else
7200 > char (*f) () = $ac_func;
7201 > #endif
7202 > #ifdef __cplusplus
7203 > }
7204 > #endif
7205 >
7206 > int
7207 > main ()
7208 > {
7209 > return f != $ac_func;
7210 >  ;
7211 >  return 0;
7212 > }
7213 > _ACEOF
7214 > rm -f conftest.$ac_objext conftest$ac_exeext
7215 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7216 >  (eval $ac_link) 2>conftest.er1
7217 >  ac_status=$?
7218 >  grep -v '^ *+' conftest.er1 >conftest.err
7219 >  rm -f conftest.er1
7220 >  cat conftest.err >&5
7221 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 >  (exit $ac_status); } &&
7223 >         { ac_try='test -z "$ac_c_werror_flag"
7224 >                         || test ! -s conftest.err'
7225 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 >  (eval $ac_try) 2>&5
7227 >  ac_status=$?
7228 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 >  (exit $ac_status); }; } &&
7230 >         { ac_try='test -s conftest$ac_exeext'
7231 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 >  (eval $ac_try) 2>&5
7233 >  ac_status=$?
7234 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 >  (exit $ac_status); }; }; then
7236 >  eval "$as_ac_var=yes"
7237 > else
7238 >  echo "$as_me: failed program was:" >&5
7239 > sed 's/^/| /' conftest.$ac_ext >&5
7240 >
7241 > eval "$as_ac_var=no"
7242 > fi
7243 > rm -f conftest.err conftest.$ac_objext \
7244 >      conftest$ac_exeext conftest.$ac_ext
7245 > fi
7246 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7247 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7248 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7249 >  cat >>confdefs.h <<_ACEOF
7250 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7251 > _ACEOF
7252 >
7253 > fi
7254 > done
7255 >
7256 >
7257 >  # clean out junk possibly left behind by a previous configuration
7258 >  rm -f src/getopt.h
7259 >  # Check for getopt_long support
7260 >
7261 > for ac_header in getopt.h
7262 > do
7263 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7264 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7265 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7266 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7267 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7268 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7269 > fi
7270 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7271 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7272 > else
7273 >  # Is the header compilable?
7274 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7275 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7276 > cat >conftest.$ac_ext <<_ACEOF
7277 > /* confdefs.h.  */
7278 > _ACEOF
7279 > cat confdefs.h >>conftest.$ac_ext
7280 > cat >>conftest.$ac_ext <<_ACEOF
7281 > /* end confdefs.h.  */
7282 > $ac_includes_default
7283 > #include <$ac_header>
7284 > _ACEOF
7285 > rm -f conftest.$ac_objext
7286 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7287 >  (eval $ac_compile) 2>conftest.er1
7288 >  ac_status=$?
7289 >  grep -v '^ *+' conftest.er1 >conftest.err
7290 >  rm -f conftest.er1
7291 >  cat conftest.err >&5
7292 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 >  (exit $ac_status); } &&
7294 >         { ac_try='test -z "$ac_c_werror_flag"
7295 >                         || test ! -s conftest.err'
7296 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 >  (eval $ac_try) 2>&5
7298 >  ac_status=$?
7299 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 >  (exit $ac_status); }; } &&
7301 >         { ac_try='test -s conftest.$ac_objext'
7302 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 >  (eval $ac_try) 2>&5
7304 >  ac_status=$?
7305 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 >  (exit $ac_status); }; }; then
7307 >  ac_header_compiler=yes
7308 > else
7309 >  echo "$as_me: failed program was:" >&5
7310 > sed 's/^/| /' conftest.$ac_ext >&5
7311 >
7312 > ac_header_compiler=no
7313 > fi
7314 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7315 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7316 > echo "${ECHO_T}$ac_header_compiler" >&6
7317 >
7318 > # Is the header present?
7319 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7320 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7321 > cat >conftest.$ac_ext <<_ACEOF
7322 > /* confdefs.h.  */
7323 > _ACEOF
7324 > cat confdefs.h >>conftest.$ac_ext
7325 > cat >>conftest.$ac_ext <<_ACEOF
7326 > /* end confdefs.h.  */
7327 > #include <$ac_header>
7328 > _ACEOF
7329 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7330 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7331 >  ac_status=$?
7332 >  grep -v '^ *+' conftest.er1 >conftest.err
7333 >  rm -f conftest.er1
7334 >  cat conftest.err >&5
7335 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 >  (exit $ac_status); } >/dev/null; then
7337 >  if test -s conftest.err; then
7338 >    ac_cpp_err=$ac_c_preproc_warn_flag
7339 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7340 >  else
7341 >    ac_cpp_err=
7342 >  fi
7343 > else
7344 >  ac_cpp_err=yes
7345 > fi
7346 > if test -z "$ac_cpp_err"; then
7347 >  ac_header_preproc=yes
7348 > else
7349 >  echo "$as_me: failed program was:" >&5
7350 > sed 's/^/| /' conftest.$ac_ext >&5
7351 >
7352 >  ac_header_preproc=no
7353 > fi
7354 > rm -f conftest.err conftest.$ac_ext
7355 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7356 > echo "${ECHO_T}$ac_header_preproc" >&6
7357 >
7358 > # So?  What about this header?
7359 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7360 >  yes:no: )
7361 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7362 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7363 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7364 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7365 >    ac_header_preproc=yes
7366 >    ;;
7367 >  no:yes:* )
7368 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7369 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7370 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7371 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7372 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7373 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7374 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7375 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7376 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7377 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7378 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7379 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7380 >    (
7381 >      cat <<\_ASBOX
7382 > ## ------------------------------ ##
7383 > ## Report this to gezelter@nd.edu ##
7384 > ## ------------------------------ ##
7385 > _ASBOX
7386 >    ) |
7387 >      sed "s/^/$as_me: WARNING:     /" >&2
7388 >    ;;
7389 > esac
7390 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7391 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7392 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7393 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7394 > else
7395 >  eval "$as_ac_Header=\$ac_header_preproc"
7396 > fi
7397 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7398 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7399 >
7400 > fi
7401 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 >  cat >>confdefs.h <<_ACEOF
7403 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7404 > _ACEOF
7405 >
7406 > fi
7407 >
7408 > done
7409 >
7410 >
7411 > for ac_func in getopt_long
7412 > do
7413 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7414 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7415 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7416 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7417 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7418 > else
7419 >  cat >conftest.$ac_ext <<_ACEOF
7420 > /* confdefs.h.  */
7421 > _ACEOF
7422 > cat confdefs.h >>conftest.$ac_ext
7423 > cat >>conftest.$ac_ext <<_ACEOF
7424 > /* end confdefs.h.  */
7425 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7426 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7427 > #define $ac_func innocuous_$ac_func
7428 >
7429 > /* System header to define __stub macros and hopefully few prototypes,
7430 >    which can conflict with char $ac_func (); below.
7431 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7432 >    <limits.h> exists even on freestanding compilers.  */
7433 >
7434 > #ifdef __STDC__
7435 > # include <limits.h>
7436 > #else
7437 > # include <assert.h>
7438 > #endif
7439 >
7440 > #undef $ac_func
7441 >
7442 > /* Override any gcc2 internal prototype to avoid an error.  */
7443 > #ifdef __cplusplus
7444 > extern "C"
7445 > {
7446 > #endif
7447 > /* We use char because int might match the return type of a gcc2
7448 >   builtin and then its argument prototype would still apply.  */
7449 > char $ac_func ();
7450 > /* The GNU C library defines this for functions which it implements
7451 >    to always fail with ENOSYS.  Some functions are actually named
7452 >    something starting with __ and the normal name is an alias.  */
7453 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7454 > choke me
7455 > #else
7456 > char (*f) () = $ac_func;
7457 > #endif
7458 > #ifdef __cplusplus
7459 > }
7460 > #endif
7461 >
7462 > int
7463 > main ()
7464 > {
7465 > return f != $ac_func;
7466 >  ;
7467 >  return 0;
7468 > }
7469 > _ACEOF
7470 > rm -f conftest.$ac_objext conftest$ac_exeext
7471 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7472 >  (eval $ac_link) 2>conftest.er1
7473 >  ac_status=$?
7474 >  grep -v '^ *+' conftest.er1 >conftest.err
7475 >  rm -f conftest.er1
7476 >  cat conftest.err >&5
7477 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 >  (exit $ac_status); } &&
7479 >         { ac_try='test -z "$ac_c_werror_flag"
7480 >                         || test ! -s conftest.err'
7481 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 >  (eval $ac_try) 2>&5
7483 >  ac_status=$?
7484 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 >  (exit $ac_status); }; } &&
7486 >         { ac_try='test -s conftest$ac_exeext'
7487 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 >  (eval $ac_try) 2>&5
7489 >  ac_status=$?
7490 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 >  (exit $ac_status); }; }; then
7492 >  eval "$as_ac_var=yes"
7493 > else
7494 >  echo "$as_me: failed program was:" >&5
7495 > sed 's/^/| /' conftest.$ac_ext >&5
7496 >
7497 > eval "$as_ac_var=no"
7498 > fi
7499 > rm -f conftest.err conftest.$ac_objext \
7500 >      conftest$ac_exeext conftest.$ac_ext
7501 > fi
7502 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7503 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7504 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7505 >  cat >>confdefs.h <<_ACEOF
7506 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7507 > _ACEOF
7508 >
7509 > else
7510 >  # FreeBSD has a gnugetopt library for this
7511 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
7512 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
7513 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
7514 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7515 > else
7516 >  ac_check_lib_save_LIBS=$LIBS
7517 > LIBS="-lgnugetopt  $LIBS"
7518 > cat >conftest.$ac_ext <<_ACEOF
7519 > /* confdefs.h.  */
7520 > _ACEOF
7521 > cat confdefs.h >>conftest.$ac_ext
7522 > cat >>conftest.$ac_ext <<_ACEOF
7523 > /* end confdefs.h.  */
7524 >
7525 > /* Override any gcc2 internal prototype to avoid an error.  */
7526 > #ifdef __cplusplus
7527 > extern "C"
7528 > #endif
7529 > /* We use char because int might match the return type of a gcc2
7530 >   builtin and then its argument prototype would still apply.  */
7531 > char getopt_long ();
7532 > int
7533 > main ()
7534 > {
7535 > getopt_long ();
7536 >  ;
7537 >  return 0;
7538 > }
7539 > _ACEOF
7540 > rm -f conftest.$ac_objext conftest$ac_exeext
7541 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7542 >  (eval $ac_link) 2>conftest.er1
7543 >  ac_status=$?
7544 >  grep -v '^ *+' conftest.er1 >conftest.err
7545 >  rm -f conftest.er1
7546 >  cat conftest.err >&5
7547 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 >  (exit $ac_status); } &&
7549 >         { ac_try='test -z "$ac_c_werror_flag"
7550 >                         || test ! -s conftest.err'
7551 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 >  (eval $ac_try) 2>&5
7553 >  ac_status=$?
7554 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 >  (exit $ac_status); }; } &&
7556 >         { ac_try='test -s conftest$ac_exeext'
7557 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 >  (eval $ac_try) 2>&5
7559 >  ac_status=$?
7560 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 >  (exit $ac_status); }; }; then
7562 >  ac_cv_lib_gnugetopt_getopt_long=yes
7563 > else
7564 >  echo "$as_me: failed program was:" >&5
7565 > sed 's/^/| /' conftest.$ac_ext >&5
7566 >
7567 > ac_cv_lib_gnugetopt_getopt_long=no
7568 > fi
7569 > rm -f conftest.err conftest.$ac_objext \
7570 >      conftest$ac_exeext conftest.$ac_ext
7571 > LIBS=$ac_check_lib_save_LIBS
7572 > fi
7573 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7574 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
7575 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
7576 >  cat >>confdefs.h <<\_ACEOF
7577 > #define HAVE_GETOPT_LONG 1
7578 > _ACEOF
7579 >
7580 > else
7581 >  # use the GNU replacement
7582 >      case $LIBOBJS in
7583 >    "getopt.$ac_objext"   | \
7584 >  *" getopt.$ac_objext"   | \
7585 >    "getopt.$ac_objext "* | \
7586 >  *" getopt.$ac_objext "* ) ;;
7587 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
7588 > esac
7589 >
7590 >      case $LIBOBJS in
7591 >    "getopt1.$ac_objext"   | \
7592 >  *" getopt1.$ac_objext"   | \
7593 >    "getopt1.$ac_objext "* | \
7594 >  *" getopt1.$ac_objext "* ) ;;
7595 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
7596 > esac
7597 >
7598 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7599 >
7600 > fi
7601 >
7602 > fi
7603 > done
7604 >
7605 >
7606 >
7607 > case $debug in
7608 >  1)
7609 >     ;;
7610 >  *)
7611 >
7612 >
7613 >
7614 >
7615 >
7616 >
7617 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
7618 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
7619 > if test "${ac_cv_prog_really_gcc+set}" = set; then
7620 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7621 > else
7622 >
7623 > cat > conftest.c <<EOF
7624 > #ifdef __GNUC__
7625 >  #ifndef __INTEL_COMPILER
7626 >     yes;
7627 >  #endif
7628 > #endif
7629 > EOF
7630 > if { ac_try='${CC-cc} -E conftest.c'
7631 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 >  (eval $ac_try) 2>&5
7633 >  ac_status=$?
7634 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7636 >  ac_cv_prog_really_gcc=yes
7637 > else
7638 >  ac_cv_prog_really_gcc=no
7639 > fi
7640 >
7641 > fi
7642 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7643 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7644 > if test "$ac_cv_prog_really_gcc" = yes; then
7645 >        :
7646 >
7647 > else
7648 >        :
7649 >
7650 > fi
7651 >
7652 >
7653 > # Try to determine "good" native compiler flags if none specified on command
7654 > # line
7655 > if test "$ac_test_CFLAGS" != "set"; then
7656 >  CFLAGS=""
7657 >  case "${host_cpu}-${host_os}" in
7658 >
7659 >  *linux*) if test "$CC" = icc; then
7660 >                    CFLAGS="-O"
7661 >                fi;;
7662 >  sparc-solaris2*) if test "$CC" = cc; then
7663 >                    CFLAGS="-native -fast -xO5 -dalign"
7664 >                 fi;;
7665 >
7666 >  alpha*-osf*)  if test "$CC" = cc; then
7667 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
7668 >                fi;;
7669 >
7670 >  hppa*-hpux*)  if test "$CC" = cc; then
7671 >                    CFLAGS="-Ae +O3 +Oall"
7672 >                fi;;
7673 >
7674 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
7675 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
7676 >                fi;;
7677 >   powerpc*-aix*)
7678 >        if test "$CC" = cc -o "$CC" = xlc; then
7679 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
7680 >                echo "*******************************************************"
7681 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7682 >                echo "*  recommended that you use                           *"
7683 >                echo "*                                                     *"
7684 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7685 >                echo "*                                 ^^^                 *"
7686 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7687 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
7688 >                echo "*******************************************************"
7689 >        fi;;
7690 >   *darwin*)
7691 >        if test "$CC" = xlc -o "$CC" = cc; then
7692 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
7693 >        fi;;
7694 >  esac
7695 >
7696 >  # use default flags for gcc on all systems
7697 >  if test $ac_cv_prog_really_gcc = yes; then
7698 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
7699 >  fi
7700 >
7701 >  # test for gcc-specific flags:
7702 >  if test $ac_cv_prog_really_gcc = yes; then
7703 >    # -malign-double for x86 systems
7704 >
7705 >
7706 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7707 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7708 > if test "${ac_align_double+set}" = set; then
7709 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7710 > else
7711 >  echo 'void f(){}' > conftest.c
7712 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
7713 >        ac_align_double=yes
7714 > else
7715 >        ac_align_double=no
7716 > fi
7717 > rm -f conftest*
7718 >
7719 > fi
7720 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7721 > echo "${ECHO_T}$ac_align_double" >&6
7722 > if test "$ac_align_double" = yes; then
7723 >        :
7724 >        CFLAGS="$CFLAGS -malign-double"
7725 > else
7726 >        :
7727 >
7728 > fi
7729 >
7730 >    # -fstrict-aliasing for gcc-2.95+
7731 >
7732 >
7733 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7734 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7735 > if test "${ac_fstrict_aliasing+set}" = set; then
7736 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7737 > else
7738 >  echo 'void f(){}' > conftest.c
7739 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
7740 >        ac_fstrict_aliasing=yes
7741 > else
7742 >        ac_fstrict_aliasing=no
7743 > fi
7744 > rm -f conftest*
7745 >
7746 > fi
7747 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7748 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7749 > if test "$ac_fstrict_aliasing" = yes; then
7750 >        :
7751 >        CFLAGS="$CFLAGS -fstrict-aliasing"
7752 > else
7753 >        :
7754 >
7755 > fi
7756 >
7757 >  fi
7758 >
7759 >  CPU_FLAGS=""
7760 >  if test $ac_cv_prog_really_gcc = yes; then
7761 >                  case "${host_cpu}" in
7762 >          i586*)
7763 >
7764 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7765 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7766 > if test "${ac_cpu_pentium+set}" = set; then
7767 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7768 > else
7769 >  echo 'void f(){}' > conftest.c
7770 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
7771 >        ac_cpu_pentium=yes
7772 > else
7773 >        ac_cpu_pentium=no
7774 > fi
7775 > rm -f conftest*
7776 >
7777 > fi
7778 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7779 > echo "${ECHO_T}$ac_cpu_pentium" >&6
7780 > if test "$ac_cpu_pentium" = yes; then
7781 >        :
7782 >        CPU_FLAGS=-mcpu=pentium
7783 > else
7784 >        :
7785 >
7786 >
7787 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7788 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7789 > if test "${ac_pentium+set}" = set; then
7790 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7791 > else
7792 >  echo 'void f(){}' > conftest.c
7793 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
7794 >        ac_pentium=yes
7795 > else
7796 >        ac_pentium=no
7797 > fi
7798 > rm -f conftest*
7799 >
7800 > fi
7801 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7802 > echo "${ECHO_T}$ac_pentium" >&6
7803 > if test "$ac_pentium" = yes; then
7804 >        :
7805 >        CPU_FLAGS=-mpentium
7806 > else
7807 >        :
7808 >
7809 > fi
7810 >
7811 > fi
7812 >
7813 >                  ;;
7814 >          i686*)
7815 >
7816 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7817 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7818 > if test "${ac_cpu_pentiumpro+set}" = set; then
7819 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7820 > else
7821 >  echo 'void f(){}' > conftest.c
7822 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
7823 >        ac_cpu_pentiumpro=yes
7824 > else
7825 >        ac_cpu_pentiumpro=no
7826 > fi
7827 > rm -f conftest*
7828 >
7829 > fi
7830 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7831 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7832 > if test "$ac_cpu_pentiumpro" = yes; then
7833 >        :
7834 >        CPU_FLAGS=-mcpu=pentiumpro
7835 > else
7836 >        :
7837 >
7838 >
7839 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7840 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7841 > if test "${ac_pentiumpro+set}" = set; then
7842 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7843 > else
7844 >  echo 'void f(){}' > conftest.c
7845 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
7846 >        ac_pentiumpro=yes
7847 > else
7848 >        ac_pentiumpro=no
7849 > fi
7850 > rm -f conftest*
7851 >
7852 > fi
7853 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7854 > echo "${ECHO_T}$ac_pentiumpro" >&6
7855 > if test "$ac_pentiumpro" = yes; then
7856 >        :
7857 >        CPU_FLAGS=-mpentiumpro
7858 > else
7859 >        :
7860 >
7861 > fi
7862 >
7863 > fi
7864 >
7865 >                  ;;
7866 >          powerpc*)
7867 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
7868 >                is60x=`echo $cputype | egrep "^600-9e?$"`
7869 >                if test -n "$is60x"; then
7870 >
7871 >
7872 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7873 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7874 > if test "${ac_m_cpu_60x+set}" = set; then
7875 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7876 > else
7877 >  echo 'void f(){}' > conftest.c
7878 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
7879 >        ac_m_cpu_60x=yes
7880 > else
7881 >        ac_m_cpu_60x=no
7882 > fi
7883 > rm -f conftest*
7884 >
7885 > fi
7886 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7887 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
7888 > if test "$ac_m_cpu_60x" = yes; then
7889 >        :
7890 >        CPU_FLAGS=-mcpu=$cputype
7891 > else
7892 >        :
7893 >
7894 > fi
7895 >
7896 >                elif test "$cputype" = 750; then
7897 >
7898 >
7899 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7900 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7901 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7902 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7903 > else
7904 >
7905 > cat > conftest.c <<EOF
7906 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
7907 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
7908 >     yes;
7909 > #  endif
7910 > #endif
7911 > EOF
7912 > if { ac_try='${CC-cc} -E conftest.c'
7913 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 >  (eval $ac_try) 2>&5
7915 >  ac_status=$?
7916 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7918 >  ac_cv_prog_gcc_2_95=yes
7919 > else
7920 >  ac_cv_prog_gcc_2_95=no
7921 > fi
7922 >
7923 > fi
7924 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7925 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7926 > if test "$ac_cv_prog_gcc_2_95" = yes; then
7927 >        :
7928 >
7929 >
7930 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7931 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7932 > if test "${ac_m_cpu_750+set}" = set; then
7933 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7934 > else
7935 >  echo 'void f(){}' > conftest.c
7936 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
7937 >        ac_m_cpu_750=yes
7938 > else
7939 >        ac_m_cpu_750=no
7940 > fi
7941 > rm -f conftest*
7942 >
7943 > fi
7944 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7945 > echo "${ECHO_T}$ac_m_cpu_750" >&6
7946 > if test "$ac_m_cpu_750" = yes; then
7947 >        :
7948 >        CPU_FLAGS=-mcpu=750
7949 > else
7950 >        :
7951 >
7952 > fi
7953 >
7954 > else
7955 >        :
7956 >
7957 > fi
7958 >
7959 >                fi
7960 >                if test -z "$CPU_FLAGS"; then
7961 >
7962 >
7963 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7964 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7965 > if test "${ac_m_cpu_powerpc+set}" = set; then
7966 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7967 > else
7968 >  echo 'void f(){}' > conftest.c
7969 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
7970 >        ac_m_cpu_powerpc=yes
7971 > else
7972 >        ac_m_cpu_powerpc=no
7973 > fi
7974 > rm -f conftest*
7975 >
7976 > fi
7977 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7978 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7979 > if test "$ac_m_cpu_powerpc" = yes; then
7980 >        :
7981 >        CPU_FLAGS=-mcpu=powerpc
7982 > else
7983 >        :
7984 >
7985 > fi
7986 >
7987 >                fi
7988 >                if test -z "$CPU_FLAGS"; then
7989 >
7990 >
7991 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7992 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7993 > if test "${ac_m_powerpc+set}" = set; then
7994 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7995 > else
7996 >  echo 'void f(){}' > conftest.c
7997 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
7998 >        ac_m_powerpc=yes
7999 > else
8000 >        ac_m_powerpc=no
8001 > fi
8002 > rm -f conftest*
8003 >
8004 > fi
8005 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8006 > echo "${ECHO_T}$ac_m_powerpc" >&6
8007 > if test "$ac_m_powerpc" = yes; then
8008 >        :
8009 >        CPU_FLAGS=-mpowerpc
8010 > else
8011 >        :
8012 >
8013 > fi
8014 >
8015 >                fi
8016 >          esac
8017 >  fi
8018 >
8019 >  if test -n "$CPU_FLAGS"; then
8020 >        CFLAGS="$CFLAGS $CPU_FLAGS"
8021 >  fi
8022 >
8023 >  if test -z "$CFLAGS"; then
8024 >        echo ""
8025 >        echo "********************************************************"
8026 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
8027 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8028 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
8029 >        echo "********************************************************"
8030 >        echo ""
8031 >        CFLAGS="-O3"
8032 >  fi
8033 >
8034 >
8035 >
8036 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
8037 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
8038 > if test "${ac_guessed_cflags+set}" = set; then
8039 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8040 > else
8041 >  echo 'void f(){}' > conftest.c
8042 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
8043 >        ac_guessed_cflags=yes
8044 > else
8045 >        ac_guessed_cflags=no
8046 > fi
8047 > rm -f conftest*
8048 >
8049 > fi
8050 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
8051 > echo "${ECHO_T}$ac_guessed_cflags" >&6
8052 > if test "$ac_guessed_cflags" = yes; then
8053 >        :
8054 >
8055 > else
8056 >        :
8057 >
8058 >        echo ""
8059 >        echo "********************************************************"
8060 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
8061 >        echo "* your compiler.                                       *"
8062 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8063 >        echo "********************************************************"
8064 >        echo ""
8065 >        CFLAGS=""
8066 >
8067 > fi
8068 >
8069 >
8070 > fi
8071 >
8072 >
8073 >
8074 >
8075 >
8076 >
8077 >
8078 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
8079 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
8080 > if test "${ac_cv_prog_really_gxx+set}" = set; then
8081 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8082 > else
8083 >
8084 > cat > conftest.cpp <<EOF
8085 > #ifdef __GNUC__
8086 >  #ifndef __INTEL_COMPILER
8087 >     yes;
8088 >  #endif
8089 > #endif
8090 > EOF
8091 > if { ac_try='${CXX-c++} -E conftest.cpp'
8092 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8093 >  (eval $ac_try) 2>&5
8094 >  ac_status=$?
8095 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8097 >  ac_cv_prog_really_gxx=yes
8098 > else
8099 >  ac_cv_prog_really_gxx=no
8100 > fi
8101 >
8102 > fi
8103 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
8104 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
8105 > if test "$ac_cv_prog_really_gxx" = yes; then
8106 >        :
8107 >
8108 > else
8109 >        :
8110 >
8111 > fi
8112 >
8113 >
8114 > # Try to determine "good" native compiler flags if none specified on command
8115 > # line
8116 > if test "$ac_test_CXXFLAGS" != "set"; then
8117 >  CXXFLAGS=""
8118 >  case "${host_cpu}-${host_os}" in
8119 >
8120 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8121 >                    CXXFLAGS="-O"
8122 >                fi;;
8123 >  sparc-solaris2*) if test "$CXX" = CC; then
8124 >                    CXXFLAGS="-native -fast -xO5 -dalign"
8125 >                 fi;;
8126 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8127 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8128 >                fi;;
8129 >   powerpc*-aix*)
8130 >        if test "$CXX" = xlC; then
8131 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8132 >                echo "*******************************************************"
8133 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8134 >                echo "*  recommended that you use                           *"
8135 >                echo "*                                                     *"
8136 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8137 >                echo "*                                 ^^^                 *"
8138 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8139 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8140 >                echo "*******************************************************"
8141 >        fi;;
8142 >   *darwin*)
8143 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8144 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8145 >        fi;;
8146 >  esac
8147 >
8148 >  # use default flags for gcc on all systems
8149 >  if test $ac_cv_prog_really_gxx = yes; then
8150 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8151 >  fi
8152 >
8153 >  # test for gcc-specific flags:
8154 >  if test $ac_cv_prog_really_gxx = yes; then
8155 >    # -malign-double for x86 systems
8156 >
8157 >
8158 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8159 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8160 > if test "${ac_align_double+set}" = set; then
8161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8162 > else
8163 >  echo 'void f(){}' > conftest.cpp
8164 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8165 >        ac_align_double=yes
8166 > else
8167 >        ac_align_double=no
8168 > fi
8169 > rm -f conftest*
8170 >
8171 > fi
8172 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8173 > echo "${ECHO_T}$ac_align_double" >&6
8174 > if test "$ac_align_double" = yes; then
8175 >        :
8176 >        CXXFLAGS="$CXXFLAGS -malign-double"
8177 > else
8178 >        :
8179 >
8180 > fi
8181 >
8182 >    # -fstrict-aliasing for gcc-2.95+
8183 >
8184 >
8185 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8186 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8187 > if test "${ac_fstrict_aliasing+set}" = set; then
8188 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8189 > else
8190 >  echo 'void f(){}' > conftest.cpp
8191 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8192 >        ac_fstrict_aliasing=yes
8193 > else
8194 >        ac_fstrict_aliasing=no
8195 > fi
8196 > rm -f conftest*
8197 >
8198 > fi
8199 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8200 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8201 > if test "$ac_fstrict_aliasing" = yes; then
8202 >        :
8203 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8204 > else
8205 >        :
8206 >
8207 > fi
8208 >
8209 >  fi
8210 >
8211 >  CPU_FLAGS=""
8212 >  if test $ac_cv_prog_really_gxx = yes; then
8213 >                  case "${host_cpu}" in
8214 >          i586*)
8215 >
8216 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8217 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8218 > if test "${ac_cpu_pentium+set}" = set; then
8219 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8220 > else
8221 >  echo 'void f(){}' > conftest.cpp
8222 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8223 >        ac_cpu_pentium=yes
8224 > else
8225 >        ac_cpu_pentium=no
8226 > fi
8227 > rm -f conftest*
8228 >
8229 > fi
8230 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8231 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8232 > if test "$ac_cpu_pentium" = yes; then
8233 >        :
8234 >        CPU_FLAGS=-mcpu=pentium
8235 > else
8236 >        :
8237 >
8238 >
8239 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8240 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8241 > if test "${ac_pentium+set}" = set; then
8242 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8243 > else
8244 >  echo 'void f(){}' > conftest.cpp
8245 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8246 >        ac_pentium=yes
8247 > else
8248 >        ac_pentium=no
8249 > fi
8250 > rm -f conftest*
8251 >
8252 > fi
8253 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8254 > echo "${ECHO_T}$ac_pentium" >&6
8255 > if test "$ac_pentium" = yes; then
8256 >        :
8257 >        CPU_FLAGS=-mpentium
8258 > else
8259 >        :
8260 >
8261 > fi
8262 >
8263 > fi
8264 >
8265 >                  ;;
8266 >          i686*)
8267 >
8268 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8269 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8270 > if test "${ac_cpu_pentiumpro+set}" = set; then
8271 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8272 > else
8273 >  echo 'void f(){}' > conftest.cpp
8274 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8275 >        ac_cpu_pentiumpro=yes
8276 > else
8277 >        ac_cpu_pentiumpro=no
8278 > fi
8279 > rm -f conftest*
8280 >
8281 > fi
8282 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8283 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8284 > if test "$ac_cpu_pentiumpro" = yes; then
8285 >        :
8286 >        CPU_FLAGS=-mcpu=pentiumpro
8287 > else
8288 >        :
8289 >
8290 >
8291 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8292 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8293 > if test "${ac_pentiumpro+set}" = set; then
8294 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8295 > else
8296 >  echo 'void f(){}' > conftest.cpp
8297 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8298 >        ac_pentiumpro=yes
8299 > else
8300 >        ac_pentiumpro=no
8301 > fi
8302 > rm -f conftest*
8303 >
8304 > fi
8305 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8306 > echo "${ECHO_T}$ac_pentiumpro" >&6
8307 > if test "$ac_pentiumpro" = yes; then
8308 >        :
8309 >        CPU_FLAGS=-mpentiumpro
8310 > else
8311 >        :
8312 >
8313 > fi
8314 >
8315 > fi
8316 >
8317 >                  ;;
8318 >          powerpc*)
8319 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8320 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8321 >                if test -n "$is60x"; then
8322 >
8323 >
8324 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8325 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8326 > if test "${ac_m_cpu_60x+set}" = set; then
8327 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8328 > else
8329 >  echo 'void f(){}' > conftest.cpp
8330 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8331 >        ac_m_cpu_60x=yes
8332 > else
8333 >        ac_m_cpu_60x=no
8334 > fi
8335 > rm -f conftest*
8336 >
8337 > fi
8338 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8339 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8340 > if test "$ac_m_cpu_60x" = yes; then
8341 >        :
8342 >        CPU_FLAGS=-mcpu=$cputype
8343 > else
8344 >        :
8345 >
8346 > fi
8347 >
8348 >                elif test "$cputype" = 750; then
8349 >
8350 >
8351 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8352 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8353 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8354 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8355 > else
8356 >
8357 > cat > conftest.cpp <<EOF
8358 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8359 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8360 >     yes;
8361 > #  endif
8362 > #endif
8363 > EOF
8364 > if { ac_try='${CXX-c++} -E conftest.cpp'
8365 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 >  (eval $ac_try) 2>&5
8367 >  ac_status=$?
8368 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8370 >  ac_cv_prog_gxx_2_95=yes
8371 > else
8372 >  ac_cv_prog_gxx_2_95=no
8373 > fi
8374 >
8375 > fi
8376 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8377 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8378 > if test "$ac_cv_prog_gxx_2_95" = yes; then
8379 >        :
8380 >
8381 >
8382 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8383 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8384 > if test "${ac_m_cpu_750+set}" = set; then
8385 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8386 > else
8387 >  echo 'void f(){}' > conftest.cpp
8388 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
8389 >        ac_m_cpu_750=yes
8390 > else
8391 >        ac_m_cpu_750=no
8392 > fi
8393 > rm -f conftest*
8394 >
8395 > fi
8396 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8397 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8398 > if test "$ac_m_cpu_750" = yes; then
8399 >        :
8400 >        CPU_FLAGS=-mcpu=750
8401 > else
8402 >        :
8403 >
8404 > fi
8405 >
8406 > else
8407 >        :
8408 >
8409 > fi
8410 >
8411 >                fi
8412 >                if test -z "$CPU_FLAGS"; then
8413 >
8414 >
8415 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8416 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8417 > if test "${ac_m_cpu_powerpc+set}" = set; then
8418 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8419 > else
8420 >  echo 'void f(){}' > conftest.cpp
8421 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
8422 >        ac_m_cpu_powerpc=yes
8423 > else
8424 >        ac_m_cpu_powerpc=no
8425 > fi
8426 > rm -f conftest*
8427 >
8428 > fi
8429 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8430 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8431 > if test "$ac_m_cpu_powerpc" = yes; then
8432 >        :
8433 >        CPU_FLAGS=-mcpu=powerpc
8434 > else
8435 >        :
8436 >
8437 > fi
8438 >
8439 >                fi
8440 >                if test -z "$CPU_FLAGS"; then
8441 >
8442 >
8443 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8444 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8445 > if test "${ac_m_powerpc+set}" = set; then
8446 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8447 > else
8448 >  echo 'void f(){}' > conftest.cpp
8449 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
8450 >        ac_m_powerpc=yes
8451 > else
8452 >        ac_m_powerpc=no
8453 > fi
8454 > rm -f conftest*
8455 >
8456 > fi
8457 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8458 > echo "${ECHO_T}$ac_m_powerpc" >&6
8459 > if test "$ac_m_powerpc" = yes; then
8460 >        :
8461 >        CPU_FLAGS=-mpowerpc
8462 > else
8463 >        :
8464 >
8465 > fi
8466 >
8467 >                fi
8468 >          esac
8469 >  fi
8470 >
8471 >  if test -n "$CPU_FLAGS"; then
8472 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
8473 >  fi
8474 >
8475 >  if test -z "$CXXFLAGS"; then
8476 >        echo ""
8477 >        echo "**********************************************************"
8478 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
8479 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8480 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
8481 >        echo "**********************************************************"
8482 >        echo ""
8483 >        CXXFLAGS="-O3"
8484 >  fi
8485 >
8486 >
8487 >
8488 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8489 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8490 > if test "${ac_guessed_cxxflags+set}" = set; then
8491 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8492 > else
8493 >  echo 'void f(){}' > conftest.cpp
8494 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
8495 >        ac_guessed_cxxflags=yes
8496 > else
8497 >        ac_guessed_cxxflags=no
8498 > fi
8499 > rm -f conftest*
8500 >
8501 > fi
8502 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8503 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8504 > if test "$ac_guessed_cxxflags" = yes; then
8505 >        :
8506 >
8507 > else
8508 >        :
8509 >
8510 >        echo ""
8511 >        echo "**********************************************************"
8512 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
8513 >        echo "* your compiler.                                         *"
8514 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8515 >        echo "**********************************************************"
8516 >        echo ""
8517 >        CXXFLAGS=""
8518 >
8519 > fi
8520 >
8521 >
8522 > fi
8523 >
8524 >
8525 >
8526 >
8527 >
8528 > # Try to determine "good" native compiler flags if none specified on command
8529 > # line
8530 >
8531 > if test x"$F90FLAGS" = x ; then
8532 >  F90FLAGS=""
8533 >  case "${host_cpu}-${host_os}" in
8534 >
8535 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
8536 >                    F90FLAGS="-O"
8537 >                fi;;
8538 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
8539 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8540 >                fi;;
8541 >   powerpc*-aix*)
8542 >        if test "$F90" = f90 -o "$F90" = xlf90; then
8543 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
8544 >                echo "*******************************************************"
8545 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8546 >                echo "*  recommended that you use                           *"
8547 >                echo "*                                                     *"
8548 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8549 >                echo "*                                 ^^^                 *"
8550 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8551 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
8552 >                echo "*******************************************************"
8553 >        fi;;
8554 >   *darwin*)
8555 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
8556 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
8557 >        fi;;
8558 >  esac
8559 >
8560 >  if test -n "$CPU_FLAGS"; then
8561 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
8562 >  fi
8563 >
8564 >  if test -z "$F90FLAGS"; then
8565 >        echo ""
8566 >        echo "**********************************************************"
8567 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
8568 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8569 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
8570 >        echo "**********************************************************"
8571 >        echo ""
8572 >        F90FLAGS="-O3"
8573 >  fi
8574 >
8575 >
8576 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8577 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8578 > if test "${ac_guessed_f90flags+set}" = set; then
8579 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8580 > else
8581 >
8582 >
8583 >
8584 > ac_ext=f90
8585 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8586 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
8588 >
8589 > echo 'program main' > conftest.$ac_ext
8590 > echo 'end program main' >> conftest.$ac_ext
8591 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8592 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8593 >  (eval $ac_compile) 2>&5
8594 >  ac_status=$?
8595 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 >  (exit $ac_status); }; then
8597 >        ac_guessed_f90flags=yes
8598 > else
8599 >        ac_guessed_f90flags=no
8600 > fi
8601 > rm -f conftest*
8602 > ac_ext=c
8603 > ac_cpp='$CPP $CPPFLAGS'
8604 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8605 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8606 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8607 >
8608 >
8609 > fi
8610 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8611 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
8612 > if test "$ac_guessed_f90flags" = yes; then
8613 >        :
8614 >
8615 > else
8616 >        :
8617 >
8618 >        echo ""
8619 >        echo "**********************************************************"
8620 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
8621 >        echo "* your compiler.                                         *"
8622 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8623 >        echo "**********************************************************"
8624 >        echo ""
8625 >        F90FLAGS=""
8626 >
8627 > fi
8628 >
8629 >
8630 > fi
8631 >
8632 >     ;;
8633 > esac
8634 >
8635 > # Find a good install program.  We prefer a C program (faster),
8636 > # so one script is as good as another.  But avoid the broken or
8637 > # incompatible versions:
8638 > # SysV /etc/install, /usr/sbin/install
8639 > # SunOS /usr/etc/install
8640 > # IRIX /sbin/install
8641 > # AIX /bin/install
8642 > # AmigaOS /C/install, which installs bootblocks on floppy discs
8643 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8644 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8645 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8646 > # OS/2's system install, which has a completely different semantic
8647 > # ./install, which can be erroneously created by make from ./install.sh.
8648 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8649 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8650 > if test -z "$INSTALL"; then
8651 > if test "${ac_cv_path_install+set}" = set; then
8652 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8653 > else
8654 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 > for as_dir in $PATH
8656 > do
8657 >  IFS=$as_save_IFS
8658 >  test -z "$as_dir" && as_dir=.
8659 >  # Account for people who put trailing slashes in PATH elements.
8660 > case $as_dir/ in
8661 >  ./ | .// | /cC/* | \
8662 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8663 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8664 >  /usr/ucb/* ) ;;
8665 >  *)
8666 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8667 >    # Don't use installbsd from OSF since it installs stuff as root
8668 >    # by default.
8669 >    for ac_prog in ginstall scoinst install; do
8670 >      for ac_exec_ext in '' $ac_executable_extensions; do
8671 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8672 >          if test $ac_prog = install &&
8673 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8674 >            # AIX install.  It has an incompatible calling convention.
8675 >            :
8676 >          elif test $ac_prog = install &&
8677 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8678 >            # program-specific install script used by HP pwplus--don't use.
8679 >            :
8680 >          else
8681 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8682 >            break 3
8683 >          fi
8684 >        fi
8685 >      done
8686 >    done
8687 >    ;;
8688 > esac
8689 > done
8690 >
8691 >
8692 > fi
8693 >  if test "${ac_cv_path_install+set}" = set; then
8694 >    INSTALL=$ac_cv_path_install
8695 >  else
8696 >    # As a last resort, use the slow shell script.  We don't cache a
8697 >    # path for INSTALL within a source directory, because that will
8698 >    # break other packages using the cache if that directory is
8699 >    # removed, or if the path is relative.
8700 >    INSTALL=$ac_install_sh
8701 >  fi
8702 > fi
8703 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8704 > echo "${ECHO_T}$INSTALL" >&6
8705 >
8706 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8707 > # It thinks the first close brace ends the variable substitution.
8708 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8709 >
8710 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8711 >
8712 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8713 >
8714 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8715 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8716 > LN_S=$as_ln_s
8717 > if test "$LN_S" = "ln -s"; then
8718 >  echo "$as_me:$LINENO: result: yes" >&5
8719 > echo "${ECHO_T}yes" >&6
8720 > else
8721 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8722 > echo "${ECHO_T}no, using $LN_S" >&6
8723 > fi
8724 >
8725 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8726 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8727 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8728 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8729 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8730 > else
8731 >  cat >conftest.make <<\_ACEOF
8732 > all:
8733 >        @echo 'ac_maketemp="$(MAKE)"'
8734 > _ACEOF
8735 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8736 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8737 > if test -n "$ac_maketemp"; then
8738 >  eval ac_cv_prog_make_${ac_make}_set=yes
8739 > else
8740 >  eval ac_cv_prog_make_${ac_make}_set=no
8741 > fi
8742 > rm -f conftest.make
8743 > fi
8744 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8745 >  echo "$as_me:$LINENO: result: yes" >&5
8746 > echo "${ECHO_T}yes" >&6
8747 >  SET_MAKE=
8748 > else
8749 >  echo "$as_me:$LINENO: result: no" >&5
8750 > echo "${ECHO_T}no" >&6
8751 >  SET_MAKE="MAKE=${MAKE-make}"
8752 > fi
8753 >
8754 > if test -n "$ac_tool_prefix"; then
8755 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8756 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8757 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8758 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8759 > if test "${ac_cv_prog_RANLIB+set}" = set; then
8760 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8761 > else
8762 >  if test -n "$RANLIB"; then
8763 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8764 > else
8765 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8766 > for as_dir in $PATH
8767 > do
8768 >  IFS=$as_save_IFS
8769 >  test -z "$as_dir" && as_dir=.
8770 >  for ac_exec_ext in '' $ac_executable_extensions; do
8771 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8772 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8773 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 >    break 2
8775 >  fi
8776 > done
8777 > done
8778 >
8779 > fi
8780 > fi
8781 > RANLIB=$ac_cv_prog_RANLIB
8782 > if test -n "$RANLIB"; then
8783 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8784 > echo "${ECHO_T}$RANLIB" >&6
8785 > else
8786 >  echo "$as_me:$LINENO: result: no" >&5
8787 > echo "${ECHO_T}no" >&6
8788 > fi
8789 >
8790 > fi
8791 > if test -z "$ac_cv_prog_RANLIB"; then
8792 >  ac_ct_RANLIB=$RANLIB
8793 >  # Extract the first word of "ranlib", so it can be a program name with args.
8794 > set dummy ranlib; 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_ac_ct_RANLIB+set}" = set; then
8798 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8799 > else
8800 >  if test -n "$ac_ct_RANLIB"; then
8801 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
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 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8818 > fi
8819 > fi
8820 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8821 > if test -n "$ac_ct_RANLIB"; then
8822 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8823 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
8824 > else
8825 >  echo "$as_me:$LINENO: result: no" >&5
8826 > echo "${ECHO_T}no" >&6
8827 > fi
8828 >
8829 >  RANLIB=$ac_ct_RANLIB
8830 > else
8831 >  RANLIB="$ac_cv_prog_RANLIB"
8832 > fi
8833 >
8834 > for ac_prog in 'bison -y' byacc
8835 > do
8836 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8837 > set dummy $ac_prog; ac_word=$2
8838 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8839 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8840 > if test "${ac_cv_prog_YACC+set}" = set; then
8841 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8842 > else
8843 >  if test -n "$YACC"; then
8844 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
8845 > else
8846 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 > for as_dir in $PATH
8848 > do
8849 >  IFS=$as_save_IFS
8850 >  test -z "$as_dir" && as_dir=.
8851 >  for ac_exec_ext in '' $ac_executable_extensions; do
8852 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 >    ac_cv_prog_YACC="$ac_prog"
8854 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 >    break 2
8856 >  fi
8857 > done
8858 > done
8859 >
8860 > fi
8861 > fi
8862 > YACC=$ac_cv_prog_YACC
8863 > if test -n "$YACC"; then
8864 >  echo "$as_me:$LINENO: result: $YACC" >&5
8865 > echo "${ECHO_T}$YACC" >&6
8866 > else
8867 >  echo "$as_me:$LINENO: result: no" >&5
8868 > echo "${ECHO_T}no" >&6
8869 > fi
8870 >
8871 >  test -n "$YACC" && break
8872 > done
8873 > test -n "$YACC" || YACC="yacc"
8874 >
8875 > for ac_prog in flex lex
8876 > do
8877 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8878 > set dummy $ac_prog; ac_word=$2
8879 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8880 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8881 > if test "${ac_cv_prog_LEX+set}" = set; then
8882 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8883 > else
8884 >  if test -n "$LEX"; then
8885 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
8886 > else
8887 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 > for as_dir in $PATH
8889 > do
8890 >  IFS=$as_save_IFS
8891 >  test -z "$as_dir" && as_dir=.
8892 >  for ac_exec_ext in '' $ac_executable_extensions; do
8893 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 >    ac_cv_prog_LEX="$ac_prog"
8895 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8896 >    break 2
8897 >  fi
8898 > done
8899 > done
8900 >
8901 > fi
8902 > fi
8903 > LEX=$ac_cv_prog_LEX
8904 > if test -n "$LEX"; then
8905 >  echo "$as_me:$LINENO: result: $LEX" >&5
8906 > echo "${ECHO_T}$LEX" >&6
8907 > else
8908 >  echo "$as_me:$LINENO: result: no" >&5
8909 > echo "${ECHO_T}no" >&6
8910 > fi
8911 >
8912 >  test -n "$LEX" && break
8913 > done
8914 > test -n "$LEX" || LEX=":"
8915 >
8916 > if test -z "$LEXLIB"
8917 > then
8918 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8919 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8920 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8921 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8922 > else
8923 >  ac_check_lib_save_LIBS=$LIBS
8924 > LIBS="-lfl  $LIBS"
8925 > cat >conftest.$ac_ext <<_ACEOF
8926 > /* confdefs.h.  */
8927 > _ACEOF
8928 > cat confdefs.h >>conftest.$ac_ext
8929 > cat >>conftest.$ac_ext <<_ACEOF
8930 > /* end confdefs.h.  */
8931 >
8932 > /* Override any gcc2 internal prototype to avoid an error.  */
8933 > #ifdef __cplusplus
8934 > extern "C"
8935 > #endif
8936 > /* We use char because int might match the return type of a gcc2
8937 >   builtin and then its argument prototype would still apply.  */
8938 > char yywrap ();
8939 > int
8940 > main ()
8941 > {
8942 > yywrap ();
8943 >  ;
8944 >  return 0;
8945 > }
8946 > _ACEOF
8947 > rm -f conftest.$ac_objext conftest$ac_exeext
8948 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8949 >  (eval $ac_link) 2>conftest.er1
8950 >  ac_status=$?
8951 >  grep -v '^ *+' conftest.er1 >conftest.err
8952 >  rm -f conftest.er1
8953 >  cat conftest.err >&5
8954 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 >  (exit $ac_status); } &&
8956 >         { ac_try='test -z "$ac_c_werror_flag"
8957 >                         || test ! -s conftest.err'
8958 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 >  (eval $ac_try) 2>&5
8960 >  ac_status=$?
8961 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 >  (exit $ac_status); }; } &&
8963 >         { ac_try='test -s conftest$ac_exeext'
8964 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 >  (eval $ac_try) 2>&5
8966 >  ac_status=$?
8967 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 >  (exit $ac_status); }; }; then
8969 >  ac_cv_lib_fl_yywrap=yes
8970 > else
8971 >  echo "$as_me: failed program was:" >&5
8972 > sed 's/^/| /' conftest.$ac_ext >&5
8973 >
8974 > ac_cv_lib_fl_yywrap=no
8975 > fi
8976 > rm -f conftest.err conftest.$ac_objext \
8977 >      conftest$ac_exeext conftest.$ac_ext
8978 > LIBS=$ac_check_lib_save_LIBS
8979 > fi
8980 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8981 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8982 > if test $ac_cv_lib_fl_yywrap = yes; then
8983 >  LEXLIB="-lfl"
8984 > else
8985 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8986 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8987 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
8988 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8989 > else
8990 >  ac_check_lib_save_LIBS=$LIBS
8991 > LIBS="-ll  $LIBS"
8992 > cat >conftest.$ac_ext <<_ACEOF
8993 > /* confdefs.h.  */
8994 > _ACEOF
8995 > cat confdefs.h >>conftest.$ac_ext
8996 > cat >>conftest.$ac_ext <<_ACEOF
8997 > /* end confdefs.h.  */
8998 >
8999 > /* Override any gcc2 internal prototype to avoid an error.  */
9000 > #ifdef __cplusplus
9001 > extern "C"
9002 > #endif
9003 > /* We use char because int might match the return type of a gcc2
9004 >   builtin and then its argument prototype would still apply.  */
9005 > char yywrap ();
9006 > int
9007 > main ()
9008 > {
9009 > yywrap ();
9010 >  ;
9011 >  return 0;
9012 > }
9013 > _ACEOF
9014 > rm -f conftest.$ac_objext conftest$ac_exeext
9015 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9016 >  (eval $ac_link) 2>conftest.er1
9017 >  ac_status=$?
9018 >  grep -v '^ *+' conftest.er1 >conftest.err
9019 >  rm -f conftest.er1
9020 >  cat conftest.err >&5
9021 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 >  (exit $ac_status); } &&
9023 >         { ac_try='test -z "$ac_c_werror_flag"
9024 >                         || test ! -s conftest.err'
9025 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 >  (eval $ac_try) 2>&5
9027 >  ac_status=$?
9028 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 >  (exit $ac_status); }; } &&
9030 >         { ac_try='test -s conftest$ac_exeext'
9031 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 >  (eval $ac_try) 2>&5
9033 >  ac_status=$?
9034 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 >  (exit $ac_status); }; }; then
9036 >  ac_cv_lib_l_yywrap=yes
9037 > else
9038 >  echo "$as_me: failed program was:" >&5
9039 > sed 's/^/| /' conftest.$ac_ext >&5
9040 >
9041 > ac_cv_lib_l_yywrap=no
9042 > fi
9043 > rm -f conftest.err conftest.$ac_objext \
9044 >      conftest$ac_exeext conftest.$ac_ext
9045 > LIBS=$ac_check_lib_save_LIBS
9046 > fi
9047 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9048 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9049 > if test $ac_cv_lib_l_yywrap = yes; then
9050 >  LEXLIB="-ll"
9051 > fi
9052 >
9053 > fi
9054 >
9055 > fi
9056 >
9057 > if test "x$LEX" != "x:"; then
9058 >  echo "$as_me:$LINENO: checking lex output file root" >&5
9059 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9060 > if test "${ac_cv_prog_lex_root+set}" = set; then
9061 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9062 > else
9063 >  # The minimal lex program is just a single line: %%.  But some broken lexes
9064 > # (Solaris, I think it was) want two %% lines, so accommodate them.
9065 > cat >conftest.l <<_ACEOF
9066 > %%
9067 > %%
9068 > _ACEOF
9069 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9070 >  (eval $LEX conftest.l) 2>&5
9071 >  ac_status=$?
9072 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 >  (exit $ac_status); }
9074 > if test -f lex.yy.c; then
9075 >  ac_cv_prog_lex_root=lex.yy
9076 > elif test -f lexyy.c; then
9077 >  ac_cv_prog_lex_root=lexyy
9078 > else
9079 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9080 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9081 >   { (exit 1); exit 1; }; }
9082 > fi
9083 > fi
9084 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9085 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9086 > rm -f conftest.l
9087 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9088 >
9089 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9090 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9091 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9092 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9093 > else
9094 >  # POSIX says lex can declare yytext either as a pointer or an array; the
9095 > # default is implementation-dependent. Figure out which it is, since
9096 > # not all implementations provide the %pointer and %array declarations.
9097 > ac_cv_prog_lex_yytext_pointer=no
9098 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9099 > ac_save_LIBS=$LIBS
9100 > LIBS="$LIBS $LEXLIB"
9101 > cat >conftest.$ac_ext <<_ACEOF
9102 > `cat $LEX_OUTPUT_ROOT.c`
9103 > _ACEOF
9104 > rm -f conftest.$ac_objext conftest$ac_exeext
9105 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 >  (eval $ac_link) 2>conftest.er1
9107 >  ac_status=$?
9108 >  grep -v '^ *+' conftest.er1 >conftest.err
9109 >  rm -f conftest.er1
9110 >  cat conftest.err >&5
9111 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 >  (exit $ac_status); } &&
9113 >         { ac_try='test -z "$ac_c_werror_flag"
9114 >                         || test ! -s conftest.err'
9115 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 >  (eval $ac_try) 2>&5
9117 >  ac_status=$?
9118 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 >  (exit $ac_status); }; } &&
9120 >         { ac_try='test -s conftest$ac_exeext'
9121 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 >  (eval $ac_try) 2>&5
9123 >  ac_status=$?
9124 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 >  (exit $ac_status); }; }; then
9126 >  ac_cv_prog_lex_yytext_pointer=yes
9127 > else
9128 >  echo "$as_me: failed program was:" >&5
9129 > sed 's/^/| /' conftest.$ac_ext >&5
9130 >
9131 > fi
9132 > rm -f conftest.err conftest.$ac_objext \
9133 >      conftest$ac_exeext conftest.$ac_ext
9134 > LIBS=$ac_save_LIBS
9135 > rm -f "${LEX_OUTPUT_ROOT}.c"
9136 >
9137 > fi
9138 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9139 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9140 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9141 >
9142 > cat >>confdefs.h <<\_ACEOF
9143 > #define YYTEXT_POINTER 1
9144 > _ACEOF
9145 >
9146 > fi
9147 >
9148 > fi
9149 >
9150 >   # Extract the first word of "perl", so it can be a program name with args.
9151 > set dummy perl; ac_word=$2
9152 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9153 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9154 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9155 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9156 > else
9157 >  case $PERLINTERP in
9158 >  [\\/]* | ?:[\\/]*)
9159 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9160 >  ;;
9161 >  *)
9162 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 > for as_dir in $PATH
9164 > do
9165 >  IFS=$as_save_IFS
9166 >  test -z "$as_dir" && as_dir=.
9167 >  for ac_exec_ext in '' $ac_executable_extensions; do
9168 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9169 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9170 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9171 >    break 2
9172 >  fi
9173 > done
9174 > done
9175 >
9176 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9177 >  ;;
9178 > esac
9179 > fi
9180 > PERLINTERP=$ac_cv_path_PERLINTERP
9181 >
9182 > if test -n "$PERLINTERP"; then
9183 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9184 > echo "${ECHO_T}$PERLINTERP" >&6
9185 > else
9186 >  echo "$as_me:$LINENO: result: no" >&5
9187 > echo "${ECHO_T}no" >&6
9188 > fi
9189 >
9190 >   ac_cv_path_perlinterp="$PERLINTERP"
9191 >   _sHpB='#!'
9192 >
9193 >
9194 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9195 > if test "${with_perl_shebang+set}" = set; then
9196 >  withval="$with_perl_shebang"
9197 >  opt_perl_shebang="$withval"
9198 > else
9199 >                opt_perl_shebang="not_set"
9200 > fi;
9201 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9202 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9203 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9204 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9205 > else
9206 >   case "$opt_perl_shebang" in
9207 >                      not_set  ) ax_cv_opt_perl_shebang=''
9208 >                               ;;
9209 >                         *     )
9210 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9211 >                    esac
9212 >
9213 > fi
9214 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9215 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9216 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9217 >     then
9218 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9219 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9220 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9221 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9222 >
9223 > # Automatic detection of sharpbang formula starts here
9224 >     else
9225 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9226 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9227 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9228 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9229 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9230 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9231 > else
9232 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9233 >        if test "x$_somian_kspb_perl" == x
9234 >          then _somian_ksbp_warn_empty='durnit'
9235 >          else
9236 >          case "A$_somian_kspb_perl" in
9237 >                 A#!*perl* )
9238 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9239 >                        ;;
9240 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9241 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9242 >          esac
9243 >        fi
9244 >
9245 > fi
9246 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9247 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9248 > # The above prints Checking ... result message to user.
9249 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9250 >
9251 >    if test A${_somian_ksbp_warn_empty+set} == Aset
9252 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9253 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9254 >    fi
9255 > # Inform user after printing result value
9256 >    if test A${_somian_ksbp_warn_defau+set} == Aset
9257 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9258 > echo "$as_me: Maybe Not good -" >&6;}
9259 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9260 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9261 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
9262 > echo "$as_me: OK Good result - " >&6;}
9263 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9264 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9265 >    fi
9266 >  fi
9267 >
9268 > # Extract the first word of "ar", so it can be a program name with args.
9269 > set dummy ar; ac_word=$2
9270 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9271 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9272 > if test "${ac_cv_prog_AR+set}" = set; then
9273 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9274 > else
9275 >  if test -n "$AR"; then
9276 >  ac_cv_prog_AR="$AR" # Let the user override the test.
9277 > else
9278 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 > for as_dir in $PATH
9280 > do
9281 >  IFS=$as_save_IFS
9282 >  test -z "$as_dir" && as_dir=.
9283 >  for ac_exec_ext in '' $ac_executable_extensions; do
9284 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9285 >    ac_cv_prog_AR="ar"
9286 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 >    break 2
9288 >  fi
9289 > done
9290 > done
9291 >
9292 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9293 > fi
9294 > fi
9295 > AR=$ac_cv_prog_AR
9296 > if test -n "$AR"; then
9297 >  echo "$as_me:$LINENO: result: $AR" >&5
9298 > echo "${ECHO_T}$AR" >&6
9299 > else
9300 >  echo "$as_me:$LINENO: result: no" >&5
9301 > echo "${ECHO_T}no" >&6
9302 > fi
9303 >
9304 > if test "$AR" = "NONE"; then
9305 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9306 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9307 >   { (exit 1); exit 1; }; }
9308 >  cat >confcache <<\_ACEOF
9309 > # This file is a shell script that caches the results of configure
9310 > # tests run on this system so they can be shared between configure
9311 > # scripts and configure runs, see configure's option --config-cache.
9312 > # It is not useful on other systems.  If it contains results you don't
9313 > # want to keep, you may remove or edit it.
9314 > #
9315 > # config.status only pays attention to the cache file if you give it
9316 > # the --recheck option to rerun configure.
9317 > #
9318 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9319 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
9320 > # following values.
9321 >
9322 > _ACEOF
9323 >
9324 > # The following way of writing the cache mishandles newlines in values,
9325 > # but we know of no workaround that is simple, portable, and efficient.
9326 > # So, don't put newlines in cache variables' values.
9327 > # Ultrix sh set writes to stderr and can't be redirected directly,
9328 > # and sets the high bit in the cache file unless we assign to the vars.
9329 > {
9330 >  (set) 2>&1 |
9331 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9332 >    *ac_space=\ *)
9333 >      # `set' does not quote correctly, so add quotes (double-quote
9334 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
9335 >      sed -n \
9336 >        "s/'/'\\\\''/g;
9337 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9338 >      ;;
9339 >    *)
9340 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
9341 >      sed -n \
9342 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9343 >      ;;
9344 >    esac;
9345 > } |
9346 >  sed '
9347 >     t clear
9348 >     : clear
9349 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9350 >     t end
9351 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9352 >     : end' >>confcache
9353 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9354 >  if test -w $cache_file; then
9355 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9356 >    cat confcache >$cache_file
9357 >  else
9358 >    echo "not updating unwritable cache $cache_file"
9359 >  fi
9360 > fi
9361 > rm -f confcache
9362 >  exit 1
9363 > fi
9364 >
9365 > # Extract the first word of "ps", so it can be a program name with args.
9366 > set dummy ps; ac_word=$2
9367 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9368 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9369 > if test "${ac_cv_path_PS+set}" = set; then
9370 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9371 > else
9372 >  case $PS in
9373 >  [\\/]* | ?:[\\/]*)
9374 >  ac_cv_path_PS="$PS" # Let the user override the test with a path.
9375 >  ;;
9376 >  *)
9377 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9378 > for as_dir in $PATH
9379 > do
9380 >  IFS=$as_save_IFS
9381 >  test -z "$as_dir" && as_dir=.
9382 >  for ac_exec_ext in '' $ac_executable_extensions; do
9383 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9384 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9385 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9386 >    break 2
9387 >  fi
9388 > done
9389 > done
9390 >
9391 >  ;;
9392 > esac
9393 > fi
9394 > PS=$ac_cv_path_PS
9395 >
9396 > if test -n "$PS"; then
9397 >  echo "$as_me:$LINENO: result: $PS" >&5
9398 > echo "${ECHO_T}$PS" >&6
9399 > else
9400 >  echo "$as_me:$LINENO: result: no" >&5
9401 > echo "${ECHO_T}no" >&6
9402 > fi
9403 >
9404 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9405 > echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9406 > if test "${ac_cv_prog_ps_syntax+set}" = set; then
9407 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9408 > else
9409 >
9410 >        if $PS ax -o rss > /dev/null 2>&1; then
9411 >                ac_cv_prog_ps_ax=yes
9412 >        else
9413 >                ac_cv_prog_ps_ax=no
9414 >        fi
9415 >        if $PS -ef -o rss > /dev/null 2>&1; then
9416 >                ac_cv_prog_ps_ef=yes
9417 >        else
9418 >                ac_cv_prog_ps_ef=no
9419 >        fi
9420 >        if test "$ac_cv_prog_ps_ax" = yes; then
9421 >                ac_cv_prog_ps_syntax=BSD
9422 >        else
9423 >                if test "$ac_cv_prog_ps_ef" = yes; then
9424 >                        ac_cv_prog_ps_syntax=POSIX
9425 >                else
9426 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9427 > echo "$as_me: error: Could not determine ps syntax" >&2;}
9428 >   { (exit 1); exit 1; }; }
9429 >                fi
9430 >        fi
9431 >
9432 > fi
9433 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9434 > echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9435 >
9436 >
9437 > cat >>confdefs.h <<_ACEOF
9438 > #define PSCOMMAND $PS
9439 > _ACEOF
9440 >
9441 >
9442 > cat >>confdefs.h <<\_ACEOF
9443 > #define OBAPI
9444 > _ACEOF
9445 >
9446 >
9447 >
9448 > if test "$ac_cv_prog_ps_syntax" = BSD; then
9449 >  cat >>confdefs.h <<\_ACEOF
9450 > #define PSTYPE_IS_BSD 1
9451 > _ACEOF
9452 >
9453 > else
9454 >   if test "$ac_cv_prog_ps_syntax" = POSIX; then
9455 >       cat >>confdefs.h <<\_ACEOF
9456 > #define PSTYPE_IS_POSIX 1
9457 > _ACEOF
9458 >
9459 >   else
9460 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9461 > echo "$as_me: error: Unknown ps syntax type!" >&2;}
9462 >   { (exit 1); exit 1; }; }
9463 >   fi
9464 > fi
9465 >
9466 >
9467 > # Check whether --with-mpi or --without-mpi was given.
9468 > if test "${with_mpi+set}" = set; then
9469 >  withval="$with_mpi"
9470 >  with_mpi=$withval
9471 > else
9472 >  with_mpi="no"
9473 > fi;
9474 >
9475 > case "x$with_mpi" in
9476 >        xyes | "x")  USE_MPI=yes;;
9477 >        xno) USE_MPI=no ;;
9478 >        *) MPI="$with_mpi"; USE_MPI=yes ;;
9479 > esac
9480 > if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
9481 >        MPI="/usr/local"
9482 > fi
9483 > if test "$USE_MPI" = "yes"; then
9484 >
9485 >
9486 > # Set variables...
9487 > MPI_LIB_DIR="$MPI/lib"
9488 > MPI_INC_DIR="$MPI/include"
9489 >
9490 >
9491 >
9492 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9493 > echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9494 > have_mpi_h=0
9495 > rm -f conftest*
9496 > echo '#include <mpi.h>' > conftest.cc
9497 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9498 >        echo "$as_me:$LINENO: result: yes" >&5
9499 > echo "${ECHO_T}yes" >&6
9500 >        have_mpi_h=1
9501 > else
9502 >        if test -s conftest.out ; then
9503 >                cat conftest.out >> config.log
9504 >        fi
9505 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9506 > echo "${ECHO_T}no! Check MPI include paths" >&6
9507 >        USE_MPI="no"
9508 > fi
9509 > rm -f conftest*
9510 > if test "$have_mpi_h" = 1; then
9511 >
9512 > cat >>confdefs.h <<\_ACEOF
9513 > #define HAVE_MPI_H 1
9514 > _ACEOF
9515 >
9516 > fi
9517 >
9518 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9519 > echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9520 > have_mpif_h=0
9521 > rm -f conftest*
9522 > cat >conftest.f90 <<EOF
9523 > program main
9524 >   include 'mpif.h'
9525 > end
9526 > EOF
9527 > if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9528 >        echo "$as_me:$LINENO: result: yes" >&5
9529 > echo "${ECHO_T}yes" >&6
9530 >        MPI_F90_INC="$MPI_INC_DIR"
9531 >        have_mpif_h=1
9532 > else
9533 >        if test -s conftest.out ; then
9534 >                cat conftest.out >> config.log
9535 >        fi
9536 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9537 > echo "${ECHO_T}no! Check MPI include paths" >&6
9538 >        USE_MPI="no"
9539 > fi
9540 > rm -f conftest*
9541 >
9542 > if test "$have_mpif_h" = 1; then
9543 >
9544 > cat >>confdefs.h <<\_ACEOF
9545 > #define HAVE_MPIF_H 1
9546 > _ACEOF
9547 >
9548 > fi
9549 >
9550 > ac_ext=c
9551 > ac_cpp='$CPP $CPPFLAGS'
9552 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9553 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9554 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9555 >
9556 > ac_save_LDFLAGS=$LDFLAGS
9557 > LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9558 >
9559 > if test x = x"$MPI_LIB"; then
9560 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9561 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9562 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9563 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9564 > else
9565 >  ac_check_lib_save_LIBS=$LIBS
9566 > LIBS="-lmpich  $LIBS"
9567 > cat >conftest.$ac_ext <<_ACEOF
9568 > /* confdefs.h.  */
9569 > _ACEOF
9570 > cat confdefs.h >>conftest.$ac_ext
9571 > cat >>conftest.$ac_ext <<_ACEOF
9572 > /* end confdefs.h.  */
9573 >
9574 > /* Override any gcc2 internal prototype to avoid an error.  */
9575 > #ifdef __cplusplus
9576 > extern "C"
9577 > #endif
9578 > /* We use char because int might match the return type of a gcc2
9579 >   builtin and then its argument prototype would still apply.  */
9580 > char MPI_Init ();
9581 > int
9582 > main ()
9583 > {
9584 > MPI_Init ();
9585 >  ;
9586 >  return 0;
9587 > }
9588 > _ACEOF
9589 > rm -f conftest.$ac_objext conftest$ac_exeext
9590 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591 >  (eval $ac_link) 2>conftest.er1
9592 >  ac_status=$?
9593 >  grep -v '^ *+' conftest.er1 >conftest.err
9594 >  rm -f conftest.er1
9595 >  cat conftest.err >&5
9596 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 >  (exit $ac_status); } &&
9598 >         { ac_try='test -z "$ac_c_werror_flag"
9599 >                         || test ! -s conftest.err'
9600 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601 >  (eval $ac_try) 2>&5
9602 >  ac_status=$?
9603 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 >  (exit $ac_status); }; } &&
9605 >         { ac_try='test -s conftest$ac_exeext'
9606 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 >  (eval $ac_try) 2>&5
9608 >  ac_status=$?
9609 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 >  (exit $ac_status); }; }; then
9611 >  ac_cv_lib_mpich_MPI_Init=yes
9612 > else
9613 >  echo "$as_me: failed program was:" >&5
9614 > sed 's/^/| /' conftest.$ac_ext >&5
9615 >
9616 > ac_cv_lib_mpich_MPI_Init=no
9617 > fi
9618 > rm -f conftest.err conftest.$ac_objext \
9619 >      conftest$ac_exeext conftest.$ac_ext
9620 > LIBS=$ac_check_lib_save_LIBS
9621 > fi
9622 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9623 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9624 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9625 >  MPI_LIB="-lmpich"
9626 > fi
9627 >
9628 > fi
9629 > if test x = x"$MPI_LIB"; then
9630 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9631 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9632 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9633 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9634 > else
9635 >  ac_check_lib_save_LIBS=$LIBS
9636 > LIBS="-lmpi  $LIBS"
9637 > cat >conftest.$ac_ext <<_ACEOF
9638 > /* confdefs.h.  */
9639 > _ACEOF
9640 > cat confdefs.h >>conftest.$ac_ext
9641 > cat >>conftest.$ac_ext <<_ACEOF
9642 > /* end confdefs.h.  */
9643 >
9644 > /* Override any gcc2 internal prototype to avoid an error.  */
9645 > #ifdef __cplusplus
9646 > extern "C"
9647 > #endif
9648 > /* We use char because int might match the return type of a gcc2
9649 >   builtin and then its argument prototype would still apply.  */
9650 > char MPI_Init ();
9651 > int
9652 > main ()
9653 > {
9654 > MPI_Init ();
9655 >  ;
9656 >  return 0;
9657 > }
9658 > _ACEOF
9659 > rm -f conftest.$ac_objext conftest$ac_exeext
9660 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9661 >  (eval $ac_link) 2>conftest.er1
9662 >  ac_status=$?
9663 >  grep -v '^ *+' conftest.er1 >conftest.err
9664 >  rm -f conftest.er1
9665 >  cat conftest.err >&5
9666 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 >  (exit $ac_status); } &&
9668 >         { ac_try='test -z "$ac_c_werror_flag"
9669 >                         || test ! -s conftest.err'
9670 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 >  (eval $ac_try) 2>&5
9672 >  ac_status=$?
9673 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 >  (exit $ac_status); }; } &&
9675 >         { ac_try='test -s conftest$ac_exeext'
9676 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 >  (eval $ac_try) 2>&5
9678 >  ac_status=$?
9679 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 >  (exit $ac_status); }; }; then
9681 >  ac_cv_lib_mpi_MPI_Init=yes
9682 > else
9683 >  echo "$as_me: failed program was:" >&5
9684 > sed 's/^/| /' conftest.$ac_ext >&5
9685 >
9686 > ac_cv_lib_mpi_MPI_Init=no
9687 > fi
9688 > rm -f conftest.err conftest.$ac_objext \
9689 >      conftest$ac_exeext conftest.$ac_ext
9690 > LIBS=$ac_check_lib_save_LIBS
9691 > fi
9692 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9693 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9694 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9695 >  MPI_LIB="-lmpi"
9696 > fi
9697 >
9698 > fi
9699 > $as_unset ac_cv_lib_mpi_MPI_Init
9700 > if test x = x"$MPI_LIB"; then
9701 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9702 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9703 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9704 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9705 > else
9706 >  ac_check_lib_save_LIBS=$LIBS
9707 > LIBS="-lmpi "-llam" $LIBS"
9708 > cat >conftest.$ac_ext <<_ACEOF
9709 > /* confdefs.h.  */
9710 > _ACEOF
9711 > cat confdefs.h >>conftest.$ac_ext
9712 > cat >>conftest.$ac_ext <<_ACEOF
9713 > /* end confdefs.h.  */
9714 >
9715 > /* Override any gcc2 internal prototype to avoid an error.  */
9716 > #ifdef __cplusplus
9717 > extern "C"
9718 > #endif
9719 > /* We use char because int might match the return type of a gcc2
9720 >   builtin and then its argument prototype would still apply.  */
9721 > char MPI_Init ();
9722 > int
9723 > main ()
9724 > {
9725 > MPI_Init ();
9726 >  ;
9727 >  return 0;
9728 > }
9729 > _ACEOF
9730 > rm -f conftest.$ac_objext conftest$ac_exeext
9731 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 >  (eval $ac_link) 2>conftest.er1
9733 >  ac_status=$?
9734 >  grep -v '^ *+' conftest.er1 >conftest.err
9735 >  rm -f conftest.er1
9736 >  cat conftest.err >&5
9737 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 >  (exit $ac_status); } &&
9739 >         { ac_try='test -z "$ac_c_werror_flag"
9740 >                         || test ! -s conftest.err'
9741 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742 >  (eval $ac_try) 2>&5
9743 >  ac_status=$?
9744 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 >  (exit $ac_status); }; } &&
9746 >         { ac_try='test -s conftest$ac_exeext'
9747 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 >  (eval $ac_try) 2>&5
9749 >  ac_status=$?
9750 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 >  (exit $ac_status); }; }; then
9752 >  ac_cv_lib_mpi_MPI_Init=yes
9753 > else
9754 >  echo "$as_me: failed program was:" >&5
9755 > sed 's/^/| /' conftest.$ac_ext >&5
9756 >
9757 > ac_cv_lib_mpi_MPI_Init=no
9758 > fi
9759 > rm -f conftest.err conftest.$ac_objext \
9760 >      conftest$ac_exeext conftest.$ac_ext
9761 > LIBS=$ac_check_lib_save_LIBS
9762 > fi
9763 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9764 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9765 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9766 >  MPI_LIB="-lmpi -llam"
9767 > fi
9768 >
9769 > fi
9770 > $as_unset ac_cv_lib_mpich_MPI_Init
9771 > if test x = x"$MPI_LIB"; then
9772 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9773 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9774 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9775 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9776 > else
9777 >  ac_check_lib_save_LIBS=$LIBS
9778 > LIBS="-lmpich "-lpmpich" $LIBS"
9779 > cat >conftest.$ac_ext <<_ACEOF
9780 > /* confdefs.h.  */
9781 > _ACEOF
9782 > cat confdefs.h >>conftest.$ac_ext
9783 > cat >>conftest.$ac_ext <<_ACEOF
9784 > /* end confdefs.h.  */
9785 >
9786 > /* Override any gcc2 internal prototype to avoid an error.  */
9787 > #ifdef __cplusplus
9788 > extern "C"
9789 > #endif
9790 > /* We use char because int might match the return type of a gcc2
9791 >   builtin and then its argument prototype would still apply.  */
9792 > char MPI_Init ();
9793 > int
9794 > main ()
9795 > {
9796 > MPI_Init ();
9797 >  ;
9798 >  return 0;
9799 > }
9800 > _ACEOF
9801 > rm -f conftest.$ac_objext conftest$ac_exeext
9802 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9803 >  (eval $ac_link) 2>conftest.er1
9804 >  ac_status=$?
9805 >  grep -v '^ *+' conftest.er1 >conftest.err
9806 >  rm -f conftest.er1
9807 >  cat conftest.err >&5
9808 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 >  (exit $ac_status); } &&
9810 >         { ac_try='test -z "$ac_c_werror_flag"
9811 >                         || test ! -s conftest.err'
9812 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813 >  (eval $ac_try) 2>&5
9814 >  ac_status=$?
9815 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 >  (exit $ac_status); }; } &&
9817 >         { ac_try='test -s conftest$ac_exeext'
9818 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 >  (eval $ac_try) 2>&5
9820 >  ac_status=$?
9821 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 >  (exit $ac_status); }; }; then
9823 >  ac_cv_lib_mpich_MPI_Init=yes
9824 > else
9825 >  echo "$as_me: failed program was:" >&5
9826 > sed 's/^/| /' conftest.$ac_ext >&5
9827 >
9828 > ac_cv_lib_mpich_MPI_Init=no
9829 > fi
9830 > rm -f conftest.err conftest.$ac_objext \
9831 >      conftest$ac_exeext conftest.$ac_ext
9832 > LIBS=$ac_check_lib_save_LIBS
9833 > fi
9834 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9835 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9836 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9837 >  MPI_LIB="-lmpich -lpmpich"
9838 > fi
9839 >
9840 > fi
9841 >
9842 > $as_unset ac_cv_lib_mpi_MPI_Init
9843 > if test x = x"$MPI_LIB"; then
9844 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9845 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9846 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9847 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9848 > else
9849 >  ac_check_lib_save_LIBS=$LIBS
9850 > LIBS="-lmpi -llam -lpthread $LIBS"
9851 > cat >conftest.$ac_ext <<_ACEOF
9852 > /* confdefs.h.  */
9853 > _ACEOF
9854 > cat confdefs.h >>conftest.$ac_ext
9855 > cat >>conftest.$ac_ext <<_ACEOF
9856 > /* end confdefs.h.  */
9857 >
9858 > /* Override any gcc2 internal prototype to avoid an error.  */
9859 > #ifdef __cplusplus
9860 > extern "C"
9861 > #endif
9862 > /* We use char because int might match the return type of a gcc2
9863 >   builtin and then its argument prototype would still apply.  */
9864 > char MPI_Init ();
9865 > int
9866 > main ()
9867 > {
9868 > MPI_Init ();
9869 >  ;
9870 >  return 0;
9871 > }
9872 > _ACEOF
9873 > rm -f conftest.$ac_objext conftest$ac_exeext
9874 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 >  (eval $ac_link) 2>conftest.er1
9876 >  ac_status=$?
9877 >  grep -v '^ *+' conftest.er1 >conftest.err
9878 >  rm -f conftest.er1
9879 >  cat conftest.err >&5
9880 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 >  (exit $ac_status); } &&
9882 >         { ac_try='test -z "$ac_c_werror_flag"
9883 >                         || test ! -s conftest.err'
9884 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 >  (eval $ac_try) 2>&5
9886 >  ac_status=$?
9887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 >  (exit $ac_status); }; } &&
9889 >         { ac_try='test -s conftest$ac_exeext'
9890 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 >  (eval $ac_try) 2>&5
9892 >  ac_status=$?
9893 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 >  (exit $ac_status); }; }; then
9895 >  ac_cv_lib_mpi_MPI_Init=yes
9896 > else
9897 >  echo "$as_me: failed program was:" >&5
9898 > sed 's/^/| /' conftest.$ac_ext >&5
9899 >
9900 > ac_cv_lib_mpi_MPI_Init=no
9901 > fi
9902 > rm -f conftest.err conftest.$ac_objext \
9903 >      conftest$ac_exeext conftest.$ac_ext
9904 > LIBS=$ac_check_lib_save_LIBS
9905 > fi
9906 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9907 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9908 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9909 >  MPI_LIB="-lmpi -llam -lpthread"
9910 > else
9911 >
9912 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9913 > echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9914 >   { (exit 1); exit 1; }; }
9915 >             USE_MPI="no"
9916 >
9917 > fi
9918 >
9919 > fi
9920 >
9921 >
9922 >
9923 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9924 > echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9925 > MPI_F90_LIB=""
9926 > if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
9927 >        MPI_F90_LIB="-lfmpich"
9928 > elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
9929 >        MPI_F90_LIB="-llamf77mpi"
9930 > else
9931 >                        MPI_F90_LIB="  "
9932 > fi
9933 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9934 > echo "${ECHO_T}found $MPI_F90_LIB" >&6
9935 >
9936 >
9937 > fi
9938 >
9939 >
9940 >
9941 >
9942 > USE_CGAL=no
9943 > cgal_makefile=auto
9944 >
9945 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9946 > if test "${with_cgal_makefile+set}" = set; then
9947 >  withval="$with_cgal_makefile"
9948 >  cgal_makefile="$withval"
9949 > fi;
9950 >
9951 > if test "x$cgal_makefile" != xno; then
9952 >
9953 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9954 >    cgal_makefile="$CGAL_MAKEFILE"
9955 >  fi
9956 >
9957 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9958 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9959 >
9960 >  if test -f "$cgal_makefile"; then
9961 >
9962 >    cat >config.tmp.Makefile <<EOF
9963 > include $cgal_makefile
9964 > default:
9965 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9966 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9967 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9968 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9969 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9970 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9971 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9972 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9973 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9974 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9975 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9976 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9977 > EOF
9978 >
9979 >    make -s -f config.tmp.Makefile
9980 >    . config.tmp.cgalvariables
9981 >
9982 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9983 >
9984 >    if test "x$CGAL_INCLDIR" = "x"; then
9985 >      CGAL_INCLDIR=""
9986 >    fi
9987 >
9988 >    if test "x$CGAL_LIBDIR" = "x"; then
9989 >      CGAL_LIBDIR=""
9990 >    fi
9991 >
9992 >    if test "x$CGAL_RLIBDIR" = "x"; then
9993 >      CGAL_RLIBDIR=""
9994 >    fi
9995 >
9996 >    if test "x$LEDA_INCLDIR" = "x"; then
9997 >      LEDA_INCLDIR=""
9998 >    fi
9999 >
10000 >    if test "x$LEDA_LIBDIR" = "x"; then
10001 >      LEDA_LIBDIR=""
10002 >    fi
10003 >
10004 >    if test "x$LEDA_RLIBDIR" = "x"; then
10005 >      LEDA_RLIBDIR=""
10006 >    fi
10007 >
10008 >    if test "x$GMP_INCLDIR" = "x"; then
10009 >      GMP_INCLDIR=""
10010 >    fi
10011 >
10012 >    if test "x$GMP_LIBDIR" = "x"; then
10013 >      GMP_LIBDIR=""
10014 >    fi
10015 >
10016 >    if test "x$GMP_RLIBDIR" = "x"; then
10017 >      GMP_RLIBDIR=""
10018 >    fi
10019 >
10020 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
10021 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
10022 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
10023 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
10024 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
10025 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
10026 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
10027 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
10028 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
10029 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
10030 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
10031 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
10032 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
10033 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
10034 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
10035 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
10036 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
10037 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
10038 >
10039 >    ac_ext=cc
10040 > ac_cpp='$CXXCPP $CPPFLAGS'
10041 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10044 >
10045 >    save_CXXFLAGS="$CXXFLAGS"
10046 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10047 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10048 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10049 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10050 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10051 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10052 > fi
10053 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10054 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10055 > else
10056 >  # Is the header compilable?
10057 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10058 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10059 > cat >conftest.$ac_ext <<_ACEOF
10060 > /* confdefs.h.  */
10061 > _ACEOF
10062 > cat confdefs.h >>conftest.$ac_ext
10063 > cat >>conftest.$ac_ext <<_ACEOF
10064 > /* end confdefs.h.  */
10065 > $ac_includes_default
10066 > #include <CGAL/Cartesian.h>
10067 > _ACEOF
10068 > rm -f conftest.$ac_objext
10069 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10070 >  (eval $ac_compile) 2>conftest.er1
10071 >  ac_status=$?
10072 >  grep -v '^ *+' conftest.er1 >conftest.err
10073 >  rm -f conftest.er1
10074 >  cat conftest.err >&5
10075 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 >  (exit $ac_status); } &&
10077 >         { ac_try='test -z "$ac_cxx_werror_flag"
10078 >                         || test ! -s conftest.err'
10079 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 >  (eval $ac_try) 2>&5
10081 >  ac_status=$?
10082 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 >  (exit $ac_status); }; } &&
10084 >         { ac_try='test -s conftest.$ac_objext'
10085 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10086 >  (eval $ac_try) 2>&5
10087 >  ac_status=$?
10088 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 >  (exit $ac_status); }; }; then
10090 >  ac_header_compiler=yes
10091 > else
10092 >  echo "$as_me: failed program was:" >&5
10093 > sed 's/^/| /' conftest.$ac_ext >&5
10094 >
10095 > ac_header_compiler=no
10096 > fi
10097 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10098 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10099 > echo "${ECHO_T}$ac_header_compiler" >&6
10100 >
10101 > # Is the header present?
10102 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10103 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10104 > cat >conftest.$ac_ext <<_ACEOF
10105 > /* confdefs.h.  */
10106 > _ACEOF
10107 > cat confdefs.h >>conftest.$ac_ext
10108 > cat >>conftest.$ac_ext <<_ACEOF
10109 > /* end confdefs.h.  */
10110 > #include <CGAL/Cartesian.h>
10111 > _ACEOF
10112 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10113 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10114 >  ac_status=$?
10115 >  grep -v '^ *+' conftest.er1 >conftest.err
10116 >  rm -f conftest.er1
10117 >  cat conftest.err >&5
10118 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 >  (exit $ac_status); } >/dev/null; then
10120 >  if test -s conftest.err; then
10121 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10122 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10123 >  else
10124 >    ac_cpp_err=
10125 >  fi
10126 > else
10127 >  ac_cpp_err=yes
10128 > fi
10129 > if test -z "$ac_cpp_err"; then
10130 >  ac_header_preproc=yes
10131 > else
10132 >  echo "$as_me: failed program was:" >&5
10133 > sed 's/^/| /' conftest.$ac_ext >&5
10134 >
10135 >  ac_header_preproc=no
10136 > fi
10137 > rm -f conftest.err conftest.$ac_ext
10138 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10139 > echo "${ECHO_T}$ac_header_preproc" >&6
10140 >
10141 > # So?  What about this header?
10142 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10143 >  yes:no: )
10144 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10145 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10146 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10147 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10148 >    ac_header_preproc=yes
10149 >    ;;
10150 >  no:yes:* )
10151 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10152 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10153 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10154 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10155 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10156 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10157 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10158 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10159 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10160 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10161 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10162 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10163 >    (
10164 >      cat <<\_ASBOX
10165 > ## ------------------------------ ##
10166 > ## Report this to gezelter@nd.edu ##
10167 > ## ------------------------------ ##
10168 > _ASBOX
10169 >    ) |
10170 >      sed "s/^/$as_me: WARNING:     /" >&2
10171 >    ;;
10172 > esac
10173 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10174 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10175 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10176 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10177 > else
10178 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10179 > fi
10180 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10181 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10182 >
10183 > fi
10184 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10185 >  cgal=yes
10186 > else
10187 >  cgal=no
10188 > fi
10189 >
10190 >
10191 >    CXXFLAGS="$save_CXXFLAGS"
10192 >
10193 >    if test "x$cgal" = xyes; then
10194 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10195 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10196 >      LOCATION=${CGAL_INCLDIR}
10197 >      LOCATION=${LOCATION:-/usr/include}
10198 >      if test -f $LOCATION/CGAL/version.h; then
10199 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10200 >      else
10201 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10202 >      fi
10203 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10204 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10205 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10206 >      else
10207 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10208 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10209 >        cgal=no
10210 >      fi
10211 >    fi
10212 >
10213 >    if test "x$cgal" = xyes; then
10214 >      CGAL_LIBS="-lCGAL"
10215 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10216 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10217 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10218 >        CGAL_USES_LEDA=yes
10219 >        echo "$as_me:$LINENO: result: yes" >&5
10220 > echo "${ECHO_T}yes" >&6
10221 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10222 >      else
10223 >        echo "$as_me:$LINENO: result: no" >&5
10224 > echo "${ECHO_T}no" >&6
10225 >        CGAL_USES_LEDA=no
10226 >      fi
10227 >
10228 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10229 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10230 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10231 >        CGAL_USES_GMP=yes
10232 >        echo "$as_me:$LINENO: result: yes" >&5
10233 > echo "${ECHO_T}yes" >&6
10234 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10235 >      else
10236 >        echo "$as_me:$LINENO: result: no" >&5
10237 > echo "${ECHO_T}no" >&6
10238 >        CGAL_USES_GMP=no
10239 >      fi
10240 >
10241 >      CGAL_LIBS="$CGAL_LIBS -lm"
10242 >
10243 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10244 >
10245 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10246 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10247 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10248 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10249 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10250 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10251 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10252 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10253 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10254 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10255 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10256 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10257 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10258 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10259 >    fi
10260 >
10261 >    if test "x$cgal" = xyes; then
10262 >      save_LIBS="$LIBS"
10263 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10264 >      if test "x$CGAL_USES_LEDA" = xyes; then
10265 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10266 >      fi
10267 >      # if test "x$CGAL_USES_GMP" = xyes; then
10268 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10269 >      # fi
10270 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10271 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10272 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10273 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10274 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10275 > LIBS="-lCGAL  $LIBS"
10276 > cat >conftest.$ac_ext <<_ACEOF
10277 > /* confdefs.h.  */
10278 > _ACEOF
10279 > cat confdefs.h >>conftest.$ac_ext
10280 > cat >>conftest.$ac_ext <<_ACEOF
10281 > /* end confdefs.h.  */
10282 > #include <CGAL/Cartesian.h>
10283 > int
10284 > main ()
10285 > {
10286 > ::CGAL::Cartesian<int>::Point_2 P
10287 >  ;
10288 >  return 0;
10289 > }
10290 > _ACEOF
10291 > rm -f conftest.$ac_objext conftest$ac_exeext
10292 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10293 >  (eval $ac_link) 2>conftest.er1
10294 >  ac_status=$?
10295 >  grep -v '^ *+' conftest.er1 >conftest.err
10296 >  rm -f conftest.er1
10297 >  cat conftest.err >&5
10298 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299 >  (exit $ac_status); } &&
10300 >         { ac_try='test -z "$ac_cxx_werror_flag"
10301 >                         || test ! -s conftest.err'
10302 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 >  (eval $ac_try) 2>&5
10304 >  ac_status=$?
10305 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 >  (exit $ac_status); }; } &&
10307 >         { ac_try='test -s conftest$ac_exeext'
10308 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 >  (eval $ac_try) 2>&5
10310 >  ac_status=$?
10311 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 >  (exit $ac_status); }; }; then
10313 >  echo "$as_me:$LINENO: result: yes" >&5
10314 > echo "${ECHO_T}yes" >&6
10315 > cgal=yes
10316 > else
10317 >  echo "$as_me: failed program was:" >&5
10318 > sed 's/^/| /' conftest.$ac_ext >&5
10319 >
10320 > echo "$as_me:$LINENO: result: no" >&5
10321 > echo "${ECHO_T}no" >&6
10322 > cgal=no
10323 > fi
10324 > rm -f conftest.err conftest.$ac_objext \
10325 >      conftest$ac_exeext conftest.$ac_ext
10326 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10327 > LIBS="$save_LIBS_CHECK_CXX_LIB"
10328 >      LIBS="$save_LIBS"
10329 >    fi
10330 >
10331 >  fi
10332 >  ac_ext=c
10333 > ac_cpp='$CPP $CPPFLAGS'
10334 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10335 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10336 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
10337 >
10338 >
10339 > fi
10340 >
10341 > if test "x$cgal" = xyes; then
10342 >  USE_CGAL=yes
10343 >
10344 > cat >>confdefs.h <<\_ACEOF
10345 > #define HAVE_CGAL 1
10346 > _ACEOF
10347 >
10348 >
10349 > cat >>confdefs.h <<_ACEOF
10350 > #define CGAL_VERSION $CGAL_VERSION
10351 > _ACEOF
10352 >
10353 >  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10354 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10355 > echo "$as_me: WARNING: *****************************************************" >&2;}
10356 >    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10357 > echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10358 >    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10359 > echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10360 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10361 > echo "$as_me: WARNING: *****************************************************" >&2;}
10362 >  fi
10363 > else
10364 >   if test "x$cgal_makefile" != xno; then
10365 >    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10366 > echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10367 >  fi
10368 >  CGAL_INCLDIR=
10369 >  CGAL_LIBDIR=
10370 >  CGAL_RLIBDIR=
10371 >  CGAL_DEFINES=
10372 >  CGAL_CXXFLAGS=
10373 >  CGAL_LIBS=
10374 > fi
10375 >
10376 >
10377 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10378 >
10379 > CGAL_LIB_DIR=${CGAL_LIBDIR}
10380 >
10381 > CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10382 >
10383 >
10384 >
10385 >
10386 >
10387 >
10388 >
10389 > # Check whether --enable-doxygen or --disable-doxygen was given.
10390 > if test "${enable_doxygen+set}" = set; then
10391 >  enableval="$enable_doxygen"
10392 >
10393 > fi;
10394 > # Check whether --enable-dot or --disable-dot was given.
10395 > if test "${enable_dot+set}" = set; then
10396 >  enableval="$enable_dot"
10397 >
10398 > fi;
10399 > # Check whether --enable-html-docs or --disable-html-docs was given.
10400 > if test "${enable_html_docs+set}" = set; then
10401 >  enableval="$enable_html_docs"
10402 >
10403 > else
10404 >   enable_html_docs=yes
10405 > fi;
10406 > # Check whether --enable-latex-docs or --disable-latex-docs was given.
10407 > if test "${enable_latex_docs+set}" = set; then
10408 >  enableval="$enable_latex_docs"
10409 >
10410 > else
10411 >   enable_latex_docs=no
10412 > fi;
10413 > if test "x$enable_doxygen" = xno; then
10414 >        enable_doc=no
10415 > else
10416 >        # Extract the first word of "doxygen", so it can be a program name with args.
10417 > set dummy doxygen; ac_word=$2
10418 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10419 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10420 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
10421 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10422 > else
10423 >  case $DOXYGEN in
10424 >  [\\/]* | ?:[\\/]*)
10425 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10426 >  ;;
10427 >  *)
10428 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10429 > for as_dir in $PATH
10430 > do
10431 >  IFS=$as_save_IFS
10432 >  test -z "$as_dir" && as_dir=.
10433 >  for ac_exec_ext in '' $ac_executable_extensions; do
10434 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10435 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10436 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10437 >    break 2
10438 >  fi
10439 > done
10440 > done
10441 >
10442 >  ;;
10443 > esac
10444 > fi
10445 > DOXYGEN=$ac_cv_path_DOXYGEN
10446 >
10447 > if test -n "$DOXYGEN"; then
10448 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10449 > echo "${ECHO_T}$DOXYGEN" >&6
10450 > else
10451 >  echo "$as_me:$LINENO: result: no" >&5
10452 > echo "${ECHO_T}no" >&6
10453 > fi
10454 >
10455 >        if test "x$DOXYGEN" = x; then
10456 >                if test "x$enable_doxygen" = xyes; then
10457 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10458 > echo "$as_me: error: could not find doxygen" >&2;}
10459 >   { (exit 1); exit 1; }; }
10460 >                fi
10461 >                enable_doc=no
10462 >        else
10463 >                enable_doc=yes
10464 >                # Extract the first word of "dot", so it can be a program name with args.
10465 > set dummy dot; ac_word=$2
10466 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10467 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10468 > if test "${ac_cv_path_DOT+set}" = set; then
10469 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10470 > else
10471 >  case $DOT in
10472 >  [\\/]* | ?:[\\/]*)
10473 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10474 >  ;;
10475 >  *)
10476 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 > for as_dir in $PATH
10478 > do
10479 >  IFS=$as_save_IFS
10480 >  test -z "$as_dir" && as_dir=.
10481 >  for ac_exec_ext in '' $ac_executable_extensions; do
10482 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10483 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10484 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10485 >    break 2
10486 >  fi
10487 > done
10488 > done
10489 >
10490 >  ;;
10491 > esac
10492 > fi
10493 > DOT=$ac_cv_path_DOT
10494 >
10495 > if test -n "$DOT"; then
10496 >  echo "$as_me:$LINENO: result: $DOT" >&5
10497 > echo "${ECHO_T}$DOT" >&6
10498 > else
10499 >  echo "$as_me:$LINENO: result: no" >&5
10500 > echo "${ECHO_T}no" >&6
10501 > fi
10502 >
10503 >        fi
10504 > fi
10505 >
10506 > if test "x$enable_doc" = xyes; then
10507 >  DOC=1
10508 > else
10509 >  DOC=0
10510 > fi
10511 >
10512 >
10513 > if test x$DOT = x; then
10514 >        if test "x$enable_dot" = xyes; then
10515 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10516 > echo "$as_me: error: could not find dot" >&2;}
10517 >   { (exit 1); exit 1; }; }
10518 >        fi
10519 >        enable_dot=no
10520 > else
10521 >        enable_dot=yes
10522 > fi
10523 >
10524 >
10525 >
10526 >
10527 >
10528 >
10529 >
10530 > OBJEXT=".$OBJEXT"
10531 >
10532 > OOPSE=oopse
10533 >
10534 > if test "x${prefix}" = "xNONE"
10535 > then
10536 >  OOPSE_HOME=${ac_default_prefix}/oopse
10537 > else
10538 >  OOPSE_HOME=${prefix}/oopse
10539 > fi
10540 > # Check whether --enable-oopse-home or --disable-oopse-home was given.
10541 > if test "${enable_oopse_home+set}" = set; then
10542 >  enableval="$enable_oopse_home"
10543 >  OOPSE_HOME="${enableval}"
10544 > fi;
10545 >
10546 > case "x$INSTALL" in
10547 >   x/*) ;;
10548 >   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
10549 > esac
10550 >
10551 > MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
10552 >
10553 > CFLAGS=${CFLAGS-""}
10554 > CXXFLAGS=${CXXFLAGS-""}
10555 > CPPFLAGS=${CPPFLAGS-""}
10556 > FFLAGS=${FFLAGS-""}
10557 > F90FLAGS=${F90FLAGS-""}
10558 > LDFLAGS=${LDFLAGS-""}
10559 > DEBUG=${DEBUG-"-g"}
10560 >
10561 > case $debug in
10562 >  1)
10563 >     FFLAGS="$DEBUG $FFLAGS"
10564 >     F90FLAGS="$DEBUG $F90FLAGS"
10565 >     ;;
10566 >  *)
10567 >     ;;
10568 > esac
10569 >
10570 >
10571 >
10572 >
10573 >
10574 >
10575 >
10576 >
10577 >
10578 >
10579 >
10580 >
10581 >
10582 >
10583 >
10584 >
10585 >
10586 >
10587 >          ac_config_headers="$ac_config_headers src/config.h"
10588 >
10589 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10590 >
10591 >
10592 > cat >confcache <<\_ACEOF
10593 > # This file is a shell script that caches the results of configure
10594 > # tests run on this system so they can be shared between configure
10595 > # scripts and configure runs, see configure's option --config-cache.
10596 > # It is not useful on other systems.  If it contains results you don't
10597 > # want to keep, you may remove or edit it.
10598 > #
10599 > # config.status only pays attention to the cache file if you give it
10600 > # the --recheck option to rerun configure.
10601 > #
10602 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10603 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
10604 > # following values.
10605 >
10606 > _ACEOF
10607 >
10608 > # The following way of writing the cache mishandles newlines in values,
10609 > # but we know of no workaround that is simple, portable, and efficient.
10610 > # So, don't put newlines in cache variables' values.
10611 > # Ultrix sh set writes to stderr and can't be redirected directly,
10612 > # and sets the high bit in the cache file unless we assign to the vars.
10613 > {
10614 >  (set) 2>&1 |
10615 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
10616 >    *ac_space=\ *)
10617 >      # `set' does not quote correctly, so add quotes (double-quote
10618 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
10619 >      sed -n \
10620 >        "s/'/'\\\\''/g;
10621 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10622 >      ;;
10623 >    *)
10624 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
10625 >      sed -n \
10626 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10627 >      ;;
10628 >    esac;
10629 > } |
10630 >  sed '
10631 >     t clear
10632 >     : clear
10633 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10634 >     t end
10635 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10636 >     : end' >>confcache
10637 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10638 >  if test -w $cache_file; then
10639 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10640 >    cat confcache >$cache_file
10641 >  else
10642 >    echo "not updating unwritable cache $cache_file"
10643 >  fi
10644 > fi
10645 > rm -f confcache
10646 >
10647 > test "x$prefix" = xNONE && prefix=$ac_default_prefix
10648 > # Let make expand exec_prefix.
10649 > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10650 >
10651 > # VPATH may cause trouble with some makes, so we remove $(srcdir),
10652 > # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10653 > # trailing colons and then remove the whole line if VPATH becomes empty
10654 > # (actually we leave an empty line to preserve line numbers).
10655 > if test "x$srcdir" = x.; then
10656 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10657 > s/:*\$(srcdir):*/:/;
10658 > s/:*\${srcdir}:*/:/;
10659 > s/:*@srcdir@:*/:/;
10660 > s/^\([^=]*=[     ]*\):*/\1/;
10661 > s/:*$//;
10662 > s/^[^=]*=[       ]*$//;
10663 > }'
10664 > fi
10665 >
10666 > DEFS=-DHAVE_CONFIG_H
10667 >
10668 > ac_libobjs=
10669 > ac_ltlibobjs=
10670 > for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10671 >  # 1. Remove the extension, and $U if already installed.
10672 >  ac_i=`echo "$ac_i" |
10673 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10674 >  # 2. Add them.
10675 >  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10676 >  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10677 > done
10678 > LIBOBJS=$ac_libobjs
10679 >
10680 > LTLIBOBJS=$ac_ltlibobjs
10681 >
10682 >
10683 >
10684 > : ${CONFIG_STATUS=./config.status}
10685 > ac_clean_files_save=$ac_clean_files
10686 > ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10687 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10688 > echo "$as_me: creating $CONFIG_STATUS" >&6;}
10689 > cat >$CONFIG_STATUS <<_ACEOF
10690 > #! $SHELL
10691 > # Generated by $as_me.
10692 > # Run this file to recreate the current configuration.
10693 > # Compiler output produced by configure, useful for debugging
10694 > # configure, is in config.log if it exists.
10695 >
10696 > debug=false
10697 > ac_cs_recheck=false
10698 > ac_cs_silent=false
10699 > SHELL=\${CONFIG_SHELL-$SHELL}
10700 > _ACEOF
10701 >
10702 > cat >>$CONFIG_STATUS <<\_ACEOF
10703 > ## --------------------- ##
10704 > ## M4sh Initialization.  ##
10705 > ## --------------------- ##
10706 >
10707 > # Be Bourne compatible
10708 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10709 >  emulate sh
10710 >  NULLCMD=:
10711 >  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10712 >  # is contrary to our usage.  Disable this feature.
10713 >  alias -g '${1+"$@"}'='"$@"'
10714 > elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10715 >  set -o posix
10716 > fi
10717 > DUALCASE=1; export DUALCASE # for MKS sh
10718 >
10719 > # Support unset when possible.
10720 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10721 >  as_unset=unset
10722 > else
10723 >  as_unset=false
10724 > fi
10725 >
10726 >
10727 > # Work around bugs in pre-3.0 UWIN ksh.
10728 > $as_unset ENV MAIL MAILPATH
10729 > PS1='$ '
10730 > PS2='> '
10731 > PS4='+ '
10732 >
10733 > # NLS nuisances.
10734 > for as_var in \
10735 >  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10736 >  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10737 >  LC_TELEPHONE LC_TIME
10738 > do
10739 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10740 >    eval $as_var=C; export $as_var
10741 >  else
10742 >    $as_unset $as_var
10743 >  fi
10744 > done
10745 >
10746 > # Required to use basename.
10747 > if expr a : '\(a\)' >/dev/null 2>&1; then
10748 >  as_expr=expr
10749 > else
10750 >  as_expr=false
10751 > fi
10752 >
10753 > if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10754 >  as_basename=basename
10755 > else
10756 >  as_basename=false
10757 > fi
10758 >
10759 >
10760 > # Name of the executable.
10761 > as_me=`$as_basename "$0" ||
10762 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10763 >         X"$0" : 'X\(//\)$' \| \
10764 >         X"$0" : 'X\(/\)$' \| \
10765 >         .     : '\(.\)' 2>/dev/null ||
10766 > echo X/"$0" |
10767 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10768 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10769 >          /^X\/\(\/\).*/{ s//\1/; q; }
10770 >          s/.*/./; q'`
10771 >
10772 >
10773 > # PATH needs CR, and LINENO needs CR and PATH.
10774 > # Avoid depending upon Character Ranges.
10775 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10776 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10777 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10778 > as_cr_digits='0123456789'
10779 > as_cr_alnum=$as_cr_Letters$as_cr_digits
10780 >
10781 > # The user is always right.
10782 > if test "${PATH_SEPARATOR+set}" != set; then
10783 >  echo "#! /bin/sh" >conf$$.sh
10784 >  echo  "exit 0"   >>conf$$.sh
10785 >  chmod +x conf$$.sh
10786 >  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10787 >    PATH_SEPARATOR=';'
10788 >  else
10789 >    PATH_SEPARATOR=:
10790 >  fi
10791 >  rm -f conf$$.sh
10792 > fi
10793 >
10794 >
10795 >  as_lineno_1=$LINENO
10796 >  as_lineno_2=$LINENO
10797 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10798 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10799 >  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10800 >  # Find who we are.  Look in the path if we contain no path at all
10801 >  # relative or not.
10802 >  case $0 in
10803 >    *[\\/]* ) as_myself=$0 ;;
10804 >    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10805 > for as_dir in $PATH
10806 > do
10807 >  IFS=$as_save_IFS
10808 >  test -z "$as_dir" && as_dir=.
10809 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10810 > done
10811 >
10812 >       ;;
10813 >  esac
10814 >  # We did not find ourselves, most probably we were run as `sh COMMAND'
10815 >  # in which case we are not to be found in the path.
10816 >  if test "x$as_myself" = x; then
10817 >    as_myself=$0
10818 >  fi
10819 >  if test ! -f "$as_myself"; then
10820 >    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10821 > echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10822 >   { (exit 1); exit 1; }; }
10823 >  fi
10824 >  case $CONFIG_SHELL in
10825 >  '')
10826 >    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 > for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10828 > do
10829 >  IFS=$as_save_IFS
10830 >  test -z "$as_dir" && as_dir=.
10831 >  for as_base in sh bash ksh sh5; do
10832 >         case $as_dir in
10833 >         /*)
10834 >           if ("$as_dir/$as_base" -c '
10835 >  as_lineno_1=$LINENO
10836 >  as_lineno_2=$LINENO
10837 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10838 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10839 >  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10840 >             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10841 >             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10842 >             CONFIG_SHELL=$as_dir/$as_base
10843 >             export CONFIG_SHELL
10844 >             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10845 >           fi;;
10846 >         esac
10847 >       done
10848 > done
10849 > ;;
10850 >  esac
10851 >
10852 >  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10853 >  # uniformly replaced by the line number.  The first 'sed' inserts a
10854 >  # line-number line before each line; the second 'sed' does the real
10855 >  # work.  The second script uses 'N' to pair each line-number line
10856 >  # with the numbered line, and appends trailing '-' during
10857 >  # substitution so that $LINENO is not a special case at line end.
10858 >  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10859 >  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10860 >  sed '=' <$as_myself |
10861 >    sed '
10862 >      N
10863 >      s,$,-,
10864 >      : loop
10865 >      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10866 >      t loop
10867 >      s,-$,,
10868 >      s,^['$as_cr_digits']*\n,,
10869 >    ' >$as_me.lineno &&
10870 >  chmod +x $as_me.lineno ||
10871 >    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10872 > echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10873 >   { (exit 1); exit 1; }; }
10874 >
10875 >  # Don't try to exec as it changes $[0], causing all sort of problems
10876 >  # (the dirname of $[0] is not the place where we might find the
10877 >  # original and so on.  Autoconf is especially sensible to this).
10878 >  . ./$as_me.lineno
10879 >  # Exit status is that of the last command.
10880 >  exit
10881 > }
10882 >
10883 >
10884 > case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10885 >  *c*,-n*) ECHO_N= ECHO_C='
10886 > ' ECHO_T='      ' ;;
10887 >  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10888 >  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10889 > esac
10890 >
10891 > if expr a : '\(a\)' >/dev/null 2>&1; then
10892 >  as_expr=expr
10893 > else
10894 >  as_expr=false
10895 > fi
10896 >
10897 > rm -f conf$$ conf$$.exe conf$$.file
10898 > echo >conf$$.file
10899 > if ln -s conf$$.file conf$$ 2>/dev/null; then
10900 >  # We could just check for DJGPP; but this test a) works b) is more generic
10901 >  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10902 >  if test -f conf$$.exe; then
10903 >    # Don't use ln at all; we don't have any links
10904 >    as_ln_s='cp -p'
10905 >  else
10906 >    as_ln_s='ln -s'
10907 >  fi
10908 > elif ln conf$$.file conf$$ 2>/dev/null; then
10909 >  as_ln_s=ln
10910 > else
10911 >  as_ln_s='cp -p'
10912 > fi
10913 > rm -f conf$$ conf$$.exe conf$$.file
10914 >
10915 > if mkdir -p . 2>/dev/null; then
10916 >  as_mkdir_p=:
10917 > else
10918 >  test -d ./-p && rmdir ./-p
10919 >  as_mkdir_p=false
10920 > fi
10921 >
10922 > as_executable_p="test -f"
10923 >
10924 > # Sed expression to map a string onto a valid CPP name.
10925 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10926 >
10927 > # Sed expression to map a string onto a valid variable name.
10928 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10929 >
10930 >
10931 > # IFS
10932 > # We need space, tab and new line, in precisely that order.
10933 > as_nl='
10934 > '
10935 > IFS="   $as_nl"
10936 >
10937 > # CDPATH.
10938 > $as_unset CDPATH
10939 >
10940 > exec 6>&1
10941 >
10942 > # Open the log real soon, to keep \$[0] and so on meaningful, and to
10943 > # report actual input values of CONFIG_FILES etc. instead of their
10944 > # values after options handling.  Logging --version etc. is OK.
10945 > exec 5>>config.log
10946 > {
10947 >  echo
10948 >  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10949 > ## Running $as_me. ##
10950 > _ASBOX
10951 > } >&5
10952 > cat >&5 <<_CSEOF
10953 >
10954 > This file was extended by OOPSE $as_me 2.0, which was
10955 > generated by GNU Autoconf 2.59.  Invocation command line was
10956 >
10957 >  CONFIG_FILES    = $CONFIG_FILES
10958 >  CONFIG_HEADERS  = $CONFIG_HEADERS
10959 >  CONFIG_LINKS    = $CONFIG_LINKS
10960 >  CONFIG_COMMANDS = $CONFIG_COMMANDS
10961 >  $ $0 $@
10962 >
10963 > _CSEOF
10964 > echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10965 > echo >&5
10966 > _ACEOF
10967 >
10968 > # Files that config.status was made for.
10969 > if test -n "$ac_config_files"; then
10970 >  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10971 > fi
10972 >
10973 > if test -n "$ac_config_headers"; then
10974 >  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10975 > fi
10976 >
10977 > if test -n "$ac_config_links"; then
10978 >  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10979 > fi
10980 >
10981 > if test -n "$ac_config_commands"; then
10982 >  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10983 > fi
10984 >
10985 > cat >>$CONFIG_STATUS <<\_ACEOF
10986 >
10987 > ac_cs_usage="\
10988 > \`$as_me' instantiates files from templates according to the
10989 > current configuration.
10990 >
10991 > Usage: $0 [OPTIONS] [FILE]...
10992 >
10993 >  -h, --help       print this help, then exit
10994 >  -V, --version    print version number, then exit
10995 >  -q, --quiet      do not print progress messages
10996 >  -d, --debug      don't remove temporary files
10997 >      --recheck    update $as_me by reconfiguring in the same conditions
10998 >  --file=FILE[:TEMPLATE]
10999 >                   instantiate the configuration file FILE
11000 >  --header=FILE[:TEMPLATE]
11001 >                   instantiate the configuration header FILE
11002 >
11003 > Configuration files:
11004 > $config_files
11005 >
11006 > Configuration headers:
11007 > $config_headers
11008 >
11009 > Configuration links:
11010 > $config_links
11011 >
11012 > Report bugs to <bug-autoconf@gnu.org>."
11013 > _ACEOF
11014 >
11015 > cat >>$CONFIG_STATUS <<_ACEOF
11016 > ac_cs_version="\\
11017 > OOPSE config.status 2.0
11018 > configured by $0, generated by GNU Autoconf 2.59,
11019 >  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11020 >
11021 > Copyright (C) 2003 Free Software Foundation, Inc.
11022 > This config.status script is free software; the Free Software Foundation
11023 > gives unlimited permission to copy, distribute and modify it."
11024 > srcdir=$srcdir
11025 > INSTALL="$INSTALL"
11026 > _ACEOF
11027 >
11028 > cat >>$CONFIG_STATUS <<\_ACEOF
11029 > # If no file are specified by the user, then we need to provide default
11030 > # value.  By we need to know if files were specified by the user.
11031 > ac_need_defaults=:
11032 > while test $# != 0
11033 > do
11034 >  case $1 in
11035 >  --*=*)
11036 >    ac_option=`expr "x$1" : 'x\([^=]*\)='`
11037 >    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11038 >    ac_shift=:
11039 >    ;;
11040 >  -*)
11041 >    ac_option=$1
11042 >    ac_optarg=$2
11043 >    ac_shift=shift
11044 >    ;;
11045 >  *) # This is not an option, so the user has probably given explicit
11046 >     # arguments.
11047 >     ac_option=$1
11048 >     ac_need_defaults=false;;
11049 >  esac
11050 >
11051 >  case $ac_option in
11052 >  # Handling of the options.
11053 > _ACEOF
11054 > cat >>$CONFIG_STATUS <<\_ACEOF
11055 >  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11056 >    ac_cs_recheck=: ;;
11057 >  --version | --vers* | -V )
11058 >    echo "$ac_cs_version"; exit 0 ;;
11059 >  --he | --h)
11060 >    # Conflict between --help and --header
11061 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11062 > Try \`$0 --help' for more information." >&5
11063 > echo "$as_me: error: ambiguous option: $1
11064 > Try \`$0 --help' for more information." >&2;}
11065 >   { (exit 1); exit 1; }; };;
11066 >  --help | --hel | -h )
11067 >    echo "$ac_cs_usage"; exit 0 ;;
11068 >  --debug | --d* | -d )
11069 >    debug=: ;;
11070 >  --file | --fil | --fi | --f )
11071 >    $ac_shift
11072 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11073 >    ac_need_defaults=false;;
11074 >  --header | --heade | --head | --hea )
11075 >    $ac_shift
11076 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11077 >    ac_need_defaults=false;;
11078 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11079 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11080 >    ac_cs_silent=: ;;
11081 >
11082 >  # This is an error.
11083 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11084 > Try \`$0 --help' for more information." >&5
11085 > echo "$as_me: error: unrecognized option: $1
11086 > Try \`$0 --help' for more information." >&2;}
11087 >   { (exit 1); exit 1; }; } ;;
11088 >
11089 >  *) ac_config_targets="$ac_config_targets $1" ;;
11090 >
11091 >  esac
11092 >  shift
11093 > done
11094 >
11095 > ac_configure_extra_args=
11096 >
11097 > if $ac_cs_silent; then
11098 >  exec 6>/dev/null
11099 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
11100 > fi
11101 >
11102 > _ACEOF
11103 > cat >>$CONFIG_STATUS <<_ACEOF
11104 > if \$ac_cs_recheck; then
11105 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11106 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11107 > fi
11108 >
11109 > _ACEOF
11110 >
11111 >
11112 >
11113 >
11114 >
11115 > cat >>$CONFIG_STATUS <<\_ACEOF
11116 > for ac_config_target in $ac_config_targets
11117 > do
11118 >  case "$ac_config_target" in
11119 >  # Handling of arguments.
11120 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11121 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11122 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11123 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11124 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11125 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11126 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11127 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11128 >   { (exit 1); exit 1; }; };;
11129 >  esac
11130 > done
11131 >
11132 > # If the user did not use the arguments to specify the items to instantiate,
11133 > # then the envvar interface is used.  Set only those that are not.
11134 > # We use the long form for the default assignment because of an extremely
11135 > # bizarre bug on SunOS 4.1.3.
11136 > if $ac_need_defaults; then
11137 >  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11138 >  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11139 >  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11140 > fi
11141 >
11142 > # Have a temporary directory for convenience.  Make it in the build tree
11143 > # simply because there is no reason to put it here, and in addition,
11144 > # creating and moving files from /tmp can sometimes cause problems.
11145 > # Create a temporary directory, and hook for its removal unless debugging.
11146 > $debug ||
11147 > {
11148 >  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11149 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11150 > }
11151 >
11152 > # Create a (secure) tmp directory for tmp files.
11153 >
11154 > {
11155 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11156 >  test -n "$tmp" && test -d "$tmp"
11157 > }  ||
11158 > {
11159 >  tmp=./confstat$$-$RANDOM
11160 >  (umask 077 && mkdir $tmp)
11161 > } ||
11162 > {
11163 >   echo "$me: cannot create a temporary directory in ." >&2
11164 >   { (exit 1); exit 1; }
11165 > }
11166 >
11167 > _ACEOF
11168 >
11169 > cat >>$CONFIG_STATUS <<_ACEOF
11170 >
11171 > #
11172 > # CONFIG_FILES section.
11173 > #
11174 >
11175 > # No need to generate the scripts if there are no CONFIG_FILES.
11176 > # This happens for instance when ./config.status config.h
11177 > if test -n "\$CONFIG_FILES"; then
11178 >  # Protect against being on the right side of a sed subst in config.status.
11179 >  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11180 >   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11181 > s,@SHELL@,$SHELL,;t t
11182 > s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11183 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11184 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11185 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11186 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11187 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11188 > s,@exec_prefix@,$exec_prefix,;t t
11189 > s,@prefix@,$prefix,;t t
11190 > s,@program_transform_name@,$program_transform_name,;t t
11191 > s,@bindir@,$bindir,;t t
11192 > s,@sbindir@,$sbindir,;t t
11193 > s,@libexecdir@,$libexecdir,;t t
11194 > s,@datadir@,$datadir,;t t
11195 > s,@sysconfdir@,$sysconfdir,;t t
11196 > s,@sharedstatedir@,$sharedstatedir,;t t
11197 > s,@localstatedir@,$localstatedir,;t t
11198 > s,@libdir@,$libdir,;t t
11199 > s,@includedir@,$includedir,;t t
11200 > s,@oldincludedir@,$oldincludedir,;t t
11201 > s,@infodir@,$infodir,;t t
11202 > s,@mandir@,$mandir,;t t
11203 > s,@build_alias@,$build_alias,;t t
11204 > s,@host_alias@,$host_alias,;t t
11205 > s,@target_alias@,$target_alias,;t t
11206 > s,@DEFS@,$DEFS,;t t
11207 > s,@ECHO_C@,$ECHO_C,;t t
11208 > s,@ECHO_N@,$ECHO_N,;t t
11209 > s,@ECHO_T@,$ECHO_T,;t t
11210 > s,@LIBS@,$LIBS,;t t
11211 > s,@PROGNAME@,$PROGNAME,;t t
11212 > s,@debug@,$debug,;t t
11213 > s,@build@,$build,;t t
11214 > s,@build_cpu@,$build_cpu,;t t
11215 > s,@build_vendor@,$build_vendor,;t t
11216 > s,@build_os@,$build_os,;t t
11217 > s,@host@,$host,;t t
11218 > s,@host_cpu@,$host_cpu,;t t
11219 > s,@host_vendor@,$host_vendor,;t t
11220 > s,@host_os@,$host_os,;t t
11221 > s,@CC@,$CC,;t t
11222 > s,@CFLAGS@,$CFLAGS,;t t
11223 > s,@LDFLAGS@,$LDFLAGS,;t t
11224 > s,@CPPFLAGS@,$CPPFLAGS,;t t
11225 > s,@ac_ct_CC@,$ac_ct_CC,;t t
11226 > s,@EXEEXT@,$EXEEXT,;t t
11227 > s,@OBJEXT@,$OBJEXT,;t t
11228 > s,@CXX@,$CXX,;t t
11229 > s,@CXXFLAGS@,$CXXFLAGS,;t t
11230 > s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11231 > s,@CPP@,$CPP,;t t
11232 > s,@EGREP@,$EGREP,;t t
11233 > s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11234 > s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11235 > s,@F90@,$F90,;t t
11236 > s,@F90FLAGS@,$F90FLAGS,;t t
11237 > s,@ac_ct_F90@,$ac_ct_F90,;t t
11238 > s,@PREPFLAG@,$PREPFLAG,;t t
11239 > s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
11240 > s,@F90LIBS@,$F90LIBS,;t t
11241 > s,@F90_FUNC@,$F90_FUNC,;t t
11242 > s,@F90_FUNC_@,$F90_FUNC_,;t t
11243 > s,@MOD@,$MOD,;t t
11244 > s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
11245 > s,@MODDIRFLAG@,$MODDIRFLAG,;t t
11246 > s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11247 > s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11248 > s,@CXXCPP@,$CXXCPP,;t t
11249 > s,@LIBOBJS@,$LIBOBJS,;t t
11250 > s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11251 > s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11252 > s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11253 > s,@LN_S@,$LN_S,;t t
11254 > s,@SET_MAKE@,$SET_MAKE,;t t
11255 > s,@RANLIB@,$RANLIB,;t t
11256 > s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11257 > s,@YACC@,$YACC,;t t
11258 > s,@LEX@,$LEX,;t t
11259 > s,@LEXLIB@,$LEXLIB,;t t
11260 > s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11261 > s,@PERLINTERP@,$PERLINTERP,;t t
11262 > s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11263 > s,@AR@,$AR,;t t
11264 > s,@PS@,$PS,;t t
11265 > s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
11266 > s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
11267 > s,@MPI_F90_INC@,$MPI_F90_INC,;t t
11268 > s,@MPI_LIB@,$MPI_LIB,;t t
11269 > s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11270 > s,@USE_MPI@,$USE_MPI,;t t
11271 > s,@USE_CGAL@,$USE_CGAL,;t t
11272 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11273 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11274 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11275 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11276 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11277 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11278 > s,@DOXYGEN@,$DOXYGEN,;t t
11279 > s,@DOT@,$DOT,;t t
11280 > s,@DOC@,$DOC,;t t
11281 > s,@enable_dot@,$enable_dot,;t t
11282 > s,@enable_html_docs@,$enable_html_docs,;t t
11283 > s,@enable_latex_docs@,$enable_latex_docs,;t t
11284 > s,@BATEXT@,$BATEXT,;t t
11285 > s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11286 > s,@OOPSE@,$OOPSE,;t t
11287 > s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11288 > s,@SUBDIRS@,$SUBDIRS,;t t
11289 > s,@FFLAGS@,$FFLAGS,;t t
11290 > s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11291 > CEOF
11292 >
11293 > _ACEOF
11294 >
11295 >  cat >>$CONFIG_STATUS <<\_ACEOF
11296 >  # Split the substitutions into bite-sized pieces for seds with
11297 >  # small command number limits, like on Digital OSF/1 and HP-UX.
11298 >  ac_max_sed_lines=48
11299 >  ac_sed_frag=1 # Number of current file.
11300 >  ac_beg=1 # First line for current file.
11301 >  ac_end=$ac_max_sed_lines # Line after last line for current file.
11302 >  ac_more_lines=:
11303 >  ac_sed_cmds=
11304 >  while $ac_more_lines; do
11305 >    if test $ac_beg -gt 1; then
11306 >      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11307 >    else
11308 >      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11309 >    fi
11310 >    if test ! -s $tmp/subs.frag; then
11311 >      ac_more_lines=false
11312 >    else
11313 >      # The purpose of the label and of the branching condition is to
11314 >      # speed up the sed processing (if there are no `@' at all, there
11315 >      # is no need to browse any of the substitutions).
11316 >      # These are the two extra sed commands mentioned above.
11317 >      (echo ':t
11318 >  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11319 >      if test -z "$ac_sed_cmds"; then
11320 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11321 >      else
11322 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11323 >      fi
11324 >      ac_sed_frag=`expr $ac_sed_frag + 1`
11325 >      ac_beg=$ac_end
11326 >      ac_end=`expr $ac_end + $ac_max_sed_lines`
11327 >    fi
11328 >  done
11329 >  if test -z "$ac_sed_cmds"; then
11330 >    ac_sed_cmds=cat
11331 >  fi
11332 > fi # test -n "$CONFIG_FILES"
11333 >
11334 > _ACEOF
11335 > cat >>$CONFIG_STATUS <<\_ACEOF
11336 > for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11337 >  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11338 >  case $ac_file in
11339 >  - | *:- | *:-:* ) # input from stdin
11340 >        cat >$tmp/stdin
11341 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11342 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11343 >  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11344 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11345 >  * )   ac_file_in=$ac_file.in ;;
11346 >  esac
11347 >
11348 >  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11349 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11350 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11351 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11352 >         X"$ac_file" : 'X\(//\)$' \| \
11353 >         X"$ac_file" : 'X\(/\)' \| \
11354 >         .     : '\(.\)' 2>/dev/null ||
11355 > echo X"$ac_file" |
11356 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11357 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11358 >          /^X\(\/\/\)$/{ s//\1/; q; }
11359 >          /^X\(\/\).*/{ s//\1/; q; }
11360 >          s/.*/./; q'`
11361 >  { if $as_mkdir_p; then
11362 >    mkdir -p "$ac_dir"
11363 >  else
11364 >    as_dir="$ac_dir"
11365 >    as_dirs=
11366 >    while test ! -d "$as_dir"; do
11367 >      as_dirs="$as_dir $as_dirs"
11368 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11369 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11370 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11371 >         X"$as_dir" : 'X\(//\)$' \| \
11372 >         X"$as_dir" : 'X\(/\)' \| \
11373 >         .     : '\(.\)' 2>/dev/null ||
11374 > echo X"$as_dir" |
11375 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11376 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11377 >          /^X\(\/\/\)$/{ s//\1/; q; }
11378 >          /^X\(\/\).*/{ s//\1/; q; }
11379 >          s/.*/./; q'`
11380 >    done
11381 >    test ! -n "$as_dirs" || mkdir $as_dirs
11382 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11383 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11384 >   { (exit 1); exit 1; }; }; }
11385 >
11386 >  ac_builddir=.
11387 >
11388 > if test "$ac_dir" != .; then
11389 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11390 >  # A "../" for each directory in $ac_dir_suffix.
11391 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11392 > else
11393 >  ac_dir_suffix= ac_top_builddir=
11394 > fi
11395 >
11396 > case $srcdir in
11397 >  .)  # No --srcdir option.  We are building in place.
11398 >    ac_srcdir=.
11399 >    if test -z "$ac_top_builddir"; then
11400 >       ac_top_srcdir=.
11401 >    else
11402 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11403 >    fi ;;
11404 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11405 >    ac_srcdir=$srcdir$ac_dir_suffix;
11406 >    ac_top_srcdir=$srcdir ;;
11407 >  *) # Relative path.
11408 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11409 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11410 > esac
11411 >
11412 > # Do not use `cd foo && pwd` to compute absolute paths, because
11413 > # the directories may not exist.
11414 > case `pwd` in
11415 > .) ac_abs_builddir="$ac_dir";;
11416 > *)
11417 >  case "$ac_dir" in
11418 >  .) ac_abs_builddir=`pwd`;;
11419 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11420 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11421 >  esac;;
11422 > esac
11423 > case $ac_abs_builddir in
11424 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11425 > *)
11426 >  case ${ac_top_builddir}. in
11427 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11428 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11429 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11430 >  esac;;
11431 > esac
11432 > case $ac_abs_builddir in
11433 > .) ac_abs_srcdir=$ac_srcdir;;
11434 > *)
11435 >  case $ac_srcdir in
11436 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11437 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11438 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11439 >  esac;;
11440 > esac
11441 > case $ac_abs_builddir in
11442 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11443 > *)
11444 >  case $ac_top_srcdir in
11445 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11446 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11447 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11448 >  esac;;
11449 > esac
11450 >
11451 >
11452 >  case $INSTALL in
11453 >  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11454 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11455 >  esac
11456 >
11457 >  if test x"$ac_file" != x-; then
11458 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
11459 > echo "$as_me: creating $ac_file" >&6;}
11460 >    rm -f "$ac_file"
11461 >  fi
11462 >  # Let's still pretend it is `configure' which instantiates (i.e., don't
11463 >  # use $as_me), people would be surprised to read:
11464 >  #    /* config.h.  Generated by config.status.  */
11465 >  if test x"$ac_file" = x-; then
11466 >    configure_input=
11467 >  else
11468 >    configure_input="$ac_file.  "
11469 >  fi
11470 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11471 >                                     sed 's,.*/,,'` by configure."
11472 >
11473 >  # First look for the input files in the build tree, otherwise in the
11474 >  # src tree.
11475 >  ac_file_inputs=`IFS=:
11476 >    for f in $ac_file_in; do
11477 >      case $f in
11478 >      -) echo $tmp/stdin ;;
11479 >      [\\/$]*)
11480 >         # Absolute (can't be DOS-style, as IFS=:)
11481 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11482 > echo "$as_me: error: cannot find input file: $f" >&2;}
11483 >   { (exit 1); exit 1; }; }
11484 >         echo "$f";;
11485 >      *) # Relative
11486 >         if test -f "$f"; then
11487 >           # Build tree
11488 >           echo "$f"
11489 >         elif test -f "$srcdir/$f"; then
11490 >           # Source tree
11491 >           echo "$srcdir/$f"
11492 >         else
11493 >           # /dev/null tree
11494 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11495 > echo "$as_me: error: cannot find input file: $f" >&2;}
11496 >   { (exit 1); exit 1; }; }
11497 >         fi;;
11498 >      esac
11499 >    done` || { (exit 1); exit 1; }
11500 > _ACEOF
11501 > cat >>$CONFIG_STATUS <<_ACEOF
11502 >  sed "$ac_vpsub
11503 > $extrasub
11504 > _ACEOF
11505 > cat >>$CONFIG_STATUS <<\_ACEOF
11506 > :t
11507 > /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11508 > s,@configure_input@,$configure_input,;t t
11509 > s,@srcdir@,$ac_srcdir,;t t
11510 > s,@abs_srcdir@,$ac_abs_srcdir,;t t
11511 > s,@top_srcdir@,$ac_top_srcdir,;t t
11512 > s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11513 > s,@builddir@,$ac_builddir,;t t
11514 > s,@abs_builddir@,$ac_abs_builddir,;t t
11515 > s,@top_builddir@,$ac_top_builddir,;t t
11516 > s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11517 > s,@INSTALL@,$ac_INSTALL,;t t
11518 > " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11519 >  rm -f $tmp/stdin
11520 >  if test x"$ac_file" != x-; then
11521 >    mv $tmp/out $ac_file
11522 >  else
11523 >    cat $tmp/out
11524 >    rm -f $tmp/out
11525 >  fi
11526 >
11527 >  # Run the commands associated with the file.
11528 >  case $ac_file in
11529 >    make/Makefile ) chmod 0755 scripts/* ;;
11530 >    src/utils/Makefile ) chmod 0755 scripts/* ;;
11531 >    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11532 >    scripts/filepp ) chmod 0755 scripts/* ;;
11533 >  esac
11534   done
11535   _ACEOF
11536   cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines