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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines