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

Comparing trunk/OOPSE-2.0/configure (file contents):
Revision 2026 by gezelter, Tue Feb 15 05:59:14 2005 UTC vs.
Revision 2518 by tim, Fri Dec 16 21:52:50 2005 UTC

# Line 312 | Line 312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKA
312   # include <unistd.h>
313   #endif"
314  
315 < ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
315 > ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CXXCPP LIBOBJS __func__ INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316   ac_subst_files=''
317  
318   # Initialize some variables set by options.
# Line 777 | Line 777 | ac_env_F90_set=${F90+set}
777   ac_env_CXXFLAGS_value=$CXXFLAGS
778   ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
779   ac_cv_env_CXXFLAGS_value=$CXXFLAGS
780 + ac_env_CPP_set=${CPP+set}
781 + ac_env_CPP_value=$CPP
782 + ac_cv_env_CPP_set=${CPP+set}
783 + ac_cv_env_CPP_value=$CPP
784   ac_env_F90_set=${F90+set}
785   ac_env_F90_value=$F90
786   ac_cv_env_F90_set=${F90+set}
# Line 785 | Line 789 | ac_env_CPP_set=${CPP+set}
789   ac_env_F90FLAGS_value=$F90FLAGS
790   ac_cv_env_F90FLAGS_set=${F90FLAGS+set}
791   ac_cv_env_F90FLAGS_value=$F90FLAGS
792 < ac_env_CPP_set=${CPP+set}
793 < ac_env_CPP_value=$CPP
794 < ac_cv_env_CPP_set=${CPP+set}
795 < ac_cv_env_CPP_value=$CPP
792 > ac_env_CXXCPP_set=${CXXCPP+set}
793 > ac_env_CXXCPP_value=$CXXCPP
794 > ac_cv_env_CXXCPP_set=${CXXCPP+set}
795 > ac_cv_env_CXXCPP_value=$CXXCPP
796  
797   #
798   # Report the --help message.
# Line 875 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888 <  --with-sprng=<prefix>   compile with SPRNG installed in <prefix>
880 <                          [default=/usr/local]
881 <  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
888 >  --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
890   Some influential environment variables:
891    CC          C compiler command
# Line 889 | Line 896 | Some influential environment variables:
896                headers in a nonstandard directory <include dir>
897    CXX         C++ compiler command
898    CXXFLAGS    C++ compiler flags
899 +  CPP         C preprocessor
900    F90         Fortran 90 compiler command
901    F90FLAGS    Fortran 90 compiler flags
902 <  CPP         C preprocessor
902 >  CXXCPP      C++ preprocessor
903  
904   Use these variables to override the choices made by `configure' or to help
905   it to find libraries and programs with nonstandard names/locations.
# Line 1824 | Line 1832 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1832   # Figure out how the Fortran 90 compiler constructs module file names
1833   #
1834   # AC_F90_MODULE_NAMES
1835 +
1836 +
1837 +
1838 +
1839 +
1840 +
1841 +
1842 +
1843  
1844  
1845  
# Line 1869 | Line 1885 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1885  
1886  
1887  
1888 + #
1889 + #
1890 + #
1891  
1892  
1893  
# Line 1883 | Line 1902 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1902  
1903  
1904  
1905 +
1906 +
1907 +
1908 +
1909 +
1910 +
1911 +
1912 +
1913 +
1914 +
1915 +
1916 +
1917 +
1918 +
1919 +
1920 +
1921 +
1922 +
1923 +
1924 +
1925 +
1926 +
1927 +
1928 +
1929 +
1930 +
1931 +
1932 +
1933   # set program name
1934   PROGNAME="oopse"
1935  
# Line 1970 | Line 2017 | if test -n "$ac_tool_prefix"; then
2017   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2018   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2019   if test -n "$ac_tool_prefix"; then
2020 <  for ac_prog in icc xlc gcc cc
2020 >  for ac_prog in pathcc icc xlc gcc cc
2021    do
2022      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2023   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2012 | Line 2059 | if test -z "$CC"; then
2059   fi
2060   if test -z "$CC"; then
2061    ac_ct_CC=$CC
2062 <  for ac_prog in icc xlc gcc cc
2062 >  for ac_prog in pathcc icc xlc gcc cc
2063   do
2064    # Extract the first word of "$ac_prog", so it can be a program name with args.
2065   set dummy $ac_prog; ac_word=$2
# Line 2684 | Line 2731 | if test -n "$ac_tool_prefix"; then
2731   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2732   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2733   if test -n "$ac_tool_prefix"; then
2734 <  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2734 >  for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++
2735    do
2736      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2737   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2726 | Line 2773 | if test -z "$CXX"; then
2773   fi
2774   if test -z "$CXX"; then
2775    ac_ct_CXX=$CXX
2776 <  for ac_prog in $CCC icpc icc xlc++ xlC CC g++ c++
2776 >  for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++
2777   do
2778    # Extract the first word of "$ac_prog", so it can be a program name with args.
2779   set dummy $ac_prog; ac_word=$2
# Line 3026 | Line 3073 | fi
3073    echo $ac_declaration      >>confdefs.h
3074    echo '#endif'             >>confdefs.h
3075   fi
3076 +
3077 + ac_ext=c
3078 + ac_cpp='$CPP $CPPFLAGS'
3079 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082  
3083 +
3084   ac_ext=c
3085   ac_cpp='$CPP $CPPFLAGS'
3086   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3087   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3088   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3089 + echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3090 + echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3091 + # On Suns, sometimes $CPP names a directory.
3092 + if test -n "$CPP" && test -d "$CPP"; then
3093 +  CPP=
3094 + fi
3095 + if test -z "$CPP"; then
3096 +  if test "${ac_cv_prog_CPP+set}" = set; then
3097 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3098 + else
3099 +      # Double quotes because CPP needs to be expanded
3100 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3101 +    do
3102 +      ac_preproc_ok=false
3103 + for ac_c_preproc_warn_flag in '' yes
3104 + do
3105 +  # Use a header file that comes with gcc, so configuring glibc
3106 +  # with a fresh cross-compiler works.
3107 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3108 +  # <limits.h> exists even on freestanding compilers.
3109 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3110 +  # not just through cpp. "Syntax error" is here to catch this case.
3111 +  cat >conftest.$ac_ext <<_ACEOF
3112 + /* confdefs.h.  */
3113 + _ACEOF
3114 + cat confdefs.h >>conftest.$ac_ext
3115 + cat >>conftest.$ac_ext <<_ACEOF
3116 + /* end confdefs.h.  */
3117 + #ifdef __STDC__
3118 + # include <limits.h>
3119 + #else
3120 + # include <assert.h>
3121 + #endif
3122 +                     Syntax error
3123 + _ACEOF
3124 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3125 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3126 +  ac_status=$?
3127 +  grep -v '^ *+' conftest.er1 >conftest.err
3128 +  rm -f conftest.er1
3129 +  cat conftest.err >&5
3130 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 +  (exit $ac_status); } >/dev/null; then
3132 +  if test -s conftest.err; then
3133 +    ac_cpp_err=$ac_c_preproc_warn_flag
3134 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3135 +  else
3136 +    ac_cpp_err=
3137 +  fi
3138 + else
3139 +  ac_cpp_err=yes
3140 + fi
3141 + if test -z "$ac_cpp_err"; then
3142 +  :
3143 + else
3144 +  echo "$as_me: failed program was:" >&5
3145 + sed 's/^/| /' conftest.$ac_ext >&5
3146  
3147 +  # Broken: fails on valid input.
3148 + continue
3149 + fi
3150 + rm -f conftest.err conftest.$ac_ext
3151  
3152 +  # OK, works on sane cases.  Now check whether non-existent headers
3153 +  # can be detected and how.
3154 +  cat >conftest.$ac_ext <<_ACEOF
3155 + /* confdefs.h.  */
3156 + _ACEOF
3157 + cat confdefs.h >>conftest.$ac_ext
3158 + cat >>conftest.$ac_ext <<_ACEOF
3159 + /* end confdefs.h.  */
3160 + #include <ac_nonexistent.h>
3161 + _ACEOF
3162 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3163 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3164 +  ac_status=$?
3165 +  grep -v '^ *+' conftest.er1 >conftest.err
3166 +  rm -f conftest.er1
3167 +  cat conftest.err >&5
3168 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 +  (exit $ac_status); } >/dev/null; then
3170 +  if test -s conftest.err; then
3171 +    ac_cpp_err=$ac_c_preproc_warn_flag
3172 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3173 +  else
3174 +    ac_cpp_err=
3175 +  fi
3176 + else
3177 +  ac_cpp_err=yes
3178 + fi
3179 + if test -z "$ac_cpp_err"; then
3180 +  # Broken: success on invalid input.
3181 + continue
3182 + else
3183 +  echo "$as_me: failed program was:" >&5
3184 + sed 's/^/| /' conftest.$ac_ext >&5
3185 +
3186 +  # Passes both tests.
3187 + ac_preproc_ok=:
3188 + break
3189 + fi
3190 + rm -f conftest.err conftest.$ac_ext
3191 +
3192 + done
3193 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3194 + rm -f conftest.err conftest.$ac_ext
3195 + if $ac_preproc_ok; then
3196 +  break
3197 + fi
3198 +
3199 +    done
3200 +    ac_cv_prog_CPP=$CPP
3201 +
3202 + fi
3203 +  CPP=$ac_cv_prog_CPP
3204 + else
3205 +  ac_cv_prog_CPP=$CPP
3206 + fi
3207 + echo "$as_me:$LINENO: result: $CPP" >&5
3208 + echo "${ECHO_T}$CPP" >&6
3209 + ac_preproc_ok=false
3210 + for ac_c_preproc_warn_flag in '' yes
3211 + do
3212 +  # Use a header file that comes with gcc, so configuring glibc
3213 +  # with a fresh cross-compiler works.
3214 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 +  # <limits.h> exists even on freestanding compilers.
3216 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3217 +  # not just through cpp. "Syntax error" is here to catch this case.
3218 +  cat >conftest.$ac_ext <<_ACEOF
3219 + /* confdefs.h.  */
3220 + _ACEOF
3221 + cat confdefs.h >>conftest.$ac_ext
3222 + cat >>conftest.$ac_ext <<_ACEOF
3223 + /* end confdefs.h.  */
3224 + #ifdef __STDC__
3225 + # include <limits.h>
3226 + #else
3227 + # include <assert.h>
3228 + #endif
3229 +                     Syntax error
3230 + _ACEOF
3231 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3232 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3233 +  ac_status=$?
3234 +  grep -v '^ *+' conftest.er1 >conftest.err
3235 +  rm -f conftest.er1
3236 +  cat conftest.err >&5
3237 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 +  (exit $ac_status); } >/dev/null; then
3239 +  if test -s conftest.err; then
3240 +    ac_cpp_err=$ac_c_preproc_warn_flag
3241 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3242 +  else
3243 +    ac_cpp_err=
3244 +  fi
3245 + else
3246 +  ac_cpp_err=yes
3247 + fi
3248 + if test -z "$ac_cpp_err"; then
3249 +  :
3250 + else
3251 +  echo "$as_me: failed program was:" >&5
3252 + sed 's/^/| /' conftest.$ac_ext >&5
3253 +
3254 +  # Broken: fails on valid input.
3255 + continue
3256 + fi
3257 + rm -f conftest.err conftest.$ac_ext
3258 +
3259 +  # OK, works on sane cases.  Now check whether non-existent headers
3260 +  # can be detected and how.
3261 +  cat >conftest.$ac_ext <<_ACEOF
3262 + /* confdefs.h.  */
3263 + _ACEOF
3264 + cat confdefs.h >>conftest.$ac_ext
3265 + cat >>conftest.$ac_ext <<_ACEOF
3266 + /* end confdefs.h.  */
3267 + #include <ac_nonexistent.h>
3268 + _ACEOF
3269 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3270 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3271 +  ac_status=$?
3272 +  grep -v '^ *+' conftest.er1 >conftest.err
3273 +  rm -f conftest.er1
3274 +  cat conftest.err >&5
3275 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 +  (exit $ac_status); } >/dev/null; then
3277 +  if test -s conftest.err; then
3278 +    ac_cpp_err=$ac_c_preproc_warn_flag
3279 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3280 +  else
3281 +    ac_cpp_err=
3282 +  fi
3283 + else
3284 +  ac_cpp_err=yes
3285 + fi
3286 + if test -z "$ac_cpp_err"; then
3287 +  # Broken: success on invalid input.
3288 + continue
3289 + else
3290 +  echo "$as_me: failed program was:" >&5
3291 + sed 's/^/| /' conftest.$ac_ext >&5
3292 +
3293 +  # Passes both tests.
3294 + ac_preproc_ok=:
3295 + break
3296 + fi
3297 + rm -f conftest.err conftest.$ac_ext
3298 +
3299 + done
3300 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3301 + rm -f conftest.err conftest.$ac_ext
3302 + if $ac_preproc_ok; then
3303 +  :
3304 + else
3305 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3306 + See \`config.log' for more details." >&5
3307 + echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3308 + See \`config.log' for more details." >&2;}
3309 +   { (exit 1); exit 1; }; }
3310 + fi
3311 +
3312 + ac_ext=c
3313 + ac_cpp='$CPP $CPPFLAGS'
3314 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3315 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3316 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 +
3318 +
3319 + echo "$as_me:$LINENO: checking for egrep" >&5
3320 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3321 + if test "${ac_cv_prog_egrep+set}" = set; then
3322 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3323 + else
3324 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3325 +    then ac_cv_prog_egrep='grep -E'
3326 +    else ac_cv_prog_egrep='egrep'
3327 +    fi
3328 + fi
3329 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3330 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3331 + EGREP=$ac_cv_prog_egrep
3332 +
3333 +
3334 +
3335   OOPSE_TEMPLATE_FLAGS=""
3336   if test $ac_cv_cxx_compiler_gnu = no; then
3337    echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
# Line 3095 | Line 3393 | if test -n "$ac_tool_prefix"; then
3393   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3395   if test -n "$ac_tool_prefix"; then
3396 <  for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3396 >  for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3397    do
3398      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3399   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 3137 | Line 3435 | if test -z "$F90"; then
3435   fi
3436   if test -z "$F90"; then
3437    ac_ct_F90=$F90
3438 <  for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3438 >  for ac_prog in pathf95 ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95
3439   do
3440    # Extract the first word of "$ac_prog", so it can be a program name with args.
3441   set dummy $ac_prog; ac_word=$2
# Line 3542 | Line 3840 | F90FLAGS="$F90FLAGS $ac_verb"
3840   ac_save_F90FLAGS=$F90FLAGS
3841   F90FLAGS="$F90FLAGS $ac_verb"
3842  
3843 < (eval echo $as_me:3545: \"$ac_link\") >&5
3843 > (eval echo $as_me:3843: \"$ac_link\") >&5
3844   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3845   echo "$ac_f90_v_output" >&5
3846   F90FLAGS=$ac_save_F90FLAGS
# Line 3619 | Line 3917 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3917   ac_save_F90FLAGS=$F90FLAGS
3918   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3919  
3920 < (eval echo $as_me:3622: \"$ac_link\") >&5
3920 > (eval echo $as_me:3920: \"$ac_link\") >&5
3921   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3922   echo "$ac_f90_v_output" >&5
3923   F90FLAGS=$ac_save_F90FLAGS
# Line 4451 | Line 4749 | ac_ext=c
4749   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750  
4751  
4752 < ac_ext=c
4753 < ac_cpp='$CPP $CPPFLAGS'
4754 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 > ac_ext=cc
4753 > ac_cpp='$CXXCPP $CPPFLAGS'
4754 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4757  
4758 < ac_ext=c
4759 < ac_cpp='$CPP $CPPFLAGS'
4760 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4763 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4764 < echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4765 < # On Suns, sometimes $CPP names a directory.
4766 < if test -n "$CPP" && test -d "$CPP"; then
4767 <  CPP=
4470 < fi
4471 < if test -z "$CPP"; then
4472 <  if test "${ac_cv_prog_CPP+set}" = set; then
4758 >
4759 > ac_ext=cc
4760 > ac_cpp='$CXXCPP $CPPFLAGS'
4761 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4764 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4765 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4766 > if test -z "$CXXCPP"; then
4767 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4768    echo $ECHO_N "(cached) $ECHO_C" >&6
4769   else
4770 <      # Double quotes because CPP needs to be expanded
4771 <    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4770 >      # Double quotes because CXXCPP needs to be expanded
4771 >    for CXXCPP in "$CXX -E" "/lib/cpp"
4772      do
4773        ac_preproc_ok=false
4774 < for ac_c_preproc_warn_flag in '' yes
4774 > for ac_cxx_preproc_warn_flag in '' yes
4775   do
4776    # Use a header file that comes with gcc, so configuring glibc
4777    # with a fresh cross-compiler works.
# Line 4506 | Line 4801 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4801    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802    (exit $ac_status); } >/dev/null; then
4803    if test -s conftest.err; then
4804 <    ac_cpp_err=$ac_c_preproc_warn_flag
4805 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4804 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4805 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4806    else
4807      ac_cpp_err=
4808    fi
# Line 4544 | Line 4839 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4839    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840    (exit $ac_status); } >/dev/null; then
4841    if test -s conftest.err; then
4842 <    ac_cpp_err=$ac_c_preproc_warn_flag
4843 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4842 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4843 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4844    else
4845      ac_cpp_err=
4846    fi
# Line 4573 | Line 4868 | fi
4868   fi
4869  
4870      done
4871 <    ac_cv_prog_CPP=$CPP
4871 >    ac_cv_prog_CXXCPP=$CXXCPP
4872  
4873   fi
4874 <  CPP=$ac_cv_prog_CPP
4874 >  CXXCPP=$ac_cv_prog_CXXCPP
4875   else
4876 <  ac_cv_prog_CPP=$CPP
4876 >  ac_cv_prog_CXXCPP=$CXXCPP
4877   fi
4878 < echo "$as_me:$LINENO: result: $CPP" >&5
4879 < echo "${ECHO_T}$CPP" >&6
4878 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
4879 > echo "${ECHO_T}$CXXCPP" >&6
4880   ac_preproc_ok=false
4881 < for ac_c_preproc_warn_flag in '' yes
4881 > for ac_cxx_preproc_warn_flag in '' yes
4882   do
4883    # Use a header file that comes with gcc, so configuring glibc
4884    # with a fresh cross-compiler works.
# Line 4613 | Line 4908 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909    (exit $ac_status); } >/dev/null; then
4910    if test -s conftest.err; then
4911 <    ac_cpp_err=$ac_c_preproc_warn_flag
4912 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4911 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4912 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4913    else
4914      ac_cpp_err=
4915    fi
# Line 4651 | Line 4946 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
4946    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947    (exit $ac_status); } >/dev/null; then
4948    if test -s conftest.err; then
4949 <    ac_cpp_err=$ac_c_preproc_warn_flag
4950 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4949 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
4950 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4951    else
4952      ac_cpp_err=
4953    fi
# Line 4678 | Line 4973 | else
4973   if $ac_preproc_ok; then
4974    :
4975   else
4976 <  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4976 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4977   See \`config.log' for more details." >&5
4978 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4978 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4979   See \`config.log' for more details." >&2;}
4980     { (exit 1); exit 1; }; }
4981   fi
4982  
4983 < ac_ext=c
4984 < ac_cpp='$CPP $CPPFLAGS'
4985 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4693 <
4694 <
4695 < echo "$as_me:$LINENO: checking for egrep" >&5
4696 < echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4697 < if test "${ac_cv_prog_egrep+set}" = set; then
4698 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4699 < else
4700 <  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4701 <    then ac_cv_prog_egrep='grep -E'
4702 <    else ac_cv_prog_egrep='egrep'
4703 <    fi
4704 < fi
4705 < echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4706 < echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4707 < EGREP=$ac_cv_prog_egrep
4983 > ac_ext=cc
4984 > ac_cpp='$CXXCPP $CPPFLAGS'
4985 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4988  
4989  
4990   echo "$as_me:$LINENO: checking for ANSI C header files" >&5
# Line 4740 | Line 5020 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020    cat conftest.err >&5
5021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022    (exit $ac_status); } &&
5023 <         { ac_try='test -z "$ac_c_werror_flag"
5023 >         { ac_try='test -z "$ac_cxx_werror_flag"
5024                           || test ! -s conftest.err'
5025    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026    (eval $ac_try) 2>&5
# Line 4873 | Line 5153 | fi
5153  
5154   fi
5155  
5156 + echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
5157 + echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
5158 + if test "${ac_cv_cxx_namespaces+set}" = set; then
5159 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5160 + else
5161 +
5162 +
5163 + ac_ext=cc
5164 + ac_cpp='$CXXCPP $CPPFLAGS'
5165 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5166 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5167 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5168 +
5169 + cat >conftest.$ac_ext <<_ACEOF
5170 + /* confdefs.h.  */
5171 + _ACEOF
5172 + cat confdefs.h >>conftest.$ac_ext
5173 + cat >>conftest.$ac_ext <<_ACEOF
5174 + /* end confdefs.h.  */
5175 + namespace Outer { namespace Inner { int i = 0; }}
5176 + int
5177 + main ()
5178 + {
5179 + using namespace Outer::Inner; return i;
5180 +  ;
5181 +  return 0;
5182 + }
5183 + _ACEOF
5184 + rm -f conftest.$ac_objext
5185 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 +  (eval $ac_compile) 2>conftest.er1
5187 +  ac_status=$?
5188 +  grep -v '^ *+' conftest.er1 >conftest.err
5189 +  rm -f conftest.er1
5190 +  cat conftest.err >&5
5191 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 +  (exit $ac_status); } &&
5193 +         { ac_try='test -z "$ac_cxx_werror_flag"
5194 +                         || test ! -s conftest.err'
5195 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 +  (eval $ac_try) 2>&5
5197 +  ac_status=$?
5198 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 +  (exit $ac_status); }; } &&
5200 +         { ac_try='test -s conftest.$ac_objext'
5201 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5202 +  (eval $ac_try) 2>&5
5203 +  ac_status=$?
5204 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 +  (exit $ac_status); }; }; then
5206 +  ac_cv_cxx_namespaces=yes
5207 + else
5208 +  echo "$as_me: failed program was:" >&5
5209 + sed 's/^/| /' conftest.$ac_ext >&5
5210 +
5211 + ac_cv_cxx_namespaces=no
5212 + fi
5213 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5214 + ac_ext=cc
5215 + ac_cpp='$CXXCPP $CPPFLAGS'
5216 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5219 +
5220 +
5221 + fi
5222 + echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
5223 + echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
5224 + if test "$ac_cv_cxx_namespaces" = yes; then
5225 +
5226 + cat >>confdefs.h <<\_ACEOF
5227 + #define HAVE_NAMESPACES
5228 + _ACEOF
5229 +
5230 + fi
5231 +
5232   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5233  
5234  
# Line 4911 | Line 5267 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267    cat conftest.err >&5
5268    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269    (exit $ac_status); } &&
5270 <         { ac_try='test -z "$ac_c_werror_flag"
5270 >         { ac_try='test -z "$ac_cxx_werror_flag"
5271                           || test ! -s conftest.err'
5272    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273    (eval $ac_try) 2>&5
# Line 4945 | Line 5301 | done
5301   done
5302  
5303  
5304 + echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
5305 + echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6
5306 + if test "${ac_cv_cxx_have_stl+set}" = set; then
5307 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5308 + else
5309  
5310  
5311  
5312 + ac_ext=cc
5313 + ac_cpp='$CXXCPP $CPPFLAGS'
5314 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5315 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5316 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5317  
5318 + cat >conftest.$ac_ext <<_ACEOF
5319 + /* confdefs.h.  */
5320 + _ACEOF
5321 + cat confdefs.h >>conftest.$ac_ext
5322 + cat >>conftest.$ac_ext <<_ACEOF
5323 + /* end confdefs.h.  */
5324 + #include <list>
5325 + #include <deque>
5326 + #ifdef HAVE_NAMESPACES
5327 + using namespace std;
5328 + #endif
5329 + int
5330 + main ()
5331 + {
5332 + list<int> x; x.push_back(5);
5333 + list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
5334 +  ;
5335 +  return 0;
5336 + }
5337 + _ACEOF
5338 + rm -f conftest.$ac_objext
5339 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 +  (eval $ac_compile) 2>conftest.er1
5341 +  ac_status=$?
5342 +  grep -v '^ *+' conftest.er1 >conftest.err
5343 +  rm -f conftest.er1
5344 +  cat conftest.err >&5
5345 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 +  (exit $ac_status); } &&
5347 +         { ac_try='test -z "$ac_cxx_werror_flag"
5348 +                         || test ! -s conftest.err'
5349 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350 +  (eval $ac_try) 2>&5
5351 +  ac_status=$?
5352 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 +  (exit $ac_status); }; } &&
5354 +         { ac_try='test -s conftest.$ac_objext'
5355 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356 +  (eval $ac_try) 2>&5
5357 +  ac_status=$?
5358 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 +  (exit $ac_status); }; }; then
5360 +  ac_cv_cxx_have_stl=yes
5361 + else
5362 +  echo "$as_me: failed program was:" >&5
5363 + sed 's/^/| /' conftest.$ac_ext >&5
5364  
5365 + ac_cv_cxx_have_stl=no
5366 + fi
5367 + rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5368 + ac_ext=cc
5369 + ac_cpp='$CXXCPP $CPPFLAGS'
5370 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5373  
5374  
5375 + fi
5376 + echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
5377 + echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6
5378 + if test "$ac_cv_cxx_have_stl" = yes; then
5379  
5380 + cat >>confdefs.h <<\_ACEOF
5381 + #define HAVE_STL
5382 + _ACEOF
5383  
5384 < 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
5384 > fi
5385 >
5386 >
5387 >
5388 >  if test "${ac_cv_header_iostream+set}" = set; then
5389 >  echo "$as_me:$LINENO: checking for iostream" >&5
5390 > echo $ECHO_N "checking for iostream... $ECHO_C" >&6
5391 > if test "${ac_cv_header_iostream+set}" = set; then
5392 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5393 > fi
5394 > echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
5395 > echo "${ECHO_T}$ac_cv_header_iostream" >&6
5396 > else
5397 >  # Is the header compilable?
5398 > echo "$as_me:$LINENO: checking iostream usability" >&5
5399 > echo $ECHO_N "checking iostream usability... $ECHO_C" >&6
5400 > cat >conftest.$ac_ext <<_ACEOF
5401 > /* confdefs.h.  */
5402 > _ACEOF
5403 > cat confdefs.h >>conftest.$ac_ext
5404 > cat >>conftest.$ac_ext <<_ACEOF
5405 > /* end confdefs.h.  */
5406 > $ac_includes_default
5407 > #include <iostream>
5408 > _ACEOF
5409 > rm -f conftest.$ac_objext
5410 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5411 >  (eval $ac_compile) 2>conftest.er1
5412 >  ac_status=$?
5413 >  grep -v '^ *+' conftest.er1 >conftest.err
5414 >  rm -f conftest.er1
5415 >  cat conftest.err >&5
5416 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 >  (exit $ac_status); } &&
5418 >         { ac_try='test -z "$ac_cxx_werror_flag"
5419 >                         || test ! -s conftest.err'
5420 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 >  (eval $ac_try) 2>&5
5422 >  ac_status=$?
5423 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 >  (exit $ac_status); }; } &&
5425 >         { ac_try='test -s conftest.$ac_objext'
5426 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427 >  (eval $ac_try) 2>&5
5428 >  ac_status=$?
5429 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 >  (exit $ac_status); }; }; then
5431 >  ac_header_compiler=yes
5432 > else
5433 >  echo "$as_me: failed program was:" >&5
5434 > sed 's/^/| /' conftest.$ac_ext >&5
5435 >
5436 > ac_header_compiler=no
5437 > fi
5438 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5439 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5440 > echo "${ECHO_T}$ac_header_compiler" >&6
5441 >
5442 > # Is the header present?
5443 > echo "$as_me:$LINENO: checking iostream presence" >&5
5444 > echo $ECHO_N "checking iostream presence... $ECHO_C" >&6
5445 > cat >conftest.$ac_ext <<_ACEOF
5446 > /* confdefs.h.  */
5447 > _ACEOF
5448 > cat confdefs.h >>conftest.$ac_ext
5449 > cat >>conftest.$ac_ext <<_ACEOF
5450 > /* end confdefs.h.  */
5451 > #include <iostream>
5452 > _ACEOF
5453 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5454 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5455 >  ac_status=$?
5456 >  grep -v '^ *+' conftest.er1 >conftest.err
5457 >  rm -f conftest.er1
5458 >  cat conftest.err >&5
5459 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 >  (exit $ac_status); } >/dev/null; then
5461 >  if test -s conftest.err; then
5462 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5463 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5464 >  else
5465 >    ac_cpp_err=
5466 >  fi
5467 > else
5468 >  ac_cpp_err=yes
5469 > fi
5470 > if test -z "$ac_cpp_err"; then
5471 >  ac_header_preproc=yes
5472 > else
5473 >  echo "$as_me: failed program was:" >&5
5474 > sed 's/^/| /' conftest.$ac_ext >&5
5475 >
5476 >  ac_header_preproc=no
5477 > fi
5478 > rm -f conftest.err conftest.$ac_ext
5479 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5480 > echo "${ECHO_T}$ac_header_preproc" >&6
5481 >
5482 > # So?  What about this header?
5483 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5484 >  yes:no: )
5485 >    { echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5
5486 > echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;}
5487 >    { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5
5488 > echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;}
5489 >    ac_header_preproc=yes
5490 >    ;;
5491 >  no:yes:* )
5492 >    { echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5
5493 > echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;}
5494 >    { echo "$as_me:$LINENO: WARNING: iostream:     check for missing prerequisite headers?" >&5
5495 > echo "$as_me: WARNING: iostream:     check for missing prerequisite headers?" >&2;}
5496 >    { echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5
5497 > echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;}
5498 >    { echo "$as_me:$LINENO: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&5
5499 > echo "$as_me: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&2;}
5500 >    { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5
5501 > echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;}
5502 >    { echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5
5503 > echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;}
5504 >    (
5505 >      cat <<\_ASBOX
5506 > ## ------------------------------ ##
5507 > ## Report this to gezelter@nd.edu ##
5508 > ## ------------------------------ ##
5509 > _ASBOX
5510 >    ) |
5511 >      sed "s/^/$as_me: WARNING:     /" >&2
5512 >    ;;
5513 > esac
5514 > echo "$as_me:$LINENO: checking for iostream" >&5
5515 > echo $ECHO_N "checking for iostream... $ECHO_C" >&6
5516 > if test "${ac_cv_header_iostream+set}" = set; then
5517 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5518 > else
5519 >  ac_cv_header_iostream=$ac_header_preproc
5520 > fi
5521 > echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
5522 > echo "${ECHO_T}$ac_cv_header_iostream" >&6
5523 >
5524 > fi
5525 > if test $ac_cv_header_iostream = yes; then
5526 >
5527 >
5528 > cat >>confdefs.h <<\_ACEOF
5529 > #define HAVE_IOSTREAM 1
5530 > _ACEOF
5531 >
5532 >
5533 > else
5534 >
5535 >
5536 > for ac_header in iostream.h
5537   do
5538   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5539   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 4987 | Line 5566 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5566    cat conftest.err >&5
5567    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568    (exit $ac_status); } &&
5569 <         { ac_try='test -z "$ac_c_werror_flag"
5569 >         { ac_try='test -z "$ac_cxx_werror_flag"
5570                           || test ! -s conftest.err'
5571    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572    (eval $ac_try) 2>&5
# Line 5031 | Line 5610 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5610    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611    (exit $ac_status); } >/dev/null; then
5612    if test -s conftest.err; then
5613 <    ac_cpp_err=$ac_c_preproc_warn_flag
5614 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5613 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5614 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5615    else
5616      ac_cpp_err=
5617    fi
# Line 5052 | Line 5631 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
5631   echo "${ECHO_T}$ac_header_preproc" >&6
5632  
5633   # So?  What about this header?
5634 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5634 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5635    yes:no: )
5636      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5637   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
# Line 5104 | Line 5683 | done
5683   done
5684  
5685  
5686 + fi
5687  
5688  
5689  
5690  
5691 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5692 < do
5693 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5694 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5115 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5116 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5691 >  if test "${ac_cv_header_iomanip+set}" = set; then
5692 >  echo "$as_me:$LINENO: checking for iomanip" >&5
5693 > echo $ECHO_N "checking for iomanip... $ECHO_C" >&6
5694 > if test "${ac_cv_header_iomanip+set}" = set; then
5695    echo $ECHO_N "(cached) $ECHO_C" >&6
5696 + fi
5697 + echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5
5698 + echo "${ECHO_T}$ac_cv_header_iomanip" >&6
5699   else
5700 <  cat >conftest.$ac_ext <<_ACEOF
5700 >  # Is the header compilable?
5701 > echo "$as_me:$LINENO: checking iomanip usability" >&5
5702 > echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6
5703 > cat >conftest.$ac_ext <<_ACEOF
5704   /* confdefs.h.  */
5705   _ACEOF
5706   cat confdefs.h >>conftest.$ac_ext
5707   cat >>conftest.$ac_ext <<_ACEOF
5708   /* end confdefs.h.  */
5709 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5710 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5127 < #define $ac_func innocuous_$ac_func
5128 <
5129 < /* System header to define __stub macros and hopefully few prototypes,
5130 <    which can conflict with char $ac_func (); below.
5131 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5132 <    <limits.h> exists even on freestanding compilers.  */
5133 <
5134 < #ifdef __STDC__
5135 < # include <limits.h>
5136 < #else
5137 < # include <assert.h>
5138 < #endif
5139 <
5140 < #undef $ac_func
5141 <
5142 < /* Override any gcc2 internal prototype to avoid an error.  */
5143 < #ifdef __cplusplus
5144 < extern "C"
5145 < {
5146 < #endif
5147 < /* We use char because int might match the return type of a gcc2
5148 <   builtin and then its argument prototype would still apply.  */
5149 < char $ac_func ();
5150 < /* The GNU C library defines this for functions which it implements
5151 <    to always fail with ENOSYS.  Some functions are actually named
5152 <    something starting with __ and the normal name is an alias.  */
5153 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5154 < choke me
5155 < #else
5156 < char (*f) () = $ac_func;
5157 < #endif
5158 < #ifdef __cplusplus
5159 < }
5160 < #endif
5161 <
5162 < int
5163 < main ()
5164 < {
5165 < return f != $ac_func;
5166 <  ;
5167 <  return 0;
5168 < }
5709 > $ac_includes_default
5710 > #include <iomanip>
5711   _ACEOF
5712 < rm -f conftest.$ac_objext conftest$ac_exeext
5713 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5714 <  (eval $ac_link) 2>conftest.er1
5712 > rm -f conftest.$ac_objext
5713 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5714 >  (eval $ac_compile) 2>conftest.er1
5715    ac_status=$?
5716    grep -v '^ *+' conftest.er1 >conftest.err
5717    rm -f conftest.er1
5718    cat conftest.err >&5
5719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720    (exit $ac_status); } &&
5721 <         { ac_try='test -z "$ac_c_werror_flag"
5721 >         { ac_try='test -z "$ac_cxx_werror_flag"
5722                           || test ! -s conftest.err'
5723    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724    (eval $ac_try) 2>&5
5725    ac_status=$?
5726    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727    (exit $ac_status); }; } &&
5728 <         { ac_try='test -s conftest$ac_exeext'
5728 >         { ac_try='test -s conftest.$ac_objext'
5729    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5730    (eval $ac_try) 2>&5
5731    ac_status=$?
5732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733    (exit $ac_status); }; }; then
5734 <  eval "$as_ac_var=yes"
5734 >  ac_header_compiler=yes
5735   else
5736    echo "$as_me: failed program was:" >&5
5737   sed 's/^/| /' conftest.$ac_ext >&5
5738  
5739 < eval "$as_ac_var=no"
5739 > ac_header_compiler=no
5740   fi
5741 < rm -f conftest.err conftest.$ac_objext \
5742 <      conftest$ac_exeext conftest.$ac_ext
5743 < fi
5202 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5203 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5204 < if test `eval echo '${'$as_ac_var'}'` = yes; then
5205 <  cat >>confdefs.h <<_ACEOF
5206 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5207 < _ACEOF
5741 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5742 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5743 > echo "${ECHO_T}$ac_header_compiler" >&6
5744  
5745 < fi
5746 < done
5747 <
5212 < # special check for _system_configuration because AIX <4.3.2 do not
5213 < # contain the `physmem' member.
5214 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5215 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5745 > # Is the header present?
5746 > echo "$as_me:$LINENO: checking iomanip presence" >&5
5747 > echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6
5748   cat >conftest.$ac_ext <<_ACEOF
5749   /* confdefs.h.  */
5750   _ACEOF
5751   cat confdefs.h >>conftest.$ac_ext
5752   cat >>conftest.$ac_ext <<_ACEOF
5753   /* end confdefs.h.  */
5754 < #include <sys/systemcfg.h>
5223 < int
5224 < main ()
5225 < {
5226 < double x = _system_configuration.physmem;
5227 <  ;
5228 <  return 0;
5229 < }
5754 > #include <iomanip>
5755   _ACEOF
5756 < rm -f conftest.$ac_objext
5757 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5233 <  (eval $ac_compile) 2>conftest.er1
5756 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5757 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5758    ac_status=$?
5759    grep -v '^ *+' conftest.er1 >conftest.err
5760    rm -f conftest.er1
5761    cat conftest.err >&5
5762    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 <  (exit $ac_status); } &&
5764 <         { ac_try='test -z "$ac_c_werror_flag"
5765 <                         || test ! -s conftest.err'
5766 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 <  (eval $ac_try) 2>&5
5768 <  ac_status=$?
5769 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 <  (exit $ac_status); }; } &&
5247 <         { ac_try='test -s conftest.$ac_objext'
5248 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 <  (eval $ac_try) 2>&5
5250 <  ac_status=$?
5251 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 <  (exit $ac_status); }; }; then
5253 <  echo "$as_me:$LINENO: result: yes" >&5
5254 < echo "${ECHO_T}yes" >&6
5255 <
5256 < cat >>confdefs.h <<\_ACEOF
5257 < #define HAVE__SYSTEM_CONFIGURATION 1
5258 < _ACEOF
5259 <
5763 >  (exit $ac_status); } >/dev/null; then
5764 >  if test -s conftest.err; then
5765 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5766 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5767 >  else
5768 >    ac_cpp_err=
5769 >  fi
5770   else
5771 +  ac_cpp_err=yes
5772 + fi
5773 + if test -z "$ac_cpp_err"; then
5774 +  ac_header_preproc=yes
5775 + else
5776    echo "$as_me: failed program was:" >&5
5777   sed 's/^/| /' conftest.$ac_ext >&5
5778  
5779 < echo "$as_me:$LINENO: result: no" >&5
5265 < echo "${ECHO_T}no" >&6
5779 >  ac_header_preproc=no
5780   fi
5781 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5781 > rm -f conftest.err conftest.$ac_ext
5782 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5783 > echo "${ECHO_T}$ac_header_preproc" >&6
5784  
5785 <  # clean out junk possibly left behind by a previous configuration
5786 <  rm -f src/getopt.h
5787 <  # Check for getopt_long support
5785 > # So?  What about this header?
5786 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5787 >  yes:no: )
5788 >    { echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5
5789 > echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;}
5790 >    { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5
5791 > echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;}
5792 >    ac_header_preproc=yes
5793 >    ;;
5794 >  no:yes:* )
5795 >    { echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5
5796 > echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;}
5797 >    { echo "$as_me:$LINENO: WARNING: iomanip:     check for missing prerequisite headers?" >&5
5798 > echo "$as_me: WARNING: iomanip:     check for missing prerequisite headers?" >&2;}
5799 >    { echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5
5800 > echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;}
5801 >    { echo "$as_me:$LINENO: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&5
5802 > echo "$as_me: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&2;}
5803 >    { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5
5804 > echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;}
5805 >    { echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5
5806 > echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;}
5807 >    (
5808 >      cat <<\_ASBOX
5809 > ## ------------------------------ ##
5810 > ## Report this to gezelter@nd.edu ##
5811 > ## ------------------------------ ##
5812 > _ASBOX
5813 >    ) |
5814 >      sed "s/^/$as_me: WARNING:     /" >&2
5815 >    ;;
5816 > esac
5817 > echo "$as_me:$LINENO: checking for iomanip" >&5
5818 > echo $ECHO_N "checking for iomanip... $ECHO_C" >&6
5819 > if test "${ac_cv_header_iomanip+set}" = set; then
5820 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5821 > else
5822 >  ac_cv_header_iomanip=$ac_header_preproc
5823 > fi
5824 > echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5
5825 > echo "${ECHO_T}$ac_cv_header_iomanip" >&6
5826  
5827 < for ac_header in getopt.h
5827 > fi
5828 > if test $ac_cv_header_iomanip = yes; then
5829 >
5830 >
5831 > cat >>confdefs.h <<\_ACEOF
5832 > #define HAVE_IOMANIP 1
5833 > _ACEOF
5834 >
5835 >
5836 > else
5837 >
5838 >
5839 > for ac_header in iomanip.h
5840   do
5841   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5842   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 5303 | Line 5869 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5869    cat conftest.err >&5
5870    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871    (exit $ac_status); } &&
5872 <         { ac_try='test -z "$ac_c_werror_flag"
5872 >         { ac_try='test -z "$ac_cxx_werror_flag"
5873                           || test ! -s conftest.err'
5874    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875    (eval $ac_try) 2>&5
# Line 5347 | Line 5913 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$a
5913    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914    (exit $ac_status); } >/dev/null; then
5915    if test -s conftest.err; then
5916 <    ac_cpp_err=$ac_c_preproc_warn_flag
5917 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5916 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5917 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5918    else
5919      ac_cpp_err=
5920    fi
# Line 5368 | Line 5934 | case $ac_header_compiler:$ac_header_preproc:$ac_c_prep
5934   echo "${ECHO_T}$ac_header_preproc" >&6
5935  
5936   # So?  What about this header?
5937 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5937 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5938    yes:no: )
5939      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5940   echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
# Line 5420 | Line 5986 | for ac_func in getopt_long
5986   done
5987  
5988  
5989 < for ac_func in getopt_long
5989 > fi
5990 >
5991 >
5992 >
5993 >
5994 > for ac_header in cmath
5995   do
5996 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5997 < echo "$as_me:$LINENO: checking for $ac_func" >&5
5998 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5999 < if eval "test \"\${$as_ac_var+set}\" = set"; then
5996 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5997 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5998 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5999 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6000 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6001    echo $ECHO_N "(cached) $ECHO_C" >&6
6002 + fi
6003 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6004 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6005   else
6006 <  cat >conftest.$ac_ext <<_ACEOF
6006 >  # Is the header compilable?
6007 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6008 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6009 > cat >conftest.$ac_ext <<_ACEOF
6010   /* confdefs.h.  */
6011   _ACEOF
6012   cat confdefs.h >>conftest.$ac_ext
6013   cat >>conftest.$ac_ext <<_ACEOF
6014   /* end confdefs.h.  */
6015 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6016 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6017 < #define $ac_func innocuous_$ac_func
6015 > $ac_includes_default
6016 > #include <$ac_header>
6017 > _ACEOF
6018 > rm -f conftest.$ac_objext
6019 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 >  (eval $ac_compile) 2>conftest.er1
6021 >  ac_status=$?
6022 >  grep -v '^ *+' conftest.er1 >conftest.err
6023 >  rm -f conftest.er1
6024 >  cat conftest.err >&5
6025 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 >  (exit $ac_status); } &&
6027 >         { ac_try='test -z "$ac_cxx_werror_flag"
6028 >                         || test ! -s conftest.err'
6029 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 >  (eval $ac_try) 2>&5
6031 >  ac_status=$?
6032 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 >  (exit $ac_status); }; } &&
6034 >         { ac_try='test -s conftest.$ac_objext'
6035 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 >  (eval $ac_try) 2>&5
6037 >  ac_status=$?
6038 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 >  (exit $ac_status); }; }; then
6040 >  ac_header_compiler=yes
6041 > else
6042 >  echo "$as_me: failed program was:" >&5
6043 > sed 's/^/| /' conftest.$ac_ext >&5
6044  
6045 < /* System header to define __stub macros and hopefully few prototypes,
6046 <    which can conflict with char $ac_func (); below.
6047 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6048 <    <limits.h> exists even on freestanding compilers.  */
6049 <
6050 < #ifdef __STDC__
6051 < # include <limits.h>
6052 < #else
6053 < # include <assert.h>
6054 < #endif
6055 <
6056 < #undef $ac_func
6057 <
6058 < /* Override any gcc2 internal prototype to avoid an error.  */
6059 < #ifdef __cplusplus
6060 < extern "C"
6061 < {
6062 < #endif
6063 < /* We use char because int might match the return type of a gcc2
6064 <   builtin and then its argument prototype would still apply.  */
6065 < char $ac_func ();
6066 < /* The GNU C library defines this for functions which it implements
6067 <    to always fail with ENOSYS.  Some functions are actually named
6068 <    something starting with __ and the normal name is an alias.  */
6069 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6070 < choke me
6071 < #else
6072 < char (*f) () = $ac_func;
6073 < #endif
6074 < #ifdef __cplusplus
6075 < }
6076 < #endif
6077 <
6078 < int
6079 < main ()
6080 < {
6081 < return f != $ac_func;
6082 <  ;
6083 <  return 0;
6084 < }
6085 < _ACEOF
6086 < rm -f conftest.$ac_objext conftest$ac_exeext
6087 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6088 <  (eval $ac_link) 2>conftest.er1
6089 <  ac_status=$?
6090 <  grep -v '^ *+' conftest.er1 >conftest.err
6091 <  rm -f conftest.er1
6092 <  cat conftest.err >&5
6093 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 <  (exit $ac_status); } &&
6095 <         { ac_try='test -z "$ac_c_werror_flag"
6096 <                         || test ! -s conftest.err'
6097 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098 <  (eval $ac_try) 2>&5
6099 <  ac_status=$?
6100 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 <  (exit $ac_status); }; } &&
6102 <         { ac_try='test -s conftest$ac_exeext'
6103 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 <  (eval $ac_try) 2>&5
6105 <  ac_status=$?
6106 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 <  (exit $ac_status); }; }; then
6108 <  eval "$as_ac_var=yes"
6109 < else
6110 <  echo "$as_me: failed program was:" >&5
6111 < sed 's/^/| /' conftest.$ac_ext >&5
6112 <
6113 < eval "$as_ac_var=no"
6114 < fi
6115 < rm -f conftest.err conftest.$ac_objext \
6116 <      conftest$ac_exeext conftest.$ac_ext
6117 < fi
6118 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6119 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6120 < if test `eval echo '${'$as_ac_var'}'` = yes; then
6121 <  cat >>confdefs.h <<_ACEOF
6122 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6123 < _ACEOF
6124 <
6125 < else
6126 <  # FreeBSD has a gnugetopt library for this
6127 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
6128 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
6129 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
6130 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6131 < else
6132 <  ac_check_lib_save_LIBS=$LIBS
6133 < LIBS="-lgnugetopt  $LIBS"
6134 < cat >conftest.$ac_ext <<_ACEOF
6135 < /* confdefs.h.  */
6136 < _ACEOF
6137 < cat confdefs.h >>conftest.$ac_ext
6138 < cat >>conftest.$ac_ext <<_ACEOF
6139 < /* end confdefs.h.  */
6140 <
6141 < /* Override any gcc2 internal prototype to avoid an error.  */
6142 < #ifdef __cplusplus
6143 < extern "C"
6144 < #endif
6145 < /* We use char because int might match the return type of a gcc2
6146 <   builtin and then its argument prototype would still apply.  */
6147 < char getopt_long ();
6148 < int
6149 < main ()
6150 < {
6151 < getopt_long ();
6152 <  ;
6153 <  return 0;
6154 < }
6155 < _ACEOF
6156 < rm -f conftest.$ac_objext conftest$ac_exeext
6157 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6158 <  (eval $ac_link) 2>conftest.er1
6159 <  ac_status=$?
6160 <  grep -v '^ *+' conftest.er1 >conftest.err
6161 <  rm -f conftest.er1
6162 <  cat conftest.err >&5
6163 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 <  (exit $ac_status); } &&
6165 <         { ac_try='test -z "$ac_c_werror_flag"
6166 <                         || test ! -s conftest.err'
6167 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6168 <  (eval $ac_try) 2>&5
6169 <  ac_status=$?
6170 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 <  (exit $ac_status); }; } &&
6172 <         { ac_try='test -s conftest$ac_exeext'
6173 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6174 <  (eval $ac_try) 2>&5
6175 <  ac_status=$?
6176 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 <  (exit $ac_status); }; }; then
6178 <  ac_cv_lib_gnugetopt_getopt_long=yes
6179 < else
6180 <  echo "$as_me: failed program was:" >&5
6181 < sed 's/^/| /' conftest.$ac_ext >&5
6182 <
6183 < ac_cv_lib_gnugetopt_getopt_long=no
6184 < fi
6185 < rm -f conftest.err conftest.$ac_objext \
6186 <      conftest$ac_exeext conftest.$ac_ext
6187 < LIBS=$ac_check_lib_save_LIBS
6188 < fi
6189 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
6190 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
6191 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
6192 <  cat >>confdefs.h <<\_ACEOF
6193 < #define HAVE_GETOPT_LONG 1
6194 < _ACEOF
6195 <
6196 < else
6197 <  # use the GNU replacement
6198 <      case $LIBOBJS in
6199 <    "getopt.$ac_objext"   | \
6200 <  *" getopt.$ac_objext"   | \
6201 <    "getopt.$ac_objext "* | \
6202 <  *" getopt.$ac_objext "* ) ;;
6203 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
6204 < esac
6205 <
6206 <      case $LIBOBJS in
6207 <    "getopt1.$ac_objext"   | \
6208 <  *" getopt1.$ac_objext"   | \
6209 <    "getopt1.$ac_objext "* | \
6210 <  *" getopt1.$ac_objext "* ) ;;
6211 <  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
6212 < esac
6213 <
6214 <                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
6215 <
6216 < fi
6217 <
6218 < fi
6219 < done
6220 <
6221 <
6222 <
6223 < case $debug in
6224 <  1)
6225 <     ;;
6226 <  *)
6227 <
6228 <
6229 <
6230 <
6231 <
6232 <
6233 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
6234 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
6235 < if test "${ac_cv_prog_really_gcc+set}" = set; then
6236 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6237 < else
6238 <
6239 < cat > conftest.c <<EOF
6240 < #ifdef __GNUC__
6241 <  #ifndef __INTEL_COMPILER
6242 <     yes;
6243 <  #endif
6244 < #endif
6245 < EOF
6246 < if { ac_try='${CC-cc} -E conftest.c'
6247 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 <  (eval $ac_try) 2>&5
6249 <  ac_status=$?
6250 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6252 <  ac_cv_prog_really_gcc=yes
6253 < else
6254 <  ac_cv_prog_really_gcc=no
6255 < fi
6256 <
6257 < fi
6258 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
6259 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
6260 < if test "$ac_cv_prog_really_gcc" = yes; then
6261 <        :
6262 <
6263 < else
6264 <        :
6265 <
6266 < fi
6267 <
6268 <
6269 < # Try to determine "good" native compiler flags if none specified on command
6270 < # line
6271 < if test "$ac_test_CFLAGS" != "set"; then
6272 <  CFLAGS=""
6273 <  case "${host_cpu}-${host_os}" in
6274 <
6275 <  *linux*) if test "$CC" = icc; then
6276 <                    CFLAGS="-O"
6277 <                fi;;
6278 <  sparc-solaris2*) if test "$CC" = cc; then
6279 <                    CFLAGS="-native -fast -xO5 -dalign"
6280 <                 fi;;
6281 <
6282 <  alpha*-osf*)  if test "$CC" = cc; then
6283 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
6284 <                fi;;
6285 <
6286 <  hppa*-hpux*)  if test "$CC" = cc; then
6287 <                    CFLAGS="-Ae +O3 +Oall"
6288 <                fi;;
6289 <
6290 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
6291 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
6292 <                fi;;
6293 <   powerpc*-aix*)
6294 <        if test "$CC" = cc -o "$CC" = xlc; then
6295 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
6296 <                echo "*******************************************************"
6297 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6298 <                echo "*  recommended that you use                           *"
6299 <                echo "*                                                     *"
6300 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6301 <                echo "*                                 ^^^                 *"
6302 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6303 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6304 <                echo "*******************************************************"
6305 <        fi;;
6306 <   *darwin*)
6307 <        if test "$CC" = xlc -o "$CC" = cc; then
6308 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6309 <        fi;;
6310 <  esac
6311 <
6312 <  # use default flags for gcc on all systems
6313 <  if test $ac_cv_prog_really_gcc = yes; then
6314 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6315 <  fi
6316 <
6317 <  # test for gcc-specific flags:
6318 <  if test $ac_cv_prog_really_gcc = yes; then
6319 <    # -malign-double for x86 systems
6320 <
6321 <
6322 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
6323 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
6324 < if test "${ac_align_double+set}" = set; then
6325 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6326 < else
6327 <  echo 'void f(){}' > conftest.c
6328 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
6329 <        ac_align_double=yes
6330 < else
6331 <        ac_align_double=no
6332 < fi
6333 < rm -f conftest*
6334 <
6335 < fi
6336 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6337 < echo "${ECHO_T}$ac_align_double" >&6
6338 < if test "$ac_align_double" = yes; then
6339 <        :
6340 <        CFLAGS="$CFLAGS -malign-double"
6341 < else
6342 <        :
6343 <
6344 < fi
6345 <
6346 <    # -fstrict-aliasing for gcc-2.95+
6347 <
6348 <
6349 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
6350 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
6351 < if test "${ac_fstrict_aliasing+set}" = set; then
6352 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6353 < else
6354 <  echo 'void f(){}' > conftest.c
6355 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
6356 <        ac_fstrict_aliasing=yes
6357 < else
6358 <        ac_fstrict_aliasing=no
6359 < fi
6360 < rm -f conftest*
6361 <
6362 < fi
6363 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6364 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6365 < if test "$ac_fstrict_aliasing" = yes; then
6366 <        :
6367 <        CFLAGS="$CFLAGS -fstrict-aliasing"
6368 < else
6369 <        :
6370 <
6371 < fi
6372 <
6373 <  fi
6374 <
6375 <  CPU_FLAGS=""
6376 <  if test $ac_cv_prog_really_gcc = yes; then
6377 <                  case "${host_cpu}" in
6378 <          i586*)
6379 <
6380 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
6381 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
6382 < if test "${ac_cpu_pentium+set}" = set; then
6383 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6384 < else
6385 <  echo 'void f(){}' > conftest.c
6386 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
6387 <        ac_cpu_pentium=yes
6388 < else
6389 <        ac_cpu_pentium=no
6390 < fi
6391 < rm -f conftest*
6392 <
6393 < fi
6394 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6395 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6396 < if test "$ac_cpu_pentium" = yes; then
6397 <        :
6398 <        CPU_FLAGS=-mcpu=pentium
6399 < else
6400 <        :
6401 <
6402 <
6403 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
6404 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
6405 < if test "${ac_pentium+set}" = set; then
6406 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6407 < else
6408 <  echo 'void f(){}' > conftest.c
6409 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
6410 <        ac_pentium=yes
6411 < else
6412 <        ac_pentium=no
6413 < fi
6414 < rm -f conftest*
6415 <
6416 < fi
6417 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6418 < echo "${ECHO_T}$ac_pentium" >&6
6419 < if test "$ac_pentium" = yes; then
6420 <        :
6421 <        CPU_FLAGS=-mpentium
6422 < else
6423 <        :
6424 <
6425 < fi
6426 <
6427 < fi
6428 <
6429 <                  ;;
6430 <          i686*)
6431 <
6432 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
6433 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6434 < if test "${ac_cpu_pentiumpro+set}" = set; then
6435 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6436 < else
6437 <  echo 'void f(){}' > conftest.c
6438 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
6439 <        ac_cpu_pentiumpro=yes
6440 < else
6441 <        ac_cpu_pentiumpro=no
6442 < fi
6443 < rm -f conftest*
6444 <
6445 < fi
6446 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6447 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6448 < if test "$ac_cpu_pentiumpro" = yes; then
6449 <        :
6450 <        CPU_FLAGS=-mcpu=pentiumpro
6451 < else
6452 <        :
6453 <
6454 <
6455 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
6456 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
6457 < if test "${ac_pentiumpro+set}" = set; then
6458 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6459 < else
6460 <  echo 'void f(){}' > conftest.c
6461 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
6462 <        ac_pentiumpro=yes
6463 < else
6464 <        ac_pentiumpro=no
6465 < fi
6466 < rm -f conftest*
6467 <
6468 < fi
6469 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6470 < echo "${ECHO_T}$ac_pentiumpro" >&6
6471 < if test "$ac_pentiumpro" = yes; then
6472 <        :
6473 <        CPU_FLAGS=-mpentiumpro
6474 < else
6475 <        :
6476 <
6477 < fi
6478 <
6479 < fi
6480 <
6481 <                  ;;
6482 <          powerpc*)
6483 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6484 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6485 <                if test -n "$is60x"; then
6486 <
6487 <
6488 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
6489 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
6490 < if test "${ac_m_cpu_60x+set}" = set; then
6491 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6492 < else
6493 <  echo 'void f(){}' > conftest.c
6494 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
6495 <        ac_m_cpu_60x=yes
6496 < else
6497 <        ac_m_cpu_60x=no
6498 < fi
6499 < rm -f conftest*
6500 <
6501 < fi
6502 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6503 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6504 < if test "$ac_m_cpu_60x" = yes; then
6505 <        :
6506 <        CPU_FLAGS=-mcpu=$cputype
6507 < else
6508 <        :
6509 <
6510 < fi
6511 <
6512 <                elif test "$cputype" = 750; then
6513 <
6514 <
6515 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
6516 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
6517 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
6518 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6519 < else
6520 <
6521 < cat > conftest.c <<EOF
6522 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6523 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6524 <     yes;
6525 < #  endif
6526 < #endif
6527 < EOF
6528 < if { ac_try='${CC-cc} -E conftest.c'
6529 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 <  (eval $ac_try) 2>&5
6531 <  ac_status=$?
6532 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6534 <  ac_cv_prog_gcc_2_95=yes
6535 < else
6536 <  ac_cv_prog_gcc_2_95=no
6537 < fi
6538 <
6539 < fi
6540 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
6541 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
6542 < if test "$ac_cv_prog_gcc_2_95" = yes; then
6543 <        :
6544 <
6545 <
6546 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
6547 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
6548 < if test "${ac_m_cpu_750+set}" = set; then
6549 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6550 < else
6551 <  echo 'void f(){}' > conftest.c
6552 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
6553 <        ac_m_cpu_750=yes
6554 < else
6555 <        ac_m_cpu_750=no
6556 < fi
6557 < rm -f conftest*
6558 <
6559 < fi
6560 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6561 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6562 < if test "$ac_m_cpu_750" = yes; then
6563 <        :
6564 <        CPU_FLAGS=-mcpu=750
6565 < else
6566 <        :
6567 <
6568 < fi
6569 <
6570 < else
6571 <        :
6572 <
6573 < fi
6574 <
6575 <                fi
6576 <                if test -z "$CPU_FLAGS"; then
6577 <
6578 <
6579 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6580 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
6581 < if test "${ac_m_cpu_powerpc+set}" = set; then
6582 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6583 < else
6584 <  echo 'void f(){}' > conftest.c
6585 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
6586 <        ac_m_cpu_powerpc=yes
6587 < else
6588 <        ac_m_cpu_powerpc=no
6589 < fi
6590 < rm -f conftest*
6591 <
6592 < fi
6593 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6594 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6595 < if test "$ac_m_cpu_powerpc" = yes; then
6596 <        :
6597 <        CPU_FLAGS=-mcpu=powerpc
6598 < else
6599 <        :
6600 <
6601 < fi
6602 <
6603 <                fi
6604 <                if test -z "$CPU_FLAGS"; then
6605 <
6606 <
6607 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6608 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6609 < if test "${ac_m_powerpc+set}" = set; then
6610 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6611 < else
6612 <  echo 'void f(){}' > conftest.c
6613 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
6614 <        ac_m_powerpc=yes
6615 < else
6616 <        ac_m_powerpc=no
6617 < fi
6618 < rm -f conftest*
6619 <
6620 < fi
6621 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6622 < echo "${ECHO_T}$ac_m_powerpc" >&6
6623 < if test "$ac_m_powerpc" = yes; then
6624 <        :
6625 <        CPU_FLAGS=-mpowerpc
6626 < else
6627 <        :
6628 <
6629 < fi
6630 <
6631 <                fi
6632 <          esac
6633 <  fi
6634 <
6635 <  if test -n "$CPU_FLAGS"; then
6636 <        CFLAGS="$CFLAGS $CPU_FLAGS"
6637 <  fi
6638 <
6639 <  if test -z "$CFLAGS"; then
6640 <        echo ""
6641 <        echo "********************************************************"
6642 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
6643 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6644 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
6645 <        echo "********************************************************"
6646 <        echo ""
6647 <        CFLAGS="-O3"
6648 <  fi
6649 <
6650 <
6651 <
6652 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6653 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6654 < if test "${ac_guessed_cflags+set}" = set; then
6655 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6656 < else
6657 <  echo 'void f(){}' > conftest.c
6658 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
6659 <        ac_guessed_cflags=yes
6660 < else
6661 <        ac_guessed_cflags=no
6662 < fi
6663 < rm -f conftest*
6664 <
6665 < fi
6666 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6667 < echo "${ECHO_T}$ac_guessed_cflags" >&6
6668 < if test "$ac_guessed_cflags" = yes; then
6669 <        :
6670 <
6671 < else
6672 <        :
6673 <
6674 <        echo ""
6675 <        echo "********************************************************"
6676 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
6677 <        echo "* your compiler.                                       *"
6678 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
6679 <        echo "********************************************************"
6680 <        echo ""
6681 <        CFLAGS=""
6682 <
6683 < fi
6684 <
6685 <
6686 < fi
6687 <
6688 <
6689 <
6690 <
6691 <
6692 <
6693 <
6694 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6695 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6696 < if test "${ac_cv_prog_really_gxx+set}" = set; then
6697 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6698 < else
6699 <
6700 < cat > conftest.cpp <<EOF
6701 < #ifdef __GNUC__
6702 <  #ifndef __INTEL_COMPILER
6703 <     yes;
6704 <  #endif
6705 < #endif
6706 < EOF
6707 < if { ac_try='${CXX-c++} -E conftest.cpp'
6708 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 <  (eval $ac_try) 2>&5
6710 <  ac_status=$?
6711 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6713 <  ac_cv_prog_really_gxx=yes
6714 < else
6715 <  ac_cv_prog_really_gxx=no
6716 < fi
6717 <
6718 < fi
6719 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6720 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6721 < if test "$ac_cv_prog_really_gxx" = yes; then
6722 <        :
6723 <
6724 < else
6725 <        :
6726 <
6727 < fi
6728 <
6729 <
6730 < # Try to determine "good" native compiler flags if none specified on command
6731 < # line
6732 < if test "$ac_test_CXXFLAGS" != "set"; then
6733 <  CXXFLAGS=""
6734 <  case "${host_cpu}-${host_os}" in
6735 <
6736 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
6737 <                    CXXFLAGS="-O"
6738 <                fi;;
6739 <  sparc-solaris2*) if test "$CXX" = CC; then
6740 <                    CXXFLAGS="-native -fast -xO5 -dalign"
6741 <                 fi;;
6742 <   rs6000*-aix*)  if test "$CXX" = xlC; then
6743 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6744 <                fi;;
6745 <   powerpc*-aix*)
6746 <        if test "$CXX" = xlC; then
6747 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
6748 <                echo "*******************************************************"
6749 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6750 <                echo "*  recommended that you use                           *"
6751 <                echo "*                                                     *"
6752 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6753 <                echo "*                                 ^^^                 *"
6754 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6755 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6756 <                echo "*******************************************************"
6757 <        fi;;
6758 <   *darwin*)
6759 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
6760 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6761 <        fi;;
6762 <  esac
6763 <
6764 <  # use default flags for gcc on all systems
6765 <  if test $ac_cv_prog_really_gxx = yes; then
6766 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
6767 <  fi
6768 <
6769 <  # test for gcc-specific flags:
6770 <  if test $ac_cv_prog_really_gxx = yes; then
6771 <    # -malign-double for x86 systems
6772 <
6773 <
6774 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6775 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6776 < if test "${ac_align_double+set}" = set; then
6777 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6778 < else
6779 <  echo 'void f(){}' > conftest.cpp
6780 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
6781 <        ac_align_double=yes
6782 < else
6783 <        ac_align_double=no
6784 < fi
6785 < rm -f conftest*
6786 <
6787 < fi
6788 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
6789 < echo "${ECHO_T}$ac_align_double" >&6
6790 < if test "$ac_align_double" = yes; then
6791 <        :
6792 <        CXXFLAGS="$CXXFLAGS -malign-double"
6793 < else
6794 <        :
6795 <
6796 < fi
6797 <
6798 <    # -fstrict-aliasing for gcc-2.95+
6799 <
6800 <
6801 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6802 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6803 < if test "${ac_fstrict_aliasing+set}" = set; then
6804 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6805 < else
6806 <  echo 'void f(){}' > conftest.cpp
6807 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
6808 <        ac_fstrict_aliasing=yes
6809 < else
6810 <        ac_fstrict_aliasing=no
6811 < fi
6812 < rm -f conftest*
6813 <
6814 < fi
6815 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6816 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6817 < if test "$ac_fstrict_aliasing" = yes; then
6818 <        :
6819 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
6820 < else
6821 <        :
6822 <
6823 < fi
6824 <
6825 <  fi
6826 <
6827 <  CPU_FLAGS=""
6828 <  if test $ac_cv_prog_really_gxx = yes; then
6829 <                  case "${host_cpu}" in
6830 <          i586*)
6831 <
6832 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6833 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6834 < if test "${ac_cpu_pentium+set}" = set; then
6835 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6836 < else
6837 <  echo 'void f(){}' > conftest.cpp
6838 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
6839 <        ac_cpu_pentium=yes
6840 < else
6841 <        ac_cpu_pentium=no
6842 < fi
6843 < rm -f conftest*
6844 <
6845 < fi
6846 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6847 < echo "${ECHO_T}$ac_cpu_pentium" >&6
6848 < if test "$ac_cpu_pentium" = yes; then
6849 <        :
6850 <        CPU_FLAGS=-mcpu=pentium
6851 < else
6852 <        :
6853 <
6854 <
6855 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6856 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6857 < if test "${ac_pentium+set}" = set; then
6858 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6859 < else
6860 <  echo 'void f(){}' > conftest.cpp
6861 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
6862 <        ac_pentium=yes
6863 < else
6864 <        ac_pentium=no
6865 < fi
6866 < rm -f conftest*
6867 <
6868 < fi
6869 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
6870 < echo "${ECHO_T}$ac_pentium" >&6
6871 < if test "$ac_pentium" = yes; then
6872 <        :
6873 <        CPU_FLAGS=-mpentium
6874 < else
6875 <        :
6876 <
6877 < fi
6878 <
6879 < fi
6880 <
6881 <                  ;;
6882 <          i686*)
6883 <
6884 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6885 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6886 < if test "${ac_cpu_pentiumpro+set}" = set; then
6887 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6888 < else
6889 <  echo 'void f(){}' > conftest.cpp
6890 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6891 <        ac_cpu_pentiumpro=yes
6892 < else
6893 <        ac_cpu_pentiumpro=no
6894 < fi
6895 < rm -f conftest*
6896 <
6897 < fi
6898 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6899 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6900 < if test "$ac_cpu_pentiumpro" = yes; then
6901 <        :
6902 <        CPU_FLAGS=-mcpu=pentiumpro
6903 < else
6904 <        :
6905 <
6906 <
6907 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6908 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6909 < if test "${ac_pentiumpro+set}" = set; then
6910 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6911 < else
6912 <  echo 'void f(){}' > conftest.cpp
6913 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6914 <        ac_pentiumpro=yes
6915 < else
6916 <        ac_pentiumpro=no
6917 < fi
6918 < rm -f conftest*
6919 <
6920 < fi
6921 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6922 < echo "${ECHO_T}$ac_pentiumpro" >&6
6923 < if test "$ac_pentiumpro" = yes; then
6924 <        :
6925 <        CPU_FLAGS=-mpentiumpro
6926 < else
6927 <        :
6928 <
6929 < fi
6930 <
6931 < fi
6932 <
6933 <                  ;;
6934 <          powerpc*)
6935 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6936 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6937 <                if test -n "$is60x"; then
6938 <
6939 <
6940 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6941 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6942 < if test "${ac_m_cpu_60x+set}" = set; then
6943 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6944 < else
6945 <  echo 'void f(){}' > conftest.cpp
6946 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6947 <        ac_m_cpu_60x=yes
6948 < else
6949 <        ac_m_cpu_60x=no
6950 < fi
6951 < rm -f conftest*
6952 <
6953 < fi
6954 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6955 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6956 < if test "$ac_m_cpu_60x" = yes; then
6957 <        :
6958 <        CPU_FLAGS=-mcpu=$cputype
6959 < else
6960 <        :
6961 <
6962 < fi
6963 <
6964 <                elif test "$cputype" = 750; then
6965 <
6966 <
6967 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6968 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6969 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6970 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6971 < else
6972 <
6973 < cat > conftest.cpp <<EOF
6974 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6975 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6976 <     yes;
6977 < #  endif
6978 < #endif
6979 < EOF
6980 < if { ac_try='${CXX-c++} -E conftest.cpp'
6981 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 <  (eval $ac_try) 2>&5
6983 <  ac_status=$?
6984 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6986 <  ac_cv_prog_gxx_2_95=yes
6987 < else
6988 <  ac_cv_prog_gxx_2_95=no
6989 < fi
6990 <
6991 < fi
6992 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6993 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6994 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6995 <        :
6996 <
6997 <
6998 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6999 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
7000 < if test "${ac_m_cpu_750+set}" = set; then
7001 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7002 < else
7003 <  echo 'void f(){}' > conftest.cpp
7004 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
7005 <        ac_m_cpu_750=yes
7006 < else
7007 <        ac_m_cpu_750=no
7008 < fi
7009 < rm -f conftest*
7010 <
7011 < fi
7012 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7013 < echo "${ECHO_T}$ac_m_cpu_750" >&6
7014 < if test "$ac_m_cpu_750" = yes; then
7015 <        :
7016 <        CPU_FLAGS=-mcpu=750
7017 < else
7018 <        :
7019 <
7020 < fi
7021 <
7022 < else
7023 <        :
7024 <
7025 < fi
7026 <
7027 <                fi
7028 <                if test -z "$CPU_FLAGS"; then
7029 <
7030 <
7031 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
7032 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
7033 < if test "${ac_m_cpu_powerpc+set}" = set; then
7034 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7035 < else
7036 <  echo 'void f(){}' > conftest.cpp
7037 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
7038 <        ac_m_cpu_powerpc=yes
7039 < else
7040 <        ac_m_cpu_powerpc=no
7041 < fi
7042 < rm -f conftest*
7043 <
7044 < fi
7045 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7046 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7047 < if test "$ac_m_cpu_powerpc" = yes; then
7048 <        :
7049 <        CPU_FLAGS=-mcpu=powerpc
7050 < else
7051 <        :
7052 <
7053 < fi
7054 <
7055 <                fi
7056 <                if test -z "$CPU_FLAGS"; then
7057 <
7058 <
7059 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
7060 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
7061 < if test "${ac_m_powerpc+set}" = set; then
7062 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7063 < else
7064 <  echo 'void f(){}' > conftest.cpp
7065 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
7066 <        ac_m_powerpc=yes
7067 < else
7068 <        ac_m_powerpc=no
7069 < fi
7070 < rm -f conftest*
7071 <
7072 < fi
7073 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
7074 < echo "${ECHO_T}$ac_m_powerpc" >&6
7075 < if test "$ac_m_powerpc" = yes; then
7076 <        :
7077 <        CPU_FLAGS=-mpowerpc
7078 < else
7079 <        :
7080 <
7081 < fi
7082 <
7083 <                fi
7084 <          esac
7085 <  fi
7086 <
7087 <  if test -n "$CPU_FLAGS"; then
7088 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
7089 <  fi
7090 <
7091 <  if test -z "$CXXFLAGS"; then
7092 <        echo ""
7093 <        echo "**********************************************************"
7094 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
7095 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
7096 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
7097 <        echo "**********************************************************"
7098 <        echo ""
7099 <        CXXFLAGS="-O3"
7100 <  fi
7101 <
7102 <
7103 <
7104 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
7105 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
7106 < if test "${ac_guessed_cxxflags+set}" = set; then
7107 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7108 < else
7109 <  echo 'void f(){}' > conftest.cpp
7110 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
7111 <        ac_guessed_cxxflags=yes
7112 < else
7113 <        ac_guessed_cxxflags=no
7114 < fi
7115 < rm -f conftest*
7116 <
7117 < fi
7118 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
7119 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
7120 < if test "$ac_guessed_cxxflags" = yes; then
7121 <        :
7122 <
7123 < else
7124 <        :
7125 <
7126 <        echo ""
7127 <        echo "**********************************************************"
7128 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
7129 <        echo "* your compiler.                                         *"
7130 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
7131 <        echo "**********************************************************"
7132 <        echo ""
7133 <        CXXFLAGS=""
7134 <
7135 < fi
7136 <
7137 <
7138 < fi
7139 <
7140 <
7141 <
7142 <
7143 <
7144 < # Try to determine "good" native compiler flags if none specified on command
7145 < # line
7146 <
7147 < if test x"$F90FLAGS" = x ; then
7148 <  F90FLAGS=""
7149 <  case "${host_cpu}-${host_os}" in
7150 <
7151 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
7152 <                    F90FLAGS="-O"
7153 <                fi;;
7154 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
7155 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
7156 <                fi;;
7157 <   powerpc*-aix*)
7158 <        if test "$F90" = f90 -o "$F90" = xlf90; then
7159 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
7160 <                echo "*******************************************************"
7161 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7162 <                echo "*  recommended that you use                           *"
7163 <                echo "*                                                     *"
7164 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7165 <                echo "*                                 ^^^                 *"
7166 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7167 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
7168 <                echo "*******************************************************"
7169 <        fi;;
7170 <   *darwin*)
7171 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
7172 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
7173 <        fi;;
7174 <  esac
7175 <
7176 <  if test -n "$CPU_FLAGS"; then
7177 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
7178 <  fi
7179 <
7180 <  if test -z "$F90FLAGS"; then
7181 <        echo ""
7182 <        echo "**********************************************************"
7183 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
7184 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
7185 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
7186 <        echo "**********************************************************"
7187 <        echo ""
7188 <        F90FLAGS="-O3"
7189 <  fi
7190 <
7191 <
7192 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
7193 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
7194 < if test "${ac_guessed_f90flags+set}" = set; then
7195 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7196 < else
7197 <
7198 <
7199 <
7200 < ac_ext=f90
7201 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
7202 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7203 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
7204 <
7205 < echo 'program main' > conftest.$ac_ext
7206 < echo 'end program main' >> conftest.$ac_ext
7207 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
7208 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7209 <  (eval $ac_compile) 2>&5
7210 <  ac_status=$?
7211 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 <  (exit $ac_status); }; then
7213 <        ac_guessed_f90flags=yes
7214 < else
7215 <        ac_guessed_f90flags=no
7216 < fi
7217 < rm -f conftest*
7218 < ac_ext=c
7219 < ac_cpp='$CPP $CPPFLAGS'
7220 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7221 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7222 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 <
7224 <
7225 < fi
7226 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
7227 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
7228 < if test "$ac_guessed_f90flags" = yes; then
7229 <        :
7230 <
7231 < else
7232 <        :
7233 <
7234 <        echo ""
7235 <        echo "**********************************************************"
7236 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
7237 <        echo "* your compiler.                                         *"
7238 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
7239 <        echo "**********************************************************"
7240 <        echo ""
7241 <        F90FLAGS=""
7242 <
7243 < fi
7244 <
7245 <
7246 < fi
7247 <
7248 <     ;;
7249 < esac
7250 <
7251 < # Find a good install program.  We prefer a C program (faster),
7252 < # so one script is as good as another.  But avoid the broken or
7253 < # incompatible versions:
7254 < # SysV /etc/install, /usr/sbin/install
7255 < # SunOS /usr/etc/install
7256 < # IRIX /sbin/install
7257 < # AIX /bin/install
7258 < # AmigaOS /C/install, which installs bootblocks on floppy discs
7259 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7260 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7261 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7262 < # OS/2's system install, which has a completely different semantic
7263 < # ./install, which can be erroneously created by make from ./install.sh.
7264 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7265 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7266 < if test -z "$INSTALL"; then
7267 < if test "${ac_cv_path_install+set}" = set; then
7268 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7269 < else
7270 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 < for as_dir in $PATH
7272 < do
7273 <  IFS=$as_save_IFS
7274 <  test -z "$as_dir" && as_dir=.
7275 <  # Account for people who put trailing slashes in PATH elements.
7276 < case $as_dir/ in
7277 <  ./ | .// | /cC/* | \
7278 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7279 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
7280 <  /usr/ucb/* ) ;;
7281 <  *)
7282 <    # OSF1 and SCO ODT 3.0 have their own names for install.
7283 <    # Don't use installbsd from OSF since it installs stuff as root
7284 <    # by default.
7285 <    for ac_prog in ginstall scoinst install; do
7286 <      for ac_exec_ext in '' $ac_executable_extensions; do
7287 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7288 <          if test $ac_prog = install &&
7289 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7290 <            # AIX install.  It has an incompatible calling convention.
7291 <            :
7292 <          elif test $ac_prog = install &&
7293 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7294 <            # program-specific install script used by HP pwplus--don't use.
7295 <            :
7296 <          else
7297 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7298 <            break 3
7299 <          fi
7300 <        fi
7301 <      done
7302 <    done
7303 <    ;;
7304 < esac
7305 < done
7306 <
7307 <
7308 < fi
7309 <  if test "${ac_cv_path_install+set}" = set; then
7310 <    INSTALL=$ac_cv_path_install
7311 <  else
7312 <    # As a last resort, use the slow shell script.  We don't cache a
7313 <    # path for INSTALL within a source directory, because that will
7314 <    # break other packages using the cache if that directory is
7315 <    # removed, or if the path is relative.
7316 <    INSTALL=$ac_install_sh
7317 <  fi
7318 < fi
7319 < echo "$as_me:$LINENO: result: $INSTALL" >&5
7320 < echo "${ECHO_T}$INSTALL" >&6
7321 <
7322 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7323 < # It thinks the first close brace ends the variable substitution.
7324 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
7325 <
7326 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
7327 <
7328 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7329 <
7330 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
7331 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7332 < LN_S=$as_ln_s
7333 < if test "$LN_S" = "ln -s"; then
7334 <  echo "$as_me:$LINENO: result: yes" >&5
7335 < echo "${ECHO_T}yes" >&6
7336 < else
7337 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7338 < echo "${ECHO_T}no, using $LN_S" >&6
7339 < fi
7340 <
7341 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7342 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7343 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7344 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7345 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7346 < else
7347 <  cat >conftest.make <<\_ACEOF
7348 < all:
7349 <        @echo 'ac_maketemp="$(MAKE)"'
7350 < _ACEOF
7351 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7352 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7353 < if test -n "$ac_maketemp"; then
7354 <  eval ac_cv_prog_make_${ac_make}_set=yes
7355 < else
7356 <  eval ac_cv_prog_make_${ac_make}_set=no
7357 < fi
7358 < rm -f conftest.make
7359 < fi
7360 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7361 <  echo "$as_me:$LINENO: result: yes" >&5
7362 < echo "${ECHO_T}yes" >&6
7363 <  SET_MAKE=
7364 < else
7365 <  echo "$as_me:$LINENO: result: no" >&5
7366 < echo "${ECHO_T}no" >&6
7367 <  SET_MAKE="MAKE=${MAKE-make}"
7368 < fi
7369 <
7370 < if test -n "$ac_tool_prefix"; then
7371 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7372 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7373 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7374 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7375 < if test "${ac_cv_prog_RANLIB+set}" = set; then
7376 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7377 < else
7378 <  if test -n "$RANLIB"; then
7379 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7380 < else
7381 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 < for as_dir in $PATH
7383 < do
7384 <  IFS=$as_save_IFS
7385 <  test -z "$as_dir" && as_dir=.
7386 <  for ac_exec_ext in '' $ac_executable_extensions; do
7387 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7388 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7389 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 <    break 2
7391 <  fi
7392 < done
7393 < done
7394 <
7395 < fi
7396 < fi
7397 < RANLIB=$ac_cv_prog_RANLIB
7398 < if test -n "$RANLIB"; then
7399 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
7400 < echo "${ECHO_T}$RANLIB" >&6
7401 < else
7402 <  echo "$as_me:$LINENO: result: no" >&5
7403 < echo "${ECHO_T}no" >&6
7404 < fi
7405 <
7406 < fi
7407 < if test -z "$ac_cv_prog_RANLIB"; then
7408 <  ac_ct_RANLIB=$RANLIB
7409 <  # Extract the first word of "ranlib", so it can be a program name with args.
7410 < set dummy ranlib; ac_word=$2
7411 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7412 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7413 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7414 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7415 < else
7416 <  if test -n "$ac_ct_RANLIB"; then
7417 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7418 < else
7419 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 < for as_dir in $PATH
7421 < do
7422 <  IFS=$as_save_IFS
7423 <  test -z "$as_dir" && as_dir=.
7424 <  for ac_exec_ext in '' $ac_executable_extensions; do
7425 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
7427 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 <    break 2
7429 <  fi
7430 < done
7431 < done
7432 <
7433 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7434 < fi
7435 < fi
7436 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7437 < if test -n "$ac_ct_RANLIB"; then
7438 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7439 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
7440 < else
7441 <  echo "$as_me:$LINENO: result: no" >&5
7442 < echo "${ECHO_T}no" >&6
7443 < fi
7444 <
7445 <  RANLIB=$ac_ct_RANLIB
7446 < else
7447 <  RANLIB="$ac_cv_prog_RANLIB"
7448 < fi
7449 <
7450 < for ac_prog in 'bison -y' byacc
7451 < do
7452 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7453 < set dummy $ac_prog; ac_word=$2
7454 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7455 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7456 < if test "${ac_cv_prog_YACC+set}" = set; then
7457 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7458 < else
7459 <  if test -n "$YACC"; then
7460 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
7461 < else
7462 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 < for as_dir in $PATH
7464 < do
7465 <  IFS=$as_save_IFS
7466 <  test -z "$as_dir" && as_dir=.
7467 <  for ac_exec_ext in '' $ac_executable_extensions; do
7468 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7469 <    ac_cv_prog_YACC="$ac_prog"
7470 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 <    break 2
7472 <  fi
7473 < done
7474 < done
7475 <
7476 < fi
7477 < fi
7478 < YACC=$ac_cv_prog_YACC
7479 < if test -n "$YACC"; then
7480 <  echo "$as_me:$LINENO: result: $YACC" >&5
7481 < echo "${ECHO_T}$YACC" >&6
7482 < else
7483 <  echo "$as_me:$LINENO: result: no" >&5
7484 < echo "${ECHO_T}no" >&6
7485 < fi
7486 <
7487 <  test -n "$YACC" && break
7488 < done
7489 < test -n "$YACC" || YACC="yacc"
7490 <
7491 < for ac_prog in flex lex
7492 < do
7493 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
7494 < set dummy $ac_prog; ac_word=$2
7495 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7496 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7497 < if test "${ac_cv_prog_LEX+set}" = set; then
7498 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7499 < else
7500 <  if test -n "$LEX"; then
7501 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
7502 < else
7503 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 < for as_dir in $PATH
7505 < do
7506 <  IFS=$as_save_IFS
7507 <  test -z "$as_dir" && as_dir=.
7508 <  for ac_exec_ext in '' $ac_executable_extensions; do
7509 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7510 <    ac_cv_prog_LEX="$ac_prog"
7511 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7512 <    break 2
7513 <  fi
7514 < done
7515 < done
7516 <
7517 < fi
7518 < fi
7519 < LEX=$ac_cv_prog_LEX
7520 < if test -n "$LEX"; then
7521 <  echo "$as_me:$LINENO: result: $LEX" >&5
7522 < echo "${ECHO_T}$LEX" >&6
7523 < else
7524 <  echo "$as_me:$LINENO: result: no" >&5
7525 < echo "${ECHO_T}no" >&6
7526 < fi
7527 <
7528 <  test -n "$LEX" && break
7529 < done
7530 < test -n "$LEX" || LEX=":"
7531 <
7532 < if test -z "$LEXLIB"
7533 < then
7534 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
7535 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
7536 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
7537 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7538 < else
7539 <  ac_check_lib_save_LIBS=$LIBS
7540 < LIBS="-lfl  $LIBS"
7541 < cat >conftest.$ac_ext <<_ACEOF
7542 < /* confdefs.h.  */
7543 < _ACEOF
7544 < cat confdefs.h >>conftest.$ac_ext
7545 < cat >>conftest.$ac_ext <<_ACEOF
7546 < /* end confdefs.h.  */
7547 <
7548 < /* Override any gcc2 internal prototype to avoid an error.  */
7549 < #ifdef __cplusplus
7550 < extern "C"
7551 < #endif
7552 < /* We use char because int might match the return type of a gcc2
7553 <   builtin and then its argument prototype would still apply.  */
7554 < char yywrap ();
7555 < int
7556 < main ()
7557 < {
7558 < yywrap ();
7559 <  ;
7560 <  return 0;
7561 < }
7562 < _ACEOF
7563 < rm -f conftest.$ac_objext conftest$ac_exeext
7564 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7565 <  (eval $ac_link) 2>conftest.er1
7566 <  ac_status=$?
7567 <  grep -v '^ *+' conftest.er1 >conftest.err
7568 <  rm -f conftest.er1
7569 <  cat conftest.err >&5
7570 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 <  (exit $ac_status); } &&
7572 <         { ac_try='test -z "$ac_c_werror_flag"
7573 <                         || test ! -s conftest.err'
7574 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 <  (eval $ac_try) 2>&5
7576 <  ac_status=$?
7577 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 <  (exit $ac_status); }; } &&
7579 <         { ac_try='test -s conftest$ac_exeext'
7580 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 <  (eval $ac_try) 2>&5
7582 <  ac_status=$?
7583 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 <  (exit $ac_status); }; }; then
7585 <  ac_cv_lib_fl_yywrap=yes
7586 < else
7587 <  echo "$as_me: failed program was:" >&5
7588 < sed 's/^/| /' conftest.$ac_ext >&5
7589 <
7590 < ac_cv_lib_fl_yywrap=no
7591 < fi
7592 < rm -f conftest.err conftest.$ac_objext \
7593 <      conftest$ac_exeext conftest.$ac_ext
7594 < LIBS=$ac_check_lib_save_LIBS
7595 < fi
7596 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
7597 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
7598 < if test $ac_cv_lib_fl_yywrap = yes; then
7599 <  LEXLIB="-lfl"
7600 < else
7601 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7602 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7603 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
7604 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7605 < else
7606 <  ac_check_lib_save_LIBS=$LIBS
7607 < LIBS="-ll  $LIBS"
7608 < cat >conftest.$ac_ext <<_ACEOF
7609 < /* confdefs.h.  */
7610 < _ACEOF
7611 < cat confdefs.h >>conftest.$ac_ext
7612 < cat >>conftest.$ac_ext <<_ACEOF
7613 < /* end confdefs.h.  */
7614 <
7615 < /* Override any gcc2 internal prototype to avoid an error.  */
7616 < #ifdef __cplusplus
7617 < extern "C"
7618 < #endif
7619 < /* We use char because int might match the return type of a gcc2
7620 <   builtin and then its argument prototype would still apply.  */
7621 < char yywrap ();
7622 < int
7623 < main ()
7624 < {
7625 < yywrap ();
7626 <  ;
7627 <  return 0;
7628 < }
7629 < _ACEOF
7630 < rm -f conftest.$ac_objext conftest$ac_exeext
7631 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7632 <  (eval $ac_link) 2>conftest.er1
7633 <  ac_status=$?
7634 <  grep -v '^ *+' conftest.er1 >conftest.err
7635 <  rm -f conftest.er1
7636 <  cat conftest.err >&5
7637 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 <  (exit $ac_status); } &&
7639 <         { ac_try='test -z "$ac_c_werror_flag"
7640 <                         || test ! -s conftest.err'
7641 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 <  (eval $ac_try) 2>&5
7643 <  ac_status=$?
7644 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 <  (exit $ac_status); }; } &&
7646 <         { ac_try='test -s conftest$ac_exeext'
7647 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 <  (eval $ac_try) 2>&5
7649 <  ac_status=$?
7650 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 <  (exit $ac_status); }; }; then
7652 <  ac_cv_lib_l_yywrap=yes
7653 < else
7654 <  echo "$as_me: failed program was:" >&5
7655 < sed 's/^/| /' conftest.$ac_ext >&5
7656 <
7657 < ac_cv_lib_l_yywrap=no
7658 < fi
7659 < rm -f conftest.err conftest.$ac_objext \
7660 <      conftest$ac_exeext conftest.$ac_ext
7661 < LIBS=$ac_check_lib_save_LIBS
7662 < fi
7663 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7664 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7665 < if test $ac_cv_lib_l_yywrap = yes; then
7666 <  LEXLIB="-ll"
7667 < fi
7668 <
7669 < fi
7670 <
7671 < fi
7672 <
7673 < if test "x$LEX" != "x:"; then
7674 <  echo "$as_me:$LINENO: checking lex output file root" >&5
7675 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7676 < if test "${ac_cv_prog_lex_root+set}" = set; then
7677 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7678 < else
7679 <  # The minimal lex program is just a single line: %%.  But some broken lexes
7680 < # (Solaris, I think it was) want two %% lines, so accommodate them.
7681 < cat >conftest.l <<_ACEOF
7682 < %%
7683 < %%
7684 < _ACEOF
7685 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7686 <  (eval $LEX conftest.l) 2>&5
7687 <  ac_status=$?
7688 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 <  (exit $ac_status); }
7690 < if test -f lex.yy.c; then
7691 <  ac_cv_prog_lex_root=lex.yy
7692 < elif test -f lexyy.c; then
7693 <  ac_cv_prog_lex_root=lexyy
7694 < else
7695 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7696 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7697 <   { (exit 1); exit 1; }; }
7698 < fi
7699 < fi
7700 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7701 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7702 < rm -f conftest.l
7703 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7704 <
7705 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7706 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7707 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7708 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7709 < else
7710 <  # POSIX says lex can declare yytext either as a pointer or an array; the
7711 < # default is implementation-dependent. Figure out which it is, since
7712 < # not all implementations provide the %pointer and %array declarations.
7713 < ac_cv_prog_lex_yytext_pointer=no
7714 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
7715 < ac_save_LIBS=$LIBS
7716 < LIBS="$LIBS $LEXLIB"
7717 < cat >conftest.$ac_ext <<_ACEOF
7718 < `cat $LEX_OUTPUT_ROOT.c`
7719 < _ACEOF
7720 < rm -f conftest.$ac_objext conftest$ac_exeext
7721 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7722 <  (eval $ac_link) 2>conftest.er1
7723 <  ac_status=$?
7724 <  grep -v '^ *+' conftest.er1 >conftest.err
7725 <  rm -f conftest.er1
7726 <  cat conftest.err >&5
7727 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 <  (exit $ac_status); } &&
7729 <         { ac_try='test -z "$ac_c_werror_flag"
7730 <                         || test ! -s conftest.err'
7731 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7732 <  (eval $ac_try) 2>&5
7733 <  ac_status=$?
7734 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 <  (exit $ac_status); }; } &&
7736 <         { ac_try='test -s conftest$ac_exeext'
7737 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738 <  (eval $ac_try) 2>&5
7739 <  ac_status=$?
7740 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 <  (exit $ac_status); }; }; then
7742 <  ac_cv_prog_lex_yytext_pointer=yes
7743 < else
7744 <  echo "$as_me: failed program was:" >&5
7745 < sed 's/^/| /' conftest.$ac_ext >&5
7746 <
7747 < fi
7748 < rm -f conftest.err conftest.$ac_objext \
7749 <      conftest$ac_exeext conftest.$ac_ext
7750 < LIBS=$ac_save_LIBS
7751 < rm -f "${LEX_OUTPUT_ROOT}.c"
7752 <
7753 < fi
7754 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7755 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7756 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
7757 <
7758 < cat >>confdefs.h <<\_ACEOF
7759 < #define YYTEXT_POINTER 1
7760 < _ACEOF
7761 <
7762 < fi
7763 <
7764 < fi
7765 < # Extract the first word of "ar", so it can be a program name with args.
7766 < set dummy ar; ac_word=$2
7767 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7768 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7769 < if test "${ac_cv_prog_AR+set}" = set; then
7770 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7771 < else
7772 <  if test -n "$AR"; then
7773 <  ac_cv_prog_AR="$AR" # Let the user override the test.
7774 < else
7775 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 < for as_dir in $PATH
7777 < do
7778 <  IFS=$as_save_IFS
7779 <  test -z "$as_dir" && as_dir=.
7780 <  for ac_exec_ext in '' $ac_executable_extensions; do
7781 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7782 <    ac_cv_prog_AR="ar"
7783 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 <    break 2
7785 <  fi
7786 < done
7787 < done
7788 <
7789 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7790 < fi
7791 < fi
7792 < AR=$ac_cv_prog_AR
7793 < if test -n "$AR"; then
7794 <  echo "$as_me:$LINENO: result: $AR" >&5
7795 < echo "${ECHO_T}$AR" >&6
7796 < else
7797 <  echo "$as_me:$LINENO: result: no" >&5
7798 < echo "${ECHO_T}no" >&6
7799 < fi
7800 <
7801 < if test "$AR" = "NONE"; then
7802 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7803 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7804 <   { (exit 1); exit 1; }; }
7805 <  cat >confcache <<\_ACEOF
7806 < # This file is a shell script that caches the results of configure
7807 < # tests run on this system so they can be shared between configure
7808 < # scripts and configure runs, see configure's option --config-cache.
7809 < # It is not useful on other systems.  If it contains results you don't
7810 < # want to keep, you may remove or edit it.
7811 < #
7812 < # config.status only pays attention to the cache file if you give it
7813 < # the --recheck option to rerun configure.
7814 < #
7815 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
7816 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
7817 < # following values.
7818 <
7819 < _ACEOF
7820 <
7821 < # The following way of writing the cache mishandles newlines in values,
7822 < # but we know of no workaround that is simple, portable, and efficient.
7823 < # So, don't put newlines in cache variables' values.
7824 < # Ultrix sh set writes to stderr and can't be redirected directly,
7825 < # and sets the high bit in the cache file unless we assign to the vars.
7826 < {
7827 <  (set) 2>&1 |
7828 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
7829 <    *ac_space=\ *)
7830 <      # `set' does not quote correctly, so add quotes (double-quote
7831 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
7832 <      sed -n \
7833 <        "s/'/'\\\\''/g;
7834 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7835 <      ;;
7836 <    *)
7837 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
7838 <      sed -n \
7839 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7840 <      ;;
7841 <    esac;
7842 < } |
7843 <  sed '
7844 <     t clear
7845 <     : clear
7846 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7847 <     t end
7848 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7849 <     : end' >>confcache
7850 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
7851 <  if test -w $cache_file; then
7852 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7853 <    cat confcache >$cache_file
7854 <  else
7855 <    echo "not updating unwritable cache $cache_file"
7856 <  fi
7857 < fi
7858 < rm -f confcache
7859 <  exit 1
7860 < fi
7861 <
7862 < # Extract the first word of "ps", so it can be a program name with args.
7863 < set dummy ps; ac_word=$2
7864 < echo "$as_me:$LINENO: checking for $ac_word" >&5
7865 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7866 < if test "${ac_cv_path_PS+set}" = set; then
7867 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7868 < else
7869 <  case $PS in
7870 <  [\\/]* | ?:[\\/]*)
7871 <  ac_cv_path_PS="$PS" # Let the user override the test with a path.
7872 <  ;;
7873 <  *)
7874 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 < for as_dir in $PATH
7876 < do
7877 <  IFS=$as_save_IFS
7878 <  test -z "$as_dir" && as_dir=.
7879 <  for ac_exec_ext in '' $ac_executable_extensions; do
7880 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 <    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7882 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 <    break 2
7884 <  fi
7885 < done
7886 < done
7887 <
7888 <  ;;
7889 < esac
7890 < fi
7891 < PS=$ac_cv_path_PS
7892 <
7893 < if test -n "$PS"; then
7894 <  echo "$as_me:$LINENO: result: $PS" >&5
7895 < echo "${ECHO_T}$PS" >&6
7896 < else
7897 <  echo "$as_me:$LINENO: result: no" >&5
7898 < echo "${ECHO_T}no" >&6
7899 < fi
7900 <
7901 < echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7902 < echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7903 < if test "${ac_cv_prog_ps_syntax+set}" = set; then
7904 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7905 < else
7906 <
7907 <        if $PS ax -o rss > /dev/null 2>&1; then
7908 <                ac_cv_prog_ps_ax=yes
7909 <        else
7910 <                ac_cv_prog_ps_ax=no
7911 <        fi
7912 <        if $PS -ef -o rss > /dev/null 2>&1; then
7913 <                ac_cv_prog_ps_ef=yes
7914 <        else
7915 <                ac_cv_prog_ps_ef=no
7916 <        fi
7917 <        if test "$ac_cv_prog_ps_ax" = yes; then
7918 <                ac_cv_prog_ps_syntax=BSD
7919 <        else
7920 <                if test "$ac_cv_prog_ps_es" = yes; then
7921 <                        ac_cv_prog_ps_syntax=POSIX
7922 <                else
7923 <                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7924 < echo "$as_me: error: Could not determine ps syntax" >&2;}
7925 <   { (exit 1); exit 1; }; }
7926 <                fi
7927 <        fi
7928 <
7929 < fi
7930 < echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7931 < echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7932 <
7933 < cat >>confdefs.h <<_ACEOF
7934 < #define PSCOMMAND "$PS"
7935 < _ACEOF
7936 <
7937 <
7938 < cat >>confdefs.h <<_ACEOF
7939 < #define PSTYPE $ac_cv_prog_ps_syntax
7940 < _ACEOF
7941 <
7942 <
7943 <
7944 <
7945 < # Check whether --with-mpi or --without-mpi was given.
7946 < if test "${with_mpi+set}" = set; then
7947 <  withval="$with_mpi"
7948 <  with_mpi=$withval
7949 < else
7950 <  with_mpi="no"
7951 < fi;
7952 <
7953 < case "x$with_mpi" in
7954 <        xyes | "x")  USE_MPI=yes;;
7955 <        xno) USE_MPI=no ;;
7956 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
7957 < esac
7958 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
7959 <        MPI="/usr/local"
7960 < fi
7961 < if test "$USE_MPI" = "yes"; then
7962 <
7963 <
7964 < # Set variables...
7965 < MPI_LIB_DIR="$MPI/lib"
7966 < MPI_INC_DIR="$MPI/include"
7967 <
7968 <
7969 <
7970 < echo "$as_me:$LINENO: checking for mpi.h" >&5
7971 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7972 < have_mpi_h=0
7973 < echo '#include <mpi.h>' > conftest.cc
7974 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7975 <        echo "$as_me:$LINENO: result: yes" >&5
7976 < echo "${ECHO_T}yes" >&6
7977 <        have_mpi_h=1
7978 < else
7979 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7980 < echo "${ECHO_T}no! Check MPI include paths" >&6
7981 <        USE_MPI="no"
7982 < fi
7983 < rm -f conftest*
7984 < if test "$have_mpi_h" = 1; then
7985 <
7986 < cat >>confdefs.h <<\_ACEOF
7987 < #define HAVE_MPI_H 1
7988 < _ACEOF
7989 <
7990 < fi
7991 <
7992 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7993 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7994 < have_mpif_h=0
7995 < rm -f conftest*
7996 < cat >conftest.f90 <<EOF
7997 < program main
7998 <   include 'mpif.h'
7999 < end
8000 < EOF
8001 < if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
8002 <        echo "$as_me:$LINENO: result: yes" >&5
8003 < echo "${ECHO_T}yes" >&6
8004 <        MPI_F90_INC="$MPI_INC_DIR"
8005 <        have_mpif_h=1
8006 < else
8007 <        if test -s conftest.out ; then
8008 <                cat conftest.out >> config.log
8009 <        fi
8010 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
8011 < echo "${ECHO_T}no! Check MPI include paths" >&6
8012 <        USE_MPI="no"
8013 < fi
8014 < rm -f conftest*
8015 <
8016 < if test "$have_mpif_h" = 1; then
8017 <
8018 < cat >>confdefs.h <<\_ACEOF
8019 < #define HAVE_MPIF_H 1
8020 < _ACEOF
8021 <
8022 < fi
8023 <
8024 < ac_ext=c
8025 < ac_cpp='$CPP $CPPFLAGS'
8026 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8027 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8028 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8029 <
8030 < ac_save_LDFLAGS=$LDFLAGS
8031 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
8032 <
8033 < if test x = x"$MPI_LIB"; then
8034 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
8035 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
8036 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
8037 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8038 < else
8039 <  ac_check_lib_save_LIBS=$LIBS
8040 < LIBS="-lmpich  $LIBS"
8041 < cat >conftest.$ac_ext <<_ACEOF
8042 < /* confdefs.h.  */
8043 < _ACEOF
8044 < cat confdefs.h >>conftest.$ac_ext
8045 < cat >>conftest.$ac_ext <<_ACEOF
8046 < /* end confdefs.h.  */
8047 <
8048 < /* Override any gcc2 internal prototype to avoid an error.  */
8049 < #ifdef __cplusplus
8050 < extern "C"
8051 < #endif
8052 < /* We use char because int might match the return type of a gcc2
8053 <   builtin and then its argument prototype would still apply.  */
8054 < char MPI_Init ();
8055 < int
8056 < main ()
8057 < {
8058 < MPI_Init ();
8059 <  ;
8060 <  return 0;
8061 < }
8062 < _ACEOF
8063 < rm -f conftest.$ac_objext conftest$ac_exeext
8064 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8065 <  (eval $ac_link) 2>conftest.er1
8066 <  ac_status=$?
8067 <  grep -v '^ *+' conftest.er1 >conftest.err
8068 <  rm -f conftest.er1
8069 <  cat conftest.err >&5
8070 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 <  (exit $ac_status); } &&
8072 <         { ac_try='test -z "$ac_c_werror_flag"
8073 <                         || test ! -s conftest.err'
8074 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 <  (eval $ac_try) 2>&5
8076 <  ac_status=$?
8077 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 <  (exit $ac_status); }; } &&
8079 <         { ac_try='test -s conftest$ac_exeext'
8080 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 <  (eval $ac_try) 2>&5
8082 <  ac_status=$?
8083 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 <  (exit $ac_status); }; }; then
8085 <  ac_cv_lib_mpich_MPI_Init=yes
8086 < else
8087 <  echo "$as_me: failed program was:" >&5
8088 < sed 's/^/| /' conftest.$ac_ext >&5
8089 <
8090 < ac_cv_lib_mpich_MPI_Init=no
8091 < fi
8092 < rm -f conftest.err conftest.$ac_objext \
8093 <      conftest$ac_exeext conftest.$ac_ext
8094 < LIBS=$ac_check_lib_save_LIBS
8095 < fi
8096 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8097 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8098 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
8099 <  MPI_LIB="-lmpich"
8100 < fi
8101 <
8102 < fi
8103 < if test x = x"$MPI_LIB"; then
8104 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8105 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8106 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8107 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8108 < else
8109 <  ac_check_lib_save_LIBS=$LIBS
8110 < LIBS="-lmpi  $LIBS"
8111 < cat >conftest.$ac_ext <<_ACEOF
8112 < /* confdefs.h.  */
8113 < _ACEOF
8114 < cat confdefs.h >>conftest.$ac_ext
8115 < cat >>conftest.$ac_ext <<_ACEOF
8116 < /* end confdefs.h.  */
8117 <
8118 < /* Override any gcc2 internal prototype to avoid an error.  */
8119 < #ifdef __cplusplus
8120 < extern "C"
8121 < #endif
8122 < /* We use char because int might match the return type of a gcc2
8123 <   builtin and then its argument prototype would still apply.  */
8124 < char MPI_Init ();
8125 < int
8126 < main ()
8127 < {
8128 < MPI_Init ();
8129 <  ;
8130 <  return 0;
8131 < }
8132 < _ACEOF
8133 < rm -f conftest.$ac_objext conftest$ac_exeext
8134 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8135 <  (eval $ac_link) 2>conftest.er1
8136 <  ac_status=$?
8137 <  grep -v '^ *+' conftest.er1 >conftest.err
8138 <  rm -f conftest.er1
8139 <  cat conftest.err >&5
8140 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 <  (exit $ac_status); } &&
8142 <         { ac_try='test -z "$ac_c_werror_flag"
8143 <                         || test ! -s conftest.err'
8144 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 <  (eval $ac_try) 2>&5
8146 <  ac_status=$?
8147 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 <  (exit $ac_status); }; } &&
8149 <         { ac_try='test -s conftest$ac_exeext'
8150 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 <  (eval $ac_try) 2>&5
8152 <  ac_status=$?
8153 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 <  (exit $ac_status); }; }; then
8155 <  ac_cv_lib_mpi_MPI_Init=yes
8156 < else
8157 <  echo "$as_me: failed program was:" >&5
8158 < sed 's/^/| /' conftest.$ac_ext >&5
8159 <
8160 < ac_cv_lib_mpi_MPI_Init=no
8161 < fi
8162 < rm -f conftest.err conftest.$ac_objext \
8163 <      conftest$ac_exeext conftest.$ac_ext
8164 < LIBS=$ac_check_lib_save_LIBS
8165 < fi
8166 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8167 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8168 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8169 <  MPI_LIB="-lmpi"
8170 < fi
8171 <
8172 < fi
8173 < $as_unset ac_cv_lib_mpi_MPI_Init
8174 < if test x = x"$MPI_LIB"; then
8175 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8176 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8177 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8178 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8179 < else
8180 <  ac_check_lib_save_LIBS=$LIBS
8181 < LIBS="-lmpi "-llam" $LIBS"
8182 < cat >conftest.$ac_ext <<_ACEOF
8183 < /* confdefs.h.  */
8184 < _ACEOF
8185 < cat confdefs.h >>conftest.$ac_ext
8186 < cat >>conftest.$ac_ext <<_ACEOF
8187 < /* end confdefs.h.  */
8188 <
8189 < /* Override any gcc2 internal prototype to avoid an error.  */
8190 < #ifdef __cplusplus
8191 < extern "C"
8192 < #endif
8193 < /* We use char because int might match the return type of a gcc2
8194 <   builtin and then its argument prototype would still apply.  */
8195 < char MPI_Init ();
8196 < int
8197 < main ()
8198 < {
8199 < MPI_Init ();
8200 <  ;
8201 <  return 0;
8202 < }
8203 < _ACEOF
8204 < rm -f conftest.$ac_objext conftest$ac_exeext
8205 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8206 <  (eval $ac_link) 2>conftest.er1
8207 <  ac_status=$?
8208 <  grep -v '^ *+' conftest.er1 >conftest.err
8209 <  rm -f conftest.er1
8210 <  cat conftest.err >&5
8211 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 <  (exit $ac_status); } &&
8213 <         { ac_try='test -z "$ac_c_werror_flag"
8214 <                         || test ! -s conftest.err'
8215 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 <  (eval $ac_try) 2>&5
8217 <  ac_status=$?
8218 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 <  (exit $ac_status); }; } &&
8220 <         { ac_try='test -s conftest$ac_exeext'
8221 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8222 <  (eval $ac_try) 2>&5
8223 <  ac_status=$?
8224 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 <  (exit $ac_status); }; }; then
8226 <  ac_cv_lib_mpi_MPI_Init=yes
8227 < else
8228 <  echo "$as_me: failed program was:" >&5
8229 < sed 's/^/| /' conftest.$ac_ext >&5
8230 <
8231 < ac_cv_lib_mpi_MPI_Init=no
8232 < fi
8233 < rm -f conftest.err conftest.$ac_objext \
8234 <      conftest$ac_exeext conftest.$ac_ext
8235 < LIBS=$ac_check_lib_save_LIBS
8236 < fi
8237 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8238 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8239 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8240 <  MPI_LIB="-lmpi -llam"
8241 < fi
8242 <
8243 < fi
8244 < $as_unset ac_cv_lib_mpich_MPI_Init
8245 < if test x = x"$MPI_LIB"; then
8246 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
8247 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
8248 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
8249 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8250 < else
8251 <  ac_check_lib_save_LIBS=$LIBS
8252 < LIBS="-lmpich "-lpmpich" $LIBS"
8253 < cat >conftest.$ac_ext <<_ACEOF
8254 < /* confdefs.h.  */
8255 < _ACEOF
8256 < cat confdefs.h >>conftest.$ac_ext
8257 < cat >>conftest.$ac_ext <<_ACEOF
8258 < /* end confdefs.h.  */
8259 <
8260 < /* Override any gcc2 internal prototype to avoid an error.  */
8261 < #ifdef __cplusplus
8262 < extern "C"
8263 < #endif
8264 < /* We use char because int might match the return type of a gcc2
8265 <   builtin and then its argument prototype would still apply.  */
8266 < char MPI_Init ();
8267 < int
8268 < main ()
8269 < {
8270 < MPI_Init ();
8271 <  ;
8272 <  return 0;
8273 < }
8274 < _ACEOF
8275 < rm -f conftest.$ac_objext conftest$ac_exeext
8276 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8277 <  (eval $ac_link) 2>conftest.er1
8278 <  ac_status=$?
8279 <  grep -v '^ *+' conftest.er1 >conftest.err
8280 <  rm -f conftest.er1
8281 <  cat conftest.err >&5
8282 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 <  (exit $ac_status); } &&
8284 <         { ac_try='test -z "$ac_c_werror_flag"
8285 <                         || test ! -s conftest.err'
8286 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 <  (eval $ac_try) 2>&5
8288 <  ac_status=$?
8289 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 <  (exit $ac_status); }; } &&
8291 <         { ac_try='test -s conftest$ac_exeext'
8292 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 <  (eval $ac_try) 2>&5
8294 <  ac_status=$?
8295 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 <  (exit $ac_status); }; }; then
8297 <  ac_cv_lib_mpich_MPI_Init=yes
8298 < else
8299 <  echo "$as_me: failed program was:" >&5
8300 < sed 's/^/| /' conftest.$ac_ext >&5
8301 <
8302 < ac_cv_lib_mpich_MPI_Init=no
8303 < fi
8304 < rm -f conftest.err conftest.$ac_objext \
8305 <      conftest$ac_exeext conftest.$ac_ext
8306 < LIBS=$ac_check_lib_save_LIBS
8307 < fi
8308 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8309 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8310 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
8311 <  MPI_LIB="-lmpich -lpmpich"
8312 < fi
8313 <
8314 < fi
8315 <
8316 < $as_unset ac_cv_lib_mpi_MPI_Init
8317 < if test x = x"$MPI_LIB"; then
8318 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8319 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8320 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8321 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8322 < else
8323 <  ac_check_lib_save_LIBS=$LIBS
8324 < LIBS="-lmpi -llam -lpthread $LIBS"
8325 < cat >conftest.$ac_ext <<_ACEOF
8326 < /* confdefs.h.  */
8327 < _ACEOF
8328 < cat confdefs.h >>conftest.$ac_ext
8329 < cat >>conftest.$ac_ext <<_ACEOF
8330 < /* end confdefs.h.  */
8331 <
8332 < /* Override any gcc2 internal prototype to avoid an error.  */
8333 < #ifdef __cplusplus
8334 < extern "C"
8335 < #endif
8336 < /* We use char because int might match the return type of a gcc2
8337 <   builtin and then its argument prototype would still apply.  */
8338 < char MPI_Init ();
8339 < int
8340 < main ()
8341 < {
8342 < MPI_Init ();
8343 <  ;
8344 <  return 0;
8345 < }
8346 < _ACEOF
8347 < rm -f conftest.$ac_objext conftest$ac_exeext
8348 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8349 <  (eval $ac_link) 2>conftest.er1
8350 <  ac_status=$?
8351 <  grep -v '^ *+' conftest.er1 >conftest.err
8352 <  rm -f conftest.er1
8353 <  cat conftest.err >&5
8354 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 <  (exit $ac_status); } &&
8356 <         { ac_try='test -z "$ac_c_werror_flag"
8357 <                         || test ! -s conftest.err'
8358 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8359 <  (eval $ac_try) 2>&5
8360 <  ac_status=$?
8361 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 <  (exit $ac_status); }; } &&
8363 <         { ac_try='test -s conftest$ac_exeext'
8364 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 <  (eval $ac_try) 2>&5
8366 <  ac_status=$?
8367 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 <  (exit $ac_status); }; }; then
8369 <  ac_cv_lib_mpi_MPI_Init=yes
8370 < else
8371 <  echo "$as_me: failed program was:" >&5
8372 < sed 's/^/| /' conftest.$ac_ext >&5
8373 <
8374 < ac_cv_lib_mpi_MPI_Init=no
8375 < fi
8376 < rm -f conftest.err conftest.$ac_objext \
8377 <      conftest$ac_exeext conftest.$ac_ext
8378 < LIBS=$ac_check_lib_save_LIBS
8379 < fi
8380 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8381 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8382 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
8383 <  MPI_LIB="-lmpi -llam -lpthread"
8384 < else
8385 <
8386 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
8387 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
8388 <   { (exit 1); exit 1; }; }
8389 <             USE_MPI="no"
8390 <
8391 < fi
8392 <
8393 < fi
8394 <
8395 <
8396 <
8397 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
8398 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
8399 < MPI_F90_LIB=""
8400 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
8401 <        MPI_F90_LIB="-lfmpich"
8402 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
8403 <        MPI_F90_LIB="-llamf77mpi"
8404 < else
8405 <                        MPI_F90_LIB="  "
8406 < fi
8407 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
8408 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
8409 <
8410 <
8411 < fi
8412 <
8413 <
8414 <
8415 < # Check whether --with-sprng or --without-sprng was given.
8416 < if test "${with_sprng+set}" = set; then
8417 <  withval="$with_sprng"
8418 <  with_sprng=$withval
8419 < else
8420 <  with_sprng="/usr/local"
8421 < fi;
8422 <
8423 < case "x$with_sprng" in
8424 <        xyes | "x")  USE_SPRNG=yes;;
8425 <        xno) USE_SPRNG=no ;;
8426 <        *) SPRNG="$with_sprng"; USE_SPRNG=yes ;;
8427 < esac
8428 < if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then
8429 <        SPRNG="/usr/local"
8430 < fi
8431 < if test "$USE_SPRNG" = "yes"; then
8432 <
8433 <
8434 < # Set variables...
8435 < SPRNG_LIB_DIR="$SPRNG/lib"
8436 < SPRNG_INC_DIR="$SPRNG/include"
8437 <
8438 <
8439 <
8440 < echo "$as_me:$LINENO: checking for sprng.h" >&5
8441 < echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
8442 < have_sprng_h=0
8443 < echo '#include <sprng.h>' > conftest.cc
8444 < if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then
8445 <        echo "$as_me:$LINENO: result: yes" >&5
8446 < echo "${ECHO_T}yes" >&6
8447 <        have_sprng_h=1
8448 < else
8449 <        echo "$as_me:$LINENO: result: no! Check SPRNG include path!" >&5
8450 < echo "${ECHO_T}no! Check SPRNG include path!" >&6
8451 <        USE_SPRNG="no"
8452 < fi
8453 < rm -f conftest*
8454 < if test "$have_sprng_h" = 1; then
8455 <
8456 < cat >>confdefs.h <<\_ACEOF
8457 < #define HAVE_SPRNG_H 1
8458 < _ACEOF
8459 <
8460 < fi
8461 <
8462 < ac_ext=c
8463 < ac_cpp='$CPP $CPPFLAGS'
8464 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8465 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8466 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8467 <
8468 < ac_save_LDFLAGS=$LDFLAGS
8469 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
8470 <
8471 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
8472 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
8473 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
8474 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8475 < else
8476 <  ac_check_lib_save_LIBS=$LIBS
8477 < LIBS="-lsprng  $LIBS"
8478 < cat >conftest.$ac_ext <<_ACEOF
8479 < /* confdefs.h.  */
8480 < _ACEOF
8481 < cat confdefs.h >>conftest.$ac_ext
8482 < cat >>conftest.$ac_ext <<_ACEOF
8483 < /* end confdefs.h.  */
8484 <
8485 < /* Override any gcc2 internal prototype to avoid an error.  */
8486 < #ifdef __cplusplus
8487 < extern "C"
8488 < #endif
8489 < /* We use char because int might match the return type of a gcc2
8490 <   builtin and then its argument prototype would still apply.  */
8491 < char init_rng ();
8492 < int
8493 < main ()
8494 < {
8495 < init_rng ();
8496 <  ;
8497 <  return 0;
8498 < }
8499 < _ACEOF
8500 < rm -f conftest.$ac_objext conftest$ac_exeext
8501 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8502 <  (eval $ac_link) 2>conftest.er1
8503 <  ac_status=$?
8504 <  grep -v '^ *+' conftest.er1 >conftest.err
8505 <  rm -f conftest.er1
8506 <  cat conftest.err >&5
8507 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 <  (exit $ac_status); } &&
8509 <         { ac_try='test -z "$ac_c_werror_flag"
8510 <                         || test ! -s conftest.err'
8511 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 <  (eval $ac_try) 2>&5
8513 <  ac_status=$?
8514 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 <  (exit $ac_status); }; } &&
8516 <         { ac_try='test -s conftest$ac_exeext'
8517 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 <  (eval $ac_try) 2>&5
8519 <  ac_status=$?
8520 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 <  (exit $ac_status); }; }; then
8522 <  ac_cv_lib_sprng_init_rng=yes
8523 < else
8524 <  echo "$as_me: failed program was:" >&5
8525 < sed 's/^/| /' conftest.$ac_ext >&5
8526 <
8527 < ac_cv_lib_sprng_init_rng=no
8528 < fi
8529 < rm -f conftest.err conftest.$ac_objext \
8530 <      conftest$ac_exeext conftest.$ac_ext
8531 < LIBS=$ac_check_lib_save_LIBS
8532 < fi
8533 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
8534 < echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6
8535 < if test $ac_cv_lib_sprng_init_rng = yes; then
8536 <  SPRNG_LIB="-lsprng"
8537 < else
8538 <
8539 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
8540 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
8541 <   { (exit 1); exit 1; }; }
8542 <             USE_SPRNG="no"
8543 <
8544 < fi
8545 <
8546 <
8547 < if test "$USE_SPRNG" = "no"; then
8548 <  { { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5
8549 < echo "$as_me: error: No working SPRNG library found" >&2;}
8550 <   { (exit 1); exit 1; }; }
8551 < fi
8552 <
8553 <
8554 < fi
8555 <
8556 <
8557 <
8558 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
8559 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
8560 <
8561 < # Check whether --with-mkl or --without-mkl was given.
8562 < if test "${with_mkl+set}" = set; then
8563 <  withval="$with_mkl"
8564 <     echo "$as_me:$LINENO: result: yes" >&5
8565 < echo "${ECHO_T}yes" >&6
8566 <    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
8567 <        mkldir="$dir"
8568 <        if test -f "$dir/include/mkl.h"; then
8569 <            found_mkl="yes";
8570 <            break;
8571 <        fi
8572 <    done
8573 <    if test x_$found_mkl != x_yes; then
8574 <        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
8575 < echo "$as_me: error: Cannot find MKL includes" >&2;}
8576 <   { (exit 1); exit 1; }; }
8577 <    else
8578 <        printf "MKL includes found in $mkldir/include\n";
8579 <    fi
8580 <
8581 <
8582 <
8583 <  ac_ext=c
8584 < ac_cpp='$CPP $CPPFLAGS'
8585 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8586 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8588 <
8589 <  ac_save_CPPFLAGS=$CPPFLAGS
8590 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
8591 <  ac_save_LDFLAGS=$LDFLAGS
8592 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
8593 <  if test "${ac_cv_header_mkl_h+set}" = set; then
8594 <  echo "$as_me:$LINENO: checking for mkl.h" >&5
8595 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8596 < if test "${ac_cv_header_mkl_h+set}" = set; then
8597 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8598 < fi
8599 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8600 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8601 < else
8602 <  # Is the header compilable?
8603 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
8604 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
8605 < cat >conftest.$ac_ext <<_ACEOF
8606 < /* confdefs.h.  */
8607 < _ACEOF
8608 < cat confdefs.h >>conftest.$ac_ext
8609 < cat >>conftest.$ac_ext <<_ACEOF
8610 < /* end confdefs.h.  */
8611 < $ac_includes_default
8612 < #include <mkl.h>
8613 < _ACEOF
8614 < rm -f conftest.$ac_objext
8615 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8616 <  (eval $ac_compile) 2>conftest.er1
8617 <  ac_status=$?
8618 <  grep -v '^ *+' conftest.er1 >conftest.err
8619 <  rm -f conftest.er1
8620 <  cat conftest.err >&5
8621 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 <  (exit $ac_status); } &&
8623 <         { ac_try='test -z "$ac_c_werror_flag"
8624 <                         || test ! -s conftest.err'
8625 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 <  (eval $ac_try) 2>&5
8627 <  ac_status=$?
8628 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 <  (exit $ac_status); }; } &&
8630 <         { ac_try='test -s conftest.$ac_objext'
8631 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8632 <  (eval $ac_try) 2>&5
8633 <  ac_status=$?
8634 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 <  (exit $ac_status); }; }; then
8636 <  ac_header_compiler=yes
8637 < else
8638 <  echo "$as_me: failed program was:" >&5
8639 < sed 's/^/| /' conftest.$ac_ext >&5
8640 <
8641 < ac_header_compiler=no
8642 < fi
8643 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8644 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8645 < echo "${ECHO_T}$ac_header_compiler" >&6
8646 <
8647 < # Is the header present?
8648 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
8649 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
8650 < cat >conftest.$ac_ext <<_ACEOF
8651 < /* confdefs.h.  */
8652 < _ACEOF
8653 < cat confdefs.h >>conftest.$ac_ext
8654 < cat >>conftest.$ac_ext <<_ACEOF
8655 < /* end confdefs.h.  */
8656 < #include <mkl.h>
8657 < _ACEOF
8658 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8659 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8660 <  ac_status=$?
8661 <  grep -v '^ *+' conftest.er1 >conftest.err
8662 <  rm -f conftest.er1
8663 <  cat conftest.err >&5
8664 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 <  (exit $ac_status); } >/dev/null; then
8666 <  if test -s conftest.err; then
8667 <    ac_cpp_err=$ac_c_preproc_warn_flag
8668 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8669 <  else
8670 <    ac_cpp_err=
8671 <  fi
8672 < else
8673 <  ac_cpp_err=yes
8674 < fi
8675 < if test -z "$ac_cpp_err"; then
8676 <  ac_header_preproc=yes
8677 < else
8678 <  echo "$as_me: failed program was:" >&5
8679 < sed 's/^/| /' conftest.$ac_ext >&5
8680 <
8681 <  ac_header_preproc=no
8682 < fi
8683 < rm -f conftest.err conftest.$ac_ext
8684 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8685 < echo "${ECHO_T}$ac_header_preproc" >&6
8686 <
8687 < # So?  What about this header?
8688 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8689 <  yes:no: )
8690 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8691 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8692 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
8693 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
8694 <    ac_header_preproc=yes
8695 <    ;;
8696 <  no:yes:* )
8697 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
8698 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
8699 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
8700 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
8701 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
8702 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
8703 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
8704 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8705 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8706 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8707 <    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
8708 < echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
8709 <    (
8710 <      cat <<\_ASBOX
8711 < ## ------------------------------ ##
8712 < ## Report this to gezelter@nd.edu ##
8713 < ## ------------------------------ ##
8714 < _ASBOX
8715 <    ) |
8716 <      sed "s/^/$as_me: WARNING:     /" >&2
8717 <    ;;
8718 < esac
8719 < echo "$as_me:$LINENO: checking for mkl.h" >&5
8720 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8721 < if test "${ac_cv_header_mkl_h+set}" = set; then
8722 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8723 < else
8724 <  ac_cv_header_mkl_h=$ac_header_preproc
8725 < fi
8726 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8727 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8728 <
8729 < fi
8730 < if test $ac_cv_header_mkl_h = yes; then
8731 <
8732 <    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
8733 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
8734 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
8735 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8736 < else
8737 <  ac_check_lib_save_LIBS=$LIBS
8738 < LIBS="-lmkl  $LIBS"
8739 < cat >conftest.$ac_ext <<_ACEOF
8740 < /* confdefs.h.  */
8741 < _ACEOF
8742 < cat confdefs.h >>conftest.$ac_ext
8743 < cat >>conftest.$ac_ext <<_ACEOF
8744 < /* end confdefs.h.  */
8745 <
8746 < /* Override any gcc2 internal prototype to avoid an error.  */
8747 < #ifdef __cplusplus
8748 < extern "C"
8749 < #endif
8750 < /* We use char because int might match the return type of a gcc2
8751 <   builtin and then its argument prototype would still apply.  */
8752 < char vslNewStream ();
8753 < int
8754 < main ()
8755 < {
8756 < vslNewStream ();
8757 <  ;
8758 <  return 0;
8759 < }
8760 < _ACEOF
8761 < rm -f conftest.$ac_objext conftest$ac_exeext
8762 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8763 <  (eval $ac_link) 2>conftest.er1
8764 <  ac_status=$?
8765 <  grep -v '^ *+' conftest.er1 >conftest.err
8766 <  rm -f conftest.er1
8767 <  cat conftest.err >&5
8768 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 <  (exit $ac_status); } &&
8770 <         { ac_try='test -z "$ac_c_werror_flag"
8771 <                         || test ! -s conftest.err'
8772 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8773 <  (eval $ac_try) 2>&5
8774 <  ac_status=$?
8775 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 <  (exit $ac_status); }; } &&
8777 <         { ac_try='test -s conftest$ac_exeext'
8778 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 <  (eval $ac_try) 2>&5
8780 <  ac_status=$?
8781 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 <  (exit $ac_status); }; }; then
8783 <  ac_cv_lib_mkl_vslNewStream=yes
8784 < else
8785 <  echo "$as_me: failed program was:" >&5
8786 < sed 's/^/| /' conftest.$ac_ext >&5
8787 <
8788 < ac_cv_lib_mkl_vslNewStream=no
8789 < fi
8790 < rm -f conftest.err conftest.$ac_objext \
8791 <      conftest$ac_exeext conftest.$ac_ext
8792 < LIBS=$ac_check_lib_save_LIBS
8793 < fi
8794 < echo "$as_me:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
8795 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
8796 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
8797 <  MKL_LIBDIR="${mkldir}/lib/32",
8798 <                     MKL_LIB="-lmkl -lvml -lguide",
8799 <                     HAVE_MKL="yes"
8800 < fi
8801 <
8802 <
8803 < else
8804 <  MKL_INC="-I${mkldir}/include"
8805 < fi
8806 <
8807 <
8808 <  CPPFLAGS=$ac_save_CPPFLAGS
8809 <  LDFLAGS=$ac_save_LDFLAGS
8810 <  ac_ext=c
8811 < ac_cpp='$CPP $CPPFLAGS'
8812 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8813 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8814 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8815 <
8816 <
8817 <  if test x_$HAVE_MKL != x_yes; then
8818 <        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
8819 < echo "$as_me: error: Can't build with MKL" >&2;}
8820 <   { (exit 1); exit 1; }; }
8821 <  fi
8822 <
8823 <
8824 <
8825 <
8826 <
8827 < else
8828 <
8829 <    echo "$as_me:$LINENO: result: no" >&5
8830 < echo "${ECHO_T}no" >&6
8831 <
8832 < fi;
8833 <
8834 <
8835 <
8836 < # Check whether --enable-doxygen or --disable-doxygen was given.
8837 < if test "${enable_doxygen+set}" = set; then
8838 <  enableval="$enable_doxygen"
8839 <
8840 < fi;
8841 < # Check whether --enable-dot or --disable-dot was given.
8842 < if test "${enable_dot+set}" = set; then
8843 <  enableval="$enable_dot"
8844 <
8845 < fi;
8846 < # Check whether --enable-html-docs or --disable-html-docs was given.
8847 < if test "${enable_html_docs+set}" = set; then
8848 <  enableval="$enable_html_docs"
8849 <
8850 < else
8851 <   enable_html_docs=yes
8852 < fi;
8853 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
8854 < if test "${enable_latex_docs+set}" = set; then
8855 <  enableval="$enable_latex_docs"
8856 <
8857 < else
8858 <   enable_latex_docs=no
8859 < fi;
8860 < if test "x$enable_doxygen" = xno; then
8861 <        enable_doc=no
8862 < else
8863 <        # Extract the first word of "doxygen", so it can be a program name with args.
8864 < set dummy doxygen; ac_word=$2
8865 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8866 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8867 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
8868 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8869 < else
8870 <  case $DOXYGEN in
8871 <  [\\/]* | ?:[\\/]*)
8872 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8873 <  ;;
8874 <  *)
8875 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8876 < for as_dir in $PATH
8877 < do
8878 <  IFS=$as_save_IFS
8879 <  test -z "$as_dir" && as_dir=.
8880 <  for ac_exec_ext in '' $ac_executable_extensions; do
8881 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8882 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8883 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8884 <    break 2
8885 <  fi
8886 < done
8887 < done
8888 <
8889 <  ;;
8890 < esac
8891 < fi
8892 < DOXYGEN=$ac_cv_path_DOXYGEN
8893 <
8894 < if test -n "$DOXYGEN"; then
8895 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8896 < echo "${ECHO_T}$DOXYGEN" >&6
8897 < else
8898 <  echo "$as_me:$LINENO: result: no" >&5
8899 < echo "${ECHO_T}no" >&6
8900 < fi
8901 <
8902 <        if test "x$DOXYGEN" = x; then
8903 <                if test "x$enable_doxygen" = xyes; then
8904 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8905 < echo "$as_me: error: could not find doxygen" >&2;}
8906 <   { (exit 1); exit 1; }; }
8907 <                fi
8908 <                enable_doc=no
8909 <        else
8910 <                enable_doc=yes
8911 <                # Extract the first word of "dot", so it can be a program name with args.
8912 < set dummy dot; ac_word=$2
8913 < echo "$as_me:$LINENO: checking for $ac_word" >&5
8914 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8915 < if test "${ac_cv_path_DOT+set}" = set; then
8916 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8917 < else
8918 <  case $DOT in
8919 <  [\\/]* | ?:[\\/]*)
8920 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8921 <  ;;
8922 <  *)
8923 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924 < for as_dir in $PATH
8925 < do
8926 <  IFS=$as_save_IFS
8927 <  test -z "$as_dir" && as_dir=.
8928 <  for ac_exec_ext in '' $ac_executable_extensions; do
8929 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8930 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8931 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8932 <    break 2
8933 <  fi
8934 < done
8935 < done
8936 <
8937 <  ;;
8938 < esac
8939 < fi
8940 < DOT=$ac_cv_path_DOT
8941 <
8942 < if test -n "$DOT"; then
8943 <  echo "$as_me:$LINENO: result: $DOT" >&5
8944 < echo "${ECHO_T}$DOT" >&6
8945 < else
8946 <  echo "$as_me:$LINENO: result: no" >&5
8947 < echo "${ECHO_T}no" >&6
8948 < fi
8949 <
8950 <        fi
8951 < fi
8952 <
8953 < if test "x$enable_doc" = xyes; then
8954 <  DOC=1
8955 < else
8956 <  DOC=0
8957 < fi
8958 <
8959 <
8960 < if test x$DOT = x; then
8961 <        if test "x$enable_dot" = xyes; then
8962 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8963 < echo "$as_me: error: could not find dot" >&2;}
8964 <   { (exit 1); exit 1; }; }
8965 <        fi
8966 <        enable_dot=no
8967 < else
8968 <        enable_dot=yes
8969 < fi
8970 <
8971 <
8972 <
8973 <
8974 <
8975 <
8976 <
8977 < OBJEXT=".$OBJEXT"
8978 <
8979 < OOPSE=oopse
8980 <
8981 < if test "x${prefix}" = "xNONE"
8982 < then
8983 <  OOPSE_HOME=${ac_default_prefix}/oopse
8984 < else
8985 <  OOPSE_HOME=${prefix}/oopse
8986 < fi
8987 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
8988 < if test "${enable_oopse_home+set}" = set; then
8989 <  enableval="$enable_oopse_home"
8990 <  OOPSE_HOME="${enableval}"
8991 < fi;
8992 <
8993 < case "x$INSTALL" in
8994 <   x/*) ;;
8995 <   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
8996 < esac
8997 <
8998 < MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
8999 <
9000 < CFLAGS=${CFLAGS-""}
9001 < CXXFLAGS=${CXXFLAGS-""}
9002 < CPPFLAGS=${CPPFLAGS-""}
9003 < FFLAGS=${FFLAGS-""}
9004 < F90FLAGS=${F90FLAGS-""}
9005 < LDFLAGS=${LDFLAGS-""}
9006 < DEBUG=${DEBUG-"-g"}
9007 <
9008 < case $debug in
9009 <  1)
9010 <     FFLAGS="$DEBUG $FFLAGS"
9011 <     F90FLAGS="$DEBUG $F90FLAGS"
9012 <     ;;
9013 <  *)
9014 <     ;;
9015 < esac
9016 <
9017 <
9018 <
9019 <
9020 <
9021 <
9022 <
9023 <
9024 <
9025 <
9026 <
9027 <
9028 <
9029 <
9030 <
9031 <
9032 <
9033 <
9034 <          ac_config_headers="$ac_config_headers src/config.h"
9035 <
9036 <                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
9037 <
9038 <
9039 < cat >confcache <<\_ACEOF
9040 < # This file is a shell script that caches the results of configure
9041 < # tests run on this system so they can be shared between configure
9042 < # scripts and configure runs, see configure's option --config-cache.
9043 < # It is not useful on other systems.  If it contains results you don't
9044 < # want to keep, you may remove or edit it.
9045 < #
9046 < # config.status only pays attention to the cache file if you give it
9047 < # the --recheck option to rerun configure.
9048 < #
9049 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
9050 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
9051 < # following values.
9052 <
9053 < _ACEOF
9054 <
9055 < # The following way of writing the cache mishandles newlines in values,
9056 < # but we know of no workaround that is simple, portable, and efficient.
9057 < # So, don't put newlines in cache variables' values.
9058 < # Ultrix sh set writes to stderr and can't be redirected directly,
9059 < # and sets the high bit in the cache file unless we assign to the vars.
9060 < {
9061 <  (set) 2>&1 |
9062 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9063 <    *ac_space=\ *)
9064 <      # `set' does not quote correctly, so add quotes (double-quote
9065 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
9066 <      sed -n \
9067 <        "s/'/'\\\\''/g;
9068 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9069 <      ;;
9070 <    *)
9071 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
9072 <      sed -n \
9073 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9074 <      ;;
9075 <    esac;
9076 < } |
9077 <  sed '
9078 <     t clear
9079 <     : clear
9080 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9081 <     t end
9082 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9083 <     : end' >>confcache
9084 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
9085 <  if test -w $cache_file; then
9086 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9087 <    cat confcache >$cache_file
9088 <  else
9089 <    echo "not updating unwritable cache $cache_file"
9090 <  fi
9091 < fi
9092 < rm -f confcache
9093 <
9094 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
9095 < # Let make expand exec_prefix.
9096 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9097 <
9098 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
9099 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9100 < # trailing colons and then remove the whole line if VPATH becomes empty
9101 < # (actually we leave an empty line to preserve line numbers).
9102 < if test "x$srcdir" = x.; then
9103 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
9104 < s/:*\$(srcdir):*/:/;
9105 < s/:*\${srcdir}:*/:/;
9106 < s/:*@srcdir@:*/:/;
9107 < s/^\([^=]*=[     ]*\):*/\1/;
9108 < s/:*$//;
9109 < s/^[^=]*=[       ]*$//;
9110 < }'
9111 < fi
9112 <
9113 < DEFS=-DHAVE_CONFIG_H
9114 <
9115 < ac_libobjs=
9116 < ac_ltlibobjs=
9117 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9118 <  # 1. Remove the extension, and $U if already installed.
9119 <  ac_i=`echo "$ac_i" |
9120 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9121 <  # 2. Add them.
9122 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9123 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9124 < done
9125 < LIBOBJS=$ac_libobjs
9126 <
9127 < LTLIBOBJS=$ac_ltlibobjs
9128 <
9129 <
9130 <
9131 < : ${CONFIG_STATUS=./config.status}
9132 < ac_clean_files_save=$ac_clean_files
9133 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9134 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9135 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
9136 < cat >$CONFIG_STATUS <<_ACEOF
9137 < #! $SHELL
9138 < # Generated by $as_me.
9139 < # Run this file to recreate the current configuration.
9140 < # Compiler output produced by configure, useful for debugging
9141 < # configure, is in config.log if it exists.
9142 <
9143 < debug=false
9144 < ac_cs_recheck=false
9145 < ac_cs_silent=false
9146 < SHELL=\${CONFIG_SHELL-$SHELL}
9147 < _ACEOF
9148 <
9149 < cat >>$CONFIG_STATUS <<\_ACEOF
9150 < ## --------------------- ##
9151 < ## M4sh Initialization.  ##
9152 < ## --------------------- ##
9153 <
9154 < # Be Bourne compatible
9155 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9156 <  emulate sh
9157 <  NULLCMD=:
9158 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9159 <  # is contrary to our usage.  Disable this feature.
9160 <  alias -g '${1+"$@"}'='"$@"'
9161 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9162 <  set -o posix
9163 < fi
9164 < DUALCASE=1; export DUALCASE # for MKS sh
9165 <
9166 < # Support unset when possible.
9167 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9168 <  as_unset=unset
9169 < else
9170 <  as_unset=false
9171 < fi
9172 <
9173 <
9174 < # Work around bugs in pre-3.0 UWIN ksh.
9175 < $as_unset ENV MAIL MAILPATH
9176 < PS1='$ '
9177 < PS2='> '
9178 < PS4='+ '
9179 <
9180 < # NLS nuisances.
9181 < for as_var in \
9182 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9183 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9184 <  LC_TELEPHONE LC_TIME
9185 < do
9186 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9187 <    eval $as_var=C; export $as_var
9188 <  else
9189 <    $as_unset $as_var
9190 <  fi
9191 < done
9192 <
9193 < # Required to use basename.
9194 < if expr a : '\(a\)' >/dev/null 2>&1; then
9195 <  as_expr=expr
9196 < else
9197 <  as_expr=false
9198 < fi
9199 <
9200 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9201 <  as_basename=basename
9202 < else
9203 <  as_basename=false
9204 < fi
9205 <
9206 <
9207 < # Name of the executable.
9208 < as_me=`$as_basename "$0" ||
9209 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9210 <         X"$0" : 'X\(//\)$' \| \
9211 <         X"$0" : 'X\(/\)$' \| \
9212 <         .     : '\(.\)' 2>/dev/null ||
9213 < echo X/"$0" |
9214 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9215 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
9216 <          /^X\/\(\/\).*/{ s//\1/; q; }
9217 <          s/.*/./; q'`
9218 <
9219 <
9220 < # PATH needs CR, and LINENO needs CR and PATH.
9221 < # Avoid depending upon Character Ranges.
9222 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9223 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9224 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9225 < as_cr_digits='0123456789'
9226 < as_cr_alnum=$as_cr_Letters$as_cr_digits
9227 <
9228 < # The user is always right.
9229 < if test "${PATH_SEPARATOR+set}" != set; then
9230 <  echo "#! /bin/sh" >conf$$.sh
9231 <  echo  "exit 0"   >>conf$$.sh
9232 <  chmod +x conf$$.sh
9233 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9234 <    PATH_SEPARATOR=';'
9235 <  else
9236 <    PATH_SEPARATOR=:
9237 <  fi
9238 <  rm -f conf$$.sh
9239 < fi
9240 <
9241 <
9242 <  as_lineno_1=$LINENO
9243 <  as_lineno_2=$LINENO
9244 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9245 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9246 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
9247 <  # Find who we are.  Look in the path if we contain no path at all
9248 <  # relative or not.
9249 <  case $0 in
9250 <    *[\\/]* ) as_myself=$0 ;;
9251 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252 < for as_dir in $PATH
9253 < do
9254 <  IFS=$as_save_IFS
9255 <  test -z "$as_dir" && as_dir=.
9256 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9257 < done
9258 <
9259 <       ;;
9260 <  esac
9261 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
9262 <  # in which case we are not to be found in the path.
9263 <  if test "x$as_myself" = x; then
9264 <    as_myself=$0
9265 <  fi
9266 <  if test ! -f "$as_myself"; then
9267 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9268 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9269 <   { (exit 1); exit 1; }; }
9270 <  fi
9271 <  case $CONFIG_SHELL in
9272 <  '')
9273 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9274 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9275 < do
9276 <  IFS=$as_save_IFS
9277 <  test -z "$as_dir" && as_dir=.
9278 <  for as_base in sh bash ksh sh5; do
9279 <         case $as_dir in
9280 <         /*)
9281 <           if ("$as_dir/$as_base" -c '
9282 <  as_lineno_1=$LINENO
9283 <  as_lineno_2=$LINENO
9284 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9285 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
9286 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
9287 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9288 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9289 <             CONFIG_SHELL=$as_dir/$as_base
9290 <             export CONFIG_SHELL
9291 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9292 <           fi;;
9293 <         esac
9294 <       done
9295 < done
9296 < ;;
9297 <  esac
9298 <
9299 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9300 <  # uniformly replaced by the line number.  The first 'sed' inserts a
9301 <  # line-number line before each line; the second 'sed' does the real
9302 <  # work.  The second script uses 'N' to pair each line-number line
9303 <  # with the numbered line, and appends trailing '-' during
9304 <  # substitution so that $LINENO is not a special case at line end.
9305 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9306 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
9307 <  sed '=' <$as_myself |
9308 <    sed '
9309 <      N
9310 <      s,$,-,
9311 <      : loop
9312 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9313 <      t loop
9314 <      s,-$,,
9315 <      s,^['$as_cr_digits']*\n,,
9316 <    ' >$as_me.lineno &&
9317 <  chmod +x $as_me.lineno ||
9318 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9319 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9320 <   { (exit 1); exit 1; }; }
9321 <
9322 <  # Don't try to exec as it changes $[0], causing all sort of problems
9323 <  # (the dirname of $[0] is not the place where we might find the
9324 <  # original and so on.  Autoconf is especially sensible to this).
9325 <  . ./$as_me.lineno
9326 <  # Exit status is that of the last command.
9327 <  exit
9328 < }
9329 <
9330 <
9331 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9332 <  *c*,-n*) ECHO_N= ECHO_C='
9333 < ' ECHO_T='      ' ;;
9334 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9335 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
9336 < esac
9337 <
9338 < if expr a : '\(a\)' >/dev/null 2>&1; then
9339 <  as_expr=expr
9340 < else
9341 <  as_expr=false
9342 < fi
9343 <
9344 < rm -f conf$$ conf$$.exe conf$$.file
9345 < echo >conf$$.file
9346 < if ln -s conf$$.file conf$$ 2>/dev/null; then
9347 <  # We could just check for DJGPP; but this test a) works b) is more generic
9348 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9349 <  if test -f conf$$.exe; then
9350 <    # Don't use ln at all; we don't have any links
9351 <    as_ln_s='cp -p'
9352 <  else
9353 <    as_ln_s='ln -s'
9354 <  fi
9355 < elif ln conf$$.file conf$$ 2>/dev/null; then
9356 <  as_ln_s=ln
9357 < else
9358 <  as_ln_s='cp -p'
9359 < fi
9360 < rm -f conf$$ conf$$.exe conf$$.file
9361 <
9362 < if mkdir -p . 2>/dev/null; then
9363 <  as_mkdir_p=:
9364 < else
9365 <  test -d ./-p && rmdir ./-p
9366 <  as_mkdir_p=false
9367 < fi
9368 <
9369 < as_executable_p="test -f"
9370 <
9371 < # Sed expression to map a string onto a valid CPP name.
9372 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9373 <
9374 < # Sed expression to map a string onto a valid variable name.
9375 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9376 <
9377 <
9378 < # IFS
9379 < # We need space, tab and new line, in precisely that order.
9380 < as_nl='
9381 < '
9382 < IFS="   $as_nl"
9383 <
9384 < # CDPATH.
9385 < $as_unset CDPATH
9386 <
9387 < exec 6>&1
9388 <
9389 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
9390 < # report actual input values of CONFIG_FILES etc. instead of their
9391 < # values after options handling.  Logging --version etc. is OK.
9392 < exec 5>>config.log
9393 < {
9394 <  echo
9395 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9396 < ## Running $as_me. ##
9397 < _ASBOX
9398 < } >&5
9399 < cat >&5 <<_CSEOF
9400 <
9401 < This file was extended by OOPSE $as_me 2.0, which was
9402 < generated by GNU Autoconf 2.59.  Invocation command line was
9403 <
9404 <  CONFIG_FILES    = $CONFIG_FILES
9405 <  CONFIG_HEADERS  = $CONFIG_HEADERS
9406 <  CONFIG_LINKS    = $CONFIG_LINKS
9407 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
9408 <  $ $0 $@
9409 <
9410 < _CSEOF
9411 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9412 < echo >&5
9413 < _ACEOF
9414 <
9415 < # Files that config.status was made for.
9416 < if test -n "$ac_config_files"; then
9417 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9418 < fi
9419 <
9420 < if test -n "$ac_config_headers"; then
9421 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9422 < fi
9423 <
9424 < if test -n "$ac_config_links"; then
9425 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9426 < fi
9427 <
9428 < if test -n "$ac_config_commands"; then
9429 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9430 < fi
9431 <
9432 < cat >>$CONFIG_STATUS <<\_ACEOF
9433 <
9434 < ac_cs_usage="\
9435 < \`$as_me' instantiates files from templates according to the
9436 < current configuration.
9437 <
9438 < Usage: $0 [OPTIONS] [FILE]...
9439 <
9440 <  -h, --help       print this help, then exit
9441 <  -V, --version    print version number, then exit
9442 <  -q, --quiet      do not print progress messages
9443 <  -d, --debug      don't remove temporary files
9444 <      --recheck    update $as_me by reconfiguring in the same conditions
9445 <  --file=FILE[:TEMPLATE]
9446 <                   instantiate the configuration file FILE
9447 <  --header=FILE[:TEMPLATE]
9448 <                   instantiate the configuration header FILE
9449 <
9450 < Configuration files:
9451 < $config_files
9452 <
9453 < Configuration headers:
9454 < $config_headers
9455 <
9456 < Configuration links:
9457 < $config_links
9458 <
9459 < Report bugs to <bug-autoconf@gnu.org>."
9460 < _ACEOF
9461 <
9462 < cat >>$CONFIG_STATUS <<_ACEOF
9463 < ac_cs_version="\\
9464 < OOPSE config.status 2.0
9465 < configured by $0, generated by GNU Autoconf 2.59,
9466 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9467 <
9468 < Copyright (C) 2003 Free Software Foundation, Inc.
9469 < This config.status script is free software; the Free Software Foundation
9470 < gives unlimited permission to copy, distribute and modify it."
9471 < srcdir=$srcdir
9472 < INSTALL="$INSTALL"
9473 < _ACEOF
9474 <
9475 < cat >>$CONFIG_STATUS <<\_ACEOF
9476 < # If no file are specified by the user, then we need to provide default
9477 < # value.  By we need to know if files were specified by the user.
9478 < ac_need_defaults=:
9479 < while test $# != 0
9480 < do
9481 <  case $1 in
9482 <  --*=*)
9483 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
9484 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9485 <    ac_shift=:
9486 <    ;;
9487 <  -*)
9488 <    ac_option=$1
9489 <    ac_optarg=$2
9490 <    ac_shift=shift
9491 <    ;;
9492 <  *) # This is not an option, so the user has probably given explicit
9493 <     # arguments.
9494 <     ac_option=$1
9495 <     ac_need_defaults=false;;
9496 <  esac
9497 <
9498 <  case $ac_option in
9499 <  # Handling of the options.
9500 < _ACEOF
9501 < cat >>$CONFIG_STATUS <<\_ACEOF
9502 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9503 <    ac_cs_recheck=: ;;
9504 <  --version | --vers* | -V )
9505 <    echo "$ac_cs_version"; exit 0 ;;
9506 <  --he | --h)
9507 <    # Conflict between --help and --header
9508 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
9509 < Try \`$0 --help' for more information." >&5
9510 < echo "$as_me: error: ambiguous option: $1
9511 < Try \`$0 --help' for more information." >&2;}
9512 <   { (exit 1); exit 1; }; };;
9513 <  --help | --hel | -h )
9514 <    echo "$ac_cs_usage"; exit 0 ;;
9515 <  --debug | --d* | -d )
9516 <    debug=: ;;
9517 <  --file | --fil | --fi | --f )
9518 <    $ac_shift
9519 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9520 <    ac_need_defaults=false;;
9521 <  --header | --heade | --head | --hea )
9522 <    $ac_shift
9523 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9524 <    ac_need_defaults=false;;
9525 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9526 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9527 <    ac_cs_silent=: ;;
9528 <
9529 <  # This is an error.
9530 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9531 < Try \`$0 --help' for more information." >&5
9532 < echo "$as_me: error: unrecognized option: $1
9533 < Try \`$0 --help' for more information." >&2;}
9534 <   { (exit 1); exit 1; }; } ;;
9535 <
9536 <  *) ac_config_targets="$ac_config_targets $1" ;;
9537 <
9538 <  esac
9539 <  shift
9540 < done
9541 <
9542 < ac_configure_extra_args=
9543 <
9544 < if $ac_cs_silent; then
9545 <  exec 6>/dev/null
9546 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
9547 < fi
9548 <
9549 < _ACEOF
9550 < cat >>$CONFIG_STATUS <<_ACEOF
9551 < if \$ac_cs_recheck; then
9552 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9553 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9554 < fi
9555 <
9556 < _ACEOF
9557 <
9558 <
9559 <
9560 <
9561 <
9562 < cat >>$CONFIG_STATUS <<\_ACEOF
9563 < for ac_config_target in $ac_config_targets
9564 < do
9565 <  case "$ac_config_target" in
9566 <  # Handling of arguments.
9567 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9568 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9569 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9570 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9571 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9572 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9573 <   { (exit 1); exit 1; }; };;
9574 <  esac
9575 < done
9576 <
9577 < # If the user did not use the arguments to specify the items to instantiate,
9578 < # then the envvar interface is used.  Set only those that are not.
9579 < # We use the long form for the default assignment because of an extremely
9580 < # bizarre bug on SunOS 4.1.3.
9581 < if $ac_need_defaults; then
9582 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9583 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9584 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
9585 < fi
9586 <
9587 < # Have a temporary directory for convenience.  Make it in the build tree
9588 < # simply because there is no reason to put it here, and in addition,
9589 < # creating and moving files from /tmp can sometimes cause problems.
9590 < # Create a temporary directory, and hook for its removal unless debugging.
9591 < $debug ||
9592 < {
9593 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9594 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
9595 < }
9596 <
9597 < # Create a (secure) tmp directory for tmp files.
9598 <
9599 < {
9600 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9601 <  test -n "$tmp" && test -d "$tmp"
9602 < }  ||
9603 < {
9604 <  tmp=./confstat$$-$RANDOM
9605 <  (umask 077 && mkdir $tmp)
9606 < } ||
9607 < {
9608 <   echo "$me: cannot create a temporary directory in ." >&2
9609 <   { (exit 1); exit 1; }
9610 < }
9611 <
9612 < _ACEOF
9613 <
9614 < cat >>$CONFIG_STATUS <<_ACEOF
9615 <
9616 < #
9617 < # CONFIG_FILES section.
9618 < #
9619 <
9620 < # No need to generate the scripts if there are no CONFIG_FILES.
9621 < # This happens for instance when ./config.status config.h
9622 < if test -n "\$CONFIG_FILES"; then
9623 <  # Protect against being on the right side of a sed subst in config.status.
9624 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9625 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9626 < s,@SHELL@,$SHELL,;t t
9627 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9628 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9629 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9630 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9631 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9632 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9633 < s,@exec_prefix@,$exec_prefix,;t t
9634 < s,@prefix@,$prefix,;t t
9635 < s,@program_transform_name@,$program_transform_name,;t t
9636 < s,@bindir@,$bindir,;t t
9637 < s,@sbindir@,$sbindir,;t t
9638 < s,@libexecdir@,$libexecdir,;t t
9639 < s,@datadir@,$datadir,;t t
9640 < s,@sysconfdir@,$sysconfdir,;t t
9641 < s,@sharedstatedir@,$sharedstatedir,;t t
9642 < s,@localstatedir@,$localstatedir,;t t
9643 < s,@libdir@,$libdir,;t t
9644 < s,@includedir@,$includedir,;t t
9645 < s,@oldincludedir@,$oldincludedir,;t t
9646 < s,@infodir@,$infodir,;t t
9647 < s,@mandir@,$mandir,;t t
9648 < s,@build_alias@,$build_alias,;t t
9649 < s,@host_alias@,$host_alias,;t t
9650 < s,@target_alias@,$target_alias,;t t
9651 < s,@DEFS@,$DEFS,;t t
9652 < s,@ECHO_C@,$ECHO_C,;t t
9653 < s,@ECHO_N@,$ECHO_N,;t t
9654 < s,@ECHO_T@,$ECHO_T,;t t
9655 < s,@LIBS@,$LIBS,;t t
9656 < s,@PROGNAME@,$PROGNAME,;t t
9657 < s,@debug@,$debug,;t t
9658 < s,@build@,$build,;t t
9659 < s,@build_cpu@,$build_cpu,;t t
9660 < s,@build_vendor@,$build_vendor,;t t
9661 < s,@build_os@,$build_os,;t t
9662 < s,@host@,$host,;t t
9663 < s,@host_cpu@,$host_cpu,;t t
9664 < s,@host_vendor@,$host_vendor,;t t
9665 < s,@host_os@,$host_os,;t t
9666 < s,@CC@,$CC,;t t
9667 < s,@CFLAGS@,$CFLAGS,;t t
9668 < s,@LDFLAGS@,$LDFLAGS,;t t
9669 < s,@CPPFLAGS@,$CPPFLAGS,;t t
9670 < s,@ac_ct_CC@,$ac_ct_CC,;t t
9671 < s,@EXEEXT@,$EXEEXT,;t t
9672 < s,@OBJEXT@,$OBJEXT,;t t
9673 < s,@CXX@,$CXX,;t t
9674 < s,@CXXFLAGS@,$CXXFLAGS,;t t
9675 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9676 < s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
9677 < s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
9678 < s,@F90@,$F90,;t t
9679 < s,@F90FLAGS@,$F90FLAGS,;t t
9680 < s,@ac_ct_F90@,$ac_ct_F90,;t t
9681 < s,@PREPFLAG@,$PREPFLAG,;t t
9682 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
9683 < s,@F90LIBS@,$F90LIBS,;t t
9684 < s,@F90_FUNC@,$F90_FUNC,;t t
9685 < s,@F90_FUNC_@,$F90_FUNC_,;t t
9686 < s,@MOD@,$MOD,;t t
9687 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
9688 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
9689 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9690 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9691 < s,@CPP@,$CPP,;t t
9692 < s,@EGREP@,$EGREP,;t t
9693 < s,@LIBOBJS@,$LIBOBJS,;t t
9694 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9695 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9696 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9697 < s,@LN_S@,$LN_S,;t t
9698 < s,@SET_MAKE@,$SET_MAKE,;t t
9699 < s,@RANLIB@,$RANLIB,;t t
9700 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9701 < s,@YACC@,$YACC,;t t
9702 < s,@LEX@,$LEX,;t t
9703 < s,@LEXLIB@,$LEXLIB,;t t
9704 < s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9705 < s,@AR@,$AR,;t t
9706 < s,@PS@,$PS,;t t
9707 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
9708 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
9709 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
9710 < s,@MPI_LIB@,$MPI_LIB,;t t
9711 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9712 < s,@USE_MPI@,$USE_MPI,;t t
9713 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9714 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9715 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9716 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9717 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9718 < s,@MKL_LIB@,$MKL_LIB,;t t
9719 < s,@MKL_INC@,$MKL_INC,;t t
9720 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9721 < s,@DOXYGEN@,$DOXYGEN,;t t
9722 < s,@DOT@,$DOT,;t t
9723 < s,@DOC@,$DOC,;t t
9724 < s,@enable_dot@,$enable_dot,;t t
9725 < s,@enable_html_docs@,$enable_html_docs,;t t
9726 < s,@enable_latex_docs@,$enable_latex_docs,;t t
9727 < s,@BATEXT@,$BATEXT,;t t
9728 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9729 < s,@OOPSE@,$OOPSE,;t t
9730 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9731 < s,@SUBDIRS@,$SUBDIRS,;t t
9732 < s,@FFLAGS@,$FFLAGS,;t t
9733 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9734 < CEOF
9735 <
9736 < _ACEOF
9737 <
9738 <  cat >>$CONFIG_STATUS <<\_ACEOF
9739 <  # Split the substitutions into bite-sized pieces for seds with
9740 <  # small command number limits, like on Digital OSF/1 and HP-UX.
9741 <  ac_max_sed_lines=48
9742 <  ac_sed_frag=1 # Number of current file.
9743 <  ac_beg=1 # First line for current file.
9744 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
9745 <  ac_more_lines=:
9746 <  ac_sed_cmds=
9747 <  while $ac_more_lines; do
9748 <    if test $ac_beg -gt 1; then
9749 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9750 <    else
9751 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9752 <    fi
9753 <    if test ! -s $tmp/subs.frag; then
9754 <      ac_more_lines=false
9755 <    else
9756 <      # The purpose of the label and of the branching condition is to
9757 <      # speed up the sed processing (if there are no `@' at all, there
9758 <      # is no need to browse any of the substitutions).
9759 <      # These are the two extra sed commands mentioned above.
9760 <      (echo ':t
9761 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9762 <      if test -z "$ac_sed_cmds"; then
9763 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9764 <      else
9765 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9766 <      fi
9767 <      ac_sed_frag=`expr $ac_sed_frag + 1`
9768 <      ac_beg=$ac_end
9769 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
9770 <    fi
9771 <  done
9772 <  if test -z "$ac_sed_cmds"; then
9773 <    ac_sed_cmds=cat
9774 <  fi
9775 < fi # test -n "$CONFIG_FILES"
9776 <
9777 < _ACEOF
9778 < cat >>$CONFIG_STATUS <<\_ACEOF
9779 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9780 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9781 <  case $ac_file in
9782 <  - | *:- | *:-:* ) # input from stdin
9783 <        cat >$tmp/stdin
9784 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9785 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9786 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9787 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9788 <  * )   ac_file_in=$ac_file.in ;;
9789 <  esac
9790 <
9791 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9792 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9793 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9794 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9795 <         X"$ac_file" : 'X\(//\)$' \| \
9796 <         X"$ac_file" : 'X\(/\)' \| \
9797 <         .     : '\(.\)' 2>/dev/null ||
9798 < echo X"$ac_file" |
9799 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9800 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9801 <          /^X\(\/\/\)$/{ s//\1/; q; }
9802 <          /^X\(\/\).*/{ s//\1/; q; }
9803 <          s/.*/./; q'`
9804 <  { if $as_mkdir_p; then
9805 <    mkdir -p "$ac_dir"
9806 <  else
9807 <    as_dir="$ac_dir"
9808 <    as_dirs=
9809 <    while test ! -d "$as_dir"; do
9810 <      as_dirs="$as_dir $as_dirs"
9811 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9812 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9813 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9814 <         X"$as_dir" : 'X\(//\)$' \| \
9815 <         X"$as_dir" : 'X\(/\)' \| \
9816 <         .     : '\(.\)' 2>/dev/null ||
9817 < echo X"$as_dir" |
9818 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9819 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9820 <          /^X\(\/\/\)$/{ s//\1/; q; }
9821 <          /^X\(\/\).*/{ s//\1/; q; }
9822 <          s/.*/./; q'`
9823 <    done
9824 <    test ! -n "$as_dirs" || mkdir $as_dirs
9825 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9826 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9827 <   { (exit 1); exit 1; }; }; }
9828 <
9829 <  ac_builddir=.
9830 <
9831 < if test "$ac_dir" != .; then
9832 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9833 <  # A "../" for each directory in $ac_dir_suffix.
9834 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9835 < else
9836 <  ac_dir_suffix= ac_top_builddir=
9837 < fi
9838 <
9839 < case $srcdir in
9840 <  .)  # No --srcdir option.  We are building in place.
9841 <    ac_srcdir=.
9842 <    if test -z "$ac_top_builddir"; then
9843 <       ac_top_srcdir=.
9844 <    else
9845 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9846 <    fi ;;
9847 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9848 <    ac_srcdir=$srcdir$ac_dir_suffix;
9849 <    ac_top_srcdir=$srcdir ;;
9850 <  *) # Relative path.
9851 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9852 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9853 < esac
9854 <
9855 < # Do not use `cd foo && pwd` to compute absolute paths, because
9856 < # the directories may not exist.
9857 < case `pwd` in
9858 < .) ac_abs_builddir="$ac_dir";;
9859 < *)
9860 <  case "$ac_dir" in
9861 <  .) ac_abs_builddir=`pwd`;;
9862 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9863 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9864 <  esac;;
9865 < esac
9866 < case $ac_abs_builddir in
9867 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
9868 < *)
9869 <  case ${ac_top_builddir}. in
9870 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
9871 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9872 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9873 <  esac;;
9874 < esac
9875 < case $ac_abs_builddir in
9876 < .) ac_abs_srcdir=$ac_srcdir;;
9877 < *)
9878 <  case $ac_srcdir in
9879 <  .) ac_abs_srcdir=$ac_abs_builddir;;
9880 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9881 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9882 <  esac;;
9883 < esac
9884 < case $ac_abs_builddir in
9885 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
9886 < *)
9887 <  case $ac_top_srcdir in
9888 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9889 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9890 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9891 <  esac;;
9892 < esac
9893 <
9894 <
9895 <  case $INSTALL in
9896 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9897 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9898 <  esac
9899 <
9900 <  if test x"$ac_file" != x-; then
9901 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
9902 < echo "$as_me: creating $ac_file" >&6;}
9903 <    rm -f "$ac_file"
9904 <  fi
9905 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
9906 <  # use $as_me), people would be surprised to read:
9907 <  #    /* config.h.  Generated by config.status.  */
9908 <  if test x"$ac_file" = x-; then
9909 <    configure_input=
9910 <  else
9911 <    configure_input="$ac_file.  "
9912 <  fi
9913 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9914 <                                     sed 's,.*/,,'` by configure."
9915 <
9916 <  # First look for the input files in the build tree, otherwise in the
9917 <  # src tree.
9918 <  ac_file_inputs=`IFS=:
9919 <    for f in $ac_file_in; do
9920 <      case $f in
9921 <      -) echo $tmp/stdin ;;
9922 <      [\\/$]*)
9923 <         # Absolute (can't be DOS-style, as IFS=:)
9924 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9925 < echo "$as_me: error: cannot find input file: $f" >&2;}
9926 <   { (exit 1); exit 1; }; }
9927 <         echo "$f";;
9928 <      *) # Relative
9929 <         if test -f "$f"; then
9930 <           # Build tree
9931 <           echo "$f"
9932 <         elif test -f "$srcdir/$f"; then
9933 <           # Source tree
9934 <           echo "$srcdir/$f"
9935 <         else
9936 <           # /dev/null tree
9937 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9938 < echo "$as_me: error: cannot find input file: $f" >&2;}
9939 <   { (exit 1); exit 1; }; }
9940 <         fi;;
9941 <      esac
9942 <    done` || { (exit 1); exit 1; }
9943 < _ACEOF
9944 < cat >>$CONFIG_STATUS <<_ACEOF
9945 <  sed "$ac_vpsub
9946 < $extrasub
9947 < _ACEOF
9948 < cat >>$CONFIG_STATUS <<\_ACEOF
9949 < :t
9950 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9951 < s,@configure_input@,$configure_input,;t t
9952 < s,@srcdir@,$ac_srcdir,;t t
9953 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
9954 < s,@top_srcdir@,$ac_top_srcdir,;t t
9955 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9956 < s,@builddir@,$ac_builddir,;t t
9957 < s,@abs_builddir@,$ac_abs_builddir,;t t
9958 < s,@top_builddir@,$ac_top_builddir,;t t
9959 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9960 < s,@INSTALL@,$ac_INSTALL,;t t
9961 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9962 <  rm -f $tmp/stdin
9963 <  if test x"$ac_file" != x-; then
9964 <    mv $tmp/out $ac_file
9965 <  else
9966 <    cat $tmp/out
9967 <    rm -f $tmp/out
9968 <  fi
9969 <
6045 > ac_header_compiler=no
6046 > fi
6047 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6048 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6049 > echo "${ECHO_T}$ac_header_compiler" >&6
6050 >
6051 > # Is the header present?
6052 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6053 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6054 > cat >conftest.$ac_ext <<_ACEOF
6055 > /* confdefs.h.  */
6056 > _ACEOF
6057 > cat confdefs.h >>conftest.$ac_ext
6058 > cat >>conftest.$ac_ext <<_ACEOF
6059 > /* end confdefs.h.  */
6060 > #include <$ac_header>
6061 > _ACEOF
6062 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6063 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6064 >  ac_status=$?
6065 >  grep -v '^ *+' conftest.er1 >conftest.err
6066 >  rm -f conftest.er1
6067 >  cat conftest.err >&5
6068 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 >  (exit $ac_status); } >/dev/null; then
6070 >  if test -s conftest.err; then
6071 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6072 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6073 >  else
6074 >    ac_cpp_err=
6075 >  fi
6076 > else
6077 >  ac_cpp_err=yes
6078 > fi
6079 > if test -z "$ac_cpp_err"; then
6080 >  ac_header_preproc=yes
6081 > else
6082 >  echo "$as_me: failed program was:" >&5
6083 > sed 's/^/| /' conftest.$ac_ext >&5
6084 >
6085 >  ac_header_preproc=no
6086 > fi
6087 > rm -f conftest.err conftest.$ac_ext
6088 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6089 > echo "${ECHO_T}$ac_header_preproc" >&6
6090 >
6091 > # So?  What about this header?
6092 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6093 >  yes:no: )
6094 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6095 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6096 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6097 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6098 >    ac_header_preproc=yes
6099 >    ;;
6100 >  no:yes:* )
6101 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6102 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6103 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6104 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6105 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6106 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6107 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6108 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6109 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6110 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6111 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6112 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6113 >    (
6114 >      cat <<\_ASBOX
6115 > ## ------------------------------ ##
6116 > ## Report this to gezelter@nd.edu ##
6117 > ## ------------------------------ ##
6118 > _ASBOX
6119 >    ) |
6120 >      sed "s/^/$as_me: WARNING:     /" >&2
6121 >    ;;
6122 > esac
6123 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6124 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6125 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6126 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6127 > else
6128 >  eval "$as_ac_Header=\$ac_header_preproc"
6129 > fi
6130 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6131 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6132 >
6133 > fi
6134 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6135 >  cat >>confdefs.h <<_ACEOF
6136 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6137 > _ACEOF
6138 >
6139 > fi
6140 >
6141 > done
6142 >
6143 >
6144 >
6145 >
6146 >  echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5
6147 > echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6
6148 > if test "${ac_cv_cxx_have_std_iostream+set}" = set; then
6149 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6150 > else
6151 >
6152 >      ac_cv_cxx_have_std_iostream=no
6153 >      ac_cv_cxx_need_use_std_iostream=no
6154 >      if test "x$ac_cv_cxx_namespaces" = xyes; then
6155 >
6156 >
6157 >        ac_ext=cc
6158 > ac_cpp='$CXXCPP $CPPFLAGS'
6159 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6160 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6161 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6162 >
6163 >        cat >conftest.$ac_ext <<_ACEOF
6164 > /* confdefs.h.  */
6165 > _ACEOF
6166 > cat confdefs.h >>conftest.$ac_ext
6167 > cat >>conftest.$ac_ext <<_ACEOF
6168 > /* end confdefs.h.  */
6169 >
6170 > #ifdef HAVE_IOSTREAM
6171 > #include <iostream>
6172 > #else
6173 > #include <iostream.h>
6174 > #endif
6175 >
6176 > int
6177 > main ()
6178 > {
6179 > std::cout<<"Hello World"<<std::endl;return 0;
6180 >  ;
6181 >  return 0;
6182 > }
6183 > _ACEOF
6184 > rm -f conftest.$ac_objext
6185 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6186 >  (eval $ac_compile) 2>conftest.er1
6187 >  ac_status=$?
6188 >  grep -v '^ *+' conftest.er1 >conftest.err
6189 >  rm -f conftest.er1
6190 >  cat conftest.err >&5
6191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 >  (exit $ac_status); } &&
6193 >         { ac_try='test -z "$ac_cxx_werror_flag"
6194 >                         || test ! -s conftest.err'
6195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 >  (eval $ac_try) 2>&5
6197 >  ac_status=$?
6198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 >  (exit $ac_status); }; } &&
6200 >         { ac_try='test -s conftest.$ac_objext'
6201 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6202 >  (eval $ac_try) 2>&5
6203 >  ac_status=$?
6204 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 >  (exit $ac_status); }; }; then
6206 >  ac_cv_cxx_have_std_iostream=yes
6207 > else
6208 >  echo "$as_me: failed program was:" >&5
6209 > sed 's/^/| /' conftest.$ac_ext >&5
6210 >
6211 > fi
6212 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6213 >        cat >conftest.$ac_ext <<_ACEOF
6214 > /* confdefs.h.  */
6215 > _ACEOF
6216 > cat confdefs.h >>conftest.$ac_ext
6217 > cat >>conftest.$ac_ext <<_ACEOF
6218 > /* end confdefs.h.  */
6219 >
6220 > #define __USE_STD_IOSTREAM 1
6221 > #ifdef HAVE_IOSTREAM
6222 > #include <iostream>
6223 > #else
6224 > #include <iostream.h>
6225 > #endif
6226 >
6227 > int
6228 > main ()
6229 > {
6230 > std::cout<<"Hello World"<<std::endl;return 0;
6231 >  ;
6232 >  return 0;
6233 > }
6234 > _ACEOF
6235 > rm -f conftest.$ac_objext
6236 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237 >  (eval $ac_compile) 2>conftest.er1
6238 >  ac_status=$?
6239 >  grep -v '^ *+' conftest.er1 >conftest.err
6240 >  rm -f conftest.er1
6241 >  cat conftest.err >&5
6242 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 >  (exit $ac_status); } &&
6244 >         { ac_try='test -z "$ac_cxx_werror_flag"
6245 >                         || test ! -s conftest.err'
6246 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 >  (eval $ac_try) 2>&5
6248 >  ac_status=$?
6249 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 >  (exit $ac_status); }; } &&
6251 >         { ac_try='test -s conftest.$ac_objext'
6252 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 >  (eval $ac_try) 2>&5
6254 >  ac_status=$?
6255 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 >  (exit $ac_status); }; }; then
6257 >  ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes
6258 > else
6259 >  echo "$as_me: failed program was:" >&5
6260 > sed 's/^/| /' conftest.$ac_ext >&5
6261 >
6262 > fi
6263 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6264 >        ac_ext=cc
6265 > ac_cpp='$CXXCPP $CPPFLAGS'
6266 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6267 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6268 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6269 >
6270 >      fi
6271 >
6272 > fi
6273 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5
6274 > echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6
6275 >  if test "$ac_cv_cxx_have_std_iostream" = yes; then
6276 >
6277 > cat >>confdefs.h <<\_ACEOF
6278 > #define HAVE_STD_IOSTREAM 1
6279 > _ACEOF
6280 >
6281 >  fi
6282 >  if test "$ac_cv_cxx_need_use_std_iostream" = yes; then
6283 >
6284 > cat >>confdefs.h <<\_ACEOF
6285 > #define __USE_STD_IOSTREAM 1
6286 > _ACEOF
6287 >
6288 >  fi
6289 >
6290 >
6291 >
6292 >
6293 >  echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5
6294 > echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6
6295 > if test "${ac_cv_cxx_have_std_stl+set}" = set; then
6296 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6297 > else
6298 >
6299 >      ac_cv_cxx_have_std_stl=no
6300 >      if test "x$ac_cv_cxx_namespaces" = xyes; then
6301 >
6302 >
6303 >        ac_ext=cc
6304 > ac_cpp='$CXXCPP $CPPFLAGS'
6305 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6306 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6307 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6308 >
6309 >        cat >conftest.$ac_ext <<_ACEOF
6310 > /* confdefs.h.  */
6311 > _ACEOF
6312 > cat confdefs.h >>conftest.$ac_ext
6313 > cat >>conftest.$ac_ext <<_ACEOF
6314 > /* end confdefs.h.  */
6315 > #include <list>
6316 >
6317 > int
6318 > main ()
6319 > {
6320 > std::list<int> foo;return 0;
6321 >  ;
6322 >  return 0;
6323 > }
6324 > _ACEOF
6325 > rm -f conftest.$ac_objext
6326 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327 >  (eval $ac_compile) 2>conftest.er1
6328 >  ac_status=$?
6329 >  grep -v '^ *+' conftest.er1 >conftest.err
6330 >  rm -f conftest.er1
6331 >  cat conftest.err >&5
6332 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 >  (exit $ac_status); } &&
6334 >         { ac_try='test -z "$ac_cxx_werror_flag"
6335 >                         || test ! -s conftest.err'
6336 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 >  (eval $ac_try) 2>&5
6338 >  ac_status=$?
6339 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 >  (exit $ac_status); }; } &&
6341 >         { ac_try='test -s conftest.$ac_objext'
6342 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 >  (eval $ac_try) 2>&5
6344 >  ac_status=$?
6345 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 >  (exit $ac_status); }; }; then
6347 >  ac_cv_cxx_have_std_stl=yes
6348 > else
6349 >  echo "$as_me: failed program was:" >&5
6350 > sed 's/^/| /' conftest.$ac_ext >&5
6351 >
6352 > fi
6353 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 >        ac_ext=cc
6355 > ac_cpp='$CXXCPP $CPPFLAGS'
6356 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6357 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6358 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6359 >
6360 >      fi
6361 >
6362 > fi
6363 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5
6364 > echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6
6365 >  if test "$ac_cv_cxx_have_std_stl" = yes; then
6366 >
6367 > cat >>confdefs.h <<\_ACEOF
6368 > #define HAVE_STD_STL 1
6369 > _ACEOF
6370 >
6371 >  fi
6372 >
6373 >
6374 >
6375 >  echo "$as_me:$LINENO: checking for fstream::attach()" >&5
6376 > echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6
6377 > if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then
6378 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6379 > else
6380 >
6381 >    ac_cv_cxx_have_fstream_attach=no
6382 >
6383 >
6384 >    ac_ext=cc
6385 > ac_cpp='$CXXCPP $CPPFLAGS'
6386 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6389 >
6390 >    cat >conftest.$ac_ext <<_ACEOF
6391 > /* confdefs.h.  */
6392 > _ACEOF
6393 > cat confdefs.h >>conftest.$ac_ext
6394 > cat >>conftest.$ac_ext <<_ACEOF
6395 > /* end confdefs.h.  */
6396 >
6397 > #ifdef HAVE_IOSTREAM
6398 > #include <fstream>
6399 > #else
6400 > #include <fstream.h>
6401 > #endif
6402 > #ifdef HAVE_STD_IOSTREAM
6403 > using namespace std;
6404 > #endif
6405 >
6406 > int
6407 > main ()
6408 > {
6409 > int fd=0;ofstream s;s.attach(fd);
6410 >  ;
6411 >  return 0;
6412 > }
6413 > _ACEOF
6414 > rm -f conftest.$ac_objext
6415 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6416 >  (eval $ac_compile) 2>conftest.er1
6417 >  ac_status=$?
6418 >  grep -v '^ *+' conftest.er1 >conftest.err
6419 >  rm -f conftest.er1
6420 >  cat conftest.err >&5
6421 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 >  (exit $ac_status); } &&
6423 >         { ac_try='test -z "$ac_cxx_werror_flag"
6424 >                         || test ! -s conftest.err'
6425 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 >  (eval $ac_try) 2>&5
6427 >  ac_status=$?
6428 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 >  (exit $ac_status); }; } &&
6430 >         { ac_try='test -s conftest.$ac_objext'
6431 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 >  (eval $ac_try) 2>&5
6433 >  ac_status=$?
6434 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 >  (exit $ac_status); }; }; then
6436 >  ac_cv_cxx_have_fstream_attach=yes
6437 > else
6438 >  echo "$as_me: failed program was:" >&5
6439 > sed 's/^/| /' conftest.$ac_ext >&5
6440 >
6441 > fi
6442 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6443 >    ac_ext=cc
6444 > ac_cpp='$CXXCPP $CPPFLAGS'
6445 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6448 >
6449 >
6450 > fi
6451 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5
6452 > echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6
6453 >  if test "$ac_cv_cxx_have_fstream_attach" = yes; then
6454 >
6455 > cat >>confdefs.h <<\_ACEOF
6456 > #define HAVE_FSTREAM_ATTACH 1
6457 > _ACEOF
6458 >
6459 >  fi
6460 >
6461 >
6462 >
6463 >  echo "$as_me:$LINENO: checking for fstream::open()" >&5
6464 > echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6
6465 > if test "${ac_cv_cxx_have_fstream_open+set}" = set; then
6466 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6467 > else
6468 >
6469 >    ac_cv_cxx_have_fstream_open=no
6470 >    ac_cv_cxx_fstream_open_prot=no
6471 >
6472 >
6473 >    ac_ext=cc
6474 > ac_cpp='$CXXCPP $CPPFLAGS'
6475 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6476 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6477 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6478 >
6479 >    # Try with 2 parameters
6480 >    cat >conftest.$ac_ext <<_ACEOF
6481 > /* confdefs.h.  */
6482 > _ACEOF
6483 > cat confdefs.h >>conftest.$ac_ext
6484 > cat >>conftest.$ac_ext <<_ACEOF
6485 > /* end confdefs.h.  */
6486 >
6487 > #ifdef HAVE_IOSTREAM
6488 > #include <fstream>
6489 > #else
6490 > #include <fstream.h>
6491 > #endif
6492 > #ifdef HAVE_STD_IOSTREAM
6493 > using namespace std;
6494 > #endif
6495 >
6496 > int
6497 > main ()
6498 > {
6499 > ofstream s;s.open("conftest.txt",ios::out|ios::trunc);
6500 >  ;
6501 >  return 0;
6502 > }
6503 > _ACEOF
6504 > rm -f conftest.$ac_objext
6505 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506 >  (eval $ac_compile) 2>conftest.er1
6507 >  ac_status=$?
6508 >  grep -v '^ *+' conftest.er1 >conftest.err
6509 >  rm -f conftest.er1
6510 >  cat conftest.err >&5
6511 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 >  (exit $ac_status); } &&
6513 >         { ac_try='test -z "$ac_cxx_werror_flag"
6514 >                         || test ! -s conftest.err'
6515 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 >  (eval $ac_try) 2>&5
6517 >  ac_status=$?
6518 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 >  (exit $ac_status); }; } &&
6520 >         { ac_try='test -s conftest.$ac_objext'
6521 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 >  (eval $ac_try) 2>&5
6523 >  ac_status=$?
6524 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 >  (exit $ac_status); }; }; then
6526 >  ac_cv_cxx_have_fstream_open=yes
6527 > else
6528 >  echo "$as_me: failed program was:" >&5
6529 > sed 's/^/| /' conftest.$ac_ext >&5
6530 >
6531 > fi
6532 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6533 >    # Try with mode parameter
6534 >    cat >conftest.$ac_ext <<_ACEOF
6535 > /* confdefs.h.  */
6536 > _ACEOF
6537 > cat confdefs.h >>conftest.$ac_ext
6538 > cat >>conftest.$ac_ext <<_ACEOF
6539 > /* end confdefs.h.  */
6540 >
6541 > #ifdef HAVE_IOSTREAM
6542 > #include <fstream>
6543 > #else
6544 > #include <fstream.h>
6545 > #endif
6546 > #ifdef HAVE_STD_IOSTREAM
6547 > using namespace std;
6548 > #endif
6549 >
6550 > int
6551 > main ()
6552 > {
6553 > ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666);
6554 >  ;
6555 >  return 0;
6556 > }
6557 > _ACEOF
6558 > rm -f conftest.$ac_objext
6559 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6560 >  (eval $ac_compile) 2>conftest.er1
6561 >  ac_status=$?
6562 >  grep -v '^ *+' conftest.er1 >conftest.err
6563 >  rm -f conftest.er1
6564 >  cat conftest.err >&5
6565 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 >  (exit $ac_status); } &&
6567 >         { ac_try='test -z "$ac_cxx_werror_flag"
6568 >                         || test ! -s conftest.err'
6569 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6570 >  (eval $ac_try) 2>&5
6571 >  ac_status=$?
6572 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 >  (exit $ac_status); }; } &&
6574 >         { ac_try='test -s conftest.$ac_objext'
6575 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6576 >  (eval $ac_try) 2>&5
6577 >  ac_status=$?
6578 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 >  (exit $ac_status); }; }; then
6580 >  ac_cv_cxx_fstream_open_prot=yes
6581 > else
6582 >  echo "$as_me: failed program was:" >&5
6583 > sed 's/^/| /' conftest.$ac_ext >&5
6584 >
6585 > fi
6586 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6587 >    ac_ext=cc
6588 > ac_cpp='$CXXCPP $CPPFLAGS'
6589 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6592 >
6593 >
6594 > fi
6595 > echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5
6596 > echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6
6597 >  if test "$ac_cv_cxx_have_fstream_open" = yes; then
6598 >
6599 > cat >>confdefs.h <<\_ACEOF
6600 > #define HAVE_FSTREAM_OPEN 1
6601 > _ACEOF
6602 >
6603 >  fi
6604 >  if test "$ac_cv_cxx_fstream_open_prot" = yes; then
6605 >
6606 > cat >>confdefs.h <<\_ACEOF
6607 > #define FSTREAM_OPEN_PROT 1
6608 > _ACEOF
6609 >
6610 >  fi
6611 >
6612 >
6613 >
6614 >
6615 > echo "$as_me:$LINENO: checking for asin in -lm" >&5
6616 > echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
6617 > if test "${ac_cv_lib_m_asin+set}" = set; then
6618 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6619 > else
6620 >  ac_check_lib_save_LIBS=$LIBS
6621 > LIBS="-lm  $LIBS"
6622 > cat >conftest.$ac_ext <<_ACEOF
6623 > /* confdefs.h.  */
6624 > _ACEOF
6625 > cat confdefs.h >>conftest.$ac_ext
6626 > cat >>conftest.$ac_ext <<_ACEOF
6627 > /* end confdefs.h.  */
6628 >
6629 > /* Override any gcc2 internal prototype to avoid an error.  */
6630 > #ifdef __cplusplus
6631 > extern "C"
6632 > #endif
6633 > /* We use char because int might match the return type of a gcc2
6634 >   builtin and then its argument prototype would still apply.  */
6635 > char asin ();
6636 > int
6637 > main ()
6638 > {
6639 > asin ();
6640 >  ;
6641 >  return 0;
6642 > }
6643 > _ACEOF
6644 > rm -f conftest.$ac_objext conftest$ac_exeext
6645 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6646 >  (eval $ac_link) 2>conftest.er1
6647 >  ac_status=$?
6648 >  grep -v '^ *+' conftest.er1 >conftest.err
6649 >  rm -f conftest.er1
6650 >  cat conftest.err >&5
6651 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 >  (exit $ac_status); } &&
6653 >         { ac_try='test -z "$ac_cxx_werror_flag"
6654 >                         || test ! -s conftest.err'
6655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 >  (eval $ac_try) 2>&5
6657 >  ac_status=$?
6658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 >  (exit $ac_status); }; } &&
6660 >         { ac_try='test -s conftest$ac_exeext'
6661 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662 >  (eval $ac_try) 2>&5
6663 >  ac_status=$?
6664 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 >  (exit $ac_status); }; }; then
6666 >  ac_cv_lib_m_asin=yes
6667 > else
6668 >  echo "$as_me: failed program was:" >&5
6669 > sed 's/^/| /' conftest.$ac_ext >&5
6670 >
6671 > ac_cv_lib_m_asin=no
6672 > fi
6673 > rm -f conftest.err conftest.$ac_objext \
6674 >      conftest$ac_exeext conftest.$ac_ext
6675 > LIBS=$ac_check_lib_save_LIBS
6676 > fi
6677 > echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
6678 > echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
6679 > if test $ac_cv_lib_m_asin = yes; then
6680 >  cat >>confdefs.h <<_ACEOF
6681 > #define HAVE_LIBM 1
6682 > _ACEOF
6683 >
6684 >  LIBS="-lm $LIBS"
6685 >
6686 > else
6687 >  exit
6688 > fi
6689 >
6690 >
6691 >
6692 > #
6693 > # Handle user hints
6694 > #
6695 > echo "$as_me:$LINENO: checking if zlib is wanted" >&5
6696 > echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
6697 >
6698 > # Check whether --with-zlib or --without-zlib was given.
6699 > if test "${with_zlib+set}" = set; then
6700 >  withval="$with_zlib"
6701 >  if test "$withval" != no ; then
6702 >  echo "$as_me:$LINENO: result: yes" >&5
6703 > echo "${ECHO_T}yes" >&6
6704 >  if test -d "$withval"
6705 >  then
6706 >    ZLIB_HOME="$withval"
6707 >  else
6708 >    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
6709 > echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
6710 >  fi
6711 > else
6712 >  echo "$as_me:$LINENO: result: no" >&5
6713 > echo "${ECHO_T}no" >&6
6714 > fi
6715 > fi;
6716 >
6717 > ZLIB_HOME=/usr/local
6718 > if test ! -f "${ZLIB_HOME}/include/zlib.h"
6719 > then
6720 >        ZLIB_HOME=/usr
6721 > fi
6722 >
6723 > #
6724 > # Locate zlib, if wanted
6725 > #
6726 > if test -n "${ZLIB_HOME}"
6727 > then
6728 >        ZLIB_OLD_LDFLAGS=$LDFLAGS
6729 >        ZLIB_OLD_CPPFLAGS=$LDFLAGS
6730 >        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
6731 >        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
6732 >
6733 >
6734 >        ac_ext=c
6735 > ac_cpp='$CPP $CPPFLAGS'
6736 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6737 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6738 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6739 >
6740 >        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
6741 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
6742 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
6743 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6744 > else
6745 >  ac_check_lib_save_LIBS=$LIBS
6746 > LIBS="-lz  $LIBS"
6747 > cat >conftest.$ac_ext <<_ACEOF
6748 > /* confdefs.h.  */
6749 > _ACEOF
6750 > cat confdefs.h >>conftest.$ac_ext
6751 > cat >>conftest.$ac_ext <<_ACEOF
6752 > /* end confdefs.h.  */
6753 >
6754 > /* Override any gcc2 internal prototype to avoid an error.  */
6755 > #ifdef __cplusplus
6756 > extern "C"
6757 > #endif
6758 > /* We use char because int might match the return type of a gcc2
6759 >   builtin and then its argument prototype would still apply.  */
6760 > char inflateEnd ();
6761 > int
6762 > main ()
6763 > {
6764 > inflateEnd ();
6765 >  ;
6766 >  return 0;
6767 > }
6768 > _ACEOF
6769 > rm -f conftest.$ac_objext conftest$ac_exeext
6770 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6771 >  (eval $ac_link) 2>conftest.er1
6772 >  ac_status=$?
6773 >  grep -v '^ *+' conftest.er1 >conftest.err
6774 >  rm -f conftest.er1
6775 >  cat conftest.err >&5
6776 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 >  (exit $ac_status); } &&
6778 >         { ac_try='test -z "$ac_c_werror_flag"
6779 >                         || test ! -s conftest.err'
6780 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 >  (eval $ac_try) 2>&5
6782 >  ac_status=$?
6783 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 >  (exit $ac_status); }; } &&
6785 >         { ac_try='test -s conftest$ac_exeext'
6786 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 >  (eval $ac_try) 2>&5
6788 >  ac_status=$?
6789 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 >  (exit $ac_status); }; }; then
6791 >  ac_cv_lib_z_inflateEnd=yes
6792 > else
6793 >  echo "$as_me: failed program was:" >&5
6794 > sed 's/^/| /' conftest.$ac_ext >&5
6795 >
6796 > ac_cv_lib_z_inflateEnd=no
6797 > fi
6798 > rm -f conftest.err conftest.$ac_objext \
6799 >      conftest$ac_exeext conftest.$ac_ext
6800 > LIBS=$ac_check_lib_save_LIBS
6801 > fi
6802 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
6803 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
6804 > if test $ac_cv_lib_z_inflateEnd = yes; then
6805 >  zlib_cv_libz=yes
6806 > else
6807 >  zlib_cv_libz=no
6808 > fi
6809 >
6810 >        if test "${ac_cv_header_zlib_h+set}" = set; then
6811 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
6812 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
6813 > if test "${ac_cv_header_zlib_h+set}" = set; then
6814 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6815 > fi
6816 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
6817 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
6818 > else
6819 >  # Is the header compilable?
6820 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
6821 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
6822 > cat >conftest.$ac_ext <<_ACEOF
6823 > /* confdefs.h.  */
6824 > _ACEOF
6825 > cat confdefs.h >>conftest.$ac_ext
6826 > cat >>conftest.$ac_ext <<_ACEOF
6827 > /* end confdefs.h.  */
6828 > $ac_includes_default
6829 > #include <zlib.h>
6830 > _ACEOF
6831 > rm -f conftest.$ac_objext
6832 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 >  (eval $ac_compile) 2>conftest.er1
6834 >  ac_status=$?
6835 >  grep -v '^ *+' conftest.er1 >conftest.err
6836 >  rm -f conftest.er1
6837 >  cat conftest.err >&5
6838 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 >  (exit $ac_status); } &&
6840 >         { ac_try='test -z "$ac_c_werror_flag"
6841 >                         || test ! -s conftest.err'
6842 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 >  (eval $ac_try) 2>&5
6844 >  ac_status=$?
6845 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 >  (exit $ac_status); }; } &&
6847 >         { ac_try='test -s conftest.$ac_objext'
6848 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 >  (eval $ac_try) 2>&5
6850 >  ac_status=$?
6851 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 >  (exit $ac_status); }; }; then
6853 >  ac_header_compiler=yes
6854 > else
6855 >  echo "$as_me: failed program was:" >&5
6856 > sed 's/^/| /' conftest.$ac_ext >&5
6857 >
6858 > ac_header_compiler=no
6859 > fi
6860 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6862 > echo "${ECHO_T}$ac_header_compiler" >&6
6863 >
6864 > # Is the header present?
6865 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
6866 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
6867 > cat >conftest.$ac_ext <<_ACEOF
6868 > /* confdefs.h.  */
6869 > _ACEOF
6870 > cat confdefs.h >>conftest.$ac_ext
6871 > cat >>conftest.$ac_ext <<_ACEOF
6872 > /* end confdefs.h.  */
6873 > #include <zlib.h>
6874 > _ACEOF
6875 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6876 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6877 >  ac_status=$?
6878 >  grep -v '^ *+' conftest.er1 >conftest.err
6879 >  rm -f conftest.er1
6880 >  cat conftest.err >&5
6881 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 >  (exit $ac_status); } >/dev/null; then
6883 >  if test -s conftest.err; then
6884 >    ac_cpp_err=$ac_c_preproc_warn_flag
6885 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6886 >  else
6887 >    ac_cpp_err=
6888 >  fi
6889 > else
6890 >  ac_cpp_err=yes
6891 > fi
6892 > if test -z "$ac_cpp_err"; then
6893 >  ac_header_preproc=yes
6894 > else
6895 >  echo "$as_me: failed program was:" >&5
6896 > sed 's/^/| /' conftest.$ac_ext >&5
6897 >
6898 >  ac_header_preproc=no
6899 > fi
6900 > rm -f conftest.err conftest.$ac_ext
6901 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6902 > echo "${ECHO_T}$ac_header_preproc" >&6
6903 >
6904 > # So?  What about this header?
6905 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6906 >  yes:no: )
6907 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6908 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6909 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
6910 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
6911 >    ac_header_preproc=yes
6912 >    ;;
6913 >  no:yes:* )
6914 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
6915 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
6916 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
6917 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
6918 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
6919 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
6920 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
6921 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6922 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
6923 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
6924 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
6925 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
6926 >    (
6927 >      cat <<\_ASBOX
6928 > ## ------------------------------ ##
6929 > ## Report this to gezelter@nd.edu ##
6930 > ## ------------------------------ ##
6931 > _ASBOX
6932 >    ) |
6933 >      sed "s/^/$as_me: WARNING:     /" >&2
6934 >    ;;
6935 > esac
6936 > echo "$as_me:$LINENO: checking for zlib.h" >&5
6937 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
6938 > if test "${ac_cv_header_zlib_h+set}" = set; then
6939 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6940 > else
6941 >  ac_cv_header_zlib_h=$ac_header_preproc
6942 > fi
6943 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
6944 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
6945 >
6946 > fi
6947 > if test $ac_cv_header_zlib_h = yes; then
6948 >  zlib_cv_zlib_h=yes
6949 > else
6950 >  zlib_cv_zlib_h=no
6951 > fi
6952 >
6953 >
6954 >        ac_ext=cc
6955 > ac_cpp='$CXXCPP $CPPFLAGS'
6956 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6957 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6958 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6959 >
6960 >        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
6961 >        then
6962 >                #
6963 >                # If both library and header were found, use them
6964 >                #
6965 >
6966 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
6967 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
6968 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
6969 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6970 > else
6971 >  ac_check_lib_save_LIBS=$LIBS
6972 > LIBS="-lz  $LIBS"
6973 > cat >conftest.$ac_ext <<_ACEOF
6974 > /* confdefs.h.  */
6975 > _ACEOF
6976 > cat confdefs.h >>conftest.$ac_ext
6977 > cat >>conftest.$ac_ext <<_ACEOF
6978 > /* end confdefs.h.  */
6979 >
6980 > /* Override any gcc2 internal prototype to avoid an error.  */
6981 > #ifdef __cplusplus
6982 > extern "C"
6983 > #endif
6984 > /* We use char because int might match the return type of a gcc2
6985 >   builtin and then its argument prototype would still apply.  */
6986 > char inflateEnd ();
6987 > int
6988 > main ()
6989 > {
6990 > inflateEnd ();
6991 >  ;
6992 >  return 0;
6993 > }
6994 > _ACEOF
6995 > rm -f conftest.$ac_objext conftest$ac_exeext
6996 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6997 >  (eval $ac_link) 2>conftest.er1
6998 >  ac_status=$?
6999 >  grep -v '^ *+' conftest.er1 >conftest.err
7000 >  rm -f conftest.er1
7001 >  cat conftest.err >&5
7002 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 >  (exit $ac_status); } &&
7004 >         { ac_try='test -z "$ac_cxx_werror_flag"
7005 >                         || test ! -s conftest.err'
7006 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 >  (eval $ac_try) 2>&5
7008 >  ac_status=$?
7009 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 >  (exit $ac_status); }; } &&
7011 >         { ac_try='test -s conftest$ac_exeext'
7012 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013 >  (eval $ac_try) 2>&5
7014 >  ac_status=$?
7015 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 >  (exit $ac_status); }; }; then
7017 >  ac_cv_lib_z_inflateEnd=yes
7018 > else
7019 >  echo "$as_me: failed program was:" >&5
7020 > sed 's/^/| /' conftest.$ac_ext >&5
7021 >
7022 > ac_cv_lib_z_inflateEnd=no
7023 > fi
7024 > rm -f conftest.err conftest.$ac_objext \
7025 >      conftest$ac_exeext conftest.$ac_ext
7026 > LIBS=$ac_check_lib_save_LIBS
7027 > fi
7028 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
7029 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
7030 > if test $ac_cv_lib_z_inflateEnd = yes; then
7031 >  cat >>confdefs.h <<_ACEOF
7032 > #define HAVE_LIBZ 1
7033 > _ACEOF
7034 >
7035 >  LIBS="-lz $LIBS"
7036 >
7037 > fi
7038 >
7039 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
7040 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
7041 >                echo "$as_me:$LINENO: result: ok" >&5
7042 > echo "${ECHO_T}ok" >&6
7043 >        else
7044 >                #
7045 >                # If either header or library was not found, revert and bomb
7046 >                #
7047 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
7048 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
7049 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
7050 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
7051 >                echo "$as_me:$LINENO: result: failed" >&5
7052 > echo "${ECHO_T}failed" >&6
7053 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
7054 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
7055 >   { (exit 1); exit 1; }; }
7056 >        fi
7057 > fi
7058 >
7059 >
7060 >
7061 >
7062 >
7063 >
7064 >
7065 >
7066 >
7067 >
7068 >
7069 >
7070 >
7071 >
7072 >
7073 >
7074 >
7075 >
7076 >
7077 >
7078 >
7079 > for ac_header in stdlib.h string.h sys/param.h unistd.h sys/time.h stdio.h conio.h strstream.h iostream.h fstream.h math.h time.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
7080 > do
7081 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7082 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7083 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7084 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7085 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7086 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7087 > fi
7088 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7089 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7090 > else
7091 >  # Is the header compilable?
7092 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7093 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7094 > cat >conftest.$ac_ext <<_ACEOF
7095 > /* confdefs.h.  */
7096 > _ACEOF
7097 > cat confdefs.h >>conftest.$ac_ext
7098 > cat >>conftest.$ac_ext <<_ACEOF
7099 > /* end confdefs.h.  */
7100 > $ac_includes_default
7101 > #include <$ac_header>
7102 > _ACEOF
7103 > rm -f conftest.$ac_objext
7104 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7105 >  (eval $ac_compile) 2>conftest.er1
7106 >  ac_status=$?
7107 >  grep -v '^ *+' conftest.er1 >conftest.err
7108 >  rm -f conftest.er1
7109 >  cat conftest.err >&5
7110 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 >  (exit $ac_status); } &&
7112 >         { ac_try='test -z "$ac_cxx_werror_flag"
7113 >                         || test ! -s conftest.err'
7114 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7115 >  (eval $ac_try) 2>&5
7116 >  ac_status=$?
7117 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 >  (exit $ac_status); }; } &&
7119 >         { ac_try='test -s conftest.$ac_objext'
7120 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 >  (eval $ac_try) 2>&5
7122 >  ac_status=$?
7123 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 >  (exit $ac_status); }; }; then
7125 >  ac_header_compiler=yes
7126 > else
7127 >  echo "$as_me: failed program was:" >&5
7128 > sed 's/^/| /' conftest.$ac_ext >&5
7129 >
7130 > ac_header_compiler=no
7131 > fi
7132 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7133 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7134 > echo "${ECHO_T}$ac_header_compiler" >&6
7135 >
7136 > # Is the header present?
7137 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7138 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7139 > cat >conftest.$ac_ext <<_ACEOF
7140 > /* confdefs.h.  */
7141 > _ACEOF
7142 > cat confdefs.h >>conftest.$ac_ext
7143 > cat >>conftest.$ac_ext <<_ACEOF
7144 > /* end confdefs.h.  */
7145 > #include <$ac_header>
7146 > _ACEOF
7147 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7148 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7149 >  ac_status=$?
7150 >  grep -v '^ *+' conftest.er1 >conftest.err
7151 >  rm -f conftest.er1
7152 >  cat conftest.err >&5
7153 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 >  (exit $ac_status); } >/dev/null; then
7155 >  if test -s conftest.err; then
7156 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
7157 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7158 >  else
7159 >    ac_cpp_err=
7160 >  fi
7161 > else
7162 >  ac_cpp_err=yes
7163 > fi
7164 > if test -z "$ac_cpp_err"; then
7165 >  ac_header_preproc=yes
7166 > else
7167 >  echo "$as_me: failed program was:" >&5
7168 > sed 's/^/| /' conftest.$ac_ext >&5
7169 >
7170 >  ac_header_preproc=no
7171 > fi
7172 > rm -f conftest.err conftest.$ac_ext
7173 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7174 > echo "${ECHO_T}$ac_header_preproc" >&6
7175 >
7176 > # So?  What about this header?
7177 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7178 >  yes:no: )
7179 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7180 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7181 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7182 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7183 >    ac_header_preproc=yes
7184 >    ;;
7185 >  no:yes:* )
7186 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7187 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7188 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7189 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7190 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7191 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7192 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7193 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7194 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7195 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7196 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7197 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7198 >    (
7199 >      cat <<\_ASBOX
7200 > ## ------------------------------ ##
7201 > ## Report this to gezelter@nd.edu ##
7202 > ## ------------------------------ ##
7203 > _ASBOX
7204 >    ) |
7205 >      sed "s/^/$as_me: WARNING:     /" >&2
7206 >    ;;
7207 > esac
7208 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7209 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7210 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7211 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7212 > else
7213 >  eval "$as_ac_Header=\$ac_header_preproc"
7214 > fi
7215 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7216 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7217 >
7218 > fi
7219 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7220 >  cat >>confdefs.h <<_ACEOF
7221 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7222 > _ACEOF
7223 >
7224 > fi
7225 >
7226 > done
7227 >
7228 > ac_ext=cc
7229 > ac_cpp='$CXXCPP $CPPFLAGS'
7230 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7233 >
7234 >
7235 >
7236 >
7237 >
7238 >
7239 > for ac_header in ctype.h iostream fstream sstream strstream
7240 > do
7241 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7244 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7245 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7246 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7247 > fi
7248 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7249 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7250 > else
7251 >  # Is the header compilable?
7252 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7253 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7254 > cat >conftest.$ac_ext <<_ACEOF
7255 > /* confdefs.h.  */
7256 > _ACEOF
7257 > cat confdefs.h >>conftest.$ac_ext
7258 > cat >>conftest.$ac_ext <<_ACEOF
7259 > /* end confdefs.h.  */
7260 > $ac_includes_default
7261 > #include <$ac_header>
7262 > _ACEOF
7263 > rm -f conftest.$ac_objext
7264 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7265 >  (eval $ac_compile) 2>conftest.er1
7266 >  ac_status=$?
7267 >  grep -v '^ *+' conftest.er1 >conftest.err
7268 >  rm -f conftest.er1
7269 >  cat conftest.err >&5
7270 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 >  (exit $ac_status); } &&
7272 >         { ac_try='test -z "$ac_cxx_werror_flag"
7273 >                         || test ! -s conftest.err'
7274 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 >  (eval $ac_try) 2>&5
7276 >  ac_status=$?
7277 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 >  (exit $ac_status); }; } &&
7279 >         { ac_try='test -s conftest.$ac_objext'
7280 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 >  (eval $ac_try) 2>&5
7282 >  ac_status=$?
7283 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 >  (exit $ac_status); }; }; then
7285 >  ac_header_compiler=yes
7286 > else
7287 >  echo "$as_me: failed program was:" >&5
7288 > sed 's/^/| /' conftest.$ac_ext >&5
7289 >
7290 > ac_header_compiler=no
7291 > fi
7292 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7293 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7294 > echo "${ECHO_T}$ac_header_compiler" >&6
7295 >
7296 > # Is the header present?
7297 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7298 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7299 > cat >conftest.$ac_ext <<_ACEOF
7300 > /* confdefs.h.  */
7301 > _ACEOF
7302 > cat confdefs.h >>conftest.$ac_ext
7303 > cat >>conftest.$ac_ext <<_ACEOF
7304 > /* end confdefs.h.  */
7305 > #include <$ac_header>
7306 > _ACEOF
7307 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7308 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7309 >  ac_status=$?
7310 >  grep -v '^ *+' conftest.er1 >conftest.err
7311 >  rm -f conftest.er1
7312 >  cat conftest.err >&5
7313 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 >  (exit $ac_status); } >/dev/null; then
7315 >  if test -s conftest.err; then
7316 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
7317 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7318 >  else
7319 >    ac_cpp_err=
7320 >  fi
7321 > else
7322 >  ac_cpp_err=yes
7323 > fi
7324 > if test -z "$ac_cpp_err"; then
7325 >  ac_header_preproc=yes
7326 > else
7327 >  echo "$as_me: failed program was:" >&5
7328 > sed 's/^/| /' conftest.$ac_ext >&5
7329 >
7330 >  ac_header_preproc=no
7331 > fi
7332 > rm -f conftest.err conftest.$ac_ext
7333 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7334 > echo "${ECHO_T}$ac_header_preproc" >&6
7335 >
7336 > # So?  What about this header?
7337 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7338 >  yes:no: )
7339 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7340 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7341 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7342 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7343 >    ac_header_preproc=yes
7344 >    ;;
7345 >  no:yes:* )
7346 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7347 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7348 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7349 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7350 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7351 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7352 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7353 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7354 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7355 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7356 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7357 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7358 >    (
7359 >      cat <<\_ASBOX
7360 > ## ------------------------------ ##
7361 > ## Report this to gezelter@nd.edu ##
7362 > ## ------------------------------ ##
7363 > _ASBOX
7364 >    ) |
7365 >      sed "s/^/$as_me: WARNING:     /" >&2
7366 >    ;;
7367 > esac
7368 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7369 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7370 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7371 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7372 > else
7373 >  eval "$as_ac_Header=\$ac_header_preproc"
7374 > fi
7375 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7376 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7377 >
7378 > fi
7379 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7380 >  cat >>confdefs.h <<_ACEOF
7381 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7382 > _ACEOF
7383 >
7384 > fi
7385 >
7386 > done
7387 >
7388 > ac_ext=c
7389 > ac_cpp='$CPP $CPPFLAGS'
7390 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7391 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7392 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
7393 >
7394 >
7395 >
7396 >
7397 >
7398 >
7399 >
7400 >
7401 >
7402 >
7403 >
7404 >
7405 >
7406 > for ac_func in rint snprintf sranddev strcasecmp strncasecmp stricmp strnicmp pstat_getstatic sysmp getsysinfo sysctl table
7407 > do
7408 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7409 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7410 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7411 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7412 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7413 > else
7414 >  cat >conftest.$ac_ext <<_ACEOF
7415 > /* confdefs.h.  */
7416 > _ACEOF
7417 > cat confdefs.h >>conftest.$ac_ext
7418 > cat >>conftest.$ac_ext <<_ACEOF
7419 > /* end confdefs.h.  */
7420 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7421 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7422 > #define $ac_func innocuous_$ac_func
7423 >
7424 > /* System header to define __stub macros and hopefully few prototypes,
7425 >    which can conflict with char $ac_func (); below.
7426 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7427 >    <limits.h> exists even on freestanding compilers.  */
7428 >
7429 > #ifdef __STDC__
7430 > # include <limits.h>
7431 > #else
7432 > # include <assert.h>
7433 > #endif
7434 >
7435 > #undef $ac_func
7436 >
7437 > /* Override any gcc2 internal prototype to avoid an error.  */
7438 > #ifdef __cplusplus
7439 > extern "C"
7440 > {
7441 > #endif
7442 > /* We use char because int might match the return type of a gcc2
7443 >   builtin and then its argument prototype would still apply.  */
7444 > char $ac_func ();
7445 > /* The GNU C library defines this for functions which it implements
7446 >    to always fail with ENOSYS.  Some functions are actually named
7447 >    something starting with __ and the normal name is an alias.  */
7448 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7449 > choke me
7450 > #else
7451 > char (*f) () = $ac_func;
7452 > #endif
7453 > #ifdef __cplusplus
7454 > }
7455 > #endif
7456 >
7457 > int
7458 > main ()
7459 > {
7460 > return f != $ac_func;
7461 >  ;
7462 >  return 0;
7463 > }
7464 > _ACEOF
7465 > rm -f conftest.$ac_objext conftest$ac_exeext
7466 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7467 >  (eval $ac_link) 2>conftest.er1
7468 >  ac_status=$?
7469 >  grep -v '^ *+' conftest.er1 >conftest.err
7470 >  rm -f conftest.er1
7471 >  cat conftest.err >&5
7472 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 >  (exit $ac_status); } &&
7474 >         { ac_try='test -z "$ac_c_werror_flag"
7475 >                         || test ! -s conftest.err'
7476 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 >  (eval $ac_try) 2>&5
7478 >  ac_status=$?
7479 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 >  (exit $ac_status); }; } &&
7481 >         { ac_try='test -s conftest$ac_exeext'
7482 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483 >  (eval $ac_try) 2>&5
7484 >  ac_status=$?
7485 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 >  (exit $ac_status); }; }; then
7487 >  eval "$as_ac_var=yes"
7488 > else
7489 >  echo "$as_me: failed program was:" >&5
7490 > sed 's/^/| /' conftest.$ac_ext >&5
7491 >
7492 > eval "$as_ac_var=no"
7493 > fi
7494 > rm -f conftest.err conftest.$ac_objext \
7495 >      conftest$ac_exeext conftest.$ac_ext
7496 > fi
7497 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7498 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7499 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7500 >  cat >>confdefs.h <<_ACEOF
7501 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7502 > _ACEOF
7503 >
7504 > fi
7505 > done
7506 >
7507 > # special check for _system_configuration because AIX <4.3.2 do not
7508 > # contain the `physmem' member.
7509 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
7510 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
7511 > cat >conftest.$ac_ext <<_ACEOF
7512 > /* confdefs.h.  */
7513 > _ACEOF
7514 > cat confdefs.h >>conftest.$ac_ext
7515 > cat >>conftest.$ac_ext <<_ACEOF
7516 > /* end confdefs.h.  */
7517 > #include <sys/systemcfg.h>
7518 > int
7519 > main ()
7520 > {
7521 > double x = _system_configuration.physmem;
7522 >  ;
7523 >  return 0;
7524 > }
7525 > _ACEOF
7526 > rm -f conftest.$ac_objext
7527 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7528 >  (eval $ac_compile) 2>conftest.er1
7529 >  ac_status=$?
7530 >  grep -v '^ *+' conftest.er1 >conftest.err
7531 >  rm -f conftest.er1
7532 >  cat conftest.err >&5
7533 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 >  (exit $ac_status); } &&
7535 >         { ac_try='test -z "$ac_c_werror_flag"
7536 >                         || test ! -s conftest.err'
7537 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538 >  (eval $ac_try) 2>&5
7539 >  ac_status=$?
7540 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 >  (exit $ac_status); }; } &&
7542 >         { ac_try='test -s conftest.$ac_objext'
7543 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544 >  (eval $ac_try) 2>&5
7545 >  ac_status=$?
7546 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 >  (exit $ac_status); }; }; then
7548 >  echo "$as_me:$LINENO: result: yes" >&5
7549 > echo "${ECHO_T}yes" >&6
7550 >
7551 > cat >>confdefs.h <<\_ACEOF
7552 > #define HAVE__SYSTEM_CONFIGURATION 1
7553 > _ACEOF
7554 >
7555 > else
7556 >  echo "$as_me: failed program was:" >&5
7557 > sed 's/^/| /' conftest.$ac_ext >&5
7558 >
7559 > echo "$as_me:$LINENO: result: no" >&5
7560 > echo "${ECHO_T}no" >&6
7561 > fi
7562 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7563 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7564 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7565 > if test "${ac_cv_header_time+set}" = set; then
7566 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7567 > else
7568 >  cat >conftest.$ac_ext <<_ACEOF
7569 > /* confdefs.h.  */
7570 > _ACEOF
7571 > cat confdefs.h >>conftest.$ac_ext
7572 > cat >>conftest.$ac_ext <<_ACEOF
7573 > /* end confdefs.h.  */
7574 > #include <sys/types.h>
7575 > #include <sys/time.h>
7576 > #include <time.h>
7577 >
7578 > int
7579 > main ()
7580 > {
7581 > if ((struct tm *) 0)
7582 > return 0;
7583 >  ;
7584 >  return 0;
7585 > }
7586 > _ACEOF
7587 > rm -f conftest.$ac_objext
7588 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7589 >  (eval $ac_compile) 2>conftest.er1
7590 >  ac_status=$?
7591 >  grep -v '^ *+' conftest.er1 >conftest.err
7592 >  rm -f conftest.er1
7593 >  cat conftest.err >&5
7594 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 >  (exit $ac_status); } &&
7596 >         { ac_try='test -z "$ac_c_werror_flag"
7597 >                         || test ! -s conftest.err'
7598 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 >  (eval $ac_try) 2>&5
7600 >  ac_status=$?
7601 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 >  (exit $ac_status); }; } &&
7603 >         { ac_try='test -s conftest.$ac_objext'
7604 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 >  (eval $ac_try) 2>&5
7606 >  ac_status=$?
7607 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 >  (exit $ac_status); }; }; then
7609 >  ac_cv_header_time=yes
7610 > else
7611 >  echo "$as_me: failed program was:" >&5
7612 > sed 's/^/| /' conftest.$ac_ext >&5
7613 >
7614 > ac_cv_header_time=no
7615 > fi
7616 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7617 > fi
7618 > echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7619 > echo "${ECHO_T}$ac_cv_header_time" >&6
7620 > if test $ac_cv_header_time = yes; then
7621 >
7622 > cat >>confdefs.h <<\_ACEOF
7623 > #define TIME_WITH_SYS_TIME 1
7624 > _ACEOF
7625 >
7626 > fi
7627 >
7628 >
7629 > echo "$as_me:$LINENO: checking for clock_t" >&5
7630 > echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
7631 > if test "${ac_cv_type_clock_t+set}" = set; then
7632 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7633 > else
7634 >  cat >conftest.$ac_ext <<_ACEOF
7635 > /* confdefs.h.  */
7636 > _ACEOF
7637 > cat confdefs.h >>conftest.$ac_ext
7638 > cat >>conftest.$ac_ext <<_ACEOF
7639 > /* end confdefs.h.  */
7640 > $ac_includes_default
7641 > int
7642 > main ()
7643 > {
7644 > if ((clock_t *) 0)
7645 >  return 0;
7646 > if (sizeof (clock_t))
7647 >  return 0;
7648 >  ;
7649 >  return 0;
7650 > }
7651 > _ACEOF
7652 > rm -f conftest.$ac_objext
7653 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7654 >  (eval $ac_compile) 2>conftest.er1
7655 >  ac_status=$?
7656 >  grep -v '^ *+' conftest.er1 >conftest.err
7657 >  rm -f conftest.er1
7658 >  cat conftest.err >&5
7659 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 >  (exit $ac_status); } &&
7661 >         { ac_try='test -z "$ac_c_werror_flag"
7662 >                         || test ! -s conftest.err'
7663 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664 >  (eval $ac_try) 2>&5
7665 >  ac_status=$?
7666 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 >  (exit $ac_status); }; } &&
7668 >         { ac_try='test -s conftest.$ac_objext'
7669 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 >  (eval $ac_try) 2>&5
7671 >  ac_status=$?
7672 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 >  (exit $ac_status); }; }; then
7674 >  ac_cv_type_clock_t=yes
7675 > else
7676 >  echo "$as_me: failed program was:" >&5
7677 > sed 's/^/| /' conftest.$ac_ext >&5
7678 >
7679 > ac_cv_type_clock_t=no
7680 > fi
7681 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7682 > fi
7683 > echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
7684 > echo "${ECHO_T}$ac_cv_type_clock_t" >&6
7685 > if test $ac_cv_type_clock_t = yes; then
7686 >
7687 > cat >>confdefs.h <<_ACEOF
7688 > #define HAVE_CLOCK_T 1
7689 > _ACEOF
7690 >
7691 >
7692 > fi
7693 >
7694 > echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7695 > echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7696 > if test "${ac_cv_c_const+set}" = set; then
7697 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7698 > else
7699 >  cat >conftest.$ac_ext <<_ACEOF
7700 > /* confdefs.h.  */
7701 > _ACEOF
7702 > cat confdefs.h >>conftest.$ac_ext
7703 > cat >>conftest.$ac_ext <<_ACEOF
7704 > /* end confdefs.h.  */
7705 >
7706 > int
7707 > main ()
7708 > {
7709 > /* FIXME: Include the comments suggested by Paul. */
7710 > #ifndef __cplusplus
7711 >  /* Ultrix mips cc rejects this.  */
7712 >  typedef int charset[2];
7713 >  const charset x;
7714 >  /* SunOS 4.1.1 cc rejects this.  */
7715 >  char const *const *ccp;
7716 >  char **p;
7717 >  /* NEC SVR4.0.2 mips cc rejects this.  */
7718 >  struct point {int x, y;};
7719 >  static struct point const zero = {0,0};
7720 >  /* AIX XL C 1.02.0.0 rejects this.
7721 >     It does not let you subtract one const X* pointer from another in
7722 >     an arm of an if-expression whose if-part is not a constant
7723 >     expression */
7724 >  const char *g = "string";
7725 >  ccp = &g + (g ? g-g : 0);
7726 >  /* HPUX 7.0 cc rejects these. */
7727 >  ++ccp;
7728 >  p = (char**) ccp;
7729 >  ccp = (char const *const *) p;
7730 >  { /* SCO 3.2v4 cc rejects this.  */
7731 >    char *t;
7732 >    char const *s = 0 ? (char *) 0 : (char const *) 0;
7733 >
7734 >    *t++ = 0;
7735 >  }
7736 >  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7737 >    int x[] = {25, 17};
7738 >    const int *foo = &x[0];
7739 >    ++foo;
7740 >  }
7741 >  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7742 >    typedef const int *iptr;
7743 >    iptr p = 0;
7744 >    ++p;
7745 >  }
7746 >  { /* AIX XL C 1.02.0.0 rejects this saying
7747 >       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7748 >    struct s { int j; const int *ap[3]; };
7749 >    struct s *b; b->j = 5;
7750 >  }
7751 >  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7752 >    const int foo = 10;
7753 >  }
7754 > #endif
7755 >
7756 >  ;
7757 >  return 0;
7758 > }
7759 > _ACEOF
7760 > rm -f conftest.$ac_objext
7761 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7762 >  (eval $ac_compile) 2>conftest.er1
7763 >  ac_status=$?
7764 >  grep -v '^ *+' conftest.er1 >conftest.err
7765 >  rm -f conftest.er1
7766 >  cat conftest.err >&5
7767 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 >  (exit $ac_status); } &&
7769 >         { ac_try='test -z "$ac_c_werror_flag"
7770 >                         || test ! -s conftest.err'
7771 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772 >  (eval $ac_try) 2>&5
7773 >  ac_status=$?
7774 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 >  (exit $ac_status); }; } &&
7776 >         { ac_try='test -s conftest.$ac_objext'
7777 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 >  (eval $ac_try) 2>&5
7779 >  ac_status=$?
7780 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 >  (exit $ac_status); }; }; then
7782 >  ac_cv_c_const=yes
7783 > else
7784 >  echo "$as_me: failed program was:" >&5
7785 > sed 's/^/| /' conftest.$ac_ext >&5
7786 >
7787 > ac_cv_c_const=no
7788 > fi
7789 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7790 > fi
7791 > echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7792 > echo "${ECHO_T}$ac_cv_c_const" >&6
7793 > if test $ac_cv_c_const = no; then
7794 >
7795 > cat >>confdefs.h <<\_ACEOF
7796 > #define const
7797 > _ACEOF
7798 >
7799 > fi
7800 >
7801 > echo "$as_me:$LINENO: checking for inline" >&5
7802 > echo $ECHO_N "checking for inline... $ECHO_C" >&6
7803 > if test "${ac_cv_c_inline+set}" = set; then
7804 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7805 > else
7806 >  ac_cv_c_inline=no
7807 > for ac_kw in inline __inline__ __inline; do
7808 >  cat >conftest.$ac_ext <<_ACEOF
7809 > /* confdefs.h.  */
7810 > _ACEOF
7811 > cat confdefs.h >>conftest.$ac_ext
7812 > cat >>conftest.$ac_ext <<_ACEOF
7813 > /* end confdefs.h.  */
7814 > #ifndef __cplusplus
7815 > typedef int foo_t;
7816 > static $ac_kw foo_t static_foo () {return 0; }
7817 > $ac_kw foo_t foo () {return 0; }
7818 > #endif
7819 >
7820 > _ACEOF
7821 > rm -f conftest.$ac_objext
7822 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7823 >  (eval $ac_compile) 2>conftest.er1
7824 >  ac_status=$?
7825 >  grep -v '^ *+' conftest.er1 >conftest.err
7826 >  rm -f conftest.er1
7827 >  cat conftest.err >&5
7828 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 >  (exit $ac_status); } &&
7830 >         { ac_try='test -z "$ac_c_werror_flag"
7831 >                         || test ! -s conftest.err'
7832 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 >  (eval $ac_try) 2>&5
7834 >  ac_status=$?
7835 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 >  (exit $ac_status); }; } &&
7837 >         { ac_try='test -s conftest.$ac_objext'
7838 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 >  (eval $ac_try) 2>&5
7840 >  ac_status=$?
7841 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 >  (exit $ac_status); }; }; then
7843 >  ac_cv_c_inline=$ac_kw; break
7844 > else
7845 >  echo "$as_me: failed program was:" >&5
7846 > sed 's/^/| /' conftest.$ac_ext >&5
7847 >
7848 > fi
7849 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7850 > done
7851 >
7852 > fi
7853 > echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7854 > echo "${ECHO_T}$ac_cv_c_inline" >&6
7855 >
7856 >
7857 > case $ac_cv_c_inline in
7858 >  inline | yes) ;;
7859 >  *)
7860 >    case $ac_cv_c_inline in
7861 >      no) ac_val=;;
7862 >      *) ac_val=$ac_cv_c_inline;;
7863 >    esac
7864 >    cat >>confdefs.h <<_ACEOF
7865 > #ifndef __cplusplus
7866 > #define inline $ac_val
7867 > #endif
7868 > _ACEOF
7869 >    ;;
7870 > esac
7871 >
7872 >
7873 >
7874 >  # clean out junk possibly left behind by a previous configuration
7875 >  rm -f src/getopt.h
7876 >  # Check for getopt_long support
7877 >
7878 > for ac_header in getopt.h
7879 > do
7880 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7881 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7882 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7883 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7884 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7885 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7886 > fi
7887 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7888 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7889 > else
7890 >  # Is the header compilable?
7891 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7892 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7893 > cat >conftest.$ac_ext <<_ACEOF
7894 > /* confdefs.h.  */
7895 > _ACEOF
7896 > cat confdefs.h >>conftest.$ac_ext
7897 > cat >>conftest.$ac_ext <<_ACEOF
7898 > /* end confdefs.h.  */
7899 > $ac_includes_default
7900 > #include <$ac_header>
7901 > _ACEOF
7902 > rm -f conftest.$ac_objext
7903 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7904 >  (eval $ac_compile) 2>conftest.er1
7905 >  ac_status=$?
7906 >  grep -v '^ *+' conftest.er1 >conftest.err
7907 >  rm -f conftest.er1
7908 >  cat conftest.err >&5
7909 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 >  (exit $ac_status); } &&
7911 >         { ac_try='test -z "$ac_c_werror_flag"
7912 >                         || test ! -s conftest.err'
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); }; } &&
7918 >         { ac_try='test -s conftest.$ac_objext'
7919 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 >  (eval $ac_try) 2>&5
7921 >  ac_status=$?
7922 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 >  (exit $ac_status); }; }; then
7924 >  ac_header_compiler=yes
7925 > else
7926 >  echo "$as_me: failed program was:" >&5
7927 > sed 's/^/| /' conftest.$ac_ext >&5
7928 >
7929 > ac_header_compiler=no
7930 > fi
7931 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7932 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7933 > echo "${ECHO_T}$ac_header_compiler" >&6
7934 >
7935 > # Is the header present?
7936 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7937 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7938 > cat >conftest.$ac_ext <<_ACEOF
7939 > /* confdefs.h.  */
7940 > _ACEOF
7941 > cat confdefs.h >>conftest.$ac_ext
7942 > cat >>conftest.$ac_ext <<_ACEOF
7943 > /* end confdefs.h.  */
7944 > #include <$ac_header>
7945 > _ACEOF
7946 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7947 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7948 >  ac_status=$?
7949 >  grep -v '^ *+' conftest.er1 >conftest.err
7950 >  rm -f conftest.er1
7951 >  cat conftest.err >&5
7952 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 >  (exit $ac_status); } >/dev/null; then
7954 >  if test -s conftest.err; then
7955 >    ac_cpp_err=$ac_c_preproc_warn_flag
7956 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7957 >  else
7958 >    ac_cpp_err=
7959 >  fi
7960 > else
7961 >  ac_cpp_err=yes
7962 > fi
7963 > if test -z "$ac_cpp_err"; then
7964 >  ac_header_preproc=yes
7965 > else
7966 >  echo "$as_me: failed program was:" >&5
7967 > sed 's/^/| /' conftest.$ac_ext >&5
7968 >
7969 >  ac_header_preproc=no
7970 > fi
7971 > rm -f conftest.err conftest.$ac_ext
7972 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7973 > echo "${ECHO_T}$ac_header_preproc" >&6
7974 >
7975 > # So?  What about this header?
7976 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7977 >  yes:no: )
7978 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7979 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7980 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7981 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7982 >    ac_header_preproc=yes
7983 >    ;;
7984 >  no:yes:* )
7985 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7986 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7987 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7988 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7989 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7990 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7991 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7992 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7993 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7994 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7995 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7996 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7997 >    (
7998 >      cat <<\_ASBOX
7999 > ## ------------------------------ ##
8000 > ## Report this to gezelter@nd.edu ##
8001 > ## ------------------------------ ##
8002 > _ASBOX
8003 >    ) |
8004 >      sed "s/^/$as_me: WARNING:     /" >&2
8005 >    ;;
8006 > esac
8007 > echo "$as_me:$LINENO: checking for $ac_header" >&5
8008 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8009 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
8010 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8011 > else
8012 >  eval "$as_ac_Header=\$ac_header_preproc"
8013 > fi
8014 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8015 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8016 >
8017 > fi
8018 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
8019 >  cat >>confdefs.h <<_ACEOF
8020 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8021 > _ACEOF
8022 >
8023 > fi
8024 >
8025 > done
8026 >
8027 >
8028 > for ac_func in getopt_long
8029 > do
8030 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8031 > echo "$as_me:$LINENO: checking for $ac_func" >&5
8032 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8033 > if eval "test \"\${$as_ac_var+set}\" = set"; then
8034 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8035 > else
8036 >  cat >conftest.$ac_ext <<_ACEOF
8037 > /* confdefs.h.  */
8038 > _ACEOF
8039 > cat confdefs.h >>conftest.$ac_ext
8040 > cat >>conftest.$ac_ext <<_ACEOF
8041 > /* end confdefs.h.  */
8042 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8043 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8044 > #define $ac_func innocuous_$ac_func
8045 >
8046 > /* System header to define __stub macros and hopefully few prototypes,
8047 >    which can conflict with char $ac_func (); below.
8048 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8049 >    <limits.h> exists even on freestanding compilers.  */
8050 >
8051 > #ifdef __STDC__
8052 > # include <limits.h>
8053 > #else
8054 > # include <assert.h>
8055 > #endif
8056 >
8057 > #undef $ac_func
8058 >
8059 > /* Override any gcc2 internal prototype to avoid an error.  */
8060 > #ifdef __cplusplus
8061 > extern "C"
8062 > {
8063 > #endif
8064 > /* We use char because int might match the return type of a gcc2
8065 >   builtin and then its argument prototype would still apply.  */
8066 > char $ac_func ();
8067 > /* The GNU C library defines this for functions which it implements
8068 >    to always fail with ENOSYS.  Some functions are actually named
8069 >    something starting with __ and the normal name is an alias.  */
8070 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8071 > choke me
8072 > #else
8073 > char (*f) () = $ac_func;
8074 > #endif
8075 > #ifdef __cplusplus
8076 > }
8077 > #endif
8078 >
8079 > int
8080 > main ()
8081 > {
8082 > return f != $ac_func;
8083 >  ;
8084 >  return 0;
8085 > }
8086 > _ACEOF
8087 > rm -f conftest.$ac_objext conftest$ac_exeext
8088 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8089 >  (eval $ac_link) 2>conftest.er1
8090 >  ac_status=$?
8091 >  grep -v '^ *+' conftest.er1 >conftest.err
8092 >  rm -f conftest.er1
8093 >  cat conftest.err >&5
8094 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 >  (exit $ac_status); } &&
8096 >         { ac_try='test -z "$ac_c_werror_flag"
8097 >                         || test ! -s conftest.err'
8098 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099 >  (eval $ac_try) 2>&5
8100 >  ac_status=$?
8101 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8102 >  (exit $ac_status); }; } &&
8103 >         { ac_try='test -s conftest$ac_exeext'
8104 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 >  (eval $ac_try) 2>&5
8106 >  ac_status=$?
8107 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 >  (exit $ac_status); }; }; then
8109 >  eval "$as_ac_var=yes"
8110 > else
8111 >  echo "$as_me: failed program was:" >&5
8112 > sed 's/^/| /' conftest.$ac_ext >&5
8113 >
8114 > eval "$as_ac_var=no"
8115 > fi
8116 > rm -f conftest.err conftest.$ac_objext \
8117 >      conftest$ac_exeext conftest.$ac_ext
8118 > fi
8119 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8120 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8121 > if test `eval echo '${'$as_ac_var'}'` = yes; then
8122 >  cat >>confdefs.h <<_ACEOF
8123 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8124 > _ACEOF
8125 >
8126 > else
8127 >  # FreeBSD has a gnugetopt library for this
8128 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
8129 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
8130 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
8131 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8132 > else
8133 >  ac_check_lib_save_LIBS=$LIBS
8134 > LIBS="-lgnugetopt  $LIBS"
8135 > cat >conftest.$ac_ext <<_ACEOF
8136 > /* confdefs.h.  */
8137 > _ACEOF
8138 > cat confdefs.h >>conftest.$ac_ext
8139 > cat >>conftest.$ac_ext <<_ACEOF
8140 > /* end confdefs.h.  */
8141 >
8142 > /* Override any gcc2 internal prototype to avoid an error.  */
8143 > #ifdef __cplusplus
8144 > extern "C"
8145 > #endif
8146 > /* We use char because int might match the return type of a gcc2
8147 >   builtin and then its argument prototype would still apply.  */
8148 > char getopt_long ();
8149 > int
8150 > main ()
8151 > {
8152 > getopt_long ();
8153 >  ;
8154 >  return 0;
8155 > }
8156 > _ACEOF
8157 > rm -f conftest.$ac_objext conftest$ac_exeext
8158 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8159 >  (eval $ac_link) 2>conftest.er1
8160 >  ac_status=$?
8161 >  grep -v '^ *+' conftest.er1 >conftest.err
8162 >  rm -f conftest.er1
8163 >  cat conftest.err >&5
8164 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 >  (exit $ac_status); } &&
8166 >         { ac_try='test -z "$ac_c_werror_flag"
8167 >                         || test ! -s conftest.err'
8168 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 >  (eval $ac_try) 2>&5
8170 >  ac_status=$?
8171 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 >  (exit $ac_status); }; } &&
8173 >         { ac_try='test -s conftest$ac_exeext'
8174 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 >  (eval $ac_try) 2>&5
8176 >  ac_status=$?
8177 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 >  (exit $ac_status); }; }; then
8179 >  ac_cv_lib_gnugetopt_getopt_long=yes
8180 > else
8181 >  echo "$as_me: failed program was:" >&5
8182 > sed 's/^/| /' conftest.$ac_ext >&5
8183 >
8184 > ac_cv_lib_gnugetopt_getopt_long=no
8185 > fi
8186 > rm -f conftest.err conftest.$ac_objext \
8187 >      conftest$ac_exeext conftest.$ac_ext
8188 > LIBS=$ac_check_lib_save_LIBS
8189 > fi
8190 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
8191 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
8192 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
8193 >  cat >>confdefs.h <<\_ACEOF
8194 > #define HAVE_GETOPT_LONG 1
8195 > _ACEOF
8196 >
8197 > else
8198 >  # use the GNU replacement
8199 >      case $LIBOBJS in
8200 >    "getopt.$ac_objext"   | \
8201 >  *" getopt.$ac_objext"   | \
8202 >    "getopt.$ac_objext "* | \
8203 >  *" getopt.$ac_objext "* ) ;;
8204 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
8205 > esac
8206 >
8207 >      case $LIBOBJS in
8208 >    "getopt1.$ac_objext"   | \
8209 >  *" getopt1.$ac_objext"   | \
8210 >    "getopt1.$ac_objext "* | \
8211 >  *" getopt1.$ac_objext "* ) ;;
8212 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
8213 > esac
8214 >
8215 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
8216 >
8217 > fi
8218 >
8219 > fi
8220 > done
8221 >
8222 >
8223 >
8224 > case $debug in
8225 >  1)
8226 >     ;;
8227 >  *)
8228 >
8229 >
8230 >
8231 >
8232 >
8233 >
8234 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
8235 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
8236 > if test "${ac_cv_prog_really_gcc+set}" = set; then
8237 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8238 > else
8239 >
8240 > cat > conftest.c <<EOF
8241 > #ifdef __GNUC__
8242 >  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
8243 >     no;
8244 >  #else
8245 >     yes;
8246 >  #endif
8247 > #endif
8248 > EOF
8249 > if { ac_try='${CC-cc} -E conftest.c'
8250 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 >  (eval $ac_try) 2>&5
8252 >  ac_status=$?
8253 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8255 >  ac_cv_prog_really_gcc=yes
8256 > else
8257 >  ac_cv_prog_really_gcc=no
8258 > fi
8259 >
8260 > fi
8261 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
8262 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
8263 > if test "$ac_cv_prog_really_gcc" = yes; then
8264 >        :
8265 >
8266 > else
8267 >        :
8268 >
8269 > fi
8270 >
8271 >
8272 > # Try to determine "good" native compiler flags if none specified on command
8273 > # line
8274 > if test "$ac_test_CFLAGS" != "set"; then
8275 >  CFLAGS=""
8276 >  case "${host_cpu}-${host_os}" in
8277 >
8278 >  *linux*) if test "$CC" = icc; then
8279 >                    CFLAGS="-O"
8280 >                fi;;
8281 >  sparc-solaris2*) if test "$CC" = cc; then
8282 >                    CFLAGS="-O -dalign"
8283 >                 fi;;
8284 >
8285 >  alpha*-osf*)  if test "$CC" = cc; then
8286 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
8287 >                fi;;
8288 >
8289 >  hppa*-hpux*)  if test "$CC" = cc; then
8290 >                    CFLAGS="-Ae +O3 +Oall"
8291 >                fi;;
8292 >
8293 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
8294 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
8295 >                fi;;
8296 >   powerpc*-aix*)
8297 >        if test "$CC" = cc -o "$CC" = xlc; then
8298 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
8299 >                echo "*******************************************************"
8300 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8301 >                echo "*  recommended that you use                           *"
8302 >                echo "*                                                     *"
8303 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8304 >                echo "*                                 ^^^                 *"
8305 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8306 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8307 >                echo "*******************************************************"
8308 >        fi;;
8309 >   *darwin*)
8310 >        if test "$CC" = xlc -o "$CC" = cc; then
8311 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8312 >        fi;;
8313 >  esac
8314 >
8315 >  # use default flags for gcc on all systems
8316 >  if test $ac_cv_prog_really_gcc = yes; then
8317 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8318 >  fi
8319 >
8320 >  # test for gcc-specific flags:
8321 >  if test $ac_cv_prog_really_gcc = yes; then
8322 >    # -malign-double for x86 systems
8323 >
8324 >
8325 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
8326 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
8327 > if test "${ac_align_double+set}" = set; then
8328 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8329 > else
8330 >  echo 'void f(){}' > conftest.c
8331 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
8332 >        ac_align_double=yes
8333 > else
8334 >        ac_align_double=no
8335 > fi
8336 > rm -f conftest*
8337 >
8338 > fi
8339 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8340 > echo "${ECHO_T}$ac_align_double" >&6
8341 > if test "$ac_align_double" = yes; then
8342 >        :
8343 >        CFLAGS="$CFLAGS -malign-double"
8344 > else
8345 >        :
8346 >
8347 > fi
8348 >
8349 >    # -fstrict-aliasing for gcc-2.95+
8350 >
8351 >
8352 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
8353 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
8354 > if test "${ac_fstrict_aliasing+set}" = set; then
8355 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8356 > else
8357 >  echo 'void f(){}' > conftest.c
8358 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
8359 >        ac_fstrict_aliasing=yes
8360 > else
8361 >        ac_fstrict_aliasing=no
8362 > fi
8363 > rm -f conftest*
8364 >
8365 > fi
8366 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8367 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8368 > if test "$ac_fstrict_aliasing" = yes; then
8369 >        :
8370 >        CFLAGS="$CFLAGS -fstrict-aliasing"
8371 > else
8372 >        :
8373 >
8374 > fi
8375 >
8376 >  fi
8377 >
8378 >  CPU_FLAGS=""
8379 >  if test $ac_cv_prog_really_gcc = yes; then
8380 >                  case "${host_cpu}" in
8381 >          i586*)
8382 >
8383 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
8384 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
8385 > if test "${ac_cpu_pentium+set}" = set; then
8386 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8387 > else
8388 >  echo 'void f(){}' > conftest.c
8389 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
8390 >        ac_cpu_pentium=yes
8391 > else
8392 >        ac_cpu_pentium=no
8393 > fi
8394 > rm -f conftest*
8395 >
8396 > fi
8397 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8398 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8399 > if test "$ac_cpu_pentium" = yes; then
8400 >        :
8401 >        CPU_FLAGS=-mcpu=pentium
8402 > else
8403 >        :
8404 >
8405 >
8406 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
8407 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
8408 > if test "${ac_pentium+set}" = set; then
8409 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8410 > else
8411 >  echo 'void f(){}' > conftest.c
8412 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
8413 >        ac_pentium=yes
8414 > else
8415 >        ac_pentium=no
8416 > fi
8417 > rm -f conftest*
8418 >
8419 > fi
8420 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8421 > echo "${ECHO_T}$ac_pentium" >&6
8422 > if test "$ac_pentium" = yes; then
8423 >        :
8424 >        CPU_FLAGS=-mpentium
8425 > else
8426 >        :
8427 >
8428 > fi
8429 >
8430 > fi
8431 >
8432 >                  ;;
8433 >          i686*)
8434 >
8435 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
8436 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8437 > if test "${ac_cpu_pentiumpro+set}" = set; then
8438 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8439 > else
8440 >  echo 'void f(){}' > conftest.c
8441 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
8442 >        ac_cpu_pentiumpro=yes
8443 > else
8444 >        ac_cpu_pentiumpro=no
8445 > fi
8446 > rm -f conftest*
8447 >
8448 > fi
8449 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8450 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8451 > if test "$ac_cpu_pentiumpro" = yes; then
8452 >        :
8453 >        CPU_FLAGS=-mcpu=pentiumpro
8454 > else
8455 >        :
8456 >
8457 >
8458 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
8459 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
8460 > if test "${ac_pentiumpro+set}" = set; then
8461 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8462 > else
8463 >  echo 'void f(){}' > conftest.c
8464 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
8465 >        ac_pentiumpro=yes
8466 > else
8467 >        ac_pentiumpro=no
8468 > fi
8469 > rm -f conftest*
8470 >
8471 > fi
8472 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8473 > echo "${ECHO_T}$ac_pentiumpro" >&6
8474 > if test "$ac_pentiumpro" = yes; then
8475 >        :
8476 >        CPU_FLAGS=-mpentiumpro
8477 > else
8478 >        :
8479 >
8480 > fi
8481 >
8482 > fi
8483 >
8484 >                  ;;
8485 >          powerpc*)
8486 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8487 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8488 >                if test -n "$is60x"; then
8489 >
8490 >
8491 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
8492 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
8493 > if test "${ac_m_cpu_60x+set}" = set; then
8494 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8495 > else
8496 >  echo 'void f(){}' > conftest.c
8497 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
8498 >        ac_m_cpu_60x=yes
8499 > else
8500 >        ac_m_cpu_60x=no
8501 > fi
8502 > rm -f conftest*
8503 >
8504 > fi
8505 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8506 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8507 > if test "$ac_m_cpu_60x" = yes; then
8508 >        :
8509 >        CPU_FLAGS=-mcpu=$cputype
8510 > else
8511 >        :
8512 >
8513 > fi
8514 >
8515 >                elif test "$cputype" = 750; then
8516 >
8517 >
8518 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
8519 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
8520 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
8521 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8522 > else
8523 >
8524 > cat > conftest.c <<EOF
8525 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8526 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8527 >     yes;
8528 > #  endif
8529 > #endif
8530 > EOF
8531 > if { ac_try='${CC-cc} -E conftest.c'
8532 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8533 >  (eval $ac_try) 2>&5
8534 >  ac_status=$?
8535 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8537 >  ac_cv_prog_gcc_2_95=yes
8538 > else
8539 >  ac_cv_prog_gcc_2_95=no
8540 > fi
8541 >
8542 > fi
8543 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
8544 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
8545 > if test "$ac_cv_prog_gcc_2_95" = yes; then
8546 >        :
8547 >
8548 >
8549 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
8550 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
8551 > if test "${ac_m_cpu_750+set}" = set; then
8552 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8553 > else
8554 >  echo 'void f(){}' > conftest.c
8555 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
8556 >        ac_m_cpu_750=yes
8557 > else
8558 >        ac_m_cpu_750=no
8559 > fi
8560 > rm -f conftest*
8561 >
8562 > fi
8563 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8564 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8565 > if test "$ac_m_cpu_750" = yes; then
8566 >        :
8567 >        CPU_FLAGS=-mcpu=750
8568 > else
8569 >        :
8570 >
8571 > fi
8572 >
8573 > else
8574 >        :
8575 >
8576 > fi
8577 >
8578 >                fi
8579 >                if test -z "$CPU_FLAGS"; then
8580 >
8581 >
8582 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
8583 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
8584 > if test "${ac_m_cpu_powerpc+set}" = set; then
8585 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8586 > else
8587 >  echo 'void f(){}' > conftest.c
8588 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
8589 >        ac_m_cpu_powerpc=yes
8590 > else
8591 >        ac_m_cpu_powerpc=no
8592 > fi
8593 > rm -f conftest*
8594 >
8595 > fi
8596 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8597 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8598 > if test "$ac_m_cpu_powerpc" = yes; then
8599 >        :
8600 >        CPU_FLAGS=-mcpu=powerpc
8601 > else
8602 >        :
8603 >
8604 > fi
8605 >
8606 >                fi
8607 >                if test -z "$CPU_FLAGS"; then
8608 >
8609 >
8610 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
8611 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
8612 > if test "${ac_m_powerpc+set}" = set; then
8613 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8614 > else
8615 >  echo 'void f(){}' > conftest.c
8616 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
8617 >        ac_m_powerpc=yes
8618 > else
8619 >        ac_m_powerpc=no
8620 > fi
8621 > rm -f conftest*
8622 >
8623 > fi
8624 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8625 > echo "${ECHO_T}$ac_m_powerpc" >&6
8626 > if test "$ac_m_powerpc" = yes; then
8627 >        :
8628 >        CPU_FLAGS=-mpowerpc
8629 > else
8630 >        :
8631 >
8632 > fi
8633 >
8634 >                fi
8635 >          esac
8636 >  fi
8637 >
8638 >  if test -n "$CPU_FLAGS"; then
8639 >        CFLAGS="$CFLAGS $CPU_FLAGS"
8640 >  fi
8641 >
8642 >  if test -z "$CFLAGS"; then
8643 >        echo ""
8644 >        echo "********************************************************"
8645 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
8646 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8647 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
8648 >        echo "********************************************************"
8649 >        echo ""
8650 >        CFLAGS="-O3"
8651 >  fi
8652 >
8653 >
8654 >
8655 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
8656 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
8657 > if test "${ac_guessed_cflags+set}" = set; then
8658 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8659 > else
8660 >  echo 'void f(){}' > conftest.c
8661 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
8662 >        ac_guessed_cflags=yes
8663 > else
8664 >        ac_guessed_cflags=no
8665 > fi
8666 > rm -f conftest*
8667 >
8668 > fi
8669 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
8670 > echo "${ECHO_T}$ac_guessed_cflags" >&6
8671 > if test "$ac_guessed_cflags" = yes; then
8672 >        :
8673 >
8674 > else
8675 >        :
8676 >
8677 >        echo ""
8678 >        echo "********************************************************"
8679 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
8680 >        echo "* your compiler.                                       *"
8681 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8682 >        echo "********************************************************"
8683 >        echo ""
8684 >        CFLAGS=""
8685 >
8686 > fi
8687 >
8688 >
8689 > fi
8690 >
8691 >
8692 >
8693 >
8694 >
8695 >
8696 >
8697 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
8698 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
8699 > if test "${ac_cv_prog_really_gxx+set}" = set; then
8700 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8701 > else
8702 >
8703 > cat > conftest.cpp <<EOF
8704 > #ifdef __GNUC__
8705 >  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
8706 >     no;
8707 >  #else
8708 >     yes;
8709 >  #endif
8710 > #endif
8711 > EOF
8712 > if { ac_try='${CXX-c++} -E conftest.cpp'
8713 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714 >  (eval $ac_try) 2>&5
8715 >  ac_status=$?
8716 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8718 >  ac_cv_prog_really_gxx=yes
8719 > else
8720 >  ac_cv_prog_really_gxx=no
8721 > fi
8722 >
8723 > fi
8724 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
8725 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
8726 > if test "$ac_cv_prog_really_gxx" = yes; then
8727 >        :
8728 >
8729 > else
8730 >        :
8731 >
8732 > fi
8733 >
8734 >
8735 > # Try to determine "good" native compiler flags if none specified on command
8736 > # line
8737 > if test "$ac_test_CXXFLAGS" != "set"; then
8738 >  CXXFLAGS=""
8739 >  case "${host_cpu}-${host_os}" in
8740 >
8741 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8742 >                    CXXFLAGS="-O"
8743 >                fi;;
8744 >  sparc-solaris2*) if test "$CXX" = CC; then
8745 >                    CXXFLAGS="-features=extensions -O -dalign"
8746 >                 fi;;
8747 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8748 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8749 >                fi;;
8750 >   powerpc*-aix*)
8751 >        if test "$CXX" = xlC; then
8752 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8753 >                echo "*******************************************************"
8754 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8755 >                echo "*  recommended that you use                           *"
8756 >                echo "*                                                     *"
8757 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8758 >                echo "*                                 ^^^                 *"
8759 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8760 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8761 >                echo "*******************************************************"
8762 >        fi;;
8763 >   *darwin*)
8764 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8765 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8766 >        fi;;
8767 >  esac
8768 >
8769 >  # use default flags for gcc on all systems
8770 >  if test $ac_cv_prog_really_gxx = yes; then
8771 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8772 >  fi
8773 >
8774 >  # test for gcc-specific flags:
8775 >  if test $ac_cv_prog_really_gxx = yes; then
8776 >    # -malign-double for x86 systems
8777 >
8778 >
8779 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8780 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8781 > if test "${ac_align_double+set}" = set; then
8782 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8783 > else
8784 >  echo 'void f(){}' > conftest.cpp
8785 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8786 >        ac_align_double=yes
8787 > else
8788 >        ac_align_double=no
8789 > fi
8790 > rm -f conftest*
8791 >
8792 > fi
8793 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8794 > echo "${ECHO_T}$ac_align_double" >&6
8795 > if test "$ac_align_double" = yes; then
8796 >        :
8797 >        CXXFLAGS="$CXXFLAGS -malign-double"
8798 > else
8799 >        :
8800 >
8801 > fi
8802 >
8803 >    # -fstrict-aliasing for gcc-2.95+
8804 >
8805 >
8806 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8807 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8808 > if test "${ac_fstrict_aliasing+set}" = set; then
8809 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8810 > else
8811 >  echo 'void f(){}' > conftest.cpp
8812 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8813 >        ac_fstrict_aliasing=yes
8814 > else
8815 >        ac_fstrict_aliasing=no
8816 > fi
8817 > rm -f conftest*
8818 >
8819 > fi
8820 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8821 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8822 > if test "$ac_fstrict_aliasing" = yes; then
8823 >        :
8824 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8825 > else
8826 >        :
8827 >
8828 > fi
8829 >
8830 >  fi
8831 >
8832 >  CPU_FLAGS=""
8833 >  if test $ac_cv_prog_really_gxx = yes; then
8834 >                  case "${host_cpu}" in
8835 >          i586*)
8836 >
8837 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8838 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8839 > if test "${ac_cpu_pentium+set}" = set; then
8840 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8841 > else
8842 >  echo 'void f(){}' > conftest.cpp
8843 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8844 >        ac_cpu_pentium=yes
8845 > else
8846 >        ac_cpu_pentium=no
8847 > fi
8848 > rm -f conftest*
8849 >
8850 > fi
8851 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8852 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8853 > if test "$ac_cpu_pentium" = yes; then
8854 >        :
8855 >        CPU_FLAGS=-mcpu=pentium
8856 > else
8857 >        :
8858 >
8859 >
8860 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8861 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8862 > if test "${ac_pentium+set}" = set; then
8863 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8864 > else
8865 >  echo 'void f(){}' > conftest.cpp
8866 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8867 >        ac_pentium=yes
8868 > else
8869 >        ac_pentium=no
8870 > fi
8871 > rm -f conftest*
8872 >
8873 > fi
8874 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8875 > echo "${ECHO_T}$ac_pentium" >&6
8876 > if test "$ac_pentium" = yes; then
8877 >        :
8878 >        CPU_FLAGS=-mpentium
8879 > else
8880 >        :
8881 >
8882 > fi
8883 >
8884 > fi
8885 >
8886 >                  ;;
8887 >          i686*)
8888 >
8889 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8890 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8891 > if test "${ac_cpu_pentiumpro+set}" = set; then
8892 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8893 > else
8894 >  echo 'void f(){}' > conftest.cpp
8895 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8896 >        ac_cpu_pentiumpro=yes
8897 > else
8898 >        ac_cpu_pentiumpro=no
8899 > fi
8900 > rm -f conftest*
8901 >
8902 > fi
8903 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8904 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8905 > if test "$ac_cpu_pentiumpro" = yes; then
8906 >        :
8907 >        CPU_FLAGS=-mcpu=pentiumpro
8908 > else
8909 >        :
8910 >
8911 >
8912 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8913 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8914 > if test "${ac_pentiumpro+set}" = set; then
8915 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8916 > else
8917 >  echo 'void f(){}' > conftest.cpp
8918 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8919 >        ac_pentiumpro=yes
8920 > else
8921 >        ac_pentiumpro=no
8922 > fi
8923 > rm -f conftest*
8924 >
8925 > fi
8926 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8927 > echo "${ECHO_T}$ac_pentiumpro" >&6
8928 > if test "$ac_pentiumpro" = yes; then
8929 >        :
8930 >        CPU_FLAGS=-mpentiumpro
8931 > else
8932 >        :
8933 >
8934 > fi
8935 >
8936 > fi
8937 >
8938 >                  ;;
8939 >          powerpc*)
8940 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8941 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8942 >                if test -n "$is60x"; then
8943 >
8944 >
8945 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8946 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8947 > if test "${ac_m_cpu_60x+set}" = set; then
8948 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8949 > else
8950 >  echo 'void f(){}' > conftest.cpp
8951 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8952 >        ac_m_cpu_60x=yes
8953 > else
8954 >        ac_m_cpu_60x=no
8955 > fi
8956 > rm -f conftest*
8957 >
8958 > fi
8959 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8960 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8961 > if test "$ac_m_cpu_60x" = yes; then
8962 >        :
8963 >        CPU_FLAGS=-mcpu=$cputype
8964 > else
8965 >        :
8966 >
8967 > fi
8968 >
8969 >                elif test "$cputype" = 750; then
8970 >
8971 >
8972 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8973 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8974 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8975 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8976 > else
8977 >
8978 > cat > conftest.cpp <<EOF
8979 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8980 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8981 >     yes;
8982 > #  endif
8983 > #endif
8984 > EOF
8985 > if { ac_try='${CXX-c++} -E conftest.cpp'
8986 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 >  (eval $ac_try) 2>&5
8988 >  ac_status=$?
8989 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8991 >  ac_cv_prog_gxx_2_95=yes
8992 > else
8993 >  ac_cv_prog_gxx_2_95=no
8994 > fi
8995 >
8996 > fi
8997 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8998 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8999 > if test "$ac_cv_prog_gxx_2_95" = yes; then
9000 >        :
9001 >
9002 >
9003 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
9004 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
9005 > if test "${ac_m_cpu_750+set}" = set; then
9006 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9007 > else
9008 >  echo 'void f(){}' > conftest.cpp
9009 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
9010 >        ac_m_cpu_750=yes
9011 > else
9012 >        ac_m_cpu_750=no
9013 > fi
9014 > rm -f conftest*
9015 >
9016 > fi
9017 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
9018 > echo "${ECHO_T}$ac_m_cpu_750" >&6
9019 > if test "$ac_m_cpu_750" = yes; then
9020 >        :
9021 >        CPU_FLAGS=-mcpu=750
9022 > else
9023 >        :
9024 >
9025 > fi
9026 >
9027 > else
9028 >        :
9029 >
9030 > fi
9031 >
9032 >                fi
9033 >                if test -z "$CPU_FLAGS"; then
9034 >
9035 >
9036 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
9037 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
9038 > if test "${ac_m_cpu_powerpc+set}" = set; then
9039 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9040 > else
9041 >  echo 'void f(){}' > conftest.cpp
9042 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
9043 >        ac_m_cpu_powerpc=yes
9044 > else
9045 >        ac_m_cpu_powerpc=no
9046 > fi
9047 > rm -f conftest*
9048 >
9049 > fi
9050 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
9051 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
9052 > if test "$ac_m_cpu_powerpc" = yes; then
9053 >        :
9054 >        CPU_FLAGS=-mcpu=powerpc
9055 > else
9056 >        :
9057 >
9058 > fi
9059 >
9060 >                fi
9061 >                if test -z "$CPU_FLAGS"; then
9062 >
9063 >
9064 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
9065 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
9066 > if test "${ac_m_powerpc+set}" = set; then
9067 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9068 > else
9069 >  echo 'void f(){}' > conftest.cpp
9070 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
9071 >        ac_m_powerpc=yes
9072 > else
9073 >        ac_m_powerpc=no
9074 > fi
9075 > rm -f conftest*
9076 >
9077 > fi
9078 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
9079 > echo "${ECHO_T}$ac_m_powerpc" >&6
9080 > if test "$ac_m_powerpc" = yes; then
9081 >        :
9082 >        CPU_FLAGS=-mpowerpc
9083 > else
9084 >        :
9085 >
9086 > fi
9087 >
9088 >                fi
9089 >          esac
9090 >  fi
9091 >
9092 >  if test -n "$CPU_FLAGS"; then
9093 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
9094 >  fi
9095 >
9096 >  if test -z "$CXXFLAGS"; then
9097 >        echo ""
9098 >        echo "**********************************************************"
9099 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
9100 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
9101 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
9102 >        echo "**********************************************************"
9103 >        echo ""
9104 >        CXXFLAGS="-O3"
9105 >  fi
9106 >
9107 >
9108 >
9109 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
9110 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
9111 > if test "${ac_guessed_cxxflags+set}" = set; then
9112 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9113 > else
9114 >  echo 'void f(){}' > conftest.cpp
9115 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
9116 >        ac_guessed_cxxflags=yes
9117 > else
9118 >        ac_guessed_cxxflags=no
9119 > fi
9120 > rm -f conftest*
9121 >
9122 > fi
9123 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
9124 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
9125 > if test "$ac_guessed_cxxflags" = yes; then
9126 >        :
9127 >
9128 > else
9129 >        :
9130 >
9131 >        echo ""
9132 >        echo "**********************************************************"
9133 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
9134 >        echo "* your compiler.                                         *"
9135 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
9136 >        echo "**********************************************************"
9137 >        echo ""
9138 >        CXXFLAGS=""
9139 >
9140 > fi
9141 >
9142 >
9143 > fi
9144 >
9145 >
9146 >
9147 >
9148 >
9149 > # Try to determine "good" native compiler flags if none specified on command
9150 > # line
9151 >
9152 > if test x"$F90FLAGS" = x ; then
9153 >  F90FLAGS=""
9154 >  case "${host_cpu}-${host_os}" in
9155 >
9156 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
9157 >                    F90FLAGS="-O"
9158 >                fi;;
9159 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
9160 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
9161 >                fi;;
9162 >   powerpc*-aix*)
9163 >        if test "$F90" = f90 -o "$F90" = xlf90; then
9164 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
9165 >                echo "*******************************************************"
9166 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
9167 >                echo "*  recommended that you use                           *"
9168 >                echo "*                                                     *"
9169 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
9170 >                echo "*                                 ^^^                 *"
9171 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
9172 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
9173 >                echo "*******************************************************"
9174 >        fi;;
9175 >   *darwin*)
9176 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
9177 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
9178 >        fi;;
9179 >  esac
9180 >
9181 >  if test -n "$CPU_FLAGS"; then
9182 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
9183 >  fi
9184 >
9185 >  if test -z "$F90FLAGS"; then
9186 >        echo ""
9187 >        echo "**********************************************************"
9188 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
9189 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
9190 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
9191 >        echo "**********************************************************"
9192 >        echo ""
9193 >        F90FLAGS="-O3"
9194 >  fi
9195 >
9196 >
9197 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
9198 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
9199 > if test "${ac_guessed_f90flags+set}" = set; then
9200 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9201 > else
9202 >
9203 >
9204 >
9205 > ac_ext=f90
9206 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
9207 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9208 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
9209 >
9210 > echo 'program main' > conftest.$ac_ext
9211 > echo 'end program main' >> conftest.$ac_ext
9212 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
9213 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9214 >  (eval $ac_compile) 2>&5
9215 >  ac_status=$?
9216 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 >  (exit $ac_status); }; then
9218 >        ac_guessed_f90flags=yes
9219 > else
9220 >        ac_guessed_f90flags=no
9221 > fi
9222 > rm -f conftest*
9223 > ac_ext=c
9224 > ac_cpp='$CPP $CPPFLAGS'
9225 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9226 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9227 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9228 >
9229 >
9230 > fi
9231 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
9232 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
9233 > if test "$ac_guessed_f90flags" = yes; then
9234 >        :
9235 >
9236 > else
9237 >        :
9238 >
9239 >        echo ""
9240 >        echo "**********************************************************"
9241 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
9242 >        echo "* your compiler.                                         *"
9243 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
9244 >        echo "**********************************************************"
9245 >        echo ""
9246 >        F90FLAGS=""
9247 >
9248 > fi
9249 >
9250 >
9251 > fi
9252 >
9253 >     ;;
9254 > esac
9255 >
9256 > ac_ext=cc
9257 > ac_cpp='$CXXCPP $CPPFLAGS'
9258 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9259 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9260 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9261 >
9262 > # AC_CPP_FUNC
9263 > # ------------------ #
9264 > # Checks to see if ANSI C99 CPP variable __func__ works.
9265 > # If not, perhaps __FUNCTION__ works instead.
9266 > # If not, we'll just define __func__ to "".
9267 > # AC_CPP_FUNC
9268 >
9269 >
9270 > echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5
9271 > echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6
9272 > if test "${ac_cv_cpp_func+set}" = set; then
9273 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9274 > else
9275 >  cat >conftest.$ac_ext <<_ACEOF
9276 > /* confdefs.h.  */
9277 > _ACEOF
9278 > cat confdefs.h >>conftest.$ac_ext
9279 > cat >>conftest.$ac_ext <<_ACEOF
9280 > /* end confdefs.h.  */
9281 >
9282 > int
9283 > main ()
9284 > {
9285 > const char *foo = __func__;
9286 >  ;
9287 >  return 0;
9288 > }
9289 > _ACEOF
9290 > rm -f conftest.$ac_objext
9291 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9292 >  (eval $ac_compile) 2>conftest.er1
9293 >  ac_status=$?
9294 >  grep -v '^ *+' conftest.er1 >conftest.err
9295 >  rm -f conftest.er1
9296 >  cat conftest.err >&5
9297 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 >  (exit $ac_status); } &&
9299 >         { ac_try='test -z "$ac_cxx_werror_flag"
9300 >                         || test ! -s conftest.err'
9301 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302 >  (eval $ac_try) 2>&5
9303 >  ac_status=$?
9304 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 >  (exit $ac_status); }; } &&
9306 >         { ac_try='test -s conftest.$ac_objext'
9307 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308 >  (eval $ac_try) 2>&5
9309 >  ac_status=$?
9310 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 >  (exit $ac_status); }; }; then
9312 >  ac_cv_cpp_func=yes
9313 > else
9314 >  echo "$as_me: failed program was:" >&5
9315 > sed 's/^/| /' conftest.$ac_ext >&5
9316 >
9317 > cat >conftest.$ac_ext <<_ACEOF
9318 > /* confdefs.h.  */
9319 > _ACEOF
9320 > cat confdefs.h >>conftest.$ac_ext
9321 > cat >>conftest.$ac_ext <<_ACEOF
9322 > /* end confdefs.h.  */
9323 >
9324 > int
9325 > main ()
9326 > {
9327 > const char *foo = __FUNCTION__;
9328 >  ;
9329 >  return 0;
9330 > }
9331 > _ACEOF
9332 > rm -f conftest.$ac_objext
9333 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9334 >  (eval $ac_compile) 2>conftest.er1
9335 >  ac_status=$?
9336 >  grep -v '^ *+' conftest.er1 >conftest.err
9337 >  rm -f conftest.er1
9338 >  cat conftest.err >&5
9339 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 >  (exit $ac_status); } &&
9341 >         { ac_try='test -z "$ac_cxx_werror_flag"
9342 >                         || test ! -s conftest.err'
9343 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9344 >  (eval $ac_try) 2>&5
9345 >  ac_status=$?
9346 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 >  (exit $ac_status); }; } &&
9348 >         { ac_try='test -s conftest.$ac_objext'
9349 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350 >  (eval $ac_try) 2>&5
9351 >  ac_status=$?
9352 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 >  (exit $ac_status); }; }; then
9354 >  ac_cv_cpp_func=__FUNCTION__
9355 > else
9356 >  echo "$as_me: failed program was:" >&5
9357 > sed 's/^/| /' conftest.$ac_ext >&5
9358 >
9359 > ac_cv_cpp_func=no
9360 > fi
9361 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9362 > fi
9363 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9364 > fi
9365 > echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5
9366 > echo "${ECHO_T}$ac_cv_cpp_func" >&6
9367 > if test $ac_cv_cpp_func = __FUNCTION__; then
9368 >
9369 > cat >>confdefs.h <<\_ACEOF
9370 > #define __func__ __FUNCTION__
9371 > _ACEOF
9372 >
9373 > elif test $ac_cv_cpp_func = no; then
9374 >
9375 > cat >>confdefs.h <<\_ACEOF
9376 > #define __func__ ""
9377 > _ACEOF
9378 >
9379 > fi
9380 >
9381 >
9382 > ac_ext=c
9383 > ac_cpp='$CPP $CPPFLAGS'
9384 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9387 >
9388 >
9389 > # Find a good install program.  We prefer a C program (faster),
9390 > # so one script is as good as another.  But avoid the broken or
9391 > # incompatible versions:
9392 > # SysV /etc/install, /usr/sbin/install
9393 > # SunOS /usr/etc/install
9394 > # IRIX /sbin/install
9395 > # AIX /bin/install
9396 > # AmigaOS /C/install, which installs bootblocks on floppy discs
9397 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9398 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9399 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9400 > # OS/2's system install, which has a completely different semantic
9401 > # ./install, which can be erroneously created by make from ./install.sh.
9402 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9403 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9404 > if test -z "$INSTALL"; then
9405 > if test "${ac_cv_path_install+set}" = set; then
9406 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9407 > else
9408 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9409 > for as_dir in $PATH
9410 > do
9411 >  IFS=$as_save_IFS
9412 >  test -z "$as_dir" && as_dir=.
9413 >  # Account for people who put trailing slashes in PATH elements.
9414 > case $as_dir/ in
9415 >  ./ | .// | /cC/* | \
9416 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9417 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
9418 >  /usr/ucb/* ) ;;
9419 >  *)
9420 >    # OSF1 and SCO ODT 3.0 have their own names for install.
9421 >    # Don't use installbsd from OSF since it installs stuff as root
9422 >    # by default.
9423 >    for ac_prog in ginstall scoinst install; do
9424 >      for ac_exec_ext in '' $ac_executable_extensions; do
9425 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9426 >          if test $ac_prog = install &&
9427 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9428 >            # AIX install.  It has an incompatible calling convention.
9429 >            :
9430 >          elif test $ac_prog = install &&
9431 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9432 >            # program-specific install script used by HP pwplus--don't use.
9433 >            :
9434 >          else
9435 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9436 >            break 3
9437 >          fi
9438 >        fi
9439 >      done
9440 >    done
9441 >    ;;
9442 > esac
9443 > done
9444 >
9445 >
9446 > fi
9447 >  if test "${ac_cv_path_install+set}" = set; then
9448 >    INSTALL=$ac_cv_path_install
9449 >  else
9450 >    # As a last resort, use the slow shell script.  We don't cache a
9451 >    # path for INSTALL within a source directory, because that will
9452 >    # break other packages using the cache if that directory is
9453 >    # removed, or if the path is relative.
9454 >    INSTALL=$ac_install_sh
9455 >  fi
9456 > fi
9457 > echo "$as_me:$LINENO: result: $INSTALL" >&5
9458 > echo "${ECHO_T}$INSTALL" >&6
9459 >
9460 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9461 > # It thinks the first close brace ends the variable substitution.
9462 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9463 >
9464 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
9465 >
9466 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9467 >
9468 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
9469 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
9470 > LN_S=$as_ln_s
9471 > if test "$LN_S" = "ln -s"; then
9472 >  echo "$as_me:$LINENO: result: yes" >&5
9473 > echo "${ECHO_T}yes" >&6
9474 > else
9475 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
9476 > echo "${ECHO_T}no, using $LN_S" >&6
9477 > fi
9478 >
9479 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9480 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
9481 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
9482 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9483 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9484 > else
9485 >  cat >conftest.make <<\_ACEOF
9486 > all:
9487 >        @echo 'ac_maketemp="$(MAKE)"'
9488 > _ACEOF
9489 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9490 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
9491 > if test -n "$ac_maketemp"; then
9492 >  eval ac_cv_prog_make_${ac_make}_set=yes
9493 > else
9494 >  eval ac_cv_prog_make_${ac_make}_set=no
9495 > fi
9496 > rm -f conftest.make
9497 > fi
9498 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
9499 >  echo "$as_me:$LINENO: result: yes" >&5
9500 > echo "${ECHO_T}yes" >&6
9501 >  SET_MAKE=
9502 > else
9503 >  echo "$as_me:$LINENO: result: no" >&5
9504 > echo "${ECHO_T}no" >&6
9505 >  SET_MAKE="MAKE=${MAKE-make}"
9506 > fi
9507 >
9508 > if test -n "$ac_tool_prefix"; then
9509 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9510 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9511 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9512 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9513 > if test "${ac_cv_prog_RANLIB+set}" = set; then
9514 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9515 > else
9516 >  if test -n "$RANLIB"; then
9517 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9518 > else
9519 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520 > for as_dir in $PATH
9521 > do
9522 >  IFS=$as_save_IFS
9523 >  test -z "$as_dir" && as_dir=.
9524 >  for ac_exec_ext in '' $ac_executable_extensions; do
9525 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9526 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9527 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9528 >    break 2
9529 >  fi
9530 > done
9531 > done
9532 >
9533 > fi
9534 > fi
9535 > RANLIB=$ac_cv_prog_RANLIB
9536 > if test -n "$RANLIB"; then
9537 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
9538 > echo "${ECHO_T}$RANLIB" >&6
9539 > else
9540 >  echo "$as_me:$LINENO: result: no" >&5
9541 > echo "${ECHO_T}no" >&6
9542 > fi
9543 >
9544 > fi
9545 > if test -z "$ac_cv_prog_RANLIB"; then
9546 >  ac_ct_RANLIB=$RANLIB
9547 >  # Extract the first word of "ranlib", so it can be a program name with args.
9548 > set dummy ranlib; ac_word=$2
9549 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9550 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9551 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9552 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9553 > else
9554 >  if test -n "$ac_ct_RANLIB"; then
9555 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9556 > else
9557 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9558 > for as_dir in $PATH
9559 > do
9560 >  IFS=$as_save_IFS
9561 >  test -z "$as_dir" && as_dir=.
9562 >  for ac_exec_ext in '' $ac_executable_extensions; do
9563 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9564 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
9565 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9566 >    break 2
9567 >  fi
9568 > done
9569 > done
9570 >
9571 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9572 > fi
9573 > fi
9574 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9575 > if test -n "$ac_ct_RANLIB"; then
9576 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9577 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
9578 > else
9579 >  echo "$as_me:$LINENO: result: no" >&5
9580 > echo "${ECHO_T}no" >&6
9581 > fi
9582 >
9583 >  RANLIB=$ac_ct_RANLIB
9584 > else
9585 >  RANLIB="$ac_cv_prog_RANLIB"
9586 > fi
9587 >
9588 > for ac_prog in 'bison -y' byacc
9589 > do
9590 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
9591 > set dummy $ac_prog; ac_word=$2
9592 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9593 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9594 > if test "${ac_cv_prog_YACC+set}" = set; then
9595 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9596 > else
9597 >  if test -n "$YACC"; then
9598 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
9599 > else
9600 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 > for as_dir in $PATH
9602 > do
9603 >  IFS=$as_save_IFS
9604 >  test -z "$as_dir" && as_dir=.
9605 >  for ac_exec_ext in '' $ac_executable_extensions; do
9606 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9607 >    ac_cv_prog_YACC="$ac_prog"
9608 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 >    break 2
9610 >  fi
9611 > done
9612 > done
9613 >
9614 > fi
9615 > fi
9616 > YACC=$ac_cv_prog_YACC
9617 > if test -n "$YACC"; then
9618 >  echo "$as_me:$LINENO: result: $YACC" >&5
9619 > echo "${ECHO_T}$YACC" >&6
9620 > else
9621 >  echo "$as_me:$LINENO: result: no" >&5
9622 > echo "${ECHO_T}no" >&6
9623 > fi
9624 >
9625 >  test -n "$YACC" && break
9626 > done
9627 > test -n "$YACC" || YACC="yacc"
9628 >
9629 > for ac_prog in flex lex
9630 > do
9631 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
9632 > set dummy $ac_prog; ac_word=$2
9633 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9634 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9635 > if test "${ac_cv_prog_LEX+set}" = set; then
9636 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9637 > else
9638 >  if test -n "$LEX"; then
9639 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
9640 > else
9641 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9642 > for as_dir in $PATH
9643 > do
9644 >  IFS=$as_save_IFS
9645 >  test -z "$as_dir" && as_dir=.
9646 >  for ac_exec_ext in '' $ac_executable_extensions; do
9647 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9648 >    ac_cv_prog_LEX="$ac_prog"
9649 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9650 >    break 2
9651 >  fi
9652 > done
9653 > done
9654 >
9655 > fi
9656 > fi
9657 > LEX=$ac_cv_prog_LEX
9658 > if test -n "$LEX"; then
9659 >  echo "$as_me:$LINENO: result: $LEX" >&5
9660 > echo "${ECHO_T}$LEX" >&6
9661 > else
9662 >  echo "$as_me:$LINENO: result: no" >&5
9663 > echo "${ECHO_T}no" >&6
9664 > fi
9665 >
9666 >  test -n "$LEX" && break
9667 > done
9668 > test -n "$LEX" || LEX=":"
9669 >
9670 > if test -z "$LEXLIB"
9671 > then
9672 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
9673 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
9674 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
9675 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9676 > else
9677 >  ac_check_lib_save_LIBS=$LIBS
9678 > LIBS="-lfl  $LIBS"
9679 > cat >conftest.$ac_ext <<_ACEOF
9680 > /* confdefs.h.  */
9681 > _ACEOF
9682 > cat confdefs.h >>conftest.$ac_ext
9683 > cat >>conftest.$ac_ext <<_ACEOF
9684 > /* end confdefs.h.  */
9685 >
9686 > /* Override any gcc2 internal prototype to avoid an error.  */
9687 > #ifdef __cplusplus
9688 > extern "C"
9689 > #endif
9690 > /* We use char because int might match the return type of a gcc2
9691 >   builtin and then its argument prototype would still apply.  */
9692 > char yywrap ();
9693 > int
9694 > main ()
9695 > {
9696 > yywrap ();
9697 >  ;
9698 >  return 0;
9699 > }
9700 > _ACEOF
9701 > rm -f conftest.$ac_objext conftest$ac_exeext
9702 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9703 >  (eval $ac_link) 2>conftest.er1
9704 >  ac_status=$?
9705 >  grep -v '^ *+' conftest.er1 >conftest.err
9706 >  rm -f conftest.er1
9707 >  cat conftest.err >&5
9708 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 >  (exit $ac_status); } &&
9710 >         { ac_try='test -z "$ac_c_werror_flag"
9711 >                         || test ! -s conftest.err'
9712 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 >  (eval $ac_try) 2>&5
9714 >  ac_status=$?
9715 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 >  (exit $ac_status); }; } &&
9717 >         { ac_try='test -s conftest$ac_exeext'
9718 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 >  (eval $ac_try) 2>&5
9720 >  ac_status=$?
9721 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 >  (exit $ac_status); }; }; then
9723 >  ac_cv_lib_fl_yywrap=yes
9724 > else
9725 >  echo "$as_me: failed program was:" >&5
9726 > sed 's/^/| /' conftest.$ac_ext >&5
9727 >
9728 > ac_cv_lib_fl_yywrap=no
9729 > fi
9730 > rm -f conftest.err conftest.$ac_objext \
9731 >      conftest$ac_exeext conftest.$ac_ext
9732 > LIBS=$ac_check_lib_save_LIBS
9733 > fi
9734 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
9735 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
9736 > if test $ac_cv_lib_fl_yywrap = yes; then
9737 >  LEXLIB="-lfl"
9738 > else
9739 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
9740 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
9741 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
9742 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9743 > else
9744 >  ac_check_lib_save_LIBS=$LIBS
9745 > LIBS="-ll  $LIBS"
9746 > cat >conftest.$ac_ext <<_ACEOF
9747 > /* confdefs.h.  */
9748 > _ACEOF
9749 > cat confdefs.h >>conftest.$ac_ext
9750 > cat >>conftest.$ac_ext <<_ACEOF
9751 > /* end confdefs.h.  */
9752 >
9753 > /* Override any gcc2 internal prototype to avoid an error.  */
9754 > #ifdef __cplusplus
9755 > extern "C"
9756 > #endif
9757 > /* We use char because int might match the return type of a gcc2
9758 >   builtin and then its argument prototype would still apply.  */
9759 > char yywrap ();
9760 > int
9761 > main ()
9762 > {
9763 > yywrap ();
9764 >  ;
9765 >  return 0;
9766 > }
9767 > _ACEOF
9768 > rm -f conftest.$ac_objext conftest$ac_exeext
9769 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9770 >  (eval $ac_link) 2>conftest.er1
9771 >  ac_status=$?
9772 >  grep -v '^ *+' conftest.er1 >conftest.err
9773 >  rm -f conftest.er1
9774 >  cat conftest.err >&5
9775 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 >  (exit $ac_status); } &&
9777 >         { ac_try='test -z "$ac_c_werror_flag"
9778 >                         || test ! -s conftest.err'
9779 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 >  (eval $ac_try) 2>&5
9781 >  ac_status=$?
9782 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 >  (exit $ac_status); }; } &&
9784 >         { ac_try='test -s conftest$ac_exeext'
9785 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 >  (eval $ac_try) 2>&5
9787 >  ac_status=$?
9788 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 >  (exit $ac_status); }; }; then
9790 >  ac_cv_lib_l_yywrap=yes
9791 > else
9792 >  echo "$as_me: failed program was:" >&5
9793 > sed 's/^/| /' conftest.$ac_ext >&5
9794 >
9795 > ac_cv_lib_l_yywrap=no
9796 > fi
9797 > rm -f conftest.err conftest.$ac_objext \
9798 >      conftest$ac_exeext conftest.$ac_ext
9799 > LIBS=$ac_check_lib_save_LIBS
9800 > fi
9801 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9802 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9803 > if test $ac_cv_lib_l_yywrap = yes; then
9804 >  LEXLIB="-ll"
9805 > fi
9806 >
9807 > fi
9808 >
9809 > fi
9810 >
9811 > if test "x$LEX" != "x:"; then
9812 >  echo "$as_me:$LINENO: checking lex output file root" >&5
9813 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9814 > if test "${ac_cv_prog_lex_root+set}" = set; then
9815 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9816 > else
9817 >  # The minimal lex program is just a single line: %%.  But some broken lexes
9818 > # (Solaris, I think it was) want two %% lines, so accommodate them.
9819 > cat >conftest.l <<_ACEOF
9820 > %%
9821 > %%
9822 > _ACEOF
9823 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9824 >  (eval $LEX conftest.l) 2>&5
9825 >  ac_status=$?
9826 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 >  (exit $ac_status); }
9828 > if test -f lex.yy.c; then
9829 >  ac_cv_prog_lex_root=lex.yy
9830 > elif test -f lexyy.c; then
9831 >  ac_cv_prog_lex_root=lexyy
9832 > else
9833 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9834 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9835 >   { (exit 1); exit 1; }; }
9836 > fi
9837 > fi
9838 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9839 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9840 > rm -f conftest.l
9841 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9842 >
9843 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9844 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9845 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9846 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9847 > else
9848 >  # POSIX says lex can declare yytext either as a pointer or an array; the
9849 > # default is implementation-dependent. Figure out which it is, since
9850 > # not all implementations provide the %pointer and %array declarations.
9851 > ac_cv_prog_lex_yytext_pointer=no
9852 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9853 > ac_save_LIBS=$LIBS
9854 > LIBS="$LIBS $LEXLIB"
9855 > cat >conftest.$ac_ext <<_ACEOF
9856 > `cat $LEX_OUTPUT_ROOT.c`
9857 > _ACEOF
9858 > rm -f conftest.$ac_objext conftest$ac_exeext
9859 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9860 >  (eval $ac_link) 2>conftest.er1
9861 >  ac_status=$?
9862 >  grep -v '^ *+' conftest.er1 >conftest.err
9863 >  rm -f conftest.er1
9864 >  cat conftest.err >&5
9865 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 >  (exit $ac_status); } &&
9867 >         { ac_try='test -z "$ac_c_werror_flag"
9868 >                         || test ! -s conftest.err'
9869 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 >  (eval $ac_try) 2>&5
9871 >  ac_status=$?
9872 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 >  (exit $ac_status); }; } &&
9874 >         { ac_try='test -s conftest$ac_exeext'
9875 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9876 >  (eval $ac_try) 2>&5
9877 >  ac_status=$?
9878 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 >  (exit $ac_status); }; }; then
9880 >  ac_cv_prog_lex_yytext_pointer=yes
9881 > else
9882 >  echo "$as_me: failed program was:" >&5
9883 > sed 's/^/| /' conftest.$ac_ext >&5
9884 >
9885 > fi
9886 > rm -f conftest.err conftest.$ac_objext \
9887 >      conftest$ac_exeext conftest.$ac_ext
9888 > LIBS=$ac_save_LIBS
9889 > rm -f "${LEX_OUTPUT_ROOT}.c"
9890 >
9891 > fi
9892 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9893 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9894 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9895 >
9896 > cat >>confdefs.h <<\_ACEOF
9897 > #define YYTEXT_POINTER 1
9898 > _ACEOF
9899 >
9900 > fi
9901 >
9902 > fi
9903 >
9904 >   # Extract the first word of "perl", so it can be a program name with args.
9905 > set dummy perl; ac_word=$2
9906 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9907 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9909 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9910 > else
9911 >  case $PERLINTERP in
9912 >  [\\/]* | ?:[\\/]*)
9913 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9914 >  ;;
9915 >  *)
9916 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9917 > for as_dir in $PATH
9918 > do
9919 >  IFS=$as_save_IFS
9920 >  test -z "$as_dir" && as_dir=.
9921 >  for ac_exec_ext in '' $ac_executable_extensions; do
9922 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9923 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9924 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 >    break 2
9926 >  fi
9927 > done
9928 > done
9929 >
9930 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9931 >  ;;
9932 > esac
9933 > fi
9934 > PERLINTERP=$ac_cv_path_PERLINTERP
9935 >
9936 > if test -n "$PERLINTERP"; then
9937 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9938 > echo "${ECHO_T}$PERLINTERP" >&6
9939 > else
9940 >  echo "$as_me:$LINENO: result: no" >&5
9941 > echo "${ECHO_T}no" >&6
9942 > fi
9943 >
9944 >   ac_cv_path_perlinterp="$PERLINTERP"
9945 >   _sHpB='#!'
9946 >
9947 >
9948 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9949 > if test "${with_perl_shebang+set}" = set; then
9950 >  withval="$with_perl_shebang"
9951 >  opt_perl_shebang="$withval"
9952 > else
9953 >                opt_perl_shebang="not_set"
9954 > fi;
9955 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9956 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9957 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9958 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9959 > else
9960 >   case "$opt_perl_shebang" in
9961 >                      not_set  ) ax_cv_opt_perl_shebang=''
9962 >                               ;;
9963 >                         *     )
9964 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9965 >                    esac
9966 >
9967 > fi
9968 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9969 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9970 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9971 >     then
9972 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9973 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9974 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9975 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9976 >
9977 > # Automatic detection of sharpbang formula starts here
9978 >     else
9979 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9980 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9981 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9982 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9983 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9984 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9985 > else
9986 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9987 >        if test "x$_somian_kspb_perl" == x
9988 >          then _somian_ksbp_warn_empty='durnit'
9989 >          else
9990 >          case "A$_somian_kspb_perl" in
9991 >                 A#!*perl* )
9992 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9993 >                        ;;
9994 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9995 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9996 >          esac
9997 >        fi
9998 >
9999 > fi
10000 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
10001 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
10002 > # The above prints Checking ... result message to user.
10003 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
10004 >
10005 >    if test A${_somian_ksbp_warn_empty+set} == Aset
10006 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
10007 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
10008 >    fi
10009 > # Inform user after printing result value
10010 >    if test A${_somian_ksbp_warn_defau+set} == Aset
10011 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
10012 > echo "$as_me: Maybe Not good -" >&6;}
10013 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
10014 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
10015 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
10016 > echo "$as_me: OK Good result - " >&6;}
10017 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
10018 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
10019 >    fi
10020 >  fi
10021 >
10022 > # Extract the first word of "ar", so it can be a program name with args.
10023 > set dummy ar; ac_word=$2
10024 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10025 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10026 > if test "${ac_cv_prog_AR+set}" = set; then
10027 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10028 > else
10029 >  if test -n "$AR"; then
10030 >  ac_cv_prog_AR="$AR" # Let the user override the test.
10031 > else
10032 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10033 > for as_dir in $PATH
10034 > do
10035 >  IFS=$as_save_IFS
10036 >  test -z "$as_dir" && as_dir=.
10037 >  for ac_exec_ext in '' $ac_executable_extensions; do
10038 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10039 >    ac_cv_prog_AR="ar"
10040 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10041 >    break 2
10042 >  fi
10043 > done
10044 > done
10045 >
10046 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
10047 > fi
10048 > fi
10049 > AR=$ac_cv_prog_AR
10050 > if test -n "$AR"; then
10051 >  echo "$as_me:$LINENO: result: $AR" >&5
10052 > echo "${ECHO_T}$AR" >&6
10053 > else
10054 >  echo "$as_me:$LINENO: result: no" >&5
10055 > echo "${ECHO_T}no" >&6
10056 > fi
10057 >
10058 > if test "$AR" = "NONE"; then
10059 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
10060 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
10061 >   { (exit 1); exit 1; }; }
10062 >  cat >confcache <<\_ACEOF
10063 > # This file is a shell script that caches the results of configure
10064 > # tests run on this system so they can be shared between configure
10065 > # scripts and configure runs, see configure's option --config-cache.
10066 > # It is not useful on other systems.  If it contains results you don't
10067 > # want to keep, you may remove or edit it.
10068 > #
10069 > # config.status only pays attention to the cache file if you give it
10070 > # the --recheck option to rerun configure.
10071 > #
10072 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10073 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
10074 > # following values.
10075 >
10076 > _ACEOF
10077 >
10078 > # The following way of writing the cache mishandles newlines in values,
10079 > # but we know of no workaround that is simple, portable, and efficient.
10080 > # So, don't put newlines in cache variables' values.
10081 > # Ultrix sh set writes to stderr and can't be redirected directly,
10082 > # and sets the high bit in the cache file unless we assign to the vars.
10083 > {
10084 >  (set) 2>&1 |
10085 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
10086 >    *ac_space=\ *)
10087 >      # `set' does not quote correctly, so add quotes (double-quote
10088 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
10089 >      sed -n \
10090 >        "s/'/'\\\\''/g;
10091 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10092 >      ;;
10093 >    *)
10094 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
10095 >      sed -n \
10096 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10097 >      ;;
10098 >    esac;
10099 > } |
10100 >  sed '
10101 >     t clear
10102 >     : clear
10103 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10104 >     t end
10105 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10106 >     : end' >>confcache
10107 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10108 >  if test -w $cache_file; then
10109 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10110 >    cat confcache >$cache_file
10111 >  else
10112 >    echo "not updating unwritable cache $cache_file"
10113 >  fi
10114 > fi
10115 > rm -f confcache
10116 >  exit 1
10117 > fi
10118 >
10119 > # Extract the first word of "ps", so it can be a program name with args.
10120 > set dummy ps; ac_word=$2
10121 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10122 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10123 > if test "${ac_cv_path_PS+set}" = set; then
10124 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10125 > else
10126 >  case $PS in
10127 >  [\\/]* | ?:[\\/]*)
10128 >  ac_cv_path_PS="$PS" # Let the user override the test with a path.
10129 >  ;;
10130 >  *)
10131 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10132 > for as_dir in $PATH
10133 > do
10134 >  IFS=$as_save_IFS
10135 >  test -z "$as_dir" && as_dir=.
10136 >  for ac_exec_ext in '' $ac_executable_extensions; do
10137 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10138 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
10139 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 >    break 2
10141 >  fi
10142 > done
10143 > done
10144 >
10145 >  ;;
10146 > esac
10147 > fi
10148 > PS=$ac_cv_path_PS
10149 >
10150 > if test -n "$PS"; then
10151 >  echo "$as_me:$LINENO: result: $PS" >&5
10152 > echo "${ECHO_T}$PS" >&6
10153 > else
10154 >  echo "$as_me:$LINENO: result: no" >&5
10155 > echo "${ECHO_T}no" >&6
10156 > fi
10157 >
10158 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
10159 > echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
10160 > if test "${ac_cv_prog_ps_syntax+set}" = set; then
10161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10162 > else
10163 >
10164 >        if $PS ax -o rss > /dev/null 2>&1; then
10165 >                ac_cv_prog_ps_ax=yes
10166 >        else
10167 >                ac_cv_prog_ps_ax=no
10168 >        fi
10169 >        if $PS -ef -o rss > /dev/null 2>&1; then
10170 >                ac_cv_prog_ps_ef=yes
10171 >        else
10172 >                ac_cv_prog_ps_ef=no
10173 >        fi
10174 >        if test "$ac_cv_prog_ps_ax" = yes; then
10175 >                ac_cv_prog_ps_syntax=BSD
10176 >        else
10177 >                if test "$ac_cv_prog_ps_ef" = yes; then
10178 >                        ac_cv_prog_ps_syntax=POSIX
10179 >                else
10180 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
10181 > echo "$as_me: error: Could not determine ps syntax" >&2;}
10182 >   { (exit 1); exit 1; }; }
10183 >                fi
10184 >        fi
10185 >
10186 > fi
10187 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
10188 > echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
10189 >
10190 >
10191 > cat >>confdefs.h <<_ACEOF
10192 > #define PSCOMMAND $PS
10193 > _ACEOF
10194 >
10195 >
10196 > cat >>confdefs.h <<\_ACEOF
10197 > #define OBAPI
10198 > _ACEOF
10199 >
10200 >
10201 >
10202 > if test "$ac_cv_prog_ps_syntax" = BSD; then
10203 >
10204 > cat >>confdefs.h <<\_ACEOF
10205 > #define PSTYPE_IS_BSD 1
10206 > _ACEOF
10207 >
10208 > else
10209 >   if test "$ac_cv_prog_ps_syntax" = POSIX; then
10210 >
10211 > cat >>confdefs.h <<\_ACEOF
10212 > #define PSTYPE_IS_POSIX 1
10213 > _ACEOF
10214 >
10215 >   else
10216 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
10217 > echo "$as_me: error: Unknown ps syntax type!" >&2;}
10218 >   { (exit 1); exit 1; }; }
10219 >   fi
10220 > fi
10221 >
10222 >
10223 > # Check whether --with-mpi or --without-mpi was given.
10224 > if test "${with_mpi+set}" = set; then
10225 >  withval="$with_mpi"
10226 >  with_mpi=$withval
10227 > else
10228 >  with_mpi="no"
10229 > fi;
10230 >
10231 > case "x$with_mpi" in
10232 >        xyes | "x")  USE_MPI=yes;;
10233 >        xno) USE_MPI=no ;;
10234 >        *) MPI="$with_mpi"; USE_MPI=yes ;;
10235 > esac
10236 > if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
10237 >        MPI="/usr/local"
10238 > fi
10239 > if test "$USE_MPI" = "yes"; then
10240 >
10241 >
10242 > # Set variables...
10243 > MPI_LIB_DIR="$MPI/lib"
10244 > MPI_INC_DIR="$MPI/include"
10245 >
10246 >
10247 >
10248 > echo "$as_me:$LINENO: checking for mpi.h" >&5
10249 > echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
10250 > have_mpi_h=0
10251 > rm -f conftest*
10252 > echo '#include <mpi.h>' > conftest.cc
10253 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
10254 >        echo "$as_me:$LINENO: result: yes" >&5
10255 > echo "${ECHO_T}yes" >&6
10256 >        have_mpi_h=1
10257 > else
10258 >        if test -s conftest.out ; then
10259 >                cat conftest.out >> config.log
10260 >        fi
10261 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
10262 > echo "${ECHO_T}no! Check MPI include paths" >&6
10263 >        USE_MPI="no"
10264 > fi
10265 > rm -f conftest*
10266 > if test "$have_mpi_h" = 1; then
10267 >
10268 > cat >>confdefs.h <<\_ACEOF
10269 > #define HAVE_MPI_H 1
10270 > _ACEOF
10271 >
10272 > fi
10273 >
10274 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
10275 > echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
10276 > have_mpif_h=0
10277 > rm -f conftest*
10278 > cat >conftest.f90 <<EOF
10279 > program main
10280 >   include 'mpif.h'
10281 > end
10282 > EOF
10283 > if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
10284 >        echo "$as_me:$LINENO: result: yes" >&5
10285 > echo "${ECHO_T}yes" >&6
10286 >        MPI_F90_INC="$MPI_INC_DIR"
10287 >        have_mpif_h=1
10288 > else
10289 >        if test -s conftest.out ; then
10290 >                cat conftest.out >> config.log
10291 >        fi
10292 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
10293 > echo "${ECHO_T}no! Check MPI include paths" >&6
10294 >        USE_MPI="no"
10295 > fi
10296 > rm -f conftest*
10297 >
10298 > if test "$have_mpif_h" = 1; then
10299 >
10300 > cat >>confdefs.h <<\_ACEOF
10301 > #define HAVE_MPIF_H 1
10302 > _ACEOF
10303 >
10304 > fi
10305 >
10306 > ac_ext=c
10307 > ac_cpp='$CPP $CPPFLAGS'
10308 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10309 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10310 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
10311 >
10312 > ac_save_LDFLAGS=$LDFLAGS
10313 > LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
10314 >
10315 > if test x = x"$MPI_LIB"; then
10316 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
10317 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
10318 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
10319 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10320 > else
10321 >  ac_check_lib_save_LIBS=$LIBS
10322 > LIBS="-lmpich  $LIBS"
10323 > cat >conftest.$ac_ext <<_ACEOF
10324 > /* confdefs.h.  */
10325 > _ACEOF
10326 > cat confdefs.h >>conftest.$ac_ext
10327 > cat >>conftest.$ac_ext <<_ACEOF
10328 > /* end confdefs.h.  */
10329 >
10330 > /* Override any gcc2 internal prototype to avoid an error.  */
10331 > #ifdef __cplusplus
10332 > extern "C"
10333 > #endif
10334 > /* We use char because int might match the return type of a gcc2
10335 >   builtin and then its argument prototype would still apply.  */
10336 > char MPI_Init ();
10337 > int
10338 > main ()
10339 > {
10340 > MPI_Init ();
10341 >  ;
10342 >  return 0;
10343 > }
10344 > _ACEOF
10345 > rm -f conftest.$ac_objext conftest$ac_exeext
10346 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10347 >  (eval $ac_link) 2>conftest.er1
10348 >  ac_status=$?
10349 >  grep -v '^ *+' conftest.er1 >conftest.err
10350 >  rm -f conftest.er1
10351 >  cat conftest.err >&5
10352 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 >  (exit $ac_status); } &&
10354 >         { ac_try='test -z "$ac_c_werror_flag"
10355 >                         || test ! -s conftest.err'
10356 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357 >  (eval $ac_try) 2>&5
10358 >  ac_status=$?
10359 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 >  (exit $ac_status); }; } &&
10361 >         { ac_try='test -s conftest$ac_exeext'
10362 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363 >  (eval $ac_try) 2>&5
10364 >  ac_status=$?
10365 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 >  (exit $ac_status); }; }; then
10367 >  ac_cv_lib_mpich_MPI_Init=yes
10368 > else
10369 >  echo "$as_me: failed program was:" >&5
10370 > sed 's/^/| /' conftest.$ac_ext >&5
10371 >
10372 > ac_cv_lib_mpich_MPI_Init=no
10373 > fi
10374 > rm -f conftest.err conftest.$ac_objext \
10375 >      conftest$ac_exeext conftest.$ac_ext
10376 > LIBS=$ac_check_lib_save_LIBS
10377 > fi
10378 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
10379 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
10380 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
10381 >  MPI_LIB="-lmpich"
10382 > fi
10383 >
10384 > fi
10385 > if test x = x"$MPI_LIB"; then
10386 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
10387 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
10388 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
10389 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10390 > else
10391 >  ac_check_lib_save_LIBS=$LIBS
10392 > LIBS="-lmpi  $LIBS"
10393 > cat >conftest.$ac_ext <<_ACEOF
10394 > /* confdefs.h.  */
10395 > _ACEOF
10396 > cat confdefs.h >>conftest.$ac_ext
10397 > cat >>conftest.$ac_ext <<_ACEOF
10398 > /* end confdefs.h.  */
10399 >
10400 > /* Override any gcc2 internal prototype to avoid an error.  */
10401 > #ifdef __cplusplus
10402 > extern "C"
10403 > #endif
10404 > /* We use char because int might match the return type of a gcc2
10405 >   builtin and then its argument prototype would still apply.  */
10406 > char MPI_Init ();
10407 > int
10408 > main ()
10409 > {
10410 > MPI_Init ();
10411 >  ;
10412 >  return 0;
10413 > }
10414 > _ACEOF
10415 > rm -f conftest.$ac_objext conftest$ac_exeext
10416 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10417 >  (eval $ac_link) 2>conftest.er1
10418 >  ac_status=$?
10419 >  grep -v '^ *+' conftest.er1 >conftest.err
10420 >  rm -f conftest.er1
10421 >  cat conftest.err >&5
10422 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 >  (exit $ac_status); } &&
10424 >         { ac_try='test -z "$ac_c_werror_flag"
10425 >                         || test ! -s conftest.err'
10426 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 >  (eval $ac_try) 2>&5
10428 >  ac_status=$?
10429 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 >  (exit $ac_status); }; } &&
10431 >         { ac_try='test -s conftest$ac_exeext'
10432 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 >  (eval $ac_try) 2>&5
10434 >  ac_status=$?
10435 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 >  (exit $ac_status); }; }; then
10437 >  ac_cv_lib_mpi_MPI_Init=yes
10438 > else
10439 >  echo "$as_me: failed program was:" >&5
10440 > sed 's/^/| /' conftest.$ac_ext >&5
10441 >
10442 > ac_cv_lib_mpi_MPI_Init=no
10443 > fi
10444 > rm -f conftest.err conftest.$ac_objext \
10445 >      conftest$ac_exeext conftest.$ac_ext
10446 > LIBS=$ac_check_lib_save_LIBS
10447 > fi
10448 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
10449 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
10450 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
10451 >  MPI_LIB="-lmpi"
10452 > fi
10453 >
10454 > fi
10455 > $as_unset ac_cv_lib_mpi_MPI_Init
10456 > if test x = x"$MPI_LIB"; then
10457 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
10458 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
10459 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
10460 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10461 > else
10462 >  ac_check_lib_save_LIBS=$LIBS
10463 > LIBS="-lmpi "-llam" $LIBS"
10464 > cat >conftest.$ac_ext <<_ACEOF
10465 > /* confdefs.h.  */
10466 > _ACEOF
10467 > cat confdefs.h >>conftest.$ac_ext
10468 > cat >>conftest.$ac_ext <<_ACEOF
10469 > /* end confdefs.h.  */
10470 >
10471 > /* Override any gcc2 internal prototype to avoid an error.  */
10472 > #ifdef __cplusplus
10473 > extern "C"
10474 > #endif
10475 > /* We use char because int might match the return type of a gcc2
10476 >   builtin and then its argument prototype would still apply.  */
10477 > char MPI_Init ();
10478 > int
10479 > main ()
10480 > {
10481 > MPI_Init ();
10482 >  ;
10483 >  return 0;
10484 > }
10485 > _ACEOF
10486 > rm -f conftest.$ac_objext conftest$ac_exeext
10487 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10488 >  (eval $ac_link) 2>conftest.er1
10489 >  ac_status=$?
10490 >  grep -v '^ *+' conftest.er1 >conftest.err
10491 >  rm -f conftest.er1
10492 >  cat conftest.err >&5
10493 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 >  (exit $ac_status); } &&
10495 >         { ac_try='test -z "$ac_c_werror_flag"
10496 >                         || test ! -s conftest.err'
10497 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10498 >  (eval $ac_try) 2>&5
10499 >  ac_status=$?
10500 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 >  (exit $ac_status); }; } &&
10502 >         { ac_try='test -s conftest$ac_exeext'
10503 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10504 >  (eval $ac_try) 2>&5
10505 >  ac_status=$?
10506 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 >  (exit $ac_status); }; }; then
10508 >  ac_cv_lib_mpi_MPI_Init=yes
10509 > else
10510 >  echo "$as_me: failed program was:" >&5
10511 > sed 's/^/| /' conftest.$ac_ext >&5
10512 >
10513 > ac_cv_lib_mpi_MPI_Init=no
10514 > fi
10515 > rm -f conftest.err conftest.$ac_objext \
10516 >      conftest$ac_exeext conftest.$ac_ext
10517 > LIBS=$ac_check_lib_save_LIBS
10518 > fi
10519 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
10520 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
10521 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
10522 >  MPI_LIB="-lmpi -llam"
10523 > fi
10524 >
10525 > fi
10526 > $as_unset ac_cv_lib_mpich_MPI_Init
10527 > if test x = x"$MPI_LIB"; then
10528 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
10529 > echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
10530 > if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
10531 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10532 > else
10533 >  ac_check_lib_save_LIBS=$LIBS
10534 > LIBS="-lmpich "-lpmpich" $LIBS"
10535 > cat >conftest.$ac_ext <<_ACEOF
10536 > /* confdefs.h.  */
10537 > _ACEOF
10538 > cat confdefs.h >>conftest.$ac_ext
10539 > cat >>conftest.$ac_ext <<_ACEOF
10540 > /* end confdefs.h.  */
10541 >
10542 > /* Override any gcc2 internal prototype to avoid an error.  */
10543 > #ifdef __cplusplus
10544 > extern "C"
10545 > #endif
10546 > /* We use char because int might match the return type of a gcc2
10547 >   builtin and then its argument prototype would still apply.  */
10548 > char MPI_Init ();
10549 > int
10550 > main ()
10551 > {
10552 > MPI_Init ();
10553 >  ;
10554 >  return 0;
10555 > }
10556 > _ACEOF
10557 > rm -f conftest.$ac_objext conftest$ac_exeext
10558 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10559 >  (eval $ac_link) 2>conftest.er1
10560 >  ac_status=$?
10561 >  grep -v '^ *+' conftest.er1 >conftest.err
10562 >  rm -f conftest.er1
10563 >  cat conftest.err >&5
10564 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 >  (exit $ac_status); } &&
10566 >         { ac_try='test -z "$ac_c_werror_flag"
10567 >                         || test ! -s conftest.err'
10568 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 >  (eval $ac_try) 2>&5
10570 >  ac_status=$?
10571 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 >  (exit $ac_status); }; } &&
10573 >         { ac_try='test -s conftest$ac_exeext'
10574 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 >  (eval $ac_try) 2>&5
10576 >  ac_status=$?
10577 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 >  (exit $ac_status); }; }; then
10579 >  ac_cv_lib_mpich_MPI_Init=yes
10580 > else
10581 >  echo "$as_me: failed program was:" >&5
10582 > sed 's/^/| /' conftest.$ac_ext >&5
10583 >
10584 > ac_cv_lib_mpich_MPI_Init=no
10585 > fi
10586 > rm -f conftest.err conftest.$ac_objext \
10587 >      conftest$ac_exeext conftest.$ac_ext
10588 > LIBS=$ac_check_lib_save_LIBS
10589 > fi
10590 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
10591 > echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
10592 > if test $ac_cv_lib_mpich_MPI_Init = yes; then
10593 >  MPI_LIB="-lmpich -lpmpich"
10594 > fi
10595 >
10596 > fi
10597 >
10598 > $as_unset ac_cv_lib_mpi_MPI_Init
10599 > if test x = x"$MPI_LIB"; then
10600 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
10601 > echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
10602 > if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
10603 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10604 > else
10605 >  ac_check_lib_save_LIBS=$LIBS
10606 > LIBS="-lmpi -llam -lpthread $LIBS"
10607 > cat >conftest.$ac_ext <<_ACEOF
10608 > /* confdefs.h.  */
10609 > _ACEOF
10610 > cat confdefs.h >>conftest.$ac_ext
10611 > cat >>conftest.$ac_ext <<_ACEOF
10612 > /* end confdefs.h.  */
10613 >
10614 > /* Override any gcc2 internal prototype to avoid an error.  */
10615 > #ifdef __cplusplus
10616 > extern "C"
10617 > #endif
10618 > /* We use char because int might match the return type of a gcc2
10619 >   builtin and then its argument prototype would still apply.  */
10620 > char MPI_Init ();
10621 > int
10622 > main ()
10623 > {
10624 > MPI_Init ();
10625 >  ;
10626 >  return 0;
10627 > }
10628 > _ACEOF
10629 > rm -f conftest.$ac_objext conftest$ac_exeext
10630 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10631 >  (eval $ac_link) 2>conftest.er1
10632 >  ac_status=$?
10633 >  grep -v '^ *+' conftest.er1 >conftest.err
10634 >  rm -f conftest.er1
10635 >  cat conftest.err >&5
10636 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 >  (exit $ac_status); } &&
10638 >         { ac_try='test -z "$ac_c_werror_flag"
10639 >                         || test ! -s conftest.err'
10640 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 >  (eval $ac_try) 2>&5
10642 >  ac_status=$?
10643 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 >  (exit $ac_status); }; } &&
10645 >         { ac_try='test -s conftest$ac_exeext'
10646 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 >  (eval $ac_try) 2>&5
10648 >  ac_status=$?
10649 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 >  (exit $ac_status); }; }; then
10651 >  ac_cv_lib_mpi_MPI_Init=yes
10652 > else
10653 >  echo "$as_me: failed program was:" >&5
10654 > sed 's/^/| /' conftest.$ac_ext >&5
10655 >
10656 > ac_cv_lib_mpi_MPI_Init=no
10657 > fi
10658 > rm -f conftest.err conftest.$ac_objext \
10659 >      conftest$ac_exeext conftest.$ac_ext
10660 > LIBS=$ac_check_lib_save_LIBS
10661 > fi
10662 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
10663 > echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
10664 > if test $ac_cv_lib_mpi_MPI_Init = yes; then
10665 >  MPI_LIB="-lmpi -llam -lpthread"
10666 > else
10667 >
10668 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
10669 > echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
10670 >   { (exit 1); exit 1; }; }
10671 >             USE_MPI="no"
10672 >
10673 > fi
10674 >
10675 > fi
10676 >
10677 >
10678 >
10679 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
10680 > echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
10681 > MPI_F90_LIB=""
10682 > if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
10683 >        MPI_F90_LIB="-lfmpich"
10684 > elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
10685 >        MPI_F90_LIB="-llamf77mpi"
10686 > else
10687 >                        MPI_F90_LIB="  "
10688 > fi
10689 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
10690 > echo "${ECHO_T}found $MPI_F90_LIB" >&6
10691 >
10692 >
10693 > fi
10694 >
10695 >
10696 >
10697 >
10698 > USE_CGAL=no
10699 > cgal_makefile=auto
10700 >
10701 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
10702 > if test "${with_cgal_makefile+set}" = set; then
10703 >  withval="$with_cgal_makefile"
10704 >  cgal_makefile="$withval"
10705 > fi;
10706 >
10707 > if test "x$cgal_makefile" != xno; then
10708 >
10709 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
10710 >    cgal_makefile="$CGAL_MAKEFILE"
10711 >  fi
10712 >
10713 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
10714 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
10715 >
10716 >  if test -f "$cgal_makefile"; then
10717 >
10718 >    cat >config.tmp.Makefile <<EOF
10719 > include $cgal_makefile
10720 > default:
10721 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
10722 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
10723 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
10724 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
10725 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
10726 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
10727 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
10728 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
10729 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
10730 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
10731 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
10732 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
10733 > EOF
10734 >
10735 >    make -s -f config.tmp.Makefile
10736 >    . config.tmp.cgalvariables
10737 >
10738 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
10739 >
10740 >    if test "x$CGAL_INCLDIR" = "x"; then
10741 >      CGAL_INCLDIR=""
10742 >    fi
10743 >
10744 >    if test "x$CGAL_LIBDIR" = "x"; then
10745 >      CGAL_LIBDIR=""
10746 >    fi
10747 >
10748 >    if test "x$CGAL_RLIBDIR" = "x"; then
10749 >      CGAL_RLIBDIR=""
10750 >    fi
10751 >
10752 >    if test "x$LEDA_INCLDIR" = "x"; then
10753 >      LEDA_INCLDIR=""
10754 >    fi
10755 >
10756 >    if test "x$LEDA_LIBDIR" = "x"; then
10757 >      LEDA_LIBDIR=""
10758 >    fi
10759 >
10760 >    if test "x$LEDA_RLIBDIR" = "x"; then
10761 >      LEDA_RLIBDIR=""
10762 >    fi
10763 >
10764 >    if test "x$GMP_INCLDIR" = "x"; then
10765 >      GMP_INCLDIR=""
10766 >    fi
10767 >
10768 >    if test "x$GMP_LIBDIR" = "x"; then
10769 >      GMP_LIBDIR=""
10770 >    fi
10771 >
10772 >    if test "x$GMP_RLIBDIR" = "x"; then
10773 >      GMP_RLIBDIR=""
10774 >    fi
10775 >
10776 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
10777 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
10778 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
10779 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
10780 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
10781 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
10782 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
10783 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
10784 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
10785 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
10786 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
10787 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
10788 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
10789 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
10790 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
10791 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
10792 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
10793 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
10794 >
10795 >    ac_ext=cc
10796 > ac_cpp='$CXXCPP $CPPFLAGS'
10797 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10800 >
10801 >    save_CXXFLAGS="$CXXFLAGS"
10802 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10803 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10804 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10805 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10806 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10807 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10808 > fi
10809 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10810 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10811 > else
10812 >  # Is the header compilable?
10813 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10814 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10815 > cat >conftest.$ac_ext <<_ACEOF
10816 > /* confdefs.h.  */
10817 > _ACEOF
10818 > cat confdefs.h >>conftest.$ac_ext
10819 > cat >>conftest.$ac_ext <<_ACEOF
10820 > /* end confdefs.h.  */
10821 > $ac_includes_default
10822 > #include <CGAL/Cartesian.h>
10823 > _ACEOF
10824 > rm -f conftest.$ac_objext
10825 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10826 >  (eval $ac_compile) 2>conftest.er1
10827 >  ac_status=$?
10828 >  grep -v '^ *+' conftest.er1 >conftest.err
10829 >  rm -f conftest.er1
10830 >  cat conftest.err >&5
10831 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 >  (exit $ac_status); } &&
10833 >         { ac_try='test -z "$ac_cxx_werror_flag"
10834 >                         || test ! -s conftest.err'
10835 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 >  (eval $ac_try) 2>&5
10837 >  ac_status=$?
10838 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 >  (exit $ac_status); }; } &&
10840 >         { ac_try='test -s conftest.$ac_objext'
10841 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 >  (eval $ac_try) 2>&5
10843 >  ac_status=$?
10844 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 >  (exit $ac_status); }; }; then
10846 >  ac_header_compiler=yes
10847 > else
10848 >  echo "$as_me: failed program was:" >&5
10849 > sed 's/^/| /' conftest.$ac_ext >&5
10850 >
10851 > ac_header_compiler=no
10852 > fi
10853 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10854 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10855 > echo "${ECHO_T}$ac_header_compiler" >&6
10856 >
10857 > # Is the header present?
10858 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10859 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10860 > cat >conftest.$ac_ext <<_ACEOF
10861 > /* confdefs.h.  */
10862 > _ACEOF
10863 > cat confdefs.h >>conftest.$ac_ext
10864 > cat >>conftest.$ac_ext <<_ACEOF
10865 > /* end confdefs.h.  */
10866 > #include <CGAL/Cartesian.h>
10867 > _ACEOF
10868 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10869 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10870 >  ac_status=$?
10871 >  grep -v '^ *+' conftest.er1 >conftest.err
10872 >  rm -f conftest.er1
10873 >  cat conftest.err >&5
10874 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 >  (exit $ac_status); } >/dev/null; then
10876 >  if test -s conftest.err; then
10877 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10878 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10879 >  else
10880 >    ac_cpp_err=
10881 >  fi
10882 > else
10883 >  ac_cpp_err=yes
10884 > fi
10885 > if test -z "$ac_cpp_err"; then
10886 >  ac_header_preproc=yes
10887 > else
10888 >  echo "$as_me: failed program was:" >&5
10889 > sed 's/^/| /' conftest.$ac_ext >&5
10890 >
10891 >  ac_header_preproc=no
10892 > fi
10893 > rm -f conftest.err conftest.$ac_ext
10894 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10895 > echo "${ECHO_T}$ac_header_preproc" >&6
10896 >
10897 > # So?  What about this header?
10898 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10899 >  yes:no: )
10900 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10901 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10902 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10903 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10904 >    ac_header_preproc=yes
10905 >    ;;
10906 >  no:yes:* )
10907 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10908 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10909 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10910 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10911 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10912 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10913 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10914 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10915 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10916 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10917 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10918 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10919 >    (
10920 >      cat <<\_ASBOX
10921 > ## ------------------------------ ##
10922 > ## Report this to gezelter@nd.edu ##
10923 > ## ------------------------------ ##
10924 > _ASBOX
10925 >    ) |
10926 >      sed "s/^/$as_me: WARNING:     /" >&2
10927 >    ;;
10928 > esac
10929 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10930 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10931 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10932 >  echo $ECHO_N "(cached) $ECHO_C" >&6
10933 > else
10934 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10935 > fi
10936 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10937 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10938 >
10939 > fi
10940 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10941 >  cgal=yes
10942 > else
10943 >  cgal=no
10944 > fi
10945 >
10946 >
10947 >    CXXFLAGS="$save_CXXFLAGS"
10948 >
10949 >    if test "x$cgal" = xyes; then
10950 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10951 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10952 >      LOCATION=${CGAL_INCLDIR}
10953 >      LOCATION=${LOCATION:-/usr/include}
10954 >      if test -f $LOCATION/CGAL/version.h; then
10955 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10956 >      else
10957 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10958 >      fi
10959 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10960 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10961 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10962 >      else
10963 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10964 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10965 >        cgal=no
10966 >      fi
10967 >    fi
10968 >
10969 >    if test "x$cgal" = xyes; then
10970 >      CGAL_LIBS="-lCGAL"
10971 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10972 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10973 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10974 >        CGAL_USES_LEDA=yes
10975 >        echo "$as_me:$LINENO: result: yes" >&5
10976 > echo "${ECHO_T}yes" >&6
10977 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10978 >      else
10979 >        echo "$as_me:$LINENO: result: no" >&5
10980 > echo "${ECHO_T}no" >&6
10981 >        CGAL_USES_LEDA=no
10982 >      fi
10983 >
10984 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10985 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10986 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10987 >        CGAL_USES_GMP=yes
10988 >        echo "$as_me:$LINENO: result: yes" >&5
10989 > echo "${ECHO_T}yes" >&6
10990 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10991 >      else
10992 >        echo "$as_me:$LINENO: result: no" >&5
10993 > echo "${ECHO_T}no" >&6
10994 >        CGAL_USES_GMP=no
10995 >      fi
10996 >
10997 >      CGAL_LIBS="$CGAL_LIBS -lm"
10998 >
10999 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
11000 >
11001 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
11002 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
11003 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
11004 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
11005 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
11006 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
11007 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
11008 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
11009 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
11010 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
11011 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
11012 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
11013 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
11014 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
11015 >    fi
11016 >
11017 >    if test "x$cgal" = xyes; then
11018 >      save_LIBS="$LIBS"
11019 >      LIBS="$LIBS -L$CGAL_LIBDIR"
11020 >      if test "x$CGAL_USES_LEDA" = xyes; then
11021 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
11022 >      fi
11023 >      # if test "x$CGAL_USES_GMP" = xyes; then
11024 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
11025 >      # fi
11026 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
11027 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
11028 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
11029 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
11030 > save_LIBS_CHECK_CXX_LIB="$LIBS"
11031 > LIBS="-lCGAL  $LIBS"
11032 > cat >conftest.$ac_ext <<_ACEOF
11033 > /* confdefs.h.  */
11034 > _ACEOF
11035 > cat confdefs.h >>conftest.$ac_ext
11036 > cat >>conftest.$ac_ext <<_ACEOF
11037 > /* end confdefs.h.  */
11038 > #include <CGAL/Cartesian.h>
11039 > int
11040 > main ()
11041 > {
11042 > ::CGAL::Cartesian<int>::Point_2 P
11043 >  ;
11044 >  return 0;
11045 > }
11046 > _ACEOF
11047 > rm -f conftest.$ac_objext conftest$ac_exeext
11048 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11049 >  (eval $ac_link) 2>conftest.er1
11050 >  ac_status=$?
11051 >  grep -v '^ *+' conftest.er1 >conftest.err
11052 >  rm -f conftest.er1
11053 >  cat conftest.err >&5
11054 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 >  (exit $ac_status); } &&
11056 >         { ac_try='test -z "$ac_cxx_werror_flag"
11057 >                         || test ! -s conftest.err'
11058 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059 >  (eval $ac_try) 2>&5
11060 >  ac_status=$?
11061 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 >  (exit $ac_status); }; } &&
11063 >         { ac_try='test -s conftest$ac_exeext'
11064 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 >  (eval $ac_try) 2>&5
11066 >  ac_status=$?
11067 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 >  (exit $ac_status); }; }; then
11069 >  echo "$as_me:$LINENO: result: yes" >&5
11070 > echo "${ECHO_T}yes" >&6
11071 > cgal=yes
11072 > else
11073 >  echo "$as_me: failed program was:" >&5
11074 > sed 's/^/| /' conftest.$ac_ext >&5
11075 >
11076 > echo "$as_me:$LINENO: result: no" >&5
11077 > echo "${ECHO_T}no" >&6
11078 > cgal=no
11079 > fi
11080 > rm -f conftest.err conftest.$ac_objext \
11081 >      conftest$ac_exeext conftest.$ac_ext
11082 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
11083 > LIBS="$save_LIBS_CHECK_CXX_LIB"
11084 >      LIBS="$save_LIBS"
11085 >    fi
11086 >
11087 >  fi
11088 >  ac_ext=c
11089 > ac_cpp='$CPP $CPPFLAGS'
11090 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11091 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11092 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
11093 >
11094 >
11095 > fi
11096 >
11097 > if test "x$cgal" = xyes; then
11098 >  USE_CGAL=yes
11099 >
11100 > cat >>confdefs.h <<\_ACEOF
11101 > #define HAVE_CGAL 1
11102 > _ACEOF
11103 >
11104 >
11105 > cat >>confdefs.h <<_ACEOF
11106 > #define CGAL_VERSION $CGAL_VERSION
11107 > _ACEOF
11108 >
11109 >  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
11110 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
11111 > echo "$as_me: WARNING: *****************************************************" >&2;}
11112 >    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
11113 > echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
11114 >    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
11115 > echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
11116 >    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
11117 > echo "$as_me: WARNING: *****************************************************" >&2;}
11118 >  fi
11119 > else
11120 >   if test "x$cgal_makefile" != xno; then
11121 >    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
11122 > echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
11123 >  fi
11124 >  CGAL_INCLDIR=
11125 >  CGAL_LIBDIR=
11126 >  CGAL_RLIBDIR=
11127 >  CGAL_DEFINES=
11128 >  CGAL_CXXFLAGS=
11129 >  CGAL_LIBS=
11130 > fi
11131 >
11132 >
11133 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
11134 >
11135 > CGAL_LIB_DIR=${CGAL_LIBDIR}
11136 >
11137 > CGAL_RLIB_DIR=${CGAL_RLIBDIR}
11138 >
11139 >
11140 >
11141 >
11142 >
11143 >
11144 >
11145 > # Check whether --enable-doxygen or --disable-doxygen was given.
11146 > if test "${enable_doxygen+set}" = set; then
11147 >  enableval="$enable_doxygen"
11148 >
11149 > fi;
11150 > # Check whether --enable-dot or --disable-dot was given.
11151 > if test "${enable_dot+set}" = set; then
11152 >  enableval="$enable_dot"
11153 >
11154 > fi;
11155 > # Check whether --enable-html-docs or --disable-html-docs was given.
11156 > if test "${enable_html_docs+set}" = set; then
11157 >  enableval="$enable_html_docs"
11158 >
11159 > else
11160 >   enable_html_docs=yes
11161 > fi;
11162 > # Check whether --enable-latex-docs or --disable-latex-docs was given.
11163 > if test "${enable_latex_docs+set}" = set; then
11164 >  enableval="$enable_latex_docs"
11165 >
11166 > else
11167 >   enable_latex_docs=no
11168 > fi;
11169 > if test "x$enable_doxygen" = xno; then
11170 >        enable_doc=no
11171 > else
11172 >        # Extract the first word of "doxygen", so it can be a program name with args.
11173 > set dummy doxygen; ac_word=$2
11174 > echo "$as_me:$LINENO: checking for $ac_word" >&5
11175 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11176 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
11177 >  echo $ECHO_N "(cached) $ECHO_C" >&6
11178 > else
11179 >  case $DOXYGEN in
11180 >  [\\/]* | ?:[\\/]*)
11181 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
11182 >  ;;
11183 >  *)
11184 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11185 > for as_dir in $PATH
11186 > do
11187 >  IFS=$as_save_IFS
11188 >  test -z "$as_dir" && as_dir=.
11189 >  for ac_exec_ext in '' $ac_executable_extensions; do
11190 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11191 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11192 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11193 >    break 2
11194 >  fi
11195 > done
11196 > done
11197 >
11198 >  ;;
11199 > esac
11200 > fi
11201 > DOXYGEN=$ac_cv_path_DOXYGEN
11202 >
11203 > if test -n "$DOXYGEN"; then
11204 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
11205 > echo "${ECHO_T}$DOXYGEN" >&6
11206 > else
11207 >  echo "$as_me:$LINENO: result: no" >&5
11208 > echo "${ECHO_T}no" >&6
11209 > fi
11210 >
11211 >        if test "x$DOXYGEN" = x; then
11212 >                if test "x$enable_doxygen" = xyes; then
11213 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
11214 > echo "$as_me: error: could not find doxygen" >&2;}
11215 >   { (exit 1); exit 1; }; }
11216 >                fi
11217 >                enable_doc=no
11218 >        else
11219 >                enable_doc=yes
11220 >                # Extract the first word of "dot", so it can be a program name with args.
11221 > set dummy dot; ac_word=$2
11222 > echo "$as_me:$LINENO: checking for $ac_word" >&5
11223 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11224 > if test "${ac_cv_path_DOT+set}" = set; then
11225 >  echo $ECHO_N "(cached) $ECHO_C" >&6
11226 > else
11227 >  case $DOT in
11228 >  [\\/]* | ?:[\\/]*)
11229 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
11230 >  ;;
11231 >  *)
11232 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11233 > for as_dir in $PATH
11234 > do
11235 >  IFS=$as_save_IFS
11236 >  test -z "$as_dir" && as_dir=.
11237 >  for ac_exec_ext in '' $ac_executable_extensions; do
11238 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11239 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
11240 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11241 >    break 2
11242 >  fi
11243 > done
11244 > done
11245 >
11246 >  ;;
11247 > esac
11248 > fi
11249 > DOT=$ac_cv_path_DOT
11250 >
11251 > if test -n "$DOT"; then
11252 >  echo "$as_me:$LINENO: result: $DOT" >&5
11253 > echo "${ECHO_T}$DOT" >&6
11254 > else
11255 >  echo "$as_me:$LINENO: result: no" >&5
11256 > echo "${ECHO_T}no" >&6
11257 > fi
11258 >
11259 >        fi
11260 > fi
11261 >
11262 > if test "x$enable_doc" = xyes; then
11263 >  DOC=1
11264 > else
11265 >  DOC=0
11266 > fi
11267 >
11268 >
11269 > if test x$DOT = x; then
11270 >        if test "x$enable_dot" = xyes; then
11271 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
11272 > echo "$as_me: error: could not find dot" >&2;}
11273 >   { (exit 1); exit 1; }; }
11274 >        fi
11275 >        enable_dot=no
11276 > else
11277 >        enable_dot=yes
11278 > fi
11279 >
11280 >
11281 >
11282 >
11283 >
11284 >
11285 >
11286 > OBJEXT=".$OBJEXT"
11287 >
11288 > OOPSE=oopse
11289 >
11290 > if test "x${prefix}" = "xNONE"
11291 > then
11292 >  OOPSE_HOME=${ac_default_prefix}/oopse
11293 > else
11294 >  OOPSE_HOME=${prefix}/oopse
11295 > fi
11296 > # Check whether --enable-oopse-home or --disable-oopse-home was given.
11297 > if test "${enable_oopse_home+set}" = set; then
11298 >  enableval="$enable_oopse_home"
11299 >  OOPSE_HOME="${enableval}"
11300 > fi;
11301 >
11302 > case "x$INSTALL" in
11303 >   x/*) ;;
11304 >   *) INSTALL=`pwd`/ac-tools/"shtool install -c" ;
11305 > esac
11306 >
11307 > MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
11308 >
11309 > CFLAGS=${CFLAGS-""}
11310 > CXXFLAGS=${CXXFLAGS-""}
11311 > CPPFLAGS=${CPPFLAGS-""}
11312 > FFLAGS=${FFLAGS-""}
11313 > F90FLAGS=${F90FLAGS-""}
11314 > LDFLAGS=${LDFLAGS-""}
11315 > DEBUG=${DEBUG-"-g"}
11316 >
11317 > case $debug in
11318 >  1)
11319 >     FFLAGS="$DEBUG $FFLAGS"
11320 >     F90FLAGS="$DEBUG $F90FLAGS"
11321 >     ;;
11322 >  *)
11323 >     ;;
11324 > esac
11325 >
11326 >
11327 >
11328 >
11329 >
11330 >
11331 >
11332 >
11333 >
11334 >
11335 >
11336 >
11337 >
11338 >
11339 >
11340 >
11341 >
11342 >
11343 >          ac_config_headers="$ac_config_headers src/config.h"
11344 >
11345 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
11346 >
11347 >
11348 > cat >confcache <<\_ACEOF
11349 > # This file is a shell script that caches the results of configure
11350 > # tests run on this system so they can be shared between configure
11351 > # scripts and configure runs, see configure's option --config-cache.
11352 > # It is not useful on other systems.  If it contains results you don't
11353 > # want to keep, you may remove or edit it.
11354 > #
11355 > # config.status only pays attention to the cache file if you give it
11356 > # the --recheck option to rerun configure.
11357 > #
11358 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
11359 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
11360 > # following values.
11361 >
11362 > _ACEOF
11363 >
11364 > # The following way of writing the cache mishandles newlines in values,
11365 > # but we know of no workaround that is simple, portable, and efficient.
11366 > # So, don't put newlines in cache variables' values.
11367 > # Ultrix sh set writes to stderr and can't be redirected directly,
11368 > # and sets the high bit in the cache file unless we assign to the vars.
11369 > {
11370 >  (set) 2>&1 |
11371 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
11372 >    *ac_space=\ *)
11373 >      # `set' does not quote correctly, so add quotes (double-quote
11374 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
11375 >      sed -n \
11376 >        "s/'/'\\\\''/g;
11377 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11378 >      ;;
11379 >    *)
11380 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
11381 >      sed -n \
11382 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11383 >      ;;
11384 >    esac;
11385 > } |
11386 >  sed '
11387 >     t clear
11388 >     : clear
11389 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11390 >     t end
11391 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11392 >     : end' >>confcache
11393 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
11394 >  if test -w $cache_file; then
11395 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11396 >    cat confcache >$cache_file
11397 >  else
11398 >    echo "not updating unwritable cache $cache_file"
11399 >  fi
11400 > fi
11401 > rm -f confcache
11402 >
11403 > test "x$prefix" = xNONE && prefix=$ac_default_prefix
11404 > # Let make expand exec_prefix.
11405 > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11406 >
11407 > # VPATH may cause trouble with some makes, so we remove $(srcdir),
11408 > # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11409 > # trailing colons and then remove the whole line if VPATH becomes empty
11410 > # (actually we leave an empty line to preserve line numbers).
11411 > if test "x$srcdir" = x.; then
11412 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
11413 > s/:*\$(srcdir):*/:/;
11414 > s/:*\${srcdir}:*/:/;
11415 > s/:*@srcdir@:*/:/;
11416 > s/^\([^=]*=[     ]*\):*/\1/;
11417 > s/:*$//;
11418 > s/^[^=]*=[       ]*$//;
11419 > }'
11420 > fi
11421 >
11422 > DEFS=-DHAVE_CONFIG_H
11423 >
11424 > ac_libobjs=
11425 > ac_ltlibobjs=
11426 > for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11427 >  # 1. Remove the extension, and $U if already installed.
11428 >  ac_i=`echo "$ac_i" |
11429 >         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11430 >  # 2. Add them.
11431 >  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11432 >  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11433 > done
11434 > LIBOBJS=$ac_libobjs
11435 >
11436 > LTLIBOBJS=$ac_ltlibobjs
11437 >
11438 >
11439 >
11440 > : ${CONFIG_STATUS=./config.status}
11441 > ac_clean_files_save=$ac_clean_files
11442 > ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11443 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11444 > echo "$as_me: creating $CONFIG_STATUS" >&6;}
11445 > cat >$CONFIG_STATUS <<_ACEOF
11446 > #! $SHELL
11447 > # Generated by $as_me.
11448 > # Run this file to recreate the current configuration.
11449 > # Compiler output produced by configure, useful for debugging
11450 > # configure, is in config.log if it exists.
11451 >
11452 > debug=false
11453 > ac_cs_recheck=false
11454 > ac_cs_silent=false
11455 > SHELL=\${CONFIG_SHELL-$SHELL}
11456 > _ACEOF
11457 >
11458 > cat >>$CONFIG_STATUS <<\_ACEOF
11459 > ## --------------------- ##
11460 > ## M4sh Initialization.  ##
11461 > ## --------------------- ##
11462 >
11463 > # Be Bourne compatible
11464 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11465 >  emulate sh
11466 >  NULLCMD=:
11467 >  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11468 >  # is contrary to our usage.  Disable this feature.
11469 >  alias -g '${1+"$@"}'='"$@"'
11470 > elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11471 >  set -o posix
11472 > fi
11473 > DUALCASE=1; export DUALCASE # for MKS sh
11474 >
11475 > # Support unset when possible.
11476 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11477 >  as_unset=unset
11478 > else
11479 >  as_unset=false
11480 > fi
11481 >
11482 >
11483 > # Work around bugs in pre-3.0 UWIN ksh.
11484 > $as_unset ENV MAIL MAILPATH
11485 > PS1='$ '
11486 > PS2='> '
11487 > PS4='+ '
11488 >
11489 > # NLS nuisances.
11490 > for as_var in \
11491 >  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11492 >  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11493 >  LC_TELEPHONE LC_TIME
11494 > do
11495 >  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11496 >    eval $as_var=C; export $as_var
11497 >  else
11498 >    $as_unset $as_var
11499 >  fi
11500 > done
11501 >
11502 > # Required to use basename.
11503 > if expr a : '\(a\)' >/dev/null 2>&1; then
11504 >  as_expr=expr
11505 > else
11506 >  as_expr=false
11507 > fi
11508 >
11509 > if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11510 >  as_basename=basename
11511 > else
11512 >  as_basename=false
11513 > fi
11514 >
11515 >
11516 > # Name of the executable.
11517 > as_me=`$as_basename "$0" ||
11518 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11519 >         X"$0" : 'X\(//\)$' \| \
11520 >         X"$0" : 'X\(/\)$' \| \
11521 >         .     : '\(.\)' 2>/dev/null ||
11522 > echo X/"$0" |
11523 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11524 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
11525 >          /^X\/\(\/\).*/{ s//\1/; q; }
11526 >          s/.*/./; q'`
11527 >
11528 >
11529 > # PATH needs CR, and LINENO needs CR and PATH.
11530 > # Avoid depending upon Character Ranges.
11531 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11532 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11533 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11534 > as_cr_digits='0123456789'
11535 > as_cr_alnum=$as_cr_Letters$as_cr_digits
11536 >
11537 > # The user is always right.
11538 > if test "${PATH_SEPARATOR+set}" != set; then
11539 >  echo "#! /bin/sh" >conf$$.sh
11540 >  echo  "exit 0"   >>conf$$.sh
11541 >  chmod +x conf$$.sh
11542 >  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11543 >    PATH_SEPARATOR=';'
11544 >  else
11545 >    PATH_SEPARATOR=:
11546 >  fi
11547 >  rm -f conf$$.sh
11548 > fi
11549 >
11550 >
11551 >  as_lineno_1=$LINENO
11552 >  as_lineno_2=$LINENO
11553 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11554 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
11555 >  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
11556 >  # Find who we are.  Look in the path if we contain no path at all
11557 >  # relative or not.
11558 >  case $0 in
11559 >    *[\\/]* ) as_myself=$0 ;;
11560 >    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 > for as_dir in $PATH
11562 > do
11563 >  IFS=$as_save_IFS
11564 >  test -z "$as_dir" && as_dir=.
11565 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11566 > done
11567 >
11568 >       ;;
11569 >  esac
11570 >  # We did not find ourselves, most probably we were run as `sh COMMAND'
11571 >  # in which case we are not to be found in the path.
11572 >  if test "x$as_myself" = x; then
11573 >    as_myself=$0
11574 >  fi
11575 >  if test ! -f "$as_myself"; then
11576 >    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11577 > echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11578 >   { (exit 1); exit 1; }; }
11579 >  fi
11580 >  case $CONFIG_SHELL in
11581 >  '')
11582 >    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11583 > for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11584 > do
11585 >  IFS=$as_save_IFS
11586 >  test -z "$as_dir" && as_dir=.
11587 >  for as_base in sh bash ksh sh5; do
11588 >         case $as_dir in
11589 >         /*)
11590 >           if ("$as_dir/$as_base" -c '
11591 >  as_lineno_1=$LINENO
11592 >  as_lineno_2=$LINENO
11593 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11594 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
11595 >  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
11596 >             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11597 >             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11598 >             CONFIG_SHELL=$as_dir/$as_base
11599 >             export CONFIG_SHELL
11600 >             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11601 >           fi;;
11602 >         esac
11603 >       done
11604 > done
11605 > ;;
11606 >  esac
11607 >
11608 >  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11609 >  # uniformly replaced by the line number.  The first 'sed' inserts a
11610 >  # line-number line before each line; the second 'sed' does the real
11611 >  # work.  The second script uses 'N' to pair each line-number line
11612 >  # with the numbered line, and appends trailing '-' during
11613 >  # substitution so that $LINENO is not a special case at line end.
11614 >  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11615 >  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
11616 >  sed '=' <$as_myself |
11617 >    sed '
11618 >      N
11619 >      s,$,-,
11620 >      : loop
11621 >      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11622 >      t loop
11623 >      s,-$,,
11624 >      s,^['$as_cr_digits']*\n,,
11625 >    ' >$as_me.lineno &&
11626 >  chmod +x $as_me.lineno ||
11627 >    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11628 > echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11629 >   { (exit 1); exit 1; }; }
11630 >
11631 >  # Don't try to exec as it changes $[0], causing all sort of problems
11632 >  # (the dirname of $[0] is not the place where we might find the
11633 >  # original and so on.  Autoconf is especially sensible to this).
11634 >  . ./$as_me.lineno
11635 >  # Exit status is that of the last command.
11636 >  exit
11637 > }
11638 >
11639 >
11640 > case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11641 >  *c*,-n*) ECHO_N= ECHO_C='
11642 > ' ECHO_T='      ' ;;
11643 >  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11644 >  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
11645 > esac
11646 >
11647 > if expr a : '\(a\)' >/dev/null 2>&1; then
11648 >  as_expr=expr
11649 > else
11650 >  as_expr=false
11651 > fi
11652 >
11653 > rm -f conf$$ conf$$.exe conf$$.file
11654 > echo >conf$$.file
11655 > if ln -s conf$$.file conf$$ 2>/dev/null; then
11656 >  # We could just check for DJGPP; but this test a) works b) is more generic
11657 >  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11658 >  if test -f conf$$.exe; then
11659 >    # Don't use ln at all; we don't have any links
11660 >    as_ln_s='cp -p'
11661 >  else
11662 >    as_ln_s='ln -s'
11663 >  fi
11664 > elif ln conf$$.file conf$$ 2>/dev/null; then
11665 >  as_ln_s=ln
11666 > else
11667 >  as_ln_s='cp -p'
11668 > fi
11669 > rm -f conf$$ conf$$.exe conf$$.file
11670 >
11671 > if mkdir -p . 2>/dev/null; then
11672 >  as_mkdir_p=:
11673 > else
11674 >  test -d ./-p && rmdir ./-p
11675 >  as_mkdir_p=false
11676 > fi
11677 >
11678 > as_executable_p="test -f"
11679 >
11680 > # Sed expression to map a string onto a valid CPP name.
11681 > as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11682 >
11683 > # Sed expression to map a string onto a valid variable name.
11684 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11685 >
11686 >
11687 > # IFS
11688 > # We need space, tab and new line, in precisely that order.
11689 > as_nl='
11690 > '
11691 > IFS="   $as_nl"
11692 >
11693 > # CDPATH.
11694 > $as_unset CDPATH
11695 >
11696 > exec 6>&1
11697 >
11698 > # Open the log real soon, to keep \$[0] and so on meaningful, and to
11699 > # report actual input values of CONFIG_FILES etc. instead of their
11700 > # values after options handling.  Logging --version etc. is OK.
11701 > exec 5>>config.log
11702 > {
11703 >  echo
11704 >  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11705 > ## Running $as_me. ##
11706 > _ASBOX
11707 > } >&5
11708 > cat >&5 <<_CSEOF
11709 >
11710 > This file was extended by OOPSE $as_me 2.0, which was
11711 > generated by GNU Autoconf 2.59.  Invocation command line was
11712 >
11713 >  CONFIG_FILES    = $CONFIG_FILES
11714 >  CONFIG_HEADERS  = $CONFIG_HEADERS
11715 >  CONFIG_LINKS    = $CONFIG_LINKS
11716 >  CONFIG_COMMANDS = $CONFIG_COMMANDS
11717 >  $ $0 $@
11718 >
11719 > _CSEOF
11720 > echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11721 > echo >&5
11722 > _ACEOF
11723 >
11724 > # Files that config.status was made for.
11725 > if test -n "$ac_config_files"; then
11726 >  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11727 > fi
11728 >
11729 > if test -n "$ac_config_headers"; then
11730 >  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11731 > fi
11732 >
11733 > if test -n "$ac_config_links"; then
11734 >  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11735 > fi
11736 >
11737 > if test -n "$ac_config_commands"; then
11738 >  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11739 > fi
11740 >
11741 > cat >>$CONFIG_STATUS <<\_ACEOF
11742 >
11743 > ac_cs_usage="\
11744 > \`$as_me' instantiates files from templates according to the
11745 > current configuration.
11746 >
11747 > Usage: $0 [OPTIONS] [FILE]...
11748 >
11749 >  -h, --help       print this help, then exit
11750 >  -V, --version    print version number, then exit
11751 >  -q, --quiet      do not print progress messages
11752 >  -d, --debug      don't remove temporary files
11753 >      --recheck    update $as_me by reconfiguring in the same conditions
11754 >  --file=FILE[:TEMPLATE]
11755 >                   instantiate the configuration file FILE
11756 >  --header=FILE[:TEMPLATE]
11757 >                   instantiate the configuration header FILE
11758 >
11759 > Configuration files:
11760 > $config_files
11761 >
11762 > Configuration headers:
11763 > $config_headers
11764 >
11765 > Configuration links:
11766 > $config_links
11767 >
11768 > Report bugs to <bug-autoconf@gnu.org>."
11769 > _ACEOF
11770 >
11771 > cat >>$CONFIG_STATUS <<_ACEOF
11772 > ac_cs_version="\\
11773 > OOPSE config.status 2.0
11774 > configured by $0, generated by GNU Autoconf 2.59,
11775 >  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11776 >
11777 > Copyright (C) 2003 Free Software Foundation, Inc.
11778 > This config.status script is free software; the Free Software Foundation
11779 > gives unlimited permission to copy, distribute and modify it."
11780 > srcdir=$srcdir
11781 > INSTALL="$INSTALL"
11782 > _ACEOF
11783 >
11784 > cat >>$CONFIG_STATUS <<\_ACEOF
11785 > # If no file are specified by the user, then we need to provide default
11786 > # value.  By we need to know if files were specified by the user.
11787 > ac_need_defaults=:
11788 > while test $# != 0
11789 > do
11790 >  case $1 in
11791 >  --*=*)
11792 >    ac_option=`expr "x$1" : 'x\([^=]*\)='`
11793 >    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11794 >    ac_shift=:
11795 >    ;;
11796 >  -*)
11797 >    ac_option=$1
11798 >    ac_optarg=$2
11799 >    ac_shift=shift
11800 >    ;;
11801 >  *) # This is not an option, so the user has probably given explicit
11802 >     # arguments.
11803 >     ac_option=$1
11804 >     ac_need_defaults=false;;
11805 >  esac
11806 >
11807 >  case $ac_option in
11808 >  # Handling of the options.
11809 > _ACEOF
11810 > cat >>$CONFIG_STATUS <<\_ACEOF
11811 >  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11812 >    ac_cs_recheck=: ;;
11813 >  --version | --vers* | -V )
11814 >    echo "$ac_cs_version"; exit 0 ;;
11815 >  --he | --h)
11816 >    # Conflict between --help and --header
11817 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11818 > Try \`$0 --help' for more information." >&5
11819 > echo "$as_me: error: ambiguous option: $1
11820 > Try \`$0 --help' for more information." >&2;}
11821 >   { (exit 1); exit 1; }; };;
11822 >  --help | --hel | -h )
11823 >    echo "$ac_cs_usage"; exit 0 ;;
11824 >  --debug | --d* | -d )
11825 >    debug=: ;;
11826 >  --file | --fil | --fi | --f )
11827 >    $ac_shift
11828 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11829 >    ac_need_defaults=false;;
11830 >  --header | --heade | --head | --hea )
11831 >    $ac_shift
11832 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11833 >    ac_need_defaults=false;;
11834 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11835 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11836 >    ac_cs_silent=: ;;
11837 >
11838 >  # This is an error.
11839 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11840 > Try \`$0 --help' for more information." >&5
11841 > echo "$as_me: error: unrecognized option: $1
11842 > Try \`$0 --help' for more information." >&2;}
11843 >   { (exit 1); exit 1; }; } ;;
11844 >
11845 >  *) ac_config_targets="$ac_config_targets $1" ;;
11846 >
11847 >  esac
11848 >  shift
11849 > done
11850 >
11851 > ac_configure_extra_args=
11852 >
11853 > if $ac_cs_silent; then
11854 >  exec 6>/dev/null
11855 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
11856 > fi
11857 >
11858 > _ACEOF
11859 > cat >>$CONFIG_STATUS <<_ACEOF
11860 > if \$ac_cs_recheck; then
11861 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11862 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11863 > fi
11864 >
11865 > _ACEOF
11866 >
11867 >
11868 >
11869 >
11870 >
11871 > cat >>$CONFIG_STATUS <<\_ACEOF
11872 > for ac_config_target in $ac_config_targets
11873 > do
11874 >  case "$ac_config_target" in
11875 >  # Handling of arguments.
11876 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11877 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11878 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11879 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11880 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11881 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11882 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11883 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11884 >   { (exit 1); exit 1; }; };;
11885 >  esac
11886 > done
11887 >
11888 > # If the user did not use the arguments to specify the items to instantiate,
11889 > # then the envvar interface is used.  Set only those that are not.
11890 > # We use the long form for the default assignment because of an extremely
11891 > # bizarre bug on SunOS 4.1.3.
11892 > if $ac_need_defaults; then
11893 >  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11894 >  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11895 >  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11896 > fi
11897 >
11898 > # Have a temporary directory for convenience.  Make it in the build tree
11899 > # simply because there is no reason to put it here, and in addition,
11900 > # creating and moving files from /tmp can sometimes cause problems.
11901 > # Create a temporary directory, and hook for its removal unless debugging.
11902 > $debug ||
11903 > {
11904 >  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11905 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11906 > }
11907 >
11908 > # Create a (secure) tmp directory for tmp files.
11909 >
11910 > {
11911 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11912 >  test -n "$tmp" && test -d "$tmp"
11913 > }  ||
11914 > {
11915 >  tmp=./confstat$$-$RANDOM
11916 >  (umask 077 && mkdir $tmp)
11917 > } ||
11918 > {
11919 >   echo "$me: cannot create a temporary directory in ." >&2
11920 >   { (exit 1); exit 1; }
11921 > }
11922 >
11923 > _ACEOF
11924 >
11925 > cat >>$CONFIG_STATUS <<_ACEOF
11926 >
11927 > #
11928 > # CONFIG_FILES section.
11929 > #
11930 >
11931 > # No need to generate the scripts if there are no CONFIG_FILES.
11932 > # This happens for instance when ./config.status config.h
11933 > if test -n "\$CONFIG_FILES"; then
11934 >  # Protect against being on the right side of a sed subst in config.status.
11935 >  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11936 >   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11937 > s,@SHELL@,$SHELL,;t t
11938 > s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11939 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11940 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11941 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11942 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11943 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11944 > s,@exec_prefix@,$exec_prefix,;t t
11945 > s,@prefix@,$prefix,;t t
11946 > s,@program_transform_name@,$program_transform_name,;t t
11947 > s,@bindir@,$bindir,;t t
11948 > s,@sbindir@,$sbindir,;t t
11949 > s,@libexecdir@,$libexecdir,;t t
11950 > s,@datadir@,$datadir,;t t
11951 > s,@sysconfdir@,$sysconfdir,;t t
11952 > s,@sharedstatedir@,$sharedstatedir,;t t
11953 > s,@localstatedir@,$localstatedir,;t t
11954 > s,@libdir@,$libdir,;t t
11955 > s,@includedir@,$includedir,;t t
11956 > s,@oldincludedir@,$oldincludedir,;t t
11957 > s,@infodir@,$infodir,;t t
11958 > s,@mandir@,$mandir,;t t
11959 > s,@build_alias@,$build_alias,;t t
11960 > s,@host_alias@,$host_alias,;t t
11961 > s,@target_alias@,$target_alias,;t t
11962 > s,@DEFS@,$DEFS,;t t
11963 > s,@ECHO_C@,$ECHO_C,;t t
11964 > s,@ECHO_N@,$ECHO_N,;t t
11965 > s,@ECHO_T@,$ECHO_T,;t t
11966 > s,@LIBS@,$LIBS,;t t
11967 > s,@PROGNAME@,$PROGNAME,;t t
11968 > s,@debug@,$debug,;t t
11969 > s,@build@,$build,;t t
11970 > s,@build_cpu@,$build_cpu,;t t
11971 > s,@build_vendor@,$build_vendor,;t t
11972 > s,@build_os@,$build_os,;t t
11973 > s,@host@,$host,;t t
11974 > s,@host_cpu@,$host_cpu,;t t
11975 > s,@host_vendor@,$host_vendor,;t t
11976 > s,@host_os@,$host_os,;t t
11977 > s,@CC@,$CC,;t t
11978 > s,@CFLAGS@,$CFLAGS,;t t
11979 > s,@LDFLAGS@,$LDFLAGS,;t t
11980 > s,@CPPFLAGS@,$CPPFLAGS,;t t
11981 > s,@ac_ct_CC@,$ac_ct_CC,;t t
11982 > s,@EXEEXT@,$EXEEXT,;t t
11983 > s,@OBJEXT@,$OBJEXT,;t t
11984 > s,@CXX@,$CXX,;t t
11985 > s,@CXXFLAGS@,$CXXFLAGS,;t t
11986 > s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11987 > s,@CPP@,$CPP,;t t
11988 > s,@EGREP@,$EGREP,;t t
11989 > s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11990 > s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11991 > s,@F90@,$F90,;t t
11992 > s,@F90FLAGS@,$F90FLAGS,;t t
11993 > s,@ac_ct_F90@,$ac_ct_F90,;t t
11994 > s,@PREPFLAG@,$PREPFLAG,;t t
11995 > s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
11996 > s,@F90LIBS@,$F90LIBS,;t t
11997 > s,@F90_FUNC@,$F90_FUNC,;t t
11998 > s,@F90_FUNC_@,$F90_FUNC_,;t t
11999 > s,@MOD@,$MOD,;t t
12000 > s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
12001 > s,@MODDIRFLAG@,$MODDIRFLAG,;t t
12002 > s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
12003 > s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
12004 > s,@CXXCPP@,$CXXCPP,;t t
12005 > s,@LIBOBJS@,$LIBOBJS,;t t
12006 > s,@__func__@,$__func__,;t t
12007 > s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12008 > s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12009 > s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12010 > s,@LN_S@,$LN_S,;t t
12011 > s,@SET_MAKE@,$SET_MAKE,;t t
12012 > s,@RANLIB@,$RANLIB,;t t
12013 > s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12014 > s,@YACC@,$YACC,;t t
12015 > s,@LEX@,$LEX,;t t
12016 > s,@LEXLIB@,$LEXLIB,;t t
12017 > s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
12018 > s,@PERLINTERP@,$PERLINTERP,;t t
12019 > s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
12020 > s,@AR@,$AR,;t t
12021 > s,@PS@,$PS,;t t
12022 > s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
12023 > s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
12024 > s,@MPI_F90_INC@,$MPI_F90_INC,;t t
12025 > s,@MPI_LIB@,$MPI_LIB,;t t
12026 > s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
12027 > s,@USE_MPI@,$USE_MPI,;t t
12028 > s,@USE_CGAL@,$USE_CGAL,;t t
12029 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
12030 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
12031 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
12032 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
12033 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
12034 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
12035 > s,@DOXYGEN@,$DOXYGEN,;t t
12036 > s,@DOT@,$DOT,;t t
12037 > s,@DOC@,$DOC,;t t
12038 > s,@enable_dot@,$enable_dot,;t t
12039 > s,@enable_html_docs@,$enable_html_docs,;t t
12040 > s,@enable_latex_docs@,$enable_latex_docs,;t t
12041 > s,@BATEXT@,$BATEXT,;t t
12042 > s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12043 > s,@OOPSE@,$OOPSE,;t t
12044 > s,@OOPSE_HOME@,$OOPSE_HOME,;t t
12045 > s,@SUBDIRS@,$SUBDIRS,;t t
12046 > s,@FFLAGS@,$FFLAGS,;t t
12047 > s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12048 > CEOF
12049 >
12050 > _ACEOF
12051 >
12052 >  cat >>$CONFIG_STATUS <<\_ACEOF
12053 >  # Split the substitutions into bite-sized pieces for seds with
12054 >  # small command number limits, like on Digital OSF/1 and HP-UX.
12055 >  ac_max_sed_lines=48
12056 >  ac_sed_frag=1 # Number of current file.
12057 >  ac_beg=1 # First line for current file.
12058 >  ac_end=$ac_max_sed_lines # Line after last line for current file.
12059 >  ac_more_lines=:
12060 >  ac_sed_cmds=
12061 >  while $ac_more_lines; do
12062 >    if test $ac_beg -gt 1; then
12063 >      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12064 >    else
12065 >      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12066 >    fi
12067 >    if test ! -s $tmp/subs.frag; then
12068 >      ac_more_lines=false
12069 >    else
12070 >      # The purpose of the label and of the branching condition is to
12071 >      # speed up the sed processing (if there are no `@' at all, there
12072 >      # is no need to browse any of the substitutions).
12073 >      # These are the two extra sed commands mentioned above.
12074 >      (echo ':t
12075 >  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12076 >      if test -z "$ac_sed_cmds"; then
12077 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12078 >      else
12079 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12080 >      fi
12081 >      ac_sed_frag=`expr $ac_sed_frag + 1`
12082 >      ac_beg=$ac_end
12083 >      ac_end=`expr $ac_end + $ac_max_sed_lines`
12084 >    fi
12085 >  done
12086 >  if test -z "$ac_sed_cmds"; then
12087 >    ac_sed_cmds=cat
12088 >  fi
12089 > fi # test -n "$CONFIG_FILES"
12090 >
12091 > _ACEOF
12092 > cat >>$CONFIG_STATUS <<\_ACEOF
12093 > for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12094 >  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12095 >  case $ac_file in
12096 >  - | *:- | *:-:* ) # input from stdin
12097 >        cat >$tmp/stdin
12098 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12099 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12100 >  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12101 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12102 >  * )   ac_file_in=$ac_file.in ;;
12103 >  esac
12104 >
12105 >  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12106 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12107 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12108 >         X"$ac_file" : 'X\(//\)[^/]' \| \
12109 >         X"$ac_file" : 'X\(//\)$' \| \
12110 >         X"$ac_file" : 'X\(/\)' \| \
12111 >         .     : '\(.\)' 2>/dev/null ||
12112 > echo X"$ac_file" |
12113 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12114 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12115 >          /^X\(\/\/\)$/{ s//\1/; q; }
12116 >          /^X\(\/\).*/{ s//\1/; q; }
12117 >          s/.*/./; q'`
12118 >  { if $as_mkdir_p; then
12119 >    mkdir -p "$ac_dir"
12120 >  else
12121 >    as_dir="$ac_dir"
12122 >    as_dirs=
12123 >    while test ! -d "$as_dir"; do
12124 >      as_dirs="$as_dir $as_dirs"
12125 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
12126 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12127 >         X"$as_dir" : 'X\(//\)[^/]' \| \
12128 >         X"$as_dir" : 'X\(//\)$' \| \
12129 >         X"$as_dir" : 'X\(/\)' \| \
12130 >         .     : '\(.\)' 2>/dev/null ||
12131 > echo X"$as_dir" |
12132 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12133 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12134 >          /^X\(\/\/\)$/{ s//\1/; q; }
12135 >          /^X\(\/\).*/{ s//\1/; q; }
12136 >          s/.*/./; q'`
12137 >    done
12138 >    test ! -n "$as_dirs" || mkdir $as_dirs
12139 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12140 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12141 >   { (exit 1); exit 1; }; }; }
12142 >
12143 >  ac_builddir=.
12144 >
12145 > if test "$ac_dir" != .; then
12146 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12147 >  # A "../" for each directory in $ac_dir_suffix.
12148 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12149 > else
12150 >  ac_dir_suffix= ac_top_builddir=
12151 > fi
12152 >
12153 > case $srcdir in
12154 >  .)  # No --srcdir option.  We are building in place.
12155 >    ac_srcdir=.
12156 >    if test -z "$ac_top_builddir"; then
12157 >       ac_top_srcdir=.
12158 >    else
12159 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12160 >    fi ;;
12161 >  [\\/]* | ?:[\\/]* )  # Absolute path.
12162 >    ac_srcdir=$srcdir$ac_dir_suffix;
12163 >    ac_top_srcdir=$srcdir ;;
12164 >  *) # Relative path.
12165 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12166 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
12167 > esac
12168 >
12169 > # Do not use `cd foo && pwd` to compute absolute paths, because
12170 > # the directories may not exist.
12171 > case `pwd` in
12172 > .) ac_abs_builddir="$ac_dir";;
12173 > *)
12174 >  case "$ac_dir" in
12175 >  .) ac_abs_builddir=`pwd`;;
12176 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12177 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
12178 >  esac;;
12179 > esac
12180 > case $ac_abs_builddir in
12181 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
12182 > *)
12183 >  case ${ac_top_builddir}. in
12184 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
12185 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12186 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12187 >  esac;;
12188 > esac
12189 > case $ac_abs_builddir in
12190 > .) ac_abs_srcdir=$ac_srcdir;;
12191 > *)
12192 >  case $ac_srcdir in
12193 >  .) ac_abs_srcdir=$ac_abs_builddir;;
12194 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12195 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12196 >  esac;;
12197 > esac
12198 > case $ac_abs_builddir in
12199 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
12200 > *)
12201 >  case $ac_top_srcdir in
12202 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
12203 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12204 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12205 >  esac;;
12206 > esac
12207 >
12208 >
12209 >  case $INSTALL in
12210 >  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12211 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12212 >  esac
12213 >
12214 >  if test x"$ac_file" != x-; then
12215 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
12216 > echo "$as_me: creating $ac_file" >&6;}
12217 >    rm -f "$ac_file"
12218 >  fi
12219 >  # Let's still pretend it is `configure' which instantiates (i.e., don't
12220 >  # use $as_me), people would be surprised to read:
12221 >  #    /* config.h.  Generated by config.status.  */
12222 >  if test x"$ac_file" = x-; then
12223 >    configure_input=
12224 >  else
12225 >    configure_input="$ac_file.  "
12226 >  fi
12227 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
12228 >                                     sed 's,.*/,,'` by configure."
12229 >
12230 >  # First look for the input files in the build tree, otherwise in the
12231 >  # src tree.
12232 >  ac_file_inputs=`IFS=:
12233 >    for f in $ac_file_in; do
12234 >      case $f in
12235 >      -) echo $tmp/stdin ;;
12236 >      [\\/$]*)
12237 >         # Absolute (can't be DOS-style, as IFS=:)
12238 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12239 > echo "$as_me: error: cannot find input file: $f" >&2;}
12240 >   { (exit 1); exit 1; }; }
12241 >         echo "$f";;
12242 >      *) # Relative
12243 >         if test -f "$f"; then
12244 >           # Build tree
12245 >           echo "$f"
12246 >         elif test -f "$srcdir/$f"; then
12247 >           # Source tree
12248 >           echo "$srcdir/$f"
12249 >         else
12250 >           # /dev/null tree
12251 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12252 > echo "$as_me: error: cannot find input file: $f" >&2;}
12253 >   { (exit 1); exit 1; }; }
12254 >         fi;;
12255 >      esac
12256 >    done` || { (exit 1); exit 1; }
12257 > _ACEOF
12258 > cat >>$CONFIG_STATUS <<_ACEOF
12259 >  sed "$ac_vpsub
12260 > $extrasub
12261 > _ACEOF
12262 > cat >>$CONFIG_STATUS <<\_ACEOF
12263 > :t
12264 > /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12265 > s,@configure_input@,$configure_input,;t t
12266 > s,@srcdir@,$ac_srcdir,;t t
12267 > s,@abs_srcdir@,$ac_abs_srcdir,;t t
12268 > s,@top_srcdir@,$ac_top_srcdir,;t t
12269 > s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12270 > s,@builddir@,$ac_builddir,;t t
12271 > s,@abs_builddir@,$ac_abs_builddir,;t t
12272 > s,@top_builddir@,$ac_top_builddir,;t t
12273 > s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12274 > s,@INSTALL@,$ac_INSTALL,;t t
12275 > " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12276 >  rm -f $tmp/stdin
12277 >  if test x"$ac_file" != x-; then
12278 >    mv $tmp/out $ac_file
12279 >  else
12280 >    cat $tmp/out
12281 >    rm -f $tmp/out
12282 >  fi
12283 >
12284 >  # Run the commands associated with the file.
12285 >  case $ac_file in
12286 >    make/Makefile ) chmod 0755 scripts/* ;;
12287 >    src/utils/Makefile ) chmod 0755 scripts/* ;;
12288 >    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
12289 >    scripts/filepp ) chmod 0755 scripts/* ;;
12290 >  esac
12291   done
12292   _ACEOF
12293   cat >>$CONFIG_STATUS <<\_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines