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 2081 by gezelter, Fri Mar 4 15:29:03 2005 UTC vs.
Revision 2502 by gezelter, Thu Dec 8 22:04:30 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 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-cgal-makefile=FILE  CGAL makefile that should be used
889  
890   Some influential environment variables:
891    CC          C compiler command
# Line 886 | 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 1872 | Line 1883 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1883  
1884  
1885  
1886 +
1887 +
1888 + #
1889 + #
1890 + #
1891  
1892  
1893  
# Line 1967 | 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 2009 | 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 2681 | 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 2723 | 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 3023 | Line 3039 | fi
3039    echo $ac_declaration      >>confdefs.h
3040    echo '#endif'             >>confdefs.h
3041   fi
3042 +
3043 + ac_ext=c
3044 + ac_cpp='$CPP $CPPFLAGS'
3045 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 +
3049  
3050   ac_ext=c
3051   ac_cpp='$CPP $CPPFLAGS'
3052   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055 + echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3056 + echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3057 + # On Suns, sometimes $CPP names a directory.
3058 + if test -n "$CPP" && test -d "$CPP"; then
3059 +  CPP=
3060 + fi
3061 + if test -z "$CPP"; then
3062 +  if test "${ac_cv_prog_CPP+set}" = set; then
3063 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3064 + else
3065 +      # Double quotes because CPP needs to be expanded
3066 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3067 +    do
3068 +      ac_preproc_ok=false
3069 + for ac_c_preproc_warn_flag in '' yes
3070 + do
3071 +  # Use a header file that comes with gcc, so configuring glibc
3072 +  # with a fresh cross-compiler works.
3073 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074 +  # <limits.h> exists even on freestanding compilers.
3075 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3076 +  # not just through cpp. "Syntax error" is here to catch this case.
3077 +  cat >conftest.$ac_ext <<_ACEOF
3078 + /* confdefs.h.  */
3079 + _ACEOF
3080 + cat confdefs.h >>conftest.$ac_ext
3081 + cat >>conftest.$ac_ext <<_ACEOF
3082 + /* end confdefs.h.  */
3083 + #ifdef __STDC__
3084 + # include <limits.h>
3085 + #else
3086 + # include <assert.h>
3087 + #endif
3088 +                     Syntax error
3089 + _ACEOF
3090 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3091 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3092 +  ac_status=$?
3093 +  grep -v '^ *+' conftest.er1 >conftest.err
3094 +  rm -f conftest.er1
3095 +  cat conftest.err >&5
3096 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 +  (exit $ac_status); } >/dev/null; then
3098 +  if test -s conftest.err; then
3099 +    ac_cpp_err=$ac_c_preproc_warn_flag
3100 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3101 +  else
3102 +    ac_cpp_err=
3103 +  fi
3104 + else
3105 +  ac_cpp_err=yes
3106 + fi
3107 + if test -z "$ac_cpp_err"; then
3108 +  :
3109 + else
3110 +  echo "$as_me: failed program was:" >&5
3111 + sed 's/^/| /' conftest.$ac_ext >&5
3112 +
3113 +  # Broken: fails on valid input.
3114 + continue
3115 + fi
3116 + rm -f conftest.err conftest.$ac_ext
3117 +
3118 +  # OK, works on sane cases.  Now check whether non-existent headers
3119 +  # can be detected and how.
3120 +  cat >conftest.$ac_ext <<_ACEOF
3121 + /* confdefs.h.  */
3122 + _ACEOF
3123 + cat confdefs.h >>conftest.$ac_ext
3124 + cat >>conftest.$ac_ext <<_ACEOF
3125 + /* end confdefs.h.  */
3126 + #include <ac_nonexistent.h>
3127 + _ACEOF
3128 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3129 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3130 +  ac_status=$?
3131 +  grep -v '^ *+' conftest.er1 >conftest.err
3132 +  rm -f conftest.er1
3133 +  cat conftest.err >&5
3134 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 +  (exit $ac_status); } >/dev/null; then
3136 +  if test -s conftest.err; then
3137 +    ac_cpp_err=$ac_c_preproc_warn_flag
3138 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3139 +  else
3140 +    ac_cpp_err=
3141 +  fi
3142 + else
3143 +  ac_cpp_err=yes
3144 + fi
3145 + if test -z "$ac_cpp_err"; then
3146 +  # Broken: success on invalid input.
3147 + continue
3148 + else
3149 +  echo "$as_me: failed program was:" >&5
3150 + sed 's/^/| /' conftest.$ac_ext >&5
3151  
3152 +  # Passes both tests.
3153 + ac_preproc_ok=:
3154 + break
3155 + fi
3156 + rm -f conftest.err conftest.$ac_ext
3157  
3158 + done
3159 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3160 + rm -f conftest.err conftest.$ac_ext
3161 + if $ac_preproc_ok; then
3162 +  break
3163 + fi
3164 +
3165 +    done
3166 +    ac_cv_prog_CPP=$CPP
3167 +
3168 + fi
3169 +  CPP=$ac_cv_prog_CPP
3170 + else
3171 +  ac_cv_prog_CPP=$CPP
3172 + fi
3173 + echo "$as_me:$LINENO: result: $CPP" >&5
3174 + echo "${ECHO_T}$CPP" >&6
3175 + ac_preproc_ok=false
3176 + for ac_c_preproc_warn_flag in '' yes
3177 + do
3178 +  # Use a header file that comes with gcc, so configuring glibc
3179 +  # with a fresh cross-compiler works.
3180 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3181 +  # <limits.h> exists even on freestanding compilers.
3182 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3183 +  # not just through cpp. "Syntax error" is here to catch this case.
3184 +  cat >conftest.$ac_ext <<_ACEOF
3185 + /* confdefs.h.  */
3186 + _ACEOF
3187 + cat confdefs.h >>conftest.$ac_ext
3188 + cat >>conftest.$ac_ext <<_ACEOF
3189 + /* end confdefs.h.  */
3190 + #ifdef __STDC__
3191 + # include <limits.h>
3192 + #else
3193 + # include <assert.h>
3194 + #endif
3195 +                     Syntax error
3196 + _ACEOF
3197 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3199 +  ac_status=$?
3200 +  grep -v '^ *+' conftest.er1 >conftest.err
3201 +  rm -f conftest.er1
3202 +  cat conftest.err >&5
3203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 +  (exit $ac_status); } >/dev/null; then
3205 +  if test -s conftest.err; then
3206 +    ac_cpp_err=$ac_c_preproc_warn_flag
3207 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3208 +  else
3209 +    ac_cpp_err=
3210 +  fi
3211 + else
3212 +  ac_cpp_err=yes
3213 + fi
3214 + if test -z "$ac_cpp_err"; then
3215 +  :
3216 + else
3217 +  echo "$as_me: failed program was:" >&5
3218 + sed 's/^/| /' conftest.$ac_ext >&5
3219 +
3220 +  # Broken: fails on valid input.
3221 + continue
3222 + fi
3223 + rm -f conftest.err conftest.$ac_ext
3224 +
3225 +  # OK, works on sane cases.  Now check whether non-existent headers
3226 +  # can be detected and how.
3227 +  cat >conftest.$ac_ext <<_ACEOF
3228 + /* confdefs.h.  */
3229 + _ACEOF
3230 + cat confdefs.h >>conftest.$ac_ext
3231 + cat >>conftest.$ac_ext <<_ACEOF
3232 + /* end confdefs.h.  */
3233 + #include <ac_nonexistent.h>
3234 + _ACEOF
3235 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3236 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3237 +  ac_status=$?
3238 +  grep -v '^ *+' conftest.er1 >conftest.err
3239 +  rm -f conftest.er1
3240 +  cat conftest.err >&5
3241 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 +  (exit $ac_status); } >/dev/null; then
3243 +  if test -s conftest.err; then
3244 +    ac_cpp_err=$ac_c_preproc_warn_flag
3245 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3246 +  else
3247 +    ac_cpp_err=
3248 +  fi
3249 + else
3250 +  ac_cpp_err=yes
3251 + fi
3252 + if test -z "$ac_cpp_err"; then
3253 +  # Broken: success on invalid input.
3254 + continue
3255 + else
3256 +  echo "$as_me: failed program was:" >&5
3257 + sed 's/^/| /' conftest.$ac_ext >&5
3258 +
3259 +  # Passes both tests.
3260 + ac_preproc_ok=:
3261 + break
3262 + fi
3263 + rm -f conftest.err conftest.$ac_ext
3264 +
3265 + done
3266 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3267 + rm -f conftest.err conftest.$ac_ext
3268 + if $ac_preproc_ok; then
3269 +  :
3270 + else
3271 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3272 + See \`config.log' for more details." >&5
3273 + echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3274 + See \`config.log' for more details." >&2;}
3275 +   { (exit 1); exit 1; }; }
3276 + fi
3277 +
3278 + ac_ext=c
3279 + ac_cpp='$CPP $CPPFLAGS'
3280 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
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 3092 | 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 3134 | 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 3539 | Line 3806 | F90FLAGS="$F90FLAGS $ac_verb"
3806   ac_save_F90FLAGS=$F90FLAGS
3807   F90FLAGS="$F90FLAGS $ac_verb"
3808  
3809 < (eval echo $as_me:3542: \"$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 3616 | 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:3619: \"$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 4448 | 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  
4725 < ac_ext=c
4726 < ac_cpp='$CPP $CPPFLAGS'
4727 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4461 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4462 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4463 < echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4464 < # On Suns, sometimes $CPP names a directory.
4465 < if test -n "$CPP" && test -d "$CPP"; then
4466 <  CPP=
4467 < fi
4468 < if test -z "$CPP"; then
4469 <  if test "${ac_cv_prog_CPP+set}" = set; then
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
4475 <      ac_preproc_ok=false
4476 < for ac_c_preproc_warn_flag in '' yes
4477 < do
4478 <  # Use a header file that comes with gcc, so configuring glibc
4479 <  # with a fresh cross-compiler works.
4480 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <  # <limits.h> exists even on freestanding compilers.
4482 <  # On the NeXT, cc -E runs the code through the compiler's parser,
4483 <  # not just through cpp. "Syntax error" is here to catch this case.
4484 <  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=
4510 <  fi
4511 < else
4512 <  ac_cpp_err=yes
4513 < fi
4514 < if test -z "$ac_cpp_err"; then
4515 <  :
4516 < else
4517 <  echo "$as_me: failed program was:" >&5
4518 < sed 's/^/| /' conftest.$ac_ext >&5
4519 <
4520 <  # Broken: fails on valid input.
4521 < continue
4522 < fi
4523 < rm -f conftest.err conftest.$ac_ext
4524 <
4525 <  # OK, works on sane cases.  Now check whether non-existent headers
4526 <  # can be detected and how.
4527 <  cat >conftest.$ac_ext <<_ACEOF
4528 < /* confdefs.h.  */
4529 < _ACEOF
4530 < cat confdefs.h >>conftest.$ac_ext
4531 < cat >>conftest.$ac_ext <<_ACEOF
4532 < /* end confdefs.h.  */
4533 < #include <ac_nonexistent.h>
4534 < _ACEOF
4535 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4536 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4537 <  ac_status=$?
4538 <  grep -v '^ *+' conftest.er1 >conftest.err
4539 <  rm -f conftest.er1
4540 <  cat conftest.err >&5
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); } >/dev/null; then
4771 <  if test -s conftest.err; then
4772 <    ac_cpp_err=$ac_c_preproc_warn_flag
4773 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4546 <  else
4547 <    ac_cpp_err=
4548 <  fi
4549 < else
4550 <  ac_cpp_err=yes
4551 < fi
4552 < if test -z "$ac_cpp_err"; then
4553 <  # Broken: success on invalid input.
4554 < continue
4555 < else
4556 <  echo "$as_me: failed program was:" >&5
4557 < sed 's/^/| /' conftest.$ac_ext >&5
4558 <
4559 <  # Passes both tests.
4560 < ac_preproc_ok=:
4561 < break
4562 < fi
4563 < rm -f conftest.err conftest.$ac_ext
4564 <
4565 < done
4566 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4567 < rm -f conftest.err conftest.$ac_ext
4568 < if $ac_preproc_ok; then
4569 <  break
4570 < fi
4571 <
4572 <    done
4573 <    ac_cv_prog_CPP=$CPP
4574 <
4575 < fi
4576 <  CPP=$ac_cv_prog_CPP
4577 < else
4578 <  ac_cv_prog_CPP=$CPP
4579 < fi
4580 < echo "$as_me:$LINENO: result: $CPP" >&5
4581 < echo "${ECHO_T}$CPP" >&6
4582 < ac_preproc_ok=false
4583 < for ac_c_preproc_warn_flag in '' yes
4584 < do
4585 <  # Use a header file that comes with gcc, so configuring glibc
4586 <  # with a fresh cross-compiler works.
4587 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4588 <  # <limits.h> exists even on freestanding compilers.
4589 <  # On the NeXT, cc -E runs the code through the compiler's parser,
4590 <  # not just through cpp. "Syntax error" is here to catch this case.
4591 <  cat >conftest.$ac_ext <<_ACEOF
4592 < /* confdefs.h.  */
4593 < _ACEOF
4594 < cat confdefs.h >>conftest.$ac_ext
4595 < cat >>conftest.$ac_ext <<_ACEOF
4596 < /* end confdefs.h.  */
4597 < #ifdef __STDC__
4598 < # include <limits.h>
4599 < #else
4600 < # include <assert.h>
4601 < #endif
4602 <                     Syntax error
4603 < _ACEOF
4604 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4605 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
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=$?
4607  grep -v '^ *+' conftest.er1 >conftest.err
4608  rm -f conftest.er1
4609  cat conftest.err >&5
4775    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 <  (exit $ac_status); } >/dev/null; then
4777 <  if test -s conftest.err; then
4613 <    ac_cpp_err=$ac_c_preproc_warn_flag
4614 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4615 <  else
4616 <    ac_cpp_err=
4617 <  fi
4776 >  (exit $ac_status); }; }; then
4777 >  ac_cv_lib_m_asin=yes
4778   else
4619  ac_cpp_err=yes
4620 fi
4621 if test -z "$ac_cpp_err"; then
4622  :
4623 else
4779    echo "$as_me: failed program was:" >&5
4780   sed 's/^/| /' conftest.$ac_ext >&5
4781  
4782 <  # Broken: fails on valid input.
4628 < 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
4633 <  # can be detected and how.
4634 <  cat >conftest.$ac_ext <<_ACEOF
4635 < /* confdefs.h.  */
4636 < _ACEOF
4637 < cat confdefs.h >>conftest.$ac_ext
4638 < cat >>conftest.$ac_ext <<_ACEOF
4639 < /* end confdefs.h.  */
4640 < #include <ac_nonexistent.h>
4641 < _ACEOF
4642 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4643 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4644 <  ac_status=$?
4645 <  grep -v '^ *+' conftest.er1 >conftest.err
4646 <  rm -f conftest.er1
4647 <  cat conftest.err >&5
4648 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 <  (exit $ac_status); } >/dev/null; then
4650 <  if test -s conftest.err; then
4651 <    ac_cpp_err=$ac_c_preproc_warn_flag
4652 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4653 <  else
4654 <    ac_cpp_err=
4655 <  fi
4656 < else
4657 <  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
4793 < sed 's/^/| /' conftest.$ac_ext >&5
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
4794  
4795 <  # Passes both tests.
4667 < ac_preproc_ok=:
4668 < break
4669 < fi
4670 < rm -f conftest.err conftest.$ac_ext
4795 >  LIBS="-lm $LIBS"
4796  
4672 done
4673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4674 rm -f conftest.err conftest.$ac_ext
4675 if $ac_preproc_ok; then
4676  :
4797   else
4798 <  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4679 < See \`config.log' for more details." >&5
4680 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4681 < See \`config.log' for more details." >&2;}
4682 <   { (exit 1); exit 1; }; }
4798 >  exit
4799   fi
4800  
4801 +
4802   ac_ext=c
4803   ac_cpp='$CPP $CPPFLAGS'
4804   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4689 | Line 4806 | echo "$as_me:$LINENO: checking for egrep" >&5
4806   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4807  
4808  
4692 echo "$as_me:$LINENO: checking for egrep" >&5
4693 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4694 if test "${ac_cv_prog_egrep+set}" = set; then
4695  echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4698    then ac_cv_prog_egrep='grep -E'
4699    else ac_cv_prog_egrep='egrep'
4700    fi
4701 fi
4702 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4703 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4704 EGREP=$ac_cv_prog_egrep
4705
4706
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 4942 | 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
4958 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
4959 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4960 < 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 4973 | 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 5009 | 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 5051 | 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 5080 | 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
5098 <
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  
5101 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 <
5108 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5109 < do
5110 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5111 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5112 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5113 < 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.  */
5122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5123   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5124 #define $ac_func innocuous_$ac_func
5334  
5126 /* System header to define __stub macros and hopefully few prototypes,
5127    which can conflict with char $ac_func (); below.
5128    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5129    <limits.h> exists even on freestanding compilers.  */
5130
5131 #ifdef __STDC__
5132 # include <limits.h>
5133 #else
5134 # include <assert.h>
5135 #endif
5136
5137 #undef $ac_func
5138
5335   /* Override any gcc2 internal prototype to avoid an error.  */
5336   #ifdef __cplusplus
5337   extern "C"
5142 {
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 ();
5147 < /* The GNU C library defines this for functions which it implements
5148 <    to always fail with ENOSYS.  Some functions are actually named
5149 <    something starting with __ and the normal name is an alias.  */
5150 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5151 < choke me
5152 < #else
5153 < char (*f) () = $ac_func;
5154 < #endif
5155 < #ifdef __cplusplus
5156 < }
5157 < #endif
5158 <
5341 > char inflateEnd ();
5342   int
5343   main ()
5344   {
5345 < return f != $ac_func;
5345 > inflateEnd ();
5346    ;
5347    return 0;
5348   }
# Line 5186 | 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
5207 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
5228 < rm -f conftest.$ac_objext
5229 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230 <  (eval $ac_compile) 2>conftest.er1
5231 <  ac_status=$?
5232 <  grep -v '^ *+' conftest.er1 >conftest.err
5233 <  rm -f conftest.er1
5234 <  cat conftest.err >&5
5235 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 <  (exit $ac_status); } &&
5237 <         { ac_try='test -z "$ac_c_werror_flag"
5238 <                         || test ! -s conftest.err'
5239 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 <  (eval $ac_try) 2>&5
5241 <  ac_status=$?
5242 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 <  (exit $ac_status); }; } &&
5244 <         { ac_try='test -s conftest.$ac_objext'
5245 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 <  (eval $ac_try) 2>&5
5247 <  ac_status=$?
5248 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 <  (exit $ac_status); }; }; then
5250 <  echo "$as_me:$LINENO: result: yes" >&5
5251 < 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  
5253 cat >>confdefs.h <<\_ACEOF
5254 #define HAVE__SYSTEM_CONFIGURATION 1
5255 _ACEOF
5414  
5257 else
5258  echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5415  
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5263 fi
5264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5416  
5266  # clean out junk possibly left behind by a previous configuration
5267  rm -f src/getopt.h
5268  # Check for getopt_long support
5417  
5418 < for ac_header in getopt.h
5418 >
5419 >
5420 >
5421 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5422   do
5423   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5424   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 5417 | 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.  */
5436 < #define $ac_func innocuous_$ac_func
5437 <
5438 < /* System header to define __stub macros and hopefully few prototypes,
5439 <    which can conflict with char $ac_func (); below.
5440 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5441 <    <limits.h> exists even on freestanding compilers.  */
5442 <
5443 < #ifdef __STDC__
5444 < # include <limits.h>
5445 < #else
5446 < # include <assert.h>
5447 < #endif
5448 <
5449 < #undef $ac_func
5450 <
5451 < /* Override any gcc2 internal prototype to avoid an error.  */
5452 < #ifdef __cplusplus
5453 < extern "C"
5454 < {
5455 < #endif
5456 < /* We use char because int might match the return type of a gcc2
5457 <   builtin and then its argument prototype would still apply.  */
5458 < char $ac_func ();
5459 < /* The GNU C library defines this for functions which it implements
5460 <    to always fail with ENOSYS.  Some functions are actually named
5461 <    something starting with __ and the normal name is an alias.  */
5462 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5463 < choke me
5464 < #else
5465 < char (*f) () = $ac_func;
5466 < #endif
5467 < #ifdef __cplusplus
5468 < }
5469 < #endif
5470 <
5471 < int
5472 < main ()
5473 < {
5474 < return f != $ac_func;
5475 <  ;
5476 <  return 0;
5477 < }
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 5492 | 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
5511 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5512 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5513 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5514 <  cat >>confdefs.h <<_ACEOF
5515 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5516 < _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
5521 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5522 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5523 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5524 < else
5525 <  ac_check_lib_save_LIBS=$LIBS
5526 < 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_ef" = 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 <
7435 < cat >>confdefs.h <<_ACEOF
7436 < #define PSCOMMAND $PS
7437 < _ACEOF
7438 <
7439 <
7440 < if test "$ac_cv_prog_ps_syntax" = BSD; then
7441 <  cat >>confdefs.h <<\_ACEOF
7442 < #define PSTYPE_IS_BSD 1
7443 < _ACEOF
7444 <
7445 < else
7446 <   if test "$ac_cv_prog_ps_syntax" = POSIX; then
7447 <       cat >>confdefs.h <<\_ACEOF
7448 < #define PSTYPE_IS_POSIX 1
7449 < _ACEOF
7450 <
7451 <   else
7452 <       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7453 < echo "$as_me: error: Unknown ps syntax type!" >&2;}
7454 <   { (exit 1); exit 1; }; }
7455 <   fi
7456 < fi
7457 <
7458 <
7459 < # Check whether --with-mpi or --without-mpi was given.
7460 < if test "${with_mpi+set}" = set; then
7461 <  withval="$with_mpi"
7462 <  with_mpi=$withval
7463 < else
7464 <  with_mpi="no"
7465 < fi;
7466 <
7467 < case "x$with_mpi" in
7468 <        xyes | "x")  USE_MPI=yes;;
7469 <        xno) USE_MPI=no ;;
7470 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
7471 < esac
7472 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
7473 <        MPI="/usr/local"
7474 < fi
7475 < if test "$USE_MPI" = "yes"; then
7476 <
7477 <
7478 < # Set variables...
7479 < MPI_LIB_DIR="$MPI/lib"
7480 < MPI_INC_DIR="$MPI/include"
7481 <
7482 <
7483 <
7484 < echo "$as_me:$LINENO: checking for mpi.h" >&5
7485 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7486 < have_mpi_h=0
7487 < echo '#include <mpi.h>' > conftest.cc
7488 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7489 <        echo "$as_me:$LINENO: result: yes" >&5
7490 < echo "${ECHO_T}yes" >&6
7491 <        have_mpi_h=1
7492 < else
7493 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7494 < echo "${ECHO_T}no! Check MPI include paths" >&6
7495 <        USE_MPI="no"
7496 < fi
7497 < rm -f conftest*
7498 < if test "$have_mpi_h" = 1; then
7499 <
7500 < cat >>confdefs.h <<\_ACEOF
7501 < #define HAVE_MPI_H 1
7502 < _ACEOF
7503 <
7504 < fi
7505 <
7506 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7507 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7508 < have_mpif_h=0
7509 < rm -f conftest*
7510 < cat >conftest.f90 <<EOF
7511 < program main
7512 <   include 'mpif.h'
7513 < end
7514 < EOF
7515 < if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7516 <        echo "$as_me:$LINENO: result: yes" >&5
7517 < echo "${ECHO_T}yes" >&6
7518 <        MPI_F90_INC="$MPI_INC_DIR"
7519 <        have_mpif_h=1
7520 < else
7521 <        if test -s conftest.out ; then
7522 <                cat conftest.out >> config.log
7523 <        fi
7524 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7525 < echo "${ECHO_T}no! Check MPI include paths" >&6
7526 <        USE_MPI="no"
7527 < fi
7528 < rm -f conftest*
7529 <
7530 < if test "$have_mpif_h" = 1; then
7531 <
7532 < cat >>confdefs.h <<\_ACEOF
7533 < #define HAVE_MPIF_H 1
7534 < _ACEOF
7535 <
7536 < fi
7537 <
7538 < ac_ext=c
7539 < ac_cpp='$CPP $CPPFLAGS'
7540 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7541 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7542 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7543 <
7544 < ac_save_LDFLAGS=$LDFLAGS
7545 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7546 <
7547 < if test x = x"$MPI_LIB"; then
7548 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7549 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7550 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7551 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7552 < else
7553 <  ac_check_lib_save_LIBS=$LIBS
7554 < LIBS="-lmpich  $LIBS"
7555 < cat >conftest.$ac_ext <<_ACEOF
7556 < /* confdefs.h.  */
7557 < _ACEOF
7558 < cat confdefs.h >>conftest.$ac_ext
7559 < cat >>conftest.$ac_ext <<_ACEOF
7560 < /* end confdefs.h.  */
7561 <
7562 < /* Override any gcc2 internal prototype to avoid an error.  */
7563 < #ifdef __cplusplus
7564 < extern "C"
7565 < #endif
7566 < /* We use char because int might match the return type of a gcc2
7567 <   builtin and then its argument prototype would still apply.  */
7568 < char MPI_Init ();
7569 < int
7570 < main ()
7571 < {
7572 < MPI_Init ();
7573 <  ;
7574 <  return 0;
7575 < }
7576 < _ACEOF
7577 < rm -f conftest.$ac_objext conftest$ac_exeext
7578 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7579 <  (eval $ac_link) 2>conftest.er1
7580 <  ac_status=$?
7581 <  grep -v '^ *+' conftest.er1 >conftest.err
7582 <  rm -f conftest.er1
7583 <  cat conftest.err >&5
7584 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 <  (exit $ac_status); } &&
7586 <         { ac_try='test -z "$ac_c_werror_flag"
7587 <                         || test ! -s conftest.err'
7588 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7589 <  (eval $ac_try) 2>&5
7590 <  ac_status=$?
7591 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 <  (exit $ac_status); }; } &&
7593 <         { ac_try='test -s conftest$ac_exeext'
7594 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595 <  (eval $ac_try) 2>&5
7596 <  ac_status=$?
7597 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 <  (exit $ac_status); }; }; then
7599 <  ac_cv_lib_mpich_MPI_Init=yes
7600 < else
7601 <  echo "$as_me: failed program was:" >&5
7602 < sed 's/^/| /' conftest.$ac_ext >&5
7603 <
7604 < ac_cv_lib_mpich_MPI_Init=no
7605 < fi
7606 < rm -f conftest.err conftest.$ac_objext \
7607 <      conftest$ac_exeext conftest.$ac_ext
7608 < LIBS=$ac_check_lib_save_LIBS
7609 < fi
7610 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7611 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7612 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7613 <  MPI_LIB="-lmpich"
7614 < fi
7615 <
7616 < fi
7617 < if test x = x"$MPI_LIB"; then
7618 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7619 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7620 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7621 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7622 < else
7623 <  ac_check_lib_save_LIBS=$LIBS
7624 < LIBS="-lmpi  $LIBS"
7625 < cat >conftest.$ac_ext <<_ACEOF
7626 < /* confdefs.h.  */
7627 < _ACEOF
7628 < cat confdefs.h >>conftest.$ac_ext
7629 < cat >>conftest.$ac_ext <<_ACEOF
7630 < /* end confdefs.h.  */
7631 <
7632 < /* Override any gcc2 internal prototype to avoid an error.  */
7633 < #ifdef __cplusplus
7634 < extern "C"
7635 < #endif
7636 < /* We use char because int might match the return type of a gcc2
7637 <   builtin and then its argument prototype would still apply.  */
7638 < char MPI_Init ();
7639 < int
7640 < main ()
7641 < {
7642 < MPI_Init ();
7643 <  ;
7644 <  return 0;
7645 < }
7646 < _ACEOF
7647 < rm -f conftest.$ac_objext conftest$ac_exeext
7648 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7649 <  (eval $ac_link) 2>conftest.er1
7650 <  ac_status=$?
7651 <  grep -v '^ *+' conftest.er1 >conftest.err
7652 <  rm -f conftest.er1
7653 <  cat conftest.err >&5
7654 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 <  (exit $ac_status); } &&
7656 <         { ac_try='test -z "$ac_c_werror_flag"
7657 <                         || test ! -s conftest.err'
7658 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 <  (eval $ac_try) 2>&5
7660 <  ac_status=$?
7661 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 <  (exit $ac_status); }; } &&
7663 <         { ac_try='test -s conftest$ac_exeext'
7664 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 <  (eval $ac_try) 2>&5
7666 <  ac_status=$?
7667 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 <  (exit $ac_status); }; }; then
7669 <  ac_cv_lib_mpi_MPI_Init=yes
7670 < else
7671 <  echo "$as_me: failed program was:" >&5
7672 < sed 's/^/| /' conftest.$ac_ext >&5
7673 <
7674 < ac_cv_lib_mpi_MPI_Init=no
7675 < fi
7676 < rm -f conftest.err conftest.$ac_objext \
7677 <      conftest$ac_exeext conftest.$ac_ext
7678 < LIBS=$ac_check_lib_save_LIBS
7679 < fi
7680 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7681 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7682 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7683 <  MPI_LIB="-lmpi"
7684 < fi
7685 <
7686 < fi
7687 < $as_unset ac_cv_lib_mpi_MPI_Init
7688 < if test x = x"$MPI_LIB"; then
7689 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7690 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7691 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7692 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7693 < else
7694 <  ac_check_lib_save_LIBS=$LIBS
7695 < LIBS="-lmpi "-llam" $LIBS"
7696 < cat >conftest.$ac_ext <<_ACEOF
7697 < /* confdefs.h.  */
7698 < _ACEOF
7699 < cat confdefs.h >>conftest.$ac_ext
7700 < cat >>conftest.$ac_ext <<_ACEOF
7701 < /* end confdefs.h.  */
7702 <
7703 < /* Override any gcc2 internal prototype to avoid an error.  */
7704 < #ifdef __cplusplus
7705 < extern "C"
7706 < #endif
7707 < /* We use char because int might match the return type of a gcc2
7708 <   builtin and then its argument prototype would still apply.  */
7709 < char MPI_Init ();
7710 < int
7711 < main ()
7712 < {
7713 < MPI_Init ();
7714 <  ;
7715 <  return 0;
7716 < }
7717 < _ACEOF
7718 < rm -f conftest.$ac_objext conftest$ac_exeext
7719 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7720 <  (eval $ac_link) 2>conftest.er1
7721 <  ac_status=$?
7722 <  grep -v '^ *+' conftest.er1 >conftest.err
7723 <  rm -f conftest.er1
7724 <  cat conftest.err >&5
7725 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 <  (exit $ac_status); } &&
7727 <         { ac_try='test -z "$ac_c_werror_flag"
7728 <                         || test ! -s conftest.err'
7729 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 <  (eval $ac_try) 2>&5
7731 <  ac_status=$?
7732 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 <  (exit $ac_status); }; } &&
7734 <         { ac_try='test -s conftest$ac_exeext'
7735 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 <  (eval $ac_try) 2>&5
7737 <  ac_status=$?
7738 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 <  (exit $ac_status); }; }; then
7740 <  ac_cv_lib_mpi_MPI_Init=yes
7741 < else
7742 <  echo "$as_me: failed program was:" >&5
7743 < sed 's/^/| /' conftest.$ac_ext >&5
7744 <
7745 < ac_cv_lib_mpi_MPI_Init=no
7746 < fi
7747 < rm -f conftest.err conftest.$ac_objext \
7748 <      conftest$ac_exeext conftest.$ac_ext
7749 < LIBS=$ac_check_lib_save_LIBS
7750 < fi
7751 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7752 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7753 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7754 <  MPI_LIB="-lmpi -llam"
7755 < fi
7756 <
7757 < fi
7758 < $as_unset ac_cv_lib_mpich_MPI_Init
7759 < if test x = x"$MPI_LIB"; then
7760 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7761 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7762 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7763 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7764 < else
7765 <  ac_check_lib_save_LIBS=$LIBS
7766 < LIBS="-lmpich "-lpmpich" $LIBS"
7767 < cat >conftest.$ac_ext <<_ACEOF
7768 < /* confdefs.h.  */
7769 < _ACEOF
7770 < cat confdefs.h >>conftest.$ac_ext
7771 < cat >>conftest.$ac_ext <<_ACEOF
7772 < /* end confdefs.h.  */
7773 <
7774 < /* Override any gcc2 internal prototype to avoid an error.  */
7775 < #ifdef __cplusplus
7776 < extern "C"
7777 < #endif
7778 < /* We use char because int might match the return type of a gcc2
7779 <   builtin and then its argument prototype would still apply.  */
7780 < char MPI_Init ();
7781 < int
7782 < main ()
7783 < {
7784 < MPI_Init ();
7785 <  ;
7786 <  return 0;
7787 < }
7788 < _ACEOF
7789 < rm -f conftest.$ac_objext conftest$ac_exeext
7790 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7791 <  (eval $ac_link) 2>conftest.er1
7792 <  ac_status=$?
7793 <  grep -v '^ *+' conftest.er1 >conftest.err
7794 <  rm -f conftest.er1
7795 <  cat conftest.err >&5
7796 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 <  (exit $ac_status); } &&
7798 <         { ac_try='test -z "$ac_c_werror_flag"
7799 <                         || test ! -s conftest.err'
7800 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 <  (eval $ac_try) 2>&5
7802 <  ac_status=$?
7803 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 <  (exit $ac_status); }; } &&
7805 <         { ac_try='test -s conftest$ac_exeext'
7806 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 <  (eval $ac_try) 2>&5
7808 <  ac_status=$?
7809 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 <  (exit $ac_status); }; }; then
7811 <  ac_cv_lib_mpich_MPI_Init=yes
7812 < else
7813 <  echo "$as_me: failed program was:" >&5
7814 < sed 's/^/| /' conftest.$ac_ext >&5
7815 <
7816 < ac_cv_lib_mpich_MPI_Init=no
7817 < fi
7818 < rm -f conftest.err conftest.$ac_objext \
7819 <      conftest$ac_exeext conftest.$ac_ext
7820 < LIBS=$ac_check_lib_save_LIBS
7821 < fi
7822 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7823 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7824 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
7825 <  MPI_LIB="-lmpich -lpmpich"
7826 < fi
7827 <
7828 < fi
7829 <
7830 < $as_unset ac_cv_lib_mpi_MPI_Init
7831 < if test x = x"$MPI_LIB"; then
7832 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7833 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7834 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7835 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7836 < else
7837 <  ac_check_lib_save_LIBS=$LIBS
7838 < LIBS="-lmpi -llam -lpthread $LIBS"
7839 < cat >conftest.$ac_ext <<_ACEOF
7840 < /* confdefs.h.  */
7841 < _ACEOF
7842 < cat confdefs.h >>conftest.$ac_ext
7843 < cat >>conftest.$ac_ext <<_ACEOF
7844 < /* end confdefs.h.  */
7845 <
7846 < /* Override any gcc2 internal prototype to avoid an error.  */
7847 < #ifdef __cplusplus
7848 < extern "C"
7849 < #endif
7850 < /* We use char because int might match the return type of a gcc2
7851 <   builtin and then its argument prototype would still apply.  */
7852 < char MPI_Init ();
7853 < int
7854 < main ()
7855 < {
7856 < MPI_Init ();
7857 <  ;
7858 <  return 0;
7859 < }
7860 < _ACEOF
7861 < rm -f conftest.$ac_objext conftest$ac_exeext
7862 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7863 <  (eval $ac_link) 2>conftest.er1
7864 <  ac_status=$?
7865 <  grep -v '^ *+' conftest.er1 >conftest.err
7866 <  rm -f conftest.er1
7867 <  cat conftest.err >&5
7868 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 <  (exit $ac_status); } &&
7870 <         { ac_try='test -z "$ac_c_werror_flag"
7871 <                         || test ! -s conftest.err'
7872 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 <  (eval $ac_try) 2>&5
7874 <  ac_status=$?
7875 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 <  (exit $ac_status); }; } &&
7877 <         { ac_try='test -s conftest$ac_exeext'
7878 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 <  (eval $ac_try) 2>&5
7880 <  ac_status=$?
7881 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 <  (exit $ac_status); }; }; then
7883 <  ac_cv_lib_mpi_MPI_Init=yes
7884 < else
7885 <  echo "$as_me: failed program was:" >&5
7886 < sed 's/^/| /' conftest.$ac_ext >&5
7887 <
7888 < ac_cv_lib_mpi_MPI_Init=no
7889 < fi
7890 < rm -f conftest.err conftest.$ac_objext \
7891 <      conftest$ac_exeext conftest.$ac_ext
7892 < LIBS=$ac_check_lib_save_LIBS
7893 < fi
7894 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7895 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7896 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
7897 <  MPI_LIB="-lmpi -llam -lpthread"
7898 < else
7899 <
7900 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
7901 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
7902 <   { (exit 1); exit 1; }; }
7903 <             USE_MPI="no"
7904 <
7905 < fi
7906 <
7907 < fi
7908 <
7909 <
7910 <
7911 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
7912 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
7913 < MPI_F90_LIB=""
7914 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
7915 <        MPI_F90_LIB="-lfmpich"
7916 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
7917 <        MPI_F90_LIB="-llamf77mpi"
7918 < else
7919 <                        MPI_F90_LIB="  "
7920 < fi
7921 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
7922 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
7923 <
7924 <
7925 < fi
7926 <
7927 <
7928 <
7929 <
7930 <
7931 < # Check whether --enable-doxygen or --disable-doxygen was given.
7932 < if test "${enable_doxygen+set}" = set; then
7933 <  enableval="$enable_doxygen"
7934 <
7935 < fi;
7936 < # Check whether --enable-dot or --disable-dot was given.
7937 < if test "${enable_dot+set}" = set; then
7938 <  enableval="$enable_dot"
7939 <
7940 < fi;
7941 < # Check whether --enable-html-docs or --disable-html-docs was given.
7942 < if test "${enable_html_docs+set}" = set; then
7943 <  enableval="$enable_html_docs"
7944 <
7945 < else
7946 <   enable_html_docs=yes
7947 < fi;
7948 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
7949 < if test "${enable_latex_docs+set}" = set; then
7950 <  enableval="$enable_latex_docs"
7951 <
7952 < else
7953 <   enable_latex_docs=no
7954 < fi;
7955 < if test "x$enable_doxygen" = xno; then
7956 <        enable_doc=no
7957 < else
7958 <        # Extract the first word of "doxygen", so it can be a program name with args.
7959 < set dummy doxygen; ac_word=$2
7960 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7961 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7962 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
7963 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7964 < else
7965 <  case $DOXYGEN in
7966 <  [\\/]* | ?:[\\/]*)
7967 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7968 <  ;;
7969 <  *)
7970 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 < for as_dir in $PATH
7972 < do
7973 <  IFS=$as_save_IFS
7974 <  test -z "$as_dir" && as_dir=.
7975 <  for ac_exec_ext in '' $ac_executable_extensions; do
7976 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7978 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 <    break 2
7980 <  fi
7981 < done
7982 < done
7983 <
7984 <  ;;
7985 < esac
7986 < fi
7987 < DOXYGEN=$ac_cv_path_DOXYGEN
7988 <
7989 < if test -n "$DOXYGEN"; then
7990 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7991 < echo "${ECHO_T}$DOXYGEN" >&6
7992 < else
7993 <  echo "$as_me:$LINENO: result: no" >&5
7994 < echo "${ECHO_T}no" >&6
7995 < fi
7996 <
7997 <        if test "x$DOXYGEN" = x; then
7998 <                if test "x$enable_doxygen" = xyes; then
7999 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8000 < echo "$as_me: error: could not find doxygen" >&2;}
8001 <   { (exit 1); exit 1; }; }
8002 <                fi
8003 <                enable_doc=no
8004 <        else
8005 <                enable_doc=yes
8006 <                # Extract the first word of "dot", so it can be a program name with args.
8007 < set dummy dot; ac_word=$2
8008 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8009 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8010 < if test "${ac_cv_path_DOT+set}" = set; then
8011 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8012 < else
8013 <  case $DOT in
8014 <  [\\/]* | ?:[\\/]*)
8015 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8016 <  ;;
8017 <  *)
8018 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 < for as_dir in $PATH
8020 < do
8021 <  IFS=$as_save_IFS
8022 <  test -z "$as_dir" && as_dir=.
8023 <  for ac_exec_ext in '' $ac_executable_extensions; do
8024 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8026 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 <    break 2
8028 <  fi
8029 < done
8030 < done
8031 <
8032 <  ;;
8033 < esac
8034 < fi
8035 < DOT=$ac_cv_path_DOT
8036 <
8037 < if test -n "$DOT"; then
8038 <  echo "$as_me:$LINENO: result: $DOT" >&5
8039 < echo "${ECHO_T}$DOT" >&6
8040 < else
8041 <  echo "$as_me:$LINENO: result: no" >&5
8042 < echo "${ECHO_T}no" >&6
8043 < fi
8044 <
8045 <        fi
8046 < fi
8047 <
8048 < if test "x$enable_doc" = xyes; then
8049 <  DOC=1
8050 < else
8051 <  DOC=0
8052 < fi
8053 <
8054 <
8055 < if test x$DOT = x; then
8056 <        if test "x$enable_dot" = xyes; then
8057 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8058 < echo "$as_me: error: could not find dot" >&2;}
8059 <   { (exit 1); exit 1; }; }
8060 <        fi
8061 <        enable_dot=no
8062 < else
8063 <        enable_dot=yes
8064 < fi
8065 <
8066 <
8067 <
8068 <
8069 <
8070 <
8071 <
8072 < OBJEXT=".$OBJEXT"
8073 <
8074 < OOPSE=oopse
8075 <
8076 < if test "x${prefix}" = "xNONE"
8077 < then
8078 <  OOPSE_HOME=${ac_default_prefix}/oopse
8079 < else
8080 <  OOPSE_HOME=${prefix}/oopse
8081 < fi
8082 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
8083 < if test "${enable_oopse_home+set}" = set; then
8084 <  enableval="$enable_oopse_home"
8085 <  OOPSE_HOME="${enableval}"
8086 < fi;
8087 <
8088 < case "x$INSTALL" in
8089 <   x/*) ;;
8090 <   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
8091 < esac
8092 <
8093 < MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
8094 <
8095 < CFLAGS=${CFLAGS-""}
8096 < CXXFLAGS=${CXXFLAGS-""}
8097 < CPPFLAGS=${CPPFLAGS-""}
8098 < FFLAGS=${FFLAGS-""}
8099 < F90FLAGS=${F90FLAGS-""}
8100 < LDFLAGS=${LDFLAGS-""}
8101 < DEBUG=${DEBUG-"-g"}
8102 <
8103 < case $debug in
8104 <  1)
8105 <     FFLAGS="$DEBUG $FFLAGS"
8106 <     F90FLAGS="$DEBUG $F90FLAGS"
8107 <     ;;
8108 <  *)
8109 <     ;;
8110 < esac
8111 <
8112 <
8113 <
8114 <
8115 <
8116 <
8117 <
8118 <
8119 <
8120 <
8121 <
8122 <
8123 <
8124 <
8125 <
8126 <
8127 <
8128 <
8129 <          ac_config_headers="$ac_config_headers src/config.h"
8130 <
8131 <                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8132 <
8133 <
8134 < cat >confcache <<\_ACEOF
8135 < # This file is a shell script that caches the results of configure
8136 < # tests run on this system so they can be shared between configure
8137 < # scripts and configure runs, see configure's option --config-cache.
8138 < # It is not useful on other systems.  If it contains results you don't
8139 < # want to keep, you may remove or edit it.
8140 < #
8141 < # config.status only pays attention to the cache file if you give it
8142 < # the --recheck option to rerun configure.
8143 < #
8144 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
8145 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
8146 < # following values.
8147 <
8148 < _ACEOF
8149 <
8150 < # The following way of writing the cache mishandles newlines in values,
8151 < # but we know of no workaround that is simple, portable, and efficient.
8152 < # So, don't put newlines in cache variables' values.
8153 < # Ultrix sh set writes to stderr and can't be redirected directly,
8154 < # and sets the high bit in the cache file unless we assign to the vars.
8155 < {
8156 <  (set) 2>&1 |
8157 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
8158 <    *ac_space=\ *)
8159 <      # `set' does not quote correctly, so add quotes (double-quote
8160 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
8161 <      sed -n \
8162 <        "s/'/'\\\\''/g;
8163 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8164 <      ;;
8165 <    *)
8166 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
8167 <      sed -n \
8168 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8169 <      ;;
8170 <    esac;
8171 < } |
8172 <  sed '
8173 <     t clear
8174 <     : clear
8175 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8176 <     t end
8177 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8178 <     : end' >>confcache
8179 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
8180 <  if test -w $cache_file; then
8181 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8182 <    cat confcache >$cache_file
8183 <  else
8184 <    echo "not updating unwritable cache $cache_file"
8185 <  fi
8186 < fi
8187 < rm -f confcache
8188 <
8189 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
8190 < # Let make expand exec_prefix.
8191 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8192 <
8193 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
8194 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8195 < # trailing colons and then remove the whole line if VPATH becomes empty
8196 < # (actually we leave an empty line to preserve line numbers).
8197 < if test "x$srcdir" = x.; then
8198 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8199 < s/:*\$(srcdir):*/:/;
8200 < s/:*\${srcdir}:*/:/;
8201 < s/:*@srcdir@:*/:/;
8202 < s/^\([^=]*=[     ]*\):*/\1/;
8203 < s/:*$//;
8204 < s/^[^=]*=[       ]*$//;
8205 < }'
8206 < fi
8207 <
8208 < DEFS=-DHAVE_CONFIG_H
8209 <
8210 < ac_libobjs=
8211 < ac_ltlibobjs=
8212 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8213 <  # 1. Remove the extension, and $U if already installed.
8214 <  ac_i=`echo "$ac_i" |
8215 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8216 <  # 2. Add them.
8217 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8218 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8219 < done
8220 < LIBOBJS=$ac_libobjs
8221 <
8222 < LTLIBOBJS=$ac_ltlibobjs
8223 <
8224 <
8225 <
8226 < : ${CONFIG_STATUS=./config.status}
8227 < ac_clean_files_save=$ac_clean_files
8228 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8229 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8230 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
8231 < cat >$CONFIG_STATUS <<_ACEOF
8232 < #! $SHELL
8233 < # Generated by $as_me.
8234 < # Run this file to recreate the current configuration.
8235 < # Compiler output produced by configure, useful for debugging
8236 < # configure, is in config.log if it exists.
8237 <
8238 < debug=false
8239 < ac_cs_recheck=false
8240 < ac_cs_silent=false
8241 < SHELL=\${CONFIG_SHELL-$SHELL}
8242 < _ACEOF
8243 <
8244 < cat >>$CONFIG_STATUS <<\_ACEOF
8245 < ## --------------------- ##
8246 < ## M4sh Initialization.  ##
8247 < ## --------------------- ##
8248 <
8249 < # Be Bourne compatible
8250 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8251 <  emulate sh
8252 <  NULLCMD=:
8253 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8254 <  # is contrary to our usage.  Disable this feature.
8255 <  alias -g '${1+"$@"}'='"$@"'
8256 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8257 <  set -o posix
8258 < fi
8259 < DUALCASE=1; export DUALCASE # for MKS sh
8260 <
8261 < # Support unset when possible.
8262 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8263 <  as_unset=unset
8264 < else
8265 <  as_unset=false
8266 < fi
8267 <
8268 <
8269 < # Work around bugs in pre-3.0 UWIN ksh.
8270 < $as_unset ENV MAIL MAILPATH
8271 < PS1='$ '
8272 < PS2='> '
8273 < PS4='+ '
8274 <
8275 < # NLS nuisances.
8276 < for as_var in \
8277 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8278 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8279 <  LC_TELEPHONE LC_TIME
8280 < do
8281 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8282 <    eval $as_var=C; export $as_var
8283 <  else
8284 <    $as_unset $as_var
8285 <  fi
8286 < done
8287 <
8288 < # Required to use basename.
8289 < if expr a : '\(a\)' >/dev/null 2>&1; then
8290 <  as_expr=expr
8291 < else
8292 <  as_expr=false
8293 < fi
8294 <
8295 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8296 <  as_basename=basename
8297 < else
8298 <  as_basename=false
8299 < fi
8300 <
8301 <
8302 < # Name of the executable.
8303 < as_me=`$as_basename "$0" ||
8304 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8305 <         X"$0" : 'X\(//\)$' \| \
8306 <         X"$0" : 'X\(/\)$' \| \
8307 <         .     : '\(.\)' 2>/dev/null ||
8308 < echo X/"$0" |
8309 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8310 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
8311 <          /^X\/\(\/\).*/{ s//\1/; q; }
8312 <          s/.*/./; q'`
8313 <
8314 <
8315 < # PATH needs CR, and LINENO needs CR and PATH.
8316 < # Avoid depending upon Character Ranges.
8317 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8318 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8319 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8320 < as_cr_digits='0123456789'
8321 < as_cr_alnum=$as_cr_Letters$as_cr_digits
8322 <
8323 < # The user is always right.
8324 < if test "${PATH_SEPARATOR+set}" != set; then
8325 <  echo "#! /bin/sh" >conf$$.sh
8326 <  echo  "exit 0"   >>conf$$.sh
8327 <  chmod +x conf$$.sh
8328 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8329 <    PATH_SEPARATOR=';'
8330 <  else
8331 <    PATH_SEPARATOR=:
8332 <  fi
8333 <  rm -f conf$$.sh
8334 < fi
8335 <
8336 <
8337 <  as_lineno_1=$LINENO
8338 <  as_lineno_2=$LINENO
8339 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8340 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
8341 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8342 <  # Find who we are.  Look in the path if we contain no path at all
8343 <  # relative or not.
8344 <  case $0 in
8345 <    *[\\/]* ) as_myself=$0 ;;
8346 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8347 < for as_dir in $PATH
8348 < do
8349 <  IFS=$as_save_IFS
8350 <  test -z "$as_dir" && as_dir=.
8351 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8352 < done
8353 <
8354 <       ;;
8355 <  esac
8356 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
8357 <  # in which case we are not to be found in the path.
8358 <  if test "x$as_myself" = x; then
8359 <    as_myself=$0
8360 <  fi
8361 <  if test ! -f "$as_myself"; then
8362 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8363 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8364 <   { (exit 1); exit 1; }; }
8365 <  fi
8366 <  case $CONFIG_SHELL in
8367 <  '')
8368 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8370 < do
8371 <  IFS=$as_save_IFS
8372 <  test -z "$as_dir" && as_dir=.
8373 <  for as_base in sh bash ksh sh5; do
8374 <         case $as_dir in
8375 <         /*)
8376 <           if ("$as_dir/$as_base" -c '
8377 <  as_lineno_1=$LINENO
8378 <  as_lineno_2=$LINENO
8379 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8380 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
8381 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8382 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8383 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8384 <             CONFIG_SHELL=$as_dir/$as_base
8385 <             export CONFIG_SHELL
8386 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8387 <           fi;;
8388 <         esac
8389 <       done
8390 < done
8391 < ;;
8392 <  esac
8393 <
8394 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8395 <  # uniformly replaced by the line number.  The first 'sed' inserts a
8396 <  # line-number line before each line; the second 'sed' does the real
8397 <  # work.  The second script uses 'N' to pair each line-number line
8398 <  # with the numbered line, and appends trailing '-' during
8399 <  # substitution so that $LINENO is not a special case at line end.
8400 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8401 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8402 <  sed '=' <$as_myself |
8403 <    sed '
8404 <      N
8405 <      s,$,-,
8406 <      : loop
8407 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8408 <      t loop
8409 <      s,-$,,
8410 <      s,^['$as_cr_digits']*\n,,
8411 <    ' >$as_me.lineno &&
8412 <  chmod +x $as_me.lineno ||
8413 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8414 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8415 <   { (exit 1); exit 1; }; }
8416 <
8417 <  # Don't try to exec as it changes $[0], causing all sort of problems
8418 <  # (the dirname of $[0] is not the place where we might find the
8419 <  # original and so on.  Autoconf is especially sensible to this).
8420 <  . ./$as_me.lineno
8421 <  # Exit status is that of the last command.
8422 <  exit
8423 < }
8424 <
8425 <
8426 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8427 <  *c*,-n*) ECHO_N= ECHO_C='
8428 < ' ECHO_T='      ' ;;
8429 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8430 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8431 < esac
8432 <
8433 < if expr a : '\(a\)' >/dev/null 2>&1; then
8434 <  as_expr=expr
8435 < else
8436 <  as_expr=false
8437 < fi
8438 <
8439 < rm -f conf$$ conf$$.exe conf$$.file
8440 < echo >conf$$.file
8441 < if ln -s conf$$.file conf$$ 2>/dev/null; then
8442 <  # We could just check for DJGPP; but this test a) works b) is more generic
8443 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8444 <  if test -f conf$$.exe; then
8445 <    # Don't use ln at all; we don't have any links
8446 <    as_ln_s='cp -p'
8447 <  else
8448 <    as_ln_s='ln -s'
8449 <  fi
8450 < elif ln conf$$.file conf$$ 2>/dev/null; then
8451 <  as_ln_s=ln
8452 < else
8453 <  as_ln_s='cp -p'
8454 < fi
8455 < rm -f conf$$ conf$$.exe conf$$.file
8456 <
8457 < if mkdir -p . 2>/dev/null; then
8458 <  as_mkdir_p=:
8459 < else
8460 <  test -d ./-p && rmdir ./-p
8461 <  as_mkdir_p=false
8462 < fi
8463 <
8464 < as_executable_p="test -f"
8465 <
8466 < # Sed expression to map a string onto a valid CPP name.
8467 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8468 <
8469 < # Sed expression to map a string onto a valid variable name.
8470 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8471 <
8472 <
8473 < # IFS
8474 < # We need space, tab and new line, in precisely that order.
8475 < as_nl='
8476 < '
8477 < IFS="   $as_nl"
8478 <
8479 < # CDPATH.
8480 < $as_unset CDPATH
8481 <
8482 < exec 6>&1
8483 <
8484 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
8485 < # report actual input values of CONFIG_FILES etc. instead of their
8486 < # values after options handling.  Logging --version etc. is OK.
8487 < exec 5>>config.log
8488 < {
8489 <  echo
8490 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8491 < ## Running $as_me. ##
8492 < _ASBOX
8493 < } >&5
8494 < cat >&5 <<_CSEOF
8495 <
8496 < This file was extended by OOPSE $as_me 2.0, which was
8497 < generated by GNU Autoconf 2.59.  Invocation command line was
8498 <
8499 <  CONFIG_FILES    = $CONFIG_FILES
8500 <  CONFIG_HEADERS  = $CONFIG_HEADERS
8501 <  CONFIG_LINKS    = $CONFIG_LINKS
8502 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
8503 <  $ $0 $@
8504 <
8505 < _CSEOF
8506 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8507 < echo >&5
8508 < _ACEOF
8509 <
8510 < # Files that config.status was made for.
8511 < if test -n "$ac_config_files"; then
8512 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8513 < fi
8514 <
8515 < if test -n "$ac_config_headers"; then
8516 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8517 < fi
8518 <
8519 < if test -n "$ac_config_links"; then
8520 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8521 < fi
8522 <
8523 < if test -n "$ac_config_commands"; then
8524 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8525 < fi
8526 <
8527 < cat >>$CONFIG_STATUS <<\_ACEOF
8528 <
8529 < ac_cs_usage="\
8530 < \`$as_me' instantiates files from templates according to the
8531 < current configuration.
8532 <
8533 < Usage: $0 [OPTIONS] [FILE]...
8534 <
8535 <  -h, --help       print this help, then exit
8536 <  -V, --version    print version number, then exit
8537 <  -q, --quiet      do not print progress messages
8538 <  -d, --debug      don't remove temporary files
8539 <      --recheck    update $as_me by reconfiguring in the same conditions
8540 <  --file=FILE[:TEMPLATE]
8541 <                   instantiate the configuration file FILE
8542 <  --header=FILE[:TEMPLATE]
8543 <                   instantiate the configuration header FILE
8544 <
8545 < Configuration files:
8546 < $config_files
8547 <
8548 < Configuration headers:
8549 < $config_headers
8550 <
8551 < Configuration links:
8552 < $config_links
8553 <
8554 < Report bugs to <bug-autoconf@gnu.org>."
8555 < _ACEOF
8556 <
8557 < cat >>$CONFIG_STATUS <<_ACEOF
8558 < ac_cs_version="\\
8559 < OOPSE config.status 2.0
8560 < configured by $0, generated by GNU Autoconf 2.59,
8561 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8562 <
8563 < Copyright (C) 2003 Free Software Foundation, Inc.
8564 < This config.status script is free software; the Free Software Foundation
8565 < gives unlimited permission to copy, distribute and modify it."
8566 < srcdir=$srcdir
8567 < INSTALL="$INSTALL"
8568 < _ACEOF
8569 <
8570 < cat >>$CONFIG_STATUS <<\_ACEOF
8571 < # If no file are specified by the user, then we need to provide default
8572 < # value.  By we need to know if files were specified by the user.
8573 < ac_need_defaults=:
8574 < while test $# != 0
8575 < do
8576 <  case $1 in
8577 <  --*=*)
8578 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
8579 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8580 <    ac_shift=:
8581 <    ;;
8582 <  -*)
8583 <    ac_option=$1
8584 <    ac_optarg=$2
8585 <    ac_shift=shift
8586 <    ;;
8587 <  *) # This is not an option, so the user has probably given explicit
8588 <     # arguments.
8589 <     ac_option=$1
8590 <     ac_need_defaults=false;;
8591 <  esac
8592 <
8593 <  case $ac_option in
8594 <  # Handling of the options.
8595 < _ACEOF
8596 < cat >>$CONFIG_STATUS <<\_ACEOF
8597 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8598 <    ac_cs_recheck=: ;;
8599 <  --version | --vers* | -V )
8600 <    echo "$ac_cs_version"; exit 0 ;;
8601 <  --he | --h)
8602 <    # Conflict between --help and --header
8603 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
8604 < Try \`$0 --help' for more information." >&5
8605 < echo "$as_me: error: ambiguous option: $1
8606 < Try \`$0 --help' for more information." >&2;}
8607 <   { (exit 1); exit 1; }; };;
8608 <  --help | --hel | -h )
8609 <    echo "$ac_cs_usage"; exit 0 ;;
8610 <  --debug | --d* | -d )
8611 <    debug=: ;;
8612 <  --file | --fil | --fi | --f )
8613 <    $ac_shift
8614 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8615 <    ac_need_defaults=false;;
8616 <  --header | --heade | --head | --hea )
8617 <    $ac_shift
8618 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8619 <    ac_need_defaults=false;;
8620 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8621 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8622 <    ac_cs_silent=: ;;
8623 <
8624 <  # This is an error.
8625 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8626 < Try \`$0 --help' for more information." >&5
8627 < echo "$as_me: error: unrecognized option: $1
8628 < Try \`$0 --help' for more information." >&2;}
8629 <   { (exit 1); exit 1; }; } ;;
8630 <
8631 <  *) ac_config_targets="$ac_config_targets $1" ;;
8632 <
8633 <  esac
8634 <  shift
8635 < done
8636 <
8637 < ac_configure_extra_args=
8638 <
8639 < if $ac_cs_silent; then
8640 <  exec 6>/dev/null
8641 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
8642 < fi
8643 <
8644 < _ACEOF
8645 < cat >>$CONFIG_STATUS <<_ACEOF
8646 < if \$ac_cs_recheck; then
8647 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8648 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8649 < fi
8650 <
8651 < _ACEOF
8652 <
8653 <
8654 <
8655 <
8656 <
8657 < cat >>$CONFIG_STATUS <<\_ACEOF
8658 < for ac_config_target in $ac_config_targets
8659 < do
8660 <  case "$ac_config_target" in
8661 <  # Handling of arguments.
8662 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8663 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8664 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8665 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8666 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8667 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8668 <   { (exit 1); exit 1; }; };;
8669 <  esac
8670 < done
8671 <
8672 < # If the user did not use the arguments to specify the items to instantiate,
8673 < # then the envvar interface is used.  Set only those that are not.
8674 < # We use the long form for the default assignment because of an extremely
8675 < # bizarre bug on SunOS 4.1.3.
8676 < if $ac_need_defaults; then
8677 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8678 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8679 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
8680 < fi
8681 <
8682 < # Have a temporary directory for convenience.  Make it in the build tree
8683 < # simply because there is no reason to put it here, and in addition,
8684 < # creating and moving files from /tmp can sometimes cause problems.
8685 < # Create a temporary directory, and hook for its removal unless debugging.
8686 < $debug ||
8687 < {
8688 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8689 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
8690 < }
8691 <
8692 < # Create a (secure) tmp directory for tmp files.
8693 <
8694 < {
8695 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8696 <  test -n "$tmp" && test -d "$tmp"
8697 < }  ||
8698 < {
8699 <  tmp=./confstat$$-$RANDOM
8700 <  (umask 077 && mkdir $tmp)
8701 < } ||
8702 < {
8703 <   echo "$me: cannot create a temporary directory in ." >&2
8704 <   { (exit 1); exit 1; }
8705 < }
8706 <
8707 < _ACEOF
8708 <
8709 < cat >>$CONFIG_STATUS <<_ACEOF
8710 <
8711 < #
8712 < # CONFIG_FILES section.
8713 < #
8714 <
8715 < # No need to generate the scripts if there are no CONFIG_FILES.
8716 < # This happens for instance when ./config.status config.h
8717 < if test -n "\$CONFIG_FILES"; then
8718 <  # Protect against being on the right side of a sed subst in config.status.
8719 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8720 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8721 < s,@SHELL@,$SHELL,;t t
8722 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8723 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8724 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8725 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8726 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8727 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8728 < s,@exec_prefix@,$exec_prefix,;t t
8729 < s,@prefix@,$prefix,;t t
8730 < s,@program_transform_name@,$program_transform_name,;t t
8731 < s,@bindir@,$bindir,;t t
8732 < s,@sbindir@,$sbindir,;t t
8733 < s,@libexecdir@,$libexecdir,;t t
8734 < s,@datadir@,$datadir,;t t
8735 < s,@sysconfdir@,$sysconfdir,;t t
8736 < s,@sharedstatedir@,$sharedstatedir,;t t
8737 < s,@localstatedir@,$localstatedir,;t t
8738 < s,@libdir@,$libdir,;t t
8739 < s,@includedir@,$includedir,;t t
8740 < s,@oldincludedir@,$oldincludedir,;t t
8741 < s,@infodir@,$infodir,;t t
8742 < s,@mandir@,$mandir,;t t
8743 < s,@build_alias@,$build_alias,;t t
8744 < s,@host_alias@,$host_alias,;t t
8745 < s,@target_alias@,$target_alias,;t t
8746 < s,@DEFS@,$DEFS,;t t
8747 < s,@ECHO_C@,$ECHO_C,;t t
8748 < s,@ECHO_N@,$ECHO_N,;t t
8749 < s,@ECHO_T@,$ECHO_T,;t t
8750 < s,@LIBS@,$LIBS,;t t
8751 < s,@PROGNAME@,$PROGNAME,;t t
8752 < s,@debug@,$debug,;t t
8753 < s,@build@,$build,;t t
8754 < s,@build_cpu@,$build_cpu,;t t
8755 < s,@build_vendor@,$build_vendor,;t t
8756 < s,@build_os@,$build_os,;t t
8757 < s,@host@,$host,;t t
8758 < s,@host_cpu@,$host_cpu,;t t
8759 < s,@host_vendor@,$host_vendor,;t t
8760 < s,@host_os@,$host_os,;t t
8761 < s,@CC@,$CC,;t t
8762 < s,@CFLAGS@,$CFLAGS,;t t
8763 < s,@LDFLAGS@,$LDFLAGS,;t t
8764 < s,@CPPFLAGS@,$CPPFLAGS,;t t
8765 < s,@ac_ct_CC@,$ac_ct_CC,;t t
8766 < s,@EXEEXT@,$EXEEXT,;t t
8767 < s,@OBJEXT@,$OBJEXT,;t t
8768 < s,@CXX@,$CXX,;t t
8769 < s,@CXXFLAGS@,$CXXFLAGS,;t t
8770 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8771 < s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
8772 < s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
8773 < s,@F90@,$F90,;t t
8774 < s,@F90FLAGS@,$F90FLAGS,;t t
8775 < s,@ac_ct_F90@,$ac_ct_F90,;t t
8776 < s,@PREPFLAG@,$PREPFLAG,;t t
8777 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
8778 < s,@F90LIBS@,$F90LIBS,;t t
8779 < s,@F90_FUNC@,$F90_FUNC,;t t
8780 < s,@F90_FUNC_@,$F90_FUNC_,;t t
8781 < s,@MOD@,$MOD,;t t
8782 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
8783 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
8784 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
8785 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
8786 < s,@CPP@,$CPP,;t t
8787 < s,@EGREP@,$EGREP,;t t
8788 < s,@LIBOBJS@,$LIBOBJS,;t t
8789 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8790 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8791 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8792 < s,@LN_S@,$LN_S,;t t
8793 < s,@SET_MAKE@,$SET_MAKE,;t t
8794 < s,@RANLIB@,$RANLIB,;t t
8795 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8796 < s,@YACC@,$YACC,;t t
8797 < s,@LEX@,$LEX,;t t
8798 < s,@LEXLIB@,$LEXLIB,;t t
8799 < s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8800 < s,@AR@,$AR,;t t
8801 < s,@PS@,$PS,;t t
8802 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
8803 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
8804 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
8805 < s,@MPI_LIB@,$MPI_LIB,;t t
8806 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
8807 < s,@USE_MPI@,$USE_MPI,;t t
8808 < s,@DOXYGEN@,$DOXYGEN,;t t
8809 < s,@DOT@,$DOT,;t t
8810 < s,@DOC@,$DOC,;t t
8811 < s,@enable_dot@,$enable_dot,;t t
8812 < s,@enable_html_docs@,$enable_html_docs,;t t
8813 < s,@enable_latex_docs@,$enable_latex_docs,;t t
8814 < s,@BATEXT@,$BATEXT,;t t
8815 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
8816 < s,@OOPSE@,$OOPSE,;t t
8817 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
8818 < s,@SUBDIRS@,$SUBDIRS,;t t
8819 < s,@FFLAGS@,$FFLAGS,;t t
8820 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8821 < CEOF
8822 <
8823 < _ACEOF
8824 <
8825 <  cat >>$CONFIG_STATUS <<\_ACEOF
8826 <  # Split the substitutions into bite-sized pieces for seds with
8827 <  # small command number limits, like on Digital OSF/1 and HP-UX.
8828 <  ac_max_sed_lines=48
8829 <  ac_sed_frag=1 # Number of current file.
8830 <  ac_beg=1 # First line for current file.
8831 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
8832 <  ac_more_lines=:
8833 <  ac_sed_cmds=
8834 <  while $ac_more_lines; do
8835 <    if test $ac_beg -gt 1; then
8836 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8837 <    else
8838 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8839 <    fi
8840 <    if test ! -s $tmp/subs.frag; then
8841 <      ac_more_lines=false
8842 <    else
8843 <      # The purpose of the label and of the branching condition is to
8844 <      # speed up the sed processing (if there are no `@' at all, there
8845 <      # is no need to browse any of the substitutions).
8846 <      # These are the two extra sed commands mentioned above.
8847 <      (echo ':t
8848 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8849 <      if test -z "$ac_sed_cmds"; then
8850 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8851 <      else
8852 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8853 <      fi
8854 <      ac_sed_frag=`expr $ac_sed_frag + 1`
8855 <      ac_beg=$ac_end
8856 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
8857 <    fi
8858 <  done
8859 <  if test -z "$ac_sed_cmds"; then
8860 <    ac_sed_cmds=cat
8861 <  fi
8862 < fi # test -n "$CONFIG_FILES"
8863 <
8864 < _ACEOF
8865 < cat >>$CONFIG_STATUS <<\_ACEOF
8866 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8867 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8868 <  case $ac_file in
8869 <  - | *:- | *:-:* ) # input from stdin
8870 <        cat >$tmp/stdin
8871 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8872 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8873 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8874 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8875 <  * )   ac_file_in=$ac_file.in ;;
8876 <  esac
8877 <
8878 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8879 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8880 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8881 <         X"$ac_file" : 'X\(//\)[^/]' \| \
8882 <         X"$ac_file" : 'X\(//\)$' \| \
8883 <         X"$ac_file" : 'X\(/\)' \| \
8884 <         .     : '\(.\)' 2>/dev/null ||
8885 < echo X"$ac_file" |
8886 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8887 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8888 <          /^X\(\/\/\)$/{ s//\1/; q; }
8889 <          /^X\(\/\).*/{ s//\1/; q; }
8890 <          s/.*/./; q'`
8891 <  { if $as_mkdir_p; then
8892 <    mkdir -p "$ac_dir"
8893 <  else
8894 <    as_dir="$ac_dir"
8895 <    as_dirs=
8896 <    while test ! -d "$as_dir"; do
8897 <      as_dirs="$as_dir $as_dirs"
8898 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8899 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8900 <         X"$as_dir" : 'X\(//\)[^/]' \| \
8901 <         X"$as_dir" : 'X\(//\)$' \| \
8902 <         X"$as_dir" : 'X\(/\)' \| \
8903 <         .     : '\(.\)' 2>/dev/null ||
8904 < echo X"$as_dir" |
8905 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8906 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8907 <          /^X\(\/\/\)$/{ s//\1/; q; }
8908 <          /^X\(\/\).*/{ s//\1/; q; }
8909 <          s/.*/./; q'`
8910 <    done
8911 <    test ! -n "$as_dirs" || mkdir $as_dirs
8912 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8913 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8914 <   { (exit 1); exit 1; }; }; }
8915 <
8916 <  ac_builddir=.
8917 <
8918 < if test "$ac_dir" != .; then
8919 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8920 <  # A "../" for each directory in $ac_dir_suffix.
8921 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8922 < else
8923 <  ac_dir_suffix= ac_top_builddir=
8924 < fi
8925 <
8926 < case $srcdir in
8927 <  .)  # No --srcdir option.  We are building in place.
8928 <    ac_srcdir=.
8929 <    if test -z "$ac_top_builddir"; then
8930 <       ac_top_srcdir=.
8931 <    else
8932 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8933 <    fi ;;
8934 <  [\\/]* | ?:[\\/]* )  # Absolute path.
8935 <    ac_srcdir=$srcdir$ac_dir_suffix;
8936 <    ac_top_srcdir=$srcdir ;;
8937 <  *) # Relative path.
8938 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8939 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
8940 < esac
8941 <
8942 < # Do not use `cd foo && pwd` to compute absolute paths, because
8943 < # the directories may not exist.
8944 < case `pwd` in
8945 < .) ac_abs_builddir="$ac_dir";;
8946 < *)
8947 <  case "$ac_dir" in
8948 <  .) ac_abs_builddir=`pwd`;;
8949 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8950 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
8951 <  esac;;
8952 < esac
8953 < case $ac_abs_builddir in
8954 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
8955 < *)
8956 <  case ${ac_top_builddir}. in
8957 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
8958 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8959 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8960 <  esac;;
8961 < esac
8962 < case $ac_abs_builddir in
8963 < .) ac_abs_srcdir=$ac_srcdir;;
8964 < *)
8965 <  case $ac_srcdir in
8966 <  .) ac_abs_srcdir=$ac_abs_builddir;;
8967 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8968 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8969 <  esac;;
8970 < esac
8971 < case $ac_abs_builddir in
8972 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
8973 < *)
8974 <  case $ac_top_srcdir in
8975 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
8976 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8977 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8978 <  esac;;
8979 < esac
8980 <
8981 <
8982 <  case $INSTALL in
8983 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8984 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8985 <  esac
8986 <
8987 <  if test x"$ac_file" != x-; then
8988 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
8989 < echo "$as_me: creating $ac_file" >&6;}
8990 <    rm -f "$ac_file"
8991 <  fi
8992 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
8993 <  # use $as_me), people would be surprised to read:
8994 <  #    /* config.h.  Generated by config.status.  */
8995 <  if test x"$ac_file" = x-; then
8996 <    configure_input=
8997 <  else
8998 <    configure_input="$ac_file.  "
8999 <  fi
9000 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9001 <                                     sed 's,.*/,,'` by configure."
9002 <
9003 <  # First look for the input files in the build tree, otherwise in the
9004 <  # src tree.
9005 <  ac_file_inputs=`IFS=:
9006 <    for f in $ac_file_in; do
9007 <      case $f in
9008 <      -) echo $tmp/stdin ;;
9009 <      [\\/$]*)
9010 <         # Absolute (can't be DOS-style, as IFS=:)
9011 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9012 < echo "$as_me: error: cannot find input file: $f" >&2;}
9013 <   { (exit 1); exit 1; }; }
9014 <         echo "$f";;
9015 <      *) # Relative
9016 <         if test -f "$f"; then
9017 <           # Build tree
9018 <           echo "$f"
9019 <         elif test -f "$srcdir/$f"; then
9020 <           # Source tree
9021 <           echo "$srcdir/$f"
9022 <         else
9023 <           # /dev/null tree
9024 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9025 < echo "$as_me: error: cannot find input file: $f" >&2;}
9026 <   { (exit 1); exit 1; }; }
9027 <         fi;;
9028 <      esac
9029 <    done` || { (exit 1); exit 1; }
9030 < _ACEOF
9031 < cat >>$CONFIG_STATUS <<_ACEOF
9032 <  sed "$ac_vpsub
9033 < $extrasub
9034 < _ACEOF
9035 < cat >>$CONFIG_STATUS <<\_ACEOF
9036 < :t
9037 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9038 < s,@configure_input@,$configure_input,;t t
9039 < s,@srcdir@,$ac_srcdir,;t t
9040 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
9041 < s,@top_srcdir@,$ac_top_srcdir,;t t
9042 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9043 < s,@builddir@,$ac_builddir,;t t
9044 < s,@abs_builddir@,$ac_abs_builddir,;t t
9045 < s,@top_builddir@,$ac_top_builddir,;t t
9046 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9047 < s,@INSTALL@,$ac_INSTALL,;t t
9048 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9049 <  rm -f $tmp/stdin
9050 <  if test x"$ac_file" != x-; then
9051 <    mv $tmp/out $ac_file
9052 <  else
9053 <    cat $tmp/out
9054 <    rm -f $tmp/out
9055 <  fi
9056 <
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 >  #ifndef __INTEL_COMPILER
7626 >     yes;
7627 >  #endif
7628 > #endif
7629 > EOF
7630 > if { ac_try='${CC-cc} -E conftest.c'
7631 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 >  (eval $ac_try) 2>&5
7633 >  ac_status=$?
7634 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7636 >  ac_cv_prog_really_gcc=yes
7637 > else
7638 >  ac_cv_prog_really_gcc=no
7639 > fi
7640 >
7641 > fi
7642 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7643 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7644 > if test "$ac_cv_prog_really_gcc" = yes; then
7645 >        :
7646 >
7647 > else
7648 >        :
7649 >
7650 > fi
7651 >
7652 >
7653 > # Try to determine "good" native compiler flags if none specified on command
7654 > # line
7655 > if test "$ac_test_CFLAGS" != "set"; then
7656 >  CFLAGS=""
7657 >  case "${host_cpu}-${host_os}" in
7658 >
7659 >  *linux*) if test "$CC" = icc; then
7660 >                    CFLAGS="-O"
7661 >                fi;;
7662 >  sparc-solaris2*) if test "$CC" = cc; then
7663 >                    CFLAGS="-native -fast -xO5 -dalign"
7664 >                 fi;;
7665 >
7666 >  alpha*-osf*)  if test "$CC" = cc; then
7667 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
7668 >                fi;;
7669 >
7670 >  hppa*-hpux*)  if test "$CC" = cc; then
7671 >                    CFLAGS="-Ae +O3 +Oall"
7672 >                fi;;
7673 >
7674 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
7675 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
7676 >                fi;;
7677 >   powerpc*-aix*)
7678 >        if test "$CC" = cc -o "$CC" = xlc; then
7679 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
7680 >                echo "*******************************************************"
7681 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7682 >                echo "*  recommended that you use                           *"
7683 >                echo "*                                                     *"
7684 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7685 >                echo "*                                 ^^^                 *"
7686 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7687 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
7688 >                echo "*******************************************************"
7689 >        fi;;
7690 >   *darwin*)
7691 >        if test "$CC" = xlc -o "$CC" = cc; then
7692 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
7693 >        fi;;
7694 >  esac
7695 >
7696 >  # use default flags for gcc on all systems
7697 >  if test $ac_cv_prog_really_gcc = yes; then
7698 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
7699 >  fi
7700 >
7701 >  # test for gcc-specific flags:
7702 >  if test $ac_cv_prog_really_gcc = yes; then
7703 >    # -malign-double for x86 systems
7704 >
7705 >
7706 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7707 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7708 > if test "${ac_align_double+set}" = set; then
7709 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7710 > else
7711 >  echo 'void f(){}' > conftest.c
7712 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
7713 >        ac_align_double=yes
7714 > else
7715 >        ac_align_double=no
7716 > fi
7717 > rm -f conftest*
7718 >
7719 > fi
7720 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7721 > echo "${ECHO_T}$ac_align_double" >&6
7722 > if test "$ac_align_double" = yes; then
7723 >        :
7724 >        CFLAGS="$CFLAGS -malign-double"
7725 > else
7726 >        :
7727 >
7728 > fi
7729 >
7730 >    # -fstrict-aliasing for gcc-2.95+
7731 >
7732 >
7733 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7734 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7735 > if test "${ac_fstrict_aliasing+set}" = set; then
7736 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7737 > else
7738 >  echo 'void f(){}' > conftest.c
7739 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
7740 >        ac_fstrict_aliasing=yes
7741 > else
7742 >        ac_fstrict_aliasing=no
7743 > fi
7744 > rm -f conftest*
7745 >
7746 > fi
7747 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7748 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7749 > if test "$ac_fstrict_aliasing" = yes; then
7750 >        :
7751 >        CFLAGS="$CFLAGS -fstrict-aliasing"
7752 > else
7753 >        :
7754 >
7755 > fi
7756 >
7757 >  fi
7758 >
7759 >  CPU_FLAGS=""
7760 >  if test $ac_cv_prog_really_gcc = yes; then
7761 >                  case "${host_cpu}" in
7762 >          i586*)
7763 >
7764 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7765 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7766 > if test "${ac_cpu_pentium+set}" = set; then
7767 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7768 > else
7769 >  echo 'void f(){}' > conftest.c
7770 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
7771 >        ac_cpu_pentium=yes
7772 > else
7773 >        ac_cpu_pentium=no
7774 > fi
7775 > rm -f conftest*
7776 >
7777 > fi
7778 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7779 > echo "${ECHO_T}$ac_cpu_pentium" >&6
7780 > if test "$ac_cpu_pentium" = yes; then
7781 >        :
7782 >        CPU_FLAGS=-mcpu=pentium
7783 > else
7784 >        :
7785 >
7786 >
7787 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7788 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7789 > if test "${ac_pentium+set}" = set; then
7790 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7791 > else
7792 >  echo 'void f(){}' > conftest.c
7793 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
7794 >        ac_pentium=yes
7795 > else
7796 >        ac_pentium=no
7797 > fi
7798 > rm -f conftest*
7799 >
7800 > fi
7801 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7802 > echo "${ECHO_T}$ac_pentium" >&6
7803 > if test "$ac_pentium" = yes; then
7804 >        :
7805 >        CPU_FLAGS=-mpentium
7806 > else
7807 >        :
7808 >
7809 > fi
7810 >
7811 > fi
7812 >
7813 >                  ;;
7814 >          i686*)
7815 >
7816 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7817 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7818 > if test "${ac_cpu_pentiumpro+set}" = set; then
7819 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7820 > else
7821 >  echo 'void f(){}' > conftest.c
7822 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
7823 >        ac_cpu_pentiumpro=yes
7824 > else
7825 >        ac_cpu_pentiumpro=no
7826 > fi
7827 > rm -f conftest*
7828 >
7829 > fi
7830 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7831 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7832 > if test "$ac_cpu_pentiumpro" = yes; then
7833 >        :
7834 >        CPU_FLAGS=-mcpu=pentiumpro
7835 > else
7836 >        :
7837 >
7838 >
7839 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7840 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7841 > if test "${ac_pentiumpro+set}" = set; then
7842 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7843 > else
7844 >  echo 'void f(){}' > conftest.c
7845 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
7846 >        ac_pentiumpro=yes
7847 > else
7848 >        ac_pentiumpro=no
7849 > fi
7850 > rm -f conftest*
7851 >
7852 > fi
7853 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7854 > echo "${ECHO_T}$ac_pentiumpro" >&6
7855 > if test "$ac_pentiumpro" = yes; then
7856 >        :
7857 >        CPU_FLAGS=-mpentiumpro
7858 > else
7859 >        :
7860 >
7861 > fi
7862 >
7863 > fi
7864 >
7865 >                  ;;
7866 >          powerpc*)
7867 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
7868 >                is60x=`echo $cputype | egrep "^600-9e?$"`
7869 >                if test -n "$is60x"; then
7870 >
7871 >
7872 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7873 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7874 > if test "${ac_m_cpu_60x+set}" = set; then
7875 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7876 > else
7877 >  echo 'void f(){}' > conftest.c
7878 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
7879 >        ac_m_cpu_60x=yes
7880 > else
7881 >        ac_m_cpu_60x=no
7882 > fi
7883 > rm -f conftest*
7884 >
7885 > fi
7886 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7887 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
7888 > if test "$ac_m_cpu_60x" = yes; then
7889 >        :
7890 >        CPU_FLAGS=-mcpu=$cputype
7891 > else
7892 >        :
7893 >
7894 > fi
7895 >
7896 >                elif test "$cputype" = 750; then
7897 >
7898 >
7899 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7900 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7901 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7902 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7903 > else
7904 >
7905 > cat > conftest.c <<EOF
7906 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
7907 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
7908 >     yes;
7909 > #  endif
7910 > #endif
7911 > EOF
7912 > if { ac_try='${CC-cc} -E conftest.c'
7913 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 >  (eval $ac_try) 2>&5
7915 >  ac_status=$?
7916 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7918 >  ac_cv_prog_gcc_2_95=yes
7919 > else
7920 >  ac_cv_prog_gcc_2_95=no
7921 > fi
7922 >
7923 > fi
7924 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7925 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7926 > if test "$ac_cv_prog_gcc_2_95" = yes; then
7927 >        :
7928 >
7929 >
7930 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7931 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7932 > if test "${ac_m_cpu_750+set}" = set; then
7933 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7934 > else
7935 >  echo 'void f(){}' > conftest.c
7936 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
7937 >        ac_m_cpu_750=yes
7938 > else
7939 >        ac_m_cpu_750=no
7940 > fi
7941 > rm -f conftest*
7942 >
7943 > fi
7944 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7945 > echo "${ECHO_T}$ac_m_cpu_750" >&6
7946 > if test "$ac_m_cpu_750" = yes; then
7947 >        :
7948 >        CPU_FLAGS=-mcpu=750
7949 > else
7950 >        :
7951 >
7952 > fi
7953 >
7954 > else
7955 >        :
7956 >
7957 > fi
7958 >
7959 >                fi
7960 >                if test -z "$CPU_FLAGS"; then
7961 >
7962 >
7963 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7964 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7965 > if test "${ac_m_cpu_powerpc+set}" = set; then
7966 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7967 > else
7968 >  echo 'void f(){}' > conftest.c
7969 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
7970 >        ac_m_cpu_powerpc=yes
7971 > else
7972 >        ac_m_cpu_powerpc=no
7973 > fi
7974 > rm -f conftest*
7975 >
7976 > fi
7977 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7978 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7979 > if test "$ac_m_cpu_powerpc" = yes; then
7980 >        :
7981 >        CPU_FLAGS=-mcpu=powerpc
7982 > else
7983 >        :
7984 >
7985 > fi
7986 >
7987 >                fi
7988 >                if test -z "$CPU_FLAGS"; then
7989 >
7990 >
7991 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7992 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7993 > if test "${ac_m_powerpc+set}" = set; then
7994 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7995 > else
7996 >  echo 'void f(){}' > conftest.c
7997 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
7998 >        ac_m_powerpc=yes
7999 > else
8000 >        ac_m_powerpc=no
8001 > fi
8002 > rm -f conftest*
8003 >
8004 > fi
8005 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8006 > echo "${ECHO_T}$ac_m_powerpc" >&6
8007 > if test "$ac_m_powerpc" = yes; then
8008 >        :
8009 >        CPU_FLAGS=-mpowerpc
8010 > else
8011 >        :
8012 >
8013 > fi
8014 >
8015 >                fi
8016 >          esac
8017 >  fi
8018 >
8019 >  if test -n "$CPU_FLAGS"; then
8020 >        CFLAGS="$CFLAGS $CPU_FLAGS"
8021 >  fi
8022 >
8023 >  if test -z "$CFLAGS"; then
8024 >        echo ""
8025 >        echo "********************************************************"
8026 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
8027 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8028 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
8029 >        echo "********************************************************"
8030 >        echo ""
8031 >        CFLAGS="-O3"
8032 >  fi
8033 >
8034 >
8035 >
8036 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
8037 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
8038 > if test "${ac_guessed_cflags+set}" = set; then
8039 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8040 > else
8041 >  echo 'void f(){}' > conftest.c
8042 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
8043 >        ac_guessed_cflags=yes
8044 > else
8045 >        ac_guessed_cflags=no
8046 > fi
8047 > rm -f conftest*
8048 >
8049 > fi
8050 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
8051 > echo "${ECHO_T}$ac_guessed_cflags" >&6
8052 > if test "$ac_guessed_cflags" = yes; then
8053 >        :
8054 >
8055 > else
8056 >        :
8057 >
8058 >        echo ""
8059 >        echo "********************************************************"
8060 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
8061 >        echo "* your compiler.                                       *"
8062 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8063 >        echo "********************************************************"
8064 >        echo ""
8065 >        CFLAGS=""
8066 >
8067 > fi
8068 >
8069 >
8070 > fi
8071 >
8072 >
8073 >
8074 >
8075 >
8076 >
8077 >
8078 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
8079 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
8080 > if test "${ac_cv_prog_really_gxx+set}" = set; then
8081 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8082 > else
8083 >
8084 > cat > conftest.cpp <<EOF
8085 > #ifdef __GNUC__
8086 >  #ifndef __INTEL_COMPILER
8087 >     yes;
8088 >  #endif
8089 > #endif
8090 > EOF
8091 > if { ac_try='${CXX-c++} -E conftest.cpp'
8092 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8093 >  (eval $ac_try) 2>&5
8094 >  ac_status=$?
8095 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8097 >  ac_cv_prog_really_gxx=yes
8098 > else
8099 >  ac_cv_prog_really_gxx=no
8100 > fi
8101 >
8102 > fi
8103 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
8104 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
8105 > if test "$ac_cv_prog_really_gxx" = yes; then
8106 >        :
8107 >
8108 > else
8109 >        :
8110 >
8111 > fi
8112 >
8113 >
8114 > # Try to determine "good" native compiler flags if none specified on command
8115 > # line
8116 > if test "$ac_test_CXXFLAGS" != "set"; then
8117 >  CXXFLAGS=""
8118 >  case "${host_cpu}-${host_os}" in
8119 >
8120 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8121 >                    CXXFLAGS="-O"
8122 >                fi;;
8123 >  sparc-solaris2*) if test "$CXX" = CC; then
8124 >                    CXXFLAGS="-native -fast -xO5 -dalign"
8125 >                 fi;;
8126 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8127 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8128 >                fi;;
8129 >   powerpc*-aix*)
8130 >        if test "$CXX" = xlC; then
8131 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8132 >                echo "*******************************************************"
8133 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8134 >                echo "*  recommended that you use                           *"
8135 >                echo "*                                                     *"
8136 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8137 >                echo "*                                 ^^^                 *"
8138 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8139 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8140 >                echo "*******************************************************"
8141 >        fi;;
8142 >   *darwin*)
8143 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8144 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8145 >        fi;;
8146 >  esac
8147 >
8148 >  # use default flags for gcc on all systems
8149 >  if test $ac_cv_prog_really_gxx = yes; then
8150 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8151 >  fi
8152 >
8153 >  # test for gcc-specific flags:
8154 >  if test $ac_cv_prog_really_gxx = yes; then
8155 >    # -malign-double for x86 systems
8156 >
8157 >
8158 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8159 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8160 > if test "${ac_align_double+set}" = set; then
8161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8162 > else
8163 >  echo 'void f(){}' > conftest.cpp
8164 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8165 >        ac_align_double=yes
8166 > else
8167 >        ac_align_double=no
8168 > fi
8169 > rm -f conftest*
8170 >
8171 > fi
8172 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8173 > echo "${ECHO_T}$ac_align_double" >&6
8174 > if test "$ac_align_double" = yes; then
8175 >        :
8176 >        CXXFLAGS="$CXXFLAGS -malign-double"
8177 > else
8178 >        :
8179 >
8180 > fi
8181 >
8182 >    # -fstrict-aliasing for gcc-2.95+
8183 >
8184 >
8185 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8186 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8187 > if test "${ac_fstrict_aliasing+set}" = set; then
8188 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8189 > else
8190 >  echo 'void f(){}' > conftest.cpp
8191 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8192 >        ac_fstrict_aliasing=yes
8193 > else
8194 >        ac_fstrict_aliasing=no
8195 > fi
8196 > rm -f conftest*
8197 >
8198 > fi
8199 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8200 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8201 > if test "$ac_fstrict_aliasing" = yes; then
8202 >        :
8203 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8204 > else
8205 >        :
8206 >
8207 > fi
8208 >
8209 >  fi
8210 >
8211 >  CPU_FLAGS=""
8212 >  if test $ac_cv_prog_really_gxx = yes; then
8213 >                  case "${host_cpu}" in
8214 >          i586*)
8215 >
8216 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8217 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8218 > if test "${ac_cpu_pentium+set}" = set; then
8219 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8220 > else
8221 >  echo 'void f(){}' > conftest.cpp
8222 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8223 >        ac_cpu_pentium=yes
8224 > else
8225 >        ac_cpu_pentium=no
8226 > fi
8227 > rm -f conftest*
8228 >
8229 > fi
8230 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8231 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8232 > if test "$ac_cpu_pentium" = yes; then
8233 >        :
8234 >        CPU_FLAGS=-mcpu=pentium
8235 > else
8236 >        :
8237 >
8238 >
8239 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8240 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8241 > if test "${ac_pentium+set}" = set; then
8242 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8243 > else
8244 >  echo 'void f(){}' > conftest.cpp
8245 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8246 >        ac_pentium=yes
8247 > else
8248 >        ac_pentium=no
8249 > fi
8250 > rm -f conftest*
8251 >
8252 > fi
8253 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8254 > echo "${ECHO_T}$ac_pentium" >&6
8255 > if test "$ac_pentium" = yes; then
8256 >        :
8257 >        CPU_FLAGS=-mpentium
8258 > else
8259 >        :
8260 >
8261 > fi
8262 >
8263 > fi
8264 >
8265 >                  ;;
8266 >          i686*)
8267 >
8268 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8269 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8270 > if test "${ac_cpu_pentiumpro+set}" = set; then
8271 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8272 > else
8273 >  echo 'void f(){}' > conftest.cpp
8274 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8275 >        ac_cpu_pentiumpro=yes
8276 > else
8277 >        ac_cpu_pentiumpro=no
8278 > fi
8279 > rm -f conftest*
8280 >
8281 > fi
8282 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8283 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8284 > if test "$ac_cpu_pentiumpro" = yes; then
8285 >        :
8286 >        CPU_FLAGS=-mcpu=pentiumpro
8287 > else
8288 >        :
8289 >
8290 >
8291 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8292 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8293 > if test "${ac_pentiumpro+set}" = set; then
8294 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8295 > else
8296 >  echo 'void f(){}' > conftest.cpp
8297 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8298 >        ac_pentiumpro=yes
8299 > else
8300 >        ac_pentiumpro=no
8301 > fi
8302 > rm -f conftest*
8303 >
8304 > fi
8305 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8306 > echo "${ECHO_T}$ac_pentiumpro" >&6
8307 > if test "$ac_pentiumpro" = yes; then
8308 >        :
8309 >        CPU_FLAGS=-mpentiumpro
8310 > else
8311 >        :
8312 >
8313 > fi
8314 >
8315 > fi
8316 >
8317 >                  ;;
8318 >          powerpc*)
8319 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8320 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8321 >                if test -n "$is60x"; then
8322 >
8323 >
8324 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8325 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8326 > if test "${ac_m_cpu_60x+set}" = set; then
8327 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8328 > else
8329 >  echo 'void f(){}' > conftest.cpp
8330 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8331 >        ac_m_cpu_60x=yes
8332 > else
8333 >        ac_m_cpu_60x=no
8334 > fi
8335 > rm -f conftest*
8336 >
8337 > fi
8338 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8339 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8340 > if test "$ac_m_cpu_60x" = yes; then
8341 >        :
8342 >        CPU_FLAGS=-mcpu=$cputype
8343 > else
8344 >        :
8345 >
8346 > fi
8347 >
8348 >                elif test "$cputype" = 750; then
8349 >
8350 >
8351 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8352 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8353 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8354 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8355 > else
8356 >
8357 > cat > conftest.cpp <<EOF
8358 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8359 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8360 >     yes;
8361 > #  endif
8362 > #endif
8363 > EOF
8364 > if { ac_try='${CXX-c++} -E conftest.cpp'
8365 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 >  (eval $ac_try) 2>&5
8367 >  ac_status=$?
8368 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8370 >  ac_cv_prog_gxx_2_95=yes
8371 > else
8372 >  ac_cv_prog_gxx_2_95=no
8373 > fi
8374 >
8375 > fi
8376 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8377 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8378 > if test "$ac_cv_prog_gxx_2_95" = yes; then
8379 >        :
8380 >
8381 >
8382 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8383 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8384 > if test "${ac_m_cpu_750+set}" = set; then
8385 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8386 > else
8387 >  echo 'void f(){}' > conftest.cpp
8388 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
8389 >        ac_m_cpu_750=yes
8390 > else
8391 >        ac_m_cpu_750=no
8392 > fi
8393 > rm -f conftest*
8394 >
8395 > fi
8396 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8397 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8398 > if test "$ac_m_cpu_750" = yes; then
8399 >        :
8400 >        CPU_FLAGS=-mcpu=750
8401 > else
8402 >        :
8403 >
8404 > fi
8405 >
8406 > else
8407 >        :
8408 >
8409 > fi
8410 >
8411 >                fi
8412 >                if test -z "$CPU_FLAGS"; then
8413 >
8414 >
8415 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8416 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8417 > if test "${ac_m_cpu_powerpc+set}" = set; then
8418 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8419 > else
8420 >  echo 'void f(){}' > conftest.cpp
8421 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
8422 >        ac_m_cpu_powerpc=yes
8423 > else
8424 >        ac_m_cpu_powerpc=no
8425 > fi
8426 > rm -f conftest*
8427 >
8428 > fi
8429 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8430 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8431 > if test "$ac_m_cpu_powerpc" = yes; then
8432 >        :
8433 >        CPU_FLAGS=-mcpu=powerpc
8434 > else
8435 >        :
8436 >
8437 > fi
8438 >
8439 >                fi
8440 >                if test -z "$CPU_FLAGS"; then
8441 >
8442 >
8443 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8444 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8445 > if test "${ac_m_powerpc+set}" = set; then
8446 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8447 > else
8448 >  echo 'void f(){}' > conftest.cpp
8449 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
8450 >        ac_m_powerpc=yes
8451 > else
8452 >        ac_m_powerpc=no
8453 > fi
8454 > rm -f conftest*
8455 >
8456 > fi
8457 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8458 > echo "${ECHO_T}$ac_m_powerpc" >&6
8459 > if test "$ac_m_powerpc" = yes; then
8460 >        :
8461 >        CPU_FLAGS=-mpowerpc
8462 > else
8463 >        :
8464 >
8465 > fi
8466 >
8467 >                fi
8468 >          esac
8469 >  fi
8470 >
8471 >  if test -n "$CPU_FLAGS"; then
8472 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
8473 >  fi
8474 >
8475 >  if test -z "$CXXFLAGS"; then
8476 >        echo ""
8477 >        echo "**********************************************************"
8478 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
8479 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8480 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
8481 >        echo "**********************************************************"
8482 >        echo ""
8483 >        CXXFLAGS="-O3"
8484 >  fi
8485 >
8486 >
8487 >
8488 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8489 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8490 > if test "${ac_guessed_cxxflags+set}" = set; then
8491 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8492 > else
8493 >  echo 'void f(){}' > conftest.cpp
8494 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
8495 >        ac_guessed_cxxflags=yes
8496 > else
8497 >        ac_guessed_cxxflags=no
8498 > fi
8499 > rm -f conftest*
8500 >
8501 > fi
8502 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8503 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8504 > if test "$ac_guessed_cxxflags" = yes; then
8505 >        :
8506 >
8507 > else
8508 >        :
8509 >
8510 >        echo ""
8511 >        echo "**********************************************************"
8512 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
8513 >        echo "* your compiler.                                         *"
8514 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8515 >        echo "**********************************************************"
8516 >        echo ""
8517 >        CXXFLAGS=""
8518 >
8519 > fi
8520 >
8521 >
8522 > fi
8523 >
8524 >
8525 >
8526 >
8527 >
8528 > # Try to determine "good" native compiler flags if none specified on command
8529 > # line
8530 >
8531 > if test x"$F90FLAGS" = x ; then
8532 >  F90FLAGS=""
8533 >  case "${host_cpu}-${host_os}" in
8534 >
8535 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
8536 >                    F90FLAGS="-O"
8537 >                fi;;
8538 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
8539 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8540 >                fi;;
8541 >   powerpc*-aix*)
8542 >        if test "$F90" = f90 -o "$F90" = xlf90; then
8543 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
8544 >                echo "*******************************************************"
8545 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8546 >                echo "*  recommended that you use                           *"
8547 >                echo "*                                                     *"
8548 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8549 >                echo "*                                 ^^^                 *"
8550 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8551 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
8552 >                echo "*******************************************************"
8553 >        fi;;
8554 >   *darwin*)
8555 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
8556 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
8557 >        fi;;
8558 >  esac
8559 >
8560 >  if test -n "$CPU_FLAGS"; then
8561 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
8562 >  fi
8563 >
8564 >  if test -z "$F90FLAGS"; then
8565 >        echo ""
8566 >        echo "**********************************************************"
8567 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
8568 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8569 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
8570 >        echo "**********************************************************"
8571 >        echo ""
8572 >        F90FLAGS="-O3"
8573 >  fi
8574 >
8575 >
8576 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8577 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8578 > if test "${ac_guessed_f90flags+set}" = set; then
8579 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8580 > else
8581 >
8582 >
8583 >
8584 > ac_ext=f90
8585 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8586 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
8588 >
8589 > echo 'program main' > conftest.$ac_ext
8590 > echo 'end program main' >> conftest.$ac_ext
8591 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8592 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8593 >  (eval $ac_compile) 2>&5
8594 >  ac_status=$?
8595 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 >  (exit $ac_status); }; then
8597 >        ac_guessed_f90flags=yes
8598 > else
8599 >        ac_guessed_f90flags=no
8600 > fi
8601 > rm -f conftest*
8602 > ac_ext=c
8603 > ac_cpp='$CPP $CPPFLAGS'
8604 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8605 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8606 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8607 >
8608 >
8609 > fi
8610 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8611 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
8612 > if test "$ac_guessed_f90flags" = yes; then
8613 >        :
8614 >
8615 > else
8616 >        :
8617 >
8618 >        echo ""
8619 >        echo "**********************************************************"
8620 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
8621 >        echo "* your compiler.                                         *"
8622 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8623 >        echo "**********************************************************"
8624 >        echo ""
8625 >        F90FLAGS=""
8626 >
8627 > fi
8628 >
8629 >
8630 > fi
8631 >
8632 >     ;;
8633 > esac
8634 >
8635 > # Find a good install program.  We prefer a C program (faster),
8636 > # so one script is as good as another.  But avoid the broken or
8637 > # incompatible versions:
8638 > # SysV /etc/install, /usr/sbin/install
8639 > # SunOS /usr/etc/install
8640 > # IRIX /sbin/install
8641 > # AIX /bin/install
8642 > # AmigaOS /C/install, which installs bootblocks on floppy discs
8643 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8644 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8645 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8646 > # OS/2's system install, which has a completely different semantic
8647 > # ./install, which can be erroneously created by make from ./install.sh.
8648 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8649 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8650 > if test -z "$INSTALL"; then
8651 > if test "${ac_cv_path_install+set}" = set; then
8652 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8653 > else
8654 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 > for as_dir in $PATH
8656 > do
8657 >  IFS=$as_save_IFS
8658 >  test -z "$as_dir" && as_dir=.
8659 >  # Account for people who put trailing slashes in PATH elements.
8660 > case $as_dir/ in
8661 >  ./ | .// | /cC/* | \
8662 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8663 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8664 >  /usr/ucb/* ) ;;
8665 >  *)
8666 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8667 >    # Don't use installbsd from OSF since it installs stuff as root
8668 >    # by default.
8669 >    for ac_prog in ginstall scoinst install; do
8670 >      for ac_exec_ext in '' $ac_executable_extensions; do
8671 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8672 >          if test $ac_prog = install &&
8673 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8674 >            # AIX install.  It has an incompatible calling convention.
8675 >            :
8676 >          elif test $ac_prog = install &&
8677 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8678 >            # program-specific install script used by HP pwplus--don't use.
8679 >            :
8680 >          else
8681 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8682 >            break 3
8683 >          fi
8684 >        fi
8685 >      done
8686 >    done
8687 >    ;;
8688 > esac
8689 > done
8690 >
8691 >
8692 > fi
8693 >  if test "${ac_cv_path_install+set}" = set; then
8694 >    INSTALL=$ac_cv_path_install
8695 >  else
8696 >    # As a last resort, use the slow shell script.  We don't cache a
8697 >    # path for INSTALL within a source directory, because that will
8698 >    # break other packages using the cache if that directory is
8699 >    # removed, or if the path is relative.
8700 >    INSTALL=$ac_install_sh
8701 >  fi
8702 > fi
8703 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8704 > echo "${ECHO_T}$INSTALL" >&6
8705 >
8706 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8707 > # It thinks the first close brace ends the variable substitution.
8708 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8709 >
8710 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8711 >
8712 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8713 >
8714 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8715 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8716 > LN_S=$as_ln_s
8717 > if test "$LN_S" = "ln -s"; then
8718 >  echo "$as_me:$LINENO: result: yes" >&5
8719 > echo "${ECHO_T}yes" >&6
8720 > else
8721 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8722 > echo "${ECHO_T}no, using $LN_S" >&6
8723 > fi
8724 >
8725 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8726 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8727 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8728 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8729 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8730 > else
8731 >  cat >conftest.make <<\_ACEOF
8732 > all:
8733 >        @echo 'ac_maketemp="$(MAKE)"'
8734 > _ACEOF
8735 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8736 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8737 > if test -n "$ac_maketemp"; then
8738 >  eval ac_cv_prog_make_${ac_make}_set=yes
8739 > else
8740 >  eval ac_cv_prog_make_${ac_make}_set=no
8741 > fi
8742 > rm -f conftest.make
8743 > fi
8744 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8745 >  echo "$as_me:$LINENO: result: yes" >&5
8746 > echo "${ECHO_T}yes" >&6
8747 >  SET_MAKE=
8748 > else
8749 >  echo "$as_me:$LINENO: result: no" >&5
8750 > echo "${ECHO_T}no" >&6
8751 >  SET_MAKE="MAKE=${MAKE-make}"
8752 > fi
8753 >
8754 > if test -n "$ac_tool_prefix"; then
8755 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8756 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8757 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8758 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8759 > if test "${ac_cv_prog_RANLIB+set}" = set; then
8760 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8761 > else
8762 >  if test -n "$RANLIB"; then
8763 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8764 > else
8765 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8766 > for as_dir in $PATH
8767 > do
8768 >  IFS=$as_save_IFS
8769 >  test -z "$as_dir" && as_dir=.
8770 >  for ac_exec_ext in '' $ac_executable_extensions; do
8771 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8772 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8773 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 >    break 2
8775 >  fi
8776 > done
8777 > done
8778 >
8779 > fi
8780 > fi
8781 > RANLIB=$ac_cv_prog_RANLIB
8782 > if test -n "$RANLIB"; then
8783 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8784 > echo "${ECHO_T}$RANLIB" >&6
8785 > else
8786 >  echo "$as_me:$LINENO: result: no" >&5
8787 > echo "${ECHO_T}no" >&6
8788 > fi
8789 >
8790 > fi
8791 > if test -z "$ac_cv_prog_RANLIB"; then
8792 >  ac_ct_RANLIB=$RANLIB
8793 >  # Extract the first word of "ranlib", so it can be a program name with args.
8794 > set dummy ranlib; ac_word=$2
8795 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8796 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8797 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8798 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8799 > else
8800 >  if test -n "$ac_ct_RANLIB"; then
8801 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8802 > else
8803 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 > for as_dir in $PATH
8805 > do
8806 >  IFS=$as_save_IFS
8807 >  test -z "$as_dir" && as_dir=.
8808 >  for ac_exec_ext in '' $ac_executable_extensions; do
8809 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
8811 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8812 >    break 2
8813 >  fi
8814 > done
8815 > done
8816 >
8817 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8818 > fi
8819 > fi
8820 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8821 > if test -n "$ac_ct_RANLIB"; then
8822 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8823 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
8824 > else
8825 >  echo "$as_me:$LINENO: result: no" >&5
8826 > echo "${ECHO_T}no" >&6
8827 > fi
8828 >
8829 >  RANLIB=$ac_ct_RANLIB
8830 > else
8831 >  RANLIB="$ac_cv_prog_RANLIB"
8832 > fi
8833 >
8834 > for ac_prog in 'bison -y' byacc
8835 > do
8836 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8837 > set dummy $ac_prog; ac_word=$2
8838 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8839 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8840 > if test "${ac_cv_prog_YACC+set}" = set; then
8841 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8842 > else
8843 >  if test -n "$YACC"; then
8844 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
8845 > else
8846 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 > for as_dir in $PATH
8848 > do
8849 >  IFS=$as_save_IFS
8850 >  test -z "$as_dir" && as_dir=.
8851 >  for ac_exec_ext in '' $ac_executable_extensions; do
8852 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 >    ac_cv_prog_YACC="$ac_prog"
8854 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 >    break 2
8856 >  fi
8857 > done
8858 > done
8859 >
8860 > fi
8861 > fi
8862 > YACC=$ac_cv_prog_YACC
8863 > if test -n "$YACC"; then
8864 >  echo "$as_me:$LINENO: result: $YACC" >&5
8865 > echo "${ECHO_T}$YACC" >&6
8866 > else
8867 >  echo "$as_me:$LINENO: result: no" >&5
8868 > echo "${ECHO_T}no" >&6
8869 > fi
8870 >
8871 >  test -n "$YACC" && break
8872 > done
8873 > test -n "$YACC" || YACC="yacc"
8874 >
8875 > for ac_prog in flex lex
8876 > do
8877 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8878 > set dummy $ac_prog; ac_word=$2
8879 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8880 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8881 > if test "${ac_cv_prog_LEX+set}" = set; then
8882 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8883 > else
8884 >  if test -n "$LEX"; then
8885 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
8886 > else
8887 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 > for as_dir in $PATH
8889 > do
8890 >  IFS=$as_save_IFS
8891 >  test -z "$as_dir" && as_dir=.
8892 >  for ac_exec_ext in '' $ac_executable_extensions; do
8893 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 >    ac_cv_prog_LEX="$ac_prog"
8895 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8896 >    break 2
8897 >  fi
8898 > done
8899 > done
8900 >
8901 > fi
8902 > fi
8903 > LEX=$ac_cv_prog_LEX
8904 > if test -n "$LEX"; then
8905 >  echo "$as_me:$LINENO: result: $LEX" >&5
8906 > echo "${ECHO_T}$LEX" >&6
8907 > else
8908 >  echo "$as_me:$LINENO: result: no" >&5
8909 > echo "${ECHO_T}no" >&6
8910 > fi
8911 >
8912 >  test -n "$LEX" && break
8913 > done
8914 > test -n "$LEX" || LEX=":"
8915 >
8916 > if test -z "$LEXLIB"
8917 > then
8918 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8919 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8920 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8921 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8922 > else
8923 >  ac_check_lib_save_LIBS=$LIBS
8924 > LIBS="-lfl  $LIBS"
8925 > cat >conftest.$ac_ext <<_ACEOF
8926 > /* confdefs.h.  */
8927 > _ACEOF
8928 > cat confdefs.h >>conftest.$ac_ext
8929 > cat >>conftest.$ac_ext <<_ACEOF
8930 > /* end confdefs.h.  */
8931 >
8932 > /* Override any gcc2 internal prototype to avoid an error.  */
8933 > #ifdef __cplusplus
8934 > extern "C"
8935 > #endif
8936 > /* We use char because int might match the return type of a gcc2
8937 >   builtin and then its argument prototype would still apply.  */
8938 > char yywrap ();
8939 > int
8940 > main ()
8941 > {
8942 > yywrap ();
8943 >  ;
8944 >  return 0;
8945 > }
8946 > _ACEOF
8947 > rm -f conftest.$ac_objext conftest$ac_exeext
8948 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8949 >  (eval $ac_link) 2>conftest.er1
8950 >  ac_status=$?
8951 >  grep -v '^ *+' conftest.er1 >conftest.err
8952 >  rm -f conftest.er1
8953 >  cat conftest.err >&5
8954 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 >  (exit $ac_status); } &&
8956 >         { ac_try='test -z "$ac_c_werror_flag"
8957 >                         || test ! -s conftest.err'
8958 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 >  (eval $ac_try) 2>&5
8960 >  ac_status=$?
8961 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 >  (exit $ac_status); }; } &&
8963 >         { ac_try='test -s conftest$ac_exeext'
8964 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 >  (eval $ac_try) 2>&5
8966 >  ac_status=$?
8967 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 >  (exit $ac_status); }; }; then
8969 >  ac_cv_lib_fl_yywrap=yes
8970 > else
8971 >  echo "$as_me: failed program was:" >&5
8972 > sed 's/^/| /' conftest.$ac_ext >&5
8973 >
8974 > ac_cv_lib_fl_yywrap=no
8975 > fi
8976 > rm -f conftest.err conftest.$ac_objext \
8977 >      conftest$ac_exeext conftest.$ac_ext
8978 > LIBS=$ac_check_lib_save_LIBS
8979 > fi
8980 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8981 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8982 > if test $ac_cv_lib_fl_yywrap = yes; then
8983 >  LEXLIB="-lfl"
8984 > else
8985 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8986 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8987 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
8988 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8989 > else
8990 >  ac_check_lib_save_LIBS=$LIBS
8991 > LIBS="-ll  $LIBS"
8992 > cat >conftest.$ac_ext <<_ACEOF
8993 > /* confdefs.h.  */
8994 > _ACEOF
8995 > cat confdefs.h >>conftest.$ac_ext
8996 > cat >>conftest.$ac_ext <<_ACEOF
8997 > /* end confdefs.h.  */
8998 >
8999 > /* Override any gcc2 internal prototype to avoid an error.  */
9000 > #ifdef __cplusplus
9001 > extern "C"
9002 > #endif
9003 > /* We use char because int might match the return type of a gcc2
9004 >   builtin and then its argument prototype would still apply.  */
9005 > char yywrap ();
9006 > int
9007 > main ()
9008 > {
9009 > yywrap ();
9010 >  ;
9011 >  return 0;
9012 > }
9013 > _ACEOF
9014 > rm -f conftest.$ac_objext conftest$ac_exeext
9015 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9016 >  (eval $ac_link) 2>conftest.er1
9017 >  ac_status=$?
9018 >  grep -v '^ *+' conftest.er1 >conftest.err
9019 >  rm -f conftest.er1
9020 >  cat conftest.err >&5
9021 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 >  (exit $ac_status); } &&
9023 >         { ac_try='test -z "$ac_c_werror_flag"
9024 >                         || test ! -s conftest.err'
9025 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 >  (eval $ac_try) 2>&5
9027 >  ac_status=$?
9028 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 >  (exit $ac_status); }; } &&
9030 >         { ac_try='test -s conftest$ac_exeext'
9031 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 >  (eval $ac_try) 2>&5
9033 >  ac_status=$?
9034 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 >  (exit $ac_status); }; }; then
9036 >  ac_cv_lib_l_yywrap=yes
9037 > else
9038 >  echo "$as_me: failed program was:" >&5
9039 > sed 's/^/| /' conftest.$ac_ext >&5
9040 >
9041 > ac_cv_lib_l_yywrap=no
9042 > fi
9043 > rm -f conftest.err conftest.$ac_objext \
9044 >      conftest$ac_exeext conftest.$ac_ext
9045 > LIBS=$ac_check_lib_save_LIBS
9046 > fi
9047 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9048 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9049 > if test $ac_cv_lib_l_yywrap = yes; then
9050 >  LEXLIB="-ll"
9051 > fi
9052 >
9053 > fi
9054 >
9055 > fi
9056 >
9057 > if test "x$LEX" != "x:"; then
9058 >  echo "$as_me:$LINENO: checking lex output file root" >&5
9059 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9060 > if test "${ac_cv_prog_lex_root+set}" = set; then
9061 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9062 > else
9063 >  # The minimal lex program is just a single line: %%.  But some broken lexes
9064 > # (Solaris, I think it was) want two %% lines, so accommodate them.
9065 > cat >conftest.l <<_ACEOF
9066 > %%
9067 > %%
9068 > _ACEOF
9069 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9070 >  (eval $LEX conftest.l) 2>&5
9071 >  ac_status=$?
9072 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 >  (exit $ac_status); }
9074 > if test -f lex.yy.c; then
9075 >  ac_cv_prog_lex_root=lex.yy
9076 > elif test -f lexyy.c; then
9077 >  ac_cv_prog_lex_root=lexyy
9078 > else
9079 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9080 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9081 >   { (exit 1); exit 1; }; }
9082 > fi
9083 > fi
9084 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9085 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9086 > rm -f conftest.l
9087 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9088 >
9089 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9090 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9091 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9092 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9093 > else
9094 >  # POSIX says lex can declare yytext either as a pointer or an array; the
9095 > # default is implementation-dependent. Figure out which it is, since
9096 > # not all implementations provide the %pointer and %array declarations.
9097 > ac_cv_prog_lex_yytext_pointer=no
9098 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9099 > ac_save_LIBS=$LIBS
9100 > LIBS="$LIBS $LEXLIB"
9101 > cat >conftest.$ac_ext <<_ACEOF
9102 > `cat $LEX_OUTPUT_ROOT.c`
9103 > _ACEOF
9104 > rm -f conftest.$ac_objext conftest$ac_exeext
9105 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 >  (eval $ac_link) 2>conftest.er1
9107 >  ac_status=$?
9108 >  grep -v '^ *+' conftest.er1 >conftest.err
9109 >  rm -f conftest.er1
9110 >  cat conftest.err >&5
9111 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 >  (exit $ac_status); } &&
9113 >         { ac_try='test -z "$ac_c_werror_flag"
9114 >                         || test ! -s conftest.err'
9115 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 >  (eval $ac_try) 2>&5
9117 >  ac_status=$?
9118 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 >  (exit $ac_status); }; } &&
9120 >         { ac_try='test -s conftest$ac_exeext'
9121 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 >  (eval $ac_try) 2>&5
9123 >  ac_status=$?
9124 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 >  (exit $ac_status); }; }; then
9126 >  ac_cv_prog_lex_yytext_pointer=yes
9127 > else
9128 >  echo "$as_me: failed program was:" >&5
9129 > sed 's/^/| /' conftest.$ac_ext >&5
9130 >
9131 > fi
9132 > rm -f conftest.err conftest.$ac_objext \
9133 >      conftest$ac_exeext conftest.$ac_ext
9134 > LIBS=$ac_save_LIBS
9135 > rm -f "${LEX_OUTPUT_ROOT}.c"
9136 >
9137 > fi
9138 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9139 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9140 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9141 >
9142 > cat >>confdefs.h <<\_ACEOF
9143 > #define YYTEXT_POINTER 1
9144 > _ACEOF
9145 >
9146 > fi
9147 >
9148 > fi
9149 >
9150 >   # Extract the first word of "perl", so it can be a program name with args.
9151 > set dummy perl; ac_word=$2
9152 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9153 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9154 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9155 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9156 > else
9157 >  case $PERLINTERP in
9158 >  [\\/]* | ?:[\\/]*)
9159 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9160 >  ;;
9161 >  *)
9162 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 > for as_dir in $PATH
9164 > do
9165 >  IFS=$as_save_IFS
9166 >  test -z "$as_dir" && as_dir=.
9167 >  for ac_exec_ext in '' $ac_executable_extensions; do
9168 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9169 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9170 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9171 >    break 2
9172 >  fi
9173 > done
9174 > done
9175 >
9176 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9177 >  ;;
9178 > esac
9179 > fi
9180 > PERLINTERP=$ac_cv_path_PERLINTERP
9181 >
9182 > if test -n "$PERLINTERP"; then
9183 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9184 > echo "${ECHO_T}$PERLINTERP" >&6
9185 > else
9186 >  echo "$as_me:$LINENO: result: no" >&5
9187 > echo "${ECHO_T}no" >&6
9188 > fi
9189 >
9190 >   ac_cv_path_perlinterp="$PERLINTERP"
9191 >   _sHpB='#!'
9192 >
9193 >
9194 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9195 > if test "${with_perl_shebang+set}" = set; then
9196 >  withval="$with_perl_shebang"
9197 >  opt_perl_shebang="$withval"
9198 > else
9199 >                opt_perl_shebang="not_set"
9200 > fi;
9201 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9202 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9203 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9204 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9205 > else
9206 >   case "$opt_perl_shebang" in
9207 >                      not_set  ) ax_cv_opt_perl_shebang=''
9208 >                               ;;
9209 >                         *     )
9210 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9211 >                    esac
9212 >
9213 > fi
9214 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9215 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9216 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9217 >     then
9218 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9219 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9220 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9221 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9222 >
9223 > # Automatic detection of sharpbang formula starts here
9224 >     else
9225 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9226 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9227 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9228 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9229 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9230 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9231 > else
9232 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9233 >        if test "x$_somian_kspb_perl" == x
9234 >          then _somian_ksbp_warn_empty='durnit'
9235 >          else
9236 >          case "A$_somian_kspb_perl" in
9237 >                 A#!*perl* )
9238 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9239 >                        ;;
9240 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9241 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9242 >          esac
9243 >        fi
9244 >
9245 > fi
9246 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9247 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9248 > # The above prints Checking ... result message to user.
9249 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9250 >
9251 >    if test A${_somian_ksbp_warn_empty+set} == Aset
9252 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9253 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9254 >    fi
9255 > # Inform user after printing result value
9256 >    if test A${_somian_ksbp_warn_defau+set} == Aset
9257 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9258 > echo "$as_me: Maybe Not good -" >&6;}
9259 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9260 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9261 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
9262 > echo "$as_me: OK Good result - " >&6;}
9263 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9264 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9265 >    fi
9266 >  fi
9267 >
9268 > # Extract the first word of "ar", so it can be a program name with args.
9269 > set dummy ar; ac_word=$2
9270 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9271 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9272 > if test "${ac_cv_prog_AR+set}" = set; then
9273 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9274 > else
9275 >  if test -n "$AR"; then
9276 >  ac_cv_prog_AR="$AR" # Let the user override the test.
9277 > else
9278 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 > for as_dir in $PATH
9280 > do
9281 >  IFS=$as_save_IFS
9282 >  test -z "$as_dir" && as_dir=.
9283 >  for ac_exec_ext in '' $ac_executable_extensions; do
9284 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9285 >    ac_cv_prog_AR="ar"
9286 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 >    break 2
9288 >  fi
9289 > done
9290 > done
9291 >
9292 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9293 > fi
9294 > fi
9295 > AR=$ac_cv_prog_AR
9296 > if test -n "$AR"; then
9297 >  echo "$as_me:$LINENO: result: $AR" >&5
9298 > echo "${ECHO_T}$AR" >&6
9299 > else
9300 >  echo "$as_me:$LINENO: result: no" >&5
9301 > echo "${ECHO_T}no" >&6
9302 > fi
9303 >
9304 > if test "$AR" = "NONE"; then
9305 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9306 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9307 >   { (exit 1); exit 1; }; }
9308 >  cat >confcache <<\_ACEOF
9309 > # This file is a shell script that caches the results of configure
9310 > # tests run on this system so they can be shared between configure
9311 > # scripts and configure runs, see configure's option --config-cache.
9312 > # It is not useful on other systems.  If it contains results you don't
9313 > # want to keep, you may remove or edit it.
9314 > #
9315 > # config.status only pays attention to the cache file if you give it
9316 > # the --recheck option to rerun configure.
9317 > #
9318 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9319 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
9320 > # following values.
9321 >
9322 > _ACEOF
9323 >
9324 > # The following way of writing the cache mishandles newlines in values,
9325 > # but we know of no workaround that is simple, portable, and efficient.
9326 > # So, don't put newlines in cache variables' values.
9327 > # Ultrix sh set writes to stderr and can't be redirected directly,
9328 > # and sets the high bit in the cache file unless we assign to the vars.
9329 > {
9330 >  (set) 2>&1 |
9331 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9332 >    *ac_space=\ *)
9333 >      # `set' does not quote correctly, so add quotes (double-quote
9334 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
9335 >      sed -n \
9336 >        "s/'/'\\\\''/g;
9337 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9338 >      ;;
9339 >    *)
9340 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
9341 >      sed -n \
9342 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9343 >      ;;
9344 >    esac;
9345 > } |
9346 >  sed '
9347 >     t clear
9348 >     : clear
9349 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9350 >     t end
9351 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9352 >     : end' >>confcache
9353 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9354 >  if test -w $cache_file; then
9355 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9356 >    cat confcache >$cache_file
9357 >  else
9358 >    echo "not updating unwritable cache $cache_file"
9359 >  fi
9360 > fi
9361 > rm -f confcache
9362 >  exit 1
9363 > fi
9364 >
9365 > # Extract the first word of "ps", so it can be a program name with args.
9366 > set dummy ps; ac_word=$2
9367 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9368 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9369 > if test "${ac_cv_path_PS+set}" = set; then
9370 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9371 > else
9372 >  case $PS in
9373 >  [\\/]* | ?:[\\/]*)
9374 >  ac_cv_path_PS="$PS" # Let the user override the test with a path.
9375 >  ;;
9376 >  *)
9377 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9378 > for as_dir in $PATH
9379 > do
9380 >  IFS=$as_save_IFS
9381 >  test -z "$as_dir" && as_dir=.
9382 >  for ac_exec_ext in '' $ac_executable_extensions; do
9383 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9384 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9385 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9386 >    break 2
9387 >  fi
9388 > done
9389 > done
9390 >
9391 >  ;;
9392 > esac
9393 > fi
9394 > PS=$ac_cv_path_PS
9395 >
9396 > if test -n "$PS"; then
9397 >  echo "$as_me:$LINENO: result: $PS" >&5
9398 > echo "${ECHO_T}$PS" >&6
9399 > else
9400 >  echo "$as_me:$LINENO: result: no" >&5
9401 > echo "${ECHO_T}no" >&6
9402 > fi
9403 >
9404 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9405 > echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9406 > if test "${ac_cv_prog_ps_syntax+set}" = set; then
9407 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9408 > else
9409 >
9410 >        if $PS ax -o rss > /dev/null 2>&1; then
9411 >                ac_cv_prog_ps_ax=yes
9412 >        else
9413 >                ac_cv_prog_ps_ax=no
9414 >        fi
9415 >        if $PS -ef -o rss > /dev/null 2>&1; then
9416 >                ac_cv_prog_ps_ef=yes
9417 >        else
9418 >                ac_cv_prog_ps_ef=no
9419 >        fi
9420 >        if test "$ac_cv_prog_ps_ax" = yes; then
9421 >                ac_cv_prog_ps_syntax=BSD
9422 >        else
9423 >                if test "$ac_cv_prog_ps_ef" = yes; then
9424 >                        ac_cv_prog_ps_syntax=POSIX
9425 >                else
9426 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9427 > echo "$as_me: error: Could not determine ps syntax" >&2;}
9428 >   { (exit 1); exit 1; }; }
9429 >                fi
9430 >        fi
9431 >
9432 > fi
9433 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9434 > echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9435 >
9436 >
9437 > cat >>confdefs.h <<_ACEOF
9438 > #define PSCOMMAND $PS
9439 > _ACEOF
9440 >
9441 >
9442 > cat >>confdefs.h <<\_ACEOF
9443 > #define OBAPI
9444 > _ACEOF
9445 >
9446 >
9447 >
9448 > if test "$ac_cv_prog_ps_syntax" = BSD; then
9449 >
9450 > cat >>confdefs.h <<\_ACEOF
9451 > #define PSTYPE_IS_BSD 1
9452 > _ACEOF
9453 >
9454 > else
9455 >   if test "$ac_cv_prog_ps_syntax" = POSIX; then
9456 >
9457 > cat >>confdefs.h <<\_ACEOF
9458 > #define PSTYPE_IS_POSIX 1
9459 > _ACEOF
9460 >
9461 >   else
9462 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9463 > echo "$as_me: error: Unknown ps syntax type!" >&2;}
9464 >   { (exit 1); exit 1; }; }
9465 >   fi
9466 > fi
9467 >
9468 >
9469 > # Check whether --with-mpi or --without-mpi was given.
9470 > if test "${with_mpi+set}" = set; then
9471 >  withval="$with_mpi"
9472 >  with_mpi=$withval
9473 > else
9474 >  with_mpi="no"
9475 > fi;
9476 >
9477 > case "x$with_mpi" in
9478 >        xyes | "x")  USE_MPI=yes;;
9479 >        xno) USE_MPI=no ;;
9480 >        *) MPI="$with_mpi"; USE_MPI=yes ;;
9481 > esac
9482 > if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
9483 >        MPI="/usr/local"
9484 > fi
9485 > if test "$USE_MPI" = "yes"; then
9486 >
9487 >
9488 > # Set variables...
9489 > MPI_LIB_DIR="$MPI/lib"
9490 > MPI_INC_DIR="$MPI/include"
9491 >
9492 >
9493 >
9494 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9495 > echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9496 > have_mpi_h=0
9497 > rm -f conftest*
9498 > echo '#include <mpi.h>' > conftest.cc
9499 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9500 >        echo "$as_me:$LINENO: result: yes" >&5
9501 > echo "${ECHO_T}yes" >&6
9502 >        have_mpi_h=1
9503 > else
9504 >        if test -s conftest.out ; then
9505 >                cat conftest.out >> config.log
9506 >        fi
9507 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9508 > echo "${ECHO_T}no! Check MPI include paths" >&6
9509 >        USE_MPI="no"
9510 > fi
9511 > rm -f conftest*
9512 > if test "$have_mpi_h" = 1; then
9513 >
9514 > cat >>confdefs.h <<\_ACEOF
9515 > #define HAVE_MPI_H 1
9516 > _ACEOF
9517 >
9518 > fi
9519 >
9520 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9521 > echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9522 > have_mpif_h=0
9523 > rm -f conftest*
9524 > cat >conftest.f90 <<EOF
9525 > program main
9526 >   include 'mpif.h'
9527 > end
9528 > EOF
9529 > if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9530 >        echo "$as_me:$LINENO: result: yes" >&5
9531 > echo "${ECHO_T}yes" >&6
9532 >        MPI_F90_INC="$MPI_INC_DIR"
9533 >        have_mpif_h=1
9534 > else
9535 >        if test -s conftest.out ; then
9536 >                cat conftest.out >> config.log
9537 >        fi
9538 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9539 > echo "${ECHO_T}no! Check MPI include paths" >&6
9540 >        USE_MPI="no"
9541 > fi
9542 > rm -f conftest*
9543 >
9544 > if test "$have_mpif_h" = 1; then
9545 >
9546 > cat >>confdefs.h <<\_ACEOF
9547 > #define HAVE_MPIF_H 1
9548 > _ACEOF
9549 >
9550 > fi
9551 >
9552 > ac_ext=c
9553 > ac_cpp='$CPP $CPPFLAGS'
9554 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9555 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9556 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9557 >
9558 > ac_save_LDFLAGS=$LDFLAGS
9559 > LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9560 >
9561 > if test x = x"$MPI_LIB"; then
9562 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9563 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9564 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9565 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9566 > else
9567 >  ac_check_lib_save_LIBS=$LIBS
9568 > LIBS="-lmpich  $LIBS"
9569 > cat >conftest.$ac_ext <<_ACEOF
9570 > /* confdefs.h.  */
9571 > _ACEOF
9572 > cat confdefs.h >>conftest.$ac_ext
9573 > cat >>conftest.$ac_ext <<_ACEOF
9574 > /* end confdefs.h.  */
9575 >
9576 > /* Override any gcc2 internal prototype to avoid an error.  */
9577 > #ifdef __cplusplus
9578 > extern "C"
9579 > #endif
9580 > /* We use char because int might match the return type of a gcc2
9581 >   builtin and then its argument prototype would still apply.  */
9582 > char MPI_Init ();
9583 > int
9584 > main ()
9585 > {
9586 > MPI_Init ();
9587 >  ;
9588 >  return 0;
9589 > }
9590 > _ACEOF
9591 > rm -f conftest.$ac_objext conftest$ac_exeext
9592 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9593 >  (eval $ac_link) 2>conftest.er1
9594 >  ac_status=$?
9595 >  grep -v '^ *+' conftest.er1 >conftest.err
9596 >  rm -f conftest.er1
9597 >  cat conftest.err >&5
9598 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 >  (exit $ac_status); } &&
9600 >         { ac_try='test -z "$ac_c_werror_flag"
9601 >                         || test ! -s conftest.err'
9602 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 >  (eval $ac_try) 2>&5
9604 >  ac_status=$?
9605 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 >  (exit $ac_status); }; } &&
9607 >         { ac_try='test -s conftest$ac_exeext'
9608 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 >  (eval $ac_try) 2>&5
9610 >  ac_status=$?
9611 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 >  (exit $ac_status); }; }; then
9613 >  ac_cv_lib_mpich_MPI_Init=yes
9614 > else
9615 >  echo "$as_me: failed program was:" >&5
9616 > sed 's/^/| /' conftest.$ac_ext >&5
9617 >
9618 > ac_cv_lib_mpich_MPI_Init=no
9619 > fi
9620 > rm -f conftest.err conftest.$ac_objext \
9621 >      conftest$ac_exeext conftest.$ac_ext
9622 > LIBS=$ac_check_lib_save_LIBS
9623 > fi
9624 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9625 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9626 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9627 >  MPI_LIB="-lmpich"
9628 > fi
9629 >
9630 > fi
9631 > if test x = x"$MPI_LIB"; then
9632 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9633 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9634 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9635 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9636 > else
9637 >  ac_check_lib_save_LIBS=$LIBS
9638 > LIBS="-lmpi  $LIBS"
9639 > cat >conftest.$ac_ext <<_ACEOF
9640 > /* confdefs.h.  */
9641 > _ACEOF
9642 > cat confdefs.h >>conftest.$ac_ext
9643 > cat >>conftest.$ac_ext <<_ACEOF
9644 > /* end confdefs.h.  */
9645 >
9646 > /* Override any gcc2 internal prototype to avoid an error.  */
9647 > #ifdef __cplusplus
9648 > extern "C"
9649 > #endif
9650 > /* We use char because int might match the return type of a gcc2
9651 >   builtin and then its argument prototype would still apply.  */
9652 > char MPI_Init ();
9653 > int
9654 > main ()
9655 > {
9656 > MPI_Init ();
9657 >  ;
9658 >  return 0;
9659 > }
9660 > _ACEOF
9661 > rm -f conftest.$ac_objext conftest$ac_exeext
9662 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9663 >  (eval $ac_link) 2>conftest.er1
9664 >  ac_status=$?
9665 >  grep -v '^ *+' conftest.er1 >conftest.err
9666 >  rm -f conftest.er1
9667 >  cat conftest.err >&5
9668 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 >  (exit $ac_status); } &&
9670 >         { ac_try='test -z "$ac_c_werror_flag"
9671 >                         || test ! -s conftest.err'
9672 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673 >  (eval $ac_try) 2>&5
9674 >  ac_status=$?
9675 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 >  (exit $ac_status); }; } &&
9677 >         { ac_try='test -s conftest$ac_exeext'
9678 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679 >  (eval $ac_try) 2>&5
9680 >  ac_status=$?
9681 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 >  (exit $ac_status); }; }; then
9683 >  ac_cv_lib_mpi_MPI_Init=yes
9684 > else
9685 >  echo "$as_me: failed program was:" >&5
9686 > sed 's/^/| /' conftest.$ac_ext >&5
9687 >
9688 > ac_cv_lib_mpi_MPI_Init=no
9689 > fi
9690 > rm -f conftest.err conftest.$ac_objext \
9691 >      conftest$ac_exeext conftest.$ac_ext
9692 > LIBS=$ac_check_lib_save_LIBS
9693 > fi
9694 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9695 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9696 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9697 >  MPI_LIB="-lmpi"
9698 > fi
9699 >
9700 > fi
9701 > $as_unset ac_cv_lib_mpi_MPI_Init
9702 > if test x = x"$MPI_LIB"; then
9703 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9704 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9705 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9706 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9707 > else
9708 >  ac_check_lib_save_LIBS=$LIBS
9709 > LIBS="-lmpi "-llam" $LIBS"
9710 > cat >conftest.$ac_ext <<_ACEOF
9711 > /* confdefs.h.  */
9712 > _ACEOF
9713 > cat confdefs.h >>conftest.$ac_ext
9714 > cat >>conftest.$ac_ext <<_ACEOF
9715 > /* end confdefs.h.  */
9716 >
9717 > /* Override any gcc2 internal prototype to avoid an error.  */
9718 > #ifdef __cplusplus
9719 > extern "C"
9720 > #endif
9721 > /* We use char because int might match the return type of a gcc2
9722 >   builtin and then its argument prototype would still apply.  */
9723 > char MPI_Init ();
9724 > int
9725 > main ()
9726 > {
9727 > MPI_Init ();
9728 >  ;
9729 >  return 0;
9730 > }
9731 > _ACEOF
9732 > rm -f conftest.$ac_objext conftest$ac_exeext
9733 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9734 >  (eval $ac_link) 2>conftest.er1
9735 >  ac_status=$?
9736 >  grep -v '^ *+' conftest.er1 >conftest.err
9737 >  rm -f conftest.er1
9738 >  cat conftest.err >&5
9739 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 >  (exit $ac_status); } &&
9741 >         { ac_try='test -z "$ac_c_werror_flag"
9742 >                         || test ! -s conftest.err'
9743 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9744 >  (eval $ac_try) 2>&5
9745 >  ac_status=$?
9746 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 >  (exit $ac_status); }; } &&
9748 >         { ac_try='test -s conftest$ac_exeext'
9749 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9750 >  (eval $ac_try) 2>&5
9751 >  ac_status=$?
9752 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 >  (exit $ac_status); }; }; then
9754 >  ac_cv_lib_mpi_MPI_Init=yes
9755 > else
9756 >  echo "$as_me: failed program was:" >&5
9757 > sed 's/^/| /' conftest.$ac_ext >&5
9758 >
9759 > ac_cv_lib_mpi_MPI_Init=no
9760 > fi
9761 > rm -f conftest.err conftest.$ac_objext \
9762 >      conftest$ac_exeext conftest.$ac_ext
9763 > LIBS=$ac_check_lib_save_LIBS
9764 > fi
9765 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9766 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9767 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9768 >  MPI_LIB="-lmpi -llam"
9769 > fi
9770 >
9771 > fi
9772 > $as_unset ac_cv_lib_mpich_MPI_Init
9773 > if test x = x"$MPI_LIB"; then
9774 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9775 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9776 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9777 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9778 > else
9779 >  ac_check_lib_save_LIBS=$LIBS
9780 > LIBS="-lmpich "-lpmpich" $LIBS"
9781 > cat >conftest.$ac_ext <<_ACEOF
9782 > /* confdefs.h.  */
9783 > _ACEOF
9784 > cat confdefs.h >>conftest.$ac_ext
9785 > cat >>conftest.$ac_ext <<_ACEOF
9786 > /* end confdefs.h.  */
9787 >
9788 > /* Override any gcc2 internal prototype to avoid an error.  */
9789 > #ifdef __cplusplus
9790 > extern "C"
9791 > #endif
9792 > /* We use char because int might match the return type of a gcc2
9793 >   builtin and then its argument prototype would still apply.  */
9794 > char MPI_Init ();
9795 > int
9796 > main ()
9797 > {
9798 > MPI_Init ();
9799 >  ;
9800 >  return 0;
9801 > }
9802 > _ACEOF
9803 > rm -f conftest.$ac_objext conftest$ac_exeext
9804 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9805 >  (eval $ac_link) 2>conftest.er1
9806 >  ac_status=$?
9807 >  grep -v '^ *+' conftest.er1 >conftest.err
9808 >  rm -f conftest.er1
9809 >  cat conftest.err >&5
9810 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 >  (exit $ac_status); } &&
9812 >         { ac_try='test -z "$ac_c_werror_flag"
9813 >                         || test ! -s conftest.err'
9814 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 >  (eval $ac_try) 2>&5
9816 >  ac_status=$?
9817 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 >  (exit $ac_status); }; } &&
9819 >         { ac_try='test -s conftest$ac_exeext'
9820 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 >  (eval $ac_try) 2>&5
9822 >  ac_status=$?
9823 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 >  (exit $ac_status); }; }; then
9825 >  ac_cv_lib_mpich_MPI_Init=yes
9826 > else
9827 >  echo "$as_me: failed program was:" >&5
9828 > sed 's/^/| /' conftest.$ac_ext >&5
9829 >
9830 > ac_cv_lib_mpich_MPI_Init=no
9831 > fi
9832 > rm -f conftest.err conftest.$ac_objext \
9833 >      conftest$ac_exeext conftest.$ac_ext
9834 > LIBS=$ac_check_lib_save_LIBS
9835 > fi
9836 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9837 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9838 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
9839 >  MPI_LIB="-lmpich -lpmpich"
9840 > fi
9841 >
9842 > fi
9843 >
9844 > $as_unset ac_cv_lib_mpi_MPI_Init
9845 > if test x = x"$MPI_LIB"; then
9846 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9847 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9848 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9849 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9850 > else
9851 >  ac_check_lib_save_LIBS=$LIBS
9852 > LIBS="-lmpi -llam -lpthread $LIBS"
9853 > cat >conftest.$ac_ext <<_ACEOF
9854 > /* confdefs.h.  */
9855 > _ACEOF
9856 > cat confdefs.h >>conftest.$ac_ext
9857 > cat >>conftest.$ac_ext <<_ACEOF
9858 > /* end confdefs.h.  */
9859 >
9860 > /* Override any gcc2 internal prototype to avoid an error.  */
9861 > #ifdef __cplusplus
9862 > extern "C"
9863 > #endif
9864 > /* We use char because int might match the return type of a gcc2
9865 >   builtin and then its argument prototype would still apply.  */
9866 > char MPI_Init ();
9867 > int
9868 > main ()
9869 > {
9870 > MPI_Init ();
9871 >  ;
9872 >  return 0;
9873 > }
9874 > _ACEOF
9875 > rm -f conftest.$ac_objext conftest$ac_exeext
9876 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9877 >  (eval $ac_link) 2>conftest.er1
9878 >  ac_status=$?
9879 >  grep -v '^ *+' conftest.er1 >conftest.err
9880 >  rm -f conftest.er1
9881 >  cat conftest.err >&5
9882 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 >  (exit $ac_status); } &&
9884 >         { ac_try='test -z "$ac_c_werror_flag"
9885 >                         || test ! -s conftest.err'
9886 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9887 >  (eval $ac_try) 2>&5
9888 >  ac_status=$?
9889 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 >  (exit $ac_status); }; } &&
9891 >         { ac_try='test -s conftest$ac_exeext'
9892 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893 >  (eval $ac_try) 2>&5
9894 >  ac_status=$?
9895 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 >  (exit $ac_status); }; }; then
9897 >  ac_cv_lib_mpi_MPI_Init=yes
9898 > else
9899 >  echo "$as_me: failed program was:" >&5
9900 > sed 's/^/| /' conftest.$ac_ext >&5
9901 >
9902 > ac_cv_lib_mpi_MPI_Init=no
9903 > fi
9904 > rm -f conftest.err conftest.$ac_objext \
9905 >      conftest$ac_exeext conftest.$ac_ext
9906 > LIBS=$ac_check_lib_save_LIBS
9907 > fi
9908 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9909 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9910 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
9911 >  MPI_LIB="-lmpi -llam -lpthread"
9912 > else
9913 >
9914 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9915 > echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9916 >   { (exit 1); exit 1; }; }
9917 >             USE_MPI="no"
9918 >
9919 > fi
9920 >
9921 > fi
9922 >
9923 >
9924 >
9925 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9926 > echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9927 > MPI_F90_LIB=""
9928 > if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
9929 >        MPI_F90_LIB="-lfmpich"
9930 > elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
9931 >        MPI_F90_LIB="-llamf77mpi"
9932 > else
9933 >                        MPI_F90_LIB="  "
9934 > fi
9935 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9936 > echo "${ECHO_T}found $MPI_F90_LIB" >&6
9937 >
9938 >
9939 > fi
9940 >
9941 >
9942 >
9943 >
9944 > USE_CGAL=no
9945 > cgal_makefile=auto
9946 >
9947 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9948 > if test "${with_cgal_makefile+set}" = set; then
9949 >  withval="$with_cgal_makefile"
9950 >  cgal_makefile="$withval"
9951 > fi;
9952 >
9953 > if test "x$cgal_makefile" != xno; then
9954 >
9955 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9956 >    cgal_makefile="$CGAL_MAKEFILE"
9957 >  fi
9958 >
9959 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9960 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9961 >
9962 >  if test -f "$cgal_makefile"; then
9963 >
9964 >    cat >config.tmp.Makefile <<EOF
9965 > include $cgal_makefile
9966 > default:
9967 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9968 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9969 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9970 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9971 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9972 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9973 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9974 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9975 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9976 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9977 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9978 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9979 > EOF
9980 >
9981 >    make -s -f config.tmp.Makefile
9982 >    . config.tmp.cgalvariables
9983 >
9984 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9985 >
9986 >    if test "x$CGAL_INCLDIR" = "x"; then
9987 >      CGAL_INCLDIR=""
9988 >    fi
9989 >
9990 >    if test "x$CGAL_LIBDIR" = "x"; then
9991 >      CGAL_LIBDIR=""
9992 >    fi
9993 >
9994 >    if test "x$CGAL_RLIBDIR" = "x"; then
9995 >      CGAL_RLIBDIR=""
9996 >    fi
9997 >
9998 >    if test "x$LEDA_INCLDIR" = "x"; then
9999 >      LEDA_INCLDIR=""
10000 >    fi
10001 >
10002 >    if test "x$LEDA_LIBDIR" = "x"; then
10003 >      LEDA_LIBDIR=""
10004 >    fi
10005 >
10006 >    if test "x$LEDA_RLIBDIR" = "x"; then
10007 >      LEDA_RLIBDIR=""
10008 >    fi
10009 >
10010 >    if test "x$GMP_INCLDIR" = "x"; then
10011 >      GMP_INCLDIR=""
10012 >    fi
10013 >
10014 >    if test "x$GMP_LIBDIR" = "x"; then
10015 >      GMP_LIBDIR=""
10016 >    fi
10017 >
10018 >    if test "x$GMP_RLIBDIR" = "x"; then
10019 >      GMP_RLIBDIR=""
10020 >    fi
10021 >
10022 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
10023 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
10024 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
10025 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
10026 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
10027 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
10028 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
10029 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
10030 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
10031 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
10032 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
10033 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
10034 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
10035 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
10036 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
10037 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
10038 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
10039 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
10040 >
10041 >    ac_ext=cc
10042 > ac_cpp='$CXXCPP $CPPFLAGS'
10043 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10044 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10045 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10046 >
10047 >    save_CXXFLAGS="$CXXFLAGS"
10048 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10049 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10050 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10051 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10052 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10053 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10054 > fi
10055 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10056 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10057 > else
10058 >  # Is the header compilable?
10059 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10060 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10061 > cat >conftest.$ac_ext <<_ACEOF
10062 > /* confdefs.h.  */
10063 > _ACEOF
10064 > cat confdefs.h >>conftest.$ac_ext
10065 > cat >>conftest.$ac_ext <<_ACEOF
10066 > /* end confdefs.h.  */
10067 > $ac_includes_default
10068 > #include <CGAL/Cartesian.h>
10069 > _ACEOF
10070 > rm -f conftest.$ac_objext
10071 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10072 >  (eval $ac_compile) 2>conftest.er1
10073 >  ac_status=$?
10074 >  grep -v '^ *+' conftest.er1 >conftest.err
10075 >  rm -f conftest.er1
10076 >  cat conftest.err >&5
10077 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 >  (exit $ac_status); } &&
10079 >         { ac_try='test -z "$ac_cxx_werror_flag"
10080 >                         || test ! -s conftest.err'
10081 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 >  (eval $ac_try) 2>&5
10083 >  ac_status=$?
10084 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 >  (exit $ac_status); }; } &&
10086 >         { ac_try='test -s conftest.$ac_objext'
10087 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 >  (eval $ac_try) 2>&5
10089 >  ac_status=$?
10090 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 >  (exit $ac_status); }; }; then
10092 >  ac_header_compiler=yes
10093 > else
10094 >  echo "$as_me: failed program was:" >&5
10095 > sed 's/^/| /' conftest.$ac_ext >&5
10096 >
10097 > ac_header_compiler=no
10098 > fi
10099 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10100 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10101 > echo "${ECHO_T}$ac_header_compiler" >&6
10102 >
10103 > # Is the header present?
10104 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10105 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10106 > cat >conftest.$ac_ext <<_ACEOF
10107 > /* confdefs.h.  */
10108 > _ACEOF
10109 > cat confdefs.h >>conftest.$ac_ext
10110 > cat >>conftest.$ac_ext <<_ACEOF
10111 > /* end confdefs.h.  */
10112 > #include <CGAL/Cartesian.h>
10113 > _ACEOF
10114 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10115 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10116 >  ac_status=$?
10117 >  grep -v '^ *+' conftest.er1 >conftest.err
10118 >  rm -f conftest.er1
10119 >  cat conftest.err >&5
10120 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 >  (exit $ac_status); } >/dev/null; then
10122 >  if test -s conftest.err; then
10123 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10124 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10125 >  else
10126 >    ac_cpp_err=
10127 >  fi
10128 > else
10129 >  ac_cpp_err=yes
10130 > fi
10131 > if test -z "$ac_cpp_err"; then
10132 >  ac_header_preproc=yes
10133 > else
10134 >  echo "$as_me: failed program was:" >&5
10135 > sed 's/^/| /' conftest.$ac_ext >&5
10136 >
10137 >  ac_header_preproc=no
10138 > fi
10139 > rm -f conftest.err conftest.$ac_ext
10140 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10141 > echo "${ECHO_T}$ac_header_preproc" >&6
10142 >
10143 > # So?  What about this header?
10144 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10145 >  yes:no: )
10146 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10147 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10148 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10149 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10150 >    ac_header_preproc=yes
10151 >    ;;
10152 >  no:yes:* )
10153 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10154 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10155 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10156 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10157 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10158 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10159 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10160 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10161 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10162 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10163 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10164 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10165 >    (
10166 >      cat <<\_ASBOX
10167 > ## ------------------------------ ##
10168 > ## Report this to gezelter@nd.edu ##
10169 > ## ------------------------------ ##
10170 > _ASBOX
10171 >    ) |
10172 >      sed "s/^/$as_me: WARNING:     /" >&2
10173 >    ;;
10174 > esac
10175 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10176 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10177 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10178 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10179 > else
10180 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10181 > fi
10182 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10183 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10184 >
10185 > fi
10186 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10187 >  cgal=yes
10188 > else
10189 >  cgal=no
10190 > fi
10191 >
10192 >
10193 >    CXXFLAGS="$save_CXXFLAGS"
10194 >
10195 >    if test "x$cgal" = xyes; then
10196 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10197 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10198 >      LOCATION=${CGAL_INCLDIR}
10199 >      LOCATION=${LOCATION:-/usr/include}
10200 >      if test -f $LOCATION/CGAL/version.h; then
10201 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10202 >      else
10203 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10204 >      fi
10205 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10206 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10207 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10208 >      else
10209 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10210 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10211 >        cgal=no
10212 >      fi
10213 >    fi
10214 >
10215 >    if test "x$cgal" = xyes; then
10216 >      CGAL_LIBS="-lCGAL"
10217 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10218 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10219 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10220 >        CGAL_USES_LEDA=yes
10221 >        echo "$as_me:$LINENO: result: yes" >&5
10222 > echo "${ECHO_T}yes" >&6
10223 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10224 >      else
10225 >        echo "$as_me:$LINENO: result: no" >&5
10226 > echo "${ECHO_T}no" >&6
10227 >        CGAL_USES_LEDA=no
10228 >      fi
10229 >
10230 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10231 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10232 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10233 >        CGAL_USES_GMP=yes
10234 >        echo "$as_me:$LINENO: result: yes" >&5
10235 > echo "${ECHO_T}yes" >&6
10236 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10237 >      else
10238 >        echo "$as_me:$LINENO: result: no" >&5
10239 > echo "${ECHO_T}no" >&6
10240 >        CGAL_USES_GMP=no
10241 >      fi
10242 >
10243 >      CGAL_LIBS="$CGAL_LIBS -lm"
10244 >
10245 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10246 >
10247 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10248 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10249 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10250 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10251 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10252 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10253 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10254 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10255 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10256 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10257 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10258 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10259 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10260 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10261 >    fi
10262 >
10263 >    if test "x$cgal" = xyes; then
10264 >      save_LIBS="$LIBS"
10265 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10266 >      if test "x$CGAL_USES_LEDA" = xyes; then
10267 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10268 >      fi
10269 >      # if test "x$CGAL_USES_GMP" = xyes; then
10270 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10271 >      # fi
10272 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10273 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10274 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10275 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10276 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10277 > LIBS="-lCGAL  $LIBS"
10278 > cat >conftest.$ac_ext <<_ACEOF
10279 > /* confdefs.h.  */
10280 > _ACEOF
10281 > cat confdefs.h >>conftest.$ac_ext
10282 > cat >>conftest.$ac_ext <<_ACEOF
10283 > /* end confdefs.h.  */
10284 > #include <CGAL/Cartesian.h>
10285 > int
10286 > main ()
10287 > {
10288 > ::CGAL::Cartesian<int>::Point_2 P
10289 >  ;
10290 >  return 0;
10291 > }
10292 > _ACEOF
10293 > rm -f conftest.$ac_objext conftest$ac_exeext
10294 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10295 >  (eval $ac_link) 2>conftest.er1
10296 >  ac_status=$?
10297 >  grep -v '^ *+' conftest.er1 >conftest.err
10298 >  rm -f conftest.er1
10299 >  cat conftest.err >&5
10300 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 >  (exit $ac_status); } &&
10302 >         { ac_try='test -z "$ac_cxx_werror_flag"
10303 >                         || test ! -s conftest.err'
10304 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 >  (eval $ac_try) 2>&5
10306 >  ac_status=$?
10307 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 >  (exit $ac_status); }; } &&
10309 >         { ac_try='test -s conftest$ac_exeext'
10310 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 >  (eval $ac_try) 2>&5
10312 >  ac_status=$?
10313 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 >  (exit $ac_status); }; }; then
10315 >  echo "$as_me:$LINENO: result: yes" >&5
10316 > echo "${ECHO_T}yes" >&6
10317 > cgal=yes
10318 > else
10319 >  echo "$as_me: failed program was:" >&5
10320 > sed 's/^/| /' conftest.$ac_ext >&5
10321 >
10322 > echo "$as_me:$LINENO: result: no" >&5
10323 > echo "${ECHO_T}no" >&6
10324 > cgal=no
10325 > fi
10326 > rm -f conftest.err conftest.$ac_objext \
10327 >      conftest$ac_exeext conftest.$ac_ext
10328 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10329 > LIBS="$save_LIBS_CHECK_CXX_LIB"
10330 >      LIBS="$save_LIBS"
10331 >    fi
10332 >
10333 >  fi
10334 >  ac_ext=c
10335 > ac_cpp='$CPP $CPPFLAGS'
10336 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10337 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10338 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
10339 >
10340 >
10341 > fi
10342 >
10343 > if test "x$cgal" = xyes; then
10344 >  USE_CGAL=yes
10345 >
10346 > cat >>confdefs.h <<\_ACEOF
10347 > #define HAVE_CGAL 1
10348 > _ACEOF
10349 >
10350 >
10351 > cat >>confdefs.h <<_ACEOF
10352 > #define CGAL_VERSION $CGAL_VERSION
10353 > _ACEOF
10354 >
10355 >  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10356 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10357 > echo "$as_me: WARNING: *****************************************************" >&2;}
10358 >    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10359 > echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10360 >    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10361 > echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10362 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10363 > echo "$as_me: WARNING: *****************************************************" >&2;}
10364 >  fi
10365 > else
10366 >   if test "x$cgal_makefile" != xno; then
10367 >    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10368 > echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10369 >  fi
10370 >  CGAL_INCLDIR=
10371 >  CGAL_LIBDIR=
10372 >  CGAL_RLIBDIR=
10373 >  CGAL_DEFINES=
10374 >  CGAL_CXXFLAGS=
10375 >  CGAL_LIBS=
10376 > fi
10377 >
10378 >
10379 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10380 >
10381 > CGAL_LIB_DIR=${CGAL_LIBDIR}
10382 >
10383 > CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10384 >
10385 >
10386 >
10387 >
10388 >
10389 >
10390 >
10391 > # Check whether --enable-doxygen or --disable-doxygen was given.
10392 > if test "${enable_doxygen+set}" = set; then
10393 >  enableval="$enable_doxygen"
10394 >
10395 > fi;
10396 > # Check whether --enable-dot or --disable-dot was given.
10397 > if test "${enable_dot+set}" = set; then
10398 >  enableval="$enable_dot"
10399 >
10400 > fi;
10401 > # Check whether --enable-html-docs or --disable-html-docs was given.
10402 > if test "${enable_html_docs+set}" = set; then
10403 >  enableval="$enable_html_docs"
10404 >
10405 > else
10406 >   enable_html_docs=yes
10407 > fi;
10408 > # Check whether --enable-latex-docs or --disable-latex-docs was given.
10409 > if test "${enable_latex_docs+set}" = set; then
10410 >  enableval="$enable_latex_docs"
10411 >
10412 > else
10413 >   enable_latex_docs=no
10414 > fi;
10415 > if test "x$enable_doxygen" = xno; then
10416 >        enable_doc=no
10417 > else
10418 >        # Extract the first word of "doxygen", so it can be a program name with args.
10419 > set dummy doxygen; ac_word=$2
10420 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10421 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10422 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
10423 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10424 > else
10425 >  case $DOXYGEN in
10426 >  [\\/]* | ?:[\\/]*)
10427 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10428 >  ;;
10429 >  *)
10430 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10431 > for as_dir in $PATH
10432 > do
10433 >  IFS=$as_save_IFS
10434 >  test -z "$as_dir" && as_dir=.
10435 >  for ac_exec_ext in '' $ac_executable_extensions; do
10436 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10437 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10438 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10439 >    break 2
10440 >  fi
10441 > done
10442 > done
10443 >
10444 >  ;;
10445 > esac
10446 > fi
10447 > DOXYGEN=$ac_cv_path_DOXYGEN
10448 >
10449 > if test -n "$DOXYGEN"; then
10450 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10451 > echo "${ECHO_T}$DOXYGEN" >&6
10452 > else
10453 >  echo "$as_me:$LINENO: result: no" >&5
10454 > echo "${ECHO_T}no" >&6
10455 > fi
10456 >
10457 >        if test "x$DOXYGEN" = x; then
10458 >                if test "x$enable_doxygen" = xyes; then
10459 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10460 > echo "$as_me: error: could not find doxygen" >&2;}
10461 >   { (exit 1); exit 1; }; }
10462 >                fi
10463 >                enable_doc=no
10464 >        else
10465 >                enable_doc=yes
10466 >                # Extract the first word of "dot", so it can be a program name with args.
10467 > set dummy dot; ac_word=$2
10468 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10469 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10470 > if test "${ac_cv_path_DOT+set}" = set; then
10471 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10472 > else
10473 >  case $DOT in
10474 >  [\\/]* | ?:[\\/]*)
10475 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10476 >  ;;
10477 >  *)
10478 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10479 > for as_dir in $PATH
10480 > do
10481 >  IFS=$as_save_IFS
10482 >  test -z "$as_dir" && as_dir=.
10483 >  for ac_exec_ext in '' $ac_executable_extensions; do
10484 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10485 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10486 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10487 >    break 2
10488 >  fi
10489 > done
10490 > done
10491 >
10492 >  ;;
10493 > esac
10494 > fi
10495 > DOT=$ac_cv_path_DOT
10496 >
10497 > if test -n "$DOT"; then
10498 >  echo "$as_me:$LINENO: result: $DOT" >&5
10499 > echo "${ECHO_T}$DOT" >&6
10500 > else
10501 >  echo "$as_me:$LINENO: result: no" >&5
10502 > echo "${ECHO_T}no" >&6
10503 > fi
10504 >
10505 >        fi
10506 > fi
10507 >
10508 > if test "x$enable_doc" = xyes; then
10509 >  DOC=1
10510 > else
10511 >  DOC=0
10512 > fi
10513 >
10514 >
10515 > if test x$DOT = x; then
10516 >        if test "x$enable_dot" = xyes; then
10517 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10518 > echo "$as_me: error: could not find dot" >&2;}
10519 >   { (exit 1); exit 1; }; }
10520 >        fi
10521 >        enable_dot=no
10522 > else
10523 >        enable_dot=yes
10524 > fi
10525 >
10526 >
10527 >
10528 >
10529 >
10530 >
10531 >
10532 > OBJEXT=".$OBJEXT"
10533 >
10534 > OOPSE=oopse
10535 >
10536 > if test "x${prefix}" = "xNONE"
10537 > then
10538 >  OOPSE_HOME=${ac_default_prefix}/oopse
10539 > else
10540 >  OOPSE_HOME=${prefix}/oopse
10541 > fi
10542 > # Check whether --enable-oopse-home or --disable-oopse-home was given.
10543 > if test "${enable_oopse_home+set}" = set; then
10544 >  enableval="$enable_oopse_home"
10545 >  OOPSE_HOME="${enableval}"
10546 > fi;
10547 >
10548 > case "x$INSTALL" in
10549 >   x/*) ;;
10550 >   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
10551 > esac
10552 >
10553 > MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
10554 >
10555 > CFLAGS=${CFLAGS-""}
10556 > CXXFLAGS=${CXXFLAGS-""}
10557 > CPPFLAGS=${CPPFLAGS-""}
10558 > FFLAGS=${FFLAGS-""}
10559 > F90FLAGS=${F90FLAGS-""}
10560 > LDFLAGS=${LDFLAGS-""}
10561 > DEBUG=${DEBUG-"-g"}
10562 >
10563 > case $debug in
10564 >  1)
10565 >     FFLAGS="$DEBUG $FFLAGS"
10566 >     F90FLAGS="$DEBUG $F90FLAGS"
10567 >     ;;
10568 >  *)
10569 >     ;;
10570 > esac
10571 >
10572 >
10573 >
10574 >
10575 >
10576 >
10577 >
10578 >
10579 >
10580 >
10581 >
10582 >
10583 >
10584 >
10585 >
10586 >
10587 >
10588 >
10589 >          ac_config_headers="$ac_config_headers src/config.h"
10590 >
10591 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10592 >
10593 >
10594 > cat >confcache <<\_ACEOF
10595 > # This file is a shell script that caches the results of configure
10596 > # tests run on this system so they can be shared between configure
10597 > # scripts and configure runs, see configure's option --config-cache.
10598 > # It is not useful on other systems.  If it contains results you don't
10599 > # want to keep, you may remove or edit it.
10600 > #
10601 > # config.status only pays attention to the cache file if you give it
10602 > # the --recheck option to rerun configure.
10603 > #
10604 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10605 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
10606 > # following values.
10607 >
10608 > _ACEOF
10609 >
10610 > # The following way of writing the cache mishandles newlines in values,
10611 > # but we know of no workaround that is simple, portable, and efficient.
10612 > # So, don't put newlines in cache variables' values.
10613 > # Ultrix sh set writes to stderr and can't be redirected directly,
10614 > # and sets the high bit in the cache file unless we assign to the vars.
10615 > {
10616 >  (set) 2>&1 |
10617 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
10618 >    *ac_space=\ *)
10619 >      # `set' does not quote correctly, so add quotes (double-quote
10620 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
10621 >      sed -n \
10622 >        "s/'/'\\\\''/g;
10623 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10624 >      ;;
10625 >    *)
10626 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
10627 >      sed -n \
10628 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10629 >      ;;
10630 >    esac;
10631 > } |
10632 >  sed '
10633 >     t clear
10634 >     : clear
10635 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10636 >     t end
10637 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10638 >     : end' >>confcache
10639 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10640 >  if test -w $cache_file; then
10641 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10642 >    cat confcache >$cache_file
10643 >  else
10644 >    echo "not updating unwritable cache $cache_file"
10645 >  fi
10646 > fi
10647 > rm -f confcache
10648 >
10649 > test "x$prefix" = xNONE && prefix=$ac_default_prefix
10650 > # Let make expand exec_prefix.
10651 > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10652 >
10653 > # VPATH may cause trouble with some makes, so we remove $(srcdir),
10654 > # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10655 > # trailing colons and then remove the whole line if VPATH becomes empty
10656 > # (actually we leave an empty line to preserve line numbers).
10657 > if test "x$srcdir" = x.; then
10658 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10659 > s/:*\$(srcdir):*/:/;
10660 > s/:*\${srcdir}:*/:/;
10661 > s/:*@srcdir@:*/:/;
10662 > s/^\([^=]*=[     ]*\):*/\1/;
10663 > s/:*$//;
10664 > s/^[^=]*=[       ]*$//;
10665 > }'
10666 > fi
10667 >
10668 > DEFS=-DHAVE_CONFIG_H
10669 >
10670 > ac_libobjs=
10671 > ac_ltlibobjs=
10672 > for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10673 >  # 1. Remove the extension, and $U if already installed.
10674 >  ac_i=`echo "$ac_i" |
10675 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10676 >  # 2. Add them.
10677 >  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10678 >  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10679 > done
10680 > LIBOBJS=$ac_libobjs
10681 >
10682 > LTLIBOBJS=$ac_ltlibobjs
10683 >
10684 >
10685 >
10686 > : ${CONFIG_STATUS=./config.status}
10687 > ac_clean_files_save=$ac_clean_files
10688 > ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10689 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10690 > echo "$as_me: creating $CONFIG_STATUS" >&6;}
10691 > cat >$CONFIG_STATUS <<_ACEOF
10692 > #! $SHELL
10693 > # Generated by $as_me.
10694 > # Run this file to recreate the current configuration.
10695 > # Compiler output produced by configure, useful for debugging
10696 > # configure, is in config.log if it exists.
10697 >
10698 > debug=false
10699 > ac_cs_recheck=false
10700 > ac_cs_silent=false
10701 > SHELL=\${CONFIG_SHELL-$SHELL}
10702 > _ACEOF
10703 >
10704 > cat >>$CONFIG_STATUS <<\_ACEOF
10705 > ## --------------------- ##
10706 > ## M4sh Initialization.  ##
10707 > ## --------------------- ##
10708 >
10709 > # Be Bourne compatible
10710 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10711 >  emulate sh
10712 >  NULLCMD=:
10713 >  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10714 >  # is contrary to our usage.  Disable this feature.
10715 >  alias -g '${1+"$@"}'='"$@"'
10716 > elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10717 >  set -o posix
10718 > fi
10719 > DUALCASE=1; export DUALCASE # for MKS sh
10720 >
10721 > # Support unset when possible.
10722 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10723 >  as_unset=unset
10724 > else
10725 >  as_unset=false
10726 > fi
10727 >
10728 >
10729 > # Work around bugs in pre-3.0 UWIN ksh.
10730 > $as_unset ENV MAIL MAILPATH
10731 > PS1='$ '
10732 > PS2='> '
10733 > PS4='+ '
10734 >
10735 > # NLS nuisances.
10736 > for as_var in \
10737 >  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10738 >  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10739 >  LC_TELEPHONE LC_TIME
10740 > do
10741 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10742 >    eval $as_var=C; export $as_var
10743 >  else
10744 >    $as_unset $as_var
10745 >  fi
10746 > done
10747 >
10748 > # Required to use basename.
10749 > if expr a : '\(a\)' >/dev/null 2>&1; then
10750 >  as_expr=expr
10751 > else
10752 >  as_expr=false
10753 > fi
10754 >
10755 > if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10756 >  as_basename=basename
10757 > else
10758 >  as_basename=false
10759 > fi
10760 >
10761 >
10762 > # Name of the executable.
10763 > as_me=`$as_basename "$0" ||
10764 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10765 >         X"$0" : 'X\(//\)$' \| \
10766 >         X"$0" : 'X\(/\)$' \| \
10767 >         .     : '\(.\)' 2>/dev/null ||
10768 > echo X/"$0" |
10769 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10770 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10771 >          /^X\/\(\/\).*/{ s//\1/; q; }
10772 >          s/.*/./; q'`
10773 >
10774 >
10775 > # PATH needs CR, and LINENO needs CR and PATH.
10776 > # Avoid depending upon Character Ranges.
10777 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10778 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10779 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10780 > as_cr_digits='0123456789'
10781 > as_cr_alnum=$as_cr_Letters$as_cr_digits
10782 >
10783 > # The user is always right.
10784 > if test "${PATH_SEPARATOR+set}" != set; then
10785 >  echo "#! /bin/sh" >conf$$.sh
10786 >  echo  "exit 0"   >>conf$$.sh
10787 >  chmod +x conf$$.sh
10788 >  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10789 >    PATH_SEPARATOR=';'
10790 >  else
10791 >    PATH_SEPARATOR=:
10792 >  fi
10793 >  rm -f conf$$.sh
10794 > fi
10795 >
10796 >
10797 >  as_lineno_1=$LINENO
10798 >  as_lineno_2=$LINENO
10799 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10800 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10801 >  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10802 >  # Find who we are.  Look in the path if we contain no path at all
10803 >  # relative or not.
10804 >  case $0 in
10805 >    *[\\/]* ) as_myself=$0 ;;
10806 >    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10807 > for as_dir in $PATH
10808 > do
10809 >  IFS=$as_save_IFS
10810 >  test -z "$as_dir" && as_dir=.
10811 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10812 > done
10813 >
10814 >       ;;
10815 >  esac
10816 >  # We did not find ourselves, most probably we were run as `sh COMMAND'
10817 >  # in which case we are not to be found in the path.
10818 >  if test "x$as_myself" = x; then
10819 >    as_myself=$0
10820 >  fi
10821 >  if test ! -f "$as_myself"; then
10822 >    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10823 > echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10824 >   { (exit 1); exit 1; }; }
10825 >  fi
10826 >  case $CONFIG_SHELL in
10827 >  '')
10828 >    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829 > for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10830 > do
10831 >  IFS=$as_save_IFS
10832 >  test -z "$as_dir" && as_dir=.
10833 >  for as_base in sh bash ksh sh5; do
10834 >         case $as_dir in
10835 >         /*)
10836 >           if ("$as_dir/$as_base" -c '
10837 >  as_lineno_1=$LINENO
10838 >  as_lineno_2=$LINENO
10839 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10840 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10841 >  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10842 >             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10843 >             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10844 >             CONFIG_SHELL=$as_dir/$as_base
10845 >             export CONFIG_SHELL
10846 >             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10847 >           fi;;
10848 >         esac
10849 >       done
10850 > done
10851 > ;;
10852 >  esac
10853 >
10854 >  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10855 >  # uniformly replaced by the line number.  The first 'sed' inserts a
10856 >  # line-number line before each line; the second 'sed' does the real
10857 >  # work.  The second script uses 'N' to pair each line-number line
10858 >  # with the numbered line, and appends trailing '-' during
10859 >  # substitution so that $LINENO is not a special case at line end.
10860 >  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10861 >  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10862 >  sed '=' <$as_myself |
10863 >    sed '
10864 >      N
10865 >      s,$,-,
10866 >      : loop
10867 >      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10868 >      t loop
10869 >      s,-$,,
10870 >      s,^['$as_cr_digits']*\n,,
10871 >    ' >$as_me.lineno &&
10872 >  chmod +x $as_me.lineno ||
10873 >    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10874 > echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10875 >   { (exit 1); exit 1; }; }
10876 >
10877 >  # Don't try to exec as it changes $[0], causing all sort of problems
10878 >  # (the dirname of $[0] is not the place where we might find the
10879 >  # original and so on.  Autoconf is especially sensible to this).
10880 >  . ./$as_me.lineno
10881 >  # Exit status is that of the last command.
10882 >  exit
10883 > }
10884 >
10885 >
10886 > case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10887 >  *c*,-n*) ECHO_N= ECHO_C='
10888 > ' ECHO_T='      ' ;;
10889 >  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10890 >  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10891 > esac
10892 >
10893 > if expr a : '\(a\)' >/dev/null 2>&1; then
10894 >  as_expr=expr
10895 > else
10896 >  as_expr=false
10897 > fi
10898 >
10899 > rm -f conf$$ conf$$.exe conf$$.file
10900 > echo >conf$$.file
10901 > if ln -s conf$$.file conf$$ 2>/dev/null; then
10902 >  # We could just check for DJGPP; but this test a) works b) is more generic
10903 >  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10904 >  if test -f conf$$.exe; then
10905 >    # Don't use ln at all; we don't have any links
10906 >    as_ln_s='cp -p'
10907 >  else
10908 >    as_ln_s='ln -s'
10909 >  fi
10910 > elif ln conf$$.file conf$$ 2>/dev/null; then
10911 >  as_ln_s=ln
10912 > else
10913 >  as_ln_s='cp -p'
10914 > fi
10915 > rm -f conf$$ conf$$.exe conf$$.file
10916 >
10917 > if mkdir -p . 2>/dev/null; then
10918 >  as_mkdir_p=:
10919 > else
10920 >  test -d ./-p && rmdir ./-p
10921 >  as_mkdir_p=false
10922 > fi
10923 >
10924 > as_executable_p="test -f"
10925 >
10926 > # Sed expression to map a string onto a valid CPP name.
10927 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10928 >
10929 > # Sed expression to map a string onto a valid variable name.
10930 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10931 >
10932 >
10933 > # IFS
10934 > # We need space, tab and new line, in precisely that order.
10935 > as_nl='
10936 > '
10937 > IFS="   $as_nl"
10938 >
10939 > # CDPATH.
10940 > $as_unset CDPATH
10941 >
10942 > exec 6>&1
10943 >
10944 > # Open the log real soon, to keep \$[0] and so on meaningful, and to
10945 > # report actual input values of CONFIG_FILES etc. instead of their
10946 > # values after options handling.  Logging --version etc. is OK.
10947 > exec 5>>config.log
10948 > {
10949 >  echo
10950 >  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10951 > ## Running $as_me. ##
10952 > _ASBOX
10953 > } >&5
10954 > cat >&5 <<_CSEOF
10955 >
10956 > This file was extended by OOPSE $as_me 2.0, which was
10957 > generated by GNU Autoconf 2.59.  Invocation command line was
10958 >
10959 >  CONFIG_FILES    = $CONFIG_FILES
10960 >  CONFIG_HEADERS  = $CONFIG_HEADERS
10961 >  CONFIG_LINKS    = $CONFIG_LINKS
10962 >  CONFIG_COMMANDS = $CONFIG_COMMANDS
10963 >  $ $0 $@
10964 >
10965 > _CSEOF
10966 > echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10967 > echo >&5
10968 > _ACEOF
10969 >
10970 > # Files that config.status was made for.
10971 > if test -n "$ac_config_files"; then
10972 >  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10973 > fi
10974 >
10975 > if test -n "$ac_config_headers"; then
10976 >  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10977 > fi
10978 >
10979 > if test -n "$ac_config_links"; then
10980 >  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10981 > fi
10982 >
10983 > if test -n "$ac_config_commands"; then
10984 >  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10985 > fi
10986 >
10987 > cat >>$CONFIG_STATUS <<\_ACEOF
10988 >
10989 > ac_cs_usage="\
10990 > \`$as_me' instantiates files from templates according to the
10991 > current configuration.
10992 >
10993 > Usage: $0 [OPTIONS] [FILE]...
10994 >
10995 >  -h, --help       print this help, then exit
10996 >  -V, --version    print version number, then exit
10997 >  -q, --quiet      do not print progress messages
10998 >  -d, --debug      don't remove temporary files
10999 >      --recheck    update $as_me by reconfiguring in the same conditions
11000 >  --file=FILE[:TEMPLATE]
11001 >                   instantiate the configuration file FILE
11002 >  --header=FILE[:TEMPLATE]
11003 >                   instantiate the configuration header FILE
11004 >
11005 > Configuration files:
11006 > $config_files
11007 >
11008 > Configuration headers:
11009 > $config_headers
11010 >
11011 > Configuration links:
11012 > $config_links
11013 >
11014 > Report bugs to <bug-autoconf@gnu.org>."
11015 > _ACEOF
11016 >
11017 > cat >>$CONFIG_STATUS <<_ACEOF
11018 > ac_cs_version="\\
11019 > OOPSE config.status 2.0
11020 > configured by $0, generated by GNU Autoconf 2.59,
11021 >  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11022 >
11023 > Copyright (C) 2003 Free Software Foundation, Inc.
11024 > This config.status script is free software; the Free Software Foundation
11025 > gives unlimited permission to copy, distribute and modify it."
11026 > srcdir=$srcdir
11027 > INSTALL="$INSTALL"
11028 > _ACEOF
11029 >
11030 > cat >>$CONFIG_STATUS <<\_ACEOF
11031 > # If no file are specified by the user, then we need to provide default
11032 > # value.  By we need to know if files were specified by the user.
11033 > ac_need_defaults=:
11034 > while test $# != 0
11035 > do
11036 >  case $1 in
11037 >  --*=*)
11038 >    ac_option=`expr "x$1" : 'x\([^=]*\)='`
11039 >    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11040 >    ac_shift=:
11041 >    ;;
11042 >  -*)
11043 >    ac_option=$1
11044 >    ac_optarg=$2
11045 >    ac_shift=shift
11046 >    ;;
11047 >  *) # This is not an option, so the user has probably given explicit
11048 >     # arguments.
11049 >     ac_option=$1
11050 >     ac_need_defaults=false;;
11051 >  esac
11052 >
11053 >  case $ac_option in
11054 >  # Handling of the options.
11055 > _ACEOF
11056 > cat >>$CONFIG_STATUS <<\_ACEOF
11057 >  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11058 >    ac_cs_recheck=: ;;
11059 >  --version | --vers* | -V )
11060 >    echo "$ac_cs_version"; exit 0 ;;
11061 >  --he | --h)
11062 >    # Conflict between --help and --header
11063 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11064 > Try \`$0 --help' for more information." >&5
11065 > echo "$as_me: error: ambiguous option: $1
11066 > Try \`$0 --help' for more information." >&2;}
11067 >   { (exit 1); exit 1; }; };;
11068 >  --help | --hel | -h )
11069 >    echo "$ac_cs_usage"; exit 0 ;;
11070 >  --debug | --d* | -d )
11071 >    debug=: ;;
11072 >  --file | --fil | --fi | --f )
11073 >    $ac_shift
11074 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11075 >    ac_need_defaults=false;;
11076 >  --header | --heade | --head | --hea )
11077 >    $ac_shift
11078 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11079 >    ac_need_defaults=false;;
11080 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11081 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11082 >    ac_cs_silent=: ;;
11083 >
11084 >  # This is an error.
11085 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11086 > Try \`$0 --help' for more information." >&5
11087 > echo "$as_me: error: unrecognized option: $1
11088 > Try \`$0 --help' for more information." >&2;}
11089 >   { (exit 1); exit 1; }; } ;;
11090 >
11091 >  *) ac_config_targets="$ac_config_targets $1" ;;
11092 >
11093 >  esac
11094 >  shift
11095 > done
11096 >
11097 > ac_configure_extra_args=
11098 >
11099 > if $ac_cs_silent; then
11100 >  exec 6>/dev/null
11101 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
11102 > fi
11103 >
11104 > _ACEOF
11105 > cat >>$CONFIG_STATUS <<_ACEOF
11106 > if \$ac_cs_recheck; then
11107 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11108 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11109 > fi
11110 >
11111 > _ACEOF
11112 >
11113 >
11114 >
11115 >
11116 >
11117 > cat >>$CONFIG_STATUS <<\_ACEOF
11118 > for ac_config_target in $ac_config_targets
11119 > do
11120 >  case "$ac_config_target" in
11121 >  # Handling of arguments.
11122 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11123 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11124 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11125 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11126 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11127 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11128 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11129 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11130 >   { (exit 1); exit 1; }; };;
11131 >  esac
11132 > done
11133 >
11134 > # If the user did not use the arguments to specify the items to instantiate,
11135 > # then the envvar interface is used.  Set only those that are not.
11136 > # We use the long form for the default assignment because of an extremely
11137 > # bizarre bug on SunOS 4.1.3.
11138 > if $ac_need_defaults; then
11139 >  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11140 >  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11141 >  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11142 > fi
11143 >
11144 > # Have a temporary directory for convenience.  Make it in the build tree
11145 > # simply because there is no reason to put it here, and in addition,
11146 > # creating and moving files from /tmp can sometimes cause problems.
11147 > # Create a temporary directory, and hook for its removal unless debugging.
11148 > $debug ||
11149 > {
11150 >  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11151 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11152 > }
11153 >
11154 > # Create a (secure) tmp directory for tmp files.
11155 >
11156 > {
11157 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11158 >  test -n "$tmp" && test -d "$tmp"
11159 > }  ||
11160 > {
11161 >  tmp=./confstat$$-$RANDOM
11162 >  (umask 077 && mkdir $tmp)
11163 > } ||
11164 > {
11165 >   echo "$me: cannot create a temporary directory in ." >&2
11166 >   { (exit 1); exit 1; }
11167 > }
11168 >
11169 > _ACEOF
11170 >
11171 > cat >>$CONFIG_STATUS <<_ACEOF
11172 >
11173 > #
11174 > # CONFIG_FILES section.
11175 > #
11176 >
11177 > # No need to generate the scripts if there are no CONFIG_FILES.
11178 > # This happens for instance when ./config.status config.h
11179 > if test -n "\$CONFIG_FILES"; then
11180 >  # Protect against being on the right side of a sed subst in config.status.
11181 >  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11182 >   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11183 > s,@SHELL@,$SHELL,;t t
11184 > s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11185 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11186 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11187 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11188 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11189 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11190 > s,@exec_prefix@,$exec_prefix,;t t
11191 > s,@prefix@,$prefix,;t t
11192 > s,@program_transform_name@,$program_transform_name,;t t
11193 > s,@bindir@,$bindir,;t t
11194 > s,@sbindir@,$sbindir,;t t
11195 > s,@libexecdir@,$libexecdir,;t t
11196 > s,@datadir@,$datadir,;t t
11197 > s,@sysconfdir@,$sysconfdir,;t t
11198 > s,@sharedstatedir@,$sharedstatedir,;t t
11199 > s,@localstatedir@,$localstatedir,;t t
11200 > s,@libdir@,$libdir,;t t
11201 > s,@includedir@,$includedir,;t t
11202 > s,@oldincludedir@,$oldincludedir,;t t
11203 > s,@infodir@,$infodir,;t t
11204 > s,@mandir@,$mandir,;t t
11205 > s,@build_alias@,$build_alias,;t t
11206 > s,@host_alias@,$host_alias,;t t
11207 > s,@target_alias@,$target_alias,;t t
11208 > s,@DEFS@,$DEFS,;t t
11209 > s,@ECHO_C@,$ECHO_C,;t t
11210 > s,@ECHO_N@,$ECHO_N,;t t
11211 > s,@ECHO_T@,$ECHO_T,;t t
11212 > s,@LIBS@,$LIBS,;t t
11213 > s,@PROGNAME@,$PROGNAME,;t t
11214 > s,@debug@,$debug,;t t
11215 > s,@build@,$build,;t t
11216 > s,@build_cpu@,$build_cpu,;t t
11217 > s,@build_vendor@,$build_vendor,;t t
11218 > s,@build_os@,$build_os,;t t
11219 > s,@host@,$host,;t t
11220 > s,@host_cpu@,$host_cpu,;t t
11221 > s,@host_vendor@,$host_vendor,;t t
11222 > s,@host_os@,$host_os,;t t
11223 > s,@CC@,$CC,;t t
11224 > s,@CFLAGS@,$CFLAGS,;t t
11225 > s,@LDFLAGS@,$LDFLAGS,;t t
11226 > s,@CPPFLAGS@,$CPPFLAGS,;t t
11227 > s,@ac_ct_CC@,$ac_ct_CC,;t t
11228 > s,@EXEEXT@,$EXEEXT,;t t
11229 > s,@OBJEXT@,$OBJEXT,;t t
11230 > s,@CXX@,$CXX,;t t
11231 > s,@CXXFLAGS@,$CXXFLAGS,;t t
11232 > s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11233 > s,@CPP@,$CPP,;t t
11234 > s,@EGREP@,$EGREP,;t t
11235 > s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11236 > s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11237 > s,@F90@,$F90,;t t
11238 > s,@F90FLAGS@,$F90FLAGS,;t t
11239 > s,@ac_ct_F90@,$ac_ct_F90,;t t
11240 > s,@PREPFLAG@,$PREPFLAG,;t t
11241 > s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
11242 > s,@F90LIBS@,$F90LIBS,;t t
11243 > s,@F90_FUNC@,$F90_FUNC,;t t
11244 > s,@F90_FUNC_@,$F90_FUNC_,;t t
11245 > s,@MOD@,$MOD,;t t
11246 > s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
11247 > s,@MODDIRFLAG@,$MODDIRFLAG,;t t
11248 > s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11249 > s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11250 > s,@CXXCPP@,$CXXCPP,;t t
11251 > s,@LIBOBJS@,$LIBOBJS,;t t
11252 > s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11253 > s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11254 > s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11255 > s,@LN_S@,$LN_S,;t t
11256 > s,@SET_MAKE@,$SET_MAKE,;t t
11257 > s,@RANLIB@,$RANLIB,;t t
11258 > s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11259 > s,@YACC@,$YACC,;t t
11260 > s,@LEX@,$LEX,;t t
11261 > s,@LEXLIB@,$LEXLIB,;t t
11262 > s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11263 > s,@PERLINTERP@,$PERLINTERP,;t t
11264 > s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11265 > s,@AR@,$AR,;t t
11266 > s,@PS@,$PS,;t t
11267 > s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
11268 > s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
11269 > s,@MPI_F90_INC@,$MPI_F90_INC,;t t
11270 > s,@MPI_LIB@,$MPI_LIB,;t t
11271 > s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11272 > s,@USE_MPI@,$USE_MPI,;t t
11273 > s,@USE_CGAL@,$USE_CGAL,;t t
11274 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11275 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11276 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11277 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11278 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11279 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11280 > s,@DOXYGEN@,$DOXYGEN,;t t
11281 > s,@DOT@,$DOT,;t t
11282 > s,@DOC@,$DOC,;t t
11283 > s,@enable_dot@,$enable_dot,;t t
11284 > s,@enable_html_docs@,$enable_html_docs,;t t
11285 > s,@enable_latex_docs@,$enable_latex_docs,;t t
11286 > s,@BATEXT@,$BATEXT,;t t
11287 > s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11288 > s,@OOPSE@,$OOPSE,;t t
11289 > s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11290 > s,@SUBDIRS@,$SUBDIRS,;t t
11291 > s,@FFLAGS@,$FFLAGS,;t t
11292 > s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11293 > CEOF
11294 >
11295 > _ACEOF
11296 >
11297 >  cat >>$CONFIG_STATUS <<\_ACEOF
11298 >  # Split the substitutions into bite-sized pieces for seds with
11299 >  # small command number limits, like on Digital OSF/1 and HP-UX.
11300 >  ac_max_sed_lines=48
11301 >  ac_sed_frag=1 # Number of current file.
11302 >  ac_beg=1 # First line for current file.
11303 >  ac_end=$ac_max_sed_lines # Line after last line for current file.
11304 >  ac_more_lines=:
11305 >  ac_sed_cmds=
11306 >  while $ac_more_lines; do
11307 >    if test $ac_beg -gt 1; then
11308 >      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11309 >    else
11310 >      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11311 >    fi
11312 >    if test ! -s $tmp/subs.frag; then
11313 >      ac_more_lines=false
11314 >    else
11315 >      # The purpose of the label and of the branching condition is to
11316 >      # speed up the sed processing (if there are no `@' at all, there
11317 >      # is no need to browse any of the substitutions).
11318 >      # These are the two extra sed commands mentioned above.
11319 >      (echo ':t
11320 >  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11321 >      if test -z "$ac_sed_cmds"; then
11322 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11323 >      else
11324 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11325 >      fi
11326 >      ac_sed_frag=`expr $ac_sed_frag + 1`
11327 >      ac_beg=$ac_end
11328 >      ac_end=`expr $ac_end + $ac_max_sed_lines`
11329 >    fi
11330 >  done
11331 >  if test -z "$ac_sed_cmds"; then
11332 >    ac_sed_cmds=cat
11333 >  fi
11334 > fi # test -n "$CONFIG_FILES"
11335 >
11336 > _ACEOF
11337 > cat >>$CONFIG_STATUS <<\_ACEOF
11338 > for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11339 >  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11340 >  case $ac_file in
11341 >  - | *:- | *:-:* ) # input from stdin
11342 >        cat >$tmp/stdin
11343 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11344 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11345 >  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11346 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11347 >  * )   ac_file_in=$ac_file.in ;;
11348 >  esac
11349 >
11350 >  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11351 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11352 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11353 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11354 >         X"$ac_file" : 'X\(//\)$' \| \
11355 >         X"$ac_file" : 'X\(/\)' \| \
11356 >         .     : '\(.\)' 2>/dev/null ||
11357 > echo X"$ac_file" |
11358 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11359 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11360 >          /^X\(\/\/\)$/{ s//\1/; q; }
11361 >          /^X\(\/\).*/{ s//\1/; q; }
11362 >          s/.*/./; q'`
11363 >  { if $as_mkdir_p; then
11364 >    mkdir -p "$ac_dir"
11365 >  else
11366 >    as_dir="$ac_dir"
11367 >    as_dirs=
11368 >    while test ! -d "$as_dir"; do
11369 >      as_dirs="$as_dir $as_dirs"
11370 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11371 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11372 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11373 >         X"$as_dir" : 'X\(//\)$' \| \
11374 >         X"$as_dir" : 'X\(/\)' \| \
11375 >         .     : '\(.\)' 2>/dev/null ||
11376 > echo X"$as_dir" |
11377 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11378 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11379 >          /^X\(\/\/\)$/{ s//\1/; q; }
11380 >          /^X\(\/\).*/{ s//\1/; q; }
11381 >          s/.*/./; q'`
11382 >    done
11383 >    test ! -n "$as_dirs" || mkdir $as_dirs
11384 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11385 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11386 >   { (exit 1); exit 1; }; }; }
11387 >
11388 >  ac_builddir=.
11389 >
11390 > if test "$ac_dir" != .; then
11391 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11392 >  # A "../" for each directory in $ac_dir_suffix.
11393 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11394 > else
11395 >  ac_dir_suffix= ac_top_builddir=
11396 > fi
11397 >
11398 > case $srcdir in
11399 >  .)  # No --srcdir option.  We are building in place.
11400 >    ac_srcdir=.
11401 >    if test -z "$ac_top_builddir"; then
11402 >       ac_top_srcdir=.
11403 >    else
11404 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11405 >    fi ;;
11406 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11407 >    ac_srcdir=$srcdir$ac_dir_suffix;
11408 >    ac_top_srcdir=$srcdir ;;
11409 >  *) # Relative path.
11410 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11411 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11412 > esac
11413 >
11414 > # Do not use `cd foo && pwd` to compute absolute paths, because
11415 > # the directories may not exist.
11416 > case `pwd` in
11417 > .) ac_abs_builddir="$ac_dir";;
11418 > *)
11419 >  case "$ac_dir" in
11420 >  .) ac_abs_builddir=`pwd`;;
11421 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11422 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11423 >  esac;;
11424 > esac
11425 > case $ac_abs_builddir in
11426 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11427 > *)
11428 >  case ${ac_top_builddir}. in
11429 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11430 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11431 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11432 >  esac;;
11433 > esac
11434 > case $ac_abs_builddir in
11435 > .) ac_abs_srcdir=$ac_srcdir;;
11436 > *)
11437 >  case $ac_srcdir in
11438 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11439 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11440 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11441 >  esac;;
11442 > esac
11443 > case $ac_abs_builddir in
11444 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11445 > *)
11446 >  case $ac_top_srcdir in
11447 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11448 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11449 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11450 >  esac;;
11451 > esac
11452 >
11453 >
11454 >  case $INSTALL in
11455 >  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11456 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11457 >  esac
11458 >
11459 >  if test x"$ac_file" != x-; then
11460 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
11461 > echo "$as_me: creating $ac_file" >&6;}
11462 >    rm -f "$ac_file"
11463 >  fi
11464 >  # Let's still pretend it is `configure' which instantiates (i.e., don't
11465 >  # use $as_me), people would be surprised to read:
11466 >  #    /* config.h.  Generated by config.status.  */
11467 >  if test x"$ac_file" = x-; then
11468 >    configure_input=
11469 >  else
11470 >    configure_input="$ac_file.  "
11471 >  fi
11472 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11473 >                                     sed 's,.*/,,'` by configure."
11474 >
11475 >  # First look for the input files in the build tree, otherwise in the
11476 >  # src tree.
11477 >  ac_file_inputs=`IFS=:
11478 >    for f in $ac_file_in; do
11479 >      case $f in
11480 >      -) echo $tmp/stdin ;;
11481 >      [\\/$]*)
11482 >         # Absolute (can't be DOS-style, as IFS=:)
11483 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11484 > echo "$as_me: error: cannot find input file: $f" >&2;}
11485 >   { (exit 1); exit 1; }; }
11486 >         echo "$f";;
11487 >      *) # Relative
11488 >         if test -f "$f"; then
11489 >           # Build tree
11490 >           echo "$f"
11491 >         elif test -f "$srcdir/$f"; then
11492 >           # Source tree
11493 >           echo "$srcdir/$f"
11494 >         else
11495 >           # /dev/null tree
11496 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11497 > echo "$as_me: error: cannot find input file: $f" >&2;}
11498 >   { (exit 1); exit 1; }; }
11499 >         fi;;
11500 >      esac
11501 >    done` || { (exit 1); exit 1; }
11502 > _ACEOF
11503 > cat >>$CONFIG_STATUS <<_ACEOF
11504 >  sed "$ac_vpsub
11505 > $extrasub
11506 > _ACEOF
11507 > cat >>$CONFIG_STATUS <<\_ACEOF
11508 > :t
11509 > /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11510 > s,@configure_input@,$configure_input,;t t
11511 > s,@srcdir@,$ac_srcdir,;t t
11512 > s,@abs_srcdir@,$ac_abs_srcdir,;t t
11513 > s,@top_srcdir@,$ac_top_srcdir,;t t
11514 > s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11515 > s,@builddir@,$ac_builddir,;t t
11516 > s,@abs_builddir@,$ac_abs_builddir,;t t
11517 > s,@top_builddir@,$ac_top_builddir,;t t
11518 > s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11519 > s,@INSTALL@,$ac_INSTALL,;t t
11520 > " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11521 >  rm -f $tmp/stdin
11522 >  if test x"$ac_file" != x-; then
11523 >    mv $tmp/out $ac_file
11524 >  else
11525 >    cat $tmp/out
11526 >    rm -f $tmp/out
11527 >  fi
11528 >
11529 >  # Run the commands associated with the file.
11530 >  case $ac_file in
11531 >    make/Makefile ) chmod 0755 scripts/* ;;
11532 >    src/utils/Makefile ) chmod 0755 scripts/* ;;
11533 >    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11534 >    scripts/filepp ) chmod 0755 scripts/* ;;
11535 >  esac
11536   done
11537   _ACEOF
11538   cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines