| 1 |  | #! /bin/sh | 
| 2 |  | # Guess values for system-dependent variables and create Makefiles. | 
| 3 | < | # Generated by Autoconf 2.50 for OOPSE 2.0. | 
| 3 | > | # Generated by GNU Autoconf 2.59 for OOPSE 2.0. | 
| 4 |  | # | 
| 5 |  | # Report bugs to <gezelter@nd.edu>. | 
| 6 |  | # | 
| 7 | < | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
| 8 | < | # Free Software Foundation, Inc. | 
| 7 | > | # Copyright (C) 2003 Free Software Foundation, Inc. | 
| 8 |  | # This configure script is free software; the Free Software Foundation | 
| 9 |  | # gives unlimited permission to copy, distribute and modify it. | 
| 10 | + | ## --------------------- ## | 
| 11 | + | ## M4sh Initialization.  ## | 
| 12 | + | ## --------------------- ## | 
| 13 |  |  | 
| 14 |  | # Be Bourne compatible | 
| 15 |  | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
| 16 |  | emulate sh | 
| 17 |  | NULLCMD=: | 
| 18 | + | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
| 19 | + | # is contrary to our usage.  Disable this feature. | 
| 20 | + | alias -g '${1+"$@"}'='"$@"' | 
| 21 |  | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
| 22 |  | set -o posix | 
| 23 |  | fi | 
| 24 | + | DUALCASE=1; export DUALCASE # for MKS sh | 
| 25 |  |  | 
| 26 | + | # Support unset when possible. | 
| 27 | + | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
| 28 | + | as_unset=unset | 
| 29 | + | else | 
| 30 | + | as_unset=false | 
| 31 | + | fi | 
| 32 | + |  | 
| 33 | + |  | 
| 34 | + | # Work around bugs in pre-3.0 UWIN ksh. | 
| 35 | + | $as_unset ENV MAIL MAILPATH | 
| 36 | + | PS1='$ ' | 
| 37 | + | PS2='> ' | 
| 38 | + | PS4='+ ' | 
| 39 | + |  | 
| 40 | + | # NLS nuisances. | 
| 41 | + | for as_var in \ | 
| 42 | + | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
| 43 | + | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
| 44 | + | LC_TELEPHONE LC_TIME | 
| 45 | + | do | 
| 46 | + | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
| 47 | + | eval $as_var=C; export $as_var | 
| 48 | + | else | 
| 49 | + | $as_unset $as_var | 
| 50 | + | fi | 
| 51 | + | done | 
| 52 | + |  | 
| 53 | + | # Required to use basename. | 
| 54 | + | if expr a : '\(a\)' >/dev/null 2>&1; then | 
| 55 | + | as_expr=expr | 
| 56 | + | else | 
| 57 | + | as_expr=false | 
| 58 | + | fi | 
| 59 | + |  | 
| 60 | + | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
| 61 | + | as_basename=basename | 
| 62 | + | else | 
| 63 | + | as_basename=false | 
| 64 | + | fi | 
| 65 | + |  | 
| 66 | + |  | 
| 67 |  | # Name of the executable. | 
| 68 | < | as_me=`echo "$0" |sed 's,.*[\\/],,'` | 
| 68 | > | as_me=`$as_basename "$0" || | 
| 69 | > | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
| 70 | > | X"$0" : 'X\(//\)$' \| \ | 
| 71 | > | X"$0" : 'X\(/\)$' \| \ | 
| 72 | > | .     : '\(.\)' 2>/dev/null || | 
| 73 | > | echo X/"$0" | | 
| 74 | > | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
| 75 | > | /^X\/\(\/\/\)$/{ s//\1/; q; } | 
| 76 | > | /^X\/\(\/\).*/{ s//\1/; q; } | 
| 77 | > | s/.*/./; q'` | 
| 78 |  |  | 
| 79 | + |  | 
| 80 | + | # PATH needs CR, and LINENO needs CR and PATH. | 
| 81 | + | # Avoid depending upon Character Ranges. | 
| 82 | + | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
| 83 | + | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
| 84 | + | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
| 85 | + | as_cr_digits='0123456789' | 
| 86 | + | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
| 87 | + |  | 
| 88 | + | # The user is always right. | 
| 89 | + | if test "${PATH_SEPARATOR+set}" != set; then | 
| 90 | + | echo "#! /bin/sh" >conf$$.sh | 
| 91 | + | echo  "exit 0"   >>conf$$.sh | 
| 92 | + | chmod +x conf$$.sh | 
| 93 | + | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
| 94 | + | PATH_SEPARATOR=';' | 
| 95 | + | else | 
| 96 | + | PATH_SEPARATOR=: | 
| 97 | + | fi | 
| 98 | + | rm -f conf$$.sh | 
| 99 | + | fi | 
| 100 | + |  | 
| 101 | + |  | 
| 102 | + | as_lineno_1=$LINENO | 
| 103 | + | as_lineno_2=$LINENO | 
| 104 | + | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
| 105 | + | test "x$as_lineno_1" != "x$as_lineno_2" && | 
| 106 | + | test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
| 107 | + | # Find who we are.  Look in the path if we contain no path at all | 
| 108 | + | # relative or not. | 
| 109 | + | case $0 in | 
| 110 | + | *[\\/]* ) as_myself=$0 ;; | 
| 111 | + | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 112 | + | for as_dir in $PATH | 
| 113 | + | do | 
| 114 | + | IFS=$as_save_IFS | 
| 115 | + | test -z "$as_dir" && as_dir=. | 
| 116 | + | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
| 117 | + | done | 
| 118 | + |  | 
| 119 | + | ;; | 
| 120 | + | esac | 
| 121 | + | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
| 122 | + | # in which case we are not to be found in the path. | 
| 123 | + | if test "x$as_myself" = x; then | 
| 124 | + | as_myself=$0 | 
| 125 | + | fi | 
| 126 | + | if test ! -f "$as_myself"; then | 
| 127 | + | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
| 128 | + | { (exit 1); exit 1; }; } | 
| 129 | + | fi | 
| 130 | + | case $CONFIG_SHELL in | 
| 131 | + | '') | 
| 132 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 133 | + | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
| 134 | + | do | 
| 135 | + | IFS=$as_save_IFS | 
| 136 | + | test -z "$as_dir" && as_dir=. | 
| 137 | + | for as_base in sh bash ksh sh5; do | 
| 138 | + | case $as_dir in | 
| 139 | + | /*) | 
| 140 | + | if ("$as_dir/$as_base" -c ' | 
| 141 | + | as_lineno_1=$LINENO | 
| 142 | + | as_lineno_2=$LINENO | 
| 143 | + | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
| 144 | + | test "x$as_lineno_1" != "x$as_lineno_2" && | 
| 145 | + | test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
| 146 | + | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
| 147 | + | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
| 148 | + | CONFIG_SHELL=$as_dir/$as_base | 
| 149 | + | export CONFIG_SHELL | 
| 150 | + | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
| 151 | + | fi;; | 
| 152 | + | esac | 
| 153 | + | done | 
| 154 | + | done | 
| 155 | + | ;; | 
| 156 | + | esac | 
| 157 | + |  | 
| 158 | + | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
| 159 | + | # uniformly replaced by the line number.  The first 'sed' inserts a | 
| 160 | + | # line-number line before each line; the second 'sed' does the real | 
| 161 | + | # work.  The second script uses 'N' to pair each line-number line | 
| 162 | + | # with the numbered line, and appends trailing '-' during | 
| 163 | + | # substitution so that $LINENO is not a special case at line end. | 
| 164 | + | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
| 165 | + | # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
| 166 | + | sed '=' <$as_myself | | 
| 167 | + | sed ' | 
| 168 | + | N | 
| 169 | + | s,$,-, | 
| 170 | + | : loop | 
| 171 | + | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
| 172 | + | t loop | 
| 173 | + | s,-$,, | 
| 174 | + | s,^['$as_cr_digits']*\n,, | 
| 175 | + | ' >$as_me.lineno && | 
| 176 | + | chmod +x $as_me.lineno || | 
| 177 | + | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
| 178 | + | { (exit 1); exit 1; }; } | 
| 179 | + |  | 
| 180 | + | # Don't try to exec as it changes $[0], causing all sort of problems | 
| 181 | + | # (the dirname of $[0] is not the place where we might find the | 
| 182 | + | # original and so on.  Autoconf is especially sensible to this). | 
| 183 | + | . ./$as_me.lineno | 
| 184 | + | # Exit status is that of the last command. | 
| 185 | + | exit | 
| 186 | + | } | 
| 187 | + |  | 
| 188 | + |  | 
| 189 | + | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
| 190 | + | *c*,-n*) ECHO_N= ECHO_C=' | 
| 191 | + | ' ECHO_T='      ' ;; | 
| 192 | + | *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
| 193 | + | *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
| 194 | + | esac | 
| 195 | + |  | 
| 196 |  | if expr a : '\(a\)' >/dev/null 2>&1; then | 
| 197 |  | as_expr=expr | 
| 198 |  | else | 
| 217 |  | fi | 
| 218 |  | rm -f conf$$ conf$$.exe conf$$.file | 
| 219 |  |  | 
| 220 | < | as_executable_p="test -f" | 
| 221 | < |  | 
| 49 | < | # Support unset when possible. | 
| 50 | < | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
| 51 | < | as_unset=unset | 
| 220 | > | if mkdir -p . 2>/dev/null; then | 
| 221 | > | as_mkdir_p=: | 
| 222 |  | else | 
| 223 | < | as_unset=false | 
| 223 | > | test -d ./-p && rmdir ./-p | 
| 224 | > | as_mkdir_p=false | 
| 225 |  | fi | 
| 226 |  |  | 
| 227 | < | # NLS nuisances. | 
| 57 | < | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | 
| 58 | < | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | 
| 59 | < | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | 
| 60 | < | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | 
| 61 | < | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | 
| 62 | < | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | 
| 63 | < | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | 
| 64 | < | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | 
| 227 | > | as_executable_p="test -f" | 
| 228 |  |  | 
| 229 | + | # Sed expression to map a string onto a valid CPP name. | 
| 230 | + | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
| 231 | + |  | 
| 232 | + | # Sed expression to map a string onto a valid variable name. | 
| 233 | + | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
| 234 | + |  | 
| 235 | + |  | 
| 236 |  | # IFS | 
| 237 |  | # We need space, tab and new line, in precisely that order. | 
| 238 |  | as_nl=' | 
| 240 |  | IFS="   $as_nl" | 
| 241 |  |  | 
| 242 |  | # CDPATH. | 
| 243 | < | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } | 
| 243 | > | $as_unset CDPATH | 
| 244 |  |  | 
| 245 | + |  | 
| 246 |  | # Name of the host. | 
| 247 |  | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
| 248 |  | # so uname gets run too. | 
| 254 |  | # Initializations. | 
| 255 |  | # | 
| 256 |  | ac_default_prefix=/usr/local | 
| 257 | + | ac_config_libobj_dir=. | 
| 258 |  | cross_compiling=no | 
| 259 |  | subdirs= | 
| 260 | < | MFLAGS= MAKEFLAGS= | 
| 260 | > | MFLAGS= | 
| 261 | > | MAKEFLAGS= | 
| 262 |  | SHELL=${CONFIG_SHELL-/bin/sh} | 
| 263 |  |  | 
| 264 |  | # Maximum number of lines to put in a shell here document. | 
| 266 |  | # only ac_max_sed_lines should be used. | 
| 267 |  | : ${ac_max_here_lines=38} | 
| 268 |  |  | 
| 269 | < | # Avoid depending upon Character Ranges. | 
| 270 | < | ac_cr_az='abcdefghijklmnopqrstuvwxyz' | 
| 271 | < | ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
| 272 | < | ac_cr_09='0123456789' | 
| 273 | < | ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09 | 
| 269 | > | # Identity of this package. | 
| 270 | > | PACKAGE_NAME='OOPSE' | 
| 271 | > | PACKAGE_TARNAME='oopse' | 
| 272 | > | PACKAGE_VERSION='2.0' | 
| 273 | > | PACKAGE_STRING='OOPSE 2.0' | 
| 274 | > | PACKAGE_BUGREPORT='gezelter@nd.edu' | 
| 275 |  |  | 
| 102 | – | # Sed expression to map a string onto a valid sh and CPP variable names. | 
| 103 | – | ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g" | 
| 104 | – | ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g" | 
| 105 | – |  | 
| 276 |  | ac_unique_file="src/applications/oopse/oopse.cpp" | 
| 277 |  | ac_default_prefix="/usr/local" | 
| 278 | + | # Factoring default headers for most tests. | 
| 279 | + | ac_includes_default="\ | 
| 280 | + | #include <stdio.h> | 
| 281 | + | #if HAVE_SYS_TYPES_H | 
| 282 | + | # include <sys/types.h> | 
| 283 | + | #endif | 
| 284 | + | #if HAVE_SYS_STAT_H | 
| 285 | + | # include <sys/stat.h> | 
| 286 | + | #endif | 
| 287 | + | #if STDC_HEADERS | 
| 288 | + | # include <stdlib.h> | 
| 289 | + | # include <stddef.h> | 
| 290 | + | #else | 
| 291 | + | # if HAVE_STDLIB_H | 
| 292 | + | #  include <stdlib.h> | 
| 293 | + | # endif | 
| 294 | + | #endif | 
| 295 | + | #if HAVE_STRING_H | 
| 296 | + | # if !STDC_HEADERS && HAVE_MEMORY_H | 
| 297 | + | #  include <memory.h> | 
| 298 | + | # endif | 
| 299 | + | # include <string.h> | 
| 300 | + | #endif | 
| 301 | + | #if HAVE_STRINGS_H | 
| 302 | + | # include <strings.h> | 
| 303 | + | #endif | 
| 304 | + | #if HAVE_INTTYPES_H | 
| 305 | + | # include <inttypes.h> | 
| 306 | + | #else | 
| 307 | + | # if HAVE_STDINT_H | 
| 308 | + | #  include <stdint.h> | 
| 309 | + | # endif | 
| 310 | + | #endif | 
| 311 | + | #if HAVE_UNISTD_H | 
| 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 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. | 
| 319 |  | ac_init_help= | 
| 320 |  | ac_init_version=false | 
| 353 |  | infodir='${prefix}/info' | 
| 354 |  | mandir='${prefix}/man' | 
| 355 |  |  | 
| 147 | – | # Identity of this package. | 
| 148 | – | PACKAGE_NAME='OOPSE' | 
| 149 | – | PACKAGE_TARNAME='oopse' | 
| 150 | – | PACKAGE_VERSION='2.0' | 
| 151 | – | PACKAGE_STRING='OOPSE 2.0' | 
| 152 | – | PACKAGE_BUGREPORT='gezelter@nd.edu' | 
| 153 | – |  | 
| 356 |  | ac_prev= | 
| 357 |  | for ac_option | 
| 358 |  | do | 
| 398 |  | -disable-* | --disable-*) | 
| 399 |  | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
| 400 |  | # Reject names that are not valid shell variable names. | 
| 401 | < | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 401 | > | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
| 402 |  | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
| 403 |  | { (exit 1); exit 1; }; } | 
| 404 |  | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
| 407 |  | -enable-* | --enable-*) | 
| 408 |  | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
| 409 |  | # Reject names that are not valid shell variable names. | 
| 410 | < | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 410 | > | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
| 411 |  | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
| 412 |  | { (exit 1); exit 1; }; } | 
| 413 |  | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
| 485 |  | with_fp=no ;; | 
| 486 |  |  | 
| 487 |  | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
| 488 | < | | --no-cr | --no-c) | 
| 488 | > | | --no-cr | --no-c | -n) | 
| 489 |  | no_create=yes ;; | 
| 490 |  |  | 
| 491 |  | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
| 589 |  | -with-* | --with-*) | 
| 590 |  | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
| 591 |  | # Reject names that are not valid shell variable names. | 
| 592 | < | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 592 | > | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
| 593 |  | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
| 594 |  | { (exit 1); exit 1; }; } | 
| 595 |  | ac_package=`echo $ac_package| sed 's/-/_/g'` | 
| 602 |  | -without-* | --without-*) | 
| 603 |  | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
| 604 |  | # Reject names that are not valid shell variable names. | 
| 605 | < | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null && | 
| 605 | > | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
| 606 |  | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
| 607 |  | { (exit 1); exit 1; }; } | 
| 608 |  | ac_package=`echo $ac_package | sed 's/-/_/g'` | 
| 634 |  | *=*) | 
| 635 |  | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
| 636 |  | # Reject names that are not valid shell variable names. | 
| 637 | < | expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null && | 
| 637 | > | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
| 638 |  | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
| 639 |  | { (exit 1); exit 1; }; } | 
| 640 |  | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
| 644 |  | *) | 
| 645 |  | # FIXME: should be removed in autoconf 3.0. | 
| 646 |  | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
| 647 | < | expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null && | 
| 647 | > | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
| 648 |  | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
| 649 |  | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
| 650 |  | ;; | 
| 659 |  | fi | 
| 660 |  |  | 
| 661 |  | # Be sure to have absolute paths. | 
| 662 | + | for ac_var in exec_prefix prefix | 
| 663 | + | do | 
| 664 | + | eval ac_val=$`echo $ac_var` | 
| 665 | + | case $ac_val in | 
| 666 | + | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
| 667 | + | *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
| 668 | + | { (exit 1); exit 1; }; };; | 
| 669 | + | esac | 
| 670 | + | done | 
| 671 | + |  | 
| 672 | + | # Be sure to have absolute paths. | 
| 673 |  | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
| 674 | < | localstatedir libdir includedir oldincludedir infodir mandir \ | 
| 462 | < | exec_prefix prefix | 
| 674 | > | localstatedir libdir includedir oldincludedir infodir mandir | 
| 675 |  | do | 
| 676 |  | eval ac_val=$`echo $ac_var` | 
| 677 |  | case $ac_val in | 
| 678 |  | [\\/$]* | ?:[\\/]* ) ;; | 
| 679 | < | NONE ) ;; | 
| 468 | < | *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | 
| 679 | > | *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
| 680 |  | { (exit 1); exit 1; }; };; | 
| 681 |  | esac | 
| 682 |  | done | 
| 683 |  |  | 
| 684 |  | # There might be people who depend on the old broken behavior: `$host' | 
| 685 |  | # used to hold the argument of --host etc. | 
| 686 | + | # FIXME: To remove some day. | 
| 687 |  | build=$build_alias | 
| 688 |  | host=$host_alias | 
| 689 |  | target=$target_alias | 
| 690 |  |  | 
| 691 | < | # FIXME: should be removed in autoconf 3.0. | 
| 691 | > | # FIXME: To remove some day. | 
| 692 |  | if test "x$host_alias" != x; then | 
| 693 |  | if test "x$build_alias" = x; then | 
| 694 |  | cross_compiling=maybe | 
| 704 |  |  | 
| 705 |  | test "$silent" = yes && exec 6>/dev/null | 
| 706 |  |  | 
| 707 | + |  | 
| 708 |  | # Find the source files, if location was not specified. | 
| 709 |  | if test -z "$srcdir"; then | 
| 710 |  | ac_srcdir_defaulted=yes | 
| 711 |  | # Try the directory containing this script, then its parent. | 
| 712 | < | ac_prog=$0 | 
| 713 | < | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` | 
| 714 | < | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | 
| 712 | > | ac_confdir=`(dirname "$0") 2>/dev/null || | 
| 713 | > | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 714 | > | X"$0" : 'X\(//\)[^/]' \| \ | 
| 715 | > | X"$0" : 'X\(//\)$' \| \ | 
| 716 | > | X"$0" : 'X\(/\)' \| \ | 
| 717 | > | .     : '\(.\)' 2>/dev/null || | 
| 718 | > | echo X"$0" | | 
| 719 | > | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
| 720 | > | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
| 721 | > | /^X\(\/\/\)$/{ s//\1/; q; } | 
| 722 | > | /^X\(\/\).*/{ s//\1/; q; } | 
| 723 | > | s/.*/./; q'` | 
| 724 |  | srcdir=$ac_confdir | 
| 725 |  | if test ! -r $srcdir/$ac_unique_file; then | 
| 726 |  | srcdir=.. | 
| 730 |  | fi | 
| 731 |  | if test ! -r $srcdir/$ac_unique_file; then | 
| 732 |  | if test "$ac_srcdir_defaulted" = yes; then | 
| 733 | < | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 | 
| 733 | > | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
| 734 |  | { (exit 1); exit 1; }; } | 
| 735 |  | else | 
| 736 | < | { echo "$as_me: error: cannot find sources in $srcdir" >&2 | 
| 736 | > | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
| 737 |  | { (exit 1); exit 1; }; } | 
| 738 |  | fi | 
| 739 |  | fi | 
| 740 | + | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
| 741 | + | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
| 742 | + | { (exit 1); exit 1; }; } | 
| 743 |  | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
| 744 |  | ac_env_build_alias_set=${build_alias+set} | 
| 745 |  | ac_env_build_alias_value=$build_alias | 
| 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} | 
| 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. | 
| 800 |  | if test "$ac_init_help" = "long"; then | 
| 801 |  | # Omit some internal or obsolete options to make the list less imposing. | 
| 802 |  | # This message is too long to be a string in the A/UX 3.1 sh. | 
| 803 | < | cat <<EOF | 
| 803 | > | cat <<_ACEOF | 
| 804 |  | \`configure' configures OOPSE 2.0 to adapt to many kinds of systems. | 
| 805 |  |  | 
| 806 |  | Usage: $0 [OPTION]... [VAR=VALUE]... | 
| 821 |  | -n, --no-create         do not create output files | 
| 822 |  | --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
| 823 |  |  | 
| 824 | < | EOF | 
| 824 | > | _ACEOF | 
| 825 |  |  | 
| 826 | < | cat <<EOF | 
| 826 | > | cat <<_ACEOF | 
| 827 |  | Installation directories: | 
| 828 |  | --prefix=PREFIX         install architecture-independent files in PREFIX | 
| 829 | < | [$ac_default_prefix] | 
| 829 | > | [$ac_default_prefix] | 
| 830 |  | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
| 831 | < | [PREFIX] | 
| 831 | > | [PREFIX] | 
| 832 |  |  | 
| 833 |  | By default, \`make install' will install all the files in | 
| 834 |  | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
| 850 |  | --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
| 851 |  | --infodir=DIR          info documentation [PREFIX/info] | 
| 852 |  | --mandir=DIR           man documentation [PREFIX/man] | 
| 853 | < | EOF | 
| 853 | > | _ACEOF | 
| 854 |  |  | 
| 855 | < | cat <<\EOF | 
| 855 | > | cat <<\_ACEOF | 
| 856 |  |  | 
| 857 |  | System types: | 
| 858 |  | --build=BUILD     configure for building on BUILD [guessed] | 
| 859 | < | --host=HOST       build programs to run on HOST [BUILD] | 
| 860 | < | EOF | 
| 859 | > | --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
| 860 | > | _ACEOF | 
| 861 |  | fi | 
| 862 |  |  | 
| 863 |  | if test -n "$ac_init_help"; then | 
| 864 |  | case $ac_init_help in | 
| 865 |  | short | recursive ) echo "Configuration of OOPSE 2.0:";; | 
| 866 |  | esac | 
| 867 | < | cat <<\EOF | 
| 867 | > | cat <<\_ACEOF | 
| 868 |  |  | 
| 869 |  | Optional Features: | 
| 870 |  | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
| 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> | 
| 655 | < | [default=/usr/local] | 
| 656 | < | --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 | 
| 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. | 
| 906 |  |  | 
| 907 |  | Report bugs to <gezelter@nd.edu>. | 
| 908 | < | EOF | 
| 908 | > | _ACEOF | 
| 909 |  | fi | 
| 910 |  |  | 
| 911 |  | if test "$ac_init_help" = "recursive"; then | 
| 912 |  | # If there are subdirs, report their specific --help. | 
| 913 |  | ac_popdir=`pwd` | 
| 914 | < | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue | 
| 915 | < | cd $ac_subdir | 
| 916 | < | # A "../" for each directory in /$ac_subdir. | 
| 684 | < | ac_dots=`echo $ac_subdir | | 
| 685 | < | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` | 
| 914 | > | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
| 915 | > | test -d $ac_dir || continue | 
| 916 | > | ac_builddir=. | 
| 917 |  |  | 
| 918 | < | case $srcdir in | 
| 919 | < | .) # No --srcdir option.  We are building in place. | 
| 920 | < | ac_sub_srcdir=$srcdir ;; | 
| 921 | < | [\\/]* | ?:[\\/]* ) # Absolute path. | 
| 922 | < | ac_sub_srcdir=$srcdir/$ac_subdir ;; | 
| 923 | < | *) # Relative path. | 
| 924 | < | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; | 
| 694 | < | esac | 
| 918 | > | if test "$ac_dir" != .; then | 
| 919 | > | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
| 920 | > | # A "../" for each directory in $ac_dir_suffix. | 
| 921 | > | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
| 922 | > | else | 
| 923 | > | ac_dir_suffix= ac_top_builddir= | 
| 924 | > | fi | 
| 925 |  |  | 
| 926 | + | case $srcdir in | 
| 927 | + | .)  # No --srcdir option.  We are building in place. | 
| 928 | + | ac_srcdir=. | 
| 929 | + | if test -z "$ac_top_builddir"; then | 
| 930 | + | ac_top_srcdir=. | 
| 931 | + | else | 
| 932 | + | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
| 933 | + | fi ;; | 
| 934 | + | [\\/]* | ?:[\\/]* )  # Absolute path. | 
| 935 | + | ac_srcdir=$srcdir$ac_dir_suffix; | 
| 936 | + | ac_top_srcdir=$srcdir ;; | 
| 937 | + | *) # Relative path. | 
| 938 | + | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
| 939 | + | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
| 940 | + | esac | 
| 941 | + |  | 
| 942 | + | # Do not use `cd foo && pwd` to compute absolute paths, because | 
| 943 | + | # the directories may not exist. | 
| 944 | + | case `pwd` in | 
| 945 | + | .) ac_abs_builddir="$ac_dir";; | 
| 946 | + | *) | 
| 947 | + | case "$ac_dir" in | 
| 948 | + | .) ac_abs_builddir=`pwd`;; | 
| 949 | + | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 
| 950 | + | *) ac_abs_builddir=`pwd`/"$ac_dir";; | 
| 951 | + | esac;; | 
| 952 | + | esac | 
| 953 | + | case $ac_abs_builddir in | 
| 954 | + | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
| 955 | + | *) | 
| 956 | + | case ${ac_top_builddir}. in | 
| 957 | + | .) ac_abs_top_builddir=$ac_abs_builddir;; | 
| 958 | + | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
| 959 | + | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
| 960 | + | esac;; | 
| 961 | + | esac | 
| 962 | + | case $ac_abs_builddir in | 
| 963 | + | .) ac_abs_srcdir=$ac_srcdir;; | 
| 964 | + | *) | 
| 965 | + | case $ac_srcdir in | 
| 966 | + | .) ac_abs_srcdir=$ac_abs_builddir;; | 
| 967 | + | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
| 968 | + | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
| 969 | + | esac;; | 
| 970 | + | esac | 
| 971 | + | case $ac_abs_builddir in | 
| 972 | + | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
| 973 | + | *) | 
| 974 | + | case $ac_top_srcdir in | 
| 975 | + | .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
| 976 | + | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
| 977 | + | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
| 978 | + | esac;; | 
| 979 | + | esac | 
| 980 | + |  | 
| 981 | + | cd $ac_dir | 
| 982 |  | # Check for guested configure; otherwise get Cygnus style configure. | 
| 983 | < | if test -f $ac_sub_srcdir/configure.gnu; then | 
| 983 | > | if test -f $ac_srcdir/configure.gnu; then | 
| 984 |  | echo | 
| 985 | < | $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive | 
| 986 | < | elif test -f $ac_sub_srcdir/configure; then | 
| 985 | > | $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
| 986 | > | elif test -f $ac_srcdir/configure; then | 
| 987 |  | echo | 
| 988 | < | $SHELL $ac_sub_srcdir/configure  --help=recursive | 
| 989 | < | elif test -f $ac_sub_srcdir/configure.ac || | 
| 990 | < | test -f $ac_sub_srcdir/configure.in; then | 
| 988 | > | $SHELL $ac_srcdir/configure  --help=recursive | 
| 989 | > | elif test -f $ac_srcdir/configure.ac || | 
| 990 | > | test -f $ac_srcdir/configure.in; then | 
| 991 |  | echo | 
| 992 |  | $ac_configure --help | 
| 993 |  | else | 
| 994 | < | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 | 
| 994 | > | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
| 995 |  | fi | 
| 996 |  | cd $ac_popdir | 
| 997 |  | done | 
| 999 |  |  | 
| 1000 |  | test -n "$ac_init_help" && exit 0 | 
| 1001 |  | if $ac_init_version; then | 
| 1002 | < | cat <<\EOF | 
| 1002 | > | cat <<\_ACEOF | 
| 1003 |  | OOPSE configure 2.0 | 
| 1004 | < | generated by GNU Autoconf 2.50 | 
| 1004 | > | generated by GNU Autoconf 2.59 | 
| 1005 |  |  | 
| 1006 | < | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
| 721 | < | Free Software Foundation, Inc. | 
| 1006 | > | Copyright (C) 2003 Free Software Foundation, Inc. | 
| 1007 |  | This configure script is free software; the Free Software Foundation | 
| 1008 |  | gives unlimited permission to copy, distribute and modify it. | 
| 1009 | < | EOF | 
| 1009 | > | _ACEOF | 
| 1010 |  | exit 0 | 
| 1011 |  | fi | 
| 1012 |  | exec 5>config.log | 
| 1013 | < | cat >&5 <<EOF | 
| 1013 | > | cat >&5 <<_ACEOF | 
| 1014 |  | This file contains any messages produced by compilers while | 
| 1015 |  | running configure, to aid debugging if configure makes a mistake. | 
| 1016 |  |  | 
| 1017 |  | It was created by OOPSE $as_me 2.0, which was | 
| 1018 | < | generated by GNU Autoconf 2.50.  Invocation command line was | 
| 1018 | > | generated by GNU Autoconf 2.59.  Invocation command line was | 
| 1019 |  |  | 
| 1020 |  | $ $0 $@ | 
| 1021 |  |  | 
| 1022 | < | EOF | 
| 1022 | > | _ACEOF | 
| 1023 |  | { | 
| 1024 |  | cat <<_ASUNAME | 
| 1025 | < | ## ---------- ## | 
| 1026 | < | ## Platform.  ## | 
| 1027 | < | ## ---------- ## | 
| 1025 | > | ## --------- ## | 
| 1026 | > | ## Platform. ## | 
| 1027 | > | ## --------- ## | 
| 1028 |  |  | 
| 1029 |  | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
| 1030 |  | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
| 1043 |  | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
| 1044 |  | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
| 1045 |  |  | 
| 761 | – | PATH = $PATH | 
| 762 | – |  | 
| 1046 |  | _ASUNAME | 
| 1047 | + |  | 
| 1048 | + | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 1049 | + | for as_dir in $PATH | 
| 1050 | + | do | 
| 1051 | + | IFS=$as_save_IFS | 
| 1052 | + | test -z "$as_dir" && as_dir=. | 
| 1053 | + | echo "PATH: $as_dir" | 
| 1054 | + | done | 
| 1055 | + |  | 
| 1056 |  | } >&5 | 
| 1057 |  |  | 
| 1058 | < | cat >&5 <<EOF | 
| 767 | < | ## ------------ ## | 
| 768 | < | ## Core tests.  ## | 
| 769 | < | ## ------------ ## | 
| 1058 | > | cat >&5 <<_ACEOF | 
| 1059 |  |  | 
| 771 | – | EOF | 
| 1060 |  |  | 
| 1061 | + | ## ----------- ## | 
| 1062 | + | ## Core tests. ## | 
| 1063 | + | ## ----------- ## | 
| 1064 | + |  | 
| 1065 | + | _ACEOF | 
| 1066 | + |  | 
| 1067 | + |  | 
| 1068 |  | # Keep a trace of the command line. | 
| 1069 |  | # Strip out --no-create and --no-recursion so they do not pile up. | 
| 1070 | + | # Strip out --silent because we don't want to record it for future runs. | 
| 1071 |  | # Also quote any args containing shell meta-characters. | 
| 1072 | + | # Make two passes to allow for proper duplicate-argument suppression. | 
| 1073 |  | ac_configure_args= | 
| 1074 | + | ac_configure_args0= | 
| 1075 | + | ac_configure_args1= | 
| 1076 |  | ac_sep= | 
| 1077 | < | for ac_arg | 
| 1077 | > | ac_must_keep_next=false | 
| 1078 | > | for ac_pass in 1 2 | 
| 1079 |  | do | 
| 1080 | < | case $ac_arg in | 
| 1081 | < | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
| 1082 | < | | --no-cr | --no-c) ;; | 
| 1083 | < | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
| 1084 | < | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | 
| 1085 | < | *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
| 1086 | < | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` | 
| 1087 | < | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
| 1088 | < | ac_sep=" " ;; | 
| 1089 | < | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" | 
| 1090 | < | ac_sep=" " ;; | 
| 1091 | < | esac | 
| 1092 | < | # Get rid of the leading space. | 
| 1080 | > | for ac_arg | 
| 1081 | > | do | 
| 1082 | > | case $ac_arg in | 
| 1083 | > | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
| 1084 | > | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
| 1085 | > | | -silent | --silent | --silen | --sile | --sil) | 
| 1086 | > | continue ;; | 
| 1087 | > | *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
| 1088 | > | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| 1089 | > | esac | 
| 1090 | > | case $ac_pass in | 
| 1091 | > | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
| 1092 | > | 2) | 
| 1093 | > | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
| 1094 | > | if test $ac_must_keep_next = true; then | 
| 1095 | > | ac_must_keep_next=false # Got value, back to normal. | 
| 1096 | > | else | 
| 1097 | > | case $ac_arg in | 
| 1098 | > | *=* | --config-cache | -C | -disable-* | --disable-* \ | 
| 1099 | > | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
| 1100 | > | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
| 1101 | > | | -with-* | --with-* | -without-* | --without-* | --x) | 
| 1102 | > | case "$ac_configure_args0 " in | 
| 1103 | > | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
| 1104 | > | esac | 
| 1105 | > | ;; | 
| 1106 | > | -* ) ac_must_keep_next=true ;; | 
| 1107 | > | esac | 
| 1108 | > | fi | 
| 1109 | > | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
| 1110 | > | # Get rid of the leading space. | 
| 1111 | > | ac_sep=" " | 
| 1112 | > | ;; | 
| 1113 | > | esac | 
| 1114 | > | done | 
| 1115 |  | done | 
| 1116 | + | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
| 1117 | + | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
| 1118 |  |  | 
| 1119 |  | # When interrupted or exit'd, cleanup temporary files, and complete | 
| 1120 |  | # config.log.  We remove comments because anyway the quotes in there | 
| 1121 |  | # would cause problems or look ugly. | 
| 1122 | + | # WARNING: Be sure not to use single quotes in there, as some shells, | 
| 1123 | + | # such as our DU 5.0 friend, will then `close' the trap. | 
| 1124 |  | trap 'exit_status=$? | 
| 1125 |  | # Save into config.log some information that might help in debugging. | 
| 1126 | < | echo >&5 | 
| 1127 | < | echo "## ----------------- ##" >&5 | 
| 1128 | < | echo "## Cache variables.  ##" >&5 | 
| 1129 | < | echo "## ----------------- ##" >&5 | 
| 1130 | < | echo >&5 | 
| 1131 | < | # The following way of writing the cache mishandles newlines in values, | 
| 1126 | > | { | 
| 1127 | > | echo | 
| 1128 | > |  | 
| 1129 | > | cat <<\_ASBOX | 
| 1130 | > | ## ---------------- ## | 
| 1131 | > | ## Cache variables. ## | 
| 1132 | > | ## ---------------- ## | 
| 1133 | > | _ASBOX | 
| 1134 | > | echo | 
| 1135 | > | # The following way of writing the cache mishandles newlines in values, | 
| 1136 |  | { | 
| 1137 |  | (set) 2>&1 | | 
| 1138 |  | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
| 1139 |  | *ac_space=\ *) | 
| 1140 |  | sed -n \ | 
| 1141 | < | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
| 1142 | < | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
| 1141 | > | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
| 1142 | > | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
| 1143 |  | ;; | 
| 1144 |  | *) | 
| 1145 |  | sed -n \ | 
| 1146 | < | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 1146 | > | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 1147 |  | ;; | 
| 1148 |  | esac; | 
| 1149 | < | } >&5 | 
| 1150 | < | sed "/^$/d" confdefs.h >conftest.log | 
| 1151 | < | if test -s conftest.log; then | 
| 1152 | < | echo >&5 | 
| 1153 | < | echo "## ------------ ##" >&5 | 
| 1154 | < | echo "## confdefs.h.  ##" >&5 | 
| 1155 | < | echo "## ------------ ##" >&5 | 
| 1156 | < | echo >&5 | 
| 1157 | < | cat conftest.log >&5 | 
| 1158 | < | fi | 
| 1159 | < | (echo; echo) >&5 | 
| 1160 | < | test "$ac_signal" != 0 && | 
| 1161 | < | echo "$as_me: caught signal $ac_signal" >&5 | 
| 1162 | < | echo "$as_me: exit $exit_status" >&5 | 
| 1163 | < | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && | 
| 1149 | > | } | 
| 1150 | > | echo | 
| 1151 | > |  | 
| 1152 | > | cat <<\_ASBOX | 
| 1153 | > | ## ----------------- ## | 
| 1154 | > | ## Output variables. ## | 
| 1155 | > | ## ----------------- ## | 
| 1156 | > | _ASBOX | 
| 1157 | > | echo | 
| 1158 | > | for ac_var in $ac_subst_vars | 
| 1159 | > | do | 
| 1160 | > | eval ac_val=$`echo $ac_var` | 
| 1161 | > | echo "$ac_var='"'"'$ac_val'"'"'" | 
| 1162 | > | done | sort | 
| 1163 | > | echo | 
| 1164 | > |  | 
| 1165 | > | if test -n "$ac_subst_files"; then | 
| 1166 | > | cat <<\_ASBOX | 
| 1167 | > | ## ------------- ## | 
| 1168 | > | ## Output files. ## | 
| 1169 | > | ## ------------- ## | 
| 1170 | > | _ASBOX | 
| 1171 | > | echo | 
| 1172 | > | for ac_var in $ac_subst_files | 
| 1173 | > | do | 
| 1174 | > | eval ac_val=$`echo $ac_var` | 
| 1175 | > | echo "$ac_var='"'"'$ac_val'"'"'" | 
| 1176 | > | done | sort | 
| 1177 | > | echo | 
| 1178 | > | fi | 
| 1179 | > |  | 
| 1180 | > | if test -s confdefs.h; then | 
| 1181 | > | cat <<\_ASBOX | 
| 1182 | > | ## ----------- ## | 
| 1183 | > | ## confdefs.h. ## | 
| 1184 | > | ## ----------- ## | 
| 1185 | > | _ASBOX | 
| 1186 | > | echo | 
| 1187 | > | sed "/^$/d" confdefs.h | sort | 
| 1188 | > | echo | 
| 1189 | > | fi | 
| 1190 | > | test "$ac_signal" != 0 && | 
| 1191 | > | echo "$as_me: caught signal $ac_signal" | 
| 1192 | > | echo "$as_me: exit $exit_status" | 
| 1193 | > | } >&5 | 
| 1194 | > | rm -f core *.core && | 
| 1195 | > | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
| 1196 |  | exit $exit_status | 
| 1197 |  | ' 0 | 
| 1198 |  | for ac_signal in 1 2 13 15; do | 
| 1199 | < | trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal | 
| 1199 | > | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
| 1200 |  | done | 
| 1201 |  | ac_signal=0 | 
| 1202 |  |  | 
| 1205 |  | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
| 1206 |  | echo >confdefs.h | 
| 1207 |  |  | 
| 1208 | + | # Predefined preprocessor variables. | 
| 1209 | + |  | 
| 1210 | + | cat >>confdefs.h <<_ACEOF | 
| 1211 | + | #define PACKAGE_NAME "$PACKAGE_NAME" | 
| 1212 | + | _ACEOF | 
| 1213 | + |  | 
| 1214 | + |  | 
| 1215 | + | cat >>confdefs.h <<_ACEOF | 
| 1216 | + | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
| 1217 | + | _ACEOF | 
| 1218 | + |  | 
| 1219 | + |  | 
| 1220 | + | cat >>confdefs.h <<_ACEOF | 
| 1221 | + | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
| 1222 | + | _ACEOF | 
| 1223 | + |  | 
| 1224 | + |  | 
| 1225 | + | cat >>confdefs.h <<_ACEOF | 
| 1226 | + | #define PACKAGE_STRING "$PACKAGE_STRING" | 
| 1227 | + | _ACEOF | 
| 1228 | + |  | 
| 1229 | + |  | 
| 1230 | + | cat >>confdefs.h <<_ACEOF | 
| 1231 | + | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
| 1232 | + | _ACEOF | 
| 1233 | + |  | 
| 1234 | + |  | 
| 1235 |  | # Let the site file select an alternate cache file if it wants to. | 
| 1236 |  | # Prefer explicitly selected file to automatically selected ones. | 
| 1237 |  | if test -z "$CONFIG_SITE"; then | 
| 1243 |  | fi | 
| 1244 |  | for ac_site_file in $CONFIG_SITE; do | 
| 1245 |  | if test -r "$ac_site_file"; then | 
| 1246 | < | { echo "$as_me:857: loading site script $ac_site_file" >&5 | 
| 1246 | > | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
| 1247 |  | echo "$as_me: loading site script $ac_site_file" >&6;} | 
| 1248 | < | cat "$ac_site_file" >&5 | 
| 1248 | > | sed 's/^/| /' "$ac_site_file" >&5 | 
| 1249 |  | . "$ac_site_file" | 
| 1250 |  | fi | 
| 1251 |  | done | 
| 1254 |  | # Some versions of bash will fail to source /dev/null (special | 
| 1255 |  | # files actually), so we avoid doing that. | 
| 1256 |  | if test -f "$cache_file"; then | 
| 1257 | < | { echo "$as_me:868: loading cache $cache_file" >&5 | 
| 1257 | > | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
| 1258 |  | echo "$as_me: loading cache $cache_file" >&6;} | 
| 1259 |  | case $cache_file in | 
| 1260 |  | [\\/]* | ?:[\\/]* ) . $cache_file;; | 
| 1262 |  | esac | 
| 1263 |  | fi | 
| 1264 |  | else | 
| 1265 | < | { echo "$as_me:876: creating cache $cache_file" >&5 | 
| 1265 | > | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
| 1266 |  | echo "$as_me: creating cache $cache_file" >&6;} | 
| 1267 |  | >$cache_file | 
| 1268 |  | fi | 
| 1269 |  |  | 
| 1270 |  | # Check that the precious variables saved in the cache have kept the same | 
| 1271 |  | # value. | 
| 1272 | < | ac_suggest_removing_cache=false | 
| 1272 | > | ac_cache_corrupted=false | 
| 1273 |  | for ac_var in `(set) 2>&1 | | 
| 1274 | < | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
| 1274 | > | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
| 1275 |  | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
| 1276 |  | eval ac_new_set=\$ac_env_${ac_var}_set | 
| 1277 |  | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
| 1278 |  | eval ac_new_val="\$ac_env_${ac_var}_value" | 
| 1279 |  | case $ac_old_set,$ac_new_set in | 
| 1280 |  | set,) | 
| 1281 | < | { echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
| 1282 | < | echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
| 1283 | < | ac_suggest_removing_cache=: ;; | 
| 1281 | > | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
| 1282 | > | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
| 1283 | > | ac_cache_corrupted=: ;; | 
| 1284 |  | ,set) | 
| 1285 | < | { echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5 | 
| 1286 | < | echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;} | 
| 1287 | < | ac_suggest_removing_cache=: ;; | 
| 1285 | > | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
| 1286 | > | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
| 1287 | > | ac_cache_corrupted=: ;; | 
| 1288 |  | ,);; | 
| 1289 |  | *) | 
| 1290 |  | if test "x$ac_old_val" != "x$ac_new_val"; then | 
| 1291 | < | { echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5 | 
| 1292 | < | echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;} | 
| 1293 | < | { echo "$as_me:904: WARNING:   former value:  $ac_old_val" >&5 | 
| 1294 | < | echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;} | 
| 1295 | < | { echo "$as_me:906: WARNING:   current value: $ac_new_val" >&5 | 
| 1296 | < | echo "$as_me: WARNING:   current value: $ac_new_val" >&2;} | 
| 1297 | < | ac_suggest_removing_cache=: | 
| 1291 | > | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
| 1292 | > | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
| 1293 | > | { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
| 1294 | > | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
| 1295 | > | { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
| 1296 | > | echo "$as_me:   current value: $ac_new_val" >&2;} | 
| 1297 | > | ac_cache_corrupted=: | 
| 1298 |  | fi;; | 
| 1299 |  | esac | 
| 1300 | + | # Pass precious variables to config.status. | 
| 1301 | + | if test "$ac_new_set" = set; then | 
| 1302 | + | case $ac_new_val in | 
| 1303 | + | *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
| 1304 | + | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| 1305 | + | *) ac_arg=$ac_var=$ac_new_val ;; | 
| 1306 | + | esac | 
| 1307 | + | case " $ac_configure_args " in | 
| 1308 | + | *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
| 1309 | + | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
| 1310 | + | esac | 
| 1311 | + | fi | 
| 1312 |  | done | 
| 1313 | < | if $ac_suggest_removing_cache; then | 
| 1314 | < | { echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5 | 
| 1315 | < | echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;} | 
| 1316 | < | { echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5 | 
| 1317 | < | echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;} | 
| 1313 | > | if $ac_cache_corrupted; then | 
| 1314 | > | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
| 1315 | > | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
| 1316 | > | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
| 1317 | > | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
| 1318 | > | { (exit 1); exit 1; }; } | 
| 1319 |  | fi | 
| 1320 |  |  | 
| 1321 |  | ac_ext=c | 
| 1324 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 1325 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 1326 |  |  | 
| 1327 | < | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
| 1328 | < | *c*,-n*) ECHO_N= ECHO_C=' | 
| 1329 | < | ' ECHO_T='      ' ;; | 
| 1330 | < | *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
| 929 | < | *)      ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
| 930 | < | esac | 
| 931 | < | echo "#! $SHELL" >conftest.sh | 
| 932 | < | echo  "exit 0"   >>conftest.sh | 
| 933 | < | chmod +x conftest.sh | 
| 934 | < | if { (echo "$as_me:934: PATH=\".;.\"; conftest.sh") >&5 | 
| 935 | < | (PATH=".;."; conftest.sh) 2>&5 | 
| 936 | < | ac_status=$? | 
| 937 | < | echo "$as_me:937: \$? = $ac_status" >&5 | 
| 938 | < | (exit $ac_status); }; then | 
| 939 | < | ac_path_separator=';' | 
| 940 | < | else | 
| 941 | < | ac_path_separator=: | 
| 942 | < | fi | 
| 943 | < | PATH_SEPARATOR="$ac_path_separator" | 
| 944 | < | rm -f conftest.sh | 
| 1327 | > |  | 
| 1328 | > |  | 
| 1329 | > |  | 
| 1330 | > |  | 
| 1331 |  |  | 
| 1332 | + |  | 
| 1333 | + |  | 
| 1334 | + |  | 
| 1335 | + |  | 
| 1336 | + |  | 
| 1337 | + |  | 
| 1338 | + |  | 
| 1339 | + |  | 
| 1340 | + |  | 
| 1341 | + |  | 
| 1342 | + |  | 
| 1343 | + |  | 
| 1344 | + |  | 
| 1345 | + |  | 
| 1346 | + |  | 
| 1347 | + |  | 
| 1348 | + |  | 
| 1349 | + |  | 
| 1350 | + |  | 
| 1351 | + |  | 
| 1352 | + |  | 
| 1353 |  | ac_aux_dir= | 
| 1354 |  | for ac_dir in ac-tools $srcdir/ac-tools; do | 
| 1355 |  | if test -f $ac_dir/install-sh; then | 
| 1367 |  | fi | 
| 1368 |  | done | 
| 1369 |  | if test -z "$ac_aux_dir"; then | 
| 1370 | < | { { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 | 
| 1370 | > | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 | 
| 1371 |  | echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;} | 
| 1372 |  | { (exit 1); exit 1; }; } | 
| 1373 |  | fi | 
| 1375 |  | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
| 1376 |  | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
| 1377 |  |  | 
| 1378 | + |  | 
| 1379 |  | # This file is part of Autoconf.                       -*- Autoconf -*- | 
| 1380 |  | # Programming languages support. | 
| 1381 |  | # Copyright 2000, 2001 | 
| 1426 |  | # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably | 
| 1427 |  | # many others). | 
| 1428 |  |  | 
| 1429 | + |  | 
| 1430 |  | # Table of Contents: | 
| 1431 |  | # | 
| 1432 |  | # 1. Language selection | 
| 1462 |  | # ACTION-IF-NOT-FOUND. | 
| 1463 |  | # _AC_LIST_MEMBER_IF | 
| 1464 |  |  | 
| 1465 | + |  | 
| 1466 | + |  | 
| 1467 |  | # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE) | 
| 1468 |  | # ------------------------------------------------- | 
| 1469 |  | # | 
| 1494 |  | # FIXME: Get rid of this macro. | 
| 1495 |  | # _AC_LINKER_OPTION | 
| 1496 |  |  | 
| 1497 | + |  | 
| 1498 | + |  | 
| 1499 |  | ## ----------------------- ## | 
| 1500 |  | ## 1. Language selection.  ## | 
| 1501 |  | ## ----------------------- ## | 
| 1507 |  | # AC_LANG(Fortran 90) | 
| 1508 |  | # ------------------- | 
| 1509 |  |  | 
| 1510 | + |  | 
| 1511 | + |  | 
| 1512 |  | # _AC_LANG_ABBREV(Fortran 90) | 
| 1513 |  | # --------------------------- | 
| 1514 |  |  | 
| 1515 | + |  | 
| 1516 | + |  | 
| 1517 |  | # ----------------------------- # | 
| 1518 |  | # 1c. The Fortran 95 language.  # | 
| 1519 |  | # ----------------------------- # | 
| 1521 |  | # AC_LANG(Fortran 95) | 
| 1522 |  | # ------------------- | 
| 1523 |  |  | 
| 1524 | + |  | 
| 1525 | + |  | 
| 1526 |  | # _AC_LANG_ABBREV(Fortran 95) | 
| 1527 |  | # --------------------------- | 
| 1528 |  |  | 
| 1529 | + |  | 
| 1530 | + |  | 
| 1531 |  | ## ---------------------- ## | 
| 1532 |  | ## 2.Producing programs.  ## | 
| 1533 |  | ## ---------------------- ## | 
| 1539 |  | # AC_LANG_SOURCE(Fortran 90)(BODY) | 
| 1540 |  | # -------------------------------- | 
| 1541 |  |  | 
| 1542 | + |  | 
| 1543 | + |  | 
| 1544 |  | # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY]) | 
| 1545 |  | # ----------------------------------------------- | 
| 1546 |  |  | 
| 1547 | + |  | 
| 1548 |  | # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION) | 
| 1549 |  | # -------------------------------------------- | 
| 1550 |  |  | 
| 1551 | + |  | 
| 1552 | + |  | 
| 1553 |  | # ------------------------ # | 
| 1554 |  | # 2c. Fortran 95 sources.  # | 
| 1555 |  | # ------------------------ # | 
| 1557 |  | # AC_LANG_SOURCE(Fortran 95)(BODY) | 
| 1558 |  | # -------------------------------- | 
| 1559 |  |  | 
| 1560 | + |  | 
| 1561 |  | # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY]) | 
| 1562 |  | # ----------------------------------------------- | 
| 1563 |  |  | 
| 1564 | + |  | 
| 1565 |  | # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION) | 
| 1566 |  | # -------------------------------------------- | 
| 1567 |  |  | 
| 1568 | + |  | 
| 1569 | + |  | 
| 1570 |  | ## -------------------------------------------- ## | 
| 1571 |  | ## 3. Looking for Compilers and Preprocessors.  ## | 
| 1572 |  | ## -------------------------------------------- ## | 
| 1575 |  | # 3b. The Fortran 90 compiler.  # | 
| 1576 |  | # ----------------------------- # | 
| 1577 |  |  | 
| 1578 | + |  | 
| 1579 |  | # AC_LANG_PREPROC(Fortran 90) | 
| 1580 |  | # --------------------------- | 
| 1581 |  | # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able. | 
| 1582 |  |  | 
| 1583 | + |  | 
| 1584 | + |  | 
| 1585 |  | # AC_LANG_COMPILER(Fortran 90) | 
| 1586 |  | # ---------------------------- | 
| 1587 |  | # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be | 
| 1588 |  | # AC_REQUIRE'able. | 
| 1589 |  |  | 
| 1590 | + |  | 
| 1591 | + |  | 
| 1592 |  | # AC_PROG_F90([COMPILERS...]) | 
| 1593 |  | # --------------------------- | 
| 1594 |  | # COMPILERS is a space separated list of Fortran 90 compilers to search | 
| 1605 |  | # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. | 
| 1606 |  | # AC_PROG_F90 | 
| 1607 |  |  | 
| 1608 | + |  | 
| 1609 |  | # ----------------------------- # | 
| 1610 |  | # 3c. The Fortran 95 compiler.  # | 
| 1611 |  | # ----------------------------- # | 
| 1612 |  |  | 
| 1613 | + |  | 
| 1614 |  | # AC_LANG_PREPROC(Fortran 95) | 
| 1615 |  | # --------------------------- | 
| 1616 |  | # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able. | 
| 1617 |  |  | 
| 1618 | + |  | 
| 1619 | + |  | 
| 1620 |  | # AC_LANG_COMPILER(Fortran 95) | 
| 1621 |  | # ---------------------------- | 
| 1622 |  | # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be | 
| 1623 |  | # AC_REQUIRE'able. | 
| 1624 |  |  | 
| 1625 | + |  | 
| 1626 | + |  | 
| 1627 |  | # AC_PROG_F95([COMPILERS...]) | 
| 1628 |  | # --------------------------- | 
| 1629 |  | # COMPILERS is a space separated list of Fortran 95 compilers to search | 
| 1637 |  | # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha. | 
| 1638 |  | # AC_PROG_F95 | 
| 1639 |  |  | 
| 1640 | + |  | 
| 1641 |  | ## ------------------------------- ## | 
| 1642 |  | ## 4. Compilers' characteristics.  ## | 
| 1643 |  | ## ------------------------------- ## | 
| 1644 |  |  | 
| 1645 | + |  | 
| 1646 |  | # ---------------------------------------- # | 
| 1647 |  | # 4b. Fortan 90 compiler characteristics.  # | 
| 1648 |  | # ---------------------------------------- # | 
| 1649 |  |  | 
| 1650 | + |  | 
| 1651 |  | # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v]) | 
| 1652 |  | # ------------------------------------------------- | 
| 1653 |  | # Link a trivial Fortran program, compiling with a verbose output FLAG | 
| 1658 |  | # space-separated items. | 
| 1659 |  | # _AC_PROG_F90_V_OUTPUT | 
| 1660 |  |  | 
| 1661 | + |  | 
| 1662 |  | # _AC_PROG_F90_V | 
| 1663 |  | # -------------- | 
| 1664 |  | # | 
| 1668 |  | # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) | 
| 1669 |  | # _AC_PROG_F90_V | 
| 1670 |  |  | 
| 1671 | + |  | 
| 1672 |  | # AC_F90_LIBRARY_LDFLAGS | 
| 1673 |  | # ---------------------- | 
| 1674 |  | # | 
| 1695 |  | # | 
| 1696 |  | # This macro was copied from the Fortran 77 version by Matthew D. Langston. | 
| 1697 |  | # AC_F90_LIBRARY_LDFLAGS | 
| 1698 | + |  | 
| 1699 |  |  | 
| 1700 |  | # _AC_F90_NAME_MANGLING | 
| 1701 |  | # --------------------- | 
| 1716 |  |  | 
| 1717 |  | # The replacement is empty. | 
| 1718 |  |  | 
| 1719 | + |  | 
| 1720 | + |  | 
| 1721 |  | # AC_F90_WRAPPERS | 
| 1722 |  | # --------------- | 
| 1723 |  | # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to | 
| 1726 |  | # scheme used by the Fortran 90 compiler. | 
| 1727 |  | # AC_F90_WRAPPERS | 
| 1728 |  |  | 
| 1729 | + |  | 
| 1730 |  | # AC_F90_FUNC(NAME, [SHELLVAR = NAME]) | 
| 1731 |  | # ------------------------------------ | 
| 1732 |  | # For a Fortran subroutine of given NAME, define a shell variable | 
| 1734 |  | # argument is not supplied, it defaults to NAME. | 
| 1735 |  | # AC_F90_FUNC | 
| 1736 |  |  | 
| 1737 | + |  | 
| 1738 |  | # ---------------------------------------- # | 
| 1739 |  | # 4c. Fortan 95 compiler characteristics.  # | 
| 1740 |  | # ---------------------------------------- # | 
| 1741 |  |  | 
| 1742 | + |  | 
| 1743 |  | # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v]) | 
| 1744 |  | # ------------------------------------------------- | 
| 1745 |  | # Link a trivial Fortran program, compiling with a verbose output FLAG | 
| 1750 |  | # space-separated items. | 
| 1751 |  | # _AC_PROG_F95_V_OUTPUT | 
| 1752 |  |  | 
| 1753 | + |  | 
| 1754 |  | # _AC_PROG_F95_V | 
| 1755 |  | # -------------- | 
| 1756 |  | # | 
| 1760 |  | # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###) | 
| 1761 |  | # _AC_PROG_F95_V | 
| 1762 |  |  | 
| 1763 | + |  | 
| 1764 |  | # AC_F95_LIBRARY_LDFLAGS | 
| 1765 |  | # ---------------------- | 
| 1766 |  | # | 
| 1788 |  | # This macro was copied from the Fortran 77 version by Matthew D. Langston. | 
| 1789 |  | # AC_F95_LIBRARY_LDFLAGS | 
| 1790 |  |  | 
| 1791 | + |  | 
| 1792 |  | # _AC_F95_NAME_MANGLING | 
| 1793 |  | # --------------------- | 
| 1794 |  | # Test for the name mangling scheme used by the Fortran 95 compiler. | 
| 1808 |  |  | 
| 1809 |  | # The replacement is empty. | 
| 1810 |  |  | 
| 1811 | + |  | 
| 1812 | + |  | 
| 1813 |  | # AC_F95_WRAPPERS | 
| 1814 |  | # --------------- | 
| 1815 |  | # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to | 
| 1818 |  | # scheme used by the Fortran 95 compiler. | 
| 1819 |  | # AC_F95_WRAPPERS | 
| 1820 |  |  | 
| 1821 | + |  | 
| 1822 |  | # AC_F95_FUNC(NAME, [SHELLVAR = NAME]) | 
| 1823 |  | # ------------------------------------ | 
| 1824 |  | # For a Fortran subroutine of given NAME, define a shell variable | 
| 1833 |  | # | 
| 1834 |  | # AC_F90_MODULE_NAMES | 
| 1835 |  |  | 
| 1836 | + |  | 
| 1837 | + |  | 
| 1838 | + |  | 
| 1839 | + |  | 
| 1840 | + |  | 
| 1841 | + |  | 
| 1842 | + |  | 
| 1843 | + |  | 
| 1844 | + |  | 
| 1845 | + |  | 
| 1846 | + |  | 
| 1847 | + |  | 
| 1848 | + |  | 
| 1849 | + |  | 
| 1850 | + |  | 
| 1851 | + |  | 
| 1852 | + |  | 
| 1853 | + |  | 
| 1854 | + |  | 
| 1855 | + |  | 
| 1856 | + |  | 
| 1857 | + |  | 
| 1858 | + |  | 
| 1859 | + |  | 
| 1860 | + |  | 
| 1861 | + |  | 
| 1862 | + |  | 
| 1863 | + |  | 
| 1864 | + |  | 
| 1865 | + |  | 
| 1866 | + |  | 
| 1867 | + |  | 
| 1868 | + |  | 
| 1869 | + |  | 
| 1870 | + |  | 
| 1871 | + |  | 
| 1872 | + |  | 
| 1873 | + |  | 
| 1874 | + |  | 
| 1875 | + |  | 
| 1876 | + |  | 
| 1877 | + |  | 
| 1878 | + |  | 
| 1879 | + |  | 
| 1880 | + |  | 
| 1881 | + |  | 
| 1882 | + |  | 
| 1883 | + |  | 
| 1884 | + |  | 
| 1885 | + |  | 
| 1886 | + |  | 
| 1887 | + |  | 
| 1888 | + | # | 
| 1889 | + | # | 
| 1890 | + | # | 
| 1891 | + |  | 
| 1892 | + |  | 
| 1893 | + |  | 
| 1894 | + |  | 
| 1895 | + |  | 
| 1896 | + |  | 
| 1897 | + |  | 
| 1898 | + |  | 
| 1899 | + |  | 
| 1900 | + |  | 
| 1901 | + |  | 
| 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 |  |  | 
| 1936 | + |  | 
| 1937 |  | # there are two ways to do debugging.  One with the --enable-debug flag | 
| 1938 |  | # and one using the DEBUG environment variable | 
| 1939 |  |  | 
| 1945 |  | fi; | 
| 1946 |  | if test "${DEBUG}"; then | 
| 1947 |  |  | 
| 1948 | < | cat >>confdefs.h <<\EOF | 
| 1948 | > | cat >>confdefs.h <<\_ACEOF | 
| 1949 |  | #define debug 1 | 
| 1950 | < | EOF | 
| 1950 | > | _ACEOF | 
| 1951 |  |  | 
| 1952 |  | msg="$msg, debug mode" | 
| 1953 |  | fi | 
| 1954 |  |  | 
| 1955 | + |  | 
| 1956 |  | # who am i | 
| 1957 |  | # Make sure we can run config.sub. | 
| 1958 |  | $ac_config_sub sun4 >/dev/null 2>&1 || | 
| 1959 | < | { { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5 | 
| 1959 | > | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
| 1960 |  | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
| 1961 |  | { (exit 1); exit 1; }; } | 
| 1962 |  |  | 
| 1963 | < | echo "$as_me:1406: checking build system type" >&5 | 
| 1963 | > | echo "$as_me:$LINENO: checking build system type" >&5 | 
| 1964 |  | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
| 1965 |  | if test "${ac_cv_build+set}" = set; then | 
| 1966 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1969 |  | test -z "$ac_cv_build_alias" && | 
| 1970 |  | ac_cv_build_alias=`$ac_config_guess` | 
| 1971 |  | test -z "$ac_cv_build_alias" && | 
| 1972 | < | { { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5 | 
| 1972 | > | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
| 1973 |  | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
| 1974 |  | { (exit 1); exit 1; }; } | 
| 1975 |  | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
| 1976 | < | { { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5 | 
| 1977 | < | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} | 
| 1976 | > | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
| 1977 | > | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
| 1978 |  | { (exit 1); exit 1; }; } | 
| 1979 |  |  | 
| 1980 |  | fi | 
| 1981 | < | echo "$as_me:1424: result: $ac_cv_build" >&5 | 
| 1981 | > | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
| 1982 |  | echo "${ECHO_T}$ac_cv_build" >&6 | 
| 1983 |  | build=$ac_cv_build | 
| 1984 |  | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
| 1985 |  | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
| 1986 |  | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
| 1987 |  |  | 
| 1988 | < | echo "$as_me:1431: checking host system type" >&5 | 
| 1988 | > |  | 
| 1989 | > | echo "$as_me:$LINENO: checking host system type" >&5 | 
| 1990 |  | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
| 1991 |  | if test "${ac_cv_host+set}" = set; then | 
| 1992 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 1995 |  | test -z "$ac_cv_host_alias" && | 
| 1996 |  | ac_cv_host_alias=$ac_cv_build_alias | 
| 1997 |  | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
| 1998 | < | { { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
| 1998 | > | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
| 1999 |  | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
| 2000 |  | { (exit 1); exit 1; }; } | 
| 2001 |  |  | 
| 2002 |  | fi | 
| 2003 | < | echo "$as_me:1445: result: $ac_cv_host" >&5 | 
| 2003 | > | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
| 2004 |  | echo "${ECHO_T}$ac_cv_host" >&6 | 
| 2005 |  | host=$ac_cv_host | 
| 2006 |  | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
| 2007 |  | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
| 2008 |  | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
| 2009 |  |  | 
| 2010 | + |  | 
| 2011 | + |  | 
| 2012 | + |  | 
| 2013 | + |  | 
| 2014 |  | ac_ext=c | 
| 2015 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 2016 |  | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 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 | 
| 2024 | < | echo "$as_me:1462: checking for $ac_word" >&5 | 
| 2024 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2025 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2026 |  | if test "${ac_cv_prog_CC+set}" = set; then | 
| 2027 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2029 |  | if test -n "$CC"; then | 
| 2030 |  | ac_cv_prog_CC="$CC" # Let the user override the test. | 
| 2031 |  | else | 
| 2032 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 2033 | < | ac_dummy="$PATH" | 
| 2034 | < | for ac_dir in $ac_dummy; do | 
| 2035 | < | IFS=$ac_save_IFS | 
| 2036 | < | test -z "$ac_dir" && ac_dir=. | 
| 2037 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 2038 | < | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| 2039 | < | echo "$as_me:1477: found $ac_dir/$ac_word" >&5 | 
| 2040 | < | break | 
| 2032 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2033 | > | for as_dir in $PATH | 
| 2034 | > | do | 
| 2035 | > | IFS=$as_save_IFS | 
| 2036 | > | test -z "$as_dir" && as_dir=. | 
| 2037 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2038 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2039 | > | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| 2040 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2041 | > | break 2 | 
| 2042 | > | fi | 
| 2043 |  | done | 
| 2044 | + | done | 
| 2045 |  |  | 
| 2046 |  | fi | 
| 2047 |  | fi | 
| 2048 |  | CC=$ac_cv_prog_CC | 
| 2049 |  | if test -n "$CC"; then | 
| 2050 | < | echo "$as_me:1485: result: $CC" >&5 | 
| 2050 | > | echo "$as_me:$LINENO: result: $CC" >&5 | 
| 2051 |  | echo "${ECHO_T}$CC" >&6 | 
| 2052 |  | else | 
| 2053 | < | echo "$as_me:1488: result: no" >&5 | 
| 2053 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 2054 |  | echo "${ECHO_T}no" >&6 | 
| 2055 |  | fi | 
| 2056 |  |  | 
| 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 | 
| 2066 | < | echo "$as_me:1501: checking for $ac_word" >&5 | 
| 2066 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2067 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2068 |  | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
| 2069 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2071 |  | if test -n "$ac_ct_CC"; then | 
| 2072 |  | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| 2073 |  | else | 
| 2074 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 2075 | < | ac_dummy="$PATH" | 
| 2076 | < | for ac_dir in $ac_dummy; do | 
| 2077 | < | IFS=$ac_save_IFS | 
| 2078 | < | test -z "$ac_dir" && ac_dir=. | 
| 2079 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 2080 | < | ac_cv_prog_ac_ct_CC="$ac_prog" | 
| 2081 | < | echo "$as_me:1516: found $ac_dir/$ac_word" >&5 | 
| 2082 | < | break | 
| 2083 | < | done | 
| 2084 | < |  | 
| 2085 | < | fi | 
| 2086 | < | fi | 
| 2087 | < | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| 2088 | < | if test -n "$ac_ct_CC"; then | 
| 2089 | < | echo "$as_me:1524: result: $ac_ct_CC" >&5 | 
| 2090 | < | echo "${ECHO_T}$ac_ct_CC" >&6 | 
| 2091 | < | else | 
| 2092 | < | echo "$as_me:1527: result: no" >&5 | 
| 2074 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2075 | > | for as_dir in $PATH | 
| 2076 | > | do | 
| 2077 | > | IFS=$as_save_IFS | 
| 2078 | > | test -z "$as_dir" && as_dir=. | 
| 2079 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2080 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2081 | > | ac_cv_prog_ac_ct_CC="$ac_prog" | 
| 2082 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2083 | > | break 2 | 
| 2084 | > | fi | 
| 2085 | > | done | 
| 2086 | > | done | 
| 2087 | > |  | 
| 2088 | > | fi | 
| 2089 | > | fi | 
| 2090 | > | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| 2091 | > | if test -n "$ac_ct_CC"; then | 
| 2092 | > | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
| 2093 | > | echo "${ECHO_T}$ac_ct_CC" >&6 | 
| 2094 | > | else | 
| 2095 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 2096 |  | echo "${ECHO_T}no" >&6 | 
| 2097 |  | fi | 
| 2098 |  |  | 
| 2102 |  | CC=$ac_ct_CC | 
| 2103 |  | fi | 
| 2104 |  |  | 
| 2105 | < | test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5 | 
| 2106 | < | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} | 
| 2105 | > |  | 
| 2106 | > | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
| 2107 | > | See \`config.log' for more details." >&5 | 
| 2108 | > | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
| 2109 | > | See \`config.log' for more details." >&2;} | 
| 2110 |  | { (exit 1); exit 1; }; } | 
| 2111 |  |  | 
| 2112 | + | # Provide some information about the compiler. | 
| 2113 | + | echo "$as_me:$LINENO:" \ | 
| 2114 | + | "checking for C compiler version" >&5 | 
| 2115 | + | ac_compiler=`set X $ac_compile; echo $2` | 
| 2116 | + | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
| 2117 | + | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
| 2118 | + | ac_status=$? | 
| 2119 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2120 | + | (exit $ac_status); } | 
| 2121 | + | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
| 2122 | + | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
| 2123 | + | ac_status=$? | 
| 2124 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2125 | + | (exit $ac_status); } | 
| 2126 | + | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
| 2127 | + | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
| 2128 | + | ac_status=$? | 
| 2129 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2130 | + | (exit $ac_status); } | 
| 2131 | + |  | 
| 2132 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2133 | < | #line 1542 "configure" | 
| 2134 | < | #include "confdefs.h" | 
| 2133 | > | /* confdefs.h.  */ | 
| 2134 | > | _ACEOF | 
| 2135 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2136 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2137 | > | /* end confdefs.h.  */ | 
| 2138 |  |  | 
| 2139 |  | int | 
| 2140 |  | main () | 
| 2145 |  | } | 
| 2146 |  | _ACEOF | 
| 2147 |  | ac_clean_files_save=$ac_clean_files | 
| 2148 | < | ac_clean_files="$ac_clean_files a.out a.exe" | 
| 2148 | > | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
| 2149 |  | # Try to create an executable without -o first, disregard a.out. | 
| 2150 | < | # It will help us diagnose broken compiler, and finding out an intuition | 
| 2150 | > | # It will help us diagnose broken compilers, and finding out an intuition | 
| 2151 |  | # of exeext. | 
| 2152 | < | echo "$as_me:1558: checking for C compiler default output" >&5 | 
| 2153 | < | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 
| 2152 | > | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 
| 2153 | > | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | 
| 2154 |  | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
| 2155 | < | if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5 | 
| 2155 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
| 2156 |  | (eval $ac_link_default) 2>&5 | 
| 2157 |  | ac_status=$? | 
| 2158 | < | echo "$as_me:1564: \$? = $ac_status" >&5 | 
| 2158 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2159 |  | (exit $ac_status); }; then | 
| 2160 | < | for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do | 
| 2160 | > | # Find the output, starting from the most likely.  This scheme is | 
| 2161 | > | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
| 2162 | > | # resort. | 
| 2163 | > |  | 
| 2164 | > | # Be careful to initialize this variable, since it used to be cached. | 
| 2165 | > | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
| 2166 | > | ac_cv_exeext= | 
| 2167 | > | # b.out is created by i960 compilers. | 
| 2168 | > | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
| 2169 | > | do | 
| 2170 | > | test -f "$ac_file" || continue | 
| 2171 |  | case $ac_file in | 
| 2172 | < | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
| 2173 | < | a.out ) # We found the default executable, but exeext='' is most | 
| 2174 | < | # certainly right. | 
| 2175 | < | break;; | 
| 2176 | < | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 2177 | < | export ac_cv_exeext | 
| 2178 | < | break;; | 
| 2179 | < | * ) break;; | 
| 2172 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
| 2173 | > | ;; | 
| 2174 | > | conftest.$ac_ext ) | 
| 2175 | > | # This is the source file. | 
| 2176 | > | ;; | 
| 2177 | > | [ab].out ) | 
| 2178 | > | # We found the default executable, but exeext='' is most | 
| 2179 | > | # certainly right. | 
| 2180 | > | break;; | 
| 2181 | > | *.* ) | 
| 2182 | > | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 2183 | > | # FIXME: I believe we export ac_cv_exeext for Libtool, | 
| 2184 | > | # but it would be cool to find out if it's true.  Does anybody | 
| 2185 | > | # maintain Libtool? --akim. | 
| 2186 | > | export ac_cv_exeext | 
| 2187 | > | break;; | 
| 2188 | > | * ) | 
| 2189 | > | break;; | 
| 2190 |  | esac | 
| 2191 |  | done | 
| 2192 |  | else | 
| 2193 |  | echo "$as_me: failed program was:" >&5 | 
| 2194 | < | cat conftest.$ac_ext >&5 | 
| 2195 | < | { { echo "$as_me:1581: error: C compiler cannot create executables" >&5 | 
| 2196 | < | echo "$as_me: error: C compiler cannot create executables" >&2;} | 
| 2194 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2195 | > |  | 
| 2196 | > | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 
| 2197 | > | See \`config.log' for more details." >&5 | 
| 2198 | > | echo "$as_me: error: C compiler cannot create executables | 
| 2199 | > | See \`config.log' for more details." >&2;} | 
| 2200 |  | { (exit 77); exit 77; }; } | 
| 2201 |  | fi | 
| 2202 |  |  | 
| 2203 |  | ac_exeext=$ac_cv_exeext | 
| 2204 | < | echo "$as_me:1587: result: $ac_file" >&5 | 
| 2204 | > | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
| 2205 |  | echo "${ECHO_T}$ac_file" >&6 | 
| 2206 |  |  | 
| 2207 |  | # Check the compiler produces executables we can run.  If not, either | 
| 2208 |  | # the compiler is broken, or we cross compile. | 
| 2209 | < | echo "$as_me:1592: checking whether the C compiler works" >&5 | 
| 2209 | > | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 
| 2210 |  | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 
| 2211 |  | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
| 2212 |  | # If not cross compiling, check that we can run a simple program. | 
| 2213 |  | if test "$cross_compiling" != yes; then | 
| 2214 |  | if { ac_try='./$ac_file' | 
| 2215 | < | { (eval echo "$as_me:1598: \"$ac_try\"") >&5 | 
| 2215 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2216 |  | (eval $ac_try) 2>&5 | 
| 2217 |  | ac_status=$? | 
| 2218 | < | echo "$as_me:1601: \$? = $ac_status" >&5 | 
| 2218 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2219 |  | (exit $ac_status); }; }; then | 
| 2220 |  | cross_compiling=no | 
| 2221 |  | else | 
| 2222 |  | if test "$cross_compiling" = maybe; then | 
| 2223 |  | cross_compiling=yes | 
| 2224 |  | else | 
| 2225 | < | { { echo "$as_me:1608: error: cannot run C compiled programs. | 
| 2226 | < | If you meant to cross compile, use \`--host'." >&5 | 
| 2225 | > | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 
| 2226 | > | If you meant to cross compile, use \`--host'. | 
| 2227 | > | See \`config.log' for more details." >&5 | 
| 2228 |  | echo "$as_me: error: cannot run C compiled programs. | 
| 2229 | < | If you meant to cross compile, use \`--host'." >&2;} | 
| 2229 | > | If you meant to cross compile, use \`--host'. | 
| 2230 | > | See \`config.log' for more details." >&2;} | 
| 2231 |  | { (exit 1); exit 1; }; } | 
| 2232 |  | fi | 
| 2233 |  | fi | 
| 2234 |  | fi | 
| 2235 | < | echo "$as_me:1616: result: yes" >&5 | 
| 2235 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 2236 |  | echo "${ECHO_T}yes" >&6 | 
| 2237 |  |  | 
| 2238 | < | rm -f a.out a.exe conftest$ac_cv_exeext | 
| 2238 | > | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
| 2239 |  | ac_clean_files=$ac_clean_files_save | 
| 2240 |  | # Check the compiler produces executables we can run.  If not, either | 
| 2241 |  | # the compiler is broken, or we cross compile. | 
| 2242 | < | echo "$as_me:1623: checking whether we are cross compiling" >&5 | 
| 2242 | > | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
| 2243 |  | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
| 2244 | < | echo "$as_me:1625: result: $cross_compiling" >&5 | 
| 2244 | > | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
| 2245 |  | echo "${ECHO_T}$cross_compiling" >&6 | 
| 2246 |  |  | 
| 2247 | < | echo "$as_me:1628: checking for executable suffix" >&5 | 
| 2248 | < | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 | 
| 2249 | < | if { (eval echo "$as_me:1630: \"$ac_link\"") >&5 | 
| 2247 | > | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
| 2248 | > | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
| 2249 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 2250 |  | (eval $ac_link) 2>&5 | 
| 2251 |  | ac_status=$? | 
| 2252 | < | echo "$as_me:1633: \$? = $ac_status" >&5 | 
| 2252 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2253 |  | (exit $ac_status); }; then | 
| 2254 |  | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
| 2255 |  | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
| 2256 |  | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
| 2257 |  | # `rm'. | 
| 2258 | < | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | 
| 2258 | > | for ac_file in conftest.exe conftest conftest.*; do | 
| 2259 | > | test -f "$ac_file" || continue | 
| 2260 |  | case $ac_file in | 
| 2261 | < | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
| 2261 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
| 2262 |  | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| 2263 | < | export ac_cv_exeext | 
| 2264 | < | break;; | 
| 2263 | > | export ac_cv_exeext | 
| 2264 | > | break;; | 
| 2265 |  | * ) break;; | 
| 2266 |  | esac | 
| 2267 |  | done | 
| 2268 |  | else | 
| 2269 | < | { { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5 | 
| 2270 | < | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} | 
| 2269 | > | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
| 2270 | > | See \`config.log' for more details." >&5 | 
| 2271 | > | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
| 2272 | > | See \`config.log' for more details." >&2;} | 
| 2273 |  | { (exit 1); exit 1; }; } | 
| 2274 |  | fi | 
| 2275 |  |  | 
| 2276 |  | rm -f conftest$ac_cv_exeext | 
| 2277 | < | echo "$as_me:1655: result: $ac_cv_exeext" >&5 | 
| 2277 | > | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
| 2278 |  | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
| 2279 |  |  | 
| 2280 |  | rm -f conftest.$ac_ext | 
| 2281 |  | EXEEXT=$ac_cv_exeext | 
| 2282 |  | ac_exeext=$EXEEXT | 
| 2283 | < | echo "$as_me:1661: checking for object suffix" >&5 | 
| 2284 | < | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 | 
| 2283 | > | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
| 2284 | > | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
| 2285 |  | if test "${ac_cv_objext+set}" = set; then | 
| 2286 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2287 |  | else | 
| 2288 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2289 | < | #line 1667 "configure" | 
| 2290 | < | #include "confdefs.h" | 
| 2289 | > | /* confdefs.h.  */ | 
| 2290 | > | _ACEOF | 
| 2291 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2292 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2293 | > | /* end confdefs.h.  */ | 
| 2294 |  |  | 
| 2295 |  | int | 
| 2296 |  | main () | 
| 2301 |  | } | 
| 2302 |  | _ACEOF | 
| 2303 |  | rm -f conftest.o conftest.obj | 
| 2304 | < | if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5 | 
| 2304 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2305 |  | (eval $ac_compile) 2>&5 | 
| 2306 |  | ac_status=$? | 
| 2307 | < | echo "$as_me:1682: \$? = $ac_status" >&5 | 
| 2307 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2308 |  | (exit $ac_status); }; then | 
| 2309 |  | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
| 2310 |  | case $ac_file in | 
| 2311 | < | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
| 2311 | > | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
| 2312 |  | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
| 2313 |  | break;; | 
| 2314 |  | esac | 
| 2315 |  | done | 
| 2316 |  | else | 
| 2317 |  | echo "$as_me: failed program was:" >&5 | 
| 2318 | < | cat conftest.$ac_ext >&5 | 
| 2319 | < | { { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5 | 
| 2320 | < | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} | 
| 2318 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2319 | > |  | 
| 2320 | > | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
| 2321 | > | See \`config.log' for more details." >&5 | 
| 2322 | > | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
| 2323 | > | See \`config.log' for more details." >&2;} | 
| 2324 |  | { (exit 1); exit 1; }; } | 
| 2325 |  | fi | 
| 2326 |  |  | 
| 2327 |  | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
| 2328 |  | fi | 
| 2329 | < | echo "$as_me:1701: result: $ac_cv_objext" >&5 | 
| 2329 | > | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
| 2330 |  | echo "${ECHO_T}$ac_cv_objext" >&6 | 
| 2331 |  | OBJEXT=$ac_cv_objext | 
| 2332 |  | ac_objext=$OBJEXT | 
| 2333 | < | echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5 | 
| 2333 | > | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
| 2334 |  | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
| 2335 |  | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
| 2336 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2337 |  | else | 
| 2338 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2339 | < | #line 1711 "configure" | 
| 2340 | < | #include "confdefs.h" | 
| 2339 | > | /* confdefs.h.  */ | 
| 2340 | > | _ACEOF | 
| 2341 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2342 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2343 | > | /* end confdefs.h.  */ | 
| 2344 |  |  | 
| 2345 |  | int | 
| 2346 |  | main () | 
| 2354 |  | } | 
| 2355 |  | _ACEOF | 
| 2356 |  | rm -f conftest.$ac_objext | 
| 2357 | < | if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5 | 
| 2358 | < | (eval $ac_compile) 2>&5 | 
| 2357 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2358 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2359 |  | ac_status=$? | 
| 2360 | < | echo "$as_me:1729: \$? = $ac_status" >&5 | 
| 2360 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2361 | > | rm -f conftest.er1 | 
| 2362 | > | cat conftest.err >&5 | 
| 2363 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2364 |  | (exit $ac_status); } && | 
| 2365 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2366 | < | { (eval echo "$as_me:1732: \"$ac_try\"") >&5 | 
| 2365 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2366 | > | || test ! -s conftest.err' | 
| 2367 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2368 |  | (eval $ac_try) 2>&5 | 
| 2369 |  | ac_status=$? | 
| 2370 | < | echo "$as_me:1735: \$? = $ac_status" >&5 | 
| 2370 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2371 | > | (exit $ac_status); }; } && | 
| 2372 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2373 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2374 | > | (eval $ac_try) 2>&5 | 
| 2375 | > | ac_status=$? | 
| 2376 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2377 |  | (exit $ac_status); }; }; then | 
| 2378 |  | ac_compiler_gnu=yes | 
| 2379 |  | else | 
| 2380 |  | echo "$as_me: failed program was:" >&5 | 
| 2381 | < | cat conftest.$ac_ext >&5 | 
| 2381 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2382 | > |  | 
| 2383 |  | ac_compiler_gnu=no | 
| 2384 |  | fi | 
| 2385 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2385 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2386 |  | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| 2387 |  |  | 
| 2388 |  | fi | 
| 2389 | < | echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5 | 
| 2389 | > | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
| 2390 |  | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
| 2391 |  | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
| 2392 |  | ac_test_CFLAGS=${CFLAGS+set} | 
| 2393 |  | ac_save_CFLAGS=$CFLAGS | 
| 2394 |  | CFLAGS="-g" | 
| 2395 | < | echo "$as_me:1753: checking whether $CC accepts -g" >&5 | 
| 2395 | > | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
| 2396 |  | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
| 2397 |  | if test "${ac_cv_prog_cc_g+set}" = set; then | 
| 2398 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2399 |  | else | 
| 2400 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2401 | < | #line 1759 "configure" | 
| 2402 | < | #include "confdefs.h" | 
| 2401 | > | /* confdefs.h.  */ | 
| 2402 | > | _ACEOF | 
| 2403 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2404 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2405 | > | /* end confdefs.h.  */ | 
| 2406 |  |  | 
| 2407 |  | int | 
| 2408 |  | main () | 
| 2413 |  | } | 
| 2414 |  | _ACEOF | 
| 2415 |  | rm -f conftest.$ac_objext | 
| 2416 | < | if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5 | 
| 2417 | < | (eval $ac_compile) 2>&5 | 
| 2416 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2417 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2418 |  | ac_status=$? | 
| 2419 | < | echo "$as_me:1774: \$? = $ac_status" >&5 | 
| 2419 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2420 | > | rm -f conftest.er1 | 
| 2421 | > | cat conftest.err >&5 | 
| 2422 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2423 |  | (exit $ac_status); } && | 
| 2424 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2425 | < | { (eval echo "$as_me:1777: \"$ac_try\"") >&5 | 
| 2424 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2425 | > | || test ! -s conftest.err' | 
| 2426 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2427 |  | (eval $ac_try) 2>&5 | 
| 2428 |  | ac_status=$? | 
| 2429 | < | echo "$as_me:1780: \$? = $ac_status" >&5 | 
| 2429 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2430 | > | (exit $ac_status); }; } && | 
| 2431 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2432 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2433 | > | (eval $ac_try) 2>&5 | 
| 2434 | > | ac_status=$? | 
| 2435 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2436 |  | (exit $ac_status); }; }; then | 
| 2437 |  | ac_cv_prog_cc_g=yes | 
| 2438 |  | else | 
| 2439 |  | echo "$as_me: failed program was:" >&5 | 
| 2440 | < | cat conftest.$ac_ext >&5 | 
| 2440 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2441 | > |  | 
| 2442 |  | ac_cv_prog_cc_g=no | 
| 2443 |  | fi | 
| 2444 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2444 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2445 |  | fi | 
| 2446 | < | echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5 | 
| 2446 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
| 2447 |  | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
| 2448 |  | if test "$ac_test_CFLAGS" = set; then | 
| 2449 |  | CFLAGS=$ac_save_CFLAGS | 
| 2460 |  | CFLAGS= | 
| 2461 |  | fi | 
| 2462 |  | fi | 
| 2463 | + | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
| 2464 | + | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
| 2465 | + | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
| 2466 | + | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2467 | + | else | 
| 2468 | + | ac_cv_prog_cc_stdc=no | 
| 2469 | + | ac_save_CC=$CC | 
| 2470 | + | cat >conftest.$ac_ext <<_ACEOF | 
| 2471 | + | /* confdefs.h.  */ | 
| 2472 | + | _ACEOF | 
| 2473 | + | cat confdefs.h >>conftest.$ac_ext | 
| 2474 | + | cat >>conftest.$ac_ext <<_ACEOF | 
| 2475 | + | /* end confdefs.h.  */ | 
| 2476 | + | #include <stdarg.h> | 
| 2477 | + | #include <stdio.h> | 
| 2478 | + | #include <sys/types.h> | 
| 2479 | + | #include <sys/stat.h> | 
| 2480 | + | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| 2481 | + | struct buf { int x; }; | 
| 2482 | + | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| 2483 | + | static char *e (p, i) | 
| 2484 | + | char **p; | 
| 2485 | + | int i; | 
| 2486 | + | { | 
| 2487 | + | return p[i]; | 
| 2488 | + | } | 
| 2489 | + | static char *f (char * (*g) (char **, int), char **p, ...) | 
| 2490 | + | { | 
| 2491 | + | char *s; | 
| 2492 | + | va_list v; | 
| 2493 | + | va_start (v,p); | 
| 2494 | + | s = g (p, va_arg (v,int)); | 
| 2495 | + | va_end (v); | 
| 2496 | + | return s; | 
| 2497 | + | } | 
| 2498 | + |  | 
| 2499 | + | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| 2500 | + | function prototypes and stuff, but not '\xHH' hex character constants. | 
| 2501 | + | These don't provoke an error unfortunately, instead are silently treated | 
| 2502 | + | as 'x'.  The following induces an error, until -std1 is added to get | 
| 2503 | + | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| 2504 | + | array size at least.  It's necessary to write '\x00'==0 to get something | 
| 2505 | + | that's true only with -std1.  */ | 
| 2506 | + | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| 2507 | + |  | 
| 2508 | + | int test (int i, double x); | 
| 2509 | + | struct s1 {int (*f) (int a);}; | 
| 2510 | + | struct s2 {int (*f) (double a);}; | 
| 2511 | + | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| 2512 | + | int argc; | 
| 2513 | + | char **argv; | 
| 2514 | + | int | 
| 2515 | + | main () | 
| 2516 | + | { | 
| 2517 | + | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| 2518 | + | ; | 
| 2519 | + | return 0; | 
| 2520 | + | } | 
| 2521 | + | _ACEOF | 
| 2522 | + | # Don't try gcc -ansi; that turns off useful extensions and | 
| 2523 | + | # breaks some systems' header files. | 
| 2524 | + | # AIX                   -qlanglvl=ansi | 
| 2525 | + | # Ultrix and OSF/1      -std1 | 
| 2526 | + | # HP-UX 10.20 and later -Ae | 
| 2527 | + | # HP-UX older versions  -Aa -D_HPUX_SOURCE | 
| 2528 | + | # SVR4                  -Xc -D__EXTENSIONS__ | 
| 2529 | + | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| 2530 | + | do | 
| 2531 | + | CC="$ac_save_CC $ac_arg" | 
| 2532 | + | rm -f conftest.$ac_objext | 
| 2533 | + | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2534 | + | (eval $ac_compile) 2>conftest.er1 | 
| 2535 | + | ac_status=$? | 
| 2536 | + | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2537 | + | rm -f conftest.er1 | 
| 2538 | + | cat conftest.err >&5 | 
| 2539 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2540 | + | (exit $ac_status); } && | 
| 2541 | + | { ac_try='test -z "$ac_c_werror_flag" | 
| 2542 | + | || test ! -s conftest.err' | 
| 2543 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2544 | + | (eval $ac_try) 2>&5 | 
| 2545 | + | ac_status=$? | 
| 2546 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2547 | + | (exit $ac_status); }; } && | 
| 2548 | + | { ac_try='test -s conftest.$ac_objext' | 
| 2549 | + | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2550 | + | (eval $ac_try) 2>&5 | 
| 2551 | + | ac_status=$? | 
| 2552 | + | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2553 | + | (exit $ac_status); }; }; then | 
| 2554 | + | ac_cv_prog_cc_stdc=$ac_arg | 
| 2555 | + | break | 
| 2556 | + | else | 
| 2557 | + | echo "$as_me: failed program was:" >&5 | 
| 2558 | + | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2559 | + |  | 
| 2560 | + | fi | 
| 2561 | + | rm -f conftest.err conftest.$ac_objext | 
| 2562 | + | done | 
| 2563 | + | rm -f conftest.$ac_ext conftest.$ac_objext | 
| 2564 | + | CC=$ac_save_CC | 
| 2565 | + |  | 
| 2566 | + | fi | 
| 2567 | + |  | 
| 2568 | + | case "x$ac_cv_prog_cc_stdc" in | 
| 2569 | + | x|xno) | 
| 2570 | + | echo "$as_me:$LINENO: result: none needed" >&5 | 
| 2571 | + | echo "${ECHO_T}none needed" >&6 ;; | 
| 2572 | + | *) | 
| 2573 | + | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
| 2574 | + | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
| 2575 | + | CC="$CC $ac_cv_prog_cc_stdc" ;; | 
| 2576 | + | esac | 
| 2577 | + |  | 
| 2578 |  | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
| 2579 |  | # in C++ we need to declare it.  In case someone uses the same compiler | 
| 2580 |  | # for both compiling C and C++ we need to have the C++ compiler decide | 
| 2585 |  | #endif | 
| 2586 |  | _ACEOF | 
| 2587 |  | rm -f conftest.$ac_objext | 
| 2588 | < | if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5 | 
| 2589 | < | (eval $ac_compile) 2>&5 | 
| 2588 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2589 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2590 |  | ac_status=$? | 
| 2591 | < | echo "$as_me:1820: \$? = $ac_status" >&5 | 
| 2591 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2592 | > | rm -f conftest.er1 | 
| 2593 | > | cat conftest.err >&5 | 
| 2594 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2595 |  | (exit $ac_status); } && | 
| 2596 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2597 | < | { (eval echo "$as_me:1823: \"$ac_try\"") >&5 | 
| 2596 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2597 | > | || test ! -s conftest.err' | 
| 2598 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2599 |  | (eval $ac_try) 2>&5 | 
| 2600 |  | ac_status=$? | 
| 2601 | < | echo "$as_me:1826: \$? = $ac_status" >&5 | 
| 2601 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2602 | > | (exit $ac_status); }; } && | 
| 2603 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2604 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2605 | > | (eval $ac_try) 2>&5 | 
| 2606 | > | ac_status=$? | 
| 2607 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2608 |  | (exit $ac_status); }; }; then | 
| 2609 |  | for ac_declaration in \ | 
| 2610 | < | ''\ | 
| 1830 | < | '#include <stdlib.h>' \ | 
| 2610 | > | '' \ | 
| 2611 |  | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
| 2612 |  | 'extern "C" void std::exit (int); using std::exit;' \ | 
| 2613 |  | 'extern "C" void exit (int) throw ();' \ | 
| 2615 |  | 'void exit (int);' | 
| 2616 |  | do | 
| 2617 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2618 | < | #line 1838 "configure" | 
| 2619 | < | #include "confdefs.h" | 
| 2620 | < | #include <stdlib.h> | 
| 2618 | > | /* confdefs.h.  */ | 
| 2619 | > | _ACEOF | 
| 2620 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2621 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2622 | > | /* end confdefs.h.  */ | 
| 2623 |  | $ac_declaration | 
| 2624 | + | #include <stdlib.h> | 
| 2625 |  | int | 
| 2626 |  | main () | 
| 2627 |  | { | 
| 2631 |  | } | 
| 2632 |  | _ACEOF | 
| 2633 |  | rm -f conftest.$ac_objext | 
| 2634 | < | if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5 | 
| 2635 | < | (eval $ac_compile) 2>&5 | 
| 2634 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2635 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2636 |  | ac_status=$? | 
| 2637 | < | echo "$as_me:1854: \$? = $ac_status" >&5 | 
| 2637 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2638 | > | rm -f conftest.er1 | 
| 2639 | > | cat conftest.err >&5 | 
| 2640 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2641 |  | (exit $ac_status); } && | 
| 2642 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2643 | < | { (eval echo "$as_me:1857: \"$ac_try\"") >&5 | 
| 2642 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2643 | > | || test ! -s conftest.err' | 
| 2644 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2645 |  | (eval $ac_try) 2>&5 | 
| 2646 |  | ac_status=$? | 
| 2647 | < | echo "$as_me:1860: \$? = $ac_status" >&5 | 
| 2647 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2648 | > | (exit $ac_status); }; } && | 
| 2649 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2650 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2651 | > | (eval $ac_try) 2>&5 | 
| 2652 | > | ac_status=$? | 
| 2653 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2654 |  | (exit $ac_status); }; }; then | 
| 2655 |  | : | 
| 2656 |  | else | 
| 2657 |  | echo "$as_me: failed program was:" >&5 | 
| 2658 | < | cat conftest.$ac_ext >&5 | 
| 2658 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2659 | > |  | 
| 2660 |  | continue | 
| 2661 |  | fi | 
| 2662 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2662 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2663 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2664 | < | #line 1870 "configure" | 
| 2665 | < | #include "confdefs.h" | 
| 2664 | > | /* confdefs.h.  */ | 
| 2665 | > | _ACEOF | 
| 2666 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2667 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2668 | > | /* end confdefs.h.  */ | 
| 2669 |  | $ac_declaration | 
| 2670 |  | int | 
| 2671 |  | main () | 
| 2676 |  | } | 
| 2677 |  | _ACEOF | 
| 2678 |  | rm -f conftest.$ac_objext | 
| 2679 | < | if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5 | 
| 2680 | < | (eval $ac_compile) 2>&5 | 
| 2679 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2680 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2681 |  | ac_status=$? | 
| 2682 | < | echo "$as_me:1885: \$? = $ac_status" >&5 | 
| 2682 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2683 | > | rm -f conftest.er1 | 
| 2684 | > | cat conftest.err >&5 | 
| 2685 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2686 |  | (exit $ac_status); } && | 
| 2687 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2688 | < | { (eval echo "$as_me:1888: \"$ac_try\"") >&5 | 
| 2687 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 2688 | > | || test ! -s conftest.err' | 
| 2689 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2690 |  | (eval $ac_try) 2>&5 | 
| 2691 |  | ac_status=$? | 
| 2692 | < | echo "$as_me:1891: \$? = $ac_status" >&5 | 
| 2692 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2693 | > | (exit $ac_status); }; } && | 
| 2694 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2695 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2696 | > | (eval $ac_try) 2>&5 | 
| 2697 | > | ac_status=$? | 
| 2698 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2699 |  | (exit $ac_status); }; }; then | 
| 2700 |  | break | 
| 2701 |  | else | 
| 2702 |  | echo "$as_me: failed program was:" >&5 | 
| 2703 | < | cat conftest.$ac_ext >&5 | 
| 2703 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2704 | > |  | 
| 2705 |  | fi | 
| 2706 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2706 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2707 |  | done | 
| 2708 | < | echo '#ifdef __cplusplus' >>confdefs.h | 
| 2709 | < | echo $ac_declaration      >>confdefs.h | 
| 2710 | < | echo '#endif'             >>confdefs.h | 
| 2708 | > | rm -f conftest* | 
| 2709 | > | if test -n "$ac_declaration"; then | 
| 2710 | > | echo '#ifdef __cplusplus' >>confdefs.h | 
| 2711 | > | echo $ac_declaration      >>confdefs.h | 
| 2712 | > | echo '#endif'             >>confdefs.h | 
| 2713 | > | fi | 
| 2714 |  |  | 
| 2715 |  | else | 
| 2716 |  | echo "$as_me: failed program was:" >&5 | 
| 2717 | < | cat conftest.$ac_ext >&5 | 
| 2717 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2718 | > |  | 
| 2719 |  | fi | 
| 2720 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2720 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2721 |  | ac_ext=c | 
| 2722 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 2723 |  | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 2724 |  | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 2725 |  | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 2726 |  |  | 
| 2727 | + |  | 
| 2728 |  | ac_ext=cc | 
| 2729 |  | ac_cpp='$CXXCPP $CPPFLAGS' | 
| 2730 |  | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 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 | 
| 2738 | < | echo "$as_me:1925: checking for $ac_word" >&5 | 
| 2738 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2739 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2740 |  | if test "${ac_cv_prog_CXX+set}" = set; then | 
| 2741 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2743 |  | if test -n "$CXX"; then | 
| 2744 |  | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
| 2745 |  | else | 
| 2746 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 2747 | < | ac_dummy="$PATH" | 
| 2748 | < | for ac_dir in $ac_dummy; do | 
| 2749 | < | IFS=$ac_save_IFS | 
| 2750 | < | test -z "$ac_dir" && ac_dir=. | 
| 2751 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 2752 | < | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| 2753 | < | echo "$as_me:1940: found $ac_dir/$ac_word" >&5 | 
| 2754 | < | break | 
| 2746 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2747 | > | for as_dir in $PATH | 
| 2748 | > | do | 
| 2749 | > | IFS=$as_save_IFS | 
| 2750 | > | test -z "$as_dir" && as_dir=. | 
| 2751 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2752 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2753 | > | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| 2754 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2755 | > | break 2 | 
| 2756 | > | fi | 
| 2757 |  | done | 
| 2758 | + | done | 
| 2759 |  |  | 
| 2760 |  | fi | 
| 2761 |  | fi | 
| 2762 |  | CXX=$ac_cv_prog_CXX | 
| 2763 |  | if test -n "$CXX"; then | 
| 2764 | < | echo "$as_me:1948: result: $CXX" >&5 | 
| 2764 | > | echo "$as_me:$LINENO: result: $CXX" >&5 | 
| 2765 |  | echo "${ECHO_T}$CXX" >&6 | 
| 2766 |  | else | 
| 2767 | < | echo "$as_me:1951: result: no" >&5 | 
| 2767 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 2768 |  | echo "${ECHO_T}no" >&6 | 
| 2769 |  | fi | 
| 2770 |  |  | 
| 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 | 
| 2780 | < | echo "$as_me:1964: checking for $ac_word" >&5 | 
| 2780 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 2781 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 2782 |  | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
| 2783 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2785 |  | if test -n "$ac_ct_CXX"; then | 
| 2786 |  | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
| 2787 |  | else | 
| 2788 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 2789 | < | ac_dummy="$PATH" | 
| 2790 | < | for ac_dir in $ac_dummy; do | 
| 2791 | < | IFS=$ac_save_IFS | 
| 2792 | < | test -z "$ac_dir" && ac_dir=. | 
| 2793 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 2794 | < | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| 2795 | < | echo "$as_me:1979: found $ac_dir/$ac_word" >&5 | 
| 2796 | < | break | 
| 2788 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 2789 | > | for as_dir in $PATH | 
| 2790 | > | do | 
| 2791 | > | IFS=$as_save_IFS | 
| 2792 | > | test -z "$as_dir" && as_dir=. | 
| 2793 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 2794 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 2795 | > | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| 2796 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 2797 | > | break 2 | 
| 2798 | > | fi | 
| 2799 |  | done | 
| 2800 | + | done | 
| 2801 |  |  | 
| 2802 |  | fi | 
| 2803 |  | fi | 
| 2804 |  | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
| 2805 |  | if test -n "$ac_ct_CXX"; then | 
| 2806 | < | echo "$as_me:1987: result: $ac_ct_CXX" >&5 | 
| 2806 | > | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
| 2807 |  | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
| 2808 |  | else | 
| 2809 | < | echo "$as_me:1990: result: no" >&5 | 
| 2809 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 2810 |  | echo "${ECHO_T}no" >&6 | 
| 2811 |  | fi | 
| 2812 |  |  | 
| 2817 |  | CXX=$ac_ct_CXX | 
| 2818 |  | fi | 
| 2819 |  |  | 
| 2820 | < | echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5 | 
| 2820 | > |  | 
| 2821 | > | # Provide some information about the compiler. | 
| 2822 | > | echo "$as_me:$LINENO:" \ | 
| 2823 | > | "checking for C++ compiler version" >&5 | 
| 2824 | > | ac_compiler=`set X $ac_compile; echo $2` | 
| 2825 | > | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
| 2826 | > | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
| 2827 | > | ac_status=$? | 
| 2828 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2829 | > | (exit $ac_status); } | 
| 2830 | > | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
| 2831 | > | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
| 2832 | > | ac_status=$? | 
| 2833 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2834 | > | (exit $ac_status); } | 
| 2835 | > | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
| 2836 | > | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
| 2837 | > | ac_status=$? | 
| 2838 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2839 | > | (exit $ac_status); } | 
| 2840 | > |  | 
| 2841 | > | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
| 2842 |  | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
| 2843 |  | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
| 2844 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2845 |  | else | 
| 2846 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2847 | < | #line 2007 "configure" | 
| 2848 | < | #include "confdefs.h" | 
| 2847 | > | /* confdefs.h.  */ | 
| 2848 | > | _ACEOF | 
| 2849 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2850 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2851 | > | /* end confdefs.h.  */ | 
| 2852 |  |  | 
| 2853 |  | int | 
| 2854 |  | main () | 
| 2862 |  | } | 
| 2863 |  | _ACEOF | 
| 2864 |  | rm -f conftest.$ac_objext | 
| 2865 | < | if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5 | 
| 2866 | < | (eval $ac_compile) 2>&5 | 
| 2865 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2866 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2867 |  | ac_status=$? | 
| 2868 | < | echo "$as_me:2025: \$? = $ac_status" >&5 | 
| 2868 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2869 | > | rm -f conftest.er1 | 
| 2870 | > | cat conftest.err >&5 | 
| 2871 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2872 |  | (exit $ac_status); } && | 
| 2873 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2874 | < | { (eval echo "$as_me:2028: \"$ac_try\"") >&5 | 
| 2873 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2874 | > | || test ! -s conftest.err' | 
| 2875 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2876 |  | (eval $ac_try) 2>&5 | 
| 2877 |  | ac_status=$? | 
| 2878 | < | echo "$as_me:2031: \$? = $ac_status" >&5 | 
| 2878 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2879 | > | (exit $ac_status); }; } && | 
| 2880 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2881 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2882 | > | (eval $ac_try) 2>&5 | 
| 2883 | > | ac_status=$? | 
| 2884 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2885 |  | (exit $ac_status); }; }; then | 
| 2886 |  | ac_compiler_gnu=yes | 
| 2887 |  | else | 
| 2888 |  | echo "$as_me: failed program was:" >&5 | 
| 2889 | < | cat conftest.$ac_ext >&5 | 
| 2889 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2890 | > |  | 
| 2891 |  | ac_compiler_gnu=no | 
| 2892 |  | fi | 
| 2893 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2893 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2894 |  | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
| 2895 |  |  | 
| 2896 |  | fi | 
| 2897 | < | echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| 2897 | > | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| 2898 |  | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
| 2899 |  | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
| 2900 |  | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
| 2901 |  | ac_save_CXXFLAGS=$CXXFLAGS | 
| 2902 |  | CXXFLAGS="-g" | 
| 2903 | < | echo "$as_me:2049: checking whether $CXX accepts -g" >&5 | 
| 2903 | > | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
| 2904 |  | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
| 2905 |  | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
| 2906 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 2907 |  | else | 
| 2908 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2909 | < | #line 2055 "configure" | 
| 2910 | < | #include "confdefs.h" | 
| 2909 | > | /* confdefs.h.  */ | 
| 2910 | > | _ACEOF | 
| 2911 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2912 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2913 | > | /* end confdefs.h.  */ | 
| 2914 |  |  | 
| 2915 |  | int | 
| 2916 |  | main () | 
| 2921 |  | } | 
| 2922 |  | _ACEOF | 
| 2923 |  | rm -f conftest.$ac_objext | 
| 2924 | < | if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5 | 
| 2925 | < | (eval $ac_compile) 2>&5 | 
| 2924 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2925 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2926 |  | ac_status=$? | 
| 2927 | < | echo "$as_me:2070: \$? = $ac_status" >&5 | 
| 2927 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 2928 | > | rm -f conftest.er1 | 
| 2929 | > | cat conftest.err >&5 | 
| 2930 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2931 |  | (exit $ac_status); } && | 
| 2932 | < | { ac_try='test -s conftest.$ac_objext' | 
| 2933 | < | { (eval echo "$as_me:2073: \"$ac_try\"") >&5 | 
| 2932 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 2933 | > | || test ! -s conftest.err' | 
| 2934 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2935 |  | (eval $ac_try) 2>&5 | 
| 2936 |  | ac_status=$? | 
| 2937 | < | echo "$as_me:2076: \$? = $ac_status" >&5 | 
| 2937 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2938 | > | (exit $ac_status); }; } && | 
| 2939 | > | { ac_try='test -s conftest.$ac_objext' | 
| 2940 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 2941 | > | (eval $ac_try) 2>&5 | 
| 2942 | > | ac_status=$? | 
| 2943 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 2944 |  | (exit $ac_status); }; }; then | 
| 2945 |  | ac_cv_prog_cxx_g=yes | 
| 2946 |  | else | 
| 2947 |  | echo "$as_me: failed program was:" >&5 | 
| 2948 | < | cat conftest.$ac_ext >&5 | 
| 2948 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 2949 | > |  | 
| 2950 |  | ac_cv_prog_cxx_g=no | 
| 2951 |  | fi | 
| 2952 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 2952 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 2953 |  | fi | 
| 2954 | < | echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5 | 
| 2954 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
| 2955 |  | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
| 2956 |  | if test "$ac_test_CXXFLAGS" = set; then | 
| 2957 |  | CXXFLAGS=$ac_save_CXXFLAGS | 
| 2969 |  | fi | 
| 2970 |  | fi | 
| 2971 |  | for ac_declaration in \ | 
| 2972 | < | ''\ | 
| 2105 | < | '#include <stdlib.h>' \ | 
| 2972 | > | '' \ | 
| 2973 |  | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
| 2974 |  | 'extern "C" void std::exit (int); using std::exit;' \ | 
| 2975 |  | 'extern "C" void exit (int) throw ();' \ | 
| 2977 |  | 'void exit (int);' | 
| 2978 |  | do | 
| 2979 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 2980 | < | #line 2113 "configure" | 
| 2981 | < | #include "confdefs.h" | 
| 2982 | < | #include <stdlib.h> | 
| 2980 | > | /* confdefs.h.  */ | 
| 2981 | > | _ACEOF | 
| 2982 | > | cat confdefs.h >>conftest.$ac_ext | 
| 2983 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 2984 | > | /* end confdefs.h.  */ | 
| 2985 |  | $ac_declaration | 
| 2986 | + | #include <stdlib.h> | 
| 2987 |  | int | 
| 2988 |  | main () | 
| 2989 |  | { | 
| 2993 |  | } | 
| 2994 |  | _ACEOF | 
| 2995 |  | rm -f conftest.$ac_objext | 
| 2996 | < | if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5 | 
| 2997 | < | (eval $ac_compile) 2>&5 | 
| 2996 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 2997 | > | (eval $ac_compile) 2>conftest.er1 | 
| 2998 |  | ac_status=$? | 
| 2999 | < | echo "$as_me:2129: \$? = $ac_status" >&5 | 
| 2999 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3000 | > | rm -f conftest.er1 | 
| 3001 | > | cat conftest.err >&5 | 
| 3002 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3003 |  | (exit $ac_status); } && | 
| 3004 | < | { ac_try='test -s conftest.$ac_objext' | 
| 3005 | < | { (eval echo "$as_me:2132: \"$ac_try\"") >&5 | 
| 3004 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 3005 | > | || test ! -s conftest.err' | 
| 3006 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3007 |  | (eval $ac_try) 2>&5 | 
| 3008 |  | ac_status=$? | 
| 3009 | < | echo "$as_me:2135: \$? = $ac_status" >&5 | 
| 3009 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3010 | > | (exit $ac_status); }; } && | 
| 3011 | > | { ac_try='test -s conftest.$ac_objext' | 
| 3012 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3013 | > | (eval $ac_try) 2>&5 | 
| 3014 | > | ac_status=$? | 
| 3015 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3016 |  | (exit $ac_status); }; }; then | 
| 3017 |  | : | 
| 3018 |  | else | 
| 3019 |  | echo "$as_me: failed program was:" >&5 | 
| 3020 | < | cat conftest.$ac_ext >&5 | 
| 3020 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3021 | > |  | 
| 3022 |  | continue | 
| 3023 |  | fi | 
| 3024 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 3024 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3025 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 3026 | < | #line 2145 "configure" | 
| 3027 | < | #include "confdefs.h" | 
| 3026 | > | /* confdefs.h.  */ | 
| 3027 | > | _ACEOF | 
| 3028 | > | cat confdefs.h >>conftest.$ac_ext | 
| 3029 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 3030 | > | /* end confdefs.h.  */ | 
| 3031 |  | $ac_declaration | 
| 3032 |  | int | 
| 3033 |  | main () | 
| 3038 |  | } | 
| 3039 |  | _ACEOF | 
| 3040 |  | rm -f conftest.$ac_objext | 
| 3041 | < | if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5 | 
| 3042 | < | (eval $ac_compile) 2>&5 | 
| 3041 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3042 | > | (eval $ac_compile) 2>conftest.er1 | 
| 3043 |  | ac_status=$? | 
| 3044 | < | echo "$as_me:2160: \$? = $ac_status" >&5 | 
| 3044 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3045 | > | rm -f conftest.er1 | 
| 3046 | > | cat conftest.err >&5 | 
| 3047 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3048 |  | (exit $ac_status); } && | 
| 3049 | < | { ac_try='test -s conftest.$ac_objext' | 
| 3050 | < | { (eval echo "$as_me:2163: \"$ac_try\"") >&5 | 
| 3049 | > | { ac_try='test -z "$ac_cxx_werror_flag" | 
| 3050 | > | || test ! -s conftest.err' | 
| 3051 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3052 |  | (eval $ac_try) 2>&5 | 
| 3053 |  | ac_status=$? | 
| 3054 | < | echo "$as_me:2166: \$? = $ac_status" >&5 | 
| 3054 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3055 | > | (exit $ac_status); }; } && | 
| 3056 | > | { ac_try='test -s conftest.$ac_objext' | 
| 3057 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3058 | > | (eval $ac_try) 2>&5 | 
| 3059 | > | ac_status=$? | 
| 3060 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3061 |  | (exit $ac_status); }; }; then | 
| 3062 |  | break | 
| 3063 |  | else | 
| 3064 |  | echo "$as_me: failed program was:" >&5 | 
| 3065 | < | cat conftest.$ac_ext >&5 | 
| 3065 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3066 | > |  | 
| 3067 |  | fi | 
| 3068 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 3068 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3069 |  | done | 
| 3070 | < | echo '#ifdef __cplusplus' >>confdefs.h | 
| 3071 | < | echo $ac_declaration      >>confdefs.h | 
| 3072 | < | echo '#endif'             >>confdefs.h | 
| 3070 | > | rm -f conftest* | 
| 3071 | > | if test -n "$ac_declaration"; then | 
| 3072 | > | echo '#ifdef __cplusplus' >>confdefs.h | 
| 3073 | > | echo $ac_declaration      >>confdefs.h | 
| 3074 | > | echo '#endif'             >>confdefs.h | 
| 3075 | > | fi | 
| 3076 |  |  | 
| 3077 |  | ac_ext=c | 
| 3078 |  | ac_cpp='$CPP $CPPFLAGS' | 
| 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:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 | 
| 3337 | > | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5 | 
| 3338 |  | echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6 | 
| 3339 |  | echo 'void f(){}' > conftest.cc | 
| 3340 |  | if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then | 
| 3341 | < | echo "$as_me:2191: result: yes" >&5 | 
| 3341 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3342 |  | echo "${ECHO_T}yes" >&6 | 
| 3343 |  | OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink" | 
| 3344 |  | else | 
| 3345 | < | echo "$as_me:2195: result: no" >&5 | 
| 3345 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3346 |  | echo "${ECHO_T}no" >&6 | 
| 3347 |  | fi | 
| 3348 |  | rm -f conftest* | 
| 3349 | < | echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5 | 
| 3349 | > | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5 | 
| 3350 |  | echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6 | 
| 3351 |  | echo 'void f(){}' > conftest.cc | 
| 3352 |  | if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then | 
| 3353 | < | echo "$as_me:2203: result: yes" >&5 | 
| 3353 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3354 |  | echo "${ECHO_T}yes" >&6 | 
| 3355 |  | OOPSE_TEMPLATE_FLAGS="-instances=static" | 
| 3356 |  | else | 
| 3357 | < | echo "$as_me:2207: result: no" >&5 | 
| 3357 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3358 |  | echo "${ECHO_T}no" >&6 | 
| 3359 |  | fi | 
| 3360 |  | rm -f conftest* | 
| 3361 | < | echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5 | 
| 3361 | > | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5 | 
| 3362 |  | echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6 | 
| 3363 |  | echo 'void f(){}' > conftest.cc | 
| 3364 |  | if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then | 
| 3365 | < | echo "$as_me:2215: result: yes" >&5 | 
| 3365 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3366 |  | echo "${ECHO_T}yes" >&6 | 
| 3367 |  | OOPSE_TEMPLATE_FLAGS="-pto" | 
| 3368 |  | else | 
| 3369 | < | echo "$as_me:2219: result: no" >&5 | 
| 3369 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3370 |  | echo "${ECHO_T}no" >&6 | 
| 3371 |  | fi | 
| 3372 |  | rm -f conftest* | 
| 3373 | < | echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5 | 
| 3373 | > | echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5 | 
| 3374 |  | echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6 | 
| 3375 |  | echo 'void f(){}' > conftest.cc | 
| 3376 |  | if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then | 
| 3377 | < | echo "$as_me:2227: result: yes" >&5 | 
| 3377 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3378 |  | echo "${ECHO_T}yes" >&6 | 
| 3379 |  |  | 
| 3380 | + |  | 
| 3381 |  | EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std" | 
| 3382 |  | else | 
| 3383 | < | echo "$as_me:2232: result: no" >&5 | 
| 3383 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3384 |  | echo "${ECHO_T}no" >&6 | 
| 3385 |  | fi | 
| 3386 |  | fi | 
| 3387 |  |  | 
| 3388 | + |  | 
| 3389 | + |  | 
| 3390 | + |  | 
| 3391 |  | ac_ext=f90 | 
| 3392 |  | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 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 | 
| 3400 | < | echo "$as_me:2246: checking for $ac_word" >&5 | 
| 3400 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3401 |  | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3402 |  | if test "${ac_cv_prog_F90+set}" = set; then | 
| 3403 |  | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3405 |  | if test -n "$F90"; then | 
| 3406 |  | ac_cv_prog_F90="$F90" # Let the user override the test. | 
| 3407 |  | else | 
| 3408 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 3409 | < | ac_dummy="$PATH" | 
| 3410 | < | for ac_dir in $ac_dummy; do | 
| 3411 | < | IFS=$ac_save_IFS | 
| 3412 | < | test -z "$ac_dir" && ac_dir=. | 
| 3413 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 3414 | < | ac_cv_prog_F90="$ac_tool_prefix$ac_prog" | 
| 3415 | < | echo "$as_me:2261: found $ac_dir/$ac_word" >&5 | 
| 3416 | < | break | 
| 3417 | < | done | 
| 3418 | < |  | 
| 3419 | < | fi | 
| 3420 | < | fi | 
| 3421 | < | F90=$ac_cv_prog_F90 | 
| 3422 | < | if test -n "$F90"; then | 
| 3423 | < | echo "$as_me:2269: result: $F90" >&5 | 
| 3424 | < | echo "${ECHO_T}$F90" >&6 | 
| 3425 | < | else | 
| 3426 | < | echo "$as_me:2272: result: no" >&5 | 
| 3427 | < | echo "${ECHO_T}no" >&6 | 
| 3428 | < | fi | 
| 3429 | < |  | 
| 3430 | < | test -n "$F90" && break | 
| 3431 | < | done | 
| 3432 | < | fi | 
| 3433 | < | if test -z "$F90"; then | 
| 3434 | < | ac_ct_F90=$F90 | 
| 3435 | < | for ac_prog in ifort ifc f90 xlf90 pgf90 epcf90 f95 xlf95 lf95 fort g95 | 
| 3436 | < | do | 
| 3437 | < | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| 3438 | < | set dummy $ac_prog; ac_word=$2 | 
| 3439 | < | echo "$as_me:2285: checking for $ac_word" >&5 | 
| 3440 | < | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3441 | < | if test "${ac_cv_prog_ac_ct_F90+set}" = set; then | 
| 3442 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3443 | < | else | 
| 3444 | < | if test -n "$ac_ct_F90"; then | 
| 3445 | < | ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. | 
| 3446 | < | else | 
| 3447 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 3448 | < | ac_dummy="$PATH" | 
| 3449 | < | for ac_dir in $ac_dummy; do | 
| 3450 | < | IFS=$ac_save_IFS | 
| 3451 | < | test -z "$ac_dir" && ac_dir=. | 
| 3452 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 3453 | < | ac_cv_prog_ac_ct_F90="$ac_prog" | 
| 3454 | < | echo "$as_me:2300: found $ac_dir/$ac_word" >&5 | 
| 3455 | < | break | 
| 3456 | < | done | 
| 3457 | < |  | 
| 3458 | < | fi | 
| 3459 | < | fi | 
| 3460 | < | ac_ct_F90=$ac_cv_prog_ac_ct_F90 | 
| 3461 | < | if test -n "$ac_ct_F90"; then | 
| 3462 | < | echo "$as_me:2308: result: $ac_ct_F90" >&5 | 
| 3463 | < | echo "${ECHO_T}$ac_ct_F90" >&6 | 
| 3464 | < | else | 
| 3465 | < | echo "$as_me:2311: result: no" >&5 | 
| 3466 | < | echo "${ECHO_T}no" >&6 | 
| 3467 | < | fi | 
| 3468 | < |  | 
| 3469 | < | test -n "$ac_ct_F90" && break | 
| 3470 | < | done | 
| 3471 | < |  | 
| 3472 | < | F90=$ac_ct_F90 | 
| 3473 | < | fi | 
| 3474 | < |  | 
| 3475 | < | # If we don't use `.F90' as extension, the preprocessor is not run on the | 
| 3476 | < | # input file. | 
| 3477 | < | ac_save_ext=$ac_ext | 
| 3478 | < | ac_ext=F90 | 
| 3479 | < | echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5 | 
| 3480 | < | echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 | 
| 3481 | < | if test "${ac_cv_f90_compiler_gnu+set}" = set; then | 
| 3482 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3483 | < | else | 
| 3484 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3485 | < |  | 
| 3486 | < | program main | 
| 3487 | < |  | 
| 3488 | < | #ifndef __GNUC__ | 
| 3489 | < | choke me | 
| 3490 | < | #endif | 
| 3491 | < |  | 
| 3492 | < | end program main | 
| 3493 | < |  | 
| 3494 | < | _ACEOF | 
| 3495 | < | rm -f conftest.$ac_objext | 
| 3496 | < | if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5 | 
| 3497 | < | (eval $ac_compile) 2>&5 | 
| 3498 | < | ac_status=$? | 
| 3499 | < | echo "$as_me:2345: \$? = $ac_status" >&5 | 
| 3500 | < | (exit $ac_status); } && | 
| 3501 | < | { ac_try='test -s conftest.$ac_objext' | 
| 3502 | < | { (eval echo "$as_me:2348: \"$ac_try\"") >&5 | 
| 3503 | < | (eval $ac_try) 2>&5 | 
| 3504 | < | ac_status=$? | 
| 3505 | < | echo "$as_me:2351: \$? = $ac_status" >&5 | 
| 3506 | < | (exit $ac_status); }; }; then | 
| 3507 | < | ac_compiler_gnu=yes | 
| 3508 | < | else | 
| 3509 | < | echo "$as_me: failed program was:" >&5 | 
| 3510 | < | cat conftest.$ac_ext >&5 | 
| 3511 | < | ac_compiler_gnu=no | 
| 3512 | < | fi | 
| 3513 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 3514 | < | ac_cv_f90_compiler_gnu=$ac_compiler_gnu | 
| 3515 | < |  | 
| 3516 | < | fi | 
| 3517 | < | echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5 | 
| 3518 | < | echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 | 
| 3519 | < | ac_ext=$ac_save_ext | 
| 3520 | < | G95=`test $ac_compiler_gnu = yes && echo yes` | 
| 3521 | < | ac_ext=c | 
| 3522 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3523 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3524 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3525 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3526 | < |  | 
| 3527 | < | # Try to determine native compiler flags that allow us to use F90 suffix | 
| 3528 | < | # for preprocessed f90 source. | 
| 3529 | < |  | 
| 3530 | < | if test "$ac_test_PREPFLAG" != "set"; then | 
| 3531 | < | PREPFLAG="" | 
| 3532 | < | case "${host_cpu}-${host_os}" in | 
| 3533 | < |  | 
| 3534 | < | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 3535 | < | PREPFLAG="-fpp1 " | 
| 3536 | < | fi;; | 
| 3537 | < | *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 3538 | < | PREPFLAG="-qsuffix=cpp=F90 " | 
| 3539 | < | fi;; | 
| 3540 | < | *darwin*) | 
| 3541 | < | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 3542 | < | PREPFLAG="-qsuffix=cpp=F90 " | 
| 3543 | < | fi;; | 
| 3544 | < | esac | 
| 3545 | < |  | 
| 3546 | < | if test -z "$PREPFLAG"; then | 
| 3547 | < | { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5 | 
| 3548 | < | echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;} | 
| 3549 | < | PREPFLAG="" | 
| 3550 | < | fi | 
| 3551 | < |  | 
| 3552 | < | echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5 | 
| 3553 | < | echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 | 
| 3554 | < |  | 
| 3555 | < | ac_ext=f90 | 
| 3556 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3557 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3558 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3559 | < |  | 
| 3560 | < | ac_save_ext=$ac_ext | 
| 3561 | < | ac_ext=F90 | 
| 3562 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 3563 | < |  | 
| 3564 | < | if test "$PREPFLAG"; then | 
| 3565 | < | F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST" | 
| 3566 | < | fi | 
| 3567 | < |  | 
| 3568 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3569 | < |  | 
| 3570 | < | program main | 
| 3571 | < |  | 
| 3572 | < | integer :: i | 
| 3573 | < | i = 1 | 
| 3574 | < |  | 
| 3575 | < | end program main | 
| 3576 | < |  | 
| 3577 | < | _ACEOF | 
| 3578 | < | rm -f conftest.$ac_objext | 
| 3579 | < | if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5 | 
| 3580 | < | (eval $ac_compile) 2>&5 | 
| 3581 | < | ac_status=$? | 
| 3582 | < | echo "$as_me:2428: \$? = $ac_status" >&5 | 
| 3583 | < | (exit $ac_status); } && | 
| 3584 | < | { ac_try='test -s conftest.$ac_objext' | 
| 3585 | < | { (eval echo "$as_me:2431: \"$ac_try\"") >&5 | 
| 3586 | < | (eval $ac_try) 2>&5 | 
| 3587 | < | ac_status=$? | 
| 3588 | < | echo "$as_me:2434: \$? = $ac_status" >&5 | 
| 3589 | < | (exit $ac_status); }; }; then | 
| 3590 | < | prepflagworks=1 | 
| 3591 | < | else | 
| 3592 | < | echo "$as_me: failed program was:" >&5 | 
| 3593 | < | cat conftest.$ac_ext >&5 | 
| 3594 | < | prepflagworks=0 | 
| 3595 | < | fi | 
| 3596 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 3597 | < |  | 
| 3598 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 3599 | < | ac_ext=$ac_save_ext | 
| 3600 | < | ac_ext=c | 
| 3601 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3602 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3603 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3604 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3605 | < |  | 
| 3606 | < | if test "$prepflagworks" = 1; then | 
| 3607 | < | echo "$as_me:2453: result: yes" >&5 | 
| 3608 | < | echo "${ECHO_T}yes" >&6 | 
| 3609 | < |  | 
| 3610 | < | else | 
| 3611 | < | echo "$as_me:2457: result: no" >&5 | 
| 3612 | < | echo "${ECHO_T}no" >&6 | 
| 3613 | < | { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5 | 
| 3614 | < | echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} | 
| 3615 | < | { (exit 1); exit 1; }; } | 
| 3616 | < | fi | 
| 3617 | < | fi | 
| 3618 | < |  | 
| 3619 | < | # Try to determine native compiler flags that allow us to use F90 suffix | 
| 3620 | < | # for preprocessed f90 source with -D type defines | 
| 3621 | < |  | 
| 3622 | < | if test "$ac_test_PREPDEFFLAG" != "set"; then | 
| 3623 | < | PREPDEFFLAG="" | 
| 3624 | < | case "${host_cpu}-${host_os}" in | 
| 3625 | < |  | 
| 3626 | < | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 3627 | < | PREPDEFFLAG=" " | 
| 3628 | < | fi;; | 
| 3629 | < | *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 3630 | < | PREPDEFFLAG="-WF," | 
| 3631 | < | fi;; | 
| 3632 | < | *darwin*) | 
| 3633 | < | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 3634 | < | PREPDEFFLAG="-WF," | 
| 3635 | < | fi;; | 
| 3636 | < | esac | 
| 3637 | < |  | 
| 3638 | < | if test -z "$PREPDEFFLAG"; then | 
| 3639 | < | { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5 | 
| 3640 | < | echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;} | 
| 3641 | < | PREPDEFFLAG=" " | 
| 3642 | < | fi | 
| 3643 | < |  | 
| 3644 | < | echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5 | 
| 3645 | < | echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 | 
| 3646 | < |  | 
| 3647 | < | ac_ext=f90 | 
| 3648 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3649 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3650 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3651 | < |  | 
| 3652 | < | ac_save_ext=$ac_ext | 
| 3653 | < | ac_ext=F90 | 
| 3654 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 3655 | < |  | 
| 3656 | < | if test "$PREPDEFFLAG"; then | 
| 3657 | < | F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST" | 
| 3658 | < | fi | 
| 3659 | < |  | 
| 3660 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3661 | < |  | 
| 3662 | < | program main | 
| 3663 | < |  | 
| 3664 | < | integer :: i | 
| 3665 | < | #ifdef TEST | 
| 3666 | < | i = 1 | 
| 3667 | < | #else | 
| 3668 | < | choke me | 
| 3669 | < | #endif | 
| 3670 | < |  | 
| 3671 | < | end program main | 
| 3672 | < |  | 
| 3673 | < | _ACEOF | 
| 3674 | < | rm -f conftest.$ac_objext | 
| 3675 | < | if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5 | 
| 3676 | < | (eval $ac_compile) 2>&5 | 
| 3677 | < | ac_status=$? | 
| 3678 | < | echo "$as_me:2524: \$? = $ac_status" >&5 | 
| 3679 | < | (exit $ac_status); } && | 
| 3680 | < | { ac_try='test -s conftest.$ac_objext' | 
| 3681 | < | { (eval echo "$as_me:2527: \"$ac_try\"") >&5 | 
| 3682 | < | (eval $ac_try) 2>&5 | 
| 3683 | < | ac_status=$? | 
| 3684 | < | echo "$as_me:2530: \$? = $ac_status" >&5 | 
| 3685 | < | (exit $ac_status); }; }; then | 
| 3686 | < | prepdefflagworks=1 | 
| 3687 | < | else | 
| 3688 | < | echo "$as_me: failed program was:" >&5 | 
| 3689 | < | cat conftest.$ac_ext >&5 | 
| 3690 | < | prepdefflagworks=0 | 
| 3691 | < | fi | 
| 3692 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 3693 | < |  | 
| 3694 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 3695 | < | ac_ext=$ac_save_ext | 
| 3696 | < | ac_ext=c | 
| 3697 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 3698 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3699 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3700 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3701 | < |  | 
| 3702 | < | if test "$prepdefflagworks" = 1; then | 
| 3703 | < | echo "$as_me:2549: result: yes" >&5 | 
| 3704 | < | echo "${ECHO_T}yes" >&6 | 
| 3705 | < |  | 
| 3706 | < | else | 
| 3707 | < | echo "$as_me:2553: result: no" >&5 | 
| 3708 | < | echo "${ECHO_T}no" >&6 | 
| 3709 | < | { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5 | 
| 3710 | < | echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} | 
| 3711 | < | { (exit 1); exit 1; }; } | 
| 3712 | < | fi | 
| 3713 | < | fi | 
| 3714 | < |  | 
| 3715 | < | ac_ext=f90 | 
| 3716 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3717 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3718 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3719 | < |  | 
| 3720 | < | ac_ext=f90 | 
| 3721 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3722 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3723 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3724 | < | echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5 | 
| 3725 | < | echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 | 
| 3726 | < | if test "${ac_cv_prog_f90_v+set}" = set; then | 
| 3727 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3728 | < | else | 
| 3729 | < |  | 
| 3730 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3731 | < |  | 
| 3732 | < | program main | 
| 3733 | < |  | 
| 3734 | < | end program main | 
| 3735 | < |  | 
| 3736 | < | _ACEOF | 
| 3737 | < | rm -f conftest.$ac_objext | 
| 3738 | < | if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5 | 
| 3739 | < | (eval $ac_compile) 2>&5 | 
| 3740 | < | ac_status=$? | 
| 3741 | < | echo "$as_me:2587: \$? = $ac_status" >&5 | 
| 3742 | < | (exit $ac_status); } && | 
| 3743 | < | { ac_try='test -s conftest.$ac_objext' | 
| 3744 | < | { (eval echo "$as_me:2590: \"$ac_try\"") >&5 | 
| 3745 | < | (eval $ac_try) 2>&5 | 
| 3746 | < | ac_status=$? | 
| 3747 | < | echo "$as_me:2593: \$? = $ac_status" >&5 | 
| 3748 | < | (exit $ac_status); }; }; then | 
| 3749 | < | ac_cv_prog_f90_v= | 
| 3750 | < | # Try some options frequently used verbose output | 
| 3751 | < | for ac_verb in -v -verbose --verbose -V -\#\#\#; do | 
| 3752 | < | ac_ext=f90 | 
| 3753 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3754 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3755 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3756 | < |  | 
| 3757 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3758 | < |  | 
| 3759 | < | program main | 
| 3760 | < |  | 
| 3761 | < | end program main | 
| 3762 | < |  | 
| 3763 | < | _ACEOF | 
| 3764 | < |  | 
| 3765 | < | # Compile and link our simple test program by passing a flag (argument | 
| 3766 | < | # 1 to this macro) to the Fortran 90 compiler in order to get | 
| 3767 | < | # "verbose" output that we can then parse for the Fortran 90 linker | 
| 3768 | < | # flags. | 
| 3769 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 3770 | < | F90FLAGS="$F90FLAGS $ac_verb" | 
| 3771 | < |  | 
| 3772 | < | (eval echo $as_me:2618: \"$ac_link\") >&5 | 
| 3773 | < | ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 3774 | < | echo "$ac_f90_v_output" >&5 | 
| 3775 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 3776 | < |  | 
| 3777 | < | rm -f conftest.* | 
| 3778 | < | ac_ext=f90 | 
| 3779 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3780 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3781 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3782 | < |  | 
| 3783 | < | # If we are using xlf then replace all the commas with spaces. | 
| 3784 | < | if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then | 
| 3785 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'` | 
| 3786 | < | fi | 
| 3787 | < |  | 
| 3788 | < | # If we are using Cray Fortran then delete quotes. | 
| 3789 | < | # Use "\"" instead of '"' for font-lock-mode. | 
| 3790 | < | # FIXME: a more general fix for quoted arguments with spaces? | 
| 3791 | < | if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then | 
| 3792 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"` | 
| 3793 | < | fi | 
| 3794 | < | # look for -l* and *.a constructs in the output | 
| 3795 | < | for ac_arg in $ac_f90_v_output; do | 
| 3796 | < | case $ac_arg in | 
| 3797 | < | [\\/]*.a | ?:[\\/]*.a | -[lLRu]*) | 
| 3798 | < | ac_cv_prog_f90_v=$ac_verb | 
| 3799 | < | break 2 ;; | 
| 3800 | < | esac | 
| 3801 | < | done | 
| 3802 | < | done | 
| 3803 | < | if test -z "$ac_cv_prog_f90_v"; then | 
| 3804 | < | { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5 | 
| 3805 | < | echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} | 
| 3806 | < | fi | 
| 3807 | < | else | 
| 3808 | < | echo "$as_me: failed program was:" >&5 | 
| 3809 | < | cat conftest.$ac_ext >&5 | 
| 3810 | < | { echo "$as_me:2656: WARNING: compilation failed" >&5 | 
| 3811 | < | echo "$as_me: WARNING: compilation failed" >&2;} | 
| 3812 | < | fi | 
| 3813 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 3814 | < |  | 
| 3815 | < | fi | 
| 3816 | < | echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5 | 
| 3817 | < | echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 | 
| 3818 | < | echo "$as_me:2664: checking for Fortran 90 libraries" >&5 | 
| 3819 | < | echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 | 
| 3820 | < | if test "${ac_cv_flibs+set}" = set; then | 
| 3821 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3822 | < | else | 
| 3823 | < | if test "x$F90LIBS" != "x"; then | 
| 3824 | < | ac_cv_f90libs="$F90LIBS" # Let the user override the test. | 
| 3825 | < | else | 
| 3826 | < |  | 
| 3827 | < | ac_ext=f90 | 
| 3828 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3829 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3830 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3831 | < |  | 
| 3832 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 3833 | < |  | 
| 3834 | < | program main | 
| 3835 | < |  | 
| 3836 | < | end program main | 
| 3837 | < |  | 
| 3838 | < | _ACEOF | 
| 3839 | < |  | 
| 3840 | < | # Compile and link our simple test program by passing a flag (argument | 
| 3841 | < | # 1 to this macro) to the Fortran 90 compiler in order to get | 
| 3842 | < | # "verbose" output that we can then parse for the Fortran 90 linker | 
| 3843 | < | # flags. | 
| 3844 | < | ac_save_F90FLAGS=$F90FLAGS | 
| 3845 | < | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" | 
| 3846 | < |  | 
| 3847 | < | (eval echo $as_me:2693: \"$ac_link\") >&5 | 
| 3848 | < | ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` | 
| 3849 | < | echo "$ac_f90_v_output" >&5 | 
| 3850 | < | F90FLAGS=$ac_save_F90FLAGS | 
| 3851 | < |  | 
| 3852 | < | rm -f conftest.* | 
| 3853 | < | ac_ext=f90 | 
| 3854 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3855 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3856 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3857 | < |  | 
| 3858 | < | # If we are using xlf then replace all the commas with spaces. | 
| 3859 | < | if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then | 
| 3860 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'` | 
| 3861 | < | fi | 
| 3862 | < |  | 
| 3863 | < | # If we are using Cray Fortran then delete quotes. | 
| 3864 | < | # Use "\"" instead of '"' for font-lock-mode. | 
| 3865 | < | # FIXME: a more general fix for quoted arguments with spaces? | 
| 3866 | < | if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then | 
| 3867 | < | ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"` | 
| 3868 | < | fi | 
| 3869 | < |  | 
| 3870 | < | ac_cv_f90libs= | 
| 3871 | < |  | 
| 3872 | < | # Save positional arguments (if any) | 
| 3873 | < | ac_save_positional="$@" | 
| 3874 | < |  | 
| 3875 | < | set X $ac_f90_v_output | 
| 3876 | < | while test $# != 1; do | 
| 3877 | < | shift | 
| 3878 | < | ac_arg=$1 | 
| 3879 | < | case $ac_arg in | 
| 3880 | < | [\\/]*.a | ?:[\\/]*.a) | 
| 3881 | < | ac_exists=false | 
| 3882 | < | for ac_i in $ac_cv_f90libs; do | 
| 3883 | < | if test x"$ac_arg" = x"$ac_i"; then | 
| 3884 | < | ac_exists=true | 
| 3885 | < | break | 
| 3886 | < | fi | 
| 3887 | < | done | 
| 3888 | < |  | 
| 3889 | < | if test x"$ac_exists" = xtrue; then | 
| 3890 | < | : | 
| 3891 | < | else | 
| 3892 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3893 | < | fi | 
| 3894 | < |  | 
| 3895 | < | ;; | 
| 3896 | < | -bI:*) | 
| 3897 | < | ac_exists=false | 
| 3898 | < | for ac_i in $ac_cv_f90libs; do | 
| 3899 | < | if test x"$ac_arg" = x"$ac_i"; then | 
| 3900 | < | ac_exists=true | 
| 3901 | < | break | 
| 3902 | < | fi | 
| 3903 | < | done | 
| 3904 | < |  | 
| 3905 | < | if test x"$ac_exists" = xtrue; then | 
| 3906 | < | : | 
| 3907 | < | else | 
| 3908 | < | if test "$ac_compiler_gnu" = yes; then | 
| 3909 | < | for ac_link_opt in $ac_arg; do | 
| 3910 | < | ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt" | 
| 3911 | < | done | 
| 3912 | < | else | 
| 3913 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3914 | < | fi | 
| 3915 | < | fi | 
| 3916 | < |  | 
| 3917 | < | ;; | 
| 3918 | < | # Ignore these flags. | 
| 3919 | < | -lang* | -lcrt[012].o | -lc | -lgcc | -LANG:=*) | 
| 3920 | < | ;; | 
| 3921 | < | -lkernel32) | 
| 3922 | < | test x"$CYGWIN" != xyes && ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3923 | < | ;; | 
| 3924 | < | -[LRuY]) | 
| 3925 | < | # These flags, when seen by themselves, take an argument. | 
| 3926 | < | # We remove the space between option and argument and re-iterate | 
| 3927 | < | # unless we find an empty arg or a new option (starting with -) | 
| 3928 | < | case $2 in | 
| 3929 | < | "" | -*);; | 
| 3930 | < | *) | 
| 3931 | < | ac_arg="$ac_arg$2" | 
| 3932 | < |  | 
| 3933 | < | shift; shift | 
| 3934 | < | set X $ac_arg "$@" | 
| 3935 | < | ;; | 
| 3936 | < | esac | 
| 3937 | < | ;; | 
| 3938 | < | -YP,*) | 
| 3939 | < | for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do | 
| 3940 | < | ac_exists=false | 
| 3941 | < | for ac_i in $ac_cv_f90libs; do | 
| 3942 | < | if test x"$ac_j" = x"$ac_i"; then | 
| 3943 | < | ac_exists=true | 
| 3944 | < | break | 
| 3945 | < | fi | 
| 3946 | < | done | 
| 3947 | < |  | 
| 3948 | < | if test x"$ac_exists" = xtrue; then | 
| 3949 | < | : | 
| 3950 | < | else | 
| 3951 | < | ac_arg="$ac_arg $ac_j" | 
| 3952 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_j" | 
| 3953 | < | fi | 
| 3954 | < |  | 
| 3955 | < | done | 
| 3956 | < | ;; | 
| 3957 | < | -[lLR]*) | 
| 3958 | < | ac_exists=false | 
| 3959 | < | for ac_i in $ac_cv_f90libs; do | 
| 3960 | < | if test x"$ac_arg" = x"$ac_i"; then | 
| 3961 | < | ac_exists=true | 
| 3962 | < | break | 
| 3963 | < | fi | 
| 3964 | < | done | 
| 3965 | < |  | 
| 3966 | < | if test x"$ac_exists" = xtrue; then | 
| 3967 | < | : | 
| 3968 | < | else | 
| 3969 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3970 | < | fi | 
| 3971 | < |  | 
| 3972 | < | ;; | 
| 3973 | < | # Ignore everything else. | 
| 3974 | < | esac | 
| 3975 | < | done | 
| 3976 | < | # restore positional arguments | 
| 3977 | < | set X $ac_save_positional; shift | 
| 3978 | < |  | 
| 3979 | < | # We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen, | 
| 3980 | < | # then we insist that the "run path" must be an absolute path (i.e. it | 
| 3981 | < | # must begin with a "/"). | 
| 3982 | < | case `(uname -sr) 2>/dev/null` in | 
| 3983 | < | "SunOS 5"*) | 
| 3984 | < | ac_ld_run_path=`echo $ac_f90_v_output | | 
| 3985 | < | sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` | 
| 3986 | < | test "x$ac_ld_run_path" != x && | 
| 3987 | < |  | 
| 3988 | < | if test "$ac_compiler_gnu" = yes; then | 
| 3989 | < | for ac_link_opt in $ac_ld_run_path; do | 
| 3990 | < | ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt" | 
| 3991 | < | done | 
| 3992 | < | else | 
| 3993 | < | ac_cv_f90libs="$ac_cv_f90libs $ac_ld_run_path" | 
| 3994 | < | fi | 
| 3995 | < | ;; | 
| 3996 | < | esac | 
| 3997 | < | fi # test "x$F90LIBS" = "x" | 
| 3998 | < |  | 
| 3999 | < | fi | 
| 4000 | < | echo "$as_me:2846: result: $ac_cv_flibs" >&5 | 
| 4001 | < | echo "${ECHO_T}$ac_cv_flibs" >&6 | 
| 4002 | < | F90LIBS="$ac_cv_f90libs" | 
| 4003 | < |  | 
| 4004 | < | ac_ext=f90 | 
| 4005 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4006 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4007 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4008 | < |  | 
| 4009 | < | echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5 | 
| 4010 | < | echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 | 
| 4011 | < | if test "${ac_cv_f90_mangling+set}" = set; then | 
| 4012 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4013 | < | else | 
| 4014 | < | ac_ext=f90 | 
| 4015 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4016 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4017 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4018 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4019 | < | subroutine foobar() | 
| 4020 | < | return | 
| 4021 | < | end | 
| 4022 | < | subroutine foo_bar() | 
| 4023 | < | return | 
| 4024 | < | end | 
| 4025 | < | _ACEOF | 
| 4026 | < | rm -f conftest.$ac_objext | 
| 4027 | < | if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5 | 
| 4028 | < | (eval $ac_compile) 2>&5 | 
| 4029 | < | ac_status=$? | 
| 4030 | < | echo "$as_me:2876: \$? = $ac_status" >&5 | 
| 4031 | < | (exit $ac_status); } && | 
| 4032 | < | { ac_try='test -s conftest.$ac_objext' | 
| 4033 | < | { (eval echo "$as_me:2879: \"$ac_try\"") >&5 | 
| 4034 | < | (eval $ac_try) 2>&5 | 
| 4035 | < | ac_status=$? | 
| 4036 | < | echo "$as_me:2882: \$? = $ac_status" >&5 | 
| 4037 | < | (exit $ac_status); }; }; then | 
| 4038 | < | mv conftest.$ac_objext cf90_test.$ac_objext | 
| 4039 | < |  | 
| 4040 | < | ac_ext=c | 
| 4041 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 4042 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4043 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4044 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4045 | < |  | 
| 4046 | < | ac_save_LIBS=$LIBS | 
| 4047 | < | LIBS="cf90_test.$ac_objext $F90LIBS $LIBS" | 
| 4048 | < |  | 
| 4049 | < | ac_success=no | 
| 4050 | < | for ac_foobar in foobar FOOBAR; do | 
| 4051 | < | for ac_underscore in "" "_"; do | 
| 4052 | < | ac_func="$ac_foobar$ac_underscore" | 
| 4053 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4054 | < | #line 2900 "configure" | 
| 4055 | < | #include "confdefs.h" | 
| 4056 | < |  | 
| 4057 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 4058 | < | #ifdef __cplusplus | 
| 4059 | < | extern "C" | 
| 4060 | < | #endif | 
| 4061 | < | /* We use char because int might match the return type of a gcc2 | 
| 4062 | < | builtin and then its argument prototype would still apply.  */ | 
| 4063 | < | char $ac_func (); | 
| 4064 | < | int | 
| 4065 | < | main () | 
| 4066 | < | { | 
| 4067 | < | $ac_func (); | 
| 4068 | < | ; | 
| 4069 | < | return 0; | 
| 4070 | < | } | 
| 4071 | < | _ACEOF | 
| 4072 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4073 | < | if { (eval echo "$as_me:2919: \"$ac_link\"") >&5 | 
| 4074 | < | (eval $ac_link) 2>&5 | 
| 4075 | < | ac_status=$? | 
| 4076 | < | echo "$as_me:2922: \$? = $ac_status" >&5 | 
| 4077 | < | (exit $ac_status); } && | 
| 4078 | < | { ac_try='test -s conftest$ac_exeext' | 
| 4079 | < | { (eval echo "$as_me:2925: \"$ac_try\"") >&5 | 
| 4080 | < | (eval $ac_try) 2>&5 | 
| 4081 | < | ac_status=$? | 
| 4082 | < | echo "$as_me:2928: \$? = $ac_status" >&5 | 
| 4083 | < | (exit $ac_status); }; }; then | 
| 4084 | < | ac_success=yes; break 2 | 
| 4085 | < | else | 
| 4086 | < | echo "$as_me: failed program was:" >&5 | 
| 4087 | < | cat conftest.$ac_ext >&5 | 
| 4088 | < | fi | 
| 4089 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 4090 | < | done | 
| 4091 | < | done | 
| 4092 | < |  | 
| 4093 | < | if test "$ac_success" = "yes"; then | 
| 4094 | < | case $ac_foobar in | 
| 4095 | < | foobar) | 
| 4096 | < | ac_case=lower | 
| 4097 | < | ac_foo_bar=foo_bar | 
| 4098 | < | ;; | 
| 4099 | < | FOOBAR) | 
| 4100 | < | ac_case=upper | 
| 4101 | < | ac_foo_bar=FOO_BAR | 
| 4102 | < | ;; | 
| 4103 | < | esac | 
| 4104 | < |  | 
| 4105 | < | ac_success_extra=no | 
| 4106 | < | for ac_extra in "" "_"; do | 
| 4107 | < | ac_func="$ac_foo_bar$ac_underscore$ac_extra" | 
| 4108 | < |  | 
| 4109 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4110 | < | #line 2956 "configure" | 
| 4111 | < | #include "confdefs.h" | 
| 4112 | < |  | 
| 4113 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 4114 | < | #ifdef __cplusplus | 
| 4115 | < | extern "C" | 
| 4116 | < | #endif | 
| 4117 | < | /* We use char because int might match the return type of a gcc2 | 
| 4118 | < | builtin and then its argument prototype would still apply.  */ | 
| 4119 | < | char $ac_func (); | 
| 4120 | < | int | 
| 4121 | < | main () | 
| 4122 | < | { | 
| 4123 | < | $ac_func (); | 
| 4124 | < | ; | 
| 4125 | < | return 0; | 
| 4126 | < | } | 
| 4127 | < | _ACEOF | 
| 4128 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4129 | < | if { (eval echo "$as_me:2975: \"$ac_link\"") >&5 | 
| 4130 | < | (eval $ac_link) 2>&5 | 
| 4131 | < | ac_status=$? | 
| 4132 | < | echo "$as_me:2978: \$? = $ac_status" >&5 | 
| 4133 | < | (exit $ac_status); } && | 
| 4134 | < | { ac_try='test -s conftest$ac_exeext' | 
| 4135 | < | { (eval echo "$as_me:2981: \"$ac_try\"") >&5 | 
| 4136 | < | (eval $ac_try) 2>&5 | 
| 4137 | < | ac_status=$? | 
| 4138 | < | echo "$as_me:2984: \$? = $ac_status" >&5 | 
| 4139 | < | (exit $ac_status); }; }; then | 
| 4140 | < | ac_success_extra=yes; break | 
| 4141 | < | else | 
| 4142 | < | echo "$as_me: failed program was:" >&5 | 
| 4143 | < | cat conftest.$ac_ext >&5 | 
| 4144 | < | fi | 
| 4145 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 4146 | < | done | 
| 4147 | < |  | 
| 4148 | < | if test "$ac_success_extra" = "yes"; then | 
| 4149 | < | ac_cv_f90_mangling="$ac_case case" | 
| 4150 | < | if test -z "$ac_underscore"; then | 
| 4151 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, no underscore" | 
| 4152 | < | else | 
| 4153 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, underscore" | 
| 4154 | < |  | 
| 4155 | < | fi | 
| 4156 | < | if test -z "$ac_extra"; then | 
| 4157 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, no extra underscore" | 
| 4158 | < | else | 
| 4159 | < | ac_cv_f90_mangling="$ac_cv_f90_mangling, extra underscore" | 
| 4160 | < | fi | 
| 4161 | < | else | 
| 4162 | < | ac_cv_f90_mangling="unknown" | 
| 4163 | < | fi | 
| 4164 | < | else | 
| 4165 | < | ac_cv_f90_mangling="unknown" | 
| 4166 | < |  | 
| 4167 | < | fi | 
| 4168 | < |  | 
| 4169 | < | LIBS=$ac_save_LIBS | 
| 4170 | < | ac_ext=f90 | 
| 4171 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4172 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4173 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4174 | < | rm -f cf90_test* conftest* | 
| 4175 | < | else | 
| 4176 | < | echo "$as_me: failed program was:" >&5 | 
| 4177 | < | cat conftest.$ac_ext >&5 | 
| 4178 | < | fi | 
| 4179 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 4180 | < | ac_ext=f90 | 
| 4181 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4182 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4183 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4184 | < |  | 
| 4185 | < | fi | 
| 4186 | < | echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5 | 
| 4187 | < | echo "${ECHO_T}$ac_cv_f90_mangling" >&6 | 
| 4188 | < |  | 
| 4189 | < | case $ac_cv_f90_mangling in | 
| 4190 | < | "lower case, no underscore, no extra underscore") | 
| 4191 | < | cat >>confdefs.h <<\EOF | 
| 4192 | < | #define F90_FUNC(name,NAME) name | 
| 4193 | < | EOF | 
| 4194 | < |  | 
| 4195 | < | cat >>confdefs.h <<\EOF | 
| 4196 | < | #define F90_FUNC_(name,NAME) name | 
| 4197 | < | EOF | 
| 4198 | < | ;; | 
| 4199 | < | "lower case, no underscore, extra underscore") | 
| 4200 | < | cat >>confdefs.h <<\EOF | 
| 4201 | < | #define F90_FUNC(name,NAME) name | 
| 4202 | < | EOF | 
| 4203 | < |  | 
| 4204 | < | cat >>confdefs.h <<\EOF | 
| 4205 | < | #define F90_FUNC_(name,NAME) name ## _ | 
| 4206 | < | EOF | 
| 4207 | < | ;; | 
| 4208 | < | "lower case, underscore, no extra underscore") | 
| 4209 | < | cat >>confdefs.h <<\EOF | 
| 4210 | < | #define F90_FUNC(name,NAME) name ## _ | 
| 4211 | < | EOF | 
| 4212 | < |  | 
| 4213 | < | cat >>confdefs.h <<\EOF | 
| 4214 | < | #define F90_FUNC_(name,NAME) name ## _ | 
| 4215 | < | EOF | 
| 4216 | < | ;; | 
| 4217 | < | "lower case, underscore, extra underscore") | 
| 4218 | < | cat >>confdefs.h <<\EOF | 
| 4219 | < | #define F90_FUNC(name,NAME) name ## _ | 
| 4220 | < | EOF | 
| 4221 | < |  | 
| 4222 | < | cat >>confdefs.h <<\EOF | 
| 4223 | < | #define F90_FUNC_(name,NAME) name ## __ | 
| 4224 | < | EOF | 
| 4225 | < | ;; | 
| 4226 | < | "upper case, no underscore, no extra underscore") | 
| 4227 | < | cat >>confdefs.h <<\EOF | 
| 4228 | < | #define F90_FUNC(name,NAME) NAME | 
| 4229 | < | EOF | 
| 4230 | < |  | 
| 4231 | < | cat >>confdefs.h <<\EOF | 
| 4232 | < | #define F90_FUNC_(name,NAME) NAME | 
| 4233 | < | EOF | 
| 4234 | < | ;; | 
| 4235 | < | "upper case, no underscore, extra underscore") | 
| 4236 | < | cat >>confdefs.h <<\EOF | 
| 4237 | < | #define F90_FUNC(name,NAME) NAME | 
| 4238 | < | EOF | 
| 4239 | < |  | 
| 4240 | < | cat >>confdefs.h <<\EOF | 
| 4241 | < | #define F90_FUNC_(name,NAME) NAME ## _ | 
| 4242 | < | EOF | 
| 4243 | < | ;; | 
| 4244 | < | "upper case, underscore, no extra underscore") | 
| 4245 | < | cat >>confdefs.h <<\EOF | 
| 4246 | < | #define F90_FUNC(name,NAME) NAME ## _ | 
| 4247 | < | EOF | 
| 4248 | < |  | 
| 4249 | < | cat >>confdefs.h <<\EOF | 
| 4250 | < | #define F90_FUNC_(name,NAME) NAME ## _ | 
| 4251 | < | EOF | 
| 4252 | < | ;; | 
| 4253 | < | "upper case, underscore, extra underscore") | 
| 4254 | < | cat >>confdefs.h <<\EOF | 
| 4255 | < | #define F90_FUNC(name,NAME) NAME ## _ | 
| 4256 | < | EOF | 
| 4257 | < |  | 
| 4258 | < | cat >>confdefs.h <<\EOF | 
| 4259 | < | #define F90_FUNC_(name,NAME) NAME ## __ | 
| 4260 | < | EOF | 
| 4261 | < | ;; | 
| 4262 | < | *) | 
| 4263 | < | { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5 | 
| 4264 | < | echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} | 
| 4265 | < | ;; | 
| 4266 | < | esac | 
| 4267 | < |  | 
| 4268 | < | echo "$as_me:3114: checking for module suffix" >&5 | 
| 4269 | < | echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 | 
| 4270 | < | rm -f conftest* | 
| 4271 | < | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 4272 | < | rm -f work* | 
| 4273 | < | cat >conftest.f90 <<EOF | 
| 4274 | < | module conftest | 
| 4275 | < | integer n | 
| 4276 | < | parameter (n=1) | 
| 4277 | < | end module conftest | 
| 4278 | < | EOF | 
| 4279 | < | # SGI and absoft compilers generates module name in upper case! | 
| 4280 | < | testname="conftest" | 
| 4281 | < | modcase="lower" | 
| 4282 | < | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then | 
| 4283 | < | MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o` | 
| 4284 | < | MOD=`echo "$MOD" | sed -e 's/conftest\.//g'` | 
| 4285 | < | if test -z "$MOD" ; then | 
| 4286 | < | MOD=`ls CONFTEST* 2>/dev/null \ | 
| 4287 | < | | grep -v CONFTEST.f | grep -v CONFTEST.o` | 
| 4288 | < | MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'` | 
| 4289 | < | if test -n "$MOD" ; then | 
| 4290 | < | testname="CONFTEST" | 
| 4291 | < | modcase="upper" | 
| 4292 | < | fi | 
| 4293 | < | fi | 
| 4294 | < | if test -z "$MOD" ; then | 
| 4295 | < | echo "$as_me:3141: result: unknown" >&5 | 
| 4296 | < | echo "${ECHO_T}unknown" >&6 | 
| 4297 | < | # Use mod if we can't figure it out | 
| 4298 | < | MOD="mod" | 
| 4299 | < | else | 
| 4300 | < | echo "$as_me:3146: result: $MOD" >&5 | 
| 4301 | < | echo "${ECHO_T}$MOD" >&6 | 
| 4302 | < | fi | 
| 4303 | < | if test -s work.pcl ; then | 
| 4304 | < | { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5 | 
| 4305 | < | echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} | 
| 4306 | < | fi | 
| 4307 | < | else | 
| 4308 | < | echo "$as_me:3154: result: unknown" >&5 | 
| 4309 | < | echo "${ECHO_T}unknown" >&6 | 
| 4310 | < | fi | 
| 4311 | < |  | 
| 4312 | < | # Check for module include path (some use -I, some (Solaris) use -M, some | 
| 4313 | < | # (absoft) use -p). | 
| 4314 | < | # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is | 
| 4315 | < | # specified, work.pcl and work.pc are created.  However, if you specify | 
| 4316 | < | # a file, it must contain a the name of a file ending in .pc .  Ugh! | 
| 4317 | < | # Use the module made above | 
| 4318 | < | echo "$as_me:3164: checking for module directory path flag" >&5 | 
| 4319 | < | echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6 | 
| 4320 | < | rm -f conftest* | 
| 4321 | < | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 4322 | < | rm -f work* | 
| 4323 | < | cat >conftest.f90 <<EOF | 
| 4324 | < | module conftest | 
| 4325 | < | integer n | 
| 4326 | < | parameter (n=1) | 
| 4327 | < | end module conftest | 
| 4328 | < | EOF | 
| 4329 | < | # SGI and absoft compilers generates module name in upper case! | 
| 4330 | < | testname="conftest" | 
| 4331 | < | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then | 
| 4332 | < | mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.f | grep -v CONFTEST.o` | 
| 4333 | < | mod=`echo "$mod" | sed -e 's/CONFTEST\.//g'` | 
| 4334 | < | if test -n "$mod" ; then | 
| 4335 | < | testname="CONFTEST" | 
| 4336 | < | fi | 
| 4337 | < | madedir=0 | 
| 4338 | < | if test ! -d conf ; then mkdir conf ; madedir=1; fi | 
| 4339 | < | cp $testname.$MOD conf | 
| 4340 | < | rm -f conftest* CONFTEST* | 
| 4341 | < | cat >conftest1.f90 <<EOF | 
| 4342 | < | program main | 
| 4343 | < | use conftest | 
| 4344 | < | print *, n | 
| 4345 | < | end | 
| 4346 | < | EOF | 
| 4347 | < | F90_WORK_FILES_ARG="" | 
| 4348 | < | F90MODINCSPEC="" | 
| 4349 | < | if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then | 
| 4350 | < | MODDIRFLAG="-I" | 
| 4351 | < | F90MODINCSPEC="-I<dir>" | 
| 4352 | < | echo "$as_me:3198: result: -I" >&5 | 
| 4353 | < | echo "${ECHO_T}-I" >&6 | 
| 4354 | < | elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then | 
| 4355 | < | MODDIRFLAG="-M" | 
| 4356 | < | F90MODINCSPEC="-M<dir>" | 
| 4357 | < | echo "$as_me:3203: result: -M" >&5 | 
| 4358 | < | echo "${ECHO_T}-M" >&6 | 
| 4359 | < | elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then | 
| 4360 | < | MODDIRFLAG="-p" | 
| 4361 | < | F90MODINCSPEC="-p<dir>" | 
| 4362 | < | echo "$as_me:3208: result: -p" >&5 | 
| 4363 | < | echo "${ECHO_T}-p" >&6 | 
| 4364 | < | elif test -s work.pc ; then | 
| 4365 | < | cp work.pc conf/mpimod.pc | 
| 4366 | < | echo "mpimod.pc" > conf/mpimod.pcl | 
| 4367 | < | echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl | 
| 4368 | < | if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then | 
| 4369 | < | MODDIRFLAG='-cl,mpimod.pcl' | 
| 4370 | < | echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5 | 
| 4371 | < | echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6 | 
| 4372 | < | F90_WORK_FILES_ARG="-cl,mpimod.pcl" | 
| 4373 | < | F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" | 
| 4374 | < |  | 
| 4375 | < | else | 
| 4376 | < | # The version of the Intel compiler that I have refuses to let | 
| 4377 | < | # you put the "work catalog" list anywhere but the current | 
| 4378 | < | # directory. For example, you cannot in | 
| 4379 | < | : | 
| 4380 | < | fi | 
| 4381 | < | fi | 
| 4382 | < | if test -z "MODDIRFLAG" ; then | 
| 4383 | < | echo "$as_me:3229: result: unknown" >&5 | 
| 4384 | < | echo "${ECHO_T}unknown" >&6 | 
| 4385 | < | fi | 
| 4386 | < |  | 
| 4387 | < | rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* | 
| 4388 | < | if test $madedir = 1 ; then rmdir conf ; fi | 
| 4389 | < | fi | 
| 4390 | < |  | 
| 4391 | < | echo "$as_me:3237: checking for Fortran 90 module file names" >&5 | 
| 4392 | < | echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 | 
| 4393 | < | if test "${ac_cv_f90_module_names+set}" = set; then | 
| 4394 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4395 | < | else | 
| 4396 | < | ac_ext=f90 | 
| 4397 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4398 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4399 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4400 | < |  | 
| 4401 | < | # carry out the test in a new directory, so that we don't miss anything | 
| 4402 | < | mkdir conftest | 
| 4403 | < | cd conftest | 
| 4404 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4405 | < | MODULE Bar | 
| 4406 | < | END MODULE Bar | 
| 4407 | < | _ACEOF | 
| 4408 | < | rm -f conftest.$ac_objext | 
| 4409 | < | if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5 | 
| 4410 | < | (eval $ac_compile) 2>&5 | 
| 4411 | < | ac_status=$? | 
| 4412 | < | echo "$as_me:3258: \$? = $ac_status" >&5 | 
| 4413 | < | (exit $ac_status); } && | 
| 4414 | < | { ac_try='test -s conftest.$ac_objext' | 
| 4415 | < | { (eval echo "$as_me:3261: \"$ac_try\"") >&5 | 
| 4416 | < | (eval $ac_try) 2>&5 | 
| 4417 | < | ac_status=$? | 
| 4418 | < | echo "$as_me:3264: \$? = $ac_status" >&5 | 
| 4419 | < | (exit $ac_status); }; }; then | 
| 4420 | < | ac_cv_f90_module_names= | 
| 4421 | < | ac_file_list=* | 
| 4422 | < | for ac_file in $ac_file_list; do | 
| 4423 | < | case $ac_file in | 
| 4424 | < | # don't care for original source and object files | 
| 4425 | < | conftest.$ac_ext | conftest.$ac_objext | conftest.err ) | 
| 4426 | < | : | 
| 4427 | < | ;; | 
| 4428 | < | # look for new files derived from the file name | 
| 4429 | < | *conftest*) | 
| 4430 | < | ac_pat=`echo $ac_file | sed s/conftest/%FILE%/` | 
| 4431 | < | ac_exists=false | 
| 4432 | < | for ac_i in $ac_cv_f90_module_names; do | 
| 4433 | < | if test x"$ac_pat" = x"$ac_i"; then | 
| 4434 | < | ac_exists=true | 
| 4435 | < | break | 
| 4436 | < | fi | 
| 4437 | < | done | 
| 4438 | < |  | 
| 4439 | < | if test x"$ac_exists" = xtrue; then | 
| 4440 | < | : | 
| 4441 | < | else | 
| 4442 | < | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4443 | < | fi | 
| 4444 | < |  | 
| 4445 | < | ;; | 
| 4446 | < | # look for new files derived from the module name, | 
| 4447 | < | # with different case translation schemes | 
| 4448 | < | *Bar*) | 
| 4449 | < | ac_pat=`echo $ac_file | sed s/Bar/%Module%/` | 
| 4450 | < | ac_exists=false | 
| 4451 | < | for ac_i in $ac_cv_f90_module_names; do | 
| 4452 | < | if test x"$ac_pat" = x"$ac_i"; then | 
| 4453 | < | ac_exists=true | 
| 4454 | < | break | 
| 4455 | < | fi | 
| 4456 | < | done | 
| 4457 | < |  | 
| 4458 | < | if test x"$ac_exists" = xtrue; then | 
| 4459 | < | : | 
| 4460 | < | else | 
| 4461 | < | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4462 | < | fi | 
| 4463 | < |  | 
| 4464 | < | ;; | 
| 4465 | < | *bar*) | 
| 4466 | < | ac_pat=`echo $ac_file | sed s/bar/%module%/` | 
| 4467 | < | ac_exists=false | 
| 4468 | < | for ac_i in $ac_cv_f90_module_names; do | 
| 4469 | < | if test x"$ac_pat" = x"$ac_i"; then | 
| 4470 | < | ac_exists=true | 
| 4471 | < | break | 
| 4472 | < | fi | 
| 4473 | < | done | 
| 4474 | < |  | 
| 4475 | < | if test x"$ac_exists" = xtrue; then | 
| 4476 | < | : | 
| 4477 | < | else | 
| 4478 | < | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4479 | < | fi | 
| 4480 | < |  | 
| 4481 | < | ;; | 
| 4482 | < | *BAR*) | 
| 4483 | < | ac_pat=`echo $ac_file | sed s/BAR/%MODULE%/` | 
| 4484 | < | ac_exists=false | 
| 4485 | < | for ac_i in $ac_cv_f90_module_names; do | 
| 4486 | < | if test x"$ac_pat" = x"$ac_i"; then | 
| 4487 | < | ac_exists=true | 
| 4488 | < | break | 
| 4489 | < | fi | 
| 4490 | < | done | 
| 4491 | < |  | 
| 4492 | < | if test x"$ac_exists" = xtrue; then | 
| 4493 | < | : | 
| 4494 | < | else | 
| 4495 | < | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4496 | < | fi | 
| 4497 | < |  | 
| 4498 | < | ;; | 
| 4499 | < | # Other files - we have no idea how they are generated | 
| 4500 | < | *) | 
| 4501 | < | { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5 | 
| 4502 | < | echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} | 
| 4503 | < | ;; | 
| 4504 | < | esac | 
| 4505 | < | done | 
| 4506 | < | if test "x$ac_cv_f90_module_names" = "x"; then | 
| 4507 | < | { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5 | 
| 4508 | < | echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 4509 | < | fi | 
| 4510 | < |  | 
| 4511 | < | else | 
| 4512 | < | echo "$as_me: failed program was:" >&5 | 
| 4513 | < | cat conftest.$ac_ext >&5 | 
| 4514 | < | ac_cv_f90_module_names= | 
| 4515 | < | { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5 | 
| 4516 | < | echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 4517 | < | fi | 
| 4518 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 4519 | < | cd .. | 
| 4520 | < | # cleanup | 
| 4521 | < | rm -rf conftest | 
| 4522 | < | ac_ext=f90 | 
| 4523 | < | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4524 | < | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4525 | < | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4526 | < |  | 
| 4527 | < | fi | 
| 4528 | < | echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5 | 
| 4529 | < | echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK | 
| 4530 | < |  | 
| 4531 | < | # We now generate a shell script that will help us to figure out the correct | 
| 4532 | < | # module file names, using the value of ac_cv_f90_module_names | 
| 4533 | < |  | 
| 4534 | < | echo "Generating shell script modnam" | 
| 4535 | < |  | 
| 4536 | < | cat > scripts/modnam << EOF | 
| 4537 | < | #! /bin/sh | 
| 4538 | < | # This script is auto-generated by configure | 
| 4539 | < | # | 
| 4540 | < | usage="\\ | 
| 4541 | < | Usage: \$0 [FILES] | 
| 4542 | < |  | 
| 4543 | < | [FILES] are Fortran 90 source files. | 
| 4544 | < | The output is a list of module file names that the Fortran 90 compiler | 
| 4545 | < | generates when compiling [FILES]." | 
| 4546 | < |  | 
| 4547 | < | list= | 
| 4548 | < | empty= | 
| 4549 | < |  | 
| 4550 | < | if test \$# -eq 0; then | 
| 4551 | < | echo "\$usage"; exit 0 | 
| 4552 | < | fi | 
| 4553 | < |  | 
| 4554 | < | while test \$# != 0; do | 
| 4555 | < |  | 
| 4556 | < | file=\$1 | 
| 4557 | < | shift | 
| 4558 | < |  | 
| 4559 | < | # strip suffix | 
| 4560 | < | base=\`echo \$file | sed 's/[.][^.]*$//'\` | 
| 4561 | < |  | 
| 4562 | < | test ! -f \$file && continue | 
| 4563 | < |  | 
| 4564 | < | # Look for module definitions and transform them to upper / lower case | 
| 4565 | < | mods=\`cat \$file | sed '/^ *[mM][oO][dD][uU][lL][eE]/!d;s/^ *[mM][oO][dD][uU][lL][eE] *\([A-Za-z_][A-Za-z0-9_]*\).*\$/\1/'\` | 
| 4566 | < | upper=\`echo \$mods | tr a-z A-Z\` | 
| 4567 | < | lower=\`echo \$mods | tr A-Z a-z\` | 
| 4568 | < |  | 
| 4569 | < | # Here, the patterns for generating module file names were inserted by configure | 
| 4570 | < | for trans in $ac_cv_f90_module_names; do | 
| 4571 | < |  | 
| 4572 | < | pat=\`echo \$trans | sed 's/.*\(%.*%\).*/\1/'\` | 
| 4573 | < | var=empty | 
| 4574 | < | case \$pat in | 
| 4575 | < | %MODULE%) | 
| 4576 | < | var=upper ;; | 
| 4577 | < | %Module%) | 
| 4578 | < | var=mods ;; | 
| 4579 | < | %module%) | 
| 4580 | < | var=lower ;; | 
| 4581 | < | %FILE%) | 
| 4582 | < | test -n "\$mods" && var=base ;; | 
| 4583 | < | esac | 
| 4584 | < | new=\`eval '(for i in \$'\$var '; do echo \$trans | sed s/\$pat/\$i/; done)'\` | 
| 4585 | < | list="\$list \$new" | 
| 4586 | < | done | 
| 4587 | < | done | 
| 4588 | < |  | 
| 4589 | < | echo \$list | 
| 4590 | < | # end of configure-generated script | 
| 4591 | < | EOF | 
| 4592 | < | chmod 755 scripts/modnam | 
| 4593 | < |  | 
| 4594 | < | pat=`echo $ac_cv_f90_module_names | sed 's/.*\(%.*%\).*/\1/'` | 
| 4595 | < | F90_MODULE_NAMES=empty | 
| 4596 | < | case $pat in | 
| 4597 | < | %MODULE%) | 
| 4598 | < | F90_MODULE_NAMES=UPPER ;; | 
| 4599 | < | %Module%) | 
| 4600 | < | F90_MODULE_NAMES=Mixed ;; | 
| 4601 | < | %module%) | 
| 4602 | < | F90_MODULE_NAMES=lower ;; | 
| 4603 | < | *) | 
| 4604 | < | F90_MODULE_NAMES=unknown ;; | 
| 4605 | < | esac | 
| 4606 | < |  | 
| 4607 | < | ac_ext=c | 
| 4608 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 4609 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4610 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4611 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4612 | < |  | 
| 4613 | < | ac_ext=c | 
| 4614 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 4615 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4616 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4617 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4618 | < |  | 
| 4619 | < | ac_ext=c | 
| 4620 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 4621 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4622 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4623 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4624 | < | echo "$as_me:3470: checking how to run the C preprocessor" >&5 | 
| 4625 | < | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
| 4626 | < | # On Suns, sometimes $CPP names a directory. | 
| 4627 | < | if test -n "$CPP" && test -d "$CPP"; then | 
| 4628 | < | CPP= | 
| 4629 | < | fi | 
| 4630 | < | if test -z "$CPP"; then | 
| 4631 | < | if test "${ac_cv_prog_CPP+set}" = set; then | 
| 4632 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4633 | < | else | 
| 4634 | < | # Double quotes because CPP needs to be expanded | 
| 4635 | < | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
| 4636 | < | do | 
| 4637 | < | # break 2 since there is a loop in there. | 
| 4638 | < | ac_preproc_ok=false | 
| 4639 | < | for ac_c_preproc_warn_flag in '' yes | 
| 4640 | < | do | 
| 4641 | < | # Use a header file that comes with gcc, so configuring glibc | 
| 4642 | < | # with a fresh cross-compiler works. | 
| 4643 | < | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 4644 | < | # not just through cpp. "Syntax error" is here to catch this case. | 
| 4645 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4646 | < | #line 3492 "configure" | 
| 4647 | < | #include "confdefs.h" | 
| 4648 | < | #include <assert.h> | 
| 4649 | < | Syntax error | 
| 4650 | < | _ACEOF | 
| 4651 | < | if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4652 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4653 | < | ac_status=$? | 
| 4654 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 4655 | < | rm -f conftest.er1 | 
| 4656 | < | cat conftest.err >&5 | 
| 4657 | < | echo "$as_me:3503: \$? = $ac_status" >&5 | 
| 4658 | < | (exit $ac_status); } >/dev/null; then | 
| 4659 | < | if test -s conftest.err; then | 
| 4660 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 4661 | < | else | 
| 4662 | < | ac_cpp_err= | 
| 4663 | < | fi | 
| 4664 | < | else | 
| 4665 | < | ac_cpp_err=yes | 
| 4666 | < | fi | 
| 4667 | < | if test -z "$ac_cpp_err"; then | 
| 4668 | < | : | 
| 4669 | < | else | 
| 4670 | < | echo "$as_me: failed program was:" >&5 | 
| 4671 | < | cat conftest.$ac_ext >&5 | 
| 4672 | < | # Broken: fails on valid input. | 
| 4673 | < | continue | 
| 4674 | < | fi | 
| 4675 | < | rm -f conftest.err conftest.$ac_ext | 
| 4676 | < |  | 
| 4677 | < | # OK, works on sane cases.  Now check whether non-existent headers | 
| 4678 | < | # can be detected and how. | 
| 4679 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4680 | < | #line 3526 "configure" | 
| 4681 | < | #include "confdefs.h" | 
| 4682 | < | #include <ac_nonexistent.h> | 
| 4683 | < | _ACEOF | 
| 4684 | < | if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4685 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4686 | < | ac_status=$? | 
| 4687 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 4688 | < | rm -f conftest.er1 | 
| 4689 | < | cat conftest.err >&5 | 
| 4690 | < | echo "$as_me:3536: \$? = $ac_status" >&5 | 
| 4691 | < | (exit $ac_status); } >/dev/null; then | 
| 4692 | < | if test -s conftest.err; then | 
| 4693 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 4694 | < | else | 
| 4695 | < | ac_cpp_err= | 
| 4696 | < | fi | 
| 4697 | < | else | 
| 4698 | < | ac_cpp_err=yes | 
| 4699 | < | fi | 
| 4700 | < | if test -z "$ac_cpp_err"; then | 
| 4701 | < | # Broken: success on invalid input. | 
| 4702 | < | continue | 
| 4703 | < | else | 
| 4704 | < | echo "$as_me: failed program was:" >&5 | 
| 4705 | < | cat conftest.$ac_ext >&5 | 
| 4706 | < | # Passes both tests. | 
| 4707 | < | ac_preproc_ok=: | 
| 4708 | < | break | 
| 4709 | < | fi | 
| 4710 | < | rm -f conftest.err conftest.$ac_ext | 
| 4711 | < |  | 
| 4712 | < | done | 
| 4713 | < | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4714 | < | rm -f conftest.err conftest.$ac_ext | 
| 4715 | < | if $ac_preproc_ok; then | 
| 4716 | < | break 2 | 
| 4717 | < | fi | 
| 4718 | < |  | 
| 4719 | < | done | 
| 4720 | < | ac_cv_prog_CPP=$CPP | 
| 4721 | < |  | 
| 4722 | < | fi | 
| 4723 | < | CPP=$ac_cv_prog_CPP | 
| 4724 | < | else | 
| 4725 | < | ac_cv_prog_CPP=$CPP | 
| 4726 | < | fi | 
| 4727 | < | echo "$as_me:3573: result: $CPP" >&5 | 
| 4728 | < | echo "${ECHO_T}$CPP" >&6 | 
| 4729 | < | ac_preproc_ok=false | 
| 4730 | < | for ac_c_preproc_warn_flag in '' yes | 
| 4731 | < | do | 
| 4732 | < | # Use a header file that comes with gcc, so configuring glibc | 
| 4733 | < | # with a fresh cross-compiler works. | 
| 4734 | < | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 4735 | < | # not just through cpp. "Syntax error" is here to catch this case. | 
| 4736 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4737 | < | #line 3583 "configure" | 
| 4738 | < | #include "confdefs.h" | 
| 4739 | < | #include <assert.h> | 
| 4740 | < | Syntax error | 
| 4741 | < | _ACEOF | 
| 4742 | < | if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4743 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4744 | < | ac_status=$? | 
| 4745 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 4746 | < | rm -f conftest.er1 | 
| 4747 | < | cat conftest.err >&5 | 
| 4748 | < | echo "$as_me:3594: \$? = $ac_status" >&5 | 
| 4749 | < | (exit $ac_status); } >/dev/null; then | 
| 4750 | < | if test -s conftest.err; then | 
| 4751 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 4752 | < | else | 
| 4753 | < | ac_cpp_err= | 
| 4754 | < | fi | 
| 4755 | < | else | 
| 4756 | < | ac_cpp_err=yes | 
| 4757 | < | fi | 
| 4758 | < | if test -z "$ac_cpp_err"; then | 
| 4759 | < | : | 
| 4760 | < | else | 
| 4761 | < | echo "$as_me: failed program was:" >&5 | 
| 4762 | < | cat conftest.$ac_ext >&5 | 
| 4763 | < | # Broken: fails on valid input. | 
| 4764 | < | continue | 
| 4765 | < | fi | 
| 4766 | < | rm -f conftest.err conftest.$ac_ext | 
| 4767 | < |  | 
| 4768 | < | # OK, works on sane cases.  Now check whether non-existent headers | 
| 4769 | < | # can be detected and how. | 
| 4770 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4771 | < | #line 3617 "configure" | 
| 4772 | < | #include "confdefs.h" | 
| 4773 | < | #include <ac_nonexistent.h> | 
| 4774 | < | _ACEOF | 
| 4775 | < | if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4776 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4777 | < | ac_status=$? | 
| 4778 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 4779 | < | rm -f conftest.er1 | 
| 4780 | < | cat conftest.err >&5 | 
| 4781 | < | echo "$as_me:3627: \$? = $ac_status" >&5 | 
| 4782 | < | (exit $ac_status); } >/dev/null; then | 
| 4783 | < | if test -s conftest.err; then | 
| 4784 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 4785 | < | else | 
| 4786 | < | ac_cpp_err= | 
| 4787 | < | fi | 
| 4788 | < | else | 
| 4789 | < | ac_cpp_err=yes | 
| 4790 | < | fi | 
| 4791 | < | if test -z "$ac_cpp_err"; then | 
| 4792 | < | # Broken: success on invalid input. | 
| 4793 | < | continue | 
| 4794 | < | else | 
| 4795 | < | echo "$as_me: failed program was:" >&5 | 
| 4796 | < | cat conftest.$ac_ext >&5 | 
| 4797 | < | # Passes both tests. | 
| 4798 | < | ac_preproc_ok=: | 
| 4799 | < | break | 
| 4800 | < | fi | 
| 4801 | < | rm -f conftest.err conftest.$ac_ext | 
| 4802 | < |  | 
| 4803 | < | done | 
| 4804 | < | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4805 | < | rm -f conftest.err conftest.$ac_ext | 
| 4806 | < | if $ac_preproc_ok; then | 
| 4807 | < | : | 
| 4808 | < | else | 
| 4809 | < | { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 
| 4810 | < | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 
| 4811 | < | { (exit 1); exit 1; }; } | 
| 4812 | < | fi | 
| 4813 | < |  | 
| 4814 | < | ac_ext=c | 
| 4815 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 4816 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4817 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4818 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4819 | < |  | 
| 4820 | < | 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 | 
| 4821 | < | do | 
| 4822 | < | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 
| 4823 | < | echo "$as_me:3669: checking for $ac_header" >&5 | 
| 4824 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 4825 | < | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 
| 4826 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4827 | < | else | 
| 4828 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4829 | < | #line 3675 "configure" | 
| 4830 | < | #include "confdefs.h" | 
| 4831 | < | #include <$ac_header> | 
| 4832 | < | _ACEOF | 
| 4833 | < | if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4834 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4835 | < | ac_status=$? | 
| 4836 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 4837 | < | rm -f conftest.er1 | 
| 4838 | < | cat conftest.err >&5 | 
| 4839 | < | echo "$as_me:3685: \$? = $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 | < | else | 
| 4844 | < | ac_cpp_err= | 
| 4845 | < | fi | 
| 4846 | < | else | 
| 4847 | < | ac_cpp_err=yes | 
| 4848 | < | fi | 
| 4849 | < | if test -z "$ac_cpp_err"; then | 
| 4850 | < | eval "$ac_ac_Header=yes" | 
| 4851 | < | else | 
| 4852 | < | echo "$as_me: failed program was:" >&5 | 
| 4853 | < | cat conftest.$ac_ext >&5 | 
| 4854 | < | eval "$ac_ac_Header=no" | 
| 4855 | < | fi | 
| 4856 | < | rm -f conftest.err conftest.$ac_ext | 
| 4857 | < | fi | 
| 4858 | < | echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 
| 4859 | < | echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 
| 4860 | < | if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 
| 4861 | < | cat >>confdefs.h <<EOF | 
| 4862 | < | #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 
| 4863 | < | EOF | 
| 4864 | < |  | 
| 4865 | < | fi | 
| 4866 | < | done | 
| 4867 | < |  | 
| 4868 | < | for ac_func in pstat_getstatic sysmp getsysinfo sysctl table | 
| 4869 | < | do | 
| 4870 | < | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 
| 4871 | < | echo "$as_me:3717: checking for $ac_func" >&5 | 
| 4872 | < | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
| 4873 | < | if eval "test \"\${$ac_ac_var+set}\" = set"; then | 
| 4874 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4875 | < | else | 
| 4876 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4877 | < | #line 3723 "configure" | 
| 4878 | < | #include "confdefs.h" | 
| 4879 | < | /* System header to define __stub macros and hopefully few prototypes, | 
| 4880 | < | which can conflict with char $ac_func (); below.  */ | 
| 4881 | < | #include <assert.h> | 
| 4882 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 4883 | < | #ifdef __cplusplus | 
| 4884 | < | extern "C" | 
| 4885 | < | #endif | 
| 4886 | < | /* We use char because int might match the return type of a gcc2 | 
| 4887 | < | builtin and then its argument prototype would still apply.  */ | 
| 4888 | < | char $ac_func (); | 
| 4889 | < | char (*f) (); | 
| 4890 | < |  | 
| 4891 | < | int | 
| 4892 | < | main () | 
| 4893 | < | { | 
| 4894 | < | /* The GNU C library defines this for functions which it implements | 
| 4895 | < | to always fail with ENOSYS.  Some functions are actually named | 
| 4896 | < | something starting with __ and the normal name is an alias.  */ | 
| 4897 | < | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
| 4898 | < | choke me | 
| 4899 | < | #else | 
| 4900 | < | f = $ac_func; | 
| 4901 | < | #endif | 
| 4902 | < |  | 
| 4903 | < | ; | 
| 4904 | < | return 0; | 
| 4905 | < | } | 
| 4906 | < | _ACEOF | 
| 4907 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4908 | < | if { (eval echo "$as_me:3754: \"$ac_link\"") >&5 | 
| 4909 | < | (eval $ac_link) 2>&5 | 
| 4910 | < | ac_status=$? | 
| 4911 | < | echo "$as_me:3757: \$? = $ac_status" >&5 | 
| 4912 | < | (exit $ac_status); } && | 
| 4913 | < | { ac_try='test -s conftest$ac_exeext' | 
| 4914 | < | { (eval echo "$as_me:3760: \"$ac_try\"") >&5 | 
| 4915 | < | (eval $ac_try) 2>&5 | 
| 4916 | < | ac_status=$? | 
| 4917 | < | echo "$as_me:3763: \$? = $ac_status" >&5 | 
| 4918 | < | (exit $ac_status); }; }; then | 
| 4919 | < | eval "$ac_ac_var=yes" | 
| 4920 | < | else | 
| 4921 | < | echo "$as_me: failed program was:" >&5 | 
| 4922 | < | cat conftest.$ac_ext >&5 | 
| 4923 | < | eval "$ac_ac_var=no" | 
| 4924 | < | fi | 
| 4925 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 4926 | < | fi | 
| 4927 | < | echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 
| 4928 | < | echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 
| 4929 | < | if test `eval echo '${'$ac_ac_var'}'` = yes; then | 
| 4930 | < | cat >>confdefs.h <<EOF | 
| 4931 | < | #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 
| 4932 | < | EOF | 
| 4933 | < |  | 
| 4934 | < | fi | 
| 4935 | < | done | 
| 4936 | < |  | 
| 4937 | < | # special check for _system_configuration because AIX <4.3.2 do not | 
| 4938 | < | # contain the `physmem' member. | 
| 4939 | < | echo "$as_me:3785: checking for external symbol _system_configuration" >&5 | 
| 4940 | < | echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 | 
| 4941 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4942 | < | #line 3788 "configure" | 
| 4943 | < | #include "confdefs.h" | 
| 4944 | < | #include <sys/systemcfg.h> | 
| 4945 | < | int | 
| 4946 | < | main () | 
| 4947 | < | { | 
| 4948 | < | double x = _system_configuration.physmem; | 
| 4949 | < | ; | 
| 4950 | < | return 0; | 
| 4951 | < | } | 
| 4952 | < | _ACEOF | 
| 4953 | < | rm -f conftest.$ac_objext | 
| 4954 | < | if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5 | 
| 4955 | < | (eval $ac_compile) 2>&5 | 
| 4956 | < | ac_status=$? | 
| 4957 | < | echo "$as_me:3803: \$? = $ac_status" >&5 | 
| 4958 | < | (exit $ac_status); } && | 
| 4959 | < | { ac_try='test -s conftest.$ac_objext' | 
| 4960 | < | { (eval echo "$as_me:3806: \"$ac_try\"") >&5 | 
| 4961 | < | (eval $ac_try) 2>&5 | 
| 4962 | < | ac_status=$? | 
| 4963 | < | echo "$as_me:3809: \$? = $ac_status" >&5 | 
| 4964 | < | (exit $ac_status); }; }; then | 
| 4965 | < | echo "$as_me:3811: result: yes" >&5 | 
| 4966 | < | echo "${ECHO_T}yes" >&6 | 
| 4967 | < |  | 
| 4968 | < | cat >>confdefs.h <<\EOF | 
| 4969 | < | #define HAVE__SYSTEM_CONFIGURATION 1 | 
| 4970 | < | EOF | 
| 4971 | < |  | 
| 4972 | < | else | 
| 4973 | < | echo "$as_me: failed program was:" >&5 | 
| 4974 | < | cat conftest.$ac_ext >&5 | 
| 4975 | < | echo "$as_me:3821: result: no" >&5 | 
| 4976 | < | echo "${ECHO_T}no" >&6 | 
| 4977 | < | fi | 
| 4978 | < | rm -f conftest.$ac_objext conftest.$ac_ext | 
| 4979 | < |  | 
| 4980 | < | # clean out junk possibly left behind by a previous configuration | 
| 4981 | < | rm -f src/getopt.h | 
| 4982 | < | # Check for getopt_long support | 
| 4983 | < |  | 
| 4984 | < | for ac_header in getopt.h | 
| 4985 | < | do | 
| 4986 | < | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` | 
| 4987 | < | echo "$as_me:3833: checking for $ac_header" >&5 | 
| 4988 | < | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 4989 | < | if eval "test \"\${$ac_ac_Header+set}\" = set"; then | 
| 4990 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4991 | < | else | 
| 4992 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 4993 | < | #line 3839 "configure" | 
| 4994 | < | #include "confdefs.h" | 
| 4995 | < | #include <$ac_header> | 
| 4996 | < | _ACEOF | 
| 4997 | < | if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4998 | < | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4999 | < | ac_status=$? | 
| 5000 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 5001 | < | rm -f conftest.er1 | 
| 5002 | < | cat conftest.err >&5 | 
| 5003 | < | echo "$as_me:3849: \$? = $ac_status" >&5 | 
| 5004 | < | (exit $ac_status); } >/dev/null; then | 
| 5005 | < | if test -s conftest.err; then | 
| 5006 | < | ac_cpp_err=$ac_c_preproc_warn_flag | 
| 5007 | < | else | 
| 5008 | < | ac_cpp_err= | 
| 5009 | < | fi | 
| 5010 | < | else | 
| 5011 | < | ac_cpp_err=yes | 
| 5012 | < | fi | 
| 5013 | < | if test -z "$ac_cpp_err"; then | 
| 5014 | < | eval "$ac_ac_Header=yes" | 
| 5015 | < | else | 
| 5016 | < | echo "$as_me: failed program was:" >&5 | 
| 5017 | < | cat conftest.$ac_ext >&5 | 
| 5018 | < | eval "$ac_ac_Header=no" | 
| 5019 | < | fi | 
| 5020 | < | rm -f conftest.err conftest.$ac_ext | 
| 5021 | < | fi | 
| 5022 | < | echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5 | 
| 5023 | < | echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 | 
| 5024 | < | if test `eval echo '${'$ac_ac_Header'}'` = yes; then | 
| 5025 | < | cat >>confdefs.h <<EOF | 
| 5026 | < | #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1 | 
| 5027 | < | EOF | 
| 3408 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3409 | > | for as_dir in $PATH | 
| 3410 | > | do | 
| 3411 | > | IFS=$as_save_IFS | 
| 3412 | > | test -z "$as_dir" && as_dir=. | 
| 3413 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3414 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3415 | > | ac_cv_prog_F90="$ac_tool_prefix$ac_prog" | 
| 3416 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3417 | > | break 2 | 
| 3418 | > | fi | 
| 3419 | > | done | 
| 3420 | > | done | 
| 3421 | > |  | 
| 3422 | > | fi | 
| 3423 | > | fi | 
| 3424 | > | F90=$ac_cv_prog_F90 | 
| 3425 | > | if test -n "$F90"; then | 
| 3426 | > | echo "$as_me:$LINENO: result: $F90" >&5 | 
| 3427 | > | echo "${ECHO_T}$F90" >&6 | 
| 3428 | > | else | 
| 3429 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3430 | > | echo "${ECHO_T}no" >&6 | 
| 3431 | > | fi | 
| 3432 | > |  | 
| 3433 | > | test -n "$F90" && break | 
| 3434 | > | done | 
| 3435 | > | fi | 
| 3436 | > | if test -z "$F90"; then | 
| 3437 | > | ac_ct_F90=$F90 | 
| 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 | 
| 3442 | > | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
| 3443 | > | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
| 3444 | > | if test "${ac_cv_prog_ac_ct_F90+set}" = set; then | 
| 3445 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3446 | > | else | 
| 3447 | > | if test -n "$ac_ct_F90"; then | 
| 3448 | > | ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test. | 
| 3449 | > | else | 
| 3450 | > | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| 3451 | > | for as_dir in $PATH | 
| 3452 | > | do | 
| 3453 | > | IFS=$as_save_IFS | 
| 3454 | > | test -z "$as_dir" && as_dir=. | 
| 3455 | > | for ac_exec_ext in '' $ac_executable_extensions; do | 
| 3456 | > | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
| 3457 | > | ac_cv_prog_ac_ct_F90="$ac_prog" | 
| 3458 | > | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| 3459 | > | break 2 | 
| 3460 | > | fi | 
| 3461 | > | done | 
| 3462 | > | done | 
| 3463 | > |  | 
| 3464 | > | fi | 
| 3465 | > | fi | 
| 3466 | > | ac_ct_F90=$ac_cv_prog_ac_ct_F90 | 
| 3467 | > | if test -n "$ac_ct_F90"; then | 
| 3468 | > | echo "$as_me:$LINENO: result: $ac_ct_F90" >&5 | 
| 3469 | > | echo "${ECHO_T}$ac_ct_F90" >&6 | 
| 3470 | > | else | 
| 3471 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3472 | > | echo "${ECHO_T}no" >&6 | 
| 3473 | > | fi | 
| 3474 | > |  | 
| 3475 | > | test -n "$ac_ct_F90" && break | 
| 3476 | > | done | 
| 3477 | > |  | 
| 3478 | > | F90=$ac_ct_F90 | 
| 3479 | > | fi | 
| 3480 | > |  | 
| 3481 | > |  | 
| 3482 | > | # If we don't use `.F90' as extension, the preprocessor is not run on the | 
| 3483 | > | # input file. | 
| 3484 | > | ac_save_ext=$ac_ext | 
| 3485 | > | ac_ext=F90 | 
| 3486 | > | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5 | 
| 3487 | > | echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6 | 
| 3488 | > | if test "${ac_cv_f90_compiler_gnu+set}" = set; then | 
| 3489 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3490 | > | else | 
| 3491 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3492 | > |  | 
| 3493 | > | program main | 
| 3494 | > |  | 
| 3495 | > | #ifndef __GNUC__ | 
| 3496 | > | choke me | 
| 3497 | > | #endif | 
| 3498 | > |  | 
| 3499 | > | end program main | 
| 3500 | > |  | 
| 3501 | > | _ACEOF | 
| 3502 | > | rm -f conftest.$ac_objext | 
| 3503 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3504 | > | (eval $ac_compile) 2>conftest.er1 | 
| 3505 | > | ac_status=$? | 
| 3506 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3507 | > | rm -f conftest.er1 | 
| 3508 | > | cat conftest.err >&5 | 
| 3509 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3510 | > | (exit $ac_status); } && | 
| 3511 | > | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3512 | > | || test ! -s conftest.err' | 
| 3513 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3514 | > | (eval $ac_try) 2>&5 | 
| 3515 | > | ac_status=$? | 
| 3516 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3517 | > | (exit $ac_status); }; } && | 
| 3518 | > | { ac_try='test -s conftest.$ac_objext' | 
| 3519 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3520 | > | (eval $ac_try) 2>&5 | 
| 3521 | > | ac_status=$? | 
| 3522 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3523 | > | (exit $ac_status); }; }; then | 
| 3524 | > | ac_compiler_gnu=yes | 
| 3525 | > | else | 
| 3526 | > | echo "$as_me: failed program was:" >&5 | 
| 3527 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3528 | > |  | 
| 3529 | > | ac_compiler_gnu=no | 
| 3530 | > | fi | 
| 3531 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3532 | > | ac_cv_f90_compiler_gnu=$ac_compiler_gnu | 
| 3533 | > |  | 
| 3534 | > | fi | 
| 3535 | > | echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5 | 
| 3536 | > | echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6 | 
| 3537 | > | ac_ext=$ac_save_ext | 
| 3538 | > | G95=`test $ac_compiler_gnu = yes && echo yes` | 
| 3539 | > | ac_ext=c | 
| 3540 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 3541 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3542 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3543 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3544 | > |  | 
| 3545 | > |  | 
| 3546 | > |  | 
| 3547 | > |  | 
| 3548 | > |  | 
| 3549 | > | # Try to determine native compiler flags that allow us to use F90 suffix | 
| 3550 | > | # for preprocessed f90 source. | 
| 3551 | > |  | 
| 3552 | > | if test "$ac_test_PREPFLAG" != "set"; then | 
| 3553 | > | PREPFLAG="" | 
| 3554 | > | case "${host_cpu}-${host_os}" in | 
| 3555 | > |  | 
| 3556 | > | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 3557 | > | PREPFLAG="-fpp1 " | 
| 3558 | > | fi;; | 
| 3559 | > | *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 3560 | > | PREPFLAG="-qsuffix=cpp=F90 " | 
| 3561 | > | fi;; | 
| 3562 | > | *darwin*) | 
| 3563 | > | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 3564 | > | PREPFLAG="-qsuffix=cpp=F90 " | 
| 3565 | > | fi;; | 
| 3566 | > | esac | 
| 3567 | > |  | 
| 3568 | > | if test -z "$PREPFLAG"; then | 
| 3569 | > | { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5 | 
| 3570 | > | echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;} | 
| 3571 | > | PREPFLAG="" | 
| 3572 | > | fi | 
| 3573 | > |  | 
| 3574 | > | echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 | 
| 3575 | > | echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 | 
| 3576 | > |  | 
| 3577 | > |  | 
| 3578 | > | ac_ext=f90 | 
| 3579 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3580 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3581 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3582 | > |  | 
| 3583 | > | ac_save_ext=$ac_ext | 
| 3584 | > | ac_ext=F90 | 
| 3585 | > | ac_save_F90FLAGS=$F90FLAGS | 
| 3586 | > |  | 
| 3587 | > | if test "$PREPFLAG"; then | 
| 3588 | > | F90FLAGS="${F90FLAGS} ${PREPFLAG}-DTEST" | 
| 3589 | > | fi | 
| 3590 | > |  | 
| 3591 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3592 | > |  | 
| 3593 | > |  | 
| 3594 | > | program main | 
| 3595 | > |  | 
| 3596 | > | integer :: i | 
| 3597 | > | i = 1 | 
| 3598 | > |  | 
| 3599 | > |  | 
| 3600 | > | end program main | 
| 3601 | > |  | 
| 3602 | > | _ACEOF | 
| 3603 | > | rm -f conftest.$ac_objext | 
| 3604 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3605 | > | (eval $ac_compile) 2>conftest.er1 | 
| 3606 | > | ac_status=$? | 
| 3607 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3608 | > | rm -f conftest.er1 | 
| 3609 | > | cat conftest.err >&5 | 
| 3610 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3611 | > | (exit $ac_status); } && | 
| 3612 | > | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3613 | > | || test ! -s conftest.err' | 
| 3614 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3615 | > | (eval $ac_try) 2>&5 | 
| 3616 | > | ac_status=$? | 
| 3617 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3618 | > | (exit $ac_status); }; } && | 
| 3619 | > | { ac_try='test -s conftest.$ac_objext' | 
| 3620 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3621 | > | (eval $ac_try) 2>&5 | 
| 3622 | > | ac_status=$? | 
| 3623 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3624 | > | (exit $ac_status); }; }; then | 
| 3625 | > | prepflagworks=1 | 
| 3626 | > | else | 
| 3627 | > | echo "$as_me: failed program was:" >&5 | 
| 3628 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3629 | > |  | 
| 3630 | > | prepflagworks=0 | 
| 3631 | > | fi | 
| 3632 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3633 | > |  | 
| 3634 | > | F90FLAGS=$ac_save_F90FLAGS | 
| 3635 | > | ac_ext=$ac_save_ext | 
| 3636 | > | ac_ext=c | 
| 3637 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 3638 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3639 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3640 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3641 | > |  | 
| 3642 | > |  | 
| 3643 | > | if test "$prepflagworks" = 1; then | 
| 3644 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3645 | > | echo "${ECHO_T}yes" >&6 | 
| 3646 | > |  | 
| 3647 | > | else | 
| 3648 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3649 | > | echo "${ECHO_T}no" >&6 | 
| 3650 | > | { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 | 
| 3651 | > | echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} | 
| 3652 | > | { (exit 1); exit 1; }; } | 
| 3653 | > | fi | 
| 3654 | > | fi | 
| 3655 | > |  | 
| 3656 | > |  | 
| 3657 | > |  | 
| 3658 | > |  | 
| 3659 | > |  | 
| 3660 | > | # Try to determine native compiler flags that allow us to use F90 suffix | 
| 3661 | > | # for preprocessed f90 source with -D type defines | 
| 3662 | > |  | 
| 3663 | > | if test "$ac_test_PREPDEFFLAG" != "set"; then | 
| 3664 | > | PREPDEFFLAG="" | 
| 3665 | > | case "${host_cpu}-${host_os}" in | 
| 3666 | > |  | 
| 3667 | > | *linux*) if test "$F90" = ifc -o "$F90" = ifort; then | 
| 3668 | > | PREPDEFFLAG=" " | 
| 3669 | > | fi;; | 
| 3670 | > | *aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then | 
| 3671 | > | PREPDEFFLAG="-WF," | 
| 3672 | > | fi;; | 
| 3673 | > | *darwin*) | 
| 3674 | > | if test "$F90" = f90 -o "$F90" = xlf90; then | 
| 3675 | > | PREPDEFFLAG="-WF," | 
| 3676 | > | fi;; | 
| 3677 | > | esac | 
| 3678 | > |  | 
| 3679 | > | if test -z "$PREPDEFFLAG"; then | 
| 3680 | > | { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5 | 
| 3681 | > | echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;} | 
| 3682 | > | PREPDEFFLAG=" " | 
| 3683 | > | fi | 
| 3684 | > |  | 
| 3685 | > | echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 | 
| 3686 | > | echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 | 
| 3687 | > |  | 
| 3688 | > |  | 
| 3689 | > | ac_ext=f90 | 
| 3690 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3691 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3692 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3693 | > |  | 
| 3694 | > | ac_save_ext=$ac_ext | 
| 3695 | > | ac_ext=F90 | 
| 3696 | > | ac_save_F90FLAGS=$F90FLAGS | 
| 3697 | > |  | 
| 3698 | > | if test "$PREPDEFFLAG"; then | 
| 3699 | > | F90FLAGS="${F90FLAGS} ${PREPFLAG} ${PREPDEFFLAG}-DTEST" | 
| 3700 | > | fi | 
| 3701 | > |  | 
| 3702 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3703 | > |  | 
| 3704 | > |  | 
| 3705 | > | program main | 
| 3706 | > |  | 
| 3707 | > | integer :: i | 
| 3708 | > | #ifdef TEST | 
| 3709 | > | i = 1 | 
| 3710 | > | #else | 
| 3711 | > | choke me | 
| 3712 | > | #endif | 
| 3713 | > |  | 
| 3714 | > |  | 
| 3715 | > | end program main | 
| 3716 | > |  | 
| 3717 | > | _ACEOF | 
| 3718 | > | rm -f conftest.$ac_objext | 
| 3719 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3720 | > | (eval $ac_compile) 2>conftest.er1 | 
| 3721 | > | ac_status=$? | 
| 3722 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3723 | > | rm -f conftest.er1 | 
| 3724 | > | cat conftest.err >&5 | 
| 3725 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3726 | > | (exit $ac_status); } && | 
| 3727 | > | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3728 | > | || test ! -s conftest.err' | 
| 3729 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3730 | > | (eval $ac_try) 2>&5 | 
| 3731 | > | ac_status=$? | 
| 3732 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3733 | > | (exit $ac_status); }; } && | 
| 3734 | > | { ac_try='test -s conftest.$ac_objext' | 
| 3735 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3736 | > | (eval $ac_try) 2>&5 | 
| 3737 | > | ac_status=$? | 
| 3738 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3739 | > | (exit $ac_status); }; }; then | 
| 3740 | > | prepdefflagworks=1 | 
| 3741 | > | else | 
| 3742 | > | echo "$as_me: failed program was:" >&5 | 
| 3743 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3744 | > |  | 
| 3745 | > | prepdefflagworks=0 | 
| 3746 | > | fi | 
| 3747 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3748 | > |  | 
| 3749 | > | F90FLAGS=$ac_save_F90FLAGS | 
| 3750 | > | ac_ext=$ac_save_ext | 
| 3751 | > | ac_ext=c | 
| 3752 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 3753 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 3754 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3755 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 3756 | > |  | 
| 3757 | > |  | 
| 3758 | > |  | 
| 3759 | > | if test "$prepdefflagworks" = 1; then | 
| 3760 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 3761 | > | echo "${ECHO_T}yes" >&6 | 
| 3762 | > |  | 
| 3763 | > | else | 
| 3764 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 3765 | > | echo "${ECHO_T}no" >&6 | 
| 3766 | > | { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 | 
| 3767 | > | echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} | 
| 3768 | > | { (exit 1); exit 1; }; } | 
| 3769 | > | fi | 
| 3770 | > | fi | 
| 3771 | > |  | 
| 3772 | > | ac_ext=f90 | 
| 3773 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3774 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3775 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3776 | > |  | 
| 3777 | > |  | 
| 3778 | > |  | 
| 3779 | > | ac_ext=f90 | 
| 3780 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3781 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3782 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3783 | > | echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5 | 
| 3784 | > | echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6 | 
| 3785 | > | if test "${ac_cv_prog_f90_v+set}" = set; then | 
| 3786 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3787 | > | else | 
| 3788 | > |  | 
| 3789 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3790 | > |  | 
| 3791 | > | program main | 
| 3792 | > |  | 
| 3793 | > |  | 
| 3794 | > | end program main | 
| 3795 | > |  | 
| 3796 | > | _ACEOF | 
| 3797 | > | rm -f conftest.$ac_objext | 
| 3798 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 3799 | > | (eval $ac_compile) 2>conftest.er1 | 
| 3800 | > | ac_status=$? | 
| 3801 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 3802 | > | rm -f conftest.er1 | 
| 3803 | > | cat conftest.err >&5 | 
| 3804 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3805 | > | (exit $ac_status); } && | 
| 3806 | > | { ac_try='test -z "$ac_f90_werror_flag" | 
| 3807 | > | || test ! -s conftest.err' | 
| 3808 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3809 | > | (eval $ac_try) 2>&5 | 
| 3810 | > | ac_status=$? | 
| 3811 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3812 | > | (exit $ac_status); }; } && | 
| 3813 | > | { ac_try='test -s conftest.$ac_objext' | 
| 3814 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 3815 | > | (eval $ac_try) 2>&5 | 
| 3816 | > | ac_status=$? | 
| 3817 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 3818 | > | (exit $ac_status); }; }; then | 
| 3819 | > | ac_cv_prog_f90_v= | 
| 3820 | > | # Try some options frequently used verbose output | 
| 3821 | > | for ac_verb in -v -verbose --verbose -V -\#\#\#; do | 
| 3822 | > | ac_ext=f90 | 
| 3823 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3824 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3825 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3826 | > |  | 
| 3827 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3828 | > |  | 
| 3829 | > | program main | 
| 3830 | > |  | 
| 3831 | > |  | 
| 3832 | > | end program main | 
| 3833 | > |  | 
| 3834 | > | _ACEOF | 
| 3835 | > |  | 
| 3836 | > | # Compile and link our simple test program by passing a flag (argument | 
| 3837 | > | # 1 to this macro) to the Fortran 90 compiler in order to get | 
| 3838 | > | # "verbose" output that we can then parse for the Fortran 90 linker | 
| 3839 | > | # flags. | 
| 3840 | > | ac_save_F90FLAGS=$F90FLAGS | 
| 3841 | > | F90FLAGS="$F90FLAGS $ac_verb" | 
| 3842 | > |  | 
| 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 | 
| 3847 | > |  | 
| 3848 | > | rm -f conftest.* | 
| 3849 | > | ac_ext=f90 | 
| 3850 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3851 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3852 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3853 | > |  | 
| 3854 | > | # If we are using xlf then replace all the commas with spaces. | 
| 3855 | > | if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then | 
| 3856 | > | ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'` | 
| 3857 | > | fi | 
| 3858 | > |  | 
| 3859 | > | # If we are using Cray Fortran then delete quotes. | 
| 3860 | > | # Use "\"" instead of '"' for font-lock-mode. | 
| 3861 | > | # FIXME: a more general fix for quoted arguments with spaces? | 
| 3862 | > | if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then | 
| 3863 | > | ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"` | 
| 3864 | > | fi | 
| 3865 | > | # look for -l* and *.a constructs in the output | 
| 3866 | > | for ac_arg in $ac_f90_v_output; do | 
| 3867 | > | case $ac_arg in | 
| 3868 | > | [\\/]*.a | ?:[\\/]*.a | -[lLRu]*) | 
| 3869 | > | ac_cv_prog_f90_v=$ac_verb | 
| 3870 | > | break 2 ;; | 
| 3871 | > | esac | 
| 3872 | > | done | 
| 3873 | > | done | 
| 3874 | > | if test -z "$ac_cv_prog_f90_v"; then | 
| 3875 | > | { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5 | 
| 3876 | > | echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;} | 
| 3877 | > | fi | 
| 3878 | > | else | 
| 3879 | > | echo "$as_me: failed program was:" >&5 | 
| 3880 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 3881 | > |  | 
| 3882 | > | { echo "$as_me:$LINENO: WARNING: compilation failed" >&5 | 
| 3883 | > | echo "$as_me: WARNING: compilation failed" >&2;} | 
| 3884 | > | fi | 
| 3885 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 3886 | > |  | 
| 3887 | > | fi | 
| 3888 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5 | 
| 3889 | > | echo "${ECHO_T}$ac_cv_prog_f90_v" >&6 | 
| 3890 | > | echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5 | 
| 3891 | > | echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6 | 
| 3892 | > | if test "${ac_cv_flibs+set}" = set; then | 
| 3893 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 3894 | > | else | 
| 3895 | > | if test "x$F90LIBS" != "x"; then | 
| 3896 | > | ac_cv_f90libs="$F90LIBS" # Let the user override the test. | 
| 3897 | > | else | 
| 3898 | > |  | 
| 3899 | > | ac_ext=f90 | 
| 3900 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3901 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3902 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3903 | > |  | 
| 3904 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 3905 | > |  | 
| 3906 | > | program main | 
| 3907 | > |  | 
| 3908 | > |  | 
| 3909 | > | end program main | 
| 3910 | > |  | 
| 3911 | > | _ACEOF | 
| 3912 | > |  | 
| 3913 | > | # Compile and link our simple test program by passing a flag (argument | 
| 3914 | > | # 1 to this macro) to the Fortran 90 compiler in order to get | 
| 3915 | > | # "verbose" output that we can then parse for the Fortran 90 linker | 
| 3916 | > | # flags. | 
| 3917 | > | ac_save_F90FLAGS=$F90FLAGS | 
| 3918 | > | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v" | 
| 3919 | > |  | 
| 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 | 
| 3924 | > |  | 
| 3925 | > | rm -f conftest.* | 
| 3926 | > | ac_ext=f90 | 
| 3927 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 3928 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 3929 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 3930 | > |  | 
| 3931 | > | # If we are using xlf then replace all the commas with spaces. | 
| 3932 | > | if echo $ac_f90_v_output | grep xlfentry >/dev/null 2>&1; then | 
| 3933 | > | ac_f90_v_output=`echo $ac_f90_v_output | sed 's/,/ /g'` | 
| 3934 | > | fi | 
| 3935 | > |  | 
| 3936 | > | # If we are using Cray Fortran then delete quotes. | 
| 3937 | > | # Use "\"" instead of '"' for font-lock-mode. | 
| 3938 | > | # FIXME: a more general fix for quoted arguments with spaces? | 
| 3939 | > | if echo $ac_f90_v_output | grep cft90 >/dev/null 2>&1; then | 
| 3940 | > | ac_f90_v_output=`echo $ac_f90_v_output | sed "s/\"//g"` | 
| 3941 | > | fi | 
| 3942 | > |  | 
| 3943 | > | ac_cv_f90libs= | 
| 3944 | > |  | 
| 3945 | > | # Save positional arguments (if any) | 
| 3946 | > | ac_save_positional="$@" | 
| 3947 | > |  | 
| 3948 | > | set X $ac_f90_v_output | 
| 3949 | > | while test $# != 1; do | 
| 3950 | > | shift | 
| 3951 | > | ac_arg=$1 | 
| 3952 | > | case $ac_arg in | 
| 3953 | > | [\\/]*.a | ?:[\\/]*.a) | 
| 3954 | > | ac_exists=false | 
| 3955 | > | for ac_i in $ac_cv_f90libs; do | 
| 3956 | > | if test x"$ac_arg" = x"$ac_i"; then | 
| 3957 | > | ac_exists=true | 
| 3958 | > | break | 
| 3959 | > | fi | 
| 3960 | > | done | 
| 3961 | > |  | 
| 3962 | > | if test x"$ac_exists" = xtrue; then | 
| 3963 | > | : | 
| 3964 | > | else | 
| 3965 | > | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3966 | > | fi | 
| 3967 | > |  | 
| 3968 | > | ;; | 
| 3969 | > | -bI:*) | 
| 3970 | > | ac_exists=false | 
| 3971 | > | for ac_i in $ac_cv_f90libs; do | 
| 3972 | > | if test x"$ac_arg" = x"$ac_i"; then | 
| 3973 | > | ac_exists=true | 
| 3974 | > | break | 
| 3975 | > | fi | 
| 3976 | > | done | 
| 3977 | > |  | 
| 3978 | > | if test x"$ac_exists" = xtrue; then | 
| 3979 | > | : | 
| 3980 | > | else | 
| 3981 | > | if test "$ac_compiler_gnu" = yes; then | 
| 3982 | > | for ac_link_opt in $ac_arg; do | 
| 3983 | > | ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt" | 
| 3984 | > | done | 
| 3985 | > | else | 
| 3986 | > | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3987 | > | fi | 
| 3988 | > | fi | 
| 3989 | > |  | 
| 3990 | > | ;; | 
| 3991 | > | # Ignore these flags. | 
| 3992 | > | -lang* | -lcrt[012].o | -lc | -lgcc | -LANG:=*) | 
| 3993 | > | ;; | 
| 3994 | > | -lkernel32) | 
| 3995 | > | test x"$CYGWIN" != xyes && ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 3996 | > | ;; | 
| 3997 | > | -[LRuY]) | 
| 3998 | > | # These flags, when seen by themselves, take an argument. | 
| 3999 | > | # We remove the space between option and argument and re-iterate | 
| 4000 | > | # unless we find an empty arg or a new option (starting with -) | 
| 4001 | > | case $2 in | 
| 4002 | > | "" | -*);; | 
| 4003 | > | *) | 
| 4004 | > | ac_arg="$ac_arg$2" | 
| 4005 | > |  | 
| 4006 | > | shift; shift | 
| 4007 | > | set X $ac_arg "$@" | 
| 4008 | > | ;; | 
| 4009 | > | esac | 
| 4010 | > | ;; | 
| 4011 | > | -YP,*) | 
| 4012 | > | for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do | 
| 4013 | > | ac_exists=false | 
| 4014 | > | for ac_i in $ac_cv_f90libs; do | 
| 4015 | > | if test x"$ac_j" = x"$ac_i"; then | 
| 4016 | > | ac_exists=true | 
| 4017 | > | break | 
| 4018 | > | fi | 
| 4019 | > | done | 
| 4020 | > |  | 
| 4021 | > | if test x"$ac_exists" = xtrue; then | 
| 4022 | > | : | 
| 4023 | > | else | 
| 4024 | > | ac_arg="$ac_arg $ac_j" | 
| 4025 | > | ac_cv_f90libs="$ac_cv_f90libs $ac_j" | 
| 4026 | > | fi | 
| 4027 | > |  | 
| 4028 | > | done | 
| 4029 | > | ;; | 
| 4030 | > | -[lLR]*) | 
| 4031 | > | ac_exists=false | 
| 4032 | > | for ac_i in $ac_cv_f90libs; do | 
| 4033 | > | if test x"$ac_arg" = x"$ac_i"; then | 
| 4034 | > | ac_exists=true | 
| 4035 | > | break | 
| 4036 | > | fi | 
| 4037 | > | done | 
| 4038 | > |  | 
| 4039 | > | if test x"$ac_exists" = xtrue; then | 
| 4040 | > | : | 
| 4041 | > | else | 
| 4042 | > | ac_cv_f90libs="$ac_cv_f90libs $ac_arg" | 
| 4043 | > | fi | 
| 4044 | > |  | 
| 4045 | > | ;; | 
| 4046 | > | # Ignore everything else. | 
| 4047 | > | esac | 
| 4048 | > | done | 
| 4049 | > | # restore positional arguments | 
| 4050 | > | set X $ac_save_positional; shift | 
| 4051 | > |  | 
| 4052 | > | # We only consider "LD_RUN_PATH" on Solaris systems.  If this is seen, | 
| 4053 | > | # then we insist that the "run path" must be an absolute path (i.e. it | 
| 4054 | > | # must begin with a "/"). | 
| 4055 | > | case `(uname -sr) 2>/dev/null` in | 
| 4056 | > | "SunOS 5"*) | 
| 4057 | > | ac_ld_run_path=`echo $ac_f90_v_output | | 
| 4058 | > | sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` | 
| 4059 | > | test "x$ac_ld_run_path" != x && | 
| 4060 | > |  | 
| 4061 | > | if test "$ac_compiler_gnu" = yes; then | 
| 4062 | > | for ac_link_opt in $ac_ld_run_path; do | 
| 4063 | > | ac_cv_f90libs="$ac_cv_f90libs -Xlinker $ac_link_opt" | 
| 4064 | > | done | 
| 4065 | > | else | 
| 4066 | > | ac_cv_f90libs="$ac_cv_f90libs $ac_ld_run_path" | 
| 4067 | > | fi | 
| 4068 | > | ;; | 
| 4069 | > | esac | 
| 4070 | > | fi # test "x$F90LIBS" = "x" | 
| 4071 | > |  | 
| 4072 | > | fi | 
| 4073 | > | echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5 | 
| 4074 | > | echo "${ECHO_T}$ac_cv_flibs" >&6 | 
| 4075 | > | F90LIBS="$ac_cv_f90libs" | 
| 4076 | > |  | 
| 4077 | > | ac_ext=f90 | 
| 4078 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4079 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4080 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4081 | > |  | 
| 4082 | > |  | 
| 4083 | > | echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5 | 
| 4084 | > | echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6 | 
| 4085 | > | if test "${ac_cv_f90_mangling+set}" = set; then | 
| 4086 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4087 | > | else | 
| 4088 | > | ac_ext=f90 | 
| 4089 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4090 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4091 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4092 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4093 | > | subroutine foobar() | 
| 4094 | > | return | 
| 4095 | > | end | 
| 4096 | > | subroutine foo_bar() | 
| 4097 | > | return | 
| 4098 | > | end | 
| 4099 | > | _ACEOF | 
| 4100 | > | rm -f conftest.$ac_objext | 
| 4101 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4102 | > | (eval $ac_compile) 2>conftest.er1 | 
| 4103 | > | ac_status=$? | 
| 4104 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4105 | > | rm -f conftest.er1 | 
| 4106 | > | cat conftest.err >&5 | 
| 4107 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4108 | > | (exit $ac_status); } && | 
| 4109 | > | { ac_try='test -z "$ac_f90_werror_flag" | 
| 4110 | > | || test ! -s conftest.err' | 
| 4111 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4112 | > | (eval $ac_try) 2>&5 | 
| 4113 | > | ac_status=$? | 
| 4114 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4115 | > | (exit $ac_status); }; } && | 
| 4116 | > | { ac_try='test -s conftest.$ac_objext' | 
| 4117 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4118 | > | (eval $ac_try) 2>&5 | 
| 4119 | > | ac_status=$? | 
| 4120 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4121 | > | (exit $ac_status); }; }; then | 
| 4122 | > | mv conftest.$ac_objext cf90_test.$ac_objext | 
| 4123 | > |  | 
| 4124 | > | ac_ext=c | 
| 4125 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 4126 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4127 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4128 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4129 | > |  | 
| 4130 | > | ac_save_LIBS=$LIBS | 
| 4131 | > | LIBS="cf90_test.$ac_objext $F90LIBS $LIBS" | 
| 4132 | > |  | 
| 4133 | > | ac_success=no | 
| 4134 | > | for ac_foobar in foobar FOOBAR; do | 
| 4135 | > | for ac_underscore in "" "_"; do | 
| 4136 | > | ac_func="$ac_foobar$ac_underscore" | 
| 4137 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4138 | > | /* confdefs.h.  */ | 
| 4139 | > | _ACEOF | 
| 4140 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4141 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4142 | > | /* end confdefs.h.  */ | 
| 4143 | > |  | 
| 4144 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 4145 | > | #ifdef __cplusplus | 
| 4146 | > | extern "C" | 
| 4147 | > | #endif | 
| 4148 | > | /* We use char because int might match the return type of a gcc2 | 
| 4149 | > | builtin and then its argument prototype would still apply.  */ | 
| 4150 | > | char $ac_func (); | 
| 4151 | > | int | 
| 4152 | > | main () | 
| 4153 | > | { | 
| 4154 | > | $ac_func (); | 
| 4155 | > | ; | 
| 4156 | > | return 0; | 
| 4157 | > | } | 
| 4158 | > | _ACEOF | 
| 4159 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4160 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 4161 | > | (eval $ac_link) 2>conftest.er1 | 
| 4162 | > | ac_status=$? | 
| 4163 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4164 | > | rm -f conftest.er1 | 
| 4165 | > | cat conftest.err >&5 | 
| 4166 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4167 | > | (exit $ac_status); } && | 
| 4168 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 4169 | > | || test ! -s conftest.err' | 
| 4170 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4171 | > | (eval $ac_try) 2>&5 | 
| 4172 | > | ac_status=$? | 
| 4173 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4174 | > | (exit $ac_status); }; } && | 
| 4175 | > | { ac_try='test -s conftest$ac_exeext' | 
| 4176 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4177 | > | (eval $ac_try) 2>&5 | 
| 4178 | > | ac_status=$? | 
| 4179 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4180 | > | (exit $ac_status); }; }; then | 
| 4181 | > | ac_success=yes; break 2 | 
| 4182 | > | else | 
| 4183 | > | echo "$as_me: failed program was:" >&5 | 
| 4184 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4185 | > |  | 
| 4186 | > | fi | 
| 4187 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 4188 | > | conftest$ac_exeext conftest.$ac_ext | 
| 4189 | > | done | 
| 4190 | > | done | 
| 4191 | > |  | 
| 4192 | > | if test "$ac_success" = "yes"; then | 
| 4193 | > | case $ac_foobar in | 
| 4194 | > | foobar) | 
| 4195 | > | ac_case=lower | 
| 4196 | > | ac_foo_bar=foo_bar | 
| 4197 | > | ;; | 
| 4198 | > | FOOBAR) | 
| 4199 | > | ac_case=upper | 
| 4200 | > | ac_foo_bar=FOO_BAR | 
| 4201 | > | ;; | 
| 4202 | > | esac | 
| 4203 | > |  | 
| 4204 | > | ac_success_extra=no | 
| 4205 | > | for ac_extra in "" "_"; do | 
| 4206 | > | ac_func="$ac_foo_bar$ac_underscore$ac_extra" | 
| 4207 | > |  | 
| 4208 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4209 | > | /* confdefs.h.  */ | 
| 4210 | > | _ACEOF | 
| 4211 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4212 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4213 | > | /* end confdefs.h.  */ | 
| 4214 | > |  | 
| 4215 | > | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 4216 | > | #ifdef __cplusplus | 
| 4217 | > | extern "C" | 
| 4218 | > | #endif | 
| 4219 | > | /* We use char because int might match the return type of a gcc2 | 
| 4220 | > | builtin and then its argument prototype would still apply.  */ | 
| 4221 | > | char $ac_func (); | 
| 4222 | > | int | 
| 4223 | > | main () | 
| 4224 | > | { | 
| 4225 | > | $ac_func (); | 
| 4226 | > | ; | 
| 4227 | > | return 0; | 
| 4228 | > | } | 
| 4229 | > | _ACEOF | 
| 4230 | > | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 4231 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 4232 | > | (eval $ac_link) 2>conftest.er1 | 
| 4233 | > | ac_status=$? | 
| 4234 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4235 | > | rm -f conftest.er1 | 
| 4236 | > | cat conftest.err >&5 | 
| 4237 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4238 | > | (exit $ac_status); } && | 
| 4239 | > | { ac_try='test -z "$ac_c_werror_flag" | 
| 4240 | > | || test ! -s conftest.err' | 
| 4241 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4242 | > | (eval $ac_try) 2>&5 | 
| 4243 | > | ac_status=$? | 
| 4244 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4245 | > | (exit $ac_status); }; } && | 
| 4246 | > | { ac_try='test -s conftest$ac_exeext' | 
| 4247 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4248 | > | (eval $ac_try) 2>&5 | 
| 4249 | > | ac_status=$? | 
| 4250 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4251 | > | (exit $ac_status); }; }; then | 
| 4252 | > | ac_success_extra=yes; break | 
| 4253 | > | else | 
| 4254 | > | echo "$as_me: failed program was:" >&5 | 
| 4255 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4256 | > |  | 
| 4257 | > | fi | 
| 4258 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 4259 | > | conftest$ac_exeext conftest.$ac_ext | 
| 4260 | > | done | 
| 4261 | > |  | 
| 4262 | > | if test "$ac_success_extra" = "yes"; then | 
| 4263 | > | ac_cv_f90_mangling="$ac_case case" | 
| 4264 | > | if test -z "$ac_underscore"; then | 
| 4265 | > | ac_cv_f90_mangling="$ac_cv_f90_mangling, no underscore" | 
| 4266 | > | else | 
| 4267 | > | ac_cv_f90_mangling="$ac_cv_f90_mangling, underscore" | 
| 4268 | > |  | 
| 4269 | > | fi | 
| 4270 | > | if test -z "$ac_extra"; then | 
| 4271 | > | ac_cv_f90_mangling="$ac_cv_f90_mangling, no extra underscore" | 
| 4272 | > | else | 
| 4273 | > | ac_cv_f90_mangling="$ac_cv_f90_mangling, extra underscore" | 
| 4274 | > | fi | 
| 4275 | > | else | 
| 4276 | > | ac_cv_f90_mangling="unknown" | 
| 4277 | > | fi | 
| 4278 | > | else | 
| 4279 | > | ac_cv_f90_mangling="unknown" | 
| 4280 | > |  | 
| 4281 | > | fi | 
| 4282 | > |  | 
| 4283 | > | LIBS=$ac_save_LIBS | 
| 4284 | > | ac_ext=f90 | 
| 4285 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4286 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4287 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4288 | > | rm -f cf90_test* conftest* | 
| 4289 | > | else | 
| 4290 | > | echo "$as_me: failed program was:" >&5 | 
| 4291 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4292 | > |  | 
| 4293 | > | fi | 
| 4294 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4295 | > | ac_ext=f90 | 
| 4296 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4297 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4298 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4299 | > |  | 
| 4300 | > | fi | 
| 4301 | > | echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5 | 
| 4302 | > | echo "${ECHO_T}$ac_cv_f90_mangling" >&6 | 
| 4303 | > |  | 
| 4304 | > |  | 
| 4305 | > |  | 
| 4306 | > | case $ac_cv_f90_mangling in | 
| 4307 | > | "lower case, no underscore, no extra underscore") | 
| 4308 | > | cat >>confdefs.h <<\_ACEOF | 
| 4309 | > | #define F90_FUNC(name,NAME) name | 
| 4310 | > | _ACEOF | 
| 4311 | > |  | 
| 4312 | > | cat >>confdefs.h <<\_ACEOF | 
| 4313 | > | #define F90_FUNC_(name,NAME) name | 
| 4314 | > | _ACEOF | 
| 4315 | > | ;; | 
| 4316 | > | "lower case, no underscore, extra underscore") | 
| 4317 | > | cat >>confdefs.h <<\_ACEOF | 
| 4318 | > | #define F90_FUNC(name,NAME) name | 
| 4319 | > | _ACEOF | 
| 4320 | > |  | 
| 4321 | > | cat >>confdefs.h <<\_ACEOF | 
| 4322 | > | #define F90_FUNC_(name,NAME) name ## _ | 
| 4323 | > | _ACEOF | 
| 4324 | > | ;; | 
| 4325 | > | "lower case, underscore, no extra underscore") | 
| 4326 | > | cat >>confdefs.h <<\_ACEOF | 
| 4327 | > | #define F90_FUNC(name,NAME) name ## _ | 
| 4328 | > | _ACEOF | 
| 4329 | > |  | 
| 4330 | > | cat >>confdefs.h <<\_ACEOF | 
| 4331 | > | #define F90_FUNC_(name,NAME) name ## _ | 
| 4332 | > | _ACEOF | 
| 4333 | > | ;; | 
| 4334 | > | "lower case, underscore, extra underscore") | 
| 4335 | > | cat >>confdefs.h <<\_ACEOF | 
| 4336 | > | #define F90_FUNC(name,NAME) name ## _ | 
| 4337 | > | _ACEOF | 
| 4338 | > |  | 
| 4339 | > | cat >>confdefs.h <<\_ACEOF | 
| 4340 | > | #define F90_FUNC_(name,NAME) name ## __ | 
| 4341 | > | _ACEOF | 
| 4342 | > | ;; | 
| 4343 | > | "upper case, no underscore, no extra underscore") | 
| 4344 | > | cat >>confdefs.h <<\_ACEOF | 
| 4345 | > | #define F90_FUNC(name,NAME) NAME | 
| 4346 | > | _ACEOF | 
| 4347 | > |  | 
| 4348 | > | cat >>confdefs.h <<\_ACEOF | 
| 4349 | > | #define F90_FUNC_(name,NAME) NAME | 
| 4350 | > | _ACEOF | 
| 4351 | > | ;; | 
| 4352 | > | "upper case, no underscore, extra underscore") | 
| 4353 | > | cat >>confdefs.h <<\_ACEOF | 
| 4354 | > | #define F90_FUNC(name,NAME) NAME | 
| 4355 | > | _ACEOF | 
| 4356 | > |  | 
| 4357 | > | cat >>confdefs.h <<\_ACEOF | 
| 4358 | > | #define F90_FUNC_(name,NAME) NAME ## _ | 
| 4359 | > | _ACEOF | 
| 4360 | > | ;; | 
| 4361 | > | "upper case, underscore, no extra underscore") | 
| 4362 | > | cat >>confdefs.h <<\_ACEOF | 
| 4363 | > | #define F90_FUNC(name,NAME) NAME ## _ | 
| 4364 | > | _ACEOF | 
| 4365 | > |  | 
| 4366 | > | cat >>confdefs.h <<\_ACEOF | 
| 4367 | > | #define F90_FUNC_(name,NAME) NAME ## _ | 
| 4368 | > | _ACEOF | 
| 4369 | > | ;; | 
| 4370 | > | "upper case, underscore, extra underscore") | 
| 4371 | > | cat >>confdefs.h <<\_ACEOF | 
| 4372 | > | #define F90_FUNC(name,NAME) NAME ## _ | 
| 4373 | > | _ACEOF | 
| 4374 | > |  | 
| 4375 | > | cat >>confdefs.h <<\_ACEOF | 
| 4376 | > | #define F90_FUNC_(name,NAME) NAME ## __ | 
| 4377 | > | _ACEOF | 
| 4378 | > | ;; | 
| 4379 | > | *) | 
| 4380 | > | { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5 | 
| 4381 | > | echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;} | 
| 4382 | > | ;; | 
| 4383 | > | esac | 
| 4384 | > |  | 
| 4385 | > |  | 
| 4386 | > |  | 
| 4387 | > |  | 
| 4388 | > |  | 
| 4389 | > | echo "$as_me:$LINENO: checking for module suffix" >&5 | 
| 4390 | > | echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 | 
| 4391 | > | rm -f conftest* | 
| 4392 | > | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 4393 | > | rm -f work* | 
| 4394 | > | cat >conftest.f90 <<EOF | 
| 4395 | > | module conftest | 
| 4396 | > | integer n | 
| 4397 | > | parameter (n=1) | 
| 4398 | > | end module conftest | 
| 4399 | > | EOF | 
| 4400 | > | # SGI and absoft compilers generates module name in upper case! | 
| 4401 | > | testname="conftest" | 
| 4402 | > | modcase="lower" | 
| 4403 | > | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then | 
| 4404 | > | MOD=`ls conftest* | grep -v conftest.f | grep -v conftest.o` | 
| 4405 | > | MOD=`echo "$MOD" | sed -e 's/conftest\.//g'` | 
| 4406 | > | if test -z "$MOD" ; then | 
| 4407 | > | MOD=`ls CONFTEST* 2>/dev/null \ | 
| 4408 | > | | grep -v CONFTEST.f | grep -v CONFTEST.o` | 
| 4409 | > | MOD=`echo "$MOD" | sed -e 's/CONFTEST\.//g'` | 
| 4410 | > | if test -n "$MOD" ; then | 
| 4411 | > | testname="CONFTEST" | 
| 4412 | > | modcase="upper" | 
| 4413 | > | fi | 
| 4414 | > | fi | 
| 4415 | > | if test -z "$MOD" ; then | 
| 4416 | > | echo "$as_me:$LINENO: result: unknown" >&5 | 
| 4417 | > | echo "${ECHO_T}unknown" >&6 | 
| 4418 | > | # Use mod if we can't figure it out | 
| 4419 | > | MOD="mod" | 
| 4420 | > | else | 
| 4421 | > | echo "$as_me:$LINENO: result: $MOD" >&5 | 
| 4422 | > | echo "${ECHO_T}$MOD" >&6 | 
| 4423 | > | fi | 
| 4424 | > | if test -s work.pcl ; then | 
| 4425 | > | { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5 | 
| 4426 | > | echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} | 
| 4427 | > | fi | 
| 4428 | > | else | 
| 4429 | > | echo "$as_me:$LINENO: result: unknown" >&5 | 
| 4430 | > | echo "${ECHO_T}unknown" >&6 | 
| 4431 | > | fi | 
| 4432 | > |  | 
| 4433 | > |  | 
| 4434 | > |  | 
| 4435 | > |  | 
| 4436 | > |  | 
| 4437 | > | # Check for module include path (some use -I, some (Solaris) use -M, some | 
| 4438 | > | # (absoft) use -p). | 
| 4439 | > | # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is | 
| 4440 | > | # specified, work.pcl and work.pc are created.  However, if you specify | 
| 4441 | > | # a file, it must contain a the name of a file ending in .pc .  Ugh! | 
| 4442 | > | # Use the module made above | 
| 4443 | > | echo "$as_me:$LINENO: checking for module directory path flag" >&5 | 
| 4444 | > | echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6 | 
| 4445 | > | rm -f conftest* | 
| 4446 | > | # Intel ifc compiler generates files by the name of work.pc and work.pcl (!) | 
| 4447 | > | rm -f work* | 
| 4448 | > | cat >conftest.f90 <<EOF | 
| 4449 | > | module conftest | 
| 4450 | > | integer n | 
| 4451 | > | parameter (n=1) | 
| 4452 | > | end module conftest | 
| 4453 | > | EOF | 
| 4454 | > | # SGI and absoft compilers generates module name in upper case! | 
| 4455 | > | testname="conftest" | 
| 4456 | > | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then | 
| 4457 | > | mod=`ls CONFTEST* 2>/dev/null | grep -v CONFTEST.f | grep -v CONFTEST.o` | 
| 4458 | > | mod=`echo "$mod" | sed -e 's/CONFTEST\.//g'` | 
| 4459 | > | if test -n "$mod" ; then | 
| 4460 | > | testname="CONFTEST" | 
| 4461 | > | fi | 
| 4462 | > | madedir=0 | 
| 4463 | > | if test ! -d conf ; then mkdir conf ; madedir=1; fi | 
| 4464 | > | cp $testname.$MOD conf | 
| 4465 | > | rm -f conftest* CONFTEST* | 
| 4466 | > | cat >conftest1.f90 <<EOF | 
| 4467 | > | program main | 
| 4468 | > | use conftest | 
| 4469 | > | print *, n | 
| 4470 | > | end | 
| 4471 | > | EOF | 
| 4472 | > | F90_WORK_FILES_ARG="" | 
| 4473 | > | F90MODINCSPEC="" | 
| 4474 | > | if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then | 
| 4475 | > | MODDIRFLAG="-I" | 
| 4476 | > | F90MODINCSPEC="-I<dir>" | 
| 4477 | > | echo "$as_me:$LINENO: result: -I" >&5 | 
| 4478 | > | echo "${ECHO_T}-I" >&6 | 
| 4479 | > | elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then | 
| 4480 | > | MODDIRFLAG="-M" | 
| 4481 | > | F90MODINCSPEC="-M<dir>" | 
| 4482 | > | echo "$as_me:$LINENO: result: -M" >&5 | 
| 4483 | > | echo "${ECHO_T}-M" >&6 | 
| 4484 | > | elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then | 
| 4485 | > | MODDIRFLAG="-p" | 
| 4486 | > | F90MODINCSPEC="-p<dir>" | 
| 4487 | > | echo "$as_me:$LINENO: result: -p" >&5 | 
| 4488 | > | echo "${ECHO_T}-p" >&6 | 
| 4489 | > | elif test -s work.pc ; then | 
| 4490 | > | cp work.pc conf/mpimod.pc | 
| 4491 | > | echo "mpimod.pc" > conf/mpimod.pcl | 
| 4492 | > | echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl | 
| 4493 | > | if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then | 
| 4494 | > | MODDIRFLAG='-cl,mpimod.pcl' | 
| 4495 | > | echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 | 
| 4496 | > | echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6 | 
| 4497 | > | F90_WORK_FILES_ARG="-cl,mpimod.pcl" | 
| 4498 | > | F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" | 
| 4499 | > |  | 
| 4500 | > | else | 
| 4501 | > | # The version of the Intel compiler that I have refuses to let | 
| 4502 | > | # you put the "work catalog" list anywhere but the current | 
| 4503 | > | # directory. For example, you cannot in | 
| 4504 | > | : | 
| 4505 | > | fi | 
| 4506 | > | fi | 
| 4507 | > | if test -z "MODDIRFLAG" ; then | 
| 4508 | > | echo "$as_me:$LINENO: result: unknown" >&5 | 
| 4509 | > | echo "${ECHO_T}unknown" >&6 | 
| 4510 | > | fi | 
| 4511 | > |  | 
| 4512 | > |  | 
| 4513 | > | rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* | 
| 4514 | > | if test $madedir = 1 ; then rmdir conf ; fi | 
| 4515 | > | fi | 
| 4516 | > |  | 
| 4517 | > |  | 
| 4518 | > | echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 | 
| 4519 | > | echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 | 
| 4520 | > | if test "${ac_cv_f90_module_names+set}" = set; then | 
| 4521 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4522 | > | else | 
| 4523 | > | ac_ext=f90 | 
| 4524 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4525 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4526 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4527 | > |  | 
| 4528 | > | # carry out the test in a new directory, so that we don't miss anything | 
| 4529 | > | mkdir conftest | 
| 4530 | > | cd conftest | 
| 4531 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4532 | > | MODULE Bar | 
| 4533 | > | END MODULE Bar | 
| 4534 | > | _ACEOF | 
| 4535 | > | rm -f conftest.$ac_objext | 
| 4536 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 4537 | > | (eval $ac_compile) 2>conftest.er1 | 
| 4538 | > | ac_status=$? | 
| 4539 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4540 | > | rm -f conftest.er1 | 
| 4541 | > | cat conftest.err >&5 | 
| 4542 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4543 | > | (exit $ac_status); } && | 
| 4544 | > | { ac_try='test -z "$ac_f90_werror_flag" | 
| 4545 | > | || test ! -s conftest.err' | 
| 4546 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4547 | > | (eval $ac_try) 2>&5 | 
| 4548 | > | ac_status=$? | 
| 4549 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4550 | > | (exit $ac_status); }; } && | 
| 4551 | > | { ac_try='test -s conftest.$ac_objext' | 
| 4552 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 4553 | > | (eval $ac_try) 2>&5 | 
| 4554 | > | ac_status=$? | 
| 4555 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 4556 | > | (exit $ac_status); }; }; then | 
| 4557 | > | ac_cv_f90_module_names= | 
| 4558 | > | ac_file_list=* | 
| 4559 | > | for ac_file in $ac_file_list; do | 
| 4560 | > | case $ac_file in | 
| 4561 | > | # don't care for original source and object files | 
| 4562 | > | conftest.$ac_ext | conftest.$ac_objext | conftest.err ) | 
| 4563 | > | : | 
| 4564 | > | ;; | 
| 4565 | > | # look for new files derived from the file name | 
| 4566 | > | *conftest*) | 
| 4567 | > | ac_pat=`echo $ac_file | sed s/conftest/%FILE%/` | 
| 4568 | > | ac_exists=false | 
| 4569 | > | for ac_i in $ac_cv_f90_module_names; do | 
| 4570 | > | if test x"$ac_pat" = x"$ac_i"; then | 
| 4571 | > | ac_exists=true | 
| 4572 | > | break | 
| 4573 | > | fi | 
| 4574 | > | done | 
| 4575 | > |  | 
| 4576 | > | if test x"$ac_exists" = xtrue; then | 
| 4577 | > | : | 
| 4578 | > | else | 
| 4579 | > | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4580 | > | fi | 
| 4581 | > |  | 
| 4582 | > | ;; | 
| 4583 | > | # look for new files derived from the module name, | 
| 4584 | > | # with different case translation schemes | 
| 4585 | > | *Bar*) | 
| 4586 | > | ac_pat=`echo $ac_file | sed s/Bar/%Module%/` | 
| 4587 | > | ac_exists=false | 
| 4588 | > | for ac_i in $ac_cv_f90_module_names; do | 
| 4589 | > | if test x"$ac_pat" = x"$ac_i"; then | 
| 4590 | > | ac_exists=true | 
| 4591 | > | break | 
| 4592 | > | fi | 
| 4593 | > | done | 
| 4594 | > |  | 
| 4595 | > | if test x"$ac_exists" = xtrue; then | 
| 4596 | > | : | 
| 4597 | > | else | 
| 4598 | > | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4599 | > | fi | 
| 4600 | > |  | 
| 4601 | > | ;; | 
| 4602 | > | *bar*) | 
| 4603 | > | ac_pat=`echo $ac_file | sed s/bar/%module%/` | 
| 4604 | > | ac_exists=false | 
| 4605 | > | for ac_i in $ac_cv_f90_module_names; do | 
| 4606 | > | if test x"$ac_pat" = x"$ac_i"; then | 
| 4607 | > | ac_exists=true | 
| 4608 | > | break | 
| 4609 | > | fi | 
| 4610 | > | done | 
| 4611 | > |  | 
| 4612 | > | if test x"$ac_exists" = xtrue; then | 
| 4613 | > | : | 
| 4614 | > | else | 
| 4615 | > | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4616 | > | fi | 
| 4617 | > |  | 
| 4618 | > | ;; | 
| 4619 | > | *BAR*) | 
| 4620 | > | ac_pat=`echo $ac_file | sed s/BAR/%MODULE%/` | 
| 4621 | > | ac_exists=false | 
| 4622 | > | for ac_i in $ac_cv_f90_module_names; do | 
| 4623 | > | if test x"$ac_pat" = x"$ac_i"; then | 
| 4624 | > | ac_exists=true | 
| 4625 | > | break | 
| 4626 | > | fi | 
| 4627 | > | done | 
| 4628 | > |  | 
| 4629 | > | if test x"$ac_exists" = xtrue; then | 
| 4630 | > | : | 
| 4631 | > | else | 
| 4632 | > | ac_cv_f90_module_names="$ac_cv_f90_module_names $ac_pat" | 
| 4633 | > | fi | 
| 4634 | > |  | 
| 4635 | > | ;; | 
| 4636 | > | # Other files - we have no idea how they are generated | 
| 4637 | > | *) | 
| 4638 | > | { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5 | 
| 4639 | > | echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;} | 
| 4640 | > | ;; | 
| 4641 | > | esac | 
| 4642 | > | done | 
| 4643 | > | if test "x$ac_cv_f90_module_names" = "x"; then | 
| 4644 | > | { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 | 
| 4645 | > | echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 4646 | > | fi | 
| 4647 | > |  | 
| 4648 | > | else | 
| 4649 | > | echo "$as_me: failed program was:" >&5 | 
| 4650 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4651 | > |  | 
| 4652 | > | ac_cv_f90_module_names= | 
| 4653 | > | { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 | 
| 4654 | > | echo "$as_me: WARNING: Couldn't determine module file names" >&2;} | 
| 4655 | > | fi | 
| 4656 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 4657 | > | cd .. | 
| 4658 | > | # cleanup | 
| 4659 | > | rm -rf conftest | 
| 4660 | > | ac_ext=f90 | 
| 4661 | > | ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5' | 
| 4662 | > | ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4663 | > | ac_compiler_gnu=$ac_cv_f90_compiler_gnu | 
| 4664 | > |  | 
| 4665 | > | fi | 
| 4666 | > | echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 | 
| 4667 | > | echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK | 
| 4668 | > |  | 
| 4669 | > | # We now generate a shell script that will help us to figure out the correct | 
| 4670 | > | # module file names, using the value of ac_cv_f90_module_names | 
| 4671 | > |  | 
| 4672 | > | echo "Generating shell script modnam" | 
| 4673 | > |  | 
| 4674 | > | cat > scripts/modnam << EOF | 
| 4675 | > | #! /bin/sh | 
| 4676 | > | # This script is auto-generated by configure | 
| 4677 | > | # | 
| 4678 | > | usage="\\ | 
| 4679 | > | Usage: \$0 [FILES] | 
| 4680 | > |  | 
| 4681 | > | [FILES] are Fortran 90 source files. | 
| 4682 | > | The output is a list of module file names that the Fortran 90 compiler | 
| 4683 | > | generates when compiling [FILES]." | 
| 4684 | > |  | 
| 4685 | > | list= | 
| 4686 | > | empty= | 
| 4687 | > |  | 
| 4688 | > | if test \$# -eq 0; then | 
| 4689 | > | echo "\$usage"; exit 0 | 
| 4690 | > | fi | 
| 4691 | > |  | 
| 4692 | > | while test \$# != 0; do | 
| 4693 | > |  | 
| 4694 | > | file=\$1 | 
| 4695 | > | shift | 
| 4696 | > |  | 
| 4697 | > | # strip suffix | 
| 4698 | > | base=\`echo \$file | sed 's/[.][^.]*$//'\` | 
| 4699 | > |  | 
| 4700 | > | test ! -f \$file && continue | 
| 4701 | > |  | 
| 4702 | > | # Look for module definitions and transform them to upper / lower case | 
| 4703 | > | mods=\`cat \$file | sed '/^ *[mM][oO][dD][uU][lL][eE]/!d;s/^ *[mM][oO][dD][uU][lL][eE] *\([A-Za-z_][A-Za-z0-9_]*\).*\$/\1/'\` | 
| 4704 | > | upper=\`echo \$mods | tr a-z A-Z\` | 
| 4705 | > | lower=\`echo \$mods | tr A-Z a-z\` | 
| 4706 | > |  | 
| 4707 | > | # Here, the patterns for generating module file names were inserted by configure | 
| 4708 | > | for trans in $ac_cv_f90_module_names; do | 
| 4709 | > |  | 
| 4710 | > | pat=\`echo \$trans | sed 's/.*\(%.*%\).*/\1/'\` | 
| 4711 | > | var=empty | 
| 4712 | > | case \$pat in | 
| 4713 | > | %MODULE%) | 
| 4714 | > | var=upper ;; | 
| 4715 | > | %Module%) | 
| 4716 | > | var=mods ;; | 
| 4717 | > | %module%) | 
| 4718 | > | var=lower ;; | 
| 4719 | > | %FILE%) | 
| 4720 | > | test -n "\$mods" && var=base ;; | 
| 4721 | > | esac | 
| 4722 | > | new=\`eval '(for i in \$'\$var '; do echo \$trans | sed s/\$pat/\$i/; done)'\` | 
| 4723 | > | list="\$list \$new" | 
| 4724 | > | done | 
| 4725 | > | done | 
| 4726 | > |  | 
| 4727 | > | echo \$list | 
| 4728 | > | # end of configure-generated script | 
| 4729 | > | EOF | 
| 4730 | > | chmod 755 scripts/modnam | 
| 4731 | > |  | 
| 4732 | > | pat=`echo $ac_cv_f90_module_names | sed 's/.*\(%.*%\).*/\1/'` | 
| 4733 | > | F90_MODULE_NAMES=empty | 
| 4734 | > | case $pat in | 
| 4735 | > | %MODULE%) | 
| 4736 | > | F90_MODULE_NAMES=UPPER ;; | 
| 4737 | > | %Module%) | 
| 4738 | > | F90_MODULE_NAMES=Mixed ;; | 
| 4739 | > | %module%) | 
| 4740 | > | F90_MODULE_NAMES=lower ;; | 
| 4741 | > | *) | 
| 4742 | > | F90_MODULE_NAMES=unknown ;; | 
| 4743 | > | esac | 
| 4744 | > |  | 
| 4745 | > | ac_ext=c | 
| 4746 | > | ac_cpp='$CPP $CPPFLAGS' | 
| 4747 | > | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 4748 | > | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 4749 | > | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 4750 | > |  | 
| 4751 | > |  | 
| 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 | > |  | 
| 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 CXXCPP needs to be expanded | 
| 4771 | > | for CXXCPP in "$CXX -E" "/lib/cpp" | 
| 4772 | > | do | 
| 4773 | > | ac_preproc_ok=false | 
| 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. | 
| 4778 | > | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 4779 | > | # <limits.h> exists even on freestanding compilers. | 
| 4780 | > | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 4781 | > | # not just through cpp. "Syntax error" is here to catch this case. | 
| 4782 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4783 | > | /* confdefs.h.  */ | 
| 4784 | > | _ACEOF | 
| 4785 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4786 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4787 | > | /* end confdefs.h.  */ | 
| 4788 | > | #ifdef __STDC__ | 
| 4789 | > | # include <limits.h> | 
| 4790 | > | #else | 
| 4791 | > | # include <assert.h> | 
| 4792 | > | #endif | 
| 4793 | > | Syntax error | 
| 4794 | > | _ACEOF | 
| 4795 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4796 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4797 | > | ac_status=$? | 
| 4798 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4799 | > | rm -f conftest.er1 | 
| 4800 | > | cat conftest.err >&5 | 
| 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_cxx_preproc_warn_flag | 
| 4805 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 4806 | > | else | 
| 4807 | > | ac_cpp_err= | 
| 4808 | > | fi | 
| 4809 | > | else | 
| 4810 | > | ac_cpp_err=yes | 
| 4811 | > | fi | 
| 4812 | > | if test -z "$ac_cpp_err"; then | 
| 4813 | > | : | 
| 4814 | > | else | 
| 4815 | > | echo "$as_me: failed program was:" >&5 | 
| 4816 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4817 | > |  | 
| 4818 | > | # Broken: fails on valid input. | 
| 4819 | > | continue | 
| 4820 | > | fi | 
| 4821 | > | rm -f conftest.err conftest.$ac_ext | 
| 4822 | > |  | 
| 4823 | > | # OK, works on sane cases.  Now check whether non-existent headers | 
| 4824 | > | # can be detected and how. | 
| 4825 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4826 | > | /* confdefs.h.  */ | 
| 4827 | > | _ACEOF | 
| 4828 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4829 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4830 | > | /* end confdefs.h.  */ | 
| 4831 | > | #include <ac_nonexistent.h> | 
| 4832 | > | _ACEOF | 
| 4833 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4834 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4835 | > | ac_status=$? | 
| 4836 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4837 | > | rm -f conftest.er1 | 
| 4838 | > | cat conftest.err >&5 | 
| 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_cxx_preproc_warn_flag | 
| 4843 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 4844 | > | else | 
| 4845 | > | ac_cpp_err= | 
| 4846 | > | fi | 
| 4847 | > | else | 
| 4848 | > | ac_cpp_err=yes | 
| 4849 | > | fi | 
| 4850 | > | if test -z "$ac_cpp_err"; then | 
| 4851 | > | # Broken: success on invalid input. | 
| 4852 | > | continue | 
| 4853 | > | else | 
| 4854 | > | echo "$as_me: failed program was:" >&5 | 
| 4855 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4856 | > |  | 
| 4857 | > | # Passes both tests. | 
| 4858 | > | ac_preproc_ok=: | 
| 4859 | > | break | 
| 4860 | > | fi | 
| 4861 | > | rm -f conftest.err conftest.$ac_ext | 
| 4862 | > |  | 
| 4863 | > | done | 
| 4864 | > | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4865 | > | rm -f conftest.err conftest.$ac_ext | 
| 4866 | > | if $ac_preproc_ok; then | 
| 4867 | > | break | 
| 4868 | > | fi | 
| 4869 | > |  | 
| 4870 | > | done | 
| 4871 | > | ac_cv_prog_CXXCPP=$CXXCPP | 
| 4872 | > |  | 
| 4873 | > | fi | 
| 4874 | > | CXXCPP=$ac_cv_prog_CXXCPP | 
| 4875 | > | else | 
| 4876 | > | ac_cv_prog_CXXCPP=$CXXCPP | 
| 4877 | > | fi | 
| 4878 | > | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
| 4879 | > | echo "${ECHO_T}$CXXCPP" >&6 | 
| 4880 | > | ac_preproc_ok=false | 
| 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. | 
| 4885 | > | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| 4886 | > | # <limits.h> exists even on freestanding compilers. | 
| 4887 | > | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 4888 | > | # not just through cpp. "Syntax error" is here to catch this case. | 
| 4889 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4890 | > | /* confdefs.h.  */ | 
| 4891 | > | _ACEOF | 
| 4892 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4893 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4894 | > | /* end confdefs.h.  */ | 
| 4895 | > | #ifdef __STDC__ | 
| 4896 | > | # include <limits.h> | 
| 4897 | > | #else | 
| 4898 | > | # include <assert.h> | 
| 4899 | > | #endif | 
| 4900 | > | Syntax error | 
| 4901 | > | _ACEOF | 
| 4902 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4903 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4904 | > | ac_status=$? | 
| 4905 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4906 | > | rm -f conftest.er1 | 
| 4907 | > | cat conftest.err >&5 | 
| 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_cxx_preproc_warn_flag | 
| 4912 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 4913 | > | else | 
| 4914 | > | ac_cpp_err= | 
| 4915 | > | fi | 
| 4916 | > | else | 
| 4917 | > | ac_cpp_err=yes | 
| 4918 | > | fi | 
| 4919 | > | if test -z "$ac_cpp_err"; then | 
| 4920 | > | : | 
| 4921 | > | else | 
| 4922 | > | echo "$as_me: failed program was:" >&5 | 
| 4923 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4924 | > |  | 
| 4925 | > | # Broken: fails on valid input. | 
| 4926 | > | continue | 
| 4927 | > | fi | 
| 4928 | > | rm -f conftest.err conftest.$ac_ext | 
| 4929 | > |  | 
| 4930 | > | # OK, works on sane cases.  Now check whether non-existent headers | 
| 4931 | > | # can be detected and how. | 
| 4932 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4933 | > | /* confdefs.h.  */ | 
| 4934 | > | _ACEOF | 
| 4935 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4936 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 4937 | > | /* end confdefs.h.  */ | 
| 4938 | > | #include <ac_nonexistent.h> | 
| 4939 | > | _ACEOF | 
| 4940 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 4941 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 4942 | > | ac_status=$? | 
| 4943 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 4944 | > | rm -f conftest.er1 | 
| 4945 | > | cat conftest.err >&5 | 
| 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_cxx_preproc_warn_flag | 
| 4950 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 4951 | > | else | 
| 4952 | > | ac_cpp_err= | 
| 4953 | > | fi | 
| 4954 | > | else | 
| 4955 | > | ac_cpp_err=yes | 
| 4956 | > | fi | 
| 4957 | > | if test -z "$ac_cpp_err"; then | 
| 4958 | > | # Broken: success on invalid input. | 
| 4959 | > | continue | 
| 4960 | > | else | 
| 4961 | > | echo "$as_me: failed program was:" >&5 | 
| 4962 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 4963 | > |  | 
| 4964 | > | # Passes both tests. | 
| 4965 | > | ac_preproc_ok=: | 
| 4966 | > | break | 
| 4967 | > | fi | 
| 4968 | > | rm -f conftest.err conftest.$ac_ext | 
| 4969 | > |  | 
| 4970 | > | done | 
| 4971 | > | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| 4972 | > | rm -f conftest.err conftest.$ac_ext | 
| 4973 | > | if $ac_preproc_ok; then | 
| 4974 | > | : | 
| 4975 | > | else | 
| 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 \"$CXXCPP\" fails sanity check | 
| 4979 | > | See \`config.log' for more details." >&2;} | 
| 4980 | > | { (exit 1); exit 1; }; } | 
| 4981 | > | fi | 
| 4982 | > |  | 
| 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 | 
| 4991 | > | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
| 4992 | > | if test "${ac_cv_header_stdc+set}" = set; then | 
| 4993 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 4994 | > | else | 
| 4995 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 4996 | > | /* confdefs.h.  */ | 
| 4997 | > | _ACEOF | 
| 4998 | > | cat confdefs.h >>conftest.$ac_ext | 
| 4999 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5000 | > | /* end confdefs.h.  */ | 
| 5001 | > | #include <stdlib.h> | 
| 5002 | > | #include <stdarg.h> | 
| 5003 | > | #include <string.h> | 
| 5004 | > | #include <float.h> | 
| 5005 | > |  | 
| 5006 | > | int | 
| 5007 | > | main () | 
| 5008 | > | { | 
| 5009 | > |  | 
| 5010 | > | ; | 
| 5011 | > | return 0; | 
| 5012 | > | } | 
| 5013 | > | _ACEOF | 
| 5014 | > | rm -f conftest.$ac_objext | 
| 5015 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5016 | > | (eval $ac_compile) 2>conftest.er1 | 
| 5017 | > | ac_status=$? | 
| 5018 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5019 | > | rm -f conftest.er1 | 
| 5020 | > | cat conftest.err >&5 | 
| 5021 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5022 | > | (exit $ac_status); } && | 
| 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 | 
| 5027 | > | ac_status=$? | 
| 5028 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5029 | > | (exit $ac_status); }; } && | 
| 5030 | > | { ac_try='test -s conftest.$ac_objext' | 
| 5031 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5032 | > | (eval $ac_try) 2>&5 | 
| 5033 | > | ac_status=$? | 
| 5034 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5035 | > | (exit $ac_status); }; }; then | 
| 5036 | > | ac_cv_header_stdc=yes | 
| 5037 | > | else | 
| 5038 | > | echo "$as_me: failed program was:" >&5 | 
| 5039 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5040 | > |  | 
| 5041 | > | ac_cv_header_stdc=no | 
| 5042 | > | fi | 
| 5043 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5044 | > |  | 
| 5045 | > | if test $ac_cv_header_stdc = yes; then | 
| 5046 | > | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 5047 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5048 | > | /* confdefs.h.  */ | 
| 5049 | > | _ACEOF | 
| 5050 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5051 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5052 | > | /* end confdefs.h.  */ | 
| 5053 | > | #include <string.h> | 
| 5054 | > |  | 
| 5055 | > | _ACEOF | 
| 5056 | > | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 5057 | > | $EGREP "memchr" >/dev/null 2>&1; then | 
| 5058 | > | : | 
| 5059 | > | else | 
| 5060 | > | ac_cv_header_stdc=no | 
| 5061 | > | fi | 
| 5062 | > | rm -f conftest* | 
| 5063 | > |  | 
| 5064 | > | fi | 
| 5065 | > |  | 
| 5066 | > | if test $ac_cv_header_stdc = yes; then | 
| 5067 | > | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 5068 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5069 | > | /* confdefs.h.  */ | 
| 5070 | > | _ACEOF | 
| 5071 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5072 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5073 | > | /* end confdefs.h.  */ | 
| 5074 | > | #include <stdlib.h> | 
| 5075 | > |  | 
| 5076 | > | _ACEOF | 
| 5077 | > | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 5078 | > | $EGREP "free" >/dev/null 2>&1; then | 
| 5079 | > | : | 
| 5080 | > | else | 
| 5081 | > | ac_cv_header_stdc=no | 
| 5082 | > | fi | 
| 5083 | > | rm -f conftest* | 
| 5084 | > |  | 
| 5085 | > | fi | 
| 5086 | > |  | 
| 5087 | > | if test $ac_cv_header_stdc = yes; then | 
| 5088 | > | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 5089 | > | if test "$cross_compiling" = yes; then | 
| 5090 | > | : | 
| 5091 | > | else | 
| 5092 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5093 | > | /* confdefs.h.  */ | 
| 5094 | > | _ACEOF | 
| 5095 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5096 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5097 | > | /* end confdefs.h.  */ | 
| 5098 | > | #include <ctype.h> | 
| 5099 | > | #if ((' ' & 0x0FF) == 0x020) | 
| 5100 | > | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 5101 | > | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 5102 | > | #else | 
| 5103 | > | # define ISLOWER(c) \ | 
| 5104 | > | (('a' <= (c) && (c) <= 'i') \ | 
| 5105 | > | || ('j' <= (c) && (c) <= 'r') \ | 
| 5106 | > | || ('s' <= (c) && (c) <= 'z')) | 
| 5107 | > | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
| 5108 | > | #endif | 
| 5109 | > |  | 
| 5110 | > | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 5111 | > | int | 
| 5112 | > | main () | 
| 5113 | > | { | 
| 5114 | > | int i; | 
| 5115 | > | for (i = 0; i < 256; i++) | 
| 5116 | > | if (XOR (islower (i), ISLOWER (i)) | 
| 5117 | > | || toupper (i) != TOUPPER (i)) | 
| 5118 | > | exit(2); | 
| 5119 | > | exit (0); | 
| 5120 | > | } | 
| 5121 | > | _ACEOF | 
| 5122 | > | rm -f conftest$ac_exeext | 
| 5123 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 5124 | > | (eval $ac_link) 2>&5 | 
| 5125 | > | ac_status=$? | 
| 5126 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5127 | > | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
| 5128 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5129 | > | (eval $ac_try) 2>&5 | 
| 5130 | > | ac_status=$? | 
| 5131 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5132 | > | (exit $ac_status); }; }; then | 
| 5133 | > | : | 
| 5134 | > | else | 
| 5135 | > | echo "$as_me: program exited with status $ac_status" >&5 | 
| 5136 | > | echo "$as_me: failed program was:" >&5 | 
| 5137 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5138 | > |  | 
| 5139 | > | ( exit $ac_status ) | 
| 5140 | > | ac_cv_header_stdc=no | 
| 5141 | > | fi | 
| 5142 | > | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| 5143 | > | fi | 
| 5144 | > | fi | 
| 5145 | > | fi | 
| 5146 | > | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
| 5147 | > | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
| 5148 | > | if test $ac_cv_header_stdc = yes; then | 
| 5149 | > |  | 
| 5150 | > | cat >>confdefs.h <<\_ACEOF | 
| 5151 | > | #define STDC_HEADERS 1 | 
| 5152 | > | _ACEOF | 
| 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 | > |  | 
| 5235 | > |  | 
| 5236 | > |  | 
| 5237 | > |  | 
| 5238 | > |  | 
| 5239 | > |  | 
| 5240 | > |  | 
| 5241 | > |  | 
| 5242 | > | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
| 5243 | > | inttypes.h stdint.h unistd.h | 
| 5244 | > | do | 
| 5245 | > | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| 5246 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5247 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5248 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5249 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5250 | > | else | 
| 5251 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5252 | > | /* confdefs.h.  */ | 
| 5253 | > | _ACEOF | 
| 5254 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5255 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5256 | > | /* end confdefs.h.  */ | 
| 5257 | > | $ac_includes_default | 
| 5258 | > |  | 
| 5259 | > | #include <$ac_header> | 
| 5260 | > | _ACEOF | 
| 5261 | > | rm -f conftest.$ac_objext | 
| 5262 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5263 | > | (eval $ac_compile) 2>conftest.er1 | 
| 5264 | > | ac_status=$? | 
| 5265 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5266 | > | rm -f conftest.er1 | 
| 5267 | > | cat conftest.err >&5 | 
| 5268 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5269 | > | (exit $ac_status); } && | 
| 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 | 
| 5274 | > | ac_status=$? | 
| 5275 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5276 | > | (exit $ac_status); }; } && | 
| 5277 | > | { ac_try='test -s conftest.$ac_objext' | 
| 5278 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5279 | > | (eval $ac_try) 2>&5 | 
| 5280 | > | ac_status=$? | 
| 5281 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5282 | > | (exit $ac_status); }; }; then | 
| 5283 | > | eval "$as_ac_Header=yes" | 
| 5284 | > | else | 
| 5285 | > | echo "$as_me: failed program was:" >&5 | 
| 5286 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5287 | > |  | 
| 5288 | > | eval "$as_ac_Header=no" | 
| 5289 | > | fi | 
| 5290 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5291 | > | fi | 
| 5292 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 5293 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5294 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 5295 | > | cat >>confdefs.h <<_ACEOF | 
| 5296 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 5297 | > | _ACEOF | 
| 5298 | > |  | 
| 5299 | > | fi | 
| 5300 | > |  | 
| 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 | > | 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 | 
| 5540 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5541 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5542 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5543 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5544 | > | fi | 
| 5545 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 5546 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5547 | > | else | 
| 5548 | > | # Is the header compilable? | 
| 5549 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 5550 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 5551 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5552 | > | /* confdefs.h.  */ | 
| 5553 | > | _ACEOF | 
| 5554 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5555 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5556 | > | /* end confdefs.h.  */ | 
| 5557 | > | $ac_includes_default | 
| 5558 | > | #include <$ac_header> | 
| 5559 | > | _ACEOF | 
| 5560 | > | rm -f conftest.$ac_objext | 
| 5561 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5562 | > | (eval $ac_compile) 2>conftest.er1 | 
| 5563 | > | ac_status=$? | 
| 5564 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5565 | > | rm -f conftest.er1 | 
| 5566 | > | cat conftest.err >&5 | 
| 5567 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5568 | > | (exit $ac_status); } && | 
| 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 | 
| 5573 | > | ac_status=$? | 
| 5574 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5575 | > | (exit $ac_status); }; } && | 
| 5576 | > | { ac_try='test -s conftest.$ac_objext' | 
| 5577 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5578 | > | (eval $ac_try) 2>&5 | 
| 5579 | > | ac_status=$? | 
| 5580 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5581 | > | (exit $ac_status); }; }; then | 
| 5582 | > | ac_header_compiler=yes | 
| 5583 | > | else | 
| 5584 | > | echo "$as_me: failed program was:" >&5 | 
| 5585 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5586 | > |  | 
| 5587 | > | ac_header_compiler=no | 
| 5588 | > | fi | 
| 5589 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5590 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 5591 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 5592 | > |  | 
| 5593 | > | # Is the header present? | 
| 5594 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 5595 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 5596 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5597 | > | /* confdefs.h.  */ | 
| 5598 | > | _ACEOF | 
| 5599 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5600 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5601 | > | /* end confdefs.h.  */ | 
| 5602 | > | #include <$ac_header> | 
| 5603 | > | _ACEOF | 
| 5604 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 5605 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 5606 | > | ac_status=$? | 
| 5607 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5608 | > | rm -f conftest.er1 | 
| 5609 | > | cat conftest.err >&5 | 
| 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_cxx_preproc_warn_flag | 
| 5614 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 5615 | > | else | 
| 5616 | > | ac_cpp_err= | 
| 5617 | > | fi | 
| 5618 | > | else | 
| 5619 | > | ac_cpp_err=yes | 
| 5620 | > | fi | 
| 5621 | > | if test -z "$ac_cpp_err"; then | 
| 5622 | > | ac_header_preproc=yes | 
| 5623 | > | else | 
| 5624 | > | echo "$as_me: failed program was:" >&5 | 
| 5625 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5626 | > |  | 
| 5627 | > | ac_header_preproc=no | 
| 5628 | > | fi | 
| 5629 | > | rm -f conftest.err conftest.$ac_ext | 
| 5630 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 5631 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 5632 | > |  | 
| 5633 | > | # So?  What about this header? | 
| 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;} | 
| 5638 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 5639 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 5640 | > | ac_header_preproc=yes | 
| 5641 | > | ;; | 
| 5642 | > | no:yes:* ) | 
| 5643 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 5644 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 5645 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 5646 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 5647 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 5648 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 5649 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 5650 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 5651 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 5652 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 5653 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 5654 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 5655 | > | ( | 
| 5656 | > | cat <<\_ASBOX | 
| 5657 | > | ## ------------------------------ ## | 
| 5658 | > | ## Report this to gezelter@nd.edu ## | 
| 5659 | > | ## ------------------------------ ## | 
| 5660 | > | _ASBOX | 
| 5661 | > | ) | | 
| 5662 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 5663 | > | ;; | 
| 5664 | > | esac | 
| 5665 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5666 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5667 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5668 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5669 | > | else | 
| 5670 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 5671 | > | fi | 
| 5672 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 5673 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5674 | > |  | 
| 5675 | > | fi | 
| 5676 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 5677 | > | cat >>confdefs.h <<_ACEOF | 
| 5678 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 5679 | > | _ACEOF | 
| 5680 | > |  | 
| 5681 | > | fi | 
| 5682 | > |  | 
| 5683 | > | done | 
| 5684 | > |  | 
| 5685 | > |  | 
| 5686 | > | fi | 
| 5687 | > |  | 
| 5688 | > |  | 
| 5689 | > |  | 
| 5690 | > |  | 
| 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 | > | # 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 | > | $ac_includes_default | 
| 5710 | > | #include <iomanip> | 
| 5711 | > | _ACEOF | 
| 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_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_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 | > | ac_header_compiler=yes | 
| 5735 | > | else | 
| 5736 | > | echo "$as_me: failed program was:" >&5 | 
| 5737 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5738 | > |  | 
| 5739 | > | ac_header_compiler=no | 
| 5740 | > | fi | 
| 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 | > | # 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 <iomanip> | 
| 5755 | > | _ACEOF | 
| 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); } >/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 | > | ac_header_preproc=no | 
| 5780 | > | fi | 
| 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 | > | # 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 | > | 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 | 
| 5843 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5844 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5845 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5846 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5847 | > | fi | 
| 5848 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 5849 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5850 | > | else | 
| 5851 | > | # Is the header compilable? | 
| 5852 | > | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
| 5853 | > | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
| 5854 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5855 | > | /* confdefs.h.  */ | 
| 5856 | > | _ACEOF | 
| 5857 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5858 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5859 | > | /* end confdefs.h.  */ | 
| 5860 | > | $ac_includes_default | 
| 5861 | > | #include <$ac_header> | 
| 5862 | > | _ACEOF | 
| 5863 | > | rm -f conftest.$ac_objext | 
| 5864 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 5865 | > | (eval $ac_compile) 2>conftest.er1 | 
| 5866 | > | ac_status=$? | 
| 5867 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5868 | > | rm -f conftest.er1 | 
| 5869 | > | cat conftest.err >&5 | 
| 5870 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5871 | > | (exit $ac_status); } && | 
| 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 | 
| 5876 | > | ac_status=$? | 
| 5877 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5878 | > | (exit $ac_status); }; } && | 
| 5879 | > | { ac_try='test -s conftest.$ac_objext' | 
| 5880 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 5881 | > | (eval $ac_try) 2>&5 | 
| 5882 | > | ac_status=$? | 
| 5883 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 5884 | > | (exit $ac_status); }; }; then | 
| 5885 | > | ac_header_compiler=yes | 
| 5886 | > | else | 
| 5887 | > | echo "$as_me: failed program was:" >&5 | 
| 5888 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5889 | > |  | 
| 5890 | > | ac_header_compiler=no | 
| 5891 | > | fi | 
| 5892 | > | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 
| 5893 | > | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
| 5894 | > | echo "${ECHO_T}$ac_header_compiler" >&6 | 
| 5895 | > |  | 
| 5896 | > | # Is the header present? | 
| 5897 | > | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
| 5898 | > | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
| 5899 | > | cat >conftest.$ac_ext <<_ACEOF | 
| 5900 | > | /* confdefs.h.  */ | 
| 5901 | > | _ACEOF | 
| 5902 | > | cat confdefs.h >>conftest.$ac_ext | 
| 5903 | > | cat >>conftest.$ac_ext <<_ACEOF | 
| 5904 | > | /* end confdefs.h.  */ | 
| 5905 | > | #include <$ac_header> | 
| 5906 | > | _ACEOF | 
| 5907 | > | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 5908 | > | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
| 5909 | > | ac_status=$? | 
| 5910 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 5911 | > | rm -f conftest.er1 | 
| 5912 | > | cat conftest.err >&5 | 
| 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_cxx_preproc_warn_flag | 
| 5917 | > | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag | 
| 5918 | > | else | 
| 5919 | > | ac_cpp_err= | 
| 5920 | > | fi | 
| 5921 | > | else | 
| 5922 | > | ac_cpp_err=yes | 
| 5923 | > | fi | 
| 5924 | > | if test -z "$ac_cpp_err"; then | 
| 5925 | > | ac_header_preproc=yes | 
| 5926 | > | else | 
| 5927 | > | echo "$as_me: failed program was:" >&5 | 
| 5928 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 5929 | > |  | 
| 5930 | > | ac_header_preproc=no | 
| 5931 | > | fi | 
| 5932 | > | rm -f conftest.err conftest.$ac_ext | 
| 5933 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 5934 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 5935 | > |  | 
| 5936 | > | # So?  What about this header? | 
| 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;} | 
| 5941 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | 
| 5942 | > | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | 
| 5943 | > | ac_header_preproc=yes | 
| 5944 | > | ;; | 
| 5945 | > | no:yes:* ) | 
| 5946 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
| 5947 | > | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
| 5948 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 | 
| 5949 | > | echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} | 
| 5950 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | 
| 5951 | > | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | 
| 5952 | > | { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 | 
| 5953 | > | echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| 5954 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| 5955 | > | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
| 5956 | > | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 
| 5957 | > | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 
| 5958 | > | ( | 
| 5959 | > | cat <<\_ASBOX | 
| 5960 | > | ## ------------------------------ ## | 
| 5961 | > | ## Report this to gezelter@nd.edu ## | 
| 5962 | > | ## ------------------------------ ## | 
| 5963 | > | _ASBOX | 
| 5964 | > | ) | | 
| 5965 | > | sed "s/^/$as_me: WARNING:     /" >&2 | 
| 5966 | > | ;; | 
| 5967 | > | esac | 
| 5968 | > | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
| 5969 | > | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
| 5970 | > | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
| 5971 | > | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 5972 | > | else | 
| 5973 | > | eval "$as_ac_Header=\$ac_header_preproc" | 
| 5974 | > | fi | 
| 5975 | > | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
| 5976 | > | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
| 5977 | > |  | 
| 5978 | > | fi | 
| 5979 | > | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
| 5980 | > | cat >>confdefs.h <<_ACEOF | 
| 5981 | > | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| 5982 | > | _ACEOF | 
| 5983 | > |  | 
| 5984 | > | fi | 
| 5985 | > |  | 
| 5986 | > | done | 
| 5987 | > |  | 
| 5988 | > |  | 
| 5989 | > | fi | 
| 5990 | > |  | 
| 5991 | > |  | 
| 5992 | > |  | 
| 5993 | > |  | 
| 5994 | > | for ac_header in cmath | 
| 5995 | > | do | 
| 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 | > | # 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 | > | $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 | > | 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 | < | ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` | 
| 8031 | < | echo "$as_me:3881: checking for $ac_func" >&5 | 
| 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 \"\${$ac_ac_var+set}\" = set"; then | 
| 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 | < | #line 3887 "configure" | 
| 8038 | < | #include "confdefs.h" | 
| 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 | < | #include <assert.h> | 
| 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 (); | 
| 3899 | – | char (*f) (); | 
| 3900 | – |  | 
| 3901 | – | int | 
| 3902 | – | main () | 
| 3903 | – | { | 
| 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 | < | f = $ac_func; | 
| 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:3918: \"$ac_link\"") >&5 | 
| 8089 | < | (eval $ac_link) 2>&5 | 
| 8088 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 8089 | > | (eval $ac_link) 2>conftest.er1 | 
| 8090 |  | ac_status=$? | 
| 8091 | < | echo "$as_me:3921: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 8097 | < | { (eval echo "$as_me:3924: \"$ac_try\"") >&5 | 
| 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:3927: \$? = $ac_status" >&5 | 
| 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 "$ac_ac_var=yes" | 
| 8109 | > | eval "$as_ac_var=yes" | 
| 8110 |  | else | 
| 8111 |  | echo "$as_me: failed program was:" >&5 | 
| 8112 | < | cat conftest.$ac_ext >&5 | 
| 8113 | < | eval "$ac_ac_var=no" | 
| 8112 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8113 | > |  | 
| 8114 | > | eval "$as_ac_var=no" | 
| 8115 |  | fi | 
| 8116 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 8116 | > | rm -f conftest.err conftest.$ac_objext \ | 
| 8117 | > | conftest$ac_exeext conftest.$ac_ext | 
| 8118 |  | fi | 
| 8119 | < | echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5 | 
| 8120 | < | echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 | 
| 8121 | < | if test `eval echo '${'$ac_ac_var'}'` = yes; then | 
| 8122 | < | cat >>confdefs.h <<EOF | 
| 8123 | < | #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1 | 
| 8124 | < | EOF | 
| 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:3946: checking for getopt_long in -lgnugetopt" >&5 | 
| 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 | 
| 8133 |  | ac_check_lib_save_LIBS=$LIBS | 
| 8134 |  | LIBS="-lgnugetopt  $LIBS" | 
| 8135 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 8136 | < | #line 3954 "configure" | 
| 8137 | < | #include "confdefs.h" | 
| 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 | 
| 8155 |  | } | 
| 8156 |  | _ACEOF | 
| 8157 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 8158 | < | if { (eval echo "$as_me:3973: \"$ac_link\"") >&5 | 
| 8159 | < | (eval $ac_link) 2>&5 | 
| 8158 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 8159 | > | (eval $ac_link) 2>conftest.er1 | 
| 8160 |  | ac_status=$? | 
| 8161 | < | echo "$as_me:3976: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 8167 | < | { (eval echo "$as_me:3979: \"$ac_try\"") >&5 | 
| 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:3982: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 8182 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 8183 | > |  | 
| 8184 |  | ac_cv_lib_gnugetopt_getopt_long=no | 
| 8185 |  | fi | 
| 8186 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 | 
| 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 <<\EOF | 
| 8193 | > | cat >>confdefs.h <<\_ACEOF | 
| 8194 |  | #define HAVE_GETOPT_LONG 1 | 
| 8195 | < | EOF | 
| 8195 | > | _ACEOF | 
| 8196 |  |  | 
| 8197 |  | else | 
| 8198 |  | # use the GNU replacement | 
| 8199 | < | LIBOBJS="$LIBOBJS getopt.$ac_objext" | 
| 8200 | < | LIBOBJS="$LIBOBJS getopt1.$ac_objext" | 
| 8201 | < | ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" | 
| 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 | < | echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5 | 
| 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 | 
| 8239 |  |  | 
| 8240 |  | cat > conftest.c <<EOF | 
| 8241 |  | #ifdef __GNUC__ | 
| 8242 | < | #ifndef __INTEL_COMPILER | 
| 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:4030: \"$ac_try\"") >&5 | 
| 8250 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8251 |  | (eval $ac_try) 2>&5 | 
| 8252 |  | ac_status=$? | 
| 8253 | < | echo "$as_me:4033: \$? = $ac_status" >&5 | 
| 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 | 
| 8258 |  | fi | 
| 8259 |  |  | 
| 8260 |  | fi | 
| 8261 | < | echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5 | 
| 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 |  | : | 
| 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 | 
| 8279 |  | CFLAGS="-O" | 
| 8280 |  | fi;; | 
| 8281 |  | sparc-solaris2*) if test "$CC" = cc; then | 
| 8282 | < | CFLAGS="-native -fast -xO5 -dalign" | 
| 8282 | > | CFLAGS="-O -dalign" | 
| 8283 |  | fi;; | 
| 8284 |  |  | 
| 8285 |  | alpha*-osf*)  if test "$CC" = cc; then | 
| 8321 |  | if test $ac_cv_prog_really_gcc = yes; then | 
| 8322 |  | # -malign-double for x86 systems | 
| 8323 |  |  | 
| 8324 | < | echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5 | 
| 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 | 
| 8336 |  | rm -f conftest* | 
| 8337 |  |  | 
| 8338 |  | fi | 
| 8339 | < | echo "$as_me:4117: result: $ac_align_double" >&5 | 
| 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 |  | : | 
| 8348 |  |  | 
| 8349 |  | # -fstrict-aliasing for gcc-2.95+ | 
| 8350 |  |  | 
| 8351 | < | echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5 | 
| 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 | 
| 8363 |  | rm -f conftest* | 
| 8364 |  |  | 
| 8365 |  | fi | 
| 8366 | < | echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5 | 
| 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 |  | : | 
| 8380 |  | case "${host_cpu}" in | 
| 8381 |  | i586*) | 
| 8382 |  |  | 
| 8383 | < | echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5 | 
| 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 | 
| 8394 |  | rm -f conftest* | 
| 8395 |  |  | 
| 8396 |  | fi | 
| 8397 | < | echo "$as_me:4174: result: $ac_cpu_pentium" >&5 | 
| 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 |  | : | 
| 8402 |  | else | 
| 8403 |  | : | 
| 8404 |  |  | 
| 8405 | < | echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5 | 
| 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 | 
| 8417 |  | rm -f conftest* | 
| 8418 |  |  | 
| 8419 |  | fi | 
| 8420 | < | echo "$as_me:4196: result: $ac_pentium" >&5 | 
| 8420 | > | echo "$as_me:$LINENO: result: $ac_pentium" >&5 | 
| 8421 |  | echo "${ECHO_T}$ac_pentium" >&6 | 
| 8422 |  | if test "$ac_pentium" = yes; then | 
| 8423 |  | : | 
| 8432 |  | ;; | 
| 8433 |  | i686*) | 
| 8434 |  |  | 
| 8435 | < | echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5 | 
| 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 | 
| 8446 |  | rm -f conftest* | 
| 8447 |  |  | 
| 8448 |  | fi | 
| 8449 | < | echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5 | 
| 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 |  | : | 
| 8454 |  | else | 
| 8455 |  | : | 
| 8456 |  |  | 
| 8457 | < | echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5 | 
| 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 | 
| 8469 |  | rm -f conftest* | 
| 8470 |  |  | 
| 8471 |  | fi | 
| 8472 | < | echo "$as_me:4247: result: $ac_pentiumpro" >&5 | 
| 8472 | > | echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 | 
| 8473 |  | echo "${ECHO_T}$ac_pentiumpro" >&6 | 
| 8474 |  | if test "$ac_pentiumpro" = yes; then | 
| 8475 |  | : | 
| 8487 |  | is60x=`echo $cputype | egrep "^600-9e?$"` | 
| 8488 |  | if test -n "$is60x"; then | 
| 8489 |  |  | 
| 8490 | < | echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5 | 
| 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 | 
| 8502 |  | rm -f conftest* | 
| 8503 |  |  | 
| 8504 |  | fi | 
| 8505 | < | echo "$as_me:4279: result: $ac_m_cpu_60x" >&5 | 
| 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 |  | : | 
| 8514 |  |  | 
| 8515 |  | elif test "$cputype" = 750; then | 
| 8516 |  |  | 
| 8517 | < | echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5 | 
| 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 | 
| 8529 |  | #endif | 
| 8530 |  | EOF | 
| 8531 |  | if { ac_try='${CC-cc} -E conftest.c' | 
| 8532 | < | { (eval echo "$as_me:4305: \"$ac_try\"") >&5 | 
| 8532 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8533 |  | (eval $ac_try) 2>&5 | 
| 8534 |  | ac_status=$? | 
| 8535 | < | echo "$as_me:4308: \$? = $ac_status" >&5 | 
| 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 | 
| 8540 |  | fi | 
| 8541 |  |  | 
| 8542 |  | fi | 
| 8543 | < | echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5 | 
| 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 | < | echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5 | 
| 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 | 
| 8560 |  | rm -f conftest* | 
| 8561 |  |  | 
| 8562 |  | fi | 
| 8563 | < | echo "$as_me:4335: result: $ac_m_cpu_750" >&5 | 
| 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 |  | : | 
| 8578 |  | fi | 
| 8579 |  | if test -z "$CPU_FLAGS"; then | 
| 8580 |  |  | 
| 8581 | < | echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5 | 
| 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 | 
| 8593 |  | rm -f conftest* | 
| 8594 |  |  | 
| 8595 |  | fi | 
| 8596 | < | echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5 | 
| 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 |  | : | 
| 8606 |  | fi | 
| 8607 |  | if test -z "$CPU_FLAGS"; then | 
| 8608 |  |  | 
| 8609 | < | echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5 | 
| 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 | 
| 8621 |  | rm -f conftest* | 
| 8622 |  |  | 
| 8623 |  | fi | 
| 8624 | < | echo "$as_me:4394: result: $ac_m_powerpc" >&5 | 
| 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 |  | : | 
| 8650 |  | CFLAGS="-O3" | 
| 8651 |  | fi | 
| 8652 |  |  | 
| 8653 | < | echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5 | 
| 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 | 
| 8666 |  | rm -f conftest* | 
| 8667 |  |  | 
| 8668 |  | fi | 
| 8669 | < | echo "$as_me:4437: result: $ac_guessed_cflags" >&5 | 
| 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 |  | : | 
| 8685 |  |  | 
| 8686 |  | fi | 
| 8687 |  |  | 
| 8688 | + |  | 
| 8689 |  | fi | 
| 8690 |  |  | 
| 8691 | < | echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5 | 
| 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 | 
| 8702 |  |  | 
| 8703 |  | cat > conftest.cpp <<EOF | 
| 8704 |  | #ifdef __GNUC__ | 
| 8705 | < | #ifndef __INTEL_COMPILER | 
| 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:4472: \"$ac_try\"") >&5 | 
| 8713 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8714 |  | (eval $ac_try) 2>&5 | 
| 8715 |  | ac_status=$? | 
| 8716 | < | echo "$as_me:4475: \$? = $ac_status" >&5 | 
| 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 | 
| 8721 |  | fi | 
| 8722 |  |  | 
| 8723 |  | fi | 
| 8724 | < | echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5 | 
| 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 |  | : | 
| 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 | 
| 8742 |  | CXXFLAGS="-O" | 
| 8743 |  | fi;; | 
| 8744 |  | sparc-solaris2*) if test "$CXX" = CC; then | 
| 8745 | < | CXXFLAGS="-native -fast -xO5 -dalign" | 
| 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" | 
| 8775 |  | if test $ac_cv_prog_really_gxx = yes; then | 
| 8776 |  | # -malign-double for x86 systems | 
| 8777 |  |  | 
| 8778 | < | echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5 | 
| 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 | 
| 8790 |  | rm -f conftest* | 
| 8791 |  |  | 
| 8792 |  | fi | 
| 8793 | < | echo "$as_me:4550: result: $ac_align_double" >&5 | 
| 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 |  | : | 
| 8802 |  |  | 
| 8803 |  | # -fstrict-aliasing for gcc-2.95+ | 
| 8804 |  |  | 
| 8805 | < | echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5 | 
| 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 | 
| 8817 |  | rm -f conftest* | 
| 8818 |  |  | 
| 8819 |  | fi | 
| 8820 | < | echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5 | 
| 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 |  | : | 
| 8834 |  | case "${host_cpu}" in | 
| 8835 |  | i586*) | 
| 8836 |  |  | 
| 8837 | < | echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5 | 
| 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 | 
| 8848 |  | rm -f conftest* | 
| 8849 |  |  | 
| 8850 |  | fi | 
| 8851 | < | echo "$as_me:4607: result: $ac_cpu_pentium" >&5 | 
| 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 |  | : | 
| 8856 |  | else | 
| 8857 |  | : | 
| 8858 |  |  | 
| 8859 | < | echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5 | 
| 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 | 
| 8871 |  | rm -f conftest* | 
| 8872 |  |  | 
| 8873 |  | fi | 
| 8874 | < | echo "$as_me:4629: result: $ac_pentium" >&5 | 
| 8874 | > | echo "$as_me:$LINENO: result: $ac_pentium" >&5 | 
| 8875 |  | echo "${ECHO_T}$ac_pentium" >&6 | 
| 8876 |  | if test "$ac_pentium" = yes; then | 
| 8877 |  | : | 
| 8886 |  | ;; | 
| 8887 |  | i686*) | 
| 8888 |  |  | 
| 8889 | < | echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5 | 
| 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 | 
| 8900 |  | rm -f conftest* | 
| 8901 |  |  | 
| 8902 |  | fi | 
| 8903 | < | echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5 | 
| 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 |  | : | 
| 8908 |  | else | 
| 8909 |  | : | 
| 8910 |  |  | 
| 8911 | < | echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5 | 
| 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 | 
| 8923 |  | rm -f conftest* | 
| 8924 |  |  | 
| 8925 |  | fi | 
| 8926 | < | echo "$as_me:4680: result: $ac_pentiumpro" >&5 | 
| 8926 | > | echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 | 
| 8927 |  | echo "${ECHO_T}$ac_pentiumpro" >&6 | 
| 8928 |  | if test "$ac_pentiumpro" = yes; then | 
| 8929 |  | : | 
| 8941 |  | is60x=`echo $cputype | egrep "^600-9e?$"` | 
| 8942 |  | if test -n "$is60x"; then | 
| 8943 |  |  | 
| 8944 | < | echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5 | 
| 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 | 
| 8956 |  | rm -f conftest* | 
| 8957 |  |  | 
| 8958 |  | fi | 
| 8959 | < | echo "$as_me:4712: result: $ac_m_cpu_60x" >&5 | 
| 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 |  | : | 
| 8968 |  |  | 
| 8969 |  | elif test "$cputype" = 750; then | 
| 8970 |  |  | 
| 8971 | < | echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5 | 
| 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 | 
| 8983 |  | #endif | 
| 8984 |  | EOF | 
| 8985 |  | if { ac_try='${CXX-c++} -E conftest.cpp' | 
| 8986 | < | { (eval echo "$as_me:4738: \"$ac_try\"") >&5 | 
| 8986 | > | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
| 8987 |  | (eval $ac_try) 2>&5 | 
| 8988 |  | ac_status=$? | 
| 8989 | < | echo "$as_me:4741: \$? = $ac_status" >&5 | 
| 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 | 
| 8994 |  | fi | 
| 8995 |  |  | 
| 8996 |  | fi | 
| 8997 | < | echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5 | 
| 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 | < | echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5 | 
| 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 | 
| 9014 |  | rm -f conftest* | 
| 9015 |  |  | 
| 9016 |  | fi | 
| 9017 | < | echo "$as_me:4768: result: $ac_m_cpu_750" >&5 | 
| 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 |  | : | 
| 9032 |  | fi | 
| 9033 |  | if test -z "$CPU_FLAGS"; then | 
| 9034 |  |  | 
| 9035 | < | echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5 | 
| 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 | 
| 9047 |  | rm -f conftest* | 
| 9048 |  |  | 
| 9049 |  | fi | 
| 9050 | < | echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5 | 
| 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 |  | : | 
| 9060 |  | fi | 
| 9061 |  | if test -z "$CPU_FLAGS"; then | 
| 9062 |  |  | 
| 9063 | < | echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5 | 
| 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 | 
| 9075 |  | rm -f conftest* | 
| 9076 |  |  | 
| 9077 |  | fi | 
| 9078 | < | echo "$as_me:4827: result: $ac_m_powerpc" >&5 | 
| 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 |  | : | 
| 9104 |  | CXXFLAGS="-O3" | 
| 9105 |  | fi | 
| 9106 |  |  | 
| 9107 | < | echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5 | 
| 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 | 
| 9120 |  | rm -f conftest* | 
| 9121 |  |  | 
| 9122 |  | fi | 
| 9123 | < | echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5 | 
| 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 |  | : | 
| 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 |  |  | 
| 9193 |  | F90FLAGS="-O3" | 
| 9194 |  | fi | 
| 9195 |  |  | 
| 9196 | < | echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5 | 
| 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' | 
| 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:4952: \"$ac_compile\"") >&5 | 
| 9213 | > | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
| 9214 |  | (eval $ac_compile) 2>&5 | 
| 9215 |  | ac_status=$? | 
| 9216 | < | echo "$as_me:4955: \$? = $ac_status" >&5 | 
| 9216 | > | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| 9217 |  | (exit $ac_status); }; then | 
| 9218 |  | ac_guessed_f90flags=yes | 
| 9219 |  | else | 
| 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:4969: result: $ac_guessed_f90flags" >&5 | 
| 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 |  | : | 
| 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: | 
| 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:5005: checking for a BSD compatible install" >&5 | 
| 9403 | < | echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 | 
| 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 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 9409 | < | for ac_dir in $PATH; do | 
| 9410 | < | IFS=$ac_save_IFS | 
| 9411 | < | # Account for people who put trailing slashes in PATH elements. | 
| 9412 | < | case $ac_dir/ in | 
| 9413 | < | / | ./ | .// | /cC/* \ | 
| 9414 | < | | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ | 
| 9415 | < | | /usr/ucb/* ) ;; | 
| 9416 | < | *) | 
| 9417 | < | # OSF1 and SCO ODT 3.0 have their own names for install. | 
| 9418 | < | # Don't use installbsd from OSF since it installs stuff as root | 
| 9419 | < | # by default. | 
| 9420 | < | for ac_prog in ginstall scoinst install; do | 
| 9421 | < | if $as_executable_p "$ac_dir/$ac_prog"; then | 
| 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 "$ac_dir/$ac_prog" >/dev/null 2>&1; then | 
| 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 "$ac_dir/$ac_prog" >/dev/null 2>&1; then | 
| 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="$ac_dir/$ac_prog -c" | 
| 9436 | < | break 2 | 
| 9435 | > | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
| 9436 | > | break 3 | 
| 9437 |  | fi | 
| 9438 |  | fi | 
| 9439 |  | done | 
| 9440 | < | ;; | 
| 9441 | < | esac | 
| 9442 | < | 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 | 
| 9454 |  | INSTALL=$ac_install_sh | 
| 9455 |  | fi | 
| 9456 |  | fi | 
| 9457 | < | echo "$as_me:5054: result: $INSTALL" >&5 | 
| 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}. | 
| 9465 |  |  | 
| 9466 |  | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| 9467 |  |  | 
| 9468 | < | echo "$as_me:5065: checking whether ln -s works" >&5 | 
| 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:5069: result: yes" >&5 | 
| 9472 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 9473 |  | echo "${ECHO_T}yes" >&6 | 
| 9474 |  | else | 
| 9475 | < | echo "$as_me:5072: result: no, using $LN_S" >&5 | 
| 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:5076: 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_,'` | 
| 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 <<\EOF | 
| 9485 | > | cat >conftest.make <<\_ACEOF | 
| 9486 |  | all: | 
| 9487 | < | @echo 'ac_maketemp="${MAKE}"' | 
| 9488 | < | EOF | 
| 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 | 
| 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:5096: result: yes" >&5 | 
| 9499 | > | echo "$as_me:$LINENO: result: yes" >&5 | 
| 9500 |  | echo "${ECHO_T}yes" >&6 | 
| 9501 |  | SET_MAKE= | 
| 9502 |  | else | 
| 9503 | < | echo "$as_me:5100: result: no" >&5 | 
| 9503 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 9504 |  | echo "${ECHO_T}no" >&6 | 
| 9505 |  | SET_MAKE="MAKE=${MAKE-make}" | 
| 9506 |  | fi | 
| 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:5108: checking for $ac_word" >&5 | 
| 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 | 
| 9516 |  | if test -n "$RANLIB"; then | 
| 9517 |  | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| 9518 |  | else | 
| 9519 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 9520 | < | ac_dummy="$PATH" | 
| 9521 | < | for ac_dir in $ac_dummy; do | 
| 9522 | < | IFS=$ac_save_IFS | 
| 9523 | < | test -z "$ac_dir" && ac_dir=. | 
| 9524 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 9525 | < | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
| 9526 | < | echo "$as_me:5123: found $ac_dir/$ac_word" >&5 | 
| 9527 | < | break | 
| 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:5131: result: $RANLIB" >&5 | 
| 9537 | > | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
| 9538 |  | echo "${ECHO_T}$RANLIB" >&6 | 
| 9539 |  | else | 
| 9540 | < | echo "$as_me:5134: result: no" >&5 | 
| 9540 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 9541 |  | echo "${ECHO_T}no" >&6 | 
| 9542 |  | fi | 
| 9543 |  |  | 
| 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:5143: checking for $ac_word" >&5 | 
| 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 | 
| 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 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 9558 | < | ac_dummy="$PATH" | 
| 9559 | < | for ac_dir in $ac_dummy; do | 
| 9560 | < | IFS=$ac_save_IFS | 
| 9561 | < | test -z "$ac_dir" && ac_dir=. | 
| 9562 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 9563 | < | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
| 9564 | < | echo "$as_me:5158: found $ac_dir/$ac_word" >&5 | 
| 9565 | < | break | 
| 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:5167: result: $ac_ct_RANLIB" >&5 | 
| 9576 | > | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
| 9577 |  | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
| 9578 |  | else | 
| 9579 | < | echo "$as_me:5170: result: no" >&5 | 
| 9579 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 9580 |  | echo "${ECHO_T}no" >&6 | 
| 9581 |  | fi | 
| 9582 |  |  | 
| 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:5183: checking for $ac_word" >&5 | 
| 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 | 
| 9597 |  | if test -n "$YACC"; then | 
| 9598 |  | ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
| 9599 |  | else | 
| 9600 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 9601 | < | ac_dummy="$PATH" | 
| 9602 | < | for ac_dir in $ac_dummy; do | 
| 9603 | < | IFS=$ac_save_IFS | 
| 9604 | < | test -z "$ac_dir" && ac_dir=. | 
| 9605 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 9606 | < | ac_cv_prog_YACC="$ac_prog" | 
| 9607 | < | echo "$as_me:5198: found $ac_dir/$ac_word" >&5 | 
| 9608 | < | break | 
| 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:5206: result: $YACC" >&5 | 
| 9618 | > | echo "$as_me:$LINENO: result: $YACC" >&5 | 
| 9619 |  | echo "${ECHO_T}$YACC" >&6 | 
| 9620 |  | else | 
| 9621 | < | echo "$as_me:5209: result: no" >&5 | 
| 9621 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 9622 |  | echo "${ECHO_T}no" >&6 | 
| 9623 |  | fi | 
| 9624 |  |  | 
| 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:5221: checking for $ac_word" >&5 | 
| 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 | 
| 9638 |  | if test -n "$LEX"; then | 
| 9639 |  | ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
| 9640 |  | else | 
| 9641 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 9642 | < | ac_dummy="$PATH" | 
| 9643 | < | for ac_dir in $ac_dummy; do | 
| 9644 | < | IFS=$ac_save_IFS | 
| 9645 | < | test -z "$ac_dir" && ac_dir=. | 
| 9646 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 9647 | < | ac_cv_prog_LEX="$ac_prog" | 
| 9648 | < | echo "$as_me:5236: found $ac_dir/$ac_word" >&5 | 
| 9649 | < | break | 
| 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:5244: result: $LEX" >&5 | 
| 9659 | > | echo "$as_me:$LINENO: result: $LEX" >&5 | 
| 9660 |  | echo "${ECHO_T}$LEX" >&6 | 
| 9661 |  | else | 
| 9662 | < | echo "$as_me:5247: result: no" >&5 | 
| 9662 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 9663 |  | echo "${ECHO_T}no" >&6 | 
| 9664 |  | fi | 
| 9665 |  |  | 
| 9669 |  |  | 
| 9670 |  | if test -z "$LEXLIB" | 
| 9671 |  | then | 
| 9672 | < | echo "$as_me:5257: checking for yywrap in -lfl" >&5 | 
| 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 | 
| 9677 |  | ac_check_lib_save_LIBS=$LIBS | 
| 9678 |  | LIBS="-lfl  $LIBS" | 
| 9679 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 9680 | < | #line 5265 "configure" | 
| 9681 | < | #include "confdefs.h" | 
| 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 | 
| 9699 |  | } | 
| 9700 |  | _ACEOF | 
| 9701 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9702 | < | if { (eval echo "$as_me:5284: \"$ac_link\"") >&5 | 
| 9703 | < | (eval $ac_link) 2>&5 | 
| 9702 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9703 | > | (eval $ac_link) 2>conftest.er1 | 
| 9704 |  | ac_status=$? | 
| 9705 | < | echo "$as_me:5287: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 9711 | < | { (eval echo "$as_me:5290: \"$ac_try\"") >&5 | 
| 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:5293: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 9726 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9727 | > |  | 
| 9728 |  | ac_cv_lib_fl_yywrap=no | 
| 9729 |  | fi | 
| 9730 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5304: result: $ac_cv_lib_fl_yywrap" >&5 | 
| 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:5309: checking for yywrap in -ll" >&5 | 
| 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 | 
| 9744 |  | ac_check_lib_save_LIBS=$LIBS | 
| 9745 |  | LIBS="-ll  $LIBS" | 
| 9746 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 9747 | < | #line 5317 "configure" | 
| 9748 | < | #include "confdefs.h" | 
| 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 | 
| 9766 |  | } | 
| 9767 |  | _ACEOF | 
| 9768 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9769 | < | if { (eval echo "$as_me:5336: \"$ac_link\"") >&5 | 
| 9770 | < | (eval $ac_link) 2>&5 | 
| 9769 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9770 | > | (eval $ac_link) 2>conftest.er1 | 
| 9771 |  | ac_status=$? | 
| 9772 | < | echo "$as_me:5339: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 9778 | < | { (eval echo "$as_me:5342: \"$ac_try\"") >&5 | 
| 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:5345: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 9793 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9794 | > |  | 
| 9795 |  | ac_cv_lib_l_yywrap=no | 
| 9796 |  | fi | 
| 9797 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5356: result: $ac_cv_lib_l_yywrap" >&5 | 
| 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" | 
| 9809 |  | fi | 
| 9810 |  |  | 
| 9811 |  | if test "x$LEX" != "x:"; then | 
| 9812 | < | echo "$as_me:5367: checking lex output file root" >&5 | 
| 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 | < | echo '%% | 
| 9820 | < | %%' | $LEX | 
| 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:5381: error: cannot find output from $LEX; giving up" >&5 | 
| 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:5386: result: $ac_cv_prog_lex_root" >&5 | 
| 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:5390: checking whether yytext is a pointer" >&5 | 
| 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 | 
| 9856 |  | `cat $LEX_OUTPUT_ROOT.c` | 
| 9857 |  | _ACEOF | 
| 9858 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 9859 | < | if { (eval echo "$as_me:5406: \"$ac_link\"") >&5 | 
| 9860 | < | (eval $ac_link) 2>&5 | 
| 9859 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 9860 | > | (eval $ac_link) 2>conftest.er1 | 
| 9861 |  | ac_status=$? | 
| 9862 | < | echo "$as_me:5409: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 9868 | < | { (eval echo "$as_me:5412: \"$ac_try\"") >&5 | 
| 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:5415: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 9883 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 9884 | > |  | 
| 9885 |  | fi | 
| 9886 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
| 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 <<\EOF | 
| 9896 | > | cat >>confdefs.h <<\_ACEOF | 
| 9897 |  | #define YYTEXT_POINTER 1 | 
| 9898 | < | EOF | 
| 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:5440: checking for $ac_word" >&5 | 
| 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 | 
| 10029 |  | if test -n "$AR"; then | 
| 10030 |  | ac_cv_prog_AR="$AR" # Let the user override the test. | 
| 10031 |  | else | 
| 10032 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 10033 | < | ac_dummy="$PATH" | 
| 10034 | < | for ac_dir in $ac_dummy; do | 
| 10035 | < | IFS=$ac_save_IFS | 
| 10036 | < | test -z "$ac_dir" && ac_dir=. | 
| 10037 | < | $as_executable_p "$ac_dir/$ac_word" || continue | 
| 10038 | < | ac_cv_prog_AR="ar" | 
| 10039 | < | echo "$as_me:5455: found $ac_dir/$ac_word" >&5 | 
| 10040 | < | break | 
| 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:5464: result: $AR" >&5 | 
| 10051 | > | echo "$as_me:$LINENO: result: $AR" >&5 | 
| 10052 |  | echo "${ECHO_T}$AR" >&6 | 
| 10053 |  | else | 
| 10054 | < | echo "$as_me:5467: result: no" >&5 | 
| 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:5472: error: --> Can't find \`ar'!" >&5 | 
| 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 | 
| 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 overriden when | 
| 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 |  |  | 
| 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/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
| 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/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 10096 | > | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 10097 |  | ;; | 
| 10098 |  | esac; | 
| 10099 |  | } | | 
| 10104 |  | t end | 
| 10105 |  | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
| 10106 |  | : end' >>confcache | 
| 10107 | < | if cmp -s $cache_file confcache; then :; else | 
| 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 | 
| 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:5534: checking for $ac_word" >&5 | 
| 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 | 
| 10128 |  | ac_cv_path_PS="$PS" # Let the user override the test with a path. | 
| 10129 |  | ;; | 
| 10130 |  | *) | 
| 10131 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 10132 | < | ac_dummy="$PATH" | 
| 10133 | < | for ac_dir in $ac_dummy; do | 
| 10134 | < | IFS=$ac_save_IFS | 
| 10135 | < | test -z "$ac_dir" && ac_dir=. | 
| 10136 | < | if $as_executable_p "$ac_dir/$ac_word"; then | 
| 10137 | < | ac_cv_path_PS="$ac_dir/$ac_word" | 
| 10138 | < | echo "$as_me:5551: found $ac_dir/$ac_word" >&5 | 
| 10139 | < | break | 
| 10140 | < | fi | 
| 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 |  | ;; | 
| 10148 |  | PS=$ac_cv_path_PS | 
| 10149 |  |  | 
| 10150 |  | if test -n "$PS"; then | 
| 10151 | < | echo "$as_me:5562: result: $PS" >&5 | 
| 10151 | > | echo "$as_me:$LINENO: result: $PS" >&5 | 
| 10152 |  | echo "${ECHO_T}$PS" >&6 | 
| 10153 |  | else | 
| 10154 | < | echo "$as_me:5565: result: no" >&5 | 
| 10154 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 10155 |  | echo "${ECHO_T}no" >&6 | 
| 10156 |  | fi | 
| 10157 |  |  | 
| 10158 | < | echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5 | 
| 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 | 
| 10177 |  | if test "$ac_cv_prog_ps_ef" = yes; then | 
| 10178 |  | ac_cv_prog_ps_syntax=POSIX | 
| 10179 |  | else | 
| 10180 | < | { { echo "$as_me:5591: error: Could not determine ps syntax" >&5 | 
| 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:5598: result: $ac_cv_prog_ps_syntax" >&5 | 
| 10187 | > | echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 | 
| 10188 |  | echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 | 
| 10189 |  |  | 
| 10190 | < | cat >>confdefs.h <<EOF | 
| 10190 | > |  | 
| 10191 | > | cat >>confdefs.h <<_ACEOF | 
| 10192 |  | #define PSCOMMAND $PS | 
| 10193 | < | EOF | 
| 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 | < | cat >>confdefs.h <<\EOF | 
| 10203 | > |  | 
| 10204 | > | cat >>confdefs.h <<\_ACEOF | 
| 10205 |  | #define PSTYPE_IS_BSD 1 | 
| 10206 | < | EOF | 
| 10206 | > | _ACEOF | 
| 10207 |  |  | 
| 10208 |  | else | 
| 10209 |  | if test "$ac_cv_prog_ps_syntax" = POSIX; then | 
| 10210 | < | cat >>confdefs.h <<\EOF | 
| 10210 | > |  | 
| 10211 | > | cat >>confdefs.h <<\_ACEOF | 
| 10212 |  | #define PSTYPE_IS_POSIX 1 | 
| 10213 | < | EOF | 
| 10213 | > | _ACEOF | 
| 10214 |  |  | 
| 10215 |  | else | 
| 10216 | < | { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5 | 
| 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" | 
| 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 | < | echo "$as_me:5645: checking for mpi.h" >&5 | 
| 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 test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then | 
| 10254 | < | echo "$as_me:5650: result: yes" >&5 | 
| 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 | < | echo "$as_me:5654: result: no! Check MPI include paths" >&5 | 
| 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 <<\EOF | 
| 10268 | > | cat >>confdefs.h <<\_ACEOF | 
| 10269 |  | #define HAVE_MPI_H 1 | 
| 10270 | < | EOF | 
| 10270 | > | _ACEOF | 
| 10271 |  |  | 
| 10272 |  | fi | 
| 10273 |  |  | 
| 10274 | < | echo "$as_me:5667: checking whether mpif.h is usable" >&5 | 
| 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* | 
| 10281 |  | end | 
| 10282 |  | EOF | 
| 10283 |  | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then | 
| 10284 | < | echo "$as_me:5677: result: yes" >&5 | 
| 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 | 
| 10289 |  | if test -s conftest.out ; then | 
| 10290 |  | cat conftest.out >> config.log | 
| 10291 |  | fi | 
| 10292 | < | echo "$as_me:5685: result: no! Check MPI include paths" >&5 | 
| 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 | 
| 10297 |  |  | 
| 10298 |  | if test "$have_mpif_h" = 1; then | 
| 10299 |  |  | 
| 10300 | < | cat >>confdefs.h <<\EOF | 
| 10300 | > | cat >>confdefs.h <<\_ACEOF | 
| 10301 |  | #define HAVE_MPIF_H 1 | 
| 10302 | < | EOF | 
| 10302 | > | _ACEOF | 
| 10303 |  |  | 
| 10304 |  | fi | 
| 10305 |  |  | 
| 10313 |  | LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} " | 
| 10314 |  |  | 
| 10315 |  | if test x = x"$MPI_LIB"; then | 
| 10316 | < | echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5 | 
| 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 | 
| 10321 |  | ac_check_lib_save_LIBS=$LIBS | 
| 10322 |  | LIBS="-lmpich  $LIBS" | 
| 10323 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10324 | < | #line 5717 "configure" | 
| 10325 | < | #include "confdefs.h" | 
| 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 | 
| 10343 |  | } | 
| 10344 |  | _ACEOF | 
| 10345 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10346 | < | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5 | 
| 10347 | < | (eval $ac_link) 2>&5 | 
| 10346 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10347 | > | (eval $ac_link) 2>conftest.er1 | 
| 10348 |  | ac_status=$? | 
| 10349 | < | echo "$as_me:5739: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 10355 | < | { (eval echo "$as_me:5742: \"$ac_try\"") >&5 | 
| 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:5745: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 10370 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10371 | > |  | 
| 10372 |  | ac_cv_lib_mpich_MPI_Init=no | 
| 10373 |  | fi | 
| 10374 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5 | 
| 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" | 
| 10383 |  |  | 
| 10384 |  | fi | 
| 10385 |  | if test x = x"$MPI_LIB"; then | 
| 10386 | < | echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5 | 
| 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 | 
| 10391 |  | ac_check_lib_save_LIBS=$LIBS | 
| 10392 |  | LIBS="-lmpi  $LIBS" | 
| 10393 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10394 | < | #line 5772 "configure" | 
| 10395 | < | #include "confdefs.h" | 
| 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 | 
| 10413 |  | } | 
| 10414 |  | _ACEOF | 
| 10415 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10416 | < | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5 | 
| 10417 | < | (eval $ac_link) 2>&5 | 
| 10416 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10417 | > | (eval $ac_link) 2>conftest.er1 | 
| 10418 |  | ac_status=$? | 
| 10419 | < | echo "$as_me:5794: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 10425 | < | { (eval echo "$as_me:5797: \"$ac_try\"") >&5 | 
| 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:5800: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 10440 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10441 | > |  | 
| 10442 |  | ac_cv_lib_mpi_MPI_Init=no | 
| 10443 |  | fi | 
| 10444 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5 | 
| 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" | 
| 10454 |  | fi | 
| 10455 |  | $as_unset ac_cv_lib_mpi_MPI_Init | 
| 10456 |  | if test x = x"$MPI_LIB"; then | 
| 10457 | < | echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5 | 
| 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 | 
| 10462 |  | ac_check_lib_save_LIBS=$LIBS | 
| 10463 |  | LIBS="-lmpi "-llam" $LIBS" | 
| 10464 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10465 | < | #line 5828 "configure" | 
| 10466 | < | #include "confdefs.h" | 
| 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 | 
| 10484 |  | } | 
| 10485 |  | _ACEOF | 
| 10486 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10487 | < | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5 | 
| 10488 | < | (eval $ac_link) 2>&5 | 
| 10487 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10488 | > | (eval $ac_link) 2>conftest.er1 | 
| 10489 |  | ac_status=$? | 
| 10490 | < | echo "$as_me:5850: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 10496 | < | { (eval echo "$as_me:5853: \"$ac_try\"") >&5 | 
| 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:5856: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 10511 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10512 | > |  | 
| 10513 |  | ac_cv_lib_mpi_MPI_Init=no | 
| 10514 |  | fi | 
| 10515 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5 | 
| 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" | 
| 10525 |  | fi | 
| 10526 |  | $as_unset ac_cv_lib_mpich_MPI_Init | 
| 10527 |  | if test x = x"$MPI_LIB"; then | 
| 10528 | < | echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5 | 
| 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 | 
| 10533 |  | ac_check_lib_save_LIBS=$LIBS | 
| 10534 |  | LIBS="-lmpich "-lpmpich" $LIBS" | 
| 10535 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10536 | < | #line 5884 "configure" | 
| 10537 | < | #include "confdefs.h" | 
| 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 | 
| 10555 |  | } | 
| 10556 |  | _ACEOF | 
| 10557 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10558 | < | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5 | 
| 10559 | < | (eval $ac_link) 2>&5 | 
| 10558 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10559 | > | (eval $ac_link) 2>conftest.er1 | 
| 10560 |  | ac_status=$? | 
| 10561 | < | echo "$as_me:5906: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 10567 | < | { (eval echo "$as_me:5909: \"$ac_try\"") >&5 | 
| 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:5912: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 10582 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10583 | > |  | 
| 10584 |  | ac_cv_lib_mpich_MPI_Init=no | 
| 10585 |  | fi | 
| 10586 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5 | 
| 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" | 
| 10597 |  |  | 
| 10598 |  | $as_unset ac_cv_lib_mpi_MPI_Init | 
| 10599 |  | if test x = x"$MPI_LIB"; then | 
| 10600 | < | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5 | 
| 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 | 
| 10605 |  | ac_check_lib_save_LIBS=$LIBS | 
| 10606 |  | LIBS="-lmpi -llam -lpthread $LIBS" | 
| 10607 |  | cat >conftest.$ac_ext <<_ACEOF | 
| 10608 | < | #line 5941 "configure" | 
| 10609 | < | #include "confdefs.h" | 
| 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 | 
| 10627 |  | } | 
| 10628 |  | _ACEOF | 
| 10629 |  | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 10630 | < | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5 | 
| 10631 | < | (eval $ac_link) 2>&5 | 
| 10630 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 10631 | > | (eval $ac_link) 2>conftest.er1 | 
| 10632 |  | ac_status=$? | 
| 10633 | < | echo "$as_me:5963: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 10639 | < | { (eval echo "$as_me:5966: \"$ac_try\"") >&5 | 
| 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:5969: \$? = $ac_status" >&5 | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 10654 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10655 | > |  | 
| 10656 |  | ac_cv_lib_mpi_MPI_Init=no | 
| 10657 |  | fi | 
| 10658 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 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:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5 | 
| 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:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5 | 
| 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" | 
| 10674 |  |  | 
| 10675 |  | fi | 
| 10676 |  |  | 
| 10677 | < | echo "$as_me:5995: checking for MPI Fortran library" >&5 | 
| 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 | 
| 10686 |  | else | 
| 10687 |  | MPI_F90_LIB="  " | 
| 10688 |  | fi | 
| 10689 | < | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5 | 
| 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 | < | # Check whether --with-sprng or --without-sprng was given. | 
| 10696 | < | if test "${with_sprng+set}" = set; then | 
| 10697 | < | withval="$with_sprng" | 
| 10698 | < | with_sprng=$withval | 
| 10699 | < | else | 
| 10700 | < | with_sprng="/usr/local" | 
| 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 | < | case "x$with_sprng" in | 
| 6019 | < | xyes | "x")  USE_SPRNG=yes;; | 
| 6020 | < | xno) USE_SPRNG=no ;; | 
| 6021 | < | *) SPRNG="$with_sprng"; USE_SPRNG=yes ;; | 
| 6022 | < | esac | 
| 6023 | < | if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then | 
| 6024 | < | SPRNG="/usr/local" | 
| 6025 | < | fi | 
| 6026 | < | if test "$USE_SPRNG" = "yes"; then | 
| 10707 | > | if test "x$cgal_makefile" != xno; then | 
| 10708 |  |  | 
| 10709 | < | # Set variables... | 
| 10710 | < | SPRNG_LIB_DIR="$SPRNG/lib" | 
| 10711 | < | SPRNG_INC_DIR="$SPRNG/include" | 
| 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:6032: checking for sprng.h" >&5 | 
| 10714 | < | echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6 | 
| 6034 | < | have_sprng_h=0 | 
| 6035 | < | echo '#include <sprng.h>' > conftest.cc | 
| 6036 | < | if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then | 
| 6037 | < | echo "$as_me:6037: result: yes" >&5 | 
| 6038 | < | echo "${ECHO_T}yes" >&6 | 
| 6039 | < | have_sprng_h=1 | 
| 6040 | < | else | 
| 6041 | < | echo "$as_me:6041: result: no! Check SPRNG include path!" >&5 | 
| 6042 | < | echo "${ECHO_T}no! Check SPRNG include path!" >&6 | 
| 6043 | < | USE_SPRNG="no" | 
| 6044 | < | fi | 
| 6045 | < | rm -f conftest* | 
| 6046 | < | if test "$have_sprng_h" = 1; then | 
| 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 | < | cat >>confdefs.h <<\EOF | 
| 10717 | < | #define HAVE_SPRNG_H 1 | 
| 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 | < | fi | 
| 10735 | > | make -s -f config.tmp.Makefile | 
| 10736 | > | . config.tmp.cgalvariables | 
| 10737 |  |  | 
| 10738 | < | ac_ext=c | 
| 6055 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 6056 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 6057 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 6058 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 10738 | > | rm -f config.tmp.Makefile config.tmp.cgalvariables | 
| 10739 |  |  | 
| 10740 | < | ac_save_LDFLAGS=$LDFLAGS | 
| 10741 | < | LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} " | 
| 10740 | > | if test "x$CGAL_INCLDIR" = "x"; then | 
| 10741 | > | CGAL_INCLDIR="" | 
| 10742 | > | fi | 
| 10743 |  |  | 
| 10744 | < | echo "$as_me:6063: checking for init_rng in -lsprng" >&5 | 
| 10745 | < | echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6 | 
| 10746 | < | if test "${ac_cv_lib_sprng_init_rng+set}" = set; then | 
| 6066 | < | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| 6067 | < | else | 
| 6068 | < | ac_check_lib_save_LIBS=$LIBS | 
| 6069 | < | LIBS="-lsprng  $LIBS" | 
| 6070 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 6071 | < | #line 6071 "configure" | 
| 6072 | < | #include "confdefs.h" | 
| 10744 | > | if test "x$CGAL_LIBDIR" = "x"; then | 
| 10745 | > | CGAL_LIBDIR="" | 
| 10746 | > | fi | 
| 10747 |  |  | 
| 10748 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 10749 | < | #ifdef __cplusplus | 
| 10750 | < | extern "C" | 
| 6077 | < | #endif | 
| 6078 | < | /* We use char because int might match the return type of a gcc2 | 
| 6079 | < | builtin and then its argument prototype would still apply.  */ | 
| 6080 | < | char init_rng (); | 
| 6081 | < | int | 
| 6082 | < | main () | 
| 6083 | < | { | 
| 6084 | < | init_rng (); | 
| 6085 | < | ; | 
| 6086 | < | return 0; | 
| 6087 | < | } | 
| 6088 | < | _ACEOF | 
| 6089 | < | rm -f conftest.$ac_objext conftest$ac_exeext | 
| 6090 | < | if { (eval echo "$as_me:6090: \"$ac_link\"") >&5 | 
| 6091 | < | (eval $ac_link) 2>&5 | 
| 6092 | < | ac_status=$? | 
| 6093 | < | echo "$as_me:6093: \$? = $ac_status" >&5 | 
| 6094 | < | (exit $ac_status); } && | 
| 6095 | < | { ac_try='test -s conftest$ac_exeext' | 
| 6096 | < | { (eval echo "$as_me:6096: \"$ac_try\"") >&5 | 
| 6097 | < | (eval $ac_try) 2>&5 | 
| 6098 | < | ac_status=$? | 
| 6099 | < | echo "$as_me:6099: \$? = $ac_status" >&5 | 
| 6100 | < | (exit $ac_status); }; }; then | 
| 6101 | < | ac_cv_lib_sprng_init_rng=yes | 
| 6102 | < | else | 
| 6103 | < | echo "$as_me: failed program was:" >&5 | 
| 6104 | < | cat conftest.$ac_ext >&5 | 
| 6105 | < | ac_cv_lib_sprng_init_rng=no | 
| 6106 | < | fi | 
| 6107 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 6108 | < | LIBS=$ac_check_lib_save_LIBS | 
| 6109 | < | fi | 
| 6110 | < | echo "$as_me:6110: result: $ac_cv_lib_sprng_init_rng" >&5 | 
| 6111 | < | echo "${ECHO_T}$ac_cv_lib_sprng_init_rng" >&6 | 
| 6112 | < | if test $ac_cv_lib_sprng_init_rng = yes; then | 
| 6113 | < | SPRNG_LIB="-lsprng" | 
| 6114 | < | else | 
| 10748 | > | if test "x$CGAL_RLIBDIR" = "x"; then | 
| 10749 | > | CGAL_RLIBDIR="" | 
| 10750 | > | fi | 
| 10751 |  |  | 
| 10752 | < | { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5 | 
| 10753 | < | echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;} | 
| 10754 | < | { (exit 1); exit 1; }; } | 
| 6119 | < | USE_SPRNG="no" | 
| 10752 | > | if test "x$LEDA_INCLDIR" = "x"; then | 
| 10753 | > | LEDA_INCLDIR="" | 
| 10754 | > | fi | 
| 10755 |  |  | 
| 10756 | < | fi | 
| 10756 | > | if test "x$LEDA_LIBDIR" = "x"; then | 
| 10757 | > | LEDA_LIBDIR="" | 
| 10758 | > | fi | 
| 10759 |  |  | 
| 10760 | < | if test "$USE_SPRNG" = "no"; then | 
| 10761 | < | { { echo "$as_me:6124: error: No working SPRNG library found" >&5 | 
| 10762 | < | echo "$as_me: error: No working SPRNG library found" >&2;} | 
| 6126 | < | { (exit 1); exit 1; }; } | 
| 6127 | < | fi | 
| 10760 | > | if test "x$LEDA_RLIBDIR" = "x"; then | 
| 10761 | > | LEDA_RLIBDIR="" | 
| 10762 | > | fi | 
| 10763 |  |  | 
| 10764 | < | fi | 
| 10764 | > | if test "x$GMP_INCLDIR" = "x"; then | 
| 10765 | > | GMP_INCLDIR="" | 
| 10766 | > | fi | 
| 10767 |  |  | 
| 10768 | < | echo "$as_me:6131: checking if MKL is wanted" >&5 | 
| 10769 | < | echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6 | 
| 10768 | > | if test "x$GMP_LIBDIR" = "x"; then | 
| 10769 | > | GMP_LIBDIR="" | 
| 10770 | > | fi | 
| 10771 |  |  | 
| 10772 | < | # Check whether --with-mkl or --without-mkl was given. | 
| 10773 | < | if test "${with_mkl+set}" = set; then | 
| 6136 | < | withval="$with_mkl" | 
| 6137 | < | echo "$as_me:6137: result: yes" >&5 | 
| 6138 | < | echo "${ECHO_T}yes" >&6 | 
| 6139 | < | for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do | 
| 6140 | < | mkldir="$dir" | 
| 6141 | < | if test -f "$dir/include/mkl.h"; then | 
| 6142 | < | found_mkl="yes"; | 
| 6143 | < | break; | 
| 6144 | < | fi | 
| 6145 | < | done | 
| 6146 | < | if test x_$found_mkl != x_yes; then | 
| 6147 | < | { { echo "$as_me:6147: error: Cannot find MKL includes" >&5 | 
| 6148 | < | echo "$as_me: error: Cannot find MKL includes" >&2;} | 
| 6149 | < | { (exit 1); exit 1; }; } | 
| 6150 | < | else | 
| 6151 | < | printf "MKL includes found in $mkldir/include\n"; | 
| 10772 | > | if test "x$GMP_RLIBDIR" = "x"; then | 
| 10773 | > | GMP_RLIBDIR="" | 
| 10774 |  | fi | 
| 10775 |  |  | 
| 10776 | < | ac_ext=c | 
| 10777 | < | ac_cpp='$CPP $CPPFLAGS' | 
| 10778 | < | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| 10779 | < | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| 10780 | < | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| 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_save_CPPFLAGS=$CPPFLAGS | 
| 10796 | < | CPPFLAGS="${CPPFLAGS} -I${mkldir}/include" | 
| 10797 | < | ac_save_LDFLAGS=$LDFLAGS | 
| 10798 | < | LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide" | 
| 10799 | < | echo "$as_me:6164: checking for mkl.h" >&5 | 
| 10800 | < | echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6 | 
| 10801 | < | if test "${ac_cv_header_mkl_h+set}" = set; then | 
| 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 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10813 | < | #line 6170 "configure" | 
| 10814 | < | #include "confdefs.h" | 
| 10815 | < | #include <mkl.h> | 
| 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 | < | if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
| 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 | < | egrep -v '^ *\+' conftest.er1 >conftest.err | 
| 10871 | > | grep -v '^ *+' conftest.er1 >conftest.err | 
| 10872 |  | rm -f conftest.er1 | 
| 10873 |  | cat conftest.err >&5 | 
| 10874 | < | echo "$as_me:6180: \$? = $ac_status" >&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_c_preproc_warn_flag | 
| 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 | 
| 10883 |  | ac_cpp_err=yes | 
| 10884 |  | fi | 
| 10885 |  | if test -z "$ac_cpp_err"; then | 
| 10886 | < | ac_cv_header_mkl_h=yes | 
| 10886 | > | ac_header_preproc=yes | 
| 10887 |  | else | 
| 10888 |  | echo "$as_me: failed program was:" >&5 | 
| 10889 | < | cat conftest.$ac_ext >&5 | 
| 10890 | < | ac_cv_header_mkl_h=no | 
| 10889 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 10890 | > |  | 
| 10891 | > | ac_header_preproc=no | 
| 10892 |  | fi | 
| 10893 |  | rm -f conftest.err conftest.$ac_ext | 
| 10894 | < | fi | 
| 10895 | < | echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5 | 
| 6200 | < | echo "${ECHO_T}$ac_cv_header_mkl_h" >&6 | 
| 6201 | < | if test $ac_cv_header_mkl_h = yes; then | 
| 10894 | > | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
| 10895 | > | echo "${ECHO_T}$ac_header_preproc" >&6 | 
| 10896 |  |  | 
| 10897 | < | echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5 | 
| 10898 | < | echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6 | 
| 10899 | < | if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then | 
| 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_check_lib_save_LIBS=$LIBS | 
| 10935 | < | LIBS="-lmkl  $LIBS" | 
| 10936 | < | cat >conftest.$ac_ext <<_ACEOF | 
| 10937 | < | #line 6211 "configure" | 
| 6212 | < | #include "confdefs.h" | 
| 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 | < | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| 10940 | < | #ifdef __cplusplus | 
| 10941 | < | extern "C" | 
| 10942 | < | #endif | 
| 10943 | < | /* We use char because int might match the return type of a gcc2 | 
| 10944 | < | builtin and then its argument prototype would still apply.  */ | 
| 10945 | < | char vslNewStream (); | 
| 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 | < | vslNewStream (); | 
| 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:6230: \"$ac_link\"") >&5 | 
| 11049 | < | (eval $ac_link) 2>&5 | 
| 11048 | > | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| 11049 | > | (eval $ac_link) 2>conftest.er1 | 
| 11050 |  | ac_status=$? | 
| 11051 | < | echo "$as_me:6233: \$? = $ac_status" >&5 | 
| 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 -s conftest$ac_exeext' | 
| 11057 | < | { (eval echo "$as_me:6236: \"$ac_try\"") >&5 | 
| 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:6239: \$? = $ac_status" >&5 | 
| 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 | < | ac_cv_lib_mkl_vslNewStream=yes | 
| 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 | < | cat conftest.$ac_ext >&5 | 
| 6245 | < | ac_cv_lib_mkl_vslNewStream=no | 
| 6246 | < | fi | 
| 6247 | < | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
| 6248 | < | LIBS=$ac_check_lib_save_LIBS | 
| 6249 | < | fi | 
| 6250 | < | echo "$as_me:6250: result: $ac_cv_lib_mkl_vslNewStream" >&5 | 
| 6251 | < | echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6 | 
| 6252 | < | if test $ac_cv_lib_mkl_vslNewStream = yes; then | 
| 6253 | < | MKL_LIBDIR="${mkldir}/lib/32", | 
| 6254 | < | MKL_LIB="-lmkl -lvml -lguide", | 
| 6255 | < | HAVE_MKL="yes" | 
| 6256 | < | fi | 
| 11074 | > | sed 's/^/| /' conftest.$ac_ext >&5 | 
| 11075 |  |  | 
| 11076 | < | else | 
| 11077 | < | MKL_INC="-I${mkldir}/include" | 
| 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 | < | CPPFLAGS=$ac_save_CPPFLAGS | 
| 6263 | < | LDFLAGS=$ac_save_LDFLAGS | 
| 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 |  |  | 
| 6270 | – | if test x_$HAVE_MKL != x_yes; then | 
| 6271 | – | { { echo "$as_me:6271: error: Can't build with MKL" >&5 | 
| 6272 | – | echo "$as_me: error: Can't build with MKL" >&2;} | 
| 6273 | – | { (exit 1); exit 1; }; } | 
| 6274 | – | fi | 
| 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 |  |  | 
| 6278 | – | echo "$as_me:6278: result: no" >&5 | 
| 6279 | – | echo "${ECHO_T}no" >&6 | 
| 11132 |  |  | 
| 11133 | < | fi; | 
| 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" | 
| 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:6312: checking for $ac_word" >&5 | 
| 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 | 
| 11181 |  | ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. | 
| 11182 |  | ;; | 
| 11183 |  | *) | 
| 11184 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 11185 | < | ac_dummy="$PATH" | 
| 11186 | < | for ac_dir in $ac_dummy; do | 
| 11187 | < | IFS=$ac_save_IFS | 
| 11188 | < | test -z "$ac_dir" && ac_dir=. | 
| 11189 | < | if $as_executable_p "$ac_dir/$ac_word"; then | 
| 11190 | < | ac_cv_path_DOXYGEN="$ac_dir/$ac_word" | 
| 11191 | < | echo "$as_me:6329: found $ac_dir/$ac_word" >&5 | 
| 11192 | < | break | 
| 11193 | < | fi | 
| 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 | 
| 11201 |  | DOXYGEN=$ac_cv_path_DOXYGEN | 
| 11202 |  |  | 
| 11203 |  | if test -n "$DOXYGEN"; then | 
| 11204 | < | echo "$as_me:6340: result: $DOXYGEN" >&5 | 
| 11204 | > | echo "$as_me:$LINENO: result: $DOXYGEN" >&5 | 
| 11205 |  | echo "${ECHO_T}$DOXYGEN" >&6 | 
| 11206 |  | else | 
| 11207 | < | echo "$as_me:6343: result: no" >&5 | 
| 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:6349: error: could not find doxygen" >&5 | 
| 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 | 
| 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:6358: checking for $ac_word" >&5 | 
| 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 | 
| 11229 |  | ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
| 11230 |  | ;; | 
| 11231 |  | *) | 
| 11232 | < | ac_save_IFS=$IFS; IFS=$ac_path_separator | 
| 11233 | < | ac_dummy="$PATH" | 
| 11234 | < | for ac_dir in $ac_dummy; do | 
| 11235 | < | IFS=$ac_save_IFS | 
| 11236 | < | test -z "$ac_dir" && ac_dir=. | 
| 11237 | < | if $as_executable_p "$ac_dir/$ac_word"; then | 
| 11238 | < | ac_cv_path_DOT="$ac_dir/$ac_word" | 
| 11239 | < | echo "$as_me:6375: found $ac_dir/$ac_word" >&5 | 
| 11240 | < | break | 
| 11241 | < | fi | 
| 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 | 
| 11249 |  | DOT=$ac_cv_path_DOT | 
| 11250 |  |  | 
| 11251 |  | if test -n "$DOT"; then | 
| 11252 | < | echo "$as_me:6386: result: $DOT" >&5 | 
| 11252 | > | echo "$as_me:$LINENO: result: $DOT" >&5 | 
| 11253 |  | echo "${ECHO_T}$DOT" >&6 | 
| 11254 |  | else | 
| 11255 | < | echo "$as_me:6389: result: no" >&5 | 
| 11255 | > | echo "$as_me:$LINENO: result: no" >&5 | 
| 11256 |  | echo "${ECHO_T}no" >&6 | 
| 11257 |  | fi | 
| 11258 |  |  | 
| 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:6404: error: could not find dot" >&5 | 
| 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 | 
| 11277 |  | enable_dot=yes | 
| 11278 |  | fi | 
| 11279 |  |  | 
| 11280 | + |  | 
| 11281 | + |  | 
| 11282 | + |  | 
| 11283 | + |  | 
| 11284 | + |  | 
| 11285 | + |  | 
| 11286 |  | OBJEXT=".$OBJEXT" | 
| 11287 |  |  | 
| 11288 |  | OOPSE=oopse | 
| 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 | < | case $debug in | 
| 6445 | < | 1) | 
| 6446 | < | FFLAGS="$DEBUG $FFLAGS" | 
| 6447 | < | F90FLAGS="$DEBUG $F90FLAGS" | 
| 6448 | < | ;; | 
| 6449 | < | *) | 
| 6450 | < | ;; | 
| 6451 | < | esac | 
| 11345 | > | ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp" | 
| 11346 |  |  | 
| 6453 | – | ac_config_headers="$ac_config_headers src/config.h" | 
| 11347 |  |  | 
| 6455 | – | ac_config_files="$ac_config_files make/Makefile src/utils/Makefile" | 
| 6456 | – |  | 
| 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 | 
| 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 overriden when | 
| 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 |  |  | 
| 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/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
| 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/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 11382 | > | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
| 11383 |  | ;; | 
| 11384 |  | esac; | 
| 11385 |  | } | | 
| 11390 |  | t end | 
| 11391 |  | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
| 11392 |  | : end' >>confcache | 
| 11393 | < | if cmp -s $cache_file confcache; then :; else | 
| 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 | 
| 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[        ]*=/{ | 
| 11412 | > | ac_vpsub='/^[  ]*VPATH[        ]*=/{ | 
| 11413 |  | s/:*\$(srcdir):*/:/; | 
| 11414 |  | s/:*\${srcdir}:*/:/; | 
| 11415 |  | s/:*@srcdir@:*/:/; | 
| 11416 | < | s/^\([^=]*=[    ]*\):*/\1/; | 
| 11416 | > | s/^\([^=]*=[     ]*\):*/\1/; | 
| 11417 |  | s/:*$//; | 
| 11418 | < | 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:6536: creating $CONFIG_STATUS" >&5 | 
| 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 automatically by configure. | 
| 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} | 
| 6547 | – | ac_cs_invocation="\$0 \$@" | 
| 6548 | – |  | 
| 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=`echo "$0" |sed 's,.*[\\/],,'` | 
| 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 | 
| 11668 |  | fi | 
| 11669 |  | rm -f conf$$ conf$$.exe conf$$.file | 
| 11670 |  |  | 
| 11671 | < | as_executable_p="test -f" | 
| 11672 | < |  | 
| 6589 | < | # Support unset when possible. | 
| 6590 | < | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
| 6591 | < | as_unset=unset | 
| 11671 | > | if mkdir -p . 2>/dev/null; then | 
| 11672 | > | as_mkdir_p=: | 
| 11673 |  | else | 
| 11674 | < | as_unset=false | 
| 11674 | > | test -d ./-p && rmdir ./-p | 
| 11675 | > | as_mkdir_p=false | 
| 11676 |  | fi | 
| 11677 |  |  | 
| 11678 | < | # NLS nuisances. | 
| 6597 | < | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | 
| 6598 | < | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | 
| 6599 | < | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | 
| 6600 | < | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | 
| 6601 | < | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | 
| 6602 | < | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | 
| 6603 | < | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | 
| 6604 | < | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | 
| 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=' | 
| 11691 |  | IFS="   $as_nl" | 
| 11692 |  |  | 
| 11693 |  | # CDPATH. | 
| 11694 | < | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export 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. | 
| 11738 |  | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
| 11739 |  | fi | 
| 11740 |  |  | 
| 11741 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 11741 | > | cat >>$CONFIG_STATUS <<\_ACEOF | 
| 11742 |  |  | 
| 11743 |  | ac_cs_usage="\ | 
| 11744 |  | \`$as_me' instantiates files from templates according to the | 
| 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 | 
| 11755 | > | instantiate the configuration file FILE | 
| 11756 |  | --header=FILE[:TEMPLATE] | 
| 11757 | < | instantiate the configuration header FILE | 
| 11757 | > | instantiate the configuration header FILE | 
| 11758 |  |  | 
| 11759 |  | Configuration files: | 
| 11760 |  | $config_files | 
| 11766 |  | $config_links | 
| 11767 |  |  | 
| 11768 |  | Report bugs to <bug-autoconf@gnu.org>." | 
| 11769 | < | EOF | 
| 11769 | > | _ACEOF | 
| 11770 |  |  | 
| 11771 | < | cat >>$CONFIG_STATUS <<EOF | 
| 11771 | > | cat >>$CONFIG_STATUS <<_ACEOF | 
| 11772 |  | ac_cs_version="\\ | 
| 11773 |  | OOPSE config.status 2.0 | 
| 11774 | < | configured by $0, generated by GNU Autoconf 2.50, | 
| 11774 | > | configured by $0, generated by GNU Autoconf 2.59, | 
| 11775 |  | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
| 11776 |  |  | 
| 11777 | < | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
| 6672 | < | Free Software Foundation, Inc. | 
| 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 | < | EOF | 
| 11782 | > | _ACEOF | 
| 11783 |  |  | 
| 11784 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 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=: | 
| 11791 |  | --*=*) | 
| 11792 |  | ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
| 11793 |  | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
| 11794 | < | shift | 
| 6690 | < | set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | 
| 6691 | < | shift | 
| 11794 | > | ac_shift=: | 
| 11795 |  | ;; | 
| 11796 | < | -*);; | 
| 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 $1 in | 
| 11807 | > | case $ac_option in | 
| 11808 |  | # Handling of the options. | 
| 11809 | < | EOF | 
| 11810 | < | cat >>$CONFIG_STATUS <<EOF | 
| 11809 | > | _ACEOF | 
| 11810 | > | cat >>$CONFIG_STATUS <<\_ACEOF | 
| 11811 |  | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
| 11812 | < | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 
| 6705 | < | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 
| 6706 | < | EOF | 
| 6707 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 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:6712: error: ambiguous option: $1 | 
| 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;} | 
| 11824 |  | --debug | --d* | -d ) | 
| 11825 |  | debug=: ;; | 
| 11826 |  | --file | --fil | --fi | --f ) | 
| 11827 | < | shift | 
| 11828 | < | CONFIG_FILES="$CONFIG_FILES $1" | 
| 11827 | > | $ac_shift | 
| 11828 | > | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
| 11829 |  | ac_need_defaults=false;; | 
| 11830 |  | --header | --heade | --head | --hea ) | 
| 11831 | < | shift | 
| 11832 | < | CONFIG_HEADERS="$CONFIG_HEADERS $1" | 
| 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 |  |  | 
| 6730 | – | # Handling of arguments. | 
| 6731 | – | 'make/Makefile' ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; | 
| 6732 | – | 'src/utils/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; | 
| 6733 | – | 'src/getopt.h' ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; | 
| 6734 | – | 'src/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; | 
| 6735 | – |  | 
| 11838 |  | # This is an error. | 
| 11839 | < | -*) { { echo "$as_me:6737: error: unrecognized option: $1 | 
| 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 | < | *) { { echo "$as_me:6742: error: invalid argument: $1" >&5 | 
| 11845 | < | echo "$as_me: error: invalid argument: $1" >&2;} | 
| 11846 | < | { (exit 1); exit 1; }; };; | 
| 11844 | > |  | 
| 11845 | > | *) ac_config_targets="$ac_config_targets $1" ;; | 
| 11846 | > |  | 
| 11847 |  | esac | 
| 11848 |  | shift | 
| 11849 |  | done | 
| 11850 |  |  | 
| 11851 | < | exec 5>>config.log | 
| 6750 | < | cat >&5 << _ACEOF | 
| 11851 | > | ac_configure_extra_args= | 
| 11852 |  |  | 
| 11853 | < | ## ----------------------- ## | 
| 11854 | < | ## Running config.status.  ## | 
| 11855 | < | ## ----------------------- ## | 
| 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 | < | This file was extended by $as_me (OOPSE 2.0) 2.50, executed with | 
| 11859 | < | > $ac_cs_invocation | 
| 11860 | < | on `(hostname || uname -n) 2>/dev/null | sed 1q` | 
| 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 | 
| 6761 | – | EOF | 
| 11866 |  |  | 
| 11867 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 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 | 
| 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 $?); exit $?; }' 1 2 13 15 | 
| 11905 | > | trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
| 11906 |  | } | 
| 11907 |  |  | 
| 11908 |  | # Create a (secure) tmp directory for tmp files. | 
| 11909 | < | : ${TMPDIR=/tmp} | 
| 11909 | > |  | 
| 11910 |  | { | 
| 11911 | < | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 
| 11911 | > | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
| 11912 |  | test -n "$tmp" && test -d "$tmp" | 
| 11913 |  | }  || | 
| 11914 |  | { | 
| 11915 | < | tmp=$TMPDIR/cs$$-$RANDOM | 
| 11915 | > | tmp=./confstat$$-$RANDOM | 
| 11916 |  | (umask 077 && mkdir $tmp) | 
| 11917 |  | } || | 
| 11918 |  | { | 
| 11919 | < | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 
| 11919 | > | echo "$me: cannot create a temporary directory in ." >&2 | 
| 11920 |  | { (exit 1); exit 1; } | 
| 11921 |  | } | 
| 11922 |  |  | 
| 11923 | < | EOF | 
| 11923 | > | _ACEOF | 
| 11924 |  |  | 
| 11925 | < | cat >>$CONFIG_STATUS <<EOF | 
| 11925 | > | cat >>$CONFIG_STATUS <<_ACEOF | 
| 11926 |  |  | 
| 11927 |  | # | 
| 11928 |  | # CONFIG_FILES section. | 
| 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 | 
| 11956 |  | s,@oldincludedir@,$oldincludedir,;t t | 
| 11957 |  | s,@infodir@,$infodir,;t t | 
| 11958 |  | s,@mandir@,$mandir,;t t | 
| 11959 | < | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
| 11960 | < | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
| 11961 | < | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
| 11962 | < | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
| 6830 | < | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;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 | 
| 6834 | – | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
| 6835 | – | s,@DEFS@,$DEFS,;t t | 
| 11966 |  | s,@LIBS@,$LIBS,;t t | 
| 11967 |  | s,@PROGNAME@,$PROGNAME,;t t | 
| 11968 |  | s,@debug@,$debug,;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 | 
| 12001 |  | s,@MODDIRFLAG@,$MODDIRFLAG,;t t | 
| 12002 |  | s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t | 
| 12003 |  | s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t | 
| 12004 | < | s,@CPP@,$CPP,;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 | 
| 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 | 
| 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,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t | 
| 12029 | < | s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t | 
| 12030 | < | s,@SPRNG_LIB@,$SPRNG_LIB,;t t | 
| 12031 | < | s,@USE_SPRNG@,$USE_SPRNG,;t t | 
| 12032 | < | s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t | 
| 12033 | < | s,@MKL_LIB@,$MKL_LIB,;t t | 
| 12034 | < | s,@MKL_INC@,$MKL_INC,;t t | 
| 6900 | < | s,@HAVE_MKL@,$HAVE_MKL,;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 | 
| 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 | < | EOF | 
| 12050 | > | _ACEOF | 
| 12051 |  |  | 
| 12052 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 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 | 
| 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" | 
| 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" | 
| 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 | 
| 12088 |  | fi | 
| 12089 |  | fi # test -n "$CONFIG_FILES" | 
| 12090 |  |  | 
| 12091 | < | EOF | 
| 12092 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 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,:.*,,'` ;; | 
| 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,:.*,,'` ;; | 
| 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=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12107 | < | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
| 12108 | < | X"$ac_file" : 'X\(//\)$' \| \ | 
| 12109 | < | X"$ac_file" : 'X\(/\)' \| \ | 
| 12110 | < | .     : '\(.\)' 2>/dev/null || | 
| 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 test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 
| 12119 | < | { case "$ac_dir" in | 
| 12120 | < | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
| 12121 | < | *)                      as_incr_dir=.;; | 
| 12122 | < | esac | 
| 12123 | < | as_dummy="$ac_dir" | 
| 12124 | < | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
| 12125 | < | case $as_mkdir_dir in | 
| 12126 | < | # Skip DOS drivespec | 
| 12127 | < | ?:) as_incr_dir=$as_mkdir_dir ;; | 
| 12128 | < | *) | 
| 12129 | < | as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
| 12130 | < | test -d "$as_incr_dir" || mkdir "$as_incr_dir" | 
| 12131 | < | ;; | 
| 12132 | < | esac | 
| 12133 | < | done; } | 
| 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_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" | 
| 7000 | < | # A "../" for each directory in $ac_dir_suffix. | 
| 7001 | < | ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` | 
| 7002 | < | else | 
| 7003 | < | ac_dir_suffix= ac_dots= | 
| 7004 | < | fi | 
| 12143 | > | ac_builddir=. | 
| 12144 |  |  | 
| 12145 | < | case $srcdir in | 
| 12146 | < | .)  ac_srcdir=. | 
| 12147 | < | if test -z "$ac_dots"; then | 
| 12148 | < | ac_top_srcdir=. | 
| 12149 | < | else | 
| 12150 | < | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` | 
| 12151 | < | fi ;; | 
| 12152 | < | [\\/]* | ?:[\\/]* ) | 
| 12153 | < | ac_srcdir=$srcdir$ac_dir_suffix; | 
| 12154 | < | ac_top_srcdir=$srcdir ;; | 
| 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_dots$srcdir$ac_dir_suffix | 
| 12166 | < | ac_top_srcdir=$ac_dots$srcdir ;; | 
| 12167 | < | esac | 
| 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_dots$INSTALL ;; | 
| 12211 | > | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
| 12212 |  | esac | 
| 12213 |  |  | 
| 12214 |  | if test x"$ac_file" != x-; then | 
| 12215 | < | { echo "$as_me:7027: creating $ac_file" >&5 | 
| 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 automatically by config.status.  */ | 
| 12222 | < | configure_input="Generated automatically from `echo $ac_file_in | | 
| 12223 | < | sed 's,.*/,,'` by configure." | 
| 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. | 
| 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:7045: error: cannot find input file: $f" >&5 | 
| 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;; | 
| 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:7058: error: cannot find input file: $f" >&5 | 
| 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;; | 
| 12254 | > | fi;; | 
| 12255 |  | esac | 
| 12256 |  | done` || { (exit 1); exit 1; } | 
| 12257 | < | EOF | 
| 12258 | < | cat >>$CONFIG_STATUS <<EOF | 
| 12257 | > | _ACEOF | 
| 12258 | > | cat >>$CONFIG_STATUS <<_ACEOF | 
| 12259 |  | sed "$ac_vpsub | 
| 12260 |  | $extrasub | 
| 12261 | < | EOF | 
| 12262 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 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 | 
| 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 | < | EOF | 
| 12293 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 12292 | > | _ACEOF | 
| 12293 | > | cat >>$CONFIG_STATUS <<\_ACEOF | 
| 12294 |  |  | 
| 12295 |  | # | 
| 12296 |  | # CONFIG_HEADER section. | 
| 12300 |  | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
| 12301 |  | # | 
| 12302 |  | # ac_d sets the value in "#define NAME VALUE" lines. | 
| 12303 | < | ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)' | 
| 12304 | < | ac_dB='[        ].*$,\1#\2' | 
| 12303 | > | ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)' | 
| 12304 | > | ac_dB='[         ].*$,\1#\2' | 
| 12305 |  | ac_dC=' ' | 
| 12306 |  | ac_dD=',;t' | 
| 12307 |  | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
| 12308 | < | ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
| 12308 | > | ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)' | 
| 12309 |  | ac_uB='$,\1#\2define\3' | 
| 12310 |  | ac_uC=' ' | 
| 12311 |  | ac_uD=',;t' | 
| 12314 |  | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
| 12315 |  | case $ac_file in | 
| 12316 |  | - | *:- | *:-:* ) # input from stdin | 
| 12317 | < | cat >$tmp/stdin | 
| 12318 | < | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
| 12319 | < | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
| 12317 | > | cat >$tmp/stdin | 
| 12318 | > | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
| 12319 | > | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
| 12320 |  | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
| 12321 | < | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
| 12321 | > | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
| 12322 |  | * )   ac_file_in=$ac_file.in ;; | 
| 12323 |  | esac | 
| 12324 |  |  | 
| 12325 | < | test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5 | 
| 12325 | > | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
| 12326 |  | echo "$as_me: creating $ac_file" >&6;} | 
| 12327 |  |  | 
| 12328 |  | # First look for the input files in the build tree, otherwise in the | 
| 12332 |  | case $f in | 
| 12333 |  | -) echo $tmp/stdin ;; | 
| 12334 |  | [\\/$]*) | 
| 12335 | < | # Absolute (can't be DOS-style, as IFS=:) | 
| 12336 | < | test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5 | 
| 12335 | > | # Absolute (can't be DOS-style, as IFS=:) | 
| 12336 | > | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
| 12337 |  | echo "$as_me: error: cannot find input file: $f" >&2;} | 
| 12338 |  | { (exit 1); exit 1; }; } | 
| 12339 | < | echo $f;; | 
| 12339 | > | # Do quote $f, to prevent DOS paths from being IFS'd. | 
| 12340 | > | echo "$f";; | 
| 12341 |  | *) # Relative | 
| 12342 | < | if test -f "$f"; then | 
| 12343 | < | # Build tree | 
| 12344 | < | echo $f | 
| 12345 | < | elif test -f "$srcdir/$f"; then | 
| 12346 | < | # Source tree | 
| 12347 | < | echo $srcdir/$f | 
| 12348 | < | else | 
| 12349 | < | # /dev/null tree | 
| 12350 | < | { { echo "$as_me:7143: error: cannot find input file: $f" >&5 | 
| 12342 | > | if test -f "$f"; then | 
| 12343 | > | # Build tree | 
| 12344 | > | echo "$f" | 
| 12345 | > | elif test -f "$srcdir/$f"; then | 
| 12346 | > | # Source tree | 
| 12347 | > | echo "$srcdir/$f" | 
| 12348 | > | else | 
| 12349 | > | # /dev/null tree | 
| 12350 | > | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
| 12351 |  | echo "$as_me: error: cannot find input file: $f" >&2;} | 
| 12352 |  | { (exit 1); exit 1; }; } | 
| 12353 | < | fi;; | 
| 12353 | > | fi;; | 
| 12354 |  | esac | 
| 12355 |  | done` || { (exit 1); exit 1; } | 
| 12356 |  | # Remove the trailing spaces. | 
| 12357 | < | sed 's/[      ]*$//' $ac_file_inputs >$tmp/in | 
| 12357 | > | sed 's/[       ]*$//' $ac_file_inputs >$tmp/in | 
| 12358 |  |  | 
| 12359 | < | EOF | 
| 12359 | > | _ACEOF | 
| 12360 |  |  | 
| 12361 |  | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
| 12362 |  | # `conftest.undefs', that substitutes the proper values into | 
| 12372 |  | # `end' is used to avoid that the second main sed command (meant for | 
| 12373 |  | # 0-ary CPP macros) applies to n-ary macro definitions. | 
| 12374 |  | # See the Autoconf documentation for `clear'. | 
| 12375 | < | cat >confdef2sed.sed <<\EOF | 
| 12375 | > | cat >confdef2sed.sed <<\_ACEOF | 
| 12376 |  | s/[\\&,]/\\&/g | 
| 12377 |  | s,[\\$`],\\&,g | 
| 12378 |  | t clear | 
| 12379 |  | : clear | 
| 12380 | < | s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp | 
| 12380 | > | s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
| 12381 |  | t end | 
| 12382 | < | s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
| 12382 | > | s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
| 12383 |  | : end | 
| 12384 | < | EOF | 
| 12384 | > | _ACEOF | 
| 12385 |  | # If some macros were called several times there might be several times | 
| 12386 |  | # the same #defines, which is useless.  Nevertheless, we may not want to | 
| 12387 |  | # sort them, since we want the *last* AC-DEFINE to be honored. | 
| 12392 |  | # This sed command replaces #undef with comments.  This is necessary, for | 
| 12393 |  | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
| 12394 |  | # on some systems where configure will not decide to define it. | 
| 12395 | < | cat >>conftest.undefs <<\EOF | 
| 12396 | < | s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
| 12397 | < | EOF | 
| 12395 | > | cat >>conftest.undefs <<\_ACEOF | 
| 12396 | > | s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
| 12397 | > | _ACEOF | 
| 12398 |  |  | 
| 12399 |  | # Break up conftest.defines because some shells have a limit on the size | 
| 12400 |  | # of here documents, and old seds have small limits too (100 cmds). | 
| 12401 |  | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
| 12402 | < | echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
| 12402 | > | echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
| 12403 |  | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
| 12404 |  | echo '  :' >>$CONFIG_STATUS | 
| 12405 |  | rm -f conftest.tail | 
| 12408 |  | # Write a limited-size here document to $tmp/defines.sed. | 
| 12409 |  | echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
| 12410 |  | # Speed up: don't consider the non `#define' lines. | 
| 12411 | < | echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
| 12411 | > | echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS | 
| 12412 |  | # Work around the forget-to-reset-the-flag bug. | 
| 12413 |  | echo 't clr' >>$CONFIG_STATUS | 
| 12414 |  | echo ': clr' >>$CONFIG_STATUS | 
| 12423 |  | mv conftest.tail conftest.defines | 
| 12424 |  | done | 
| 12425 |  | rm -f conftest.defines | 
| 12426 | < | echo '  fi # egrep' >>$CONFIG_STATUS | 
| 12426 | > | echo '  fi # grep' >>$CONFIG_STATUS | 
| 12427 |  | echo >>$CONFIG_STATUS | 
| 12428 |  |  | 
| 12429 |  | # Break up conftest.undefs because some shells have a limit on the size | 
| 12435 |  | # Write a limited-size here document to $tmp/undefs.sed. | 
| 12436 |  | echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
| 12437 |  | # Speed up: don't consider the non `#undef' | 
| 12438 | < | echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
| 12438 | > | echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS | 
| 12439 |  | # Work around the forget-to-reset-the-flag bug. | 
| 12440 |  | echo 't clr' >>$CONFIG_STATUS | 
| 12441 |  | echo ': clr' >>$CONFIG_STATUS | 
| 12451 |  | done | 
| 12452 |  | rm -f conftest.undefs | 
| 12453 |  |  | 
| 12454 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 12454 | > | cat >>$CONFIG_STATUS <<\_ACEOF | 
| 12455 |  | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
| 12456 |  | # use $as_me), people would be surprised to read: | 
| 12457 | < | #    /* config.h.  Generated automatically by config.status.  */ | 
| 12457 | > | #    /* config.h.  Generated by config.status.  */ | 
| 12458 |  | if test x"$ac_file" = x-; then | 
| 12459 | < | echo "/* Generated automatically by configure.  */" >$tmp/config.h | 
| 12459 | > | echo "/* Generated by configure.  */" >$tmp/config.h | 
| 12460 |  | else | 
| 12461 | < | echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h | 
| 12461 | > | echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
| 12462 |  | fi | 
| 12463 |  | cat $tmp/in >>$tmp/config.h | 
| 12464 |  | rm -f $tmp/in | 
| 12465 |  | if test x"$ac_file" != x-; then | 
| 12466 | < | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 
| 12467 | < | { echo "$as_me:7260: $ac_file is unchanged" >&5 | 
| 12466 | > | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
| 12467 | > | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
| 12468 |  | echo "$as_me: $ac_file is unchanged" >&6;} | 
| 12469 |  | else | 
| 12470 | < | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12471 | < | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
| 12472 | < | X"$ac_file" : 'X\(//\)$' \| \ | 
| 12473 | < | X"$ac_file" : 'X\(/\)' \| \ | 
| 12474 | < | .     : '\(.\)' 2>/dev/null || | 
| 12470 | > | ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
| 12471 | > | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12472 | > | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
| 12473 | > | X"$ac_file" : 'X\(//\)$' \| \ | 
| 12474 | > | X"$ac_file" : 'X\(/\)' \| \ | 
| 12475 | > | .     : '\(.\)' 2>/dev/null || | 
| 12476 |  | echo X"$ac_file" | | 
| 12477 |  | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
| 12478 |  | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
| 12479 |  | /^X\(\/\/\)$/{ s//\1/; q; } | 
| 12480 |  | /^X\(\/\).*/{ s//\1/; q; } | 
| 12481 |  | s/.*/./; q'` | 
| 12482 | < | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 
| 12483 | < | { case "$ac_dir" in | 
| 12484 | < | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
| 12485 | < | *)                      as_incr_dir=.;; | 
| 12486 | < | esac | 
| 12487 | < | as_dummy="$ac_dir" | 
| 12488 | < | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
| 12489 | < | case $as_mkdir_dir in | 
| 12490 | < | # Skip DOS drivespec | 
| 12491 | < | ?:) as_incr_dir=$as_mkdir_dir ;; | 
| 12492 | < | *) | 
| 12493 | < | as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
| 12494 | < | test -d "$as_incr_dir" || mkdir "$as_incr_dir" | 
| 12495 | < | ;; | 
| 12496 | < | esac | 
| 12497 | < | done; } | 
| 12482 | > | { if $as_mkdir_p; then | 
| 12483 | > | mkdir -p "$ac_dir" | 
| 12484 | > | else | 
| 12485 | > | as_dir="$ac_dir" | 
| 12486 | > | as_dirs= | 
| 12487 | > | while test ! -d "$as_dir"; do | 
| 12488 | > | as_dirs="$as_dir $as_dirs" | 
| 12489 | > | as_dir=`(dirname "$as_dir") 2>/dev/null || | 
| 12490 | > | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12491 | > | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
| 12492 | > | X"$as_dir" : 'X\(//\)$' \| \ | 
| 12493 | > | X"$as_dir" : 'X\(/\)' \| \ | 
| 12494 | > | .     : '\(.\)' 2>/dev/null || | 
| 12495 | > | echo X"$as_dir" | | 
| 12496 | > | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
| 12497 | > | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
| 12498 | > | /^X\(\/\/\)$/{ s//\1/; q; } | 
| 12499 | > | /^X\(\/\).*/{ s//\1/; q; } | 
| 12500 | > | s/.*/./; q'` | 
| 12501 | > | done | 
| 12502 | > | test ! -n "$as_dirs" || mkdir $as_dirs | 
| 12503 | > | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
| 12504 | > | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
| 12505 | > | { (exit 1); exit 1; }; }; } | 
| 12506 |  |  | 
| 7291 | – | fi | 
| 12507 |  | rm -f $ac_file | 
| 12508 |  | mv $tmp/config.h $ac_file | 
| 12509 |  | fi | 
| 12512 |  | rm -f $tmp/config.h | 
| 12513 |  | fi | 
| 12514 |  | done | 
| 12515 | < | EOF | 
| 12516 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 12515 | > | _ACEOF | 
| 12516 | > | cat >>$CONFIG_STATUS <<\_ACEOF | 
| 12517 |  |  | 
| 12518 |  | # | 
| 12519 |  | # CONFIG_LINKS section. | 
| 12523 |  | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
| 12524 |  | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
| 12525 |  |  | 
| 12526 | < | { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5 | 
| 12526 | > | { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 | 
| 12527 |  | echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} | 
| 12528 |  |  | 
| 12529 |  | if test ! -r $srcdir/$ac_source; then | 
| 12530 | < | { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5 | 
| 12531 | < | echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;} | 
| 12530 | > | { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 | 
| 12531 | > | echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} | 
| 12532 |  | { (exit 1); exit 1; }; } | 
| 12533 |  | fi | 
| 12534 |  | rm -f $ac_dest | 
| 12535 |  |  | 
| 12536 |  | # Make relative symlinks. | 
| 12537 | < | ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12538 | < | X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
| 12539 | < | X"$ac_dest" : 'X\(//\)$' \| \ | 
| 12540 | < | X"$ac_dest" : 'X\(/\)' \| \ | 
| 12541 | < | .     : '\(.\)' 2>/dev/null || | 
| 12537 | > | ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || | 
| 12538 | > | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12539 | > | X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
| 12540 | > | X"$ac_dest" : 'X\(//\)$' \| \ | 
| 12541 | > | X"$ac_dest" : 'X\(/\)' \| \ | 
| 12542 | > | .     : '\(.\)' 2>/dev/null || | 
| 12543 |  | echo X"$ac_dest" | | 
| 12544 |  | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
| 12545 |  | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
| 12546 |  | /^X\(\/\/\)$/{ s//\1/; q; } | 
| 12547 |  | /^X\(\/\).*/{ s//\1/; q; } | 
| 12548 |  | s/.*/./; q'` | 
| 12549 | < | if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then | 
| 12550 | < | { case "$ac_dest_dir" in | 
| 12551 | < | [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
| 12552 | < | *)                      as_incr_dir=.;; | 
| 12549 | > | { if $as_mkdir_p; then | 
| 12550 | > | mkdir -p "$ac_dest_dir" | 
| 12551 | > | else | 
| 12552 | > | as_dir="$ac_dest_dir" | 
| 12553 | > | as_dirs= | 
| 12554 | > | while test ! -d "$as_dir"; do | 
| 12555 | > | as_dirs="$as_dir $as_dirs" | 
| 12556 | > | as_dir=`(dirname "$as_dir") 2>/dev/null || | 
| 12557 | > | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| 12558 | > | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
| 12559 | > | X"$as_dir" : 'X\(//\)$' \| \ | 
| 12560 | > | X"$as_dir" : 'X\(/\)' \| \ | 
| 12561 | > | .     : '\(.\)' 2>/dev/null || | 
| 12562 | > | echo X"$as_dir" | | 
| 12563 | > | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
| 12564 | > | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
| 12565 | > | /^X\(\/\/\)$/{ s//\1/; q; } | 
| 12566 | > | /^X\(\/\).*/{ s//\1/; q; } | 
| 12567 | > | s/.*/./; q'` | 
| 12568 | > | done | 
| 12569 | > | test ! -n "$as_dirs" || mkdir $as_dirs | 
| 12570 | > | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 | 
| 12571 | > | echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} | 
| 12572 | > | { (exit 1); exit 1; }; }; } | 
| 12573 | > |  | 
| 12574 | > | ac_builddir=. | 
| 12575 | > |  | 
| 12576 | > | if test "$ac_dest_dir" != .; then | 
| 12577 | > | ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` | 
| 12578 | > | # A "../" for each directory in $ac_dir_suffix. | 
| 12579 | > | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
| 12580 | > | else | 
| 12581 | > | ac_dir_suffix= ac_top_builddir= | 
| 12582 | > | fi | 
| 12583 | > |  | 
| 12584 | > | case $srcdir in | 
| 12585 | > | .)  # No --srcdir option.  We are building in place. | 
| 12586 | > | ac_srcdir=. | 
| 12587 | > | if test -z "$ac_top_builddir"; then | 
| 12588 | > | ac_top_srcdir=. | 
| 12589 | > | else | 
| 12590 | > | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
| 12591 | > | fi ;; | 
| 12592 | > | [\\/]* | ?:[\\/]* )  # Absolute path. | 
| 12593 | > | ac_srcdir=$srcdir$ac_dir_suffix; | 
| 12594 | > | ac_top_srcdir=$srcdir ;; | 
| 12595 | > | *) # Relative path. | 
| 12596 | > | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
| 12597 | > | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
| 12598 |  | esac | 
| 7338 | – | as_dummy="$ac_dest_dir" | 
| 7339 | – | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
| 7340 | – | case $as_mkdir_dir in | 
| 7341 | – | # Skip DOS drivespec | 
| 7342 | – | ?:) as_incr_dir=$as_mkdir_dir ;; | 
| 7343 | – | *) | 
| 7344 | – | as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
| 7345 | – | test -d "$as_incr_dir" || mkdir "$as_incr_dir" | 
| 7346 | – | ;; | 
| 7347 | – | esac | 
| 7348 | – | done; } | 
| 12599 |  |  | 
| 12600 | < | ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`" | 
| 12601 | < | # A "../" for each directory in $ac_dest_dir_suffix. | 
| 12602 | < | ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'` | 
| 12603 | < | else | 
| 12604 | < | ac_dest_dir_suffix= ac_dots= | 
| 12605 | < | fi | 
| 12600 | > | # Do not use `cd foo && pwd` to compute absolute paths, because | 
| 12601 | > | # the directories may not exist. | 
| 12602 | > | case `pwd` in | 
| 12603 | > | .) ac_abs_builddir="$ac_dest_dir";; | 
| 12604 | > | *) | 
| 12605 | > | case "$ac_dest_dir" in | 
| 12606 | > | .) ac_abs_builddir=`pwd`;; | 
| 12607 | > | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; | 
| 12608 | > | *) ac_abs_builddir=`pwd`/"$ac_dest_dir";; | 
| 12609 | > | esac;; | 
| 12610 | > | esac | 
| 12611 | > | case $ac_abs_builddir in | 
| 12612 | > | .) ac_abs_top_builddir=${ac_top_builddir}.;; | 
| 12613 | > | *) | 
| 12614 | > | case ${ac_top_builddir}. in | 
| 12615 | > | .) ac_abs_top_builddir=$ac_abs_builddir;; | 
| 12616 | > | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | 
| 12617 | > | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | 
| 12618 | > | esac;; | 
| 12619 | > | esac | 
| 12620 | > | case $ac_abs_builddir in | 
| 12621 | > | .) ac_abs_srcdir=$ac_srcdir;; | 
| 12622 | > | *) | 
| 12623 | > | case $ac_srcdir in | 
| 12624 | > | .) ac_abs_srcdir=$ac_abs_builddir;; | 
| 12625 | > | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | 
| 12626 | > | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | 
| 12627 | > | esac;; | 
| 12628 | > | esac | 
| 12629 | > | case $ac_abs_builddir in | 
| 12630 | > | .) ac_abs_top_srcdir=$ac_top_srcdir;; | 
| 12631 | > | *) | 
| 12632 | > | case $ac_top_srcdir in | 
| 12633 | > | .) ac_abs_top_srcdir=$ac_abs_builddir;; | 
| 12634 | > | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | 
| 12635 | > | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | 
| 12636 | > | esac;; | 
| 12637 | > | esac | 
| 12638 |  |  | 
| 12639 | + |  | 
| 12640 |  | case $srcdir in | 
| 12641 |  | [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; | 
| 12642 | < | *) ac_rel_source=$ac_dots$srcdir/$ac_source ;; | 
| 12642 | > | *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; | 
| 12643 |  | esac | 
| 12644 |  |  | 
| 12645 | < | # Make a symlink if possible; otherwise try a hard link. | 
| 12645 | > | # Try a symlink, then a hard link, then a copy. | 
| 12646 |  | ln -s $ac_rel_source $ac_dest 2>/dev/null || | 
| 12647 | < | ln $srcdir/$ac_source $ac_dest || | 
| 12648 | < | { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5 | 
| 12649 | < | echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;} | 
| 12647 | > | ln $srcdir/$ac_source $ac_dest 2>/dev/null || | 
| 12648 | > | cp -p $srcdir/$ac_source $ac_dest || | 
| 12649 | > | { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 | 
| 12650 | > | echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} | 
| 12651 |  | { (exit 1); exit 1; }; } | 
| 12652 |  | done | 
| 12653 | < | EOF | 
| 12653 | > | _ACEOF | 
| 12654 |  |  | 
| 12655 | < | cat >>$CONFIG_STATUS <<\EOF | 
| 12655 | > | cat >>$CONFIG_STATUS <<\_ACEOF | 
| 12656 |  |  | 
| 12657 |  | { (exit 0); exit 0; } | 
| 12658 | < | EOF | 
| 12658 | > | _ACEOF | 
| 12659 |  | chmod +x $CONFIG_STATUS | 
| 12660 |  | ac_clean_files=$ac_clean_files_save | 
| 12661 |  |  | 
| 12662 | + |  | 
| 12663 |  | # configure is writing to config.log, and then calls config.status. | 
| 12664 |  | # config.status does its own redirection, appending to config.log. | 
| 12665 |  | # Unfortunately, on DOS this fails, as config.log is still kept open | 
| 12670 |  | # need to make the FD available again. | 
| 12671 |  | if test "$no_create" != yes; then | 
| 12672 |  | ac_cs_success=: | 
| 12673 | + | ac_config_status_args= | 
| 12674 | + | test "$silent" = yes && | 
| 12675 | + | ac_config_status_args="$ac_config_status_args --quiet" | 
| 12676 |  | exec 5>/dev/null | 
| 12677 | < | $SHELL $CONFIG_STATUS || ac_cs_success=false | 
| 12677 | > | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
| 12678 |  | exec 5>>config.log | 
| 12679 |  | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
| 12680 |  | # would make configure fail if this is the last instruction. |