| 1 |
|
#! /bin/sh |
| 2 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
< |
# Generated by GNU Autoconf 2.61 for OOPSE 3.0. |
| 3 |
> |
# Generated by GNU Autoconf 2.59 for OOPSE 4.0. |
| 4 |
|
# |
| 5 |
|
# Report bugs to <gezelter@nd.edu>. |
| 6 |
|
# |
| 7 |
< |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 8 |
< |
# 2002, 2003, 2004, 2005, 2006 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 more Bourne compatible |
| 16 |
< |
DUALCASE=1; export DUALCASE # for MKS sh |
| 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 |
< |
setopt NO_GLOB_SUBST |
| 22 |
< |
else |
| 25 |
< |
case `(set -o) 2>/dev/null` in |
| 26 |
< |
*posix*) set -o posix ;; |
| 27 |
< |
esac |
| 28 |
< |
|
| 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 |
|
|
| 31 |
– |
|
| 32 |
– |
|
| 33 |
– |
|
| 34 |
– |
# PATH needs CR |
| 35 |
– |
# Avoid depending upon Character Ranges. |
| 36 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 37 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 38 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 39 |
– |
as_cr_digits='0123456789' |
| 40 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 41 |
– |
|
| 42 |
– |
# The user is always right. |
| 43 |
– |
if test "${PATH_SEPARATOR+set}" != set; then |
| 44 |
– |
echo "#! /bin/sh" >conf$$.sh |
| 45 |
– |
echo "exit 0" >>conf$$.sh |
| 46 |
– |
chmod +x conf$$.sh |
| 47 |
– |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 48 |
– |
PATH_SEPARATOR=';' |
| 49 |
– |
else |
| 50 |
– |
PATH_SEPARATOR=: |
| 51 |
– |
fi |
| 52 |
– |
rm -rf conf$$.sh |
| 53 |
– |
fi |
| 54 |
– |
|
| 26 |
|
# Support unset when possible. |
| 27 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 28 |
|
as_unset=unset |
| 31 |
|
fi |
| 32 |
|
|
| 33 |
|
|
| 63 |
– |
# IFS |
| 64 |
– |
# We need space, tab and new line, in precisely that order. Quoting is |
| 65 |
– |
# there to prevent editors from complaining about space-tab. |
| 66 |
– |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 67 |
– |
# splitting by setting IFS to empty value.) |
| 68 |
– |
as_nl=' |
| 69 |
– |
' |
| 70 |
– |
IFS=" "" $as_nl" |
| 71 |
– |
|
| 72 |
– |
# Find who we are. Look in the path if we contain no directory separator. |
| 73 |
– |
case $0 in |
| 74 |
– |
*[\\/]* ) as_myself=$0 ;; |
| 75 |
– |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 76 |
– |
for as_dir in $PATH |
| 77 |
– |
do |
| 78 |
– |
IFS=$as_save_IFS |
| 79 |
– |
test -z "$as_dir" && as_dir=. |
| 80 |
– |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 81 |
– |
done |
| 82 |
– |
IFS=$as_save_IFS |
| 83 |
– |
|
| 84 |
– |
;; |
| 85 |
– |
esac |
| 86 |
– |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 87 |
– |
# in which case we are not to be found in the path. |
| 88 |
– |
if test "x$as_myself" = x; then |
| 89 |
– |
as_myself=$0 |
| 90 |
– |
fi |
| 91 |
– |
if test ! -f "$as_myself"; then |
| 92 |
– |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 93 |
– |
{ (exit 1); exit 1; } |
| 94 |
– |
fi |
| 95 |
– |
|
| 34 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
| 35 |
< |
for as_var in ENV MAIL MAILPATH |
| 98 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 99 |
< |
done |
| 35 |
> |
$as_unset ENV MAIL MAILPATH |
| 36 |
|
PS1='$ ' |
| 37 |
|
PS2='> ' |
| 38 |
|
PS4='+ ' |
| 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) >/dev/null 2>&1 && $as_unset $as_var |
| 49 |
> |
$as_unset $as_var |
| 50 |
|
fi |
| 51 |
|
done |
| 52 |
|
|
| 53 |
|
# Required to use basename. |
| 54 |
< |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 119 |
< |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 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 |
| 60 |
> |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 61 |
|
as_basename=basename |
| 62 |
|
else |
| 63 |
|
as_basename=false |
| 65 |
|
|
| 66 |
|
|
| 67 |
|
# Name of the executable. |
| 68 |
< |
as_me=`$as_basename -- "$0" || |
| 68 |
> |
as_me=`$as_basename "$0" || |
| 69 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 70 |
|
X"$0" : 'X\(//\)$' \| \ |
| 71 |
< |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 71 |
> |
X"$0" : 'X\(/\)$' \| \ |
| 72 |
> |
. : '\(.\)' 2>/dev/null || |
| 73 |
|
echo X/"$0" | |
| 74 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 75 |
< |
s//\1/ |
| 76 |
< |
q |
| 77 |
< |
} |
| 142 |
< |
/^X\/\(\/\/\)$/{ |
| 143 |
< |
s//\1/ |
| 144 |
< |
q |
| 145 |
< |
} |
| 146 |
< |
/^X\/\(\/\).*/{ |
| 147 |
< |
s//\1/ |
| 148 |
< |
q |
| 149 |
< |
} |
| 150 |
< |
s/.*/./; q'` |
| 74 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 75 |
> |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 76 |
> |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 77 |
> |
s/.*/./; q'` |
| 78 |
|
|
| 152 |
– |
# CDPATH. |
| 153 |
– |
$as_unset CDPATH |
| 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 |
< |
if test "x$CONFIG_SHELL" = x; then |
| 89 |
< |
if (eval ":") 2>/dev/null; then |
| 90 |
< |
as_have_required=yes |
| 91 |
< |
else |
| 92 |
< |
as_have_required=no |
| 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 |
|
|
| 163 |
– |
if test $as_have_required = yes && (eval ": |
| 164 |
– |
(as_func_return () { |
| 165 |
– |
(exit \$1) |
| 166 |
– |
} |
| 167 |
– |
as_func_success () { |
| 168 |
– |
as_func_return 0 |
| 169 |
– |
} |
| 170 |
– |
as_func_failure () { |
| 171 |
– |
as_func_return 1 |
| 172 |
– |
} |
| 173 |
– |
as_func_ret_success () { |
| 174 |
– |
return 0 |
| 175 |
– |
} |
| 176 |
– |
as_func_ret_failure () { |
| 177 |
– |
return 1 |
| 178 |
– |
} |
| 101 |
|
|
| 102 |
< |
exitcode=0 |
| 103 |
< |
if as_func_success; then |
| 104 |
< |
: |
| 105 |
< |
else |
| 106 |
< |
exitcode=1 |
| 107 |
< |
echo as_func_success failed. |
| 108 |
< |
fi |
| 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 |
< |
if as_func_failure; then |
| 120 |
< |
exitcode=1 |
| 121 |
< |
echo as_func_failure succeeded. |
| 122 |
< |
fi |
| 123 |
< |
|
| 124 |
< |
if as_func_ret_success; then |
| 125 |
< |
: |
| 126 |
< |
else |
| 127 |
< |
exitcode=1 |
| 128 |
< |
echo as_func_ret_success failed. |
| 129 |
< |
fi |
| 130 |
< |
|
| 131 |
< |
if as_func_ret_failure; then |
| 201 |
< |
exitcode=1 |
| 202 |
< |
echo as_func_ret_failure succeeded. |
| 203 |
< |
fi |
| 204 |
< |
|
| 205 |
< |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 206 |
< |
: |
| 207 |
< |
else |
| 208 |
< |
exitcode=1 |
| 209 |
< |
echo positional parameters were not saved. |
| 210 |
< |
fi |
| 211 |
< |
|
| 212 |
< |
test \$exitcode = 0) || { (exit 1); exit 1; } |
| 213 |
< |
|
| 214 |
< |
( |
| 215 |
< |
as_lineno_1=\$LINENO |
| 216 |
< |
as_lineno_2=\$LINENO |
| 217 |
< |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| 218 |
< |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| 219 |
< |
") 2> /dev/null; then |
| 220 |
< |
: |
| 221 |
< |
else |
| 222 |
< |
as_candidate_shells= |
| 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 |
< |
case $as_dir in |
| 137 |
> |
for as_base in sh bash ksh sh5; do |
| 138 |
> |
case $as_dir in |
| 139 |
|
/*) |
| 140 |
< |
for as_base in sh bash ksh sh5; do |
| 231 |
< |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| 232 |
< |
done;; |
| 233 |
< |
esac |
| 234 |
< |
done |
| 235 |
< |
IFS=$as_save_IFS |
| 236 |
< |
|
| 237 |
< |
|
| 238 |
< |
for as_shell in $as_candidate_shells $SHELL; do |
| 239 |
< |
# Try only shells that exist, to save several forks. |
| 240 |
< |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 241 |
< |
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
| 242 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 243 |
< |
emulate sh |
| 244 |
< |
NULLCMD=: |
| 245 |
< |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 246 |
< |
# is contrary to our usage. Disable this feature. |
| 247 |
< |
alias -g '${1+"$@"}'='"$@"' |
| 248 |
< |
setopt NO_GLOB_SUBST |
| 249 |
< |
else |
| 250 |
< |
case `(set -o) 2>/dev/null` in |
| 251 |
< |
*posix*) set -o posix ;; |
| 252 |
< |
esac |
| 253 |
< |
|
| 254 |
< |
fi |
| 255 |
< |
|
| 256 |
< |
|
| 257 |
< |
: |
| 258 |
< |
_ASEOF |
| 259 |
< |
}; then |
| 260 |
< |
CONFIG_SHELL=$as_shell |
| 261 |
< |
as_have_required=yes |
| 262 |
< |
if { "$as_shell" 2> /dev/null <<\_ASEOF |
| 263 |
< |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 264 |
< |
emulate sh |
| 265 |
< |
NULLCMD=: |
| 266 |
< |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 267 |
< |
# is contrary to our usage. Disable this feature. |
| 268 |
< |
alias -g '${1+"$@"}'='"$@"' |
| 269 |
< |
setopt NO_GLOB_SUBST |
| 270 |
< |
else |
| 271 |
< |
case `(set -o) 2>/dev/null` in |
| 272 |
< |
*posix*) set -o posix ;; |
| 273 |
< |
esac |
| 274 |
< |
|
| 275 |
< |
fi |
| 276 |
< |
|
| 277 |
< |
|
| 278 |
< |
: |
| 279 |
< |
(as_func_return () { |
| 280 |
< |
(exit $1) |
| 281 |
< |
} |
| 282 |
< |
as_func_success () { |
| 283 |
< |
as_func_return 0 |
| 284 |
< |
} |
| 285 |
< |
as_func_failure () { |
| 286 |
< |
as_func_return 1 |
| 287 |
< |
} |
| 288 |
< |
as_func_ret_success () { |
| 289 |
< |
return 0 |
| 290 |
< |
} |
| 291 |
< |
as_func_ret_failure () { |
| 292 |
< |
return 1 |
| 293 |
< |
} |
| 294 |
< |
|
| 295 |
< |
exitcode=0 |
| 296 |
< |
if as_func_success; then |
| 297 |
< |
: |
| 298 |
< |
else |
| 299 |
< |
exitcode=1 |
| 300 |
< |
echo as_func_success failed. |
| 301 |
< |
fi |
| 302 |
< |
|
| 303 |
< |
if as_func_failure; then |
| 304 |
< |
exitcode=1 |
| 305 |
< |
echo as_func_failure succeeded. |
| 306 |
< |
fi |
| 307 |
< |
|
| 308 |
< |
if as_func_ret_success; then |
| 309 |
< |
: |
| 310 |
< |
else |
| 311 |
< |
exitcode=1 |
| 312 |
< |
echo as_func_ret_success failed. |
| 313 |
< |
fi |
| 314 |
< |
|
| 315 |
< |
if as_func_ret_failure; then |
| 316 |
< |
exitcode=1 |
| 317 |
< |
echo as_func_ret_failure succeeded. |
| 318 |
< |
fi |
| 319 |
< |
|
| 320 |
< |
if ( set x; as_func_ret_success y && test x = "$1" ); then |
| 321 |
< |
: |
| 322 |
< |
else |
| 323 |
< |
exitcode=1 |
| 324 |
< |
echo positional parameters were not saved. |
| 325 |
< |
fi |
| 326 |
< |
|
| 327 |
< |
test $exitcode = 0) || { (exit 1); exit 1; } |
| 328 |
< |
|
| 329 |
< |
( |
| 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`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 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 |
|
|
| 335 |
– |
_ASEOF |
| 336 |
– |
}; then |
| 337 |
– |
break |
| 338 |
– |
fi |
| 339 |
– |
|
| 340 |
– |
fi |
| 341 |
– |
|
| 342 |
– |
done |
| 343 |
– |
|
| 344 |
– |
if test "x$CONFIG_SHELL" != x; then |
| 345 |
– |
for as_var in BASH_ENV ENV |
| 346 |
– |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 347 |
– |
done |
| 348 |
– |
export CONFIG_SHELL |
| 349 |
– |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 350 |
– |
fi |
| 351 |
– |
|
| 352 |
– |
|
| 353 |
– |
if test $as_have_required = no; then |
| 354 |
– |
echo This script requires a shell more modern than all the |
| 355 |
– |
echo shells that I found on your system. Please install a |
| 356 |
– |
echo modern shell, or manually run the script under such a |
| 357 |
– |
echo shell if you do have one. |
| 358 |
– |
{ (exit 1); exit 1; } |
| 359 |
– |
fi |
| 360 |
– |
|
| 361 |
– |
|
| 362 |
– |
fi |
| 363 |
– |
|
| 364 |
– |
fi |
| 365 |
– |
|
| 366 |
– |
|
| 367 |
– |
|
| 368 |
– |
(eval "as_func_return () { |
| 369 |
– |
(exit \$1) |
| 370 |
– |
} |
| 371 |
– |
as_func_success () { |
| 372 |
– |
as_func_return 0 |
| 373 |
– |
} |
| 374 |
– |
as_func_failure () { |
| 375 |
– |
as_func_return 1 |
| 376 |
– |
} |
| 377 |
– |
as_func_ret_success () { |
| 378 |
– |
return 0 |
| 379 |
– |
} |
| 380 |
– |
as_func_ret_failure () { |
| 381 |
– |
return 1 |
| 382 |
– |
} |
| 383 |
– |
|
| 384 |
– |
exitcode=0 |
| 385 |
– |
if as_func_success; then |
| 386 |
– |
: |
| 387 |
– |
else |
| 388 |
– |
exitcode=1 |
| 389 |
– |
echo as_func_success failed. |
| 390 |
– |
fi |
| 391 |
– |
|
| 392 |
– |
if as_func_failure; then |
| 393 |
– |
exitcode=1 |
| 394 |
– |
echo as_func_failure succeeded. |
| 395 |
– |
fi |
| 396 |
– |
|
| 397 |
– |
if as_func_ret_success; then |
| 398 |
– |
: |
| 399 |
– |
else |
| 400 |
– |
exitcode=1 |
| 401 |
– |
echo as_func_ret_success failed. |
| 402 |
– |
fi |
| 403 |
– |
|
| 404 |
– |
if as_func_ret_failure; then |
| 405 |
– |
exitcode=1 |
| 406 |
– |
echo as_func_ret_failure succeeded. |
| 407 |
– |
fi |
| 408 |
– |
|
| 409 |
– |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| 410 |
– |
: |
| 411 |
– |
else |
| 412 |
– |
exitcode=1 |
| 413 |
– |
echo positional parameters were not saved. |
| 414 |
– |
fi |
| 415 |
– |
|
| 416 |
– |
test \$exitcode = 0") || { |
| 417 |
– |
echo No shell found that supports shell functions. |
| 418 |
– |
echo Please tell autoconf@gnu.org about your system, |
| 419 |
– |
echo including any error possibly output before this |
| 420 |
– |
echo message |
| 421 |
– |
} |
| 422 |
– |
|
| 423 |
– |
|
| 424 |
– |
|
| 425 |
– |
as_lineno_1=$LINENO |
| 426 |
– |
as_lineno_2=$LINENO |
| 427 |
– |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 428 |
– |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 429 |
– |
|
| 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 after each line using $LINENO; the second 'sed' |
| 161 |
< |
# does the real work. The second script uses 'N' to pair each |
| 162 |
< |
# line-number line with the line containing $LINENO, and appends |
| 163 |
< |
# trailing '-' during substitution so that $LINENO is not a special |
| 436 |
< |
# case at line end. |
| 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 |
< |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 166 |
< |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 440 |
< |
sed -n ' |
| 441 |
< |
p |
| 442 |
< |
/[$]LINENO/= |
| 443 |
< |
' <$as_myself | |
| 165 |
> |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 166 |
> |
sed '=' <$as_myself | |
| 167 |
|
sed ' |
| 445 |
– |
s/[$]LINENO.*/&-/ |
| 446 |
– |
t lineno |
| 447 |
– |
b |
| 448 |
– |
:lineno |
| 168 |
|
N |
| 169 |
< |
:loop |
| 170 |
< |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 169 |
> |
s,$,-, |
| 170 |
> |
: loop |
| 171 |
> |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 172 |
|
t loop |
| 173 |
< |
s/-\n.*// |
| 173 |
> |
s,-$,, |
| 174 |
> |
s,^['$as_cr_digits']*\n,, |
| 175 |
|
' >$as_me.lineno && |
| 176 |
< |
chmod +x "$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 sensitive to this). |
| 183 |
< |
. "./$as_me.lineno" |
| 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 |
< |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 190 |
< |
as_dirname=dirname |
| 191 |
< |
else |
| 192 |
< |
as_dirname=false |
| 193 |
< |
fi |
| 473 |
< |
|
| 474 |
< |
ECHO_C= ECHO_N= ECHO_T= |
| 475 |
< |
case `echo -n x` in |
| 476 |
< |
-n*) |
| 477 |
< |
case `echo 'x\c'` in |
| 478 |
< |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 479 |
< |
*) ECHO_C='\c';; |
| 480 |
< |
esac;; |
| 481 |
< |
*) |
| 482 |
< |
ECHO_N='-n';; |
| 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 && |
| 486 |
< |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 196 |
> |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 197 |
|
as_expr=expr |
| 198 |
|
else |
| 199 |
|
as_expr=false |
| 200 |
|
fi |
| 201 |
|
|
| 202 |
< |
rm -rf conf$$ conf$$.exe conf$$.file |
| 493 |
< |
if test -d conf$$.dir; then |
| 494 |
< |
rm -rf conf$$.dir/conf$$.file |
| 495 |
< |
else |
| 496 |
< |
rm -rf conf$$.dir |
| 497 |
< |
mkdir conf$$.dir |
| 498 |
< |
fi |
| 202 |
> |
rm -f conf$$ conf$$.exe conf$$.file |
| 203 |
|
echo >conf$$.file |
| 204 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 205 |
< |
as_ln_s='ln -s' |
| 206 |
< |
# ... but there are two gotchas: |
| 207 |
< |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 208 |
< |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 505 |
< |
# In both cases, we have to default to `cp -p'. |
| 506 |
< |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 205 |
> |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 206 |
> |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 207 |
> |
if test -f conf$$.exe; then |
| 208 |
> |
# Don't use ln at all; we don't have any links |
| 209 |
|
as_ln_s='cp -p' |
| 210 |
+ |
else |
| 211 |
+ |
as_ln_s='ln -s' |
| 212 |
+ |
fi |
| 213 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 214 |
|
as_ln_s=ln |
| 215 |
|
else |
| 216 |
|
as_ln_s='cp -p' |
| 217 |
|
fi |
| 218 |
< |
rm -rf conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 514 |
< |
rmdir conf$$.dir 2>/dev/null |
| 218 |
> |
rm -f conf$$ conf$$.exe conf$$.file |
| 219 |
|
|
| 220 |
|
if mkdir -p . 2>/dev/null; then |
| 221 |
|
as_mkdir_p=: |
| 224 |
|
as_mkdir_p=false |
| 225 |
|
fi |
| 226 |
|
|
| 227 |
< |
if test -x / >/dev/null 2>&1; then |
| 524 |
< |
as_test_x='test -x' |
| 525 |
< |
else |
| 526 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 527 |
< |
as_ls_L_option=L |
| 528 |
< |
else |
| 529 |
< |
as_ls_L_option= |
| 530 |
< |
fi |
| 531 |
< |
as_test_x=' |
| 532 |
< |
eval sh -c '\'' |
| 533 |
< |
if test -d "$1"; then |
| 534 |
< |
test -d "$1/."; |
| 535 |
< |
else |
| 536 |
< |
case $1 in |
| 537 |
< |
-*)set "./$1";; |
| 538 |
< |
esac; |
| 539 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 540 |
< |
???[sx]*):;;*)false;;esac;fi |
| 541 |
< |
'\'' sh |
| 542 |
< |
' |
| 543 |
< |
fi |
| 544 |
< |
as_executable_p=$as_test_x |
| 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'" |
| 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=' |
| 239 |
+ |
' |
| 240 |
+ |
IFS=" $as_nl" |
| 241 |
|
|
| 242 |
< |
exec 7<&0 </dev/null 6>&1 |
| 242 |
> |
# 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. |
| 249 |
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 250 |
|
|
| 251 |
+ |
exec 6>&1 |
| 252 |
+ |
|
| 253 |
|
# |
| 254 |
|
# Initializations. |
| 255 |
|
# |
| 256 |
|
ac_default_prefix=/usr/local |
| 565 |
– |
ac_clean_files= |
| 257 |
|
ac_config_libobj_dir=. |
| 567 |
– |
LIBOBJS= |
| 258 |
|
cross_compiling=no |
| 259 |
|
subdirs= |
| 260 |
|
MFLAGS= |
| 261 |
|
MAKEFLAGS= |
| 262 |
|
SHELL=${CONFIG_SHELL-/bin/sh} |
| 263 |
|
|
| 264 |
+ |
# Maximum number of lines to put in a shell here document. |
| 265 |
+ |
# This variable seems obsolete. It should probably be removed, and |
| 266 |
+ |
# only ac_max_sed_lines should be used. |
| 267 |
+ |
: ${ac_max_here_lines=38} |
| 268 |
+ |
|
| 269 |
|
# Identity of this package. |
| 270 |
|
PACKAGE_NAME='OOPSE' |
| 271 |
|
PACKAGE_TARNAME='oopse' |
| 272 |
< |
PACKAGE_VERSION='3.0' |
| 273 |
< |
PACKAGE_STRING='OOPSE 3.0' |
| 272 |
> |
PACKAGE_VERSION='4.0' |
| 273 |
> |
PACKAGE_STRING='OOPSE 4.0' |
| 274 |
|
PACKAGE_BUGREPORT='gezelter@nd.edu' |
| 275 |
|
|
| 276 |
|
ac_unique_file="src/applications/oopse/oopse.cpp" |
| 278 |
|
# Factoring default headers for most tests. |
| 279 |
|
ac_includes_default="\ |
| 280 |
|
#include <stdio.h> |
| 281 |
< |
#ifdef HAVE_SYS_TYPES_H |
| 281 |
> |
#if HAVE_SYS_TYPES_H |
| 282 |
|
# include <sys/types.h> |
| 283 |
|
#endif |
| 284 |
< |
#ifdef HAVE_SYS_STAT_H |
| 284 |
> |
#if HAVE_SYS_STAT_H |
| 285 |
|
# include <sys/stat.h> |
| 286 |
|
#endif |
| 287 |
< |
#ifdef STDC_HEADERS |
| 287 |
> |
#if STDC_HEADERS |
| 288 |
|
# include <stdlib.h> |
| 289 |
|
# include <stddef.h> |
| 290 |
|
#else |
| 291 |
< |
# ifdef HAVE_STDLIB_H |
| 291 |
> |
# if HAVE_STDLIB_H |
| 292 |
|
# include <stdlib.h> |
| 293 |
|
# endif |
| 294 |
|
#endif |
| 295 |
< |
#ifdef HAVE_STRING_H |
| 296 |
< |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 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 |
< |
#ifdef HAVE_STRINGS_H |
| 301 |
> |
#if HAVE_STRINGS_H |
| 302 |
|
# include <strings.h> |
| 303 |
|
#endif |
| 304 |
< |
#ifdef HAVE_INTTYPES_H |
| 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 |
< |
#ifdef HAVE_STDINT_H |
| 613 |
< |
# include <stdint.h> |
| 614 |
< |
#endif |
| 615 |
< |
#ifdef HAVE_UNISTD_H |
| 311 |
> |
#if HAVE_UNISTD_H |
| 312 |
|
# include <unistd.h> |
| 313 |
|
#endif" |
| 314 |
|
|
| 315 |
< |
ac_subst_vars='SHELL |
| 620 |
< |
PATH_SEPARATOR |
| 621 |
< |
PACKAGE_NAME |
| 622 |
< |
PACKAGE_TARNAME |
| 623 |
< |
PACKAGE_VERSION |
| 624 |
< |
PACKAGE_STRING |
| 625 |
< |
PACKAGE_BUGREPORT |
| 626 |
< |
exec_prefix |
| 627 |
< |
prefix |
| 628 |
< |
program_transform_name |
| 629 |
< |
bindir |
| 630 |
< |
sbindir |
| 631 |
< |
libexecdir |
| 632 |
< |
datarootdir |
| 633 |
< |
datadir |
| 634 |
< |
sysconfdir |
| 635 |
< |
sharedstatedir |
| 636 |
< |
localstatedir |
| 637 |
< |
includedir |
| 638 |
< |
oldincludedir |
| 639 |
< |
docdir |
| 640 |
< |
infodir |
| 641 |
< |
htmldir |
| 642 |
< |
dvidir |
| 643 |
< |
pdfdir |
| 644 |
< |
psdir |
| 645 |
< |
libdir |
| 646 |
< |
localedir |
| 647 |
< |
mandir |
| 648 |
< |
DEFS |
| 649 |
< |
ECHO_C |
| 650 |
< |
ECHO_N |
| 651 |
< |
ECHO_T |
| 652 |
< |
LIBS |
| 653 |
< |
build_alias |
| 654 |
< |
host_alias |
| 655 |
< |
target_alias |
| 656 |
< |
build |
| 657 |
< |
build_cpu |
| 658 |
< |
build_vendor |
| 659 |
< |
build_os |
| 660 |
< |
host |
| 661 |
< |
host_cpu |
| 662 |
< |
host_vendor |
| 663 |
< |
host_os |
| 664 |
< |
PROGNAME |
| 665 |
< |
debug |
| 666 |
< |
USE_SINGLE_PRECISION |
| 667 |
< |
CXX |
| 668 |
< |
CXXFLAGS |
| 669 |
< |
LDFLAGS |
| 670 |
< |
CPPFLAGS |
| 671 |
< |
ac_ct_CXX |
| 672 |
< |
EXEEXT |
| 673 |
< |
OBJEXT |
| 674 |
< |
CC |
| 675 |
< |
CFLAGS |
| 676 |
< |
ac_ct_CC |
| 677 |
< |
FC |
| 678 |
< |
FCFLAGS |
| 679 |
< |
ac_ct_FC |
| 680 |
< |
CPP |
| 681 |
< |
GREP |
| 682 |
< |
EGREP |
| 683 |
< |
LN_S |
| 684 |
< |
SET_MAKE |
| 685 |
< |
RANLIB |
| 686 |
< |
PERLINTERP |
| 687 |
< |
PERL_SHEBANG |
| 688 |
< |
INSTALL_PROGRAM |
| 689 |
< |
INSTALL_SCRIPT |
| 690 |
< |
INSTALL_DATA |
| 691 |
< |
AR |
| 692 |
< |
PS |
| 693 |
< |
FCFLAGS_F90 |
| 694 |
< |
FCFLAGS_SRCEXT |
| 695 |
< |
PREPDEFFLAG |
| 696 |
< |
FCLIBS |
| 697 |
< |
FC_FUNC |
| 698 |
< |
FC_FUNC_ |
| 699 |
< |
MOD |
| 700 |
< |
F90_WORK_FILES_ARG |
| 701 |
< |
MODDIRFLAG |
| 702 |
< |
F90MODINCSPEC |
| 703 |
< |
F90_MODULE_NAMES |
| 704 |
< |
ZLIB_INC_DIR |
| 705 |
< |
ZLIB_LIB_DIR |
| 706 |
< |
ZLIB |
| 707 |
< |
FFTW_INC_DIR |
| 708 |
< |
FFTW_LIB_DIR |
| 709 |
< |
FFTW_LIBS |
| 710 |
< |
LIBOBJS |
| 711 |
< |
POW_LIB |
| 712 |
< |
CXXCPP |
| 713 |
< |
__func__ |
| 714 |
< |
MPI_LIB_DIR |
| 715 |
< |
MPI_INC_DIR |
| 716 |
< |
MPI_F90_INC |
| 717 |
< |
MPI_LIB |
| 718 |
< |
MPI_F90_LIB |
| 719 |
< |
USE_MPI |
| 720 |
< |
DOXYGEN |
| 721 |
< |
DOT |
| 722 |
< |
DOC |
| 723 |
< |
enable_dot |
| 724 |
< |
enable_html_docs |
| 725 |
< |
enable_latex_docs |
| 726 |
< |
BATEXT |
| 727 |
< |
MKINSTALLDIRS |
| 728 |
< |
OOPSE |
| 729 |
< |
OOPSE_HOME |
| 730 |
< |
SUBDIRS |
| 731 |
< |
LTLIBOBJS' |
| 315 |
> |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROGNAME debug USE_SINGLE_PRECISION CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC FC FCFLAGS ac_ct_FC CPP EGREP LN_S SET_MAKE RANLIB ac_ct_RANLIB PERLINTERP PERL_SHEBANG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PS FCFLAGS_F90 FCFLAGS_SRCEXT PREPDEFFLAG FCLIBS FC_FUNC FC_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES ZLIB_INC_DIR ZLIB_LIB_DIR ZLIB FFTW_INC_DIR FFTW_LIB_DIR FFTW_LIBS LIBOBJS POW_LIB CXXCPP __func__ MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_CXXFLAGS CGAL_LDFLAGS CGAL_CPPFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS LTLIBOBJS' |
| 316 |
|
ac_subst_files='' |
| 733 |
– |
ac_precious_vars='build_alias |
| 734 |
– |
host_alias |
| 735 |
– |
target_alias |
| 736 |
– |
CXX |
| 737 |
– |
CXXFLAGS |
| 738 |
– |
LDFLAGS |
| 739 |
– |
LIBS |
| 740 |
– |
CPPFLAGS |
| 741 |
– |
CCC |
| 742 |
– |
CC |
| 743 |
– |
CFLAGS |
| 744 |
– |
FC |
| 745 |
– |
FCFLAGS |
| 746 |
– |
CPP |
| 747 |
– |
CXXCPP' |
| 317 |
|
|
| 749 |
– |
|
| 318 |
|
# Initialize some variables set by options. |
| 319 |
|
ac_init_help= |
| 320 |
|
ac_init_version=false |
| 340 |
|
# and all the variables that are supposed to be based on exec_prefix |
| 341 |
|
# by default will actually change. |
| 342 |
|
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 775 |
– |
# (The list follows the same order as the GNU Coding Standards.) |
| 343 |
|
bindir='${exec_prefix}/bin' |
| 344 |
|
sbindir='${exec_prefix}/sbin' |
| 345 |
|
libexecdir='${exec_prefix}/libexec' |
| 346 |
< |
datarootdir='${prefix}/share' |
| 780 |
< |
datadir='${datarootdir}' |
| 346 |
> |
datadir='${prefix}/share' |
| 347 |
|
sysconfdir='${prefix}/etc' |
| 348 |
|
sharedstatedir='${prefix}/com' |
| 349 |
|
localstatedir='${prefix}/var' |
| 350 |
+ |
libdir='${exec_prefix}/lib' |
| 351 |
|
includedir='${prefix}/include' |
| 352 |
|
oldincludedir='/usr/include' |
| 353 |
< |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 354 |
< |
infodir='${datarootdir}/info' |
| 788 |
< |
htmldir='${docdir}' |
| 789 |
< |
dvidir='${docdir}' |
| 790 |
< |
pdfdir='${docdir}' |
| 791 |
< |
psdir='${docdir}' |
| 792 |
< |
libdir='${exec_prefix}/lib' |
| 793 |
< |
localedir='${datarootdir}/locale' |
| 794 |
< |
mandir='${datarootdir}/man' |
| 353 |
> |
infodir='${prefix}/info' |
| 354 |
> |
mandir='${prefix}/man' |
| 355 |
|
|
| 356 |
|
ac_prev= |
| 797 |
– |
ac_dashdash= |
| 357 |
|
for ac_option |
| 358 |
|
do |
| 359 |
|
# If the previous option needs an argument, assign it. |
| 360 |
|
if test -n "$ac_prev"; then |
| 361 |
< |
eval $ac_prev=\$ac_option |
| 361 |
> |
eval "$ac_prev=\$ac_option" |
| 362 |
|
ac_prev= |
| 363 |
|
continue |
| 364 |
|
fi |
| 365 |
|
|
| 366 |
< |
case $ac_option in |
| 808 |
< |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 809 |
< |
*) ac_optarg=yes ;; |
| 810 |
< |
esac |
| 366 |
> |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 367 |
|
|
| 368 |
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 369 |
|
|
| 370 |
< |
case $ac_dashdash$ac_option in |
| 815 |
< |
--) |
| 816 |
< |
ac_dashdash=yes ;; |
| 370 |
> |
case $ac_option in |
| 371 |
|
|
| 372 |
|
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 373 |
|
ac_prev=bindir ;; |
| 389 |
|
--config-cache | -C) |
| 390 |
|
cache_file=config.cache ;; |
| 391 |
|
|
| 392 |
< |
-datadir | --datadir | --datadi | --datad) |
| 392 |
> |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 393 |
|
ac_prev=datadir ;; |
| 394 |
< |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 394 |
> |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 395 |
> |
| --da=*) |
| 396 |
|
datadir=$ac_optarg ;; |
| 397 |
|
|
| 843 |
– |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 844 |
– |
| --dataroo | --dataro | --datar) |
| 845 |
– |
ac_prev=datarootdir ;; |
| 846 |
– |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 847 |
– |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 848 |
– |
datarootdir=$ac_optarg ;; |
| 849 |
– |
|
| 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" : ".*[^-._$as_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'` |
| 405 |
< |
eval enable_$ac_feature=no ;; |
| 404 |
> |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 405 |
> |
eval "enable_$ac_feature=no" ;; |
| 406 |
|
|
| 859 |
– |
-docdir | --docdir | --docdi | --doc | --do) |
| 860 |
– |
ac_prev=docdir ;; |
| 861 |
– |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 862 |
– |
docdir=$ac_optarg ;; |
| 863 |
– |
|
| 864 |
– |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 865 |
– |
ac_prev=dvidir ;; |
| 866 |
– |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 867 |
– |
dvidir=$ac_optarg ;; |
| 868 |
– |
|
| 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" : ".*[^-._$as_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'` |
| 414 |
< |
eval enable_$ac_feature=\$ac_optarg ;; |
| 413 |
> |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 414 |
> |
case $ac_option in |
| 415 |
> |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 416 |
> |
*) ac_optarg=yes ;; |
| 417 |
> |
esac |
| 418 |
> |
eval "enable_$ac_feature='$ac_optarg'" ;; |
| 419 |
|
|
| 420 |
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 421 |
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 442 |
|
-host=* | --host=* | --hos=* | --ho=*) |
| 443 |
|
host_alias=$ac_optarg ;; |
| 444 |
|
|
| 903 |
– |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 904 |
– |
ac_prev=htmldir ;; |
| 905 |
– |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 906 |
– |
| --ht=*) |
| 907 |
– |
htmldir=$ac_optarg ;; |
| 908 |
– |
|
| 445 |
|
-includedir | --includedir | --includedi | --included | --include \ |
| 446 |
|
| --includ | --inclu | --incl | --inc) |
| 447 |
|
ac_prev=includedir ;; |
| 466 |
|
| --libexe=* | --libex=* | --libe=*) |
| 467 |
|
libexecdir=$ac_optarg ;; |
| 468 |
|
|
| 933 |
– |
-localedir | --localedir | --localedi | --localed | --locale) |
| 934 |
– |
ac_prev=localedir ;; |
| 935 |
– |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 936 |
– |
localedir=$ac_optarg ;; |
| 937 |
– |
|
| 469 |
|
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 470 |
< |
| --localstate | --localstat | --localsta | --localst | --locals) |
| 470 |
> |
| --localstate | --localstat | --localsta | --localst \ |
| 471 |
> |
| --locals | --local | --loca | --loc | --lo) |
| 472 |
|
ac_prev=localstatedir ;; |
| 473 |
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 474 |
< |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 474 |
> |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 475 |
> |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 476 |
|
localstatedir=$ac_optarg ;; |
| 477 |
|
|
| 478 |
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 537 |
|
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 538 |
|
program_transform_name=$ac_optarg ;; |
| 539 |
|
|
| 1007 |
– |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1008 |
– |
ac_prev=pdfdir ;; |
| 1009 |
– |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1010 |
– |
pdfdir=$ac_optarg ;; |
| 1011 |
– |
|
| 1012 |
– |
-psdir | --psdir | --psdi | --psd | --ps) |
| 1013 |
– |
ac_prev=psdir ;; |
| 1014 |
– |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1015 |
– |
psdir=$ac_optarg ;; |
| 1016 |
– |
|
| 540 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 541 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 542 |
|
silent=yes ;; |
| 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" : ".*[^-._$as_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'` |
| 596 |
< |
eval with_$ac_package=\$ac_optarg ;; |
| 595 |
> |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 596 |
> |
case $ac_option in |
| 597 |
> |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 598 |
> |
*) ac_optarg=yes ;; |
| 599 |
> |
esac |
| 600 |
> |
eval "with_$ac_package='$ac_optarg'" ;; |
| 601 |
|
|
| 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" : ".*[^-._$as_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'` |
| 609 |
< |
eval with_$ac_package=no ;; |
| 608 |
> |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 609 |
> |
eval "with_$ac_package=no" ;; |
| 610 |
|
|
| 611 |
|
--x) |
| 612 |
|
# Obsolete; use --with-x. |
| 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 |
< |
eval $ac_envvar=\$ac_optarg |
| 640 |
> |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 641 |
> |
eval "$ac_envvar='$ac_optarg'" |
| 642 |
|
export $ac_envvar ;; |
| 643 |
|
|
| 644 |
|
*) |
| 658 |
|
{ (exit 1); exit 1; }; } |
| 659 |
|
fi |
| 660 |
|
|
| 661 |
< |
# Be sure to have absolute directory names. |
| 662 |
< |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1135 |
< |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1136 |
< |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1137 |
< |
libdir localedir mandir |
| 661 |
> |
# Be sure to have absolute paths. |
| 662 |
> |
for ac_var in exec_prefix prefix |
| 663 |
|
do |
| 664 |
< |
eval ac_val=\$$ac_var |
| 664 |
> |
eval ac_val=$`echo $ac_var` |
| 665 |
|
case $ac_val in |
| 666 |
< |
[\\/$]* | ?:[\\/]* ) continue;; |
| 667 |
< |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 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 |
| 1144 |
– |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 1145 |
– |
{ (exit 1); exit 1; }; } |
| 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 |
| 675 |
+ |
do |
| 676 |
+ |
eval ac_val=$`echo $ac_var` |
| 677 |
+ |
case $ac_val in |
| 678 |
+ |
[\\/$]* | ?:[\\/]* ) ;; |
| 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. |
| 705 |
|
test "$silent" = yes && exec 6>/dev/null |
| 706 |
|
|
| 707 |
|
|
| 1172 |
– |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1173 |
– |
ac_ls_di=`ls -di .` && |
| 1174 |
– |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1175 |
– |
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
| 1176 |
– |
{ (exit 1); exit 1; }; } |
| 1177 |
– |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1178 |
– |
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
| 1179 |
– |
{ (exit 1); exit 1; }; } |
| 1180 |
– |
|
| 1181 |
– |
|
| 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 the parent directory. |
| 712 |
< |
ac_confdir=`$as_dirname -- "$0" || |
| 711 |
> |
# Try the directory containing this script, then its parent. |
| 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\(/\)' \| . 2>/dev/null || |
| 716 |
> |
X"$0" : 'X\(/\)' \| \ |
| 717 |
> |
. : '\(.\)' 2>/dev/null || |
| 718 |
|
echo X"$0" | |
| 719 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 720 |
< |
s//\1/ |
| 721 |
< |
q |
| 722 |
< |
} |
| 723 |
< |
/^X\(\/\/\)[^/].*/{ |
| 1197 |
< |
s//\1/ |
| 1198 |
< |
q |
| 1199 |
< |
} |
| 1200 |
< |
/^X\(\/\/\)$/{ |
| 1201 |
< |
s//\1/ |
| 1202 |
< |
q |
| 1203 |
< |
} |
| 1204 |
< |
/^X\(\/\).*/{ |
| 1205 |
< |
s//\1/ |
| 1206 |
< |
q |
| 1207 |
< |
} |
| 1208 |
< |
s/.*/./; q'` |
| 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 |
| 725 |
> |
if test ! -r $srcdir/$ac_unique_file; then |
| 726 |
|
srcdir=.. |
| 727 |
|
fi |
| 728 |
|
else |
| 729 |
|
ac_srcdir_defaulted=no |
| 730 |
|
fi |
| 731 |
< |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 732 |
< |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 733 |
< |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 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 ($ac_unique_file) in $ac_confdir or .." >&2 |
| 734 |
|
{ (exit 1); exit 1; }; } |
| 735 |
+ |
else |
| 736 |
+ |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 737 |
+ |
{ (exit 1); exit 1; }; } |
| 738 |
+ |
fi |
| 739 |
|
fi |
| 740 |
< |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 741 |
< |
ac_abs_confdir=`( |
| 1223 |
< |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
| 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 |
< |
pwd)` |
| 744 |
< |
# When building in place, set srcdir=. |
| 745 |
< |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 746 |
< |
srcdir=. |
| 747 |
< |
fi |
| 748 |
< |
# Remove unnecessary trailing slashes from srcdir. |
| 749 |
< |
# Double slashes in file names in object file debugging info |
| 750 |
< |
# mess up M-x gdb in Emacs. |
| 751 |
< |
case $srcdir in |
| 752 |
< |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 753 |
< |
esac |
| 754 |
< |
for ac_var in $ac_precious_vars; do |
| 755 |
< |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 756 |
< |
eval ac_env_${ac_var}_value=\$${ac_var} |
| 757 |
< |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 758 |
< |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 759 |
< |
done |
| 743 |
> |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 744 |
> |
ac_env_build_alias_set=${build_alias+set} |
| 745 |
> |
ac_env_build_alias_value=$build_alias |
| 746 |
> |
ac_cv_env_build_alias_set=${build_alias+set} |
| 747 |
> |
ac_cv_env_build_alias_value=$build_alias |
| 748 |
> |
ac_env_host_alias_set=${host_alias+set} |
| 749 |
> |
ac_env_host_alias_value=$host_alias |
| 750 |
> |
ac_cv_env_host_alias_set=${host_alias+set} |
| 751 |
> |
ac_cv_env_host_alias_value=$host_alias |
| 752 |
> |
ac_env_target_alias_set=${target_alias+set} |
| 753 |
> |
ac_env_target_alias_value=$target_alias |
| 754 |
> |
ac_cv_env_target_alias_set=${target_alias+set} |
| 755 |
> |
ac_cv_env_target_alias_value=$target_alias |
| 756 |
> |
ac_env_CXX_set=${CXX+set} |
| 757 |
> |
ac_env_CXX_value=$CXX |
| 758 |
> |
ac_cv_env_CXX_set=${CXX+set} |
| 759 |
> |
ac_cv_env_CXX_value=$CXX |
| 760 |
> |
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 761 |
> |
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 762 |
> |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 763 |
> |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 764 |
> |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 765 |
> |
ac_env_LDFLAGS_value=$LDFLAGS |
| 766 |
> |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 767 |
> |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 768 |
> |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 769 |
> |
ac_env_CPPFLAGS_value=$CPPFLAGS |
| 770 |
> |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 771 |
> |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 772 |
> |
ac_env_CC_set=${CC+set} |
| 773 |
> |
ac_env_CC_value=$CC |
| 774 |
> |
ac_cv_env_CC_set=${CC+set} |
| 775 |
> |
ac_cv_env_CC_value=$CC |
| 776 |
> |
ac_env_CFLAGS_set=${CFLAGS+set} |
| 777 |
> |
ac_env_CFLAGS_value=$CFLAGS |
| 778 |
> |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 779 |
> |
ac_cv_env_CFLAGS_value=$CFLAGS |
| 780 |
> |
ac_env_FC_set=${FC+set} |
| 781 |
> |
ac_env_FC_value=$FC |
| 782 |
> |
ac_cv_env_FC_set=${FC+set} |
| 783 |
> |
ac_cv_env_FC_value=$FC |
| 784 |
> |
ac_env_FCFLAGS_set=${FCFLAGS+set} |
| 785 |
> |
ac_env_FCFLAGS_value=$FCFLAGS |
| 786 |
> |
ac_cv_env_FCFLAGS_set=${FCFLAGS+set} |
| 787 |
> |
ac_cv_env_FCFLAGS_value=$FCFLAGS |
| 788 |
> |
ac_env_CPP_set=${CPP+set} |
| 789 |
> |
ac_env_CPP_value=$CPP |
| 790 |
> |
ac_cv_env_CPP_set=${CPP+set} |
| 791 |
> |
ac_cv_env_CPP_value=$CPP |
| 792 |
> |
ac_env_CXXCPP_set=${CXXCPP+set} |
| 793 |
> |
ac_env_CXXCPP_value=$CXXCPP |
| 794 |
> |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
| 795 |
> |
ac_cv_env_CXXCPP_value=$CXXCPP |
| 796 |
|
|
| 797 |
|
# |
| 798 |
|
# Report the --help message. |
| 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 <<_ACEOF |
| 804 |
< |
\`configure' configures OOPSE 3.0 to adapt to many kinds of systems. |
| 804 |
> |
\`configure' configures OOPSE 4.0 to adapt to many kinds of systems. |
| 805 |
|
|
| 806 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 807 |
|
|
| 821 |
|
-n, --no-create do not create output files |
| 822 |
|
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 823 |
|
|
| 824 |
+ |
_ACEOF |
| 825 |
+ |
|
| 826 |
+ |
cat <<_ACEOF |
| 827 |
|
Installation directories: |
| 828 |
|
--prefix=PREFIX install architecture-independent files in PREFIX |
| 829 |
|
[$ac_default_prefix] |
| 841 |
|
--bindir=DIR user executables [EPREFIX/bin] |
| 842 |
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 843 |
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 844 |
+ |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
| 845 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 846 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 847 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 848 |
|
--libdir=DIR object code libraries [EPREFIX/lib] |
| 849 |
|
--includedir=DIR C header files [PREFIX/include] |
| 850 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 851 |
< |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 852 |
< |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1295 |
< |
--infodir=DIR info documentation [DATAROOTDIR/info] |
| 1296 |
< |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1297 |
< |
--mandir=DIR man documentation [DATAROOTDIR/man] |
| 1298 |
< |
--docdir=DIR documentation root [DATAROOTDIR/doc/oopse] |
| 1299 |
< |
--htmldir=DIR html documentation [DOCDIR] |
| 1300 |
< |
--dvidir=DIR dvi documentation [DOCDIR] |
| 1301 |
< |
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1302 |
< |
--psdir=DIR ps documentation [DOCDIR] |
| 851 |
> |
--infodir=DIR info documentation [PREFIX/info] |
| 852 |
> |
--mandir=DIR man documentation [PREFIX/man] |
| 853 |
|
_ACEOF |
| 854 |
|
|
| 855 |
|
cat <<\_ACEOF |
| 862 |
|
|
| 863 |
|
if test -n "$ac_init_help"; then |
| 864 |
|
case $ac_init_help in |
| 865 |
< |
short | recursive ) echo "Configuration of OOPSE 3.0:";; |
| 865 |
> |
short | recursive ) echo "Configuration of OOPSE 4.0:";; |
| 866 |
|
esac |
| 867 |
|
cat <<\_ACEOF |
| 868 |
|
|
| 888 |
|
--with-fftw=DIR root directory path of fftw installation (defaults |
| 889 |
|
to /usr/local or /usr if not found in /usr/local) |
| 890 |
|
--with-mpi=<prefix> compile with MPI installed in <prefix> [default=no] |
| 891 |
+ |
--with-cgalmakefile=makefile |
| 892 |
+ |
Use the following CGAL makefile |
| 893 |
|
|
| 894 |
|
Some influential environment variables: |
| 895 |
|
CXX C++ compiler command |
| 896 |
|
CXXFLAGS C++ compiler flags |
| 897 |
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 898 |
|
nonstandard directory <lib dir> |
| 899 |
< |
LIBS libraries to pass to the linker, e.g. -l<library> |
| 900 |
< |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1349 |
< |
you have headers in a nonstandard directory <include dir> |
| 899 |
> |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 900 |
> |
headers in a nonstandard directory <include dir> |
| 901 |
|
CC C compiler command |
| 902 |
|
CFLAGS C compiler flags |
| 903 |
|
FC Fortran compiler command |
| 910 |
|
|
| 911 |
|
Report bugs to <gezelter@nd.edu>. |
| 912 |
|
_ACEOF |
| 1362 |
– |
ac_status=$? |
| 913 |
|
fi |
| 914 |
|
|
| 915 |
|
if test "$ac_init_help" = "recursive"; then |
| 916 |
|
# If there are subdirs, report their specific --help. |
| 917 |
+ |
ac_popdir=`pwd` |
| 918 |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 919 |
< |
test -d "$ac_dir" || continue |
| 919 |
> |
test -d $ac_dir || continue |
| 920 |
|
ac_builddir=. |
| 921 |
|
|
| 922 |
< |
case "$ac_dir" in |
| 1372 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1373 |
< |
*) |
| 922 |
> |
if test "$ac_dir" != .; then |
| 923 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 924 |
< |
# A ".." for each directory in $ac_dir_suffix. |
| 925 |
< |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 926 |
< |
case $ac_top_builddir_sub in |
| 927 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 928 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1380 |
< |
esac ;; |
| 1381 |
< |
esac |
| 1382 |
< |
ac_abs_top_builddir=$ac_pwd |
| 1383 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1384 |
< |
# for backward compatibility: |
| 1385 |
< |
ac_top_builddir=$ac_top_build_prefix |
| 924 |
> |
# A "../" for each directory in $ac_dir_suffix. |
| 925 |
> |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 926 |
> |
else |
| 927 |
> |
ac_dir_suffix= ac_top_builddir= |
| 928 |
> |
fi |
| 929 |
|
|
| 930 |
|
case $srcdir in |
| 931 |
< |
.) # We are building in place. |
| 931 |
> |
.) # No --srcdir option. We are building in place. |
| 932 |
|
ac_srcdir=. |
| 933 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
| 934 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
| 935 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 933 |
> |
if test -z "$ac_top_builddir"; then |
| 934 |
> |
ac_top_srcdir=. |
| 935 |
> |
else |
| 936 |
> |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 937 |
> |
fi ;; |
| 938 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 939 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
| 940 |
< |
ac_top_srcdir=$srcdir |
| 941 |
< |
ac_abs_top_srcdir=$srcdir ;; |
| 942 |
< |
*) # Relative name. |
| 943 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1398 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1399 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 940 |
> |
ac_top_srcdir=$srcdir ;; |
| 941 |
> |
*) # Relative path. |
| 942 |
> |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 943 |
> |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 944 |
|
esac |
| 1401 |
– |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 945 |
|
|
| 946 |
< |
cd "$ac_dir" || { ac_status=$?; continue; } |
| 947 |
< |
# Check for guested configure. |
| 948 |
< |
if test -f "$ac_srcdir/configure.gnu"; then |
| 949 |
< |
echo && |
| 950 |
< |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 951 |
< |
elif test -f "$ac_srcdir/configure"; then |
| 952 |
< |
echo && |
| 953 |
< |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 946 |
> |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 947 |
> |
# the directories may not exist. |
| 948 |
> |
case `pwd` in |
| 949 |
> |
.) ac_abs_builddir="$ac_dir";; |
| 950 |
> |
*) |
| 951 |
> |
case "$ac_dir" in |
| 952 |
> |
.) ac_abs_builddir=`pwd`;; |
| 953 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 954 |
> |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 955 |
> |
esac;; |
| 956 |
> |
esac |
| 957 |
> |
case $ac_abs_builddir in |
| 958 |
> |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 959 |
> |
*) |
| 960 |
> |
case ${ac_top_builddir}. in |
| 961 |
> |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 962 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 963 |
> |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 964 |
> |
esac;; |
| 965 |
> |
esac |
| 966 |
> |
case $ac_abs_builddir in |
| 967 |
> |
.) ac_abs_srcdir=$ac_srcdir;; |
| 968 |
> |
*) |
| 969 |
> |
case $ac_srcdir in |
| 970 |
> |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 971 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 972 |
> |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 973 |
> |
esac;; |
| 974 |
> |
esac |
| 975 |
> |
case $ac_abs_builddir in |
| 976 |
> |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 977 |
> |
*) |
| 978 |
> |
case $ac_top_srcdir in |
| 979 |
> |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 980 |
> |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 981 |
> |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 982 |
> |
esac;; |
| 983 |
> |
esac |
| 984 |
> |
|
| 985 |
> |
cd $ac_dir |
| 986 |
> |
# Check for guested configure; otherwise get Cygnus style configure. |
| 987 |
> |
if test -f $ac_srcdir/configure.gnu; then |
| 988 |
> |
echo |
| 989 |
> |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
| 990 |
> |
elif test -f $ac_srcdir/configure; then |
| 991 |
> |
echo |
| 992 |
> |
$SHELL $ac_srcdir/configure --help=recursive |
| 993 |
> |
elif test -f $ac_srcdir/configure.ac || |
| 994 |
> |
test -f $ac_srcdir/configure.in; then |
| 995 |
> |
echo |
| 996 |
> |
$ac_configure --help |
| 997 |
|
else |
| 998 |
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 999 |
< |
fi || ac_status=$? |
| 1000 |
< |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 999 |
> |
fi |
| 1000 |
> |
cd $ac_popdir |
| 1001 |
|
done |
| 1002 |
|
fi |
| 1003 |
|
|
| 1004 |
< |
test -n "$ac_init_help" && exit $ac_status |
| 1004 |
> |
test -n "$ac_init_help" && exit 0 |
| 1005 |
|
if $ac_init_version; then |
| 1006 |
|
cat <<\_ACEOF |
| 1007 |
< |
OOPSE configure 3.0 |
| 1008 |
< |
generated by GNU Autoconf 2.61 |
| 1007 |
> |
OOPSE configure 4.0 |
| 1008 |
> |
generated by GNU Autoconf 2.59 |
| 1009 |
|
|
| 1010 |
< |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1425 |
< |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 1010 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 1011 |
|
This configure script is free software; the Free Software Foundation |
| 1012 |
|
gives unlimited permission to copy, distribute and modify it. |
| 1013 |
|
_ACEOF |
| 1014 |
< |
exit |
| 1014 |
> |
exit 0 |
| 1015 |
|
fi |
| 1016 |
< |
cat >config.log <<_ACEOF |
| 1016 |
> |
exec 5>config.log |
| 1017 |
> |
cat >&5 <<_ACEOF |
| 1018 |
|
This file contains any messages produced by compilers while |
| 1019 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1020 |
|
|
| 1021 |
< |
It was created by OOPSE $as_me 3.0, which was |
| 1022 |
< |
generated by GNU Autoconf 2.61. Invocation command line was |
| 1021 |
> |
It was created by OOPSE $as_me 4.0, which was |
| 1022 |
> |
generated by GNU Autoconf 2.59. Invocation command line was |
| 1023 |
|
|
| 1024 |
|
$ $0 $@ |
| 1025 |
|
|
| 1026 |
|
_ACEOF |
| 1441 |
– |
exec 5>>config.log |
| 1027 |
|
{ |
| 1028 |
|
cat <<_ASUNAME |
| 1029 |
|
## --------- ## |
| 1042 |
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1043 |
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1044 |
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1045 |
< |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1045 |
> |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| 1046 |
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1047 |
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1048 |
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1056 |
|
test -z "$as_dir" && as_dir=. |
| 1057 |
|
echo "PATH: $as_dir" |
| 1058 |
|
done |
| 1474 |
– |
IFS=$as_save_IFS |
| 1059 |
|
|
| 1060 |
|
} >&5 |
| 1061 |
|
|
| 1077 |
|
ac_configure_args= |
| 1078 |
|
ac_configure_args0= |
| 1079 |
|
ac_configure_args1= |
| 1080 |
+ |
ac_sep= |
| 1081 |
|
ac_must_keep_next=false |
| 1082 |
|
for ac_pass in 1 2 |
| 1083 |
|
do |
| 1088 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1089 |
|
| -silent | --silent | --silen | --sile | --sil) |
| 1090 |
|
continue ;; |
| 1091 |
< |
*\'*) |
| 1091 |
> |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1092 |
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1093 |
|
esac |
| 1094 |
|
case $ac_pass in |
| 1110 |
|
-* ) ac_must_keep_next=true ;; |
| 1111 |
|
esac |
| 1112 |
|
fi |
| 1113 |
< |
ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1113 |
> |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1114 |
> |
# Get rid of the leading space. |
| 1115 |
> |
ac_sep=" " |
| 1116 |
|
;; |
| 1117 |
|
esac |
| 1118 |
|
done |
| 1123 |
|
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1124 |
|
# config.log. We remove comments because anyway the quotes in there |
| 1125 |
|
# would cause problems or look ugly. |
| 1126 |
< |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1127 |
< |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1126 |
> |
# WARNING: Be sure not to use single quotes in there, as some shells, |
| 1127 |
> |
# such as our DU 5.0 friend, will then `close' the trap. |
| 1128 |
|
trap 'exit_status=$? |
| 1129 |
|
# Save into config.log some information that might help in debugging. |
| 1130 |
|
{ |
| 1137 |
|
_ASBOX |
| 1138 |
|
echo |
| 1139 |
|
# The following way of writing the cache mishandles newlines in values, |
| 1140 |
< |
( |
| 1141 |
< |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1142 |
< |
eval ac_val=\$$ac_var |
| 1143 |
< |
case $ac_val in #( |
| 1557 |
< |
*${as_nl}*) |
| 1558 |
< |
case $ac_var in #( |
| 1559 |
< |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 1560 |
< |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 1561 |
< |
esac |
| 1562 |
< |
case $ac_var in #( |
| 1563 |
< |
_ | IFS | as_nl) ;; #( |
| 1564 |
< |
*) $as_unset $ac_var ;; |
| 1565 |
< |
esac ;; |
| 1566 |
< |
esac |
| 1567 |
< |
done |
| 1568 |
< |
(set) 2>&1 | |
| 1569 |
< |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1570 |
< |
*${as_nl}ac_space=\ *) |
| 1140 |
> |
{ |
| 1141 |
> |
(set) 2>&1 | |
| 1142 |
> |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1143 |
> |
*ac_space=\ *) |
| 1144 |
|
sed -n \ |
| 1145 |
< |
"s/'\''/'\''\\\\'\'''\''/g; |
| 1146 |
< |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1147 |
< |
;; #( |
| 1145 |
> |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1146 |
> |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1147 |
> |
;; |
| 1148 |
|
*) |
| 1149 |
< |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1149 |
> |
sed -n \ |
| 1150 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1151 |
|
;; |
| 1152 |
< |
esac | |
| 1153 |
< |
sort |
| 1580 |
< |
) |
| 1152 |
> |
esac; |
| 1153 |
> |
} |
| 1154 |
|
echo |
| 1155 |
|
|
| 1156 |
|
cat <<\_ASBOX |
| 1161 |
|
echo |
| 1162 |
|
for ac_var in $ac_subst_vars |
| 1163 |
|
do |
| 1164 |
< |
eval ac_val=\$$ac_var |
| 1165 |
< |
case $ac_val in |
| 1593 |
< |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1594 |
< |
esac |
| 1595 |
< |
echo "$ac_var='\''$ac_val'\''" |
| 1164 |
> |
eval ac_val=$`echo $ac_var` |
| 1165 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1166 |
|
done | sort |
| 1167 |
|
echo |
| 1168 |
|
|
| 1169 |
|
if test -n "$ac_subst_files"; then |
| 1170 |
|
cat <<\_ASBOX |
| 1171 |
< |
## ------------------- ## |
| 1172 |
< |
## File substitutions. ## |
| 1173 |
< |
## ------------------- ## |
| 1171 |
> |
## ------------- ## |
| 1172 |
> |
## Output files. ## |
| 1173 |
> |
## ------------- ## |
| 1174 |
|
_ASBOX |
| 1175 |
|
echo |
| 1176 |
|
for ac_var in $ac_subst_files |
| 1177 |
|
do |
| 1178 |
< |
eval ac_val=\$$ac_var |
| 1179 |
< |
case $ac_val in |
| 1610 |
< |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1611 |
< |
esac |
| 1612 |
< |
echo "$ac_var='\''$ac_val'\''" |
| 1178 |
> |
eval ac_val=$`echo $ac_var` |
| 1179 |
> |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1180 |
|
done | sort |
| 1181 |
|
echo |
| 1182 |
|
fi |
| 1188 |
|
## ----------- ## |
| 1189 |
|
_ASBOX |
| 1190 |
|
echo |
| 1191 |
< |
cat confdefs.h |
| 1191 |
> |
sed "/^$/d" confdefs.h | sort |
| 1192 |
|
echo |
| 1193 |
|
fi |
| 1194 |
|
test "$ac_signal" != 0 && |
| 1195 |
|
echo "$as_me: caught signal $ac_signal" |
| 1196 |
|
echo "$as_me: exit $exit_status" |
| 1197 |
|
} >&5 |
| 1198 |
< |
rm -rf core *.core core.conftest.* && |
| 1199 |
< |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1198 |
> |
rm -f core *.core && |
| 1199 |
> |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1200 |
|
exit $exit_status |
| 1201 |
< |
' 0 |
| 1201 |
> |
' 0 |
| 1202 |
|
for ac_signal in 1 2 13 15; do |
| 1203 |
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1204 |
|
done |
| 1205 |
|
ac_signal=0 |
| 1206 |
|
|
| 1207 |
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1208 |
< |
rm -f -r conftest* confdefs.h |
| 1208 |
> |
rm -rf conftest* confdefs.h |
| 1209 |
> |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 1210 |
> |
echo >confdefs.h |
| 1211 |
|
|
| 1212 |
|
# Predefined preprocessor variables. |
| 1213 |
|
|
| 1238 |
|
|
| 1239 |
|
# Let the site file select an alternate cache file if it wants to. |
| 1240 |
|
# Prefer explicitly selected file to automatically selected ones. |
| 1241 |
< |
if test -n "$CONFIG_SITE"; then |
| 1242 |
< |
set x "$CONFIG_SITE" |
| 1243 |
< |
elif test "x$prefix" != xNONE; then |
| 1244 |
< |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
| 1245 |
< |
else |
| 1246 |
< |
set x "$ac_default_prefix/share/config.site" \ |
| 1678 |
< |
"$ac_default_prefix/etc/config.site" |
| 1241 |
> |
if test -z "$CONFIG_SITE"; then |
| 1242 |
> |
if test "x$prefix" != xNONE; then |
| 1243 |
> |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 1244 |
> |
else |
| 1245 |
> |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1246 |
> |
fi |
| 1247 |
|
fi |
| 1248 |
< |
shift |
| 1681 |
< |
for ac_site_file |
| 1682 |
< |
do |
| 1248 |
> |
for ac_site_file in $CONFIG_SITE; do |
| 1249 |
|
if test -r "$ac_site_file"; then |
| 1250 |
|
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1251 |
|
echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1261 |
|
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1262 |
|
echo "$as_me: loading cache $cache_file" >&6;} |
| 1263 |
|
case $cache_file in |
| 1264 |
< |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1265 |
< |
*) . "./$cache_file";; |
| 1264 |
> |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
| 1265 |
> |
*) . ./$cache_file;; |
| 1266 |
|
esac |
| 1267 |
|
fi |
| 1268 |
|
else |
| 1274 |
|
# Check that the precious variables saved in the cache have kept the same |
| 1275 |
|
# value. |
| 1276 |
|
ac_cache_corrupted=false |
| 1277 |
< |
for ac_var in $ac_precious_vars; do |
| 1277 |
> |
for ac_var in `(set) 2>&1 | |
| 1278 |
> |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1279 |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1280 |
|
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1281 |
< |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1282 |
< |
eval ac_new_val=\$ac_env_${ac_var}_value |
| 1281 |
> |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1282 |
> |
eval ac_new_val="\$ac_env_${ac_var}_value" |
| 1283 |
|
case $ac_old_set,$ac_new_set in |
| 1284 |
|
set,) |
| 1285 |
|
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1304 |
|
# Pass precious variables to config.status. |
| 1305 |
|
if test "$ac_new_set" = set; then |
| 1306 |
|
case $ac_new_val in |
| 1307 |
< |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1307 |
> |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1308 |
> |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1309 |
|
*) ac_arg=$ac_var=$ac_new_val ;; |
| 1310 |
|
esac |
| 1311 |
|
case " $ac_configure_args " in |
| 1322 |
|
{ (exit 1); exit 1; }; } |
| 1323 |
|
fi |
| 1324 |
|
|
| 1325 |
+ |
ac_ext=c |
| 1326 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 1327 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1328 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1329 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1330 |
|
|
| 1331 |
|
|
| 1332 |
|
|
| 1351 |
|
|
| 1352 |
|
|
| 1353 |
|
|
| 1781 |
– |
ac_ext=c |
| 1782 |
– |
ac_cpp='$CPP $CPPFLAGS' |
| 1783 |
– |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1784 |
– |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1785 |
– |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1354 |
|
|
| 1355 |
|
|
| 1356 |
+ |
|
| 1357 |
|
ac_aux_dir= |
| 1358 |
< |
for ac_dir in ac-tools "$srcdir"/ac-tools; do |
| 1359 |
< |
if test -f "$ac_dir/install-sh"; then |
| 1358 |
> |
for ac_dir in ac-tools $srcdir/ac-tools; do |
| 1359 |
> |
if test -f $ac_dir/install-sh; then |
| 1360 |
|
ac_aux_dir=$ac_dir |
| 1361 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1362 |
|
break |
| 1363 |
< |
elif test -f "$ac_dir/install.sh"; then |
| 1363 |
> |
elif test -f $ac_dir/install.sh; then |
| 1364 |
|
ac_aux_dir=$ac_dir |
| 1365 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1366 |
|
break |
| 1367 |
< |
elif test -f "$ac_dir/shtool"; then |
| 1367 |
> |
elif test -f $ac_dir/shtool; then |
| 1368 |
|
ac_aux_dir=$ac_dir |
| 1369 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1370 |
|
break |
| 1371 |
|
fi |
| 1372 |
|
done |
| 1373 |
|
if test -z "$ac_aux_dir"; then |
| 1374 |
< |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&5 |
| 1375 |
< |
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&2;} |
| 1374 |
> |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5 |
| 1375 |
> |
echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;} |
| 1376 |
|
{ (exit 1); exit 1; }; } |
| 1377 |
|
fi |
| 1378 |
+ |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
| 1379 |
+ |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
| 1380 |
+ |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| 1381 |
|
|
| 1810 |
– |
# These three variables are undocumented and unsupported, |
| 1811 |
– |
# and are intended to be withdrawn in a future Autoconf release. |
| 1812 |
– |
# They can cause serious problems if a builder's source tree is in a directory |
| 1813 |
– |
# whose full name contains unusual characters. |
| 1814 |
– |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1815 |
– |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1816 |
– |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 1382 |
|
|
| 1383 |
+ |
ac_config_headers="$ac_config_headers src/config.h" |
| 1384 |
|
|
| 1385 |
|
|
| 1820 |
– |
ac_config_headers="$ac_config_headers src/config.h" |
| 1386 |
|
|
| 1387 |
|
|
| 1388 |
|
|
| 1425 |
|
|
| 1426 |
|
|
| 1427 |
|
|
| 1863 |
– |
|
| 1864 |
– |
|
| 1428 |
|
# |
| 1429 |
|
# |
| 1430 |
|
# |
| 1440 |
|
# Figure out how the Fortran 90 compiler constructs module file names |
| 1441 |
|
# |
| 1442 |
|
# AC_F90_MODULE_NAMES |
| 1443 |
+ |
|
| 1444 |
+ |
|
| 1445 |
+ |
|
| 1446 |
+ |
|
| 1447 |
+ |
|
| 1448 |
+ |
|
| 1449 |
+ |
|
| 1450 |
+ |
|
| 1451 |
+ |
|
| 1452 |
+ |
|
| 1453 |
+ |
|
| 1454 |
+ |
|
| 1455 |
+ |
|
| 1456 |
+ |
|
| 1457 |
+ |
|
| 1458 |
+ |
|
| 1459 |
|
|
| 1460 |
|
|
| 1461 |
|
|
| 1544 |
|
|
| 1545 |
|
|
| 1546 |
|
|
| 1547 |
+ |
|
| 1548 |
+ |
|
| 1549 |
+ |
|
| 1550 |
+ |
|
| 1551 |
+ |
|
| 1552 |
+ |
# This is taken from http://autoqt.sourceforge.net/ |
| 1553 |
+ |
# Copyright (c) 2002, Geoffrey Wossum |
| 1554 |
+ |
# All rights reserved. |
| 1555 |
+ |
|
| 1556 |
+ |
# Redistribution and use in source and binary forms, with or without |
| 1557 |
+ |
# modification, are permitted provided that the following conditions are |
| 1558 |
+ |
# met: |
| 1559 |
+ |
|
| 1560 |
+ |
# - Redistributions of source code must retain the above copyright notice, |
| 1561 |
+ |
# this list of conditions and the following disclaimer. |
| 1562 |
+ |
|
| 1563 |
+ |
# - Redistributions in binary form must reproduce the above copyright |
| 1564 |
+ |
# notice, this list of conditions and the following disclaimer in the |
| 1565 |
+ |
# documentation and/or other materials provided with the distribution. |
| 1566 |
+ |
|
| 1567 |
+ |
# - Neither the name of Geoffrey Wossum nor the names of its |
| 1568 |
+ |
# contributors may be used to endorse or promote products derived from |
| 1569 |
+ |
# this software without specific prior written permission. |
| 1570 |
+ |
|
| 1571 |
+ |
|
| 1572 |
+ |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 1573 |
+ |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
| 1574 |
+ |
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 1575 |
+ |
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 1576 |
+ |
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 1577 |
+ |
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 1578 |
+ |
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 1579 |
+ |
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 1580 |
+ |
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 1581 |
+ |
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 1582 |
+ |
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 1583 |
+ |
|
| 1584 |
+ |
|
| 1585 |
+ |
# Check for Qt compiler flags, linker flags, and binary packages |
| 1586 |
+ |
|
| 1587 |
+ |
|
| 1588 |
+ |
|
| 1589 |
|
# who am i |
| 1590 |
|
# Make sure we can run config.sub. |
| 1591 |
< |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 1592 |
< |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 1593 |
< |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| 1591 |
> |
$ac_config_sub sun4 >/dev/null 2>&1 || |
| 1592 |
> |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| 1593 |
> |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
| 1594 |
|
{ (exit 1); exit 1; }; } |
| 1595 |
|
|
| 1596 |
< |
{ echo "$as_me:$LINENO: checking build system type" >&5 |
| 1597 |
< |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
| 1596 |
> |
echo "$as_me:$LINENO: checking build system type" >&5 |
| 1597 |
> |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
| 1598 |
|
if test "${ac_cv_build+set}" = set; then |
| 1599 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1600 |
|
else |
| 1601 |
< |
ac_build_alias=$build_alias |
| 1602 |
< |
test "x$ac_build_alias" = x && |
| 1603 |
< |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 1604 |
< |
test "x$ac_build_alias" = x && |
| 1601 |
> |
ac_cv_build_alias=$build_alias |
| 1602 |
> |
test -z "$ac_cv_build_alias" && |
| 1603 |
> |
ac_cv_build_alias=`$ac_config_guess` |
| 1604 |
> |
test -z "$ac_cv_build_alias" && |
| 1605 |
|
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1606 |
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1607 |
|
{ (exit 1); exit 1; }; } |
| 1608 |
< |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 1609 |
< |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 1610 |
< |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| 1608 |
> |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
| 1609 |
> |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
| 1610 |
> |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
| 1611 |
|
{ (exit 1); exit 1; }; } |
| 1612 |
|
|
| 1613 |
|
fi |
| 1614 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1615 |
< |
echo "${ECHO_T}$ac_cv_build" >&6; } |
| 1995 |
< |
case $ac_cv_build in |
| 1996 |
< |
*-*-*) ;; |
| 1997 |
< |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| 1998 |
< |
echo "$as_me: error: invalid value of canonical build" >&2;} |
| 1999 |
< |
{ (exit 1); exit 1; }; };; |
| 2000 |
< |
esac |
| 1614 |
> |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1615 |
> |
echo "${ECHO_T}$ac_cv_build" >&6 |
| 1616 |
|
build=$ac_cv_build |
| 1617 |
< |
ac_save_IFS=$IFS; IFS='-' |
| 1618 |
< |
set x $ac_cv_build |
| 1619 |
< |
shift |
| 2005 |
< |
build_cpu=$1 |
| 2006 |
< |
build_vendor=$2 |
| 2007 |
< |
shift; shift |
| 2008 |
< |
# Remember, the first character of IFS is used to create $*, |
| 2009 |
< |
# except with old shells: |
| 2010 |
< |
build_os=$* |
| 2011 |
< |
IFS=$ac_save_IFS |
| 2012 |
< |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 1617 |
> |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1618 |
> |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1619 |
> |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1620 |
|
|
| 1621 |
|
|
| 1622 |
< |
{ echo "$as_me:$LINENO: checking host system type" >&5 |
| 1623 |
< |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
| 1622 |
> |
echo "$as_me:$LINENO: checking host system type" >&5 |
| 1623 |
> |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
| 1624 |
|
if test "${ac_cv_host+set}" = set; then |
| 1625 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1626 |
|
else |
| 1627 |
< |
if test "x$host_alias" = x; then |
| 1628 |
< |
ac_cv_host=$ac_cv_build |
| 1629 |
< |
else |
| 1630 |
< |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 1631 |
< |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 1632 |
< |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| 1627 |
> |
ac_cv_host_alias=$host_alias |
| 1628 |
> |
test -z "$ac_cv_host_alias" && |
| 1629 |
> |
ac_cv_host_alias=$ac_cv_build_alias |
| 1630 |
> |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
| 1631 |
> |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
| 1632 |
> |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
| 1633 |
|
{ (exit 1); exit 1; }; } |
| 2027 |
– |
fi |
| 1634 |
|
|
| 1635 |
|
fi |
| 1636 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1637 |
< |
echo "${ECHO_T}$ac_cv_host" >&6; } |
| 2032 |
< |
case $ac_cv_host in |
| 2033 |
< |
*-*-*) ;; |
| 2034 |
< |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| 2035 |
< |
echo "$as_me: error: invalid value of canonical host" >&2;} |
| 2036 |
< |
{ (exit 1); exit 1; }; };; |
| 2037 |
< |
esac |
| 1636 |
> |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1637 |
> |
echo "${ECHO_T}$ac_cv_host" >&6 |
| 1638 |
|
host=$ac_cv_host |
| 1639 |
< |
ac_save_IFS=$IFS; IFS='-' |
| 1640 |
< |
set x $ac_cv_host |
| 1641 |
< |
shift |
| 2042 |
< |
host_cpu=$1 |
| 2043 |
< |
host_vendor=$2 |
| 2044 |
< |
shift; shift |
| 2045 |
< |
# Remember, the first character of IFS is used to create $*, |
| 2046 |
< |
# except with old shells: |
| 2047 |
< |
host_os=$* |
| 2048 |
< |
IFS=$ac_save_IFS |
| 2049 |
< |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 1639 |
> |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1640 |
> |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1641 |
> |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1642 |
|
|
| 1643 |
|
|
| 1644 |
|
|
| 1660 |
|
else |
| 1661 |
|
OOPSE_HOME=${prefix}/oopse |
| 1662 |
|
fi |
| 1663 |
< |
# Check whether --enable-oopse-home was given. |
| 1663 |
> |
# Check whether --enable-oopse-home or --disable-oopse-home was given. |
| 1664 |
|
if test "${enable_oopse_home+set}" = set; then |
| 1665 |
< |
enableval=$enable_oopse_home; OOPSE_HOME="${enableval}" |
| 1666 |
< |
fi |
| 1665 |
> |
enableval="$enable_oopse_home" |
| 1666 |
> |
OOPSE_HOME="${enableval}" |
| 1667 |
> |
fi; |
| 1668 |
|
|
| 2076 |
– |
|
| 1669 |
|
# there are two ways to do debugging. One with the --enable-debug flag |
| 1670 |
|
# and one using the DEBUG environment variable |
| 1671 |
|
|
| 1672 |
|
debug=0 |
| 1673 |
< |
# Check whether --enable-debug was given. |
| 1673 |
> |
# Check whether --enable-debug or --disable-debug was given. |
| 1674 |
|
if test "${enable_debug+set}" = set; then |
| 1675 |
< |
enableval=$enable_debug; debug=1 |
| 1676 |
< |
fi |
| 1677 |
< |
|
| 1675 |
> |
enableval="$enable_debug" |
| 1676 |
> |
debug=1 |
| 1677 |
> |
fi; |
| 1678 |
|
if test "${DEBUG}"; then |
| 1679 |
|
|
| 1680 |
|
cat >>confdefs.h <<\_ACEOF |
| 1685 |
|
fi |
| 1686 |
|
|
| 1687 |
|
|
| 1688 |
< |
# Check whether --enable-single was given. |
| 1688 |
> |
# Check whether --enable-single or --disable-single was given. |
| 1689 |
|
if test "${enable_single+set}" = set; then |
| 1690 |
< |
enableval=$enable_single; ok=$enableval |
| 1690 |
> |
enableval="$enable_single" |
| 1691 |
> |
ok=$enableval |
| 1692 |
|
else |
| 1693 |
|
ok=no |
| 1694 |
< |
fi |
| 1695 |
< |
|
| 2103 |
< |
# Check whether --enable-float was given. |
| 1694 |
> |
fi; |
| 1695 |
> |
# Check whether --enable-float or --disable-float was given. |
| 1696 |
|
if test "${enable_float+set}" = set; then |
| 1697 |
< |
enableval=$enable_float; ok=$enableval |
| 1698 |
< |
fi |
| 1699 |
< |
|
| 1697 |
> |
enableval="$enable_float" |
| 1698 |
> |
ok=$enableval |
| 1699 |
> |
fi; |
| 1700 |
|
if test "$ok" = "yes"; then |
| 1701 |
|
|
| 1702 |
|
cat >>confdefs.h <<\_ACEOF |
| 1708 |
|
fi |
| 1709 |
|
|
| 1710 |
|
# Checks for programs. |
| 1711 |
< |
ac_ext=cpp |
| 1711 |
> |
ac_ext=cc |
| 1712 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 1713 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1714 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1715 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 1716 |
< |
if test -z "$CXX"; then |
| 1717 |
< |
if test -n "$CCC"; then |
| 2126 |
< |
CXX=$CCC |
| 2127 |
< |
else |
| 2128 |
< |
if test -n "$ac_tool_prefix"; then |
| 2129 |
< |
for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 1716 |
> |
if test -n "$ac_tool_prefix"; then |
| 1717 |
> |
for ac_prog in $CCC mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 1718 |
|
do |
| 1719 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1720 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1721 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1722 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1721 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1722 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1723 |
|
if test "${ac_cv_prog_CXX+set}" = set; then |
| 1724 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1725 |
|
else |
| 1732 |
|
IFS=$as_save_IFS |
| 1733 |
|
test -z "$as_dir" && as_dir=. |
| 1734 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1735 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1735 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1736 |
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 1737 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1738 |
|
break 2 |
| 1739 |
|
fi |
| 1740 |
|
done |
| 1741 |
|
done |
| 2154 |
– |
IFS=$as_save_IFS |
| 1742 |
|
|
| 1743 |
|
fi |
| 1744 |
|
fi |
| 1745 |
|
CXX=$ac_cv_prog_CXX |
| 1746 |
|
if test -n "$CXX"; then |
| 1747 |
< |
{ echo "$as_me:$LINENO: result: $CXX" >&5 |
| 1748 |
< |
echo "${ECHO_T}$CXX" >&6; } |
| 1747 |
> |
echo "$as_me:$LINENO: result: $CXX" >&5 |
| 1748 |
> |
echo "${ECHO_T}$CXX" >&6 |
| 1749 |
|
else |
| 1750 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 1751 |
< |
echo "${ECHO_T}no" >&6; } |
| 1750 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 1751 |
> |
echo "${ECHO_T}no" >&6 |
| 1752 |
|
fi |
| 1753 |
|
|
| 2167 |
– |
|
| 1754 |
|
test -n "$CXX" && break |
| 1755 |
|
done |
| 1756 |
|
fi |
| 1757 |
|
if test -z "$CXX"; then |
| 1758 |
|
ac_ct_CXX=$CXX |
| 1759 |
< |
for ac_prog in mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 1759 |
> |
for ac_prog in $CCC mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC |
| 1760 |
|
do |
| 1761 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1762 |
|
set dummy $ac_prog; ac_word=$2 |
| 1763 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1764 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 1763 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1764 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1765 |
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 1766 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1767 |
|
else |
| 1774 |
|
IFS=$as_save_IFS |
| 1775 |
|
test -z "$as_dir" && as_dir=. |
| 1776 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1777 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 1777 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1778 |
|
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 1779 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1780 |
|
break 2 |
| 1781 |
|
fi |
| 1782 |
|
done |
| 1783 |
|
done |
| 2198 |
– |
IFS=$as_save_IFS |
| 1784 |
|
|
| 1785 |
|
fi |
| 1786 |
|
fi |
| 1787 |
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 1788 |
|
if test -n "$ac_ct_CXX"; then |
| 1789 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 1790 |
< |
echo "${ECHO_T}$ac_ct_CXX" >&6; } |
| 1789 |
> |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 1790 |
> |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
| 1791 |
|
else |
| 1792 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 1793 |
< |
echo "${ECHO_T}no" >&6; } |
| 1792 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 1793 |
> |
echo "${ECHO_T}no" >&6 |
| 1794 |
|
fi |
| 1795 |
|
|
| 2211 |
– |
|
| 1796 |
|
test -n "$ac_ct_CXX" && break |
| 1797 |
|
done |
| 1798 |
+ |
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
| 1799 |
|
|
| 1800 |
< |
if test "x$ac_ct_CXX" = x; then |
| 2216 |
< |
CXX="g++" |
| 2217 |
< |
else |
| 2218 |
< |
case $cross_compiling:$ac_tool_warned in |
| 2219 |
< |
yes:) |
| 2220 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 2221 |
< |
whose name does not start with the host triplet. If you think this |
| 2222 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 2223 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 2224 |
< |
whose name does not start with the host triplet. If you think this |
| 2225 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 2226 |
< |
ac_tool_warned=yes ;; |
| 2227 |
< |
esac |
| 2228 |
< |
CXX=$ac_ct_CXX |
| 2229 |
< |
fi |
| 1800 |
> |
CXX=$ac_ct_CXX |
| 1801 |
|
fi |
| 1802 |
|
|
| 1803 |
< |
fi |
| 2233 |
< |
fi |
| 1803 |
> |
|
| 1804 |
|
# Provide some information about the compiler. |
| 1805 |
< |
echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
| 1805 |
> |
echo "$as_me:$LINENO:" \ |
| 1806 |
> |
"checking for C++ compiler version" >&5 |
| 1807 |
|
ac_compiler=`set X $ac_compile; echo $2` |
| 1808 |
< |
{ (ac_try="$ac_compiler --version >&5" |
| 1809 |
< |
case "(($ac_try" in |
| 2239 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2240 |
< |
*) ac_try_echo=$ac_try;; |
| 2241 |
< |
esac |
| 2242 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2243 |
< |
(eval "$ac_compiler --version >&5") 2>&5 |
| 1808 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 1809 |
> |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 1810 |
|
ac_status=$? |
| 1811 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1812 |
|
(exit $ac_status); } |
| 1813 |
< |
{ (ac_try="$ac_compiler -v >&5" |
| 1814 |
< |
case "(($ac_try" in |
| 2249 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2250 |
< |
*) ac_try_echo=$ac_try;; |
| 2251 |
< |
esac |
| 2252 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2253 |
< |
(eval "$ac_compiler -v >&5") 2>&5 |
| 1813 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 1814 |
> |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 1815 |
|
ac_status=$? |
| 1816 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1817 |
|
(exit $ac_status); } |
| 1818 |
< |
{ (ac_try="$ac_compiler -V >&5" |
| 1819 |
< |
case "(($ac_try" in |
| 2259 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2260 |
< |
*) ac_try_echo=$ac_try;; |
| 2261 |
< |
esac |
| 2262 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2263 |
< |
(eval "$ac_compiler -V >&5") 2>&5 |
| 1818 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 1819 |
> |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 1820 |
|
ac_status=$? |
| 1821 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1822 |
|
(exit $ac_status); } |
| 1841 |
|
# Try to create an executable without -o first, disregard a.out. |
| 1842 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 1843 |
|
# of exeext. |
| 1844 |
< |
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
| 1845 |
< |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } |
| 1844 |
> |
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
| 1845 |
> |
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 |
| 1846 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 1847 |
< |
# |
| 1848 |
< |
# List of possible output files, starting from the most likely. |
| 2293 |
< |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
| 2294 |
< |
# only as a last resort. b.out is created by i960 compilers. |
| 2295 |
< |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
| 2296 |
< |
# |
| 2297 |
< |
# The IRIX 6 linker writes into existing files which may not be |
| 2298 |
< |
# executable, retaining their permissions. Remove them first so a |
| 2299 |
< |
# subsequent execution test works. |
| 2300 |
< |
ac_rmfiles= |
| 2301 |
< |
for ac_file in $ac_files |
| 2302 |
< |
do |
| 2303 |
< |
case $ac_file in |
| 2304 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2305 |
< |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 2306 |
< |
esac |
| 2307 |
< |
done |
| 2308 |
< |
rm -rf $ac_rmfiles |
| 2309 |
< |
|
| 2310 |
< |
if { (ac_try="$ac_link_default" |
| 2311 |
< |
case "(($ac_try" in |
| 2312 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2313 |
< |
*) ac_try_echo=$ac_try;; |
| 2314 |
< |
esac |
| 2315 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2316 |
< |
(eval "$ac_link_default") 2>&5 |
| 1847 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 1848 |
> |
(eval $ac_link_default) 2>&5 |
| 1849 |
|
ac_status=$? |
| 1850 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1851 |
|
(exit $ac_status); }; then |
| 1852 |
< |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 1853 |
< |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 1854 |
< |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 1855 |
< |
# so that the user can short-circuit this test for compilers unknown to |
| 1856 |
< |
# Autoconf. |
| 1857 |
< |
for ac_file in $ac_files '' |
| 1852 |
> |
# Find the output, starting from the most likely. This scheme is |
| 1853 |
> |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 1854 |
> |
# resort. |
| 1855 |
> |
|
| 1856 |
> |
# Be careful to initialize this variable, since it used to be cached. |
| 1857 |
> |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 1858 |
> |
ac_cv_exeext= |
| 1859 |
> |
# b.out is created by i960 compilers. |
| 1860 |
> |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 1861 |
|
do |
| 1862 |
|
test -f "$ac_file" || continue |
| 1863 |
|
case $ac_file in |
| 1864 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| 1864 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 1865 |
|
;; |
| 1866 |
+ |
conftest.$ac_ext ) |
| 1867 |
+ |
# This is the source file. |
| 1868 |
+ |
;; |
| 1869 |
|
[ab].out ) |
| 1870 |
|
# We found the default executable, but exeext='' is most |
| 1871 |
|
# certainly right. |
| 1872 |
|
break;; |
| 1873 |
|
*.* ) |
| 1874 |
< |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 1875 |
< |
then :; else |
| 1876 |
< |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1877 |
< |
fi |
| 1878 |
< |
# We set ac_cv_exeext here because the later test for it is not |
| 2341 |
< |
# safe: cross compilers may not add the suffix if given an `-o' |
| 2342 |
< |
# argument, so we may need to know it at that point already. |
| 2343 |
< |
# Even if this section looks crufty: it has the advantage of |
| 2344 |
< |
# actually working. |
| 1874 |
> |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1875 |
> |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 1876 |
> |
# but it would be cool to find out if it's true. Does anybody |
| 1877 |
> |
# maintain Libtool? --akim. |
| 1878 |
> |
export ac_cv_exeext |
| 1879 |
|
break;; |
| 1880 |
|
* ) |
| 1881 |
|
break;; |
| 1882 |
|
esac |
| 1883 |
|
done |
| 2350 |
– |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2351 |
– |
|
| 1884 |
|
else |
| 2353 |
– |
ac_file='' |
| 2354 |
– |
fi |
| 2355 |
– |
|
| 2356 |
– |
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2357 |
– |
echo "${ECHO_T}$ac_file" >&6; } |
| 2358 |
– |
if test -z "$ac_file"; then |
| 1885 |
|
echo "$as_me: failed program was:" >&5 |
| 1886 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1887 |
|
|
| 1893 |
|
fi |
| 1894 |
|
|
| 1895 |
|
ac_exeext=$ac_cv_exeext |
| 1896 |
+ |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 1897 |
+ |
echo "${ECHO_T}$ac_file" >&6 |
| 1898 |
|
|
| 1899 |
< |
# Check that the compiler produces executables we can run. If not, either |
| 1899 |
> |
# Check the compiler produces executables we can run. If not, either |
| 1900 |
|
# the compiler is broken, or we cross compile. |
| 1901 |
< |
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
| 1902 |
< |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } |
| 1901 |
> |
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
| 1902 |
> |
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
| 1903 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 1904 |
|
# If not cross compiling, check that we can run a simple program. |
| 1905 |
|
if test "$cross_compiling" != yes; then |
| 1906 |
|
if { ac_try='./$ac_file' |
| 1907 |
< |
{ (case "(($ac_try" in |
| 1908 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2381 |
< |
*) ac_try_echo=$ac_try;; |
| 2382 |
< |
esac |
| 2383 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2384 |
< |
(eval "$ac_try") 2>&5 |
| 1907 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1908 |
> |
(eval $ac_try) 2>&5 |
| 1909 |
|
ac_status=$? |
| 1910 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1911 |
|
(exit $ac_status); }; }; then |
| 1924 |
|
fi |
| 1925 |
|
fi |
| 1926 |
|
fi |
| 1927 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 1928 |
< |
echo "${ECHO_T}yes" >&6; } |
| 1927 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 1928 |
> |
echo "${ECHO_T}yes" >&6 |
| 1929 |
|
|
| 1930 |
< |
rm -rf a.out a.exe conftest$ac_cv_exeext b.out |
| 1930 |
> |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 1931 |
|
ac_clean_files=$ac_clean_files_save |
| 1932 |
< |
# Check that the compiler produces executables we can run. If not, either |
| 1932 |
> |
# Check the compiler produces executables we can run. If not, either |
| 1933 |
|
# the compiler is broken, or we cross compile. |
| 1934 |
< |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 1935 |
< |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
| 1936 |
< |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 1937 |
< |
echo "${ECHO_T}$cross_compiling" >&6; } |
| 1934 |
> |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 1935 |
> |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 1936 |
> |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 1937 |
> |
echo "${ECHO_T}$cross_compiling" >&6 |
| 1938 |
|
|
| 1939 |
< |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 1940 |
< |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
| 1941 |
< |
if { (ac_try="$ac_link" |
| 1942 |
< |
case "(($ac_try" in |
| 2419 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2420 |
< |
*) ac_try_echo=$ac_try;; |
| 2421 |
< |
esac |
| 2422 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2423 |
< |
(eval "$ac_link") 2>&5 |
| 1939 |
> |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 1940 |
> |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 1941 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 1942 |
> |
(eval $ac_link) 2>&5 |
| 1943 |
|
ac_status=$? |
| 1944 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1945 |
|
(exit $ac_status); }; then |
| 1950 |
|
for ac_file in conftest.exe conftest conftest.*; do |
| 1951 |
|
test -f "$ac_file" || continue |
| 1952 |
|
case $ac_file in |
| 1953 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 1953 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 1954 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1955 |
+ |
export ac_cv_exeext |
| 1956 |
|
break;; |
| 1957 |
|
* ) break;; |
| 1958 |
|
esac |
| 1965 |
|
{ (exit 1); exit 1; }; } |
| 1966 |
|
fi |
| 1967 |
|
|
| 1968 |
< |
rm -rf conftest$ac_cv_exeext |
| 1969 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 1970 |
< |
echo "${ECHO_T}$ac_cv_exeext" >&6; } |
| 1968 |
> |
rm -f conftest$ac_cv_exeext |
| 1969 |
> |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 1970 |
> |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 1971 |
|
|
| 1972 |
< |
rm -rf conftest.$ac_ext |
| 1972 |
> |
rm -f conftest.$ac_ext |
| 1973 |
|
EXEEXT=$ac_cv_exeext |
| 1974 |
|
ac_exeext=$EXEEXT |
| 1975 |
< |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 1976 |
< |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
| 1975 |
> |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 1976 |
> |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 1977 |
|
if test "${ac_cv_objext+set}" = set; then |
| 1978 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1979 |
|
else |
| 1992 |
|
return 0; |
| 1993 |
|
} |
| 1994 |
|
_ACEOF |
| 1995 |
< |
rm -rf conftest.o conftest.obj |
| 1996 |
< |
if { (ac_try="$ac_compile" |
| 1997 |
< |
case "(($ac_try" in |
| 2478 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2479 |
< |
*) ac_try_echo=$ac_try;; |
| 2480 |
< |
esac |
| 2481 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2482 |
< |
(eval "$ac_compile") 2>&5 |
| 1995 |
> |
rm -f conftest.o conftest.obj |
| 1996 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 1997 |
> |
(eval $ac_compile) 2>&5 |
| 1998 |
|
ac_status=$? |
| 1999 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2000 |
|
(exit $ac_status); }; then |
| 2001 |
< |
for ac_file in conftest.o conftest.obj conftest.*; do |
| 2487 |
< |
test -f "$ac_file" || continue; |
| 2001 |
> |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2002 |
|
case $ac_file in |
| 2003 |
< |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 2003 |
> |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2004 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2005 |
|
break;; |
| 2006 |
|
esac |
| 2016 |
|
{ (exit 1); exit 1; }; } |
| 2017 |
|
fi |
| 2018 |
|
|
| 2019 |
< |
rm -rf conftest.$ac_cv_objext conftest.$ac_ext |
| 2019 |
> |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2020 |
|
fi |
| 2021 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2022 |
< |
echo "${ECHO_T}$ac_cv_objext" >&6; } |
| 2021 |
> |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2022 |
> |
echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2023 |
|
OBJEXT=$ac_cv_objext |
| 2024 |
|
ac_objext=$OBJEXT |
| 2025 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 2026 |
< |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
| 2025 |
> |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 2026 |
> |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 2027 |
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 2028 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2029 |
|
else |
| 2045 |
|
return 0; |
| 2046 |
|
} |
| 2047 |
|
_ACEOF |
| 2048 |
< |
rm -rf conftest.$ac_objext |
| 2049 |
< |
if { (ac_try="$ac_compile" |
| 2050 |
< |
case "(($ac_try" in |
| 2537 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2538 |
< |
*) ac_try_echo=$ac_try;; |
| 2539 |
< |
esac |
| 2540 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2541 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2048 |
> |
rm -f conftest.$ac_objext |
| 2049 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2050 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2051 |
|
ac_status=$? |
| 2052 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2053 |
< |
rm -rf conftest.er1 |
| 2053 |
> |
rm -f conftest.er1 |
| 2054 |
|
cat conftest.err >&5 |
| 2055 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2056 |
< |
(exit $ac_status); } && { |
| 2057 |
< |
test -z "$ac_cxx_werror_flag" || |
| 2058 |
< |
test ! -s conftest.err |
| 2059 |
< |
} && test -s conftest.$ac_objext; then |
| 2056 |
> |
(exit $ac_status); } && |
| 2057 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2058 |
> |
|| test ! -s conftest.err' |
| 2059 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2060 |
> |
(eval $ac_try) 2>&5 |
| 2061 |
> |
ac_status=$? |
| 2062 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2063 |
> |
(exit $ac_status); }; } && |
| 2064 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2065 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2066 |
> |
(eval $ac_try) 2>&5 |
| 2067 |
> |
ac_status=$? |
| 2068 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2069 |
> |
(exit $ac_status); }; }; then |
| 2070 |
|
ac_compiler_gnu=yes |
| 2071 |
|
else |
| 2072 |
|
echo "$as_me: failed program was:" >&5 |
| 2073 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2074 |
|
|
| 2075 |
< |
ac_compiler_gnu=no |
| 2075 |
> |
ac_compiler_gnu=no |
| 2076 |
|
fi |
| 2077 |
< |
|
| 2559 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2077 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2078 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 2079 |
|
|
| 2080 |
|
fi |
| 2081 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 2082 |
< |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
| 2081 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 2082 |
> |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| 2083 |
|
GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 2084 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 2085 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
| 2086 |
< |
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 2087 |
< |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
| 2086 |
> |
CXXFLAGS="-g" |
| 2087 |
> |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 2088 |
> |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| 2089 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 2090 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2091 |
|
else |
| 2092 |
< |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 2574 |
< |
ac_cxx_werror_flag=yes |
| 2575 |
< |
ac_cv_prog_cxx_g=no |
| 2576 |
< |
CXXFLAGS="-g" |
| 2577 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 2092 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2093 |
|
/* confdefs.h. */ |
| 2094 |
|
_ACEOF |
| 2095 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2104 |
|
return 0; |
| 2105 |
|
} |
| 2106 |
|
_ACEOF |
| 2107 |
< |
rm -rf conftest.$ac_objext |
| 2108 |
< |
if { (ac_try="$ac_compile" |
| 2109 |
< |
case "(($ac_try" in |
| 2595 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2596 |
< |
*) ac_try_echo=$ac_try;; |
| 2597 |
< |
esac |
| 2598 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2599 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2107 |
> |
rm -f conftest.$ac_objext |
| 2108 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2109 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2110 |
|
ac_status=$? |
| 2111 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2112 |
< |
rm -rf conftest.er1 |
| 2112 |
> |
rm -f conftest.er1 |
| 2113 |
|
cat conftest.err >&5 |
| 2114 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2115 |
< |
(exit $ac_status); } && { |
| 2116 |
< |
test -z "$ac_cxx_werror_flag" || |
| 2117 |
< |
test ! -s conftest.err |
| 2118 |
< |
} && test -s conftest.$ac_objext; then |
| 2115 |
> |
(exit $ac_status); } && |
| 2116 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2117 |
> |
|| test ! -s conftest.err' |
| 2118 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2119 |
> |
(eval $ac_try) 2>&5 |
| 2120 |
> |
ac_status=$? |
| 2121 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2122 |
> |
(exit $ac_status); }; } && |
| 2123 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2124 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2125 |
> |
(eval $ac_try) 2>&5 |
| 2126 |
> |
ac_status=$? |
| 2127 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2128 |
> |
(exit $ac_status); }; }; then |
| 2129 |
|
ac_cv_prog_cxx_g=yes |
| 2130 |
|
else |
| 2131 |
|
echo "$as_me: failed program was:" >&5 |
| 2132 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2133 |
|
|
| 2134 |
< |
CXXFLAGS="" |
| 2135 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 2134 |
> |
ac_cv_prog_cxx_g=no |
| 2135 |
> |
fi |
| 2136 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2137 |
> |
fi |
| 2138 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2139 |
> |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 2140 |
> |
if test "$ac_test_CXXFLAGS" = set; then |
| 2141 |
> |
CXXFLAGS=$ac_save_CXXFLAGS |
| 2142 |
> |
elif test $ac_cv_prog_cxx_g = yes; then |
| 2143 |
> |
if test "$GXX" = yes; then |
| 2144 |
> |
CXXFLAGS="-g -O2" |
| 2145 |
> |
else |
| 2146 |
> |
CXXFLAGS="-g" |
| 2147 |
> |
fi |
| 2148 |
> |
else |
| 2149 |
> |
if test "$GXX" = yes; then |
| 2150 |
> |
CXXFLAGS="-O2" |
| 2151 |
> |
else |
| 2152 |
> |
CXXFLAGS= |
| 2153 |
> |
fi |
| 2154 |
> |
fi |
| 2155 |
> |
for ac_declaration in \ |
| 2156 |
> |
'' \ |
| 2157 |
> |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2158 |
> |
'extern "C" void std::exit (int); using std::exit;' \ |
| 2159 |
> |
'extern "C" void exit (int) throw ();' \ |
| 2160 |
> |
'extern "C" void exit (int);' \ |
| 2161 |
> |
'void exit (int);' |
| 2162 |
> |
do |
| 2163 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2164 |
|
/* confdefs.h. */ |
| 2165 |
|
_ACEOF |
| 2166 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2167 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2168 |
|
/* end confdefs.h. */ |
| 2169 |
< |
|
| 2169 |
> |
$ac_declaration |
| 2170 |
> |
#include <stdlib.h> |
| 2171 |
|
int |
| 2172 |
|
main () |
| 2173 |
|
{ |
| 2174 |
< |
|
| 2174 |
> |
exit (42); |
| 2175 |
|
; |
| 2176 |
|
return 0; |
| 2177 |
|
} |
| 2178 |
|
_ACEOF |
| 2179 |
< |
rm -rf conftest.$ac_objext |
| 2180 |
< |
if { (ac_try="$ac_compile" |
| 2181 |
< |
case "(($ac_try" in |
| 2633 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2634 |
< |
*) ac_try_echo=$ac_try;; |
| 2635 |
< |
esac |
| 2636 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2637 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2179 |
> |
rm -f conftest.$ac_objext |
| 2180 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2181 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2182 |
|
ac_status=$? |
| 2183 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2184 |
< |
rm -rf conftest.er1 |
| 2184 |
> |
rm -f conftest.er1 |
| 2185 |
|
cat conftest.err >&5 |
| 2186 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2187 |
< |
(exit $ac_status); } && { |
| 2188 |
< |
test -z "$ac_cxx_werror_flag" || |
| 2189 |
< |
test ! -s conftest.err |
| 2190 |
< |
} && test -s conftest.$ac_objext; then |
| 2187 |
> |
(exit $ac_status); } && |
| 2188 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2189 |
> |
|| test ! -s conftest.err' |
| 2190 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2191 |
> |
(eval $ac_try) 2>&5 |
| 2192 |
> |
ac_status=$? |
| 2193 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2194 |
> |
(exit $ac_status); }; } && |
| 2195 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2196 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2197 |
> |
(eval $ac_try) 2>&5 |
| 2198 |
> |
ac_status=$? |
| 2199 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2200 |
> |
(exit $ac_status); }; }; then |
| 2201 |
|
: |
| 2202 |
|
else |
| 2203 |
|
echo "$as_me: failed program was:" >&5 |
| 2204 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2205 |
|
|
| 2206 |
< |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 2207 |
< |
CXXFLAGS="-g" |
| 2208 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 2206 |
> |
continue |
| 2207 |
> |
fi |
| 2208 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2209 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2210 |
|
/* confdefs.h. */ |
| 2211 |
|
_ACEOF |
| 2212 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2213 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2214 |
|
/* end confdefs.h. */ |
| 2215 |
< |
|
| 2215 |
> |
$ac_declaration |
| 2216 |
|
int |
| 2217 |
|
main () |
| 2218 |
|
{ |
| 2219 |
< |
|
| 2219 |
> |
exit (42); |
| 2220 |
|
; |
| 2221 |
|
return 0; |
| 2222 |
|
} |
| 2223 |
|
_ACEOF |
| 2224 |
< |
rm -rf conftest.$ac_objext |
| 2225 |
< |
if { (ac_try="$ac_compile" |
| 2226 |
< |
case "(($ac_try" in |
| 2672 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2673 |
< |
*) ac_try_echo=$ac_try;; |
| 2674 |
< |
esac |
| 2675 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2676 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2224 |
> |
rm -f conftest.$ac_objext |
| 2225 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2226 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2227 |
|
ac_status=$? |
| 2228 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2229 |
< |
rm -rf conftest.er1 |
| 2229 |
> |
rm -f conftest.er1 |
| 2230 |
|
cat conftest.err >&5 |
| 2231 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2232 |
< |
(exit $ac_status); } && { |
| 2233 |
< |
test -z "$ac_cxx_werror_flag" || |
| 2234 |
< |
test ! -s conftest.err |
| 2235 |
< |
} && test -s conftest.$ac_objext; then |
| 2236 |
< |
ac_cv_prog_cxx_g=yes |
| 2232 |
> |
(exit $ac_status); } && |
| 2233 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 2234 |
> |
|| test ! -s conftest.err' |
| 2235 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2236 |
> |
(eval $ac_try) 2>&5 |
| 2237 |
> |
ac_status=$? |
| 2238 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2239 |
> |
(exit $ac_status); }; } && |
| 2240 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2241 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2242 |
> |
(eval $ac_try) 2>&5 |
| 2243 |
> |
ac_status=$? |
| 2244 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2245 |
> |
(exit $ac_status); }; }; then |
| 2246 |
> |
break |
| 2247 |
|
else |
| 2248 |
|
echo "$as_me: failed program was:" >&5 |
| 2249 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2250 |
|
|
| 2691 |
– |
|
| 2251 |
|
fi |
| 2252 |
< |
|
| 2253 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2252 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2253 |
> |
done |
| 2254 |
> |
rm -f conftest* |
| 2255 |
> |
if test -n "$ac_declaration"; then |
| 2256 |
> |
echo '#ifdef __cplusplus' >>confdefs.h |
| 2257 |
> |
echo $ac_declaration >>confdefs.h |
| 2258 |
> |
echo '#endif' >>confdefs.h |
| 2259 |
|
fi |
| 2260 |
|
|
| 2697 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2698 |
– |
fi |
| 2699 |
– |
|
| 2700 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2701 |
– |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 2702 |
– |
fi |
| 2703 |
– |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 2704 |
– |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
| 2705 |
– |
if test "$ac_test_CXXFLAGS" = set; then |
| 2706 |
– |
CXXFLAGS=$ac_save_CXXFLAGS |
| 2707 |
– |
elif test $ac_cv_prog_cxx_g = yes; then |
| 2708 |
– |
if test "$GXX" = yes; then |
| 2709 |
– |
CXXFLAGS="-g -O2" |
| 2710 |
– |
else |
| 2711 |
– |
CXXFLAGS="-g" |
| 2712 |
– |
fi |
| 2713 |
– |
else |
| 2714 |
– |
if test "$GXX" = yes; then |
| 2715 |
– |
CXXFLAGS="-O2" |
| 2716 |
– |
else |
| 2717 |
– |
CXXFLAGS= |
| 2718 |
– |
fi |
| 2719 |
– |
fi |
| 2261 |
|
ac_ext=c |
| 2262 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2263 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2274 |
|
do |
| 2275 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2276 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2277 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2278 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2277 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2278 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2279 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 2280 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2281 |
|
else |
| 2288 |
|
IFS=$as_save_IFS |
| 2289 |
|
test -z "$as_dir" && as_dir=. |
| 2290 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2291 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2291 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2292 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2293 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2294 |
|
break 2 |
| 2295 |
|
fi |
| 2296 |
|
done |
| 2297 |
|
done |
| 2757 |
– |
IFS=$as_save_IFS |
| 2298 |
|
|
| 2299 |
|
fi |
| 2300 |
|
fi |
| 2301 |
|
CC=$ac_cv_prog_CC |
| 2302 |
|
if test -n "$CC"; then |
| 2303 |
< |
{ echo "$as_me:$LINENO: result: $CC" >&5 |
| 2304 |
< |
echo "${ECHO_T}$CC" >&6; } |
| 2303 |
> |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2304 |
> |
echo "${ECHO_T}$CC" >&6 |
| 2305 |
|
else |
| 2306 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2307 |
< |
echo "${ECHO_T}no" >&6; } |
| 2306 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 2307 |
> |
echo "${ECHO_T}no" >&6 |
| 2308 |
|
fi |
| 2309 |
|
|
| 2770 |
– |
|
| 2310 |
|
test -n "$CC" && break |
| 2311 |
|
done |
| 2312 |
|
fi |
| 2316 |
|
do |
| 2317 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2318 |
|
set dummy $ac_prog; ac_word=$2 |
| 2319 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2320 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2319 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2320 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2321 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2322 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2323 |
|
else |
| 2330 |
|
IFS=$as_save_IFS |
| 2331 |
|
test -z "$as_dir" && as_dir=. |
| 2332 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2333 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2333 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2334 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2335 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2336 |
|
break 2 |
| 2337 |
|
fi |
| 2338 |
|
done |
| 2339 |
|
done |
| 2801 |
– |
IFS=$as_save_IFS |
| 2340 |
|
|
| 2341 |
|
fi |
| 2342 |
|
fi |
| 2343 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2344 |
|
if test -n "$ac_ct_CC"; then |
| 2345 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2346 |
< |
echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 2345 |
> |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2346 |
> |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2347 |
|
else |
| 2348 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2349 |
< |
echo "${ECHO_T}no" >&6; } |
| 2348 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 2349 |
> |
echo "${ECHO_T}no" >&6 |
| 2350 |
|
fi |
| 2351 |
|
|
| 2814 |
– |
|
| 2352 |
|
test -n "$ac_ct_CC" && break |
| 2353 |
|
done |
| 2354 |
|
|
| 2355 |
< |
if test "x$ac_ct_CC" = x; then |
| 2819 |
< |
CC="" |
| 2820 |
< |
else |
| 2821 |
< |
case $cross_compiling:$ac_tool_warned in |
| 2822 |
< |
yes:) |
| 2823 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 2824 |
< |
whose name does not start with the host triplet. If you think this |
| 2825 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 2826 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 2827 |
< |
whose name does not start with the host triplet. If you think this |
| 2828 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 2829 |
< |
ac_tool_warned=yes ;; |
| 2830 |
< |
esac |
| 2831 |
< |
CC=$ac_ct_CC |
| 2832 |
< |
fi |
| 2355 |
> |
CC=$ac_ct_CC |
| 2356 |
|
fi |
| 2357 |
|
|
| 2358 |
|
|
| 2363 |
|
{ (exit 1); exit 1; }; } |
| 2364 |
|
|
| 2365 |
|
# Provide some information about the compiler. |
| 2366 |
< |
echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 2366 |
> |
echo "$as_me:$LINENO:" \ |
| 2367 |
> |
"checking for C compiler version" >&5 |
| 2368 |
|
ac_compiler=`set X $ac_compile; echo $2` |
| 2369 |
< |
{ (ac_try="$ac_compiler --version >&5" |
| 2370 |
< |
case "(($ac_try" in |
| 2847 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2848 |
< |
*) ac_try_echo=$ac_try;; |
| 2849 |
< |
esac |
| 2850 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2851 |
< |
(eval "$ac_compiler --version >&5") 2>&5 |
| 2369 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2370 |
> |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2371 |
|
ac_status=$? |
| 2372 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2373 |
|
(exit $ac_status); } |
| 2374 |
< |
{ (ac_try="$ac_compiler -v >&5" |
| 2375 |
< |
case "(($ac_try" in |
| 2857 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2858 |
< |
*) ac_try_echo=$ac_try;; |
| 2859 |
< |
esac |
| 2860 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2861 |
< |
(eval "$ac_compiler -v >&5") 2>&5 |
| 2374 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2375 |
> |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2376 |
|
ac_status=$? |
| 2377 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2378 |
|
(exit $ac_status); } |
| 2379 |
< |
{ (ac_try="$ac_compiler -V >&5" |
| 2380 |
< |
case "(($ac_try" in |
| 2867 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2868 |
< |
*) ac_try_echo=$ac_try;; |
| 2869 |
< |
esac |
| 2870 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2871 |
< |
(eval "$ac_compiler -V >&5") 2>&5 |
| 2379 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2380 |
> |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2381 |
|
ac_status=$? |
| 2382 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2383 |
|
(exit $ac_status); } |
| 2384 |
|
|
| 2385 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2386 |
< |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
| 2385 |
> |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2386 |
> |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 2387 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2388 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2389 |
|
else |
| 2405 |
|
return 0; |
| 2406 |
|
} |
| 2407 |
|
_ACEOF |
| 2408 |
< |
rm -rf conftest.$ac_objext |
| 2409 |
< |
if { (ac_try="$ac_compile" |
| 2410 |
< |
case "(($ac_try" in |
| 2902 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2903 |
< |
*) ac_try_echo=$ac_try;; |
| 2904 |
< |
esac |
| 2905 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2906 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2408 |
> |
rm -f conftest.$ac_objext |
| 2409 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2410 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2411 |
|
ac_status=$? |
| 2412 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2413 |
|
rm -f conftest.er1 |
| 2414 |
|
cat conftest.err >&5 |
| 2415 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2416 |
< |
(exit $ac_status); } && { |
| 2417 |
< |
test -z "$ac_c_werror_flag" || |
| 2418 |
< |
test ! -s conftest.err |
| 2419 |
< |
} && test -s conftest.$ac_objext; then |
| 2420 |
< |
ac_compiler_gnu=yes |
| 2421 |
< |
else |
| 2422 |
< |
echo "$as_me: failed program was:" >&5 |
| 2423 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2424 |
< |
|
| 2425 |
< |
ac_compiler_gnu=no |
| 2426 |
< |
fi |
| 2427 |
< |
|
| 2428 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2429 |
< |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2416 |
> |
(exit $ac_status); } && |
| 2417 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2418 |
> |
|| test ! -s conftest.err' |
| 2419 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2420 |
> |
(eval $ac_try) 2>&5 |
| 2421 |
> |
ac_status=$? |
| 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:$LINENO: \"$ac_try\"") >&5 |
| 2426 |
> |
(eval $ac_try) 2>&5 |
| 2427 |
> |
ac_status=$? |
| 2428 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2429 |
> |
(exit $ac_status); }; }; then |
| 2430 |
> |
ac_compiler_gnu=yes |
| 2431 |
> |
else |
| 2432 |
> |
echo "$as_me: failed program was:" >&5 |
| 2433 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2434 |
|
|
| 2435 |
+ |
ac_compiler_gnu=no |
| 2436 |
|
fi |
| 2437 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2438 |
< |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
| 2437 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2438 |
> |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2439 |
> |
|
| 2440 |
> |
fi |
| 2441 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2442 |
> |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2443 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2444 |
|
ac_test_CFLAGS=${CFLAGS+set} |
| 2445 |
|
ac_save_CFLAGS=$CFLAGS |
| 2446 |
< |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2447 |
< |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
| 2446 |
> |
CFLAGS="-g" |
| 2447 |
> |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2448 |
> |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2449 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 2450 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2451 |
|
else |
| 2452 |
< |
ac_save_c_werror_flag=$ac_c_werror_flag |
| 2939 |
< |
ac_c_werror_flag=yes |
| 2940 |
< |
ac_cv_prog_cc_g=no |
| 2941 |
< |
CFLAGS="-g" |
| 2942 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 2452 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 2453 |
|
/* confdefs.h. */ |
| 2454 |
|
_ACEOF |
| 2455 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2464 |
|
return 0; |
| 2465 |
|
} |
| 2466 |
|
_ACEOF |
| 2467 |
< |
rm -rf conftest.$ac_objext |
| 2468 |
< |
if { (ac_try="$ac_compile" |
| 2469 |
< |
case "(($ac_try" in |
| 2960 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2961 |
< |
*) ac_try_echo=$ac_try;; |
| 2962 |
< |
esac |
| 2963 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 2964 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2467 |
> |
rm -f conftest.$ac_objext |
| 2468 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2469 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2470 |
|
ac_status=$? |
| 2471 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2472 |
|
rm -f conftest.er1 |
| 2473 |
|
cat conftest.err >&5 |
| 2474 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2475 |
< |
(exit $ac_status); } && { |
| 2476 |
< |
test -z "$ac_c_werror_flag" || |
| 2477 |
< |
test ! -s conftest.err |
| 2478 |
< |
} && test -s conftest.$ac_objext; then |
| 2479 |
< |
ac_cv_prog_cc_g=yes |
| 2975 |
< |
else |
| 2976 |
< |
echo "$as_me: failed program was:" >&5 |
| 2977 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2978 |
< |
|
| 2979 |
< |
CFLAGS="" |
| 2980 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 2981 |
< |
/* confdefs.h. */ |
| 2982 |
< |
_ACEOF |
| 2983 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 2984 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 2985 |
< |
/* end confdefs.h. */ |
| 2986 |
< |
|
| 2987 |
< |
int |
| 2988 |
< |
main () |
| 2989 |
< |
{ |
| 2990 |
< |
|
| 2991 |
< |
; |
| 2992 |
< |
return 0; |
| 2993 |
< |
} |
| 2994 |
< |
_ACEOF |
| 2995 |
< |
rm -rf conftest.$ac_objext |
| 2996 |
< |
if { (ac_try="$ac_compile" |
| 2997 |
< |
case "(($ac_try" in |
| 2998 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2999 |
< |
*) ac_try_echo=$ac_try;; |
| 3000 |
< |
esac |
| 3001 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3002 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2475 |
> |
(exit $ac_status); } && |
| 2476 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2477 |
> |
|| test ! -s conftest.err' |
| 2478 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2479 |
> |
(eval $ac_try) 2>&5 |
| 2480 |
|
ac_status=$? |
| 3004 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3005 |
– |
rm -rf conftest.er1 |
| 3006 |
– |
cat conftest.err >&5 |
| 2481 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2482 |
< |
(exit $ac_status); } && { |
| 2483 |
< |
test -z "$ac_c_werror_flag" || |
| 2484 |
< |
test ! -s conftest.err |
| 2485 |
< |
} && test -s conftest.$ac_objext; then |
| 3012 |
< |
: |
| 3013 |
< |
else |
| 3014 |
< |
echo "$as_me: failed program was:" >&5 |
| 3015 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3016 |
< |
|
| 3017 |
< |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3018 |
< |
CFLAGS="-g" |
| 3019 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 3020 |
< |
/* confdefs.h. */ |
| 3021 |
< |
_ACEOF |
| 3022 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 3023 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 3024 |
< |
/* end confdefs.h. */ |
| 3025 |
< |
|
| 3026 |
< |
int |
| 3027 |
< |
main () |
| 3028 |
< |
{ |
| 3029 |
< |
|
| 3030 |
< |
; |
| 3031 |
< |
return 0; |
| 3032 |
< |
} |
| 3033 |
< |
_ACEOF |
| 3034 |
< |
rm -rf conftest.$ac_objext |
| 3035 |
< |
if { (ac_try="$ac_compile" |
| 3036 |
< |
case "(($ac_try" in |
| 3037 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3038 |
< |
*) ac_try_echo=$ac_try;; |
| 3039 |
< |
esac |
| 3040 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3041 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2482 |
> |
(exit $ac_status); }; } && |
| 2483 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2484 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2485 |
> |
(eval $ac_try) 2>&5 |
| 2486 |
|
ac_status=$? |
| 3043 |
– |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3044 |
– |
rm -f conftest.er1 |
| 3045 |
– |
cat conftest.err >&5 |
| 2487 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2488 |
< |
(exit $ac_status); } && { |
| 3048 |
< |
test -z "$ac_c_werror_flag" || |
| 3049 |
< |
test ! -s conftest.err |
| 3050 |
< |
} && test -s conftest.$ac_objext; then |
| 2488 |
> |
(exit $ac_status); }; }; then |
| 2489 |
|
ac_cv_prog_cc_g=yes |
| 2490 |
|
else |
| 2491 |
|
echo "$as_me: failed program was:" >&5 |
| 2492 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2493 |
|
|
| 2494 |
< |
|
| 2494 |
> |
ac_cv_prog_cc_g=no |
| 2495 |
|
fi |
| 2496 |
< |
|
| 3059 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2496 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2497 |
|
fi |
| 2498 |
< |
|
| 2499 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3063 |
< |
fi |
| 3064 |
< |
|
| 3065 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3066 |
< |
ac_c_werror_flag=$ac_save_c_werror_flag |
| 3067 |
< |
fi |
| 3068 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 3069 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
| 2498 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2499 |
> |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2500 |
|
if test "$ac_test_CFLAGS" = set; then |
| 2501 |
|
CFLAGS=$ac_save_CFLAGS |
| 2502 |
|
elif test $ac_cv_prog_cc_g = yes; then |
| 2512 |
|
CFLAGS= |
| 2513 |
|
fi |
| 2514 |
|
fi |
| 2515 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 2516 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
| 2517 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 2515 |
> |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2516 |
> |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2517 |
> |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2518 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2519 |
|
else |
| 2520 |
< |
ac_cv_prog_cc_c89=no |
| 2520 |
> |
ac_cv_prog_cc_stdc=no |
| 2521 |
|
ac_save_CC=$CC |
| 2522 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2523 |
|
/* confdefs.h. */ |
| 2551 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2552 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
| 2553 |
|
These don't provoke an error unfortunately, instead are silently treated |
| 2554 |
< |
as 'x'. The following induces an error, until -std is added to get |
| 2554 |
> |
as 'x'. The following induces an error, until -std1 is added to get |
| 2555 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2556 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
| 2557 |
< |
that's true only with -std. */ |
| 2557 |
> |
that's true only with -std1. */ |
| 2558 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2559 |
|
|
| 3130 |
– |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 3131 |
– |
inside strings and character constants. */ |
| 3132 |
– |
#define FOO(x) 'x' |
| 3133 |
– |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 3134 |
– |
|
| 2560 |
|
int test (int i, double x); |
| 2561 |
|
struct s1 {int (*f) (int a);}; |
| 2562 |
|
struct s2 {int (*f) (double a);}; |
| 2571 |
|
return 0; |
| 2572 |
|
} |
| 2573 |
|
_ACEOF |
| 2574 |
< |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 2575 |
< |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2574 |
> |
# Don't try gcc -ansi; that turns off useful extensions and |
| 2575 |
> |
# breaks some systems' header files. |
| 2576 |
> |
# AIX -qlanglvl=ansi |
| 2577 |
> |
# Ultrix and OSF/1 -std1 |
| 2578 |
> |
# HP-UX 10.20 and later -Ae |
| 2579 |
> |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 2580 |
> |
# SVR4 -Xc -D__EXTENSIONS__ |
| 2581 |
> |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2582 |
|
do |
| 2583 |
|
CC="$ac_save_CC $ac_arg" |
| 2584 |
< |
rm -rf conftest.$ac_objext |
| 2585 |
< |
if { (ac_try="$ac_compile" |
| 2586 |
< |
case "(($ac_try" in |
| 3156 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3157 |
< |
*) ac_try_echo=$ac_try;; |
| 3158 |
< |
esac |
| 3159 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3160 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2584 |
> |
rm -f conftest.$ac_objext |
| 2585 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2586 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2587 |
|
ac_status=$? |
| 2588 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2589 |
|
rm -f conftest.er1 |
| 2590 |
|
cat conftest.err >&5 |
| 2591 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2592 |
< |
(exit $ac_status); } && { |
| 2593 |
< |
test -z "$ac_c_werror_flag" || |
| 2594 |
< |
test ! -s conftest.err |
| 2595 |
< |
} && test -s conftest.$ac_objext; then |
| 2596 |
< |
ac_cv_prog_cc_c89=$ac_arg |
| 2592 |
> |
(exit $ac_status); } && |
| 2593 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2594 |
> |
|| test ! -s conftest.err' |
| 2595 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2596 |
> |
(eval $ac_try) 2>&5 |
| 2597 |
> |
ac_status=$? |
| 2598 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2599 |
> |
(exit $ac_status); }; } && |
| 2600 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2601 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2602 |
> |
(eval $ac_try) 2>&5 |
| 2603 |
> |
ac_status=$? |
| 2604 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2605 |
> |
(exit $ac_status); }; }; then |
| 2606 |
> |
ac_cv_prog_cc_stdc=$ac_arg |
| 2607 |
> |
break |
| 2608 |
|
else |
| 2609 |
|
echo "$as_me: failed program was:" >&5 |
| 2610 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2611 |
|
|
| 3175 |
– |
|
| 2612 |
|
fi |
| 2613 |
< |
|
| 3178 |
< |
rm -rf core conftest.err conftest.$ac_objext |
| 3179 |
< |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 2613 |
> |
rm -f conftest.err conftest.$ac_objext |
| 2614 |
|
done |
| 2615 |
< |
rm -rf conftest.$ac_ext |
| 2615 |
> |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2616 |
|
CC=$ac_save_CC |
| 2617 |
|
|
| 2618 |
|
fi |
| 2619 |
< |
# AC_CACHE_VAL |
| 2620 |
< |
case "x$ac_cv_prog_cc_c89" in |
| 2621 |
< |
x) |
| 2622 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
| 2623 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
| 3190 |
< |
xno) |
| 3191 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
| 3192 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
| 2619 |
> |
|
| 2620 |
> |
case "x$ac_cv_prog_cc_stdc" in |
| 2621 |
> |
x|xno) |
| 2622 |
> |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 2623 |
> |
echo "${ECHO_T}none needed" >&6 ;; |
| 2624 |
|
*) |
| 2625 |
< |
CC="$CC $ac_cv_prog_cc_c89" |
| 2626 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 2627 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
| 2625 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2626 |
> |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2627 |
> |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2628 |
|
esac |
| 2629 |
|
|
| 2630 |
+ |
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 2631 |
+ |
# in C++ we need to declare it. In case someone uses the same compiler |
| 2632 |
+ |
# for both compiling C and C++ we need to have the C++ compiler decide |
| 2633 |
+ |
# the declaration of exit, since it's the most demanding environment. |
| 2634 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 2635 |
+ |
#ifndef __cplusplus |
| 2636 |
+ |
choke me |
| 2637 |
+ |
#endif |
| 2638 |
+ |
_ACEOF |
| 2639 |
+ |
rm -f conftest.$ac_objext |
| 2640 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2641 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 2642 |
+ |
ac_status=$? |
| 2643 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2644 |
+ |
rm -f conftest.er1 |
| 2645 |
+ |
cat conftest.err >&5 |
| 2646 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2647 |
+ |
(exit $ac_status); } && |
| 2648 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2649 |
+ |
|| test ! -s conftest.err' |
| 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); }; } && |
| 2655 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2656 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2657 |
+ |
(eval $ac_try) 2>&5 |
| 2658 |
+ |
ac_status=$? |
| 2659 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2660 |
+ |
(exit $ac_status); }; }; then |
| 2661 |
+ |
for ac_declaration in \ |
| 2662 |
+ |
'' \ |
| 2663 |
+ |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2664 |
+ |
'extern "C" void std::exit (int); using std::exit;' \ |
| 2665 |
+ |
'extern "C" void exit (int) throw ();' \ |
| 2666 |
+ |
'extern "C" void exit (int);' \ |
| 2667 |
+ |
'void exit (int);' |
| 2668 |
+ |
do |
| 2669 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 2670 |
+ |
/* confdefs.h. */ |
| 2671 |
+ |
_ACEOF |
| 2672 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 2673 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 2674 |
+ |
/* end confdefs.h. */ |
| 2675 |
+ |
$ac_declaration |
| 2676 |
+ |
#include <stdlib.h> |
| 2677 |
+ |
int |
| 2678 |
+ |
main () |
| 2679 |
+ |
{ |
| 2680 |
+ |
exit (42); |
| 2681 |
+ |
; |
| 2682 |
+ |
return 0; |
| 2683 |
+ |
} |
| 2684 |
+ |
_ACEOF |
| 2685 |
+ |
rm -f conftest.$ac_objext |
| 2686 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2687 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 2688 |
+ |
ac_status=$? |
| 2689 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2690 |
+ |
rm -f conftest.er1 |
| 2691 |
+ |
cat conftest.err >&5 |
| 2692 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2693 |
+ |
(exit $ac_status); } && |
| 2694 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2695 |
+ |
|| test ! -s conftest.err' |
| 2696 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2697 |
+ |
(eval $ac_try) 2>&5 |
| 2698 |
+ |
ac_status=$? |
| 2699 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2700 |
+ |
(exit $ac_status); }; } && |
| 2701 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2702 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2703 |
+ |
(eval $ac_try) 2>&5 |
| 2704 |
+ |
ac_status=$? |
| 2705 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2706 |
+ |
(exit $ac_status); }; }; then |
| 2707 |
+ |
: |
| 2708 |
+ |
else |
| 2709 |
+ |
echo "$as_me: failed program was:" >&5 |
| 2710 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2711 |
|
|
| 2712 |
+ |
continue |
| 2713 |
+ |
fi |
| 2714 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2715 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 2716 |
+ |
/* confdefs.h. */ |
| 2717 |
+ |
_ACEOF |
| 2718 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 2719 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 2720 |
+ |
/* end confdefs.h. */ |
| 2721 |
+ |
$ac_declaration |
| 2722 |
+ |
int |
| 2723 |
+ |
main () |
| 2724 |
+ |
{ |
| 2725 |
+ |
exit (42); |
| 2726 |
+ |
; |
| 2727 |
+ |
return 0; |
| 2728 |
+ |
} |
| 2729 |
+ |
_ACEOF |
| 2730 |
+ |
rm -f conftest.$ac_objext |
| 2731 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2732 |
+ |
(eval $ac_compile) 2>conftest.er1 |
| 2733 |
+ |
ac_status=$? |
| 2734 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2735 |
+ |
rm -f conftest.er1 |
| 2736 |
+ |
cat conftest.err >&5 |
| 2737 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2738 |
+ |
(exit $ac_status); } && |
| 2739 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2740 |
+ |
|| test ! -s conftest.err' |
| 2741 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2742 |
+ |
(eval $ac_try) 2>&5 |
| 2743 |
+ |
ac_status=$? |
| 2744 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2745 |
+ |
(exit $ac_status); }; } && |
| 2746 |
+ |
{ ac_try='test -s conftest.$ac_objext' |
| 2747 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2748 |
+ |
(eval $ac_try) 2>&5 |
| 2749 |
+ |
ac_status=$? |
| 2750 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2751 |
+ |
(exit $ac_status); }; }; then |
| 2752 |
+ |
break |
| 2753 |
+ |
else |
| 2754 |
+ |
echo "$as_me: failed program was:" >&5 |
| 2755 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2756 |
+ |
|
| 2757 |
+ |
fi |
| 2758 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2759 |
+ |
done |
| 2760 |
+ |
rm -f conftest* |
| 2761 |
+ |
if test -n "$ac_declaration"; then |
| 2762 |
+ |
echo '#ifdef __cplusplus' >>confdefs.h |
| 2763 |
+ |
echo $ac_declaration >>confdefs.h |
| 2764 |
+ |
echo '#endif' >>confdefs.h |
| 2765 |
+ |
fi |
| 2766 |
+ |
|
| 2767 |
+ |
else |
| 2768 |
+ |
echo "$as_me: failed program was:" >&5 |
| 2769 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2770 |
+ |
|
| 2771 |
+ |
fi |
| 2772 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2773 |
|
ac_ext=c |
| 2774 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2775 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2776 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2777 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2778 |
|
|
| 2779 |
< |
ac_ext=${ac_fc_srcext-f} |
| 2780 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 2781 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 2779 |
> |
ac_ext=${FC_SRCEXT-f} |
| 2780 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 2781 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 2782 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 2783 |
|
if test -n "$ac_tool_prefix"; then |
| 2784 |
|
for ac_prog in mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort |
| 2785 |
|
do |
| 2786 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2787 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2788 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2789 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2788 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2789 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2790 |
|
if test "${ac_cv_prog_FC+set}" = set; then |
| 2791 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2792 |
|
else |
| 2799 |
|
IFS=$as_save_IFS |
| 2800 |
|
test -z "$as_dir" && as_dir=. |
| 2801 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2802 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2802 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2803 |
|
ac_cv_prog_FC="$ac_tool_prefix$ac_prog" |
| 2804 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2805 |
|
break 2 |
| 2806 |
|
fi |
| 2807 |
|
done |
| 2808 |
|
done |
| 3236 |
– |
IFS=$as_save_IFS |
| 2809 |
|
|
| 2810 |
|
fi |
| 2811 |
|
fi |
| 2812 |
|
FC=$ac_cv_prog_FC |
| 2813 |
|
if test -n "$FC"; then |
| 2814 |
< |
{ echo "$as_me:$LINENO: result: $FC" >&5 |
| 2815 |
< |
echo "${ECHO_T}$FC" >&6; } |
| 2814 |
> |
echo "$as_me:$LINENO: result: $FC" >&5 |
| 2815 |
> |
echo "${ECHO_T}$FC" >&6 |
| 2816 |
|
else |
| 2817 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2818 |
< |
echo "${ECHO_T}no" >&6; } |
| 2817 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 2818 |
> |
echo "${ECHO_T}no" >&6 |
| 2819 |
|
fi |
| 2820 |
|
|
| 3249 |
– |
|
| 2821 |
|
test -n "$FC" && break |
| 2822 |
|
done |
| 2823 |
|
fi |
| 2827 |
|
do |
| 2828 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2829 |
|
set dummy $ac_prog; ac_word=$2 |
| 2830 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2831 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2830 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2831 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2832 |
|
if test "${ac_cv_prog_ac_ct_FC+set}" = set; then |
| 2833 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2834 |
|
else |
| 2841 |
|
IFS=$as_save_IFS |
| 2842 |
|
test -z "$as_dir" && as_dir=. |
| 2843 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2844 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2844 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2845 |
|
ac_cv_prog_ac_ct_FC="$ac_prog" |
| 2846 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2847 |
|
break 2 |
| 2848 |
|
fi |
| 2849 |
|
done |
| 2850 |
|
done |
| 3280 |
– |
IFS=$as_save_IFS |
| 2851 |
|
|
| 2852 |
|
fi |
| 2853 |
|
fi |
| 2854 |
|
ac_ct_FC=$ac_cv_prog_ac_ct_FC |
| 2855 |
|
if test -n "$ac_ct_FC"; then |
| 2856 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 |
| 2857 |
< |
echo "${ECHO_T}$ac_ct_FC" >&6; } |
| 2856 |
> |
echo "$as_me:$LINENO: result: $ac_ct_FC" >&5 |
| 2857 |
> |
echo "${ECHO_T}$ac_ct_FC" >&6 |
| 2858 |
|
else |
| 2859 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 2860 |
< |
echo "${ECHO_T}no" >&6; } |
| 2859 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 2860 |
> |
echo "${ECHO_T}no" >&6 |
| 2861 |
|
fi |
| 2862 |
|
|
| 3293 |
– |
|
| 2863 |
|
test -n "$ac_ct_FC" && break |
| 2864 |
|
done |
| 2865 |
|
|
| 2866 |
< |
if test "x$ac_ct_FC" = x; then |
| 3298 |
< |
FC="" |
| 3299 |
< |
else |
| 3300 |
< |
case $cross_compiling:$ac_tool_warned in |
| 3301 |
< |
yes:) |
| 3302 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3303 |
< |
whose name does not start with the host triplet. If you think this |
| 3304 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 3305 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3306 |
< |
whose name does not start with the host triplet. If you think this |
| 3307 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 3308 |
< |
ac_tool_warned=yes ;; |
| 3309 |
< |
esac |
| 3310 |
< |
FC=$ac_ct_FC |
| 3311 |
< |
fi |
| 2866 |
> |
FC=$ac_ct_FC |
| 2867 |
|
fi |
| 2868 |
|
|
| 2869 |
|
|
| 2870 |
|
# Provide some information about the compiler. |
| 2871 |
< |
echo "$as_me:$LINENO: checking for Fortran compiler version" >&5 |
| 2871 |
> |
echo "$as_me:2871:" \ |
| 2872 |
> |
"checking for Fortran compiler version" >&5 |
| 2873 |
|
ac_compiler=`set X $ac_compile; echo $2` |
| 2874 |
< |
{ (ac_try="$ac_compiler --version >&5" |
| 2875 |
< |
case "(($ac_try" in |
| 3320 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3321 |
< |
*) ac_try_echo=$ac_try;; |
| 3322 |
< |
esac |
| 3323 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3324 |
< |
(eval "$ac_compiler --version >&5") 2>&5 |
| 2874 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2875 |
> |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2876 |
|
ac_status=$? |
| 2877 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2878 |
|
(exit $ac_status); } |
| 2879 |
< |
{ (ac_try="$ac_compiler -v >&5" |
| 2880 |
< |
case "(($ac_try" in |
| 3330 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3331 |
< |
*) ac_try_echo=$ac_try;; |
| 3332 |
< |
esac |
| 3333 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3334 |
< |
(eval "$ac_compiler -v >&5") 2>&5 |
| 2879 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2880 |
> |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2881 |
|
ac_status=$? |
| 2882 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2883 |
|
(exit $ac_status); } |
| 2884 |
< |
{ (ac_try="$ac_compiler -V >&5" |
| 2885 |
< |
case "(($ac_try" in |
| 3340 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3341 |
< |
*) ac_try_echo=$ac_try;; |
| 3342 |
< |
esac |
| 3343 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3344 |
< |
(eval "$ac_compiler -V >&5") 2>&5 |
| 2884 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2885 |
> |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2886 |
|
ac_status=$? |
| 2887 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2888 |
|
(exit $ac_status); } |
| 2889 |
< |
rm -rf a.out |
| 2889 |
> |
rm -f a.out |
| 2890 |
|
|
| 2891 |
|
# If we don't use `.F' as extension, the preprocessor is not run on the |
| 2892 |
|
# input file. (Note that this only needs to work for GNU compilers.) |
| 2893 |
|
ac_save_ext=$ac_ext |
| 2894 |
|
ac_ext=F |
| 2895 |
< |
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 |
| 2896 |
< |
echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; } |
| 2895 |
> |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5 |
| 2896 |
> |
echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6 |
| 2897 |
|
if test "${ac_cv_fc_compiler_gnu+set}" = set; then |
| 2898 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2899 |
|
else |
| 2905 |
|
|
| 2906 |
|
end |
| 2907 |
|
_ACEOF |
| 2908 |
< |
rm -rf conftest.$ac_objext |
| 2909 |
< |
if { (ac_try="$ac_compile" |
| 2910 |
< |
case "(($ac_try" in |
| 3370 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3371 |
< |
*) ac_try_echo=$ac_try;; |
| 3372 |
< |
esac |
| 3373 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3374 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2908 |
> |
rm -f conftest.$ac_objext |
| 2909 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2910 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2911 |
|
ac_status=$? |
| 2912 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2913 |
|
rm -f conftest.er1 |
| 2914 |
|
cat conftest.err >&5 |
| 2915 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2916 |
< |
(exit $ac_status); } && { |
| 2917 |
< |
test -z "$ac_fc_werror_flag" || |
| 2918 |
< |
test ! -s conftest.err |
| 2919 |
< |
} && test -s conftest.$ac_objext; then |
| 2916 |
> |
(exit $ac_status); } && |
| 2917 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 2918 |
> |
|| test ! -s conftest.err' |
| 2919 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2920 |
> |
(eval $ac_try) 2>&5 |
| 2921 |
> |
ac_status=$? |
| 2922 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2923 |
> |
(exit $ac_status); }; } && |
| 2924 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2925 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2926 |
> |
(eval $ac_try) 2>&5 |
| 2927 |
> |
ac_status=$? |
| 2928 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2929 |
> |
(exit $ac_status); }; }; then |
| 2930 |
|
ac_compiler_gnu=yes |
| 2931 |
|
else |
| 2932 |
|
echo "$as_me: failed program was:" >&5 |
| 2933 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2934 |
|
|
| 2935 |
< |
ac_compiler_gnu=no |
| 2935 |
> |
ac_compiler_gnu=no |
| 2936 |
|
fi |
| 2937 |
< |
|
| 3392 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2937 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2938 |
|
ac_cv_fc_compiler_gnu=$ac_compiler_gnu |
| 2939 |
|
|
| 2940 |
|
fi |
| 2941 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 |
| 2942 |
< |
echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; } |
| 2941 |
> |
echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5 |
| 2942 |
> |
echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6 |
| 2943 |
|
ac_ext=$ac_save_ext |
| 2944 |
|
ac_test_FFLAGS=${FCFLAGS+set} |
| 2945 |
|
ac_save_FFLAGS=$FCFLAGS |
| 2946 |
|
FCFLAGS= |
| 2947 |
< |
{ echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 |
| 2948 |
< |
echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; } |
| 2947 |
> |
echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5 |
| 2948 |
> |
echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6 |
| 2949 |
|
if test "${ac_cv_prog_fc_g+set}" = set; then |
| 2950 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2951 |
|
else |
| 2955 |
|
|
| 2956 |
|
end |
| 2957 |
|
_ACEOF |
| 2958 |
< |
rm -rf conftest.$ac_objext |
| 2959 |
< |
if { (ac_try="$ac_compile" |
| 2960 |
< |
case "(($ac_try" in |
| 3416 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3417 |
< |
*) ac_try_echo=$ac_try;; |
| 3418 |
< |
esac |
| 3419 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3420 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 2958 |
> |
rm -f conftest.$ac_objext |
| 2959 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2960 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 2961 |
|
ac_status=$? |
| 2962 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2963 |
|
rm -f conftest.er1 |
| 2964 |
|
cat conftest.err >&5 |
| 2965 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2966 |
< |
(exit $ac_status); } && { |
| 2967 |
< |
test -z "$ac_fc_werror_flag" || |
| 2968 |
< |
test ! -s conftest.err |
| 2969 |
< |
} && test -s conftest.$ac_objext; then |
| 2966 |
> |
(exit $ac_status); } && |
| 2967 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 2968 |
> |
|| test ! -s conftest.err' |
| 2969 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2970 |
> |
(eval $ac_try) 2>&5 |
| 2971 |
> |
ac_status=$? |
| 2972 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2973 |
> |
(exit $ac_status); }; } && |
| 2974 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 2975 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2976 |
> |
(eval $ac_try) 2>&5 |
| 2977 |
> |
ac_status=$? |
| 2978 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2979 |
> |
(exit $ac_status); }; }; then |
| 2980 |
|
ac_cv_prog_fc_g=yes |
| 2981 |
|
else |
| 2982 |
|
echo "$as_me: failed program was:" >&5 |
| 2983 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2984 |
|
|
| 2985 |
< |
ac_cv_prog_fc_g=no |
| 2985 |
> |
ac_cv_prog_fc_g=no |
| 2986 |
|
fi |
| 2987 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2988 |
|
|
| 3438 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3439 |
– |
|
| 2989 |
|
fi |
| 2990 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 |
| 2991 |
< |
echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; } |
| 2990 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5 |
| 2991 |
> |
echo "${ECHO_T}$ac_cv_prog_fc_g" >&6 |
| 2992 |
|
if test "$ac_test_FFLAGS" = set; then |
| 2993 |
|
FCFLAGS=$ac_save_FFLAGS |
| 2994 |
|
elif test $ac_cv_prog_fc_g = yes; then |
| 3016 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3017 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3018 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3019 |
< |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3020 |
< |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
| 3019 |
> |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3020 |
> |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| 3021 |
|
# On Suns, sometimes $CPP names a directory. |
| 3022 |
|
if test -n "$CPP" && test -d "$CPP"; then |
| 3023 |
|
CPP= |
| 3051 |
|
#endif |
| 3052 |
|
Syntax error |
| 3053 |
|
_ACEOF |
| 3054 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3055 |
< |
case "(($ac_try" in |
| 3507 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3508 |
< |
*) ac_try_echo=$ac_try;; |
| 3509 |
< |
esac |
| 3510 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3511 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3054 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3055 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3056 |
|
ac_status=$? |
| 3057 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3058 |
< |
rm -rf conftest.er1 |
| 3058 |
> |
rm -f conftest.er1 |
| 3059 |
|
cat conftest.err >&5 |
| 3060 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3061 |
< |
(exit $ac_status); } >/dev/null && { |
| 3062 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3063 |
< |
test ! -s conftest.err |
| 3064 |
< |
}; then |
| 3061 |
> |
(exit $ac_status); } >/dev/null; then |
| 3062 |
> |
if test -s conftest.err; then |
| 3063 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3064 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3065 |
> |
else |
| 3066 |
> |
ac_cpp_err= |
| 3067 |
> |
fi |
| 3068 |
> |
else |
| 3069 |
> |
ac_cpp_err=yes |
| 3070 |
> |
fi |
| 3071 |
> |
if test -z "$ac_cpp_err"; then |
| 3072 |
|
: |
| 3073 |
|
else |
| 3074 |
|
echo "$as_me: failed program was:" >&5 |
| 3077 |
|
# Broken: fails on valid input. |
| 3078 |
|
continue |
| 3079 |
|
fi |
| 3080 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3081 |
|
|
| 3082 |
< |
rm -rf conftest.err conftest.$ac_ext |
| 3531 |
< |
|
| 3532 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 3082 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 3083 |
|
# can be detected and how. |
| 3084 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3085 |
|
/* confdefs.h. */ |
| 3089 |
|
/* end confdefs.h. */ |
| 3090 |
|
#include <ac_nonexistent.h> |
| 3091 |
|
_ACEOF |
| 3092 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3093 |
< |
case "(($ac_try" in |
| 3544 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3545 |
< |
*) ac_try_echo=$ac_try;; |
| 3546 |
< |
esac |
| 3547 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3548 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3092 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3093 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3094 |
|
ac_status=$? |
| 3095 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3096 |
|
rm -f conftest.er1 |
| 3097 |
|
cat conftest.err >&5 |
| 3098 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3099 |
< |
(exit $ac_status); } >/dev/null && { |
| 3100 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3101 |
< |
test ! -s conftest.err |
| 3102 |
< |
}; then |
| 3099 |
> |
(exit $ac_status); } >/dev/null; then |
| 3100 |
> |
if test -s conftest.err; then |
| 3101 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3102 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3103 |
> |
else |
| 3104 |
> |
ac_cpp_err= |
| 3105 |
> |
fi |
| 3106 |
> |
else |
| 3107 |
> |
ac_cpp_err=yes |
| 3108 |
> |
fi |
| 3109 |
> |
if test -z "$ac_cpp_err"; then |
| 3110 |
|
# Broken: success on invalid input. |
| 3111 |
|
continue |
| 3112 |
|
else |
| 3117 |
|
ac_preproc_ok=: |
| 3118 |
|
break |
| 3119 |
|
fi |
| 3120 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3121 |
|
|
| 3569 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 3570 |
– |
|
| 3122 |
|
done |
| 3123 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3124 |
< |
rm -rf conftest.err conftest.$ac_ext |
| 3124 |
> |
rm -f conftest.err conftest.$ac_ext |
| 3125 |
|
if $ac_preproc_ok; then |
| 3126 |
|
break |
| 3127 |
|
fi |
| 3134 |
|
else |
| 3135 |
|
ac_cv_prog_CPP=$CPP |
| 3136 |
|
fi |
| 3137 |
< |
{ echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3138 |
< |
echo "${ECHO_T}$CPP" >&6; } |
| 3137 |
> |
echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3138 |
> |
echo "${ECHO_T}$CPP" >&6 |
| 3139 |
|
ac_preproc_ok=false |
| 3140 |
|
for ac_c_preproc_warn_flag in '' yes |
| 3141 |
|
do |
| 3158 |
|
#endif |
| 3159 |
|
Syntax error |
| 3160 |
|
_ACEOF |
| 3161 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3162 |
< |
case "(($ac_try" in |
| 3612 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3613 |
< |
*) ac_try_echo=$ac_try;; |
| 3614 |
< |
esac |
| 3615 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3616 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3161 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3162 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3163 |
|
ac_status=$? |
| 3164 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3165 |
|
rm -f conftest.er1 |
| 3166 |
|
cat conftest.err >&5 |
| 3167 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3168 |
< |
(exit $ac_status); } >/dev/null && { |
| 3169 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3170 |
< |
test ! -s conftest.err |
| 3171 |
< |
}; then |
| 3168 |
> |
(exit $ac_status); } >/dev/null; then |
| 3169 |
> |
if test -s conftest.err; then |
| 3170 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3171 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3172 |
> |
else |
| 3173 |
> |
ac_cpp_err= |
| 3174 |
> |
fi |
| 3175 |
> |
else |
| 3176 |
> |
ac_cpp_err=yes |
| 3177 |
> |
fi |
| 3178 |
> |
if test -z "$ac_cpp_err"; then |
| 3179 |
|
: |
| 3180 |
|
else |
| 3181 |
|
echo "$as_me: failed program was:" >&5 |
| 3184 |
|
# Broken: fails on valid input. |
| 3185 |
|
continue |
| 3186 |
|
fi |
| 3187 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3188 |
|
|
| 3189 |
< |
rm -rf conftest.err conftest.$ac_ext |
| 3636 |
< |
|
| 3637 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 3189 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 3190 |
|
# can be detected and how. |
| 3191 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3192 |
|
/* confdefs.h. */ |
| 3196 |
|
/* end confdefs.h. */ |
| 3197 |
|
#include <ac_nonexistent.h> |
| 3198 |
|
_ACEOF |
| 3199 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3200 |
< |
case "(($ac_try" in |
| 3649 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3650 |
< |
*) ac_try_echo=$ac_try;; |
| 3651 |
< |
esac |
| 3652 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 3653 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 3199 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 3200 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 3201 |
|
ac_status=$? |
| 3202 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3203 |
|
rm -f conftest.er1 |
| 3204 |
|
cat conftest.err >&5 |
| 3205 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3206 |
< |
(exit $ac_status); } >/dev/null && { |
| 3207 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3208 |
< |
test ! -s conftest.err |
| 3209 |
< |
}; then |
| 3206 |
> |
(exit $ac_status); } >/dev/null; then |
| 3207 |
> |
if test -s conftest.err; then |
| 3208 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 3209 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 3210 |
> |
else |
| 3211 |
> |
ac_cpp_err= |
| 3212 |
> |
fi |
| 3213 |
> |
else |
| 3214 |
> |
ac_cpp_err=yes |
| 3215 |
> |
fi |
| 3216 |
> |
if test -z "$ac_cpp_err"; then |
| 3217 |
|
# Broken: success on invalid input. |
| 3218 |
|
continue |
| 3219 |
|
else |
| 3224 |
|
ac_preproc_ok=: |
| 3225 |
|
break |
| 3226 |
|
fi |
| 3227 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 3228 |
|
|
| 3674 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 3675 |
– |
|
| 3229 |
|
done |
| 3230 |
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3231 |
< |
rm -rf conftest.err conftest.$ac_ext |
| 3231 |
> |
rm -f conftest.err conftest.$ac_ext |
| 3232 |
|
if $ac_preproc_ok; then |
| 3233 |
|
: |
| 3234 |
|
else |
| 3245 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3246 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3247 |
|
|
| 3248 |
< |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 3249 |
< |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
| 3250 |
< |
if test "${ac_cv_path_GREP+set}" = set; then |
| 3248 |
> |
echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3249 |
> |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| 3250 |
> |
if test "${ac_cv_prog_egrep+set}" = set; then |
| 3251 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3252 |
|
else |
| 3253 |
< |
# Extract the first word of "grep ggrep" to use in msg output |
| 3254 |
< |
if test -z "$GREP"; then |
| 3255 |
< |
set dummy grep ggrep; ac_prog_name=$2 |
| 3703 |
< |
if test "${ac_cv_path_GREP+set}" = set; then |
| 3704 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3705 |
< |
else |
| 3706 |
< |
ac_path_GREP_found=false |
| 3707 |
< |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 3708 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3709 |
< |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3710 |
< |
do |
| 3711 |
< |
IFS=$as_save_IFS |
| 3712 |
< |
test -z "$as_dir" && as_dir=. |
| 3713 |
< |
for ac_prog in grep ggrep; do |
| 3714 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3715 |
< |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3716 |
< |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| 3717 |
< |
# Check for GNU ac_path_GREP and select it if it is found. |
| 3718 |
< |
# Check for GNU $ac_path_GREP |
| 3719 |
< |
case `"$ac_path_GREP" --version 2>&1` in |
| 3720 |
< |
*GNU*) |
| 3721 |
< |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 3722 |
< |
*) |
| 3723 |
< |
ac_count=0 |
| 3724 |
< |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
| 3725 |
< |
while : |
| 3726 |
< |
do |
| 3727 |
< |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3728 |
< |
mv "conftest.tmp" "conftest.in" |
| 3729 |
< |
cp "conftest.in" "conftest.nl" |
| 3730 |
< |
echo 'GREP' >> "conftest.nl" |
| 3731 |
< |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 3732 |
< |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3733 |
< |
ac_count=`expr $ac_count + 1` |
| 3734 |
< |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 3735 |
< |
# Best one so far, save it but keep looking for a better one |
| 3736 |
< |
ac_cv_path_GREP="$ac_path_GREP" |
| 3737 |
< |
ac_path_GREP_max=$ac_count |
| 3253 |
> |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| 3254 |
> |
then ac_cv_prog_egrep='grep -E' |
| 3255 |
> |
else ac_cv_prog_egrep='egrep' |
| 3256 |
|
fi |
| 3739 |
– |
# 10*(2^10) chars as input seems more than enough |
| 3740 |
– |
test $ac_count -gt 10 && break |
| 3741 |
– |
done |
| 3742 |
– |
rm -rf conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3743 |
– |
esac |
| 3744 |
– |
|
| 3745 |
– |
|
| 3746 |
– |
$ac_path_GREP_found && break 3 |
| 3747 |
– |
done |
| 3748 |
– |
done |
| 3749 |
– |
|
| 3750 |
– |
done |
| 3751 |
– |
IFS=$as_save_IFS |
| 3752 |
– |
|
| 3753 |
– |
|
| 3257 |
|
fi |
| 3258 |
< |
|
| 3259 |
< |
GREP="$ac_cv_path_GREP" |
| 3260 |
< |
if test -z "$GREP"; then |
| 3758 |
< |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 3759 |
< |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 3760 |
< |
{ (exit 1); exit 1; }; } |
| 3761 |
< |
fi |
| 3762 |
< |
|
| 3763 |
< |
else |
| 3764 |
< |
ac_cv_path_GREP=$GREP |
| 3765 |
< |
fi |
| 3766 |
< |
|
| 3767 |
< |
|
| 3768 |
< |
fi |
| 3769 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| 3770 |
< |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
| 3771 |
< |
GREP="$ac_cv_path_GREP" |
| 3772 |
< |
|
| 3773 |
< |
|
| 3774 |
< |
{ echo "$as_me:$LINENO: checking for egrep" >&5 |
| 3775 |
< |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
| 3776 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then |
| 3777 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3778 |
< |
else |
| 3779 |
< |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 3780 |
< |
then ac_cv_path_EGREP="$GREP -E" |
| 3781 |
< |
else |
| 3782 |
< |
# Extract the first word of "egrep" to use in msg output |
| 3783 |
< |
if test -z "$EGREP"; then |
| 3784 |
< |
set dummy egrep; ac_prog_name=$2 |
| 3785 |
< |
if test "${ac_cv_path_EGREP+set}" = set; then |
| 3786 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3787 |
< |
else |
| 3788 |
< |
ac_path_EGREP_found=false |
| 3789 |
< |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 3790 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3791 |
< |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3792 |
< |
do |
| 3793 |
< |
IFS=$as_save_IFS |
| 3794 |
< |
test -z "$as_dir" && as_dir=. |
| 3795 |
< |
for ac_prog in egrep; do |
| 3796 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3797 |
< |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3798 |
< |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| 3799 |
< |
# Check for GNU ac_path_EGREP and select it if it is found. |
| 3800 |
< |
# Check for GNU $ac_path_EGREP |
| 3801 |
< |
case `"$ac_path_EGREP" --version 2>&1` in |
| 3802 |
< |
*GNU*) |
| 3803 |
< |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 3804 |
< |
*) |
| 3805 |
< |
ac_count=0 |
| 3806 |
< |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
| 3807 |
< |
while : |
| 3808 |
< |
do |
| 3809 |
< |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3810 |
< |
mv "conftest.tmp" "conftest.in" |
| 3811 |
< |
cp "conftest.in" "conftest.nl" |
| 3812 |
< |
echo 'EGREP' >> "conftest.nl" |
| 3813 |
< |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 3814 |
< |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3815 |
< |
ac_count=`expr $ac_count + 1` |
| 3816 |
< |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 3817 |
< |
# Best one so far, save it but keep looking for a better one |
| 3818 |
< |
ac_cv_path_EGREP="$ac_path_EGREP" |
| 3819 |
< |
ac_path_EGREP_max=$ac_count |
| 3820 |
< |
fi |
| 3821 |
< |
# 10*(2^10) chars as input seems more than enough |
| 3822 |
< |
test $ac_count -gt 10 && break |
| 3823 |
< |
done |
| 3824 |
< |
rm -rf conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3825 |
< |
esac |
| 3258 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| 3259 |
> |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| 3260 |
> |
EGREP=$ac_cv_prog_egrep |
| 3261 |
|
|
| 3262 |
|
|
| 3263 |
< |
$ac_path_EGREP_found && break 3 |
| 3264 |
< |
done |
| 3830 |
< |
done |
| 3831 |
< |
|
| 3832 |
< |
done |
| 3833 |
< |
IFS=$as_save_IFS |
| 3834 |
< |
|
| 3835 |
< |
|
| 3836 |
< |
fi |
| 3837 |
< |
|
| 3838 |
< |
EGREP="$ac_cv_path_EGREP" |
| 3839 |
< |
if test -z "$EGREP"; then |
| 3840 |
< |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| 3841 |
< |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| 3842 |
< |
{ (exit 1); exit 1; }; } |
| 3843 |
< |
fi |
| 3844 |
< |
|
| 3845 |
< |
else |
| 3846 |
< |
ac_cv_path_EGREP=$EGREP |
| 3847 |
< |
fi |
| 3848 |
< |
|
| 3849 |
< |
|
| 3850 |
< |
fi |
| 3851 |
< |
fi |
| 3852 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| 3853 |
< |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
| 3854 |
< |
EGREP="$ac_cv_path_EGREP" |
| 3855 |
< |
|
| 3856 |
< |
|
| 3857 |
< |
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 3858 |
< |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
| 3263 |
> |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 3264 |
> |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
| 3265 |
|
LN_S=$as_ln_s |
| 3266 |
|
if test "$LN_S" = "ln -s"; then |
| 3267 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3268 |
< |
echo "${ECHO_T}yes" >&6; } |
| 3267 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 3268 |
> |
echo "${ECHO_T}yes" >&6 |
| 3269 |
|
else |
| 3270 |
< |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 3271 |
< |
echo "${ECHO_T}no, using $LN_S" >&6; } |
| 3270 |
> |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 3271 |
> |
echo "${ECHO_T}no, using $LN_S" >&6 |
| 3272 |
|
fi |
| 3273 |
|
|
| 3274 |
< |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3275 |
< |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
| 3276 |
< |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3277 |
< |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 3274 |
> |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3275 |
> |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 3276 |
> |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 3277 |
> |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 3278 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3279 |
|
else |
| 3280 |
|
cat >conftest.make <<\_ACEOF |
| 3875 |
– |
SHELL = /bin/sh |
| 3281 |
|
all: |
| 3282 |
< |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3282 |
> |
@echo 'ac_maketemp="$(MAKE)"' |
| 3283 |
|
_ACEOF |
| 3284 |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 3285 |
< |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 3286 |
< |
*@@@%%%=?*=@@@%%%*) |
| 3287 |
< |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3288 |
< |
*) |
| 3289 |
< |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3885 |
< |
esac |
| 3886 |
< |
rm -rf conftest.make |
| 3285 |
> |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| 3286 |
> |
if test -n "$ac_maketemp"; then |
| 3287 |
> |
eval ac_cv_prog_make_${ac_make}_set=yes |
| 3288 |
> |
else |
| 3289 |
> |
eval ac_cv_prog_make_${ac_make}_set=no |
| 3290 |
|
fi |
| 3291 |
< |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3292 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3293 |
< |
echo "${ECHO_T}yes" >&6; } |
| 3291 |
> |
rm -f conftest.make |
| 3292 |
> |
fi |
| 3293 |
> |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| 3294 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 3295 |
> |
echo "${ECHO_T}yes" >&6 |
| 3296 |
|
SET_MAKE= |
| 3297 |
|
else |
| 3298 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3299 |
< |
echo "${ECHO_T}no" >&6; } |
| 3298 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3299 |
> |
echo "${ECHO_T}no" >&6 |
| 3300 |
|
SET_MAKE="MAKE=${MAKE-make}" |
| 3301 |
|
fi |
| 3302 |
|
|
| 3303 |
|
if test -n "$ac_tool_prefix"; then |
| 3304 |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 3305 |
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 3306 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3307 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3306 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3307 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3308 |
|
if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 3309 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3310 |
|
else |
| 3317 |
|
IFS=$as_save_IFS |
| 3318 |
|
test -z "$as_dir" && as_dir=. |
| 3319 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3320 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3320 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3321 |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 3322 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3323 |
|
break 2 |
| 3324 |
|
fi |
| 3325 |
|
done |
| 3326 |
|
done |
| 3922 |
– |
IFS=$as_save_IFS |
| 3327 |
|
|
| 3328 |
|
fi |
| 3329 |
|
fi |
| 3330 |
|
RANLIB=$ac_cv_prog_RANLIB |
| 3331 |
|
if test -n "$RANLIB"; then |
| 3332 |
< |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 3333 |
< |
echo "${ECHO_T}$RANLIB" >&6; } |
| 3332 |
> |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 3333 |
> |
echo "${ECHO_T}$RANLIB" >&6 |
| 3334 |
|
else |
| 3335 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3336 |
< |
echo "${ECHO_T}no" >&6; } |
| 3335 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3336 |
> |
echo "${ECHO_T}no" >&6 |
| 3337 |
|
fi |
| 3338 |
|
|
| 3935 |
– |
|
| 3339 |
|
fi |
| 3340 |
|
if test -z "$ac_cv_prog_RANLIB"; then |
| 3341 |
|
ac_ct_RANLIB=$RANLIB |
| 3342 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
| 3343 |
|
set dummy ranlib; ac_word=$2 |
| 3344 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3345 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3344 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3345 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3346 |
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 3347 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3348 |
|
else |
| 3355 |
|
IFS=$as_save_IFS |
| 3356 |
|
test -z "$as_dir" && as_dir=. |
| 3357 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3358 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3358 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3359 |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 3360 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3361 |
|
break 2 |
| 3362 |
|
fi |
| 3363 |
|
done |
| 3364 |
|
done |
| 3962 |
– |
IFS=$as_save_IFS |
| 3365 |
|
|
| 3366 |
+ |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
| 3367 |
|
fi |
| 3368 |
|
fi |
| 3369 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 3370 |
|
if test -n "$ac_ct_RANLIB"; then |
| 3371 |
< |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3372 |
< |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
| 3371 |
> |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 3372 |
> |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
| 3373 |
|
else |
| 3374 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3375 |
< |
echo "${ECHO_T}no" >&6; } |
| 3374 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3375 |
> |
echo "${ECHO_T}no" >&6 |
| 3376 |
|
fi |
| 3377 |
|
|
| 3378 |
< |
if test "x$ac_ct_RANLIB" = x; then |
| 3976 |
< |
RANLIB=":" |
| 3977 |
< |
else |
| 3978 |
< |
case $cross_compiling:$ac_tool_warned in |
| 3979 |
< |
yes:) |
| 3980 |
< |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
| 3981 |
< |
whose name does not start with the host triplet. If you think this |
| 3982 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
| 3983 |
< |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
| 3984 |
< |
whose name does not start with the host triplet. If you think this |
| 3985 |
< |
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
| 3986 |
< |
ac_tool_warned=yes ;; |
| 3987 |
< |
esac |
| 3988 |
< |
RANLIB=$ac_ct_RANLIB |
| 3989 |
< |
fi |
| 3378 |
> |
RANLIB=$ac_ct_RANLIB |
| 3379 |
|
else |
| 3380 |
|
RANLIB="$ac_cv_prog_RANLIB" |
| 3381 |
|
fi |
| 3383 |
|
|
| 3384 |
|
# Extract the first word of "perl", so it can be a program name with args. |
| 3385 |
|
set dummy perl; ac_word=$2 |
| 3386 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3387 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3386 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3387 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3388 |
|
if test "${ac_cv_path_PERLINTERP+set}" = set; then |
| 3389 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3390 |
|
else |
| 3399 |
|
IFS=$as_save_IFS |
| 3400 |
|
test -z "$as_dir" && as_dir=. |
| 3401 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3402 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3402 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3403 |
|
ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext" |
| 3404 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3405 |
|
break 2 |
| 3406 |
|
fi |
| 3407 |
|
done |
| 3408 |
|
done |
| 4020 |
– |
IFS=$as_save_IFS |
| 3409 |
|
|
| 3410 |
|
test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl" |
| 3411 |
|
;; |
| 3412 |
|
esac |
| 3413 |
|
fi |
| 3414 |
|
PERLINTERP=$ac_cv_path_PERLINTERP |
| 3415 |
+ |
|
| 3416 |
|
if test -n "$PERLINTERP"; then |
| 3417 |
< |
{ echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
| 3418 |
< |
echo "${ECHO_T}$PERLINTERP" >&6; } |
| 3417 |
> |
echo "$as_me:$LINENO: result: $PERLINTERP" >&5 |
| 3418 |
> |
echo "${ECHO_T}$PERLINTERP" >&6 |
| 3419 |
|
else |
| 3420 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3421 |
< |
echo "${ECHO_T}no" >&6; } |
| 3420 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3421 |
> |
echo "${ECHO_T}no" >&6 |
| 3422 |
|
fi |
| 3423 |
|
|
| 4035 |
– |
|
| 3424 |
|
ac_cv_path_perlinterp="$PERLINTERP" |
| 3425 |
|
_sHpB='#!' |
| 3426 |
|
|
| 3427 |
|
|
| 3428 |
< |
# Check whether --with-perl-shebang was given. |
| 3428 |
> |
# Check whether --with-perl-shebang or --without-perl-shebang was given. |
| 3429 |
|
if test "${with_perl_shebang+set}" = set; then |
| 3430 |
< |
withval=$with_perl_shebang; opt_perl_shebang="$withval" |
| 3430 |
> |
withval="$with_perl_shebang" |
| 3431 |
> |
opt_perl_shebang="$withval" |
| 3432 |
|
else |
| 3433 |
|
opt_perl_shebang="not_set" |
| 3434 |
< |
fi |
| 3435 |
< |
|
| 3436 |
< |
{ echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
| 4048 |
< |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6; } |
| 3434 |
> |
fi; |
| 3435 |
> |
echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5 |
| 3436 |
> |
echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6 |
| 3437 |
|
if test "${ax_cv_opt_perl_shebang+set}" = set; then |
| 3438 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3439 |
|
else |
| 3445 |
|
esac |
| 3446 |
|
|
| 3447 |
|
fi |
| 3448 |
< |
{ echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
| 3449 |
< |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6; } |
| 3448 |
> |
echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5 |
| 3449 |
> |
echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6 |
| 3450 |
|
if test "A$ax_cv_opt_perl_shebang" != "A" |
| 3451 |
|
then |
| 3452 |
|
ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang" |
| 3458 |
|
else |
| 3459 |
|
_somian_shbangperl=`$PERLINTERP -V:startperl` |
| 3460 |
|
negclass="[^']"; # must leave this comment: m4 will remove the outer brackets for us, heheh |
| 3461 |
< |
{ echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
| 3462 |
< |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6; } |
| 3461 |
> |
echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5 |
| 3462 |
> |
echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6 |
| 3463 |
|
if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then |
| 3464 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3465 |
|
else |
| 3477 |
|
fi |
| 3478 |
|
|
| 3479 |
|
fi |
| 3480 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
| 3481 |
< |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6; } |
| 3480 |
> |
echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5 |
| 3481 |
> |
echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6 |
| 3482 |
|
# The above prints Checking ... result message to user. |
| 3483 |
|
PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl" |
| 3484 |
|
|
| 3512 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3513 |
|
# OS/2's system install, which has a completely different semantic |
| 3514 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
| 3515 |
< |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3516 |
< |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
| 3515 |
> |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 3516 |
> |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 3517 |
|
if test -z "$INSTALL"; then |
| 3518 |
|
if test "${ac_cv_path_install+set}" = set; then |
| 3519 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3535 |
|
# by default. |
| 3536 |
|
for ac_prog in ginstall scoinst install; do |
| 3537 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3538 |
< |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 3538 |
> |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 3539 |
|
if test $ac_prog = install && |
| 3540 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3541 |
|
# AIX install. It has an incompatible calling convention. |
| 3554 |
|
;; |
| 3555 |
|
esac |
| 3556 |
|
done |
| 4169 |
– |
IFS=$as_save_IFS |
| 3557 |
|
|
| 3558 |
|
|
| 3559 |
|
fi |
| 3560 |
|
if test "${ac_cv_path_install+set}" = set; then |
| 3561 |
|
INSTALL=$ac_cv_path_install |
| 3562 |
|
else |
| 3563 |
< |
# As a last resort, use the slow shell script. Don't cache a |
| 3564 |
< |
# value for INSTALL within a source directory, because that will |
| 3563 |
> |
# As a last resort, use the slow shell script. We don't cache a |
| 3564 |
> |
# path for INSTALL within a source directory, because that will |
| 3565 |
|
# break other packages using the cache if that directory is |
| 3566 |
< |
# removed, or if the value is a relative name. |
| 3566 |
> |
# removed, or if the path is relative. |
| 3567 |
|
INSTALL=$ac_install_sh |
| 3568 |
|
fi |
| 3569 |
|
fi |
| 3570 |
< |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3571 |
< |
echo "${ECHO_T}$INSTALL" >&6; } |
| 3570 |
> |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 3571 |
> |
echo "${ECHO_T}$INSTALL" >&6 |
| 3572 |
|
|
| 3573 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3574 |
|
# It thinks the first close brace ends the variable substitution. |
| 3585 |
|
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" |
| 3586 |
|
# Extract the first word of "ar", so it can be a program name with args. |
| 3587 |
|
set dummy ar; ac_word=$2 |
| 3588 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3589 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3588 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3589 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3590 |
|
if test "${ac_cv_prog_AR+set}" = set; then |
| 3591 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3592 |
|
else |
| 3599 |
|
IFS=$as_save_IFS |
| 3600 |
|
test -z "$as_dir" && as_dir=. |
| 3601 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3602 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3602 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3603 |
|
ac_cv_prog_AR="ar" |
| 3604 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3605 |
|
break 2 |
| 3606 |
|
fi |
| 3607 |
|
done |
| 3608 |
|
done |
| 4222 |
– |
IFS=$as_save_IFS |
| 3609 |
|
|
| 3610 |
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE" |
| 3611 |
|
fi |
| 3612 |
|
fi |
| 3613 |
|
AR=$ac_cv_prog_AR |
| 3614 |
|
if test -n "$AR"; then |
| 3615 |
< |
{ echo "$as_me:$LINENO: result: $AR" >&5 |
| 3616 |
< |
echo "${ECHO_T}$AR" >&6; } |
| 3615 |
> |
echo "$as_me:$LINENO: result: $AR" >&5 |
| 3616 |
> |
echo "${ECHO_T}$AR" >&6 |
| 3617 |
|
else |
| 3618 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3619 |
< |
echo "${ECHO_T}no" >&6; } |
| 3618 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3619 |
> |
echo "${ECHO_T}no" >&6 |
| 3620 |
|
fi |
| 3621 |
|
|
| 4236 |
– |
|
| 3622 |
|
if test "$AR" = "NONE"; then |
| 3623 |
|
cat >confcache <<\_ACEOF |
| 3624 |
|
# This file is a shell script that caches the results of configure |
| 3638 |
|
|
| 3639 |
|
# The following way of writing the cache mishandles newlines in values, |
| 3640 |
|
# but we know of no workaround that is simple, portable, and efficient. |
| 3641 |
< |
# So, we kill variables containing newlines. |
| 3641 |
> |
# So, don't put newlines in cache variables' values. |
| 3642 |
|
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 3643 |
|
# and sets the high bit in the cache file unless we assign to the vars. |
| 3644 |
< |
( |
| 4260 |
< |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 4261 |
< |
eval ac_val=\$$ac_var |
| 4262 |
< |
case $ac_val in #( |
| 4263 |
< |
*${as_nl}*) |
| 4264 |
< |
case $ac_var in #( |
| 4265 |
< |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 4266 |
< |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 4267 |
< |
esac |
| 4268 |
< |
case $ac_var in #( |
| 4269 |
< |
_ | IFS | as_nl) ;; #( |
| 4270 |
< |
*) $as_unset $ac_var ;; |
| 4271 |
< |
esac ;; |
| 4272 |
< |
esac |
| 4273 |
< |
done |
| 4274 |
< |
|
| 3644 |
> |
{ |
| 3645 |
|
(set) 2>&1 | |
| 3646 |
< |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 3647 |
< |
*${as_nl}ac_space=\ *) |
| 3646 |
> |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 3647 |
> |
*ac_space=\ *) |
| 3648 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 3649 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 3650 |
|
sed -n \ |
| 3651 |
|
"s/'/'\\\\''/g; |
| 3652 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 3653 |
< |
;; #( |
| 3653 |
> |
;; |
| 3654 |
|
*) |
| 3655 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 3656 |
< |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 3656 |
> |
sed -n \ |
| 3657 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 3658 |
|
;; |
| 3659 |
< |
esac | |
| 3660 |
< |
sort |
| 4290 |
< |
) | |
| 3659 |
> |
esac; |
| 3660 |
> |
} | |
| 3661 |
|
sed ' |
| 4292 |
– |
/^ac_cv_env_/b end |
| 3662 |
|
t clear |
| 3663 |
< |
:clear |
| 3663 |
> |
: clear |
| 3664 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 3665 |
|
t end |
| 3666 |
< |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 3667 |
< |
:end' >>confcache |
| 3668 |
< |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 3669 |
< |
if test -w "$cache_file"; then |
| 3670 |
< |
test "x$cache_file" != "x/dev/null" && |
| 4302 |
< |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 4303 |
< |
echo "$as_me: updating cache $cache_file" >&6;} |
| 3666 |
> |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 3667 |
> |
: end' >>confcache |
| 3668 |
> |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 3669 |
> |
if test -w $cache_file; then |
| 3670 |
> |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 3671 |
|
cat confcache >$cache_file |
| 3672 |
|
else |
| 3673 |
< |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 4307 |
< |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 3673 |
> |
echo "not updating unwritable cache $cache_file" |
| 3674 |
|
fi |
| 3675 |
|
fi |
| 3676 |
< |
rm -rf confcache |
| 3676 |
> |
rm -f confcache |
| 3677 |
|
exit 1 |
| 3678 |
|
fi |
| 3679 |
|
# Extract the first word of "ps", so it can be a program name with args. |
| 3680 |
|
set dummy ps; ac_word=$2 |
| 3681 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3682 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3681 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3682 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3683 |
|
if test "${ac_cv_path_PS+set}" = set; then |
| 3684 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3685 |
|
else |
| 3694 |
|
IFS=$as_save_IFS |
| 3695 |
|
test -z "$as_dir" && as_dir=. |
| 3696 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3697 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3697 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3698 |
|
ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" |
| 3699 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3700 |
|
break 2 |
| 3701 |
|
fi |
| 3702 |
|
done |
| 3703 |
|
done |
| 4338 |
– |
IFS=$as_save_IFS |
| 3704 |
|
|
| 3705 |
|
;; |
| 3706 |
|
esac |
| 3707 |
|
fi |
| 3708 |
|
PS=$ac_cv_path_PS |
| 3709 |
+ |
|
| 3710 |
|
if test -n "$PS"; then |
| 3711 |
< |
{ echo "$as_me:$LINENO: result: $PS" >&5 |
| 3712 |
< |
echo "${ECHO_T}$PS" >&6; } |
| 3711 |
> |
echo "$as_me:$LINENO: result: $PS" >&5 |
| 3712 |
> |
echo "${ECHO_T}$PS" >&6 |
| 3713 |
|
else |
| 3714 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3715 |
< |
echo "${ECHO_T}no" >&6; } |
| 3714 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3715 |
> |
echo "${ECHO_T}no" >&6 |
| 3716 |
|
fi |
| 3717 |
|
|
| 3718 |
< |
|
| 3719 |
< |
{ echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 |
| 4354 |
< |
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6; } |
| 3718 |
> |
echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5 |
| 3719 |
> |
echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6 |
| 3720 |
|
if test "${ac_cv_prog_ps_syntax+set}" = set; then |
| 3721 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3722 |
|
else |
| 3744 |
|
fi |
| 3745 |
|
|
| 3746 |
|
fi |
| 3747 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
| 3748 |
< |
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6; } |
| 3747 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5 |
| 3748 |
> |
echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6 |
| 3749 |
|
|
| 3750 |
|
cat >>confdefs.h <<_ACEOF |
| 3751 |
|
#define PSCOMMAND $PS |
| 3771 |
|
fi |
| 3772 |
|
fi |
| 3773 |
|
|
| 3774 |
< |
ac_ext=${ac_fc_srcext-f} |
| 3775 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 3776 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 3774 |
> |
ac_ext=${FC_SRCEXT-f} |
| 3775 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 3776 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 3777 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 3778 |
|
|
| 3779 |
|
|
| 3780 |
< |
ac_ext=${ac_fc_srcext-f} |
| 3781 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4417 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4418 |
< |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4419 |
< |
{ echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5 |
| 4420 |
< |
echo $ECHO_N "checking for Fortran flag to compile .F90 files... $ECHO_C" >&6; } |
| 3780 |
> |
echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5 |
| 3781 |
> |
echo $ECHO_N "checking for Fortran flag to compile .F90 files... $ECHO_C" >&6 |
| 3782 |
|
if test "${ac_cv_fc_srcext_F90+set}" = set; then |
| 3783 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3784 |
|
else |
| 3785 |
|
ac_ext=F90 |
| 3786 |
< |
ac_fcflags_srcext_save=$ac_fcflags_srcext |
| 3787 |
< |
ac_fcflags_srcext= |
| 3786 |
> |
ac_fc_srcext_FCFLAGS_SRCEXT_save=$FCFLAGS_SRCEXT |
| 3787 |
> |
FCFLAGS_SRCEXT="" |
| 3788 |
|
ac_cv_fc_srcext_F90=unknown |
| 3789 |
|
for ac_flag in none -qsuffix=f=F90 -Tf; do |
| 3790 |
< |
test "x$ac_flag" != xnone && ac_fcflags_srcext="$ac_flag" |
| 3790 |
> |
test "x$ac_flag" != xnone && FCFLAGS_SRCEXT="$ac_flag" |
| 3791 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 3792 |
|
program main |
| 3793 |
|
|
| 3794 |
|
end |
| 3795 |
|
_ACEOF |
| 3796 |
< |
rm -rf conftest.$ac_objext |
| 3797 |
< |
if { (ac_try="$ac_compile" |
| 3798 |
< |
case "(($ac_try" in |
| 4438 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4439 |
< |
*) ac_try_echo=$ac_try;; |
| 4440 |
< |
esac |
| 4441 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4442 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3796 |
> |
rm -f conftest.$ac_objext |
| 3797 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3798 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3799 |
|
ac_status=$? |
| 3800 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3801 |
|
rm -f conftest.er1 |
| 3802 |
|
cat conftest.err >&5 |
| 3803 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3804 |
< |
(exit $ac_status); } && { |
| 3805 |
< |
test -z "$ac_fc_werror_flag" || |
| 3806 |
< |
test ! -s conftest.err |
| 3807 |
< |
} && test -s conftest.$ac_objext; then |
| 3804 |
> |
(exit $ac_status); } && |
| 3805 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 3806 |
> |
|| test ! -s conftest.err' |
| 3807 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3808 |
> |
(eval $ac_try) 2>&5 |
| 3809 |
> |
ac_status=$? |
| 3810 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3811 |
> |
(exit $ac_status); }; } && |
| 3812 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 3813 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3814 |
> |
(eval $ac_try) 2>&5 |
| 3815 |
> |
ac_status=$? |
| 3816 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3817 |
> |
(exit $ac_status); }; }; then |
| 3818 |
|
ac_cv_fc_srcext_F90=$ac_flag; break |
| 3819 |
|
else |
| 3820 |
|
echo "$as_me: failed program was:" >&5 |
| 3821 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3822 |
|
|
| 4457 |
– |
|
| 3823 |
|
fi |
| 3824 |
< |
|
| 4460 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3824 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3825 |
|
done |
| 3826 |
< |
rm -rf conftest.$ac_objext conftest.F90 |
| 3827 |
< |
ac_fcflags_srcext=$ac_fcflags_srcext_save |
| 3826 |
> |
rm -f conftest.$ac_objext conftest.F90 |
| 3827 |
> |
FCFLAGS_SRCEXT=$ac_fc_srcext_FCFLAGS_SRCEXT_save |
| 3828 |
|
|
| 3829 |
|
fi |
| 3830 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5 |
| 3831 |
< |
echo "${ECHO_T}$ac_cv_fc_srcext_F90" >&6; } |
| 3830 |
> |
echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5 |
| 3831 |
> |
echo "${ECHO_T}$ac_cv_fc_srcext_F90" >&6 |
| 3832 |
|
if test "x$ac_cv_fc_srcext_F90" = xunknown; then |
| 3833 |
|
{ { echo "$as_me:$LINENO: error: Fortran could not compile .F90 files" >&5 |
| 3834 |
|
echo "$as_me: error: Fortran could not compile .F90 files" >&2;} |
| 3835 |
|
{ (exit 1); exit 1; }; } |
| 3836 |
|
else |
| 3837 |
< |
ac_fc_srcext=F90 |
| 3837 |
> |
FC_SRCEXT=F90 |
| 3838 |
|
if test "x$ac_cv_fc_srcext_F90" = xnone; then |
| 3839 |
< |
ac_fcflags_srcext="" |
| 3839 |
> |
FCFLAGS_SRCEXT="" |
| 3840 |
|
FCFLAGS_F90="" |
| 3841 |
|
else |
| 3842 |
< |
ac_fcflags_srcext=$ac_cv_fc_srcext_F90 |
| 3842 |
> |
FCFLAGS_SRCEXT=$ac_cv_fc_srcext_F90 |
| 3843 |
|
FCFLAGS_F90=$ac_cv_fc_srcext_F90 |
| 3844 |
|
fi |
| 3845 |
|
|
| 3846 |
|
|
| 3847 |
|
fi |
| 4484 |
– |
ac_ext=${ac_fc_srcext-f} |
| 4485 |
– |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4486 |
– |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4487 |
– |
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 3848 |
|
|
| 3849 |
|
|
| 3850 |
|
|
| 3875 |
|
PREPFLAG="" |
| 3876 |
|
fi |
| 3877 |
|
|
| 3878 |
< |
{ echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
| 3879 |
< |
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6; } |
| 3878 |
> |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5 |
| 3879 |
> |
echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6 |
| 3880 |
|
|
| 3881 |
< |
ac_ext=${ac_fc_srcext-f} |
| 3882 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 3883 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 3881 |
> |
|
| 3882 |
> |
ac_ext=${FC_SRCEXT-f} |
| 3883 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 3884 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 3885 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 3886 |
|
|
| 3887 |
|
ac_save_ext=$ac_ext |
| 3901 |
|
end program conftest |
| 3902 |
|
|
| 3903 |
|
_ACEOF |
| 3904 |
< |
rm -rf conftest.$ac_objext |
| 3905 |
< |
if { (ac_try="$ac_compile" |
| 3906 |
< |
case "(($ac_try" in |
| 4546 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4547 |
< |
*) ac_try_echo=$ac_try;; |
| 4548 |
< |
esac |
| 4549 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4550 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 3904 |
> |
rm -f conftest.$ac_objext |
| 3905 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3906 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 3907 |
|
ac_status=$? |
| 3908 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 3909 |
|
rm -f conftest.er1 |
| 3910 |
|
cat conftest.err >&5 |
| 3911 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3912 |
< |
(exit $ac_status); } && { |
| 3913 |
< |
test -z "$ac_fc_werror_flag" || |
| 3914 |
< |
test ! -s conftest.err |
| 3915 |
< |
} && test -s conftest.$ac_objext; then |
| 3912 |
> |
(exit $ac_status); } && |
| 3913 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 3914 |
> |
|| test ! -s conftest.err' |
| 3915 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3916 |
> |
(eval $ac_try) 2>&5 |
| 3917 |
> |
ac_status=$? |
| 3918 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3919 |
> |
(exit $ac_status); }; } && |
| 3920 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 3921 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3922 |
> |
(eval $ac_try) 2>&5 |
| 3923 |
> |
ac_status=$? |
| 3924 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3925 |
> |
(exit $ac_status); }; }; then |
| 3926 |
|
prepflagworks=1 |
| 3927 |
|
else |
| 3928 |
|
echo "$as_me: failed program was:" >&5 |
| 3929 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3930 |
|
|
| 3931 |
< |
prepflagworks=0 |
| 3931 |
> |
prepflagworks=0 |
| 3932 |
|
fi |
| 3933 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3934 |
|
|
| 4568 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4569 |
– |
|
| 3935 |
|
FCFLAGS_SRCEXT=$ac_save_FCFLAGS_SRCEXT |
| 3936 |
|
ac_ext=$ac_save_ext |
| 3937 |
< |
ac_ext=${ac_fc_srcext-f} |
| 3938 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 3939 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 3937 |
> |
ac_ext=${FC_SRCEXT-f} |
| 3938 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 3939 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 3940 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 3941 |
|
|
| 3942 |
|
|
| 3943 |
|
if test "$prepflagworks" = 1; then |
| 3944 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 3945 |
< |
echo "${ECHO_T}yes" >&6; } |
| 3944 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 3945 |
> |
echo "${ECHO_T}yes" >&6 |
| 3946 |
|
FCFLAGS_SRCEXT="${PREPFLAG}" |
| 3947 |
|
|
| 3948 |
|
else |
| 3949 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 3950 |
< |
echo "${ECHO_T}no" >&6; } |
| 3949 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 3950 |
> |
echo "${ECHO_T}no" >&6 |
| 3951 |
|
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5 |
| 3952 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;} |
| 3953 |
|
{ (exit 1); exit 1; }; } |
| 3983 |
|
PREPDEFFLAG=" " |
| 3984 |
|
fi |
| 3985 |
|
|
| 3986 |
< |
{ echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
| 3987 |
< |
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6; } |
| 3986 |
> |
echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5 |
| 3987 |
> |
echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6 |
| 3988 |
|
|
| 3989 |
< |
ac_ext=${ac_fc_srcext-f} |
| 3990 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 3991 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 3989 |
> |
|
| 3990 |
> |
ac_ext=${FC_SRCEXT-f} |
| 3991 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 3992 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 3993 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 3994 |
|
|
| 3995 |
|
ac_save_ext=$ac_ext |
| 4013 |
|
end program conftest |
| 4014 |
|
|
| 4015 |
|
_ACEOF |
| 4016 |
< |
rm -rf conftest.$ac_objext |
| 4017 |
< |
if { (ac_try="$ac_compile" |
| 4018 |
< |
case "(($ac_try" in |
| 4653 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4654 |
< |
*) ac_try_echo=$ac_try;; |
| 4655 |
< |
esac |
| 4656 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4657 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 4016 |
> |
rm -f conftest.$ac_objext |
| 4017 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4018 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4019 |
|
ac_status=$? |
| 4020 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4021 |
|
rm -f conftest.er1 |
| 4022 |
|
cat conftest.err >&5 |
| 4023 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4024 |
< |
(exit $ac_status); } && { |
| 4025 |
< |
test -z "$ac_fc_werror_flag" || |
| 4026 |
< |
test ! -s conftest.err |
| 4027 |
< |
} && test -s conftest.$ac_objext; then |
| 4024 |
> |
(exit $ac_status); } && |
| 4025 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 4026 |
> |
|| test ! -s conftest.err' |
| 4027 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4028 |
> |
(eval $ac_try) 2>&5 |
| 4029 |
> |
ac_status=$? |
| 4030 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4031 |
> |
(exit $ac_status); }; } && |
| 4032 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4033 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4034 |
> |
(eval $ac_try) 2>&5 |
| 4035 |
> |
ac_status=$? |
| 4036 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4037 |
> |
(exit $ac_status); }; }; then |
| 4038 |
|
prepdefflagworks=1 |
| 4039 |
|
else |
| 4040 |
|
echo "$as_me: failed program was:" >&5 |
| 4041 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4042 |
|
|
| 4043 |
< |
prepdefflagworks=0 |
| 4043 |
> |
prepdefflagworks=0 |
| 4044 |
|
fi |
| 4045 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4046 |
|
|
| 4675 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4676 |
– |
|
| 4047 |
|
FCFLAGS=$ac_save_FCFLAGS |
| 4048 |
|
ac_ext=$ac_save_ext |
| 4049 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4050 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4051 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4049 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4050 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4051 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4052 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4053 |
|
|
| 4054 |
|
|
| 4055 |
|
if test "$prepdefflagworks" = 1; then |
| 4056 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 4057 |
< |
echo "${ECHO_T}yes" >&6; } |
| 4056 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 4057 |
> |
echo "${ECHO_T}yes" >&6 |
| 4058 |
|
|
| 4059 |
|
else |
| 4060 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 4061 |
< |
echo "${ECHO_T}no" >&6; } |
| 4060 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 4061 |
> |
echo "${ECHO_T}no" >&6 |
| 4062 |
|
{ { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5 |
| 4063 |
|
echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;} |
| 4064 |
|
{ (exit 1); exit 1; }; } |
| 4065 |
|
fi |
| 4066 |
|
fi |
| 4067 |
|
|
| 4068 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4069 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4070 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4068 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4069 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4070 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4071 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4072 |
< |
{ echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
| 4073 |
< |
echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6; } |
| 4072 |
> |
echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
| 4073 |
> |
echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6 |
| 4074 |
|
if test "${ac_cv_prog_fc_v+set}" = set; then |
| 4075 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4076 |
|
else |
| 4079 |
|
|
| 4080 |
|
end |
| 4081 |
|
_ACEOF |
| 4082 |
< |
rm -rf conftest.$ac_objext |
| 4083 |
< |
if { (ac_try="$ac_compile" |
| 4084 |
< |
case "(($ac_try" in |
| 4715 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4716 |
< |
*) ac_try_echo=$ac_try;; |
| 4717 |
< |
esac |
| 4718 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 4719 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 4082 |
> |
rm -f conftest.$ac_objext |
| 4083 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4084 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4085 |
|
ac_status=$? |
| 4086 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4087 |
< |
rm -rf conftest.er1 |
| 4087 |
> |
rm -f conftest.er1 |
| 4088 |
|
cat conftest.err >&5 |
| 4089 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4090 |
< |
(exit $ac_status); } && { |
| 4091 |
< |
test -z "$ac_fc_werror_flag" || |
| 4092 |
< |
test ! -s conftest.err |
| 4093 |
< |
} && test -s conftest.$ac_objext; then |
| 4090 |
> |
(exit $ac_status); } && |
| 4091 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 4092 |
> |
|| test ! -s conftest.err' |
| 4093 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4094 |
> |
(eval $ac_try) 2>&5 |
| 4095 |
> |
ac_status=$? |
| 4096 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4097 |
> |
(exit $ac_status); }; } && |
| 4098 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4099 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4100 |
> |
(eval $ac_try) 2>&5 |
| 4101 |
> |
ac_status=$? |
| 4102 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4103 |
> |
(exit $ac_status); }; }; then |
| 4104 |
|
ac_cv_prog_fc_v= |
| 4105 |
|
# Try some options frequently used verbose output |
| 4106 |
|
for ac_verb in -v -verbose --verbose -V -\#\#\#; do |
| 4116 |
|
# flags. |
| 4117 |
|
ac_save_FFLAGS=$FCFLAGS |
| 4118 |
|
FCFLAGS="$FCFLAGS $ac_verb" |
| 4119 |
< |
eval "set x $ac_link" |
| 4745 |
< |
shift |
| 4746 |
< |
echo "$as_me:$LINENO: $*" >&5 |
| 4119 |
> |
(eval echo $as_me:4119: \"$ac_link\") >&5 |
| 4120 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 4121 |
|
echo "$ac_fc_v_output" >&5 |
| 4122 |
|
FCFLAGS=$ac_save_FFLAGS |
| 4123 |
|
|
| 4124 |
< |
rm -rf conftest* |
| 4124 |
> |
rm -f conftest* |
| 4125 |
|
|
| 4126 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
| 4127 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
| 4130 |
|
grep 'LPATH is:' | |
| 4131 |
|
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
| 4132 |
|
|
| 4760 |
– |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
| 4761 |
– |
# that detects unbalanced quotes in FLIBS should be implemented |
| 4762 |
– |
# and (ugh) tested at some point. |
| 4133 |
|
case $ac_fc_v_output in |
| 4134 |
|
# If we are using xlf then replace all the commas with spaces. |
| 4135 |
|
*xlfentry*) |
| 4138 |
|
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
| 4139 |
|
# $LIBS confuse us, and the libraries appear later in the output anyway). |
| 4140 |
|
*mGLOB_options_string*) |
| 4141 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
| 4141 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; |
| 4142 |
|
|
| 4773 |
– |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
| 4774 |
– |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
| 4775 |
– |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
| 4776 |
– |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
| 4777 |
– |
ac_fc_v_output=`echo $ac_fc_v_output | sed "\ |
| 4778 |
– |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
| 4779 |
– |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
| 4780 |
– |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
| 4781 |
– |
|
| 4143 |
|
# If we are using Cray Fortran then delete quotes. |
| 4144 |
+ |
# Use "\"" instead of '"' for font-lock-mode. |
| 4145 |
+ |
# FIXME: a more general fix for quoted arguments with spaces? |
| 4146 |
|
*cft90*) |
| 4147 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;; |
| 4147 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; |
| 4148 |
|
esac |
| 4149 |
|
|
| 4150 |
|
|
| 4165 |
|
echo "$as_me: failed program was:" >&5 |
| 4166 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4167 |
|
|
| 4168 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 4168 |
> |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 4169 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
| 4170 |
|
fi |
| 4171 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4172 |
|
|
| 4809 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4810 |
– |
|
| 4173 |
|
fi |
| 4174 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
| 4175 |
< |
echo "${ECHO_T}$ac_cv_prog_fc_v" >&6; } |
| 4176 |
< |
{ echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
| 4177 |
< |
echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6; } |
| 4174 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
| 4175 |
> |
echo "${ECHO_T}$ac_cv_prog_fc_v" >&6 |
| 4176 |
> |
echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
| 4177 |
> |
echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6 |
| 4178 |
|
if test "${ac_cv_fc_libs+set}" = set; then |
| 4179 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4180 |
|
else |
| 4194 |
|
# flags. |
| 4195 |
|
ac_save_FFLAGS=$FCFLAGS |
| 4196 |
|
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
| 4197 |
< |
eval "set x $ac_link" |
| 4836 |
< |
shift |
| 4837 |
< |
echo "$as_me:$LINENO: $*" >&5 |
| 4197 |
> |
(eval echo $as_me:4197: \"$ac_link\") >&5 |
| 4198 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 4199 |
|
echo "$ac_fc_v_output" >&5 |
| 4200 |
|
FCFLAGS=$ac_save_FFLAGS |
| 4201 |
|
|
| 4202 |
< |
rm -rf conftest* |
| 4202 |
> |
rm -f conftest* |
| 4203 |
|
|
| 4204 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
| 4205 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
| 4208 |
|
grep 'LPATH is:' | |
| 4209 |
|
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
| 4210 |
|
|
| 4851 |
– |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
| 4852 |
– |
# that detects unbalanced quotes in FLIBS should be implemented |
| 4853 |
– |
# and (ugh) tested at some point. |
| 4211 |
|
case $ac_fc_v_output in |
| 4212 |
|
# If we are using xlf then replace all the commas with spaces. |
| 4213 |
|
*xlfentry*) |
| 4216 |
|
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
| 4217 |
|
# $LIBS confuse us, and the libraries appear later in the output anyway). |
| 4218 |
|
*mGLOB_options_string*) |
| 4219 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
| 4219 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; |
| 4220 |
|
|
| 4864 |
– |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
| 4865 |
– |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
| 4866 |
– |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
| 4867 |
– |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
| 4868 |
– |
ac_fc_v_output=`echo $ac_fc_v_output | sed "\ |
| 4869 |
– |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
| 4870 |
– |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
| 4871 |
– |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
| 4872 |
– |
|
| 4221 |
|
# If we are using Cray Fortran then delete quotes. |
| 4222 |
+ |
# Use "\"" instead of '"' for font-lock-mode. |
| 4223 |
+ |
# FIXME: a more general fix for quoted arguments with spaces? |
| 4224 |
|
*cft90*) |
| 4225 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;; |
| 4225 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; |
| 4226 |
|
esac |
| 4227 |
|
|
| 4228 |
|
|
| 4276 |
|
|
| 4277 |
|
;; |
| 4278 |
|
# Ignore these flags. |
| 4279 |
< |
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) |
| 4279 |
> |
-lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*) |
| 4280 |
|
;; |
| 4281 |
|
-lkernel32) |
| 4282 |
|
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 4283 |
|
;; |
| 4284 |
< |
-[LRuYz]) |
| 4284 |
> |
-[LRuY]) |
| 4285 |
|
# These flags, when seen by themselves, take an argument. |
| 4286 |
|
# We remove the space between option and argument and re-iterate |
| 4287 |
|
# unless we find an empty arg or a new option (starting with -) |
| 4329 |
|
fi |
| 4330 |
|
|
| 4331 |
|
;; |
| 4982 |
– |
-zallextract*| -zdefaultextract) |
| 4983 |
– |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 4984 |
– |
;; |
| 4332 |
|
# Ignore everything else. |
| 4333 |
|
esac |
| 4334 |
|
done |
| 4355 |
|
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
| 4356 |
|
|
| 4357 |
|
fi |
| 4358 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
| 4359 |
< |
echo "${ECHO_T}$ac_cv_fc_libs" >&6; } |
| 4358 |
> |
echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
| 4359 |
> |
echo "${ECHO_T}$ac_cv_fc_libs" >&6 |
| 4360 |
|
FCLIBS="$ac_cv_fc_libs" |
| 4361 |
|
|
| 4362 |
|
|
| 4363 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4364 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4365 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4363 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4364 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4365 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4366 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4367 |
|
|
| 4368 |
|
|
| 4369 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4370 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4371 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4369 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4370 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4371 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4372 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4373 |
|
|
| 4374 |
< |
{ echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5 |
| 4375 |
< |
echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6; } |
| 4374 |
> |
echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5 |
| 4375 |
> |
echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6 |
| 4376 |
|
if test "${ac_cv_fc_dummy_main+set}" = set; then |
| 4377 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4378 |
|
else |
| 4409 |
|
return 0; |
| 4410 |
|
} |
| 4411 |
|
_ACEOF |
| 4412 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 4413 |
< |
if { (ac_try="$ac_link" |
| 4414 |
< |
case "(($ac_try" in |
| 5068 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5069 |
< |
*) ac_try_echo=$ac_try;; |
| 5070 |
< |
esac |
| 5071 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5072 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 4412 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4413 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4414 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4415 |
|
ac_status=$? |
| 4416 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4417 |
|
rm -f conftest.er1 |
| 4418 |
|
cat conftest.err >&5 |
| 4419 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4420 |
< |
(exit $ac_status); } && { |
| 4421 |
< |
test -z "$ac_c_werror_flag" || |
| 4422 |
< |
test ! -s conftest.err |
| 4423 |
< |
} && test -s conftest$ac_exeext && |
| 4424 |
< |
$as_test_x conftest$ac_exeext; then |
| 4420 |
> |
(exit $ac_status); } && |
| 4421 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4422 |
> |
|| test ! -s conftest.err' |
| 4423 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4424 |
> |
(eval $ac_try) 2>&5 |
| 4425 |
> |
ac_status=$? |
| 4426 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4427 |
> |
(exit $ac_status); }; } && |
| 4428 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4429 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4430 |
> |
(eval $ac_try) 2>&5 |
| 4431 |
> |
ac_status=$? |
| 4432 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4433 |
> |
(exit $ac_status); }; }; then |
| 4434 |
|
ac_cv_fortran_dummy_main=none |
| 4435 |
|
else |
| 4436 |
|
echo "$as_me: failed program was:" >&5 |
| 4437 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4438 |
|
|
| 4439 |
< |
ac_cv_fortran_dummy_main=unknown |
| 4439 |
> |
ac_cv_fortran_dummy_main=unknown |
| 4440 |
|
fi |
| 4441 |
< |
|
| 5091 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4441 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4442 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4443 |
|
|
| 4444 |
|
if test $ac_cv_fortran_dummy_main = unknown; then |
| 4466 |
|
return 0; |
| 4467 |
|
} |
| 4468 |
|
_ACEOF |
| 4469 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 4470 |
< |
if { (ac_try="$ac_link" |
| 4471 |
< |
case "(($ac_try" in |
| 5122 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5123 |
< |
*) ac_try_echo=$ac_try;; |
| 5124 |
< |
esac |
| 5125 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5126 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 4469 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4470 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4471 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4472 |
|
ac_status=$? |
| 4473 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4474 |
|
rm -f conftest.er1 |
| 4475 |
|
cat conftest.err >&5 |
| 4476 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4477 |
< |
(exit $ac_status); } && { |
| 4478 |
< |
test -z "$ac_c_werror_flag" || |
| 4479 |
< |
test ! -s conftest.err |
| 4480 |
< |
} && test -s conftest$ac_exeext && |
| 4481 |
< |
$as_test_x conftest$ac_exeext; then |
| 4477 |
> |
(exit $ac_status); } && |
| 4478 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4479 |
> |
|| test ! -s conftest.err' |
| 4480 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4481 |
> |
(eval $ac_try) 2>&5 |
| 4482 |
> |
ac_status=$? |
| 4483 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4484 |
> |
(exit $ac_status); }; } && |
| 4485 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4486 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4487 |
> |
(eval $ac_try) 2>&5 |
| 4488 |
> |
ac_status=$? |
| 4489 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4490 |
> |
(exit $ac_status); }; }; then |
| 4491 |
|
ac_cv_fortran_dummy_main=$ac_func; break |
| 4492 |
|
else |
| 4493 |
|
echo "$as_me: failed program was:" >&5 |
| 4494 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4495 |
|
|
| 5142 |
– |
|
| 4496 |
|
fi |
| 4497 |
< |
|
| 5145 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4497 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4498 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4499 |
|
done |
| 4500 |
|
fi |
| 4501 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4502 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4503 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4501 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4502 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4503 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4504 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4505 |
|
ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main |
| 4506 |
< |
rm -rf conftest* |
| 4506 |
> |
rm -f conftest* |
| 4507 |
|
LIBS=$ac_fc_dm_save_LIBS |
| 4508 |
|
|
| 4509 |
|
fi |
| 4510 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5 |
| 4511 |
< |
echo "${ECHO_T}$ac_cv_fc_dummy_main" >&6; } |
| 4510 |
> |
echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5 |
| 4511 |
> |
echo "${ECHO_T}$ac_cv_fc_dummy_main" >&6 |
| 4512 |
|
FC_DUMMY_MAIN=$ac_cv_fc_dummy_main |
| 4513 |
|
if test "$FC_DUMMY_MAIN" != unknown; then |
| 4514 |
|
if test $FC_DUMMY_MAIN != none; then |
| 4534 |
|
fi |
| 4535 |
|
|
| 4536 |
|
|
| 4537 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4538 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4539 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4537 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4538 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4539 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4540 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4541 |
|
|
| 4542 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4543 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4544 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4542 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4543 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4544 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4545 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4546 |
< |
{ echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5 |
| 4547 |
< |
echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6; } |
| 4546 |
> |
echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5 |
| 4547 |
> |
echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6 |
| 4548 |
|
if test "${ac_cv_fc_mangling+set}" = set; then |
| 4549 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4550 |
|
else |
| 4556 |
|
return |
| 4557 |
|
end |
| 4558 |
|
_ACEOF |
| 4559 |
< |
rm -rf conftest.$ac_objext |
| 4560 |
< |
if { (ac_try="$ac_compile" |
| 4561 |
< |
case "(($ac_try" in |
| 5210 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5211 |
< |
*) ac_try_echo=$ac_try;; |
| 5212 |
< |
esac |
| 5213 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5214 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 4559 |
> |
rm -f conftest.$ac_objext |
| 4560 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4561 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4562 |
|
ac_status=$? |
| 4563 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4564 |
|
rm -f conftest.er1 |
| 4565 |
|
cat conftest.err >&5 |
| 4566 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4567 |
< |
(exit $ac_status); } && { |
| 4568 |
< |
test -z "$ac_fc_werror_flag" || |
| 4569 |
< |
test ! -s conftest.err |
| 4570 |
< |
} && test -s conftest.$ac_objext; then |
| 4567 |
> |
(exit $ac_status); } && |
| 4568 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 4569 |
> |
|| test ! -s conftest.err' |
| 4570 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4571 |
> |
(eval $ac_try) 2>&5 |
| 4572 |
> |
ac_status=$? |
| 4573 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4574 |
> |
(exit $ac_status); }; } && |
| 4575 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4576 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4577 |
> |
(eval $ac_try) 2>&5 |
| 4578 |
> |
ac_status=$? |
| 4579 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4580 |
> |
(exit $ac_status); }; }; then |
| 4581 |
|
mv conftest.$ac_objext cfortran_test.$ac_objext |
| 4582 |
|
|
| 4583 |
|
ac_save_LIBS=$LIBS |
| 4599 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4600 |
|
/* end confdefs.h. */ |
| 4601 |
|
|
| 4602 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 5246 |
< |
Use char because int might match the return type of a GCC |
| 5247 |
< |
builtin and then its argument prototype would still apply. */ |
| 4602 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4603 |
|
#ifdef __cplusplus |
| 4604 |
|
extern "C" |
| 4605 |
|
#endif |
| 4606 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 4607 |
+ |
builtin and then its argument prototype would still apply. */ |
| 4608 |
|
char $ac_func (); |
| 4609 |
|
#ifdef FC_DUMMY_MAIN |
| 4610 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 4617 |
|
int |
| 4618 |
|
main () |
| 4619 |
|
{ |
| 4620 |
< |
return $ac_func (); |
| 4620 |
> |
$ac_func (); |
| 4621 |
|
; |
| 4622 |
|
return 0; |
| 4623 |
|
} |
| 4624 |
|
_ACEOF |
| 4625 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 4626 |
< |
if { (ac_try="$ac_link" |
| 4627 |
< |
case "(($ac_try" in |
| 5271 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5272 |
< |
*) ac_try_echo=$ac_try;; |
| 5273 |
< |
esac |
| 5274 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5275 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 4625 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4626 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4627 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4628 |
|
ac_status=$? |
| 4629 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4630 |
|
rm -f conftest.er1 |
| 4631 |
|
cat conftest.err >&5 |
| 4632 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4633 |
< |
(exit $ac_status); } && { |
| 4634 |
< |
test -z "$ac_c_werror_flag" || |
| 4635 |
< |
test ! -s conftest.err |
| 4636 |
< |
} && test -s conftest$ac_exeext && |
| 4637 |
< |
$as_test_x conftest$ac_exeext; then |
| 4633 |
> |
(exit $ac_status); } && |
| 4634 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4635 |
> |
|| test ! -s conftest.err' |
| 4636 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4637 |
> |
(eval $ac_try) 2>&5 |
| 4638 |
> |
ac_status=$? |
| 4639 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4640 |
> |
(exit $ac_status); }; } && |
| 4641 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4642 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4643 |
> |
(eval $ac_try) 2>&5 |
| 4644 |
> |
ac_status=$? |
| 4645 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4646 |
> |
(exit $ac_status); }; }; then |
| 4647 |
|
ac_success=yes; break 2 |
| 4648 |
|
else |
| 4649 |
|
echo "$as_me: failed program was:" >&5 |
| 4650 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4651 |
|
|
| 5291 |
– |
|
| 4652 |
|
fi |
| 4653 |
< |
|
| 5294 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4653 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4654 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4655 |
|
done |
| 4656 |
|
done |
| 4657 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4658 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4659 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4657 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4658 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4659 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4660 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4661 |
|
|
| 4662 |
|
if test "$ac_success" = "yes"; then |
| 4686 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 4687 |
|
/* end confdefs.h. */ |
| 4688 |
|
|
| 4689 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 5331 |
< |
Use char because int might match the return type of a GCC |
| 5332 |
< |
builtin and then its argument prototype would still apply. */ |
| 4689 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 4690 |
|
#ifdef __cplusplus |
| 4691 |
|
extern "C" |
| 4692 |
|
#endif |
| 4693 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 4694 |
+ |
builtin and then its argument prototype would still apply. */ |
| 4695 |
|
char $ac_func (); |
| 4696 |
|
#ifdef FC_DUMMY_MAIN |
| 4697 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 4704 |
|
int |
| 4705 |
|
main () |
| 4706 |
|
{ |
| 4707 |
< |
return $ac_func (); |
| 4707 |
> |
$ac_func (); |
| 4708 |
|
; |
| 4709 |
|
return 0; |
| 4710 |
|
} |
| 4711 |
|
_ACEOF |
| 4712 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 4713 |
< |
if { (ac_try="$ac_link" |
| 4714 |
< |
case "(($ac_try" in |
| 5356 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5357 |
< |
*) ac_try_echo=$ac_try;; |
| 5358 |
< |
esac |
| 5359 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5360 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 4712 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 4713 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 4714 |
> |
(eval $ac_link) 2>conftest.er1 |
| 4715 |
|
ac_status=$? |
| 4716 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4717 |
|
rm -f conftest.er1 |
| 4718 |
|
cat conftest.err >&5 |
| 4719 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4720 |
< |
(exit $ac_status); } && { |
| 4721 |
< |
test -z "$ac_c_werror_flag" || |
| 4722 |
< |
test ! -s conftest.err |
| 4723 |
< |
} && test -s conftest$ac_exeext && |
| 4724 |
< |
$as_test_x conftest$ac_exeext; then |
| 4720 |
> |
(exit $ac_status); } && |
| 4721 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 4722 |
> |
|| test ! -s conftest.err' |
| 4723 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4724 |
> |
(eval $ac_try) 2>&5 |
| 4725 |
> |
ac_status=$? |
| 4726 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4727 |
> |
(exit $ac_status); }; } && |
| 4728 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 4729 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4730 |
> |
(eval $ac_try) 2>&5 |
| 4731 |
> |
ac_status=$? |
| 4732 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4733 |
> |
(exit $ac_status); }; }; then |
| 4734 |
|
ac_success_extra=yes; break |
| 4735 |
|
else |
| 4736 |
|
echo "$as_me: failed program was:" >&5 |
| 4737 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4738 |
|
|
| 5376 |
– |
|
| 4739 |
|
fi |
| 4740 |
< |
|
| 5379 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 4740 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 4741 |
|
conftest$ac_exeext conftest.$ac_ext |
| 4742 |
|
done |
| 4743 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4744 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4745 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4743 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4744 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4745 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4746 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4747 |
|
|
| 4748 |
|
if test "$ac_success_extra" = "yes"; then |
| 4765 |
|
fi |
| 4766 |
|
|
| 4767 |
|
LIBS=$ac_save_LIBS |
| 4768 |
< |
rm -rf cfortran_test* conftest* |
| 4768 |
> |
rm -f cfortran_test* conftest* |
| 4769 |
|
else |
| 4770 |
|
echo "$as_me: failed program was:" >&5 |
| 4771 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4772 |
|
|
| 4773 |
< |
{ { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program |
| 4773 |
> |
{ { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program |
| 4774 |
|
See \`config.log' for more details." >&5 |
| 4775 |
|
echo "$as_me: error: cannot compile a simple Fortran program |
| 4776 |
|
See \`config.log' for more details." >&2;} |
| 4777 |
|
{ (exit 1); exit 1; }; } |
| 4778 |
|
fi |
| 4779 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4780 |
|
|
| 5419 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5420 |
– |
|
| 4781 |
|
fi |
| 4782 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5 |
| 4783 |
< |
echo "${ECHO_T}$ac_cv_fc_mangling" >&6; } |
| 4782 |
> |
echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5 |
| 4783 |
> |
echo "${ECHO_T}$ac_cv_fc_mangling" >&6 |
| 4784 |
|
|
| 4785 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4786 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4787 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4785 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4786 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4787 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4788 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4789 |
|
|
| 4790 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4791 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4792 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4790 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4791 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4792 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4793 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4794 |
|
|
| 4795 |
|
|
| 4872 |
|
;; |
| 4873 |
|
esac |
| 4874 |
|
|
| 4875 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4876 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4877 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4875 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4876 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4877 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4878 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4879 |
|
|
| 4880 |
|
|
| 4881 |
|
|
| 4882 |
< |
ac_ext=${ac_fc_srcext-f} |
| 4883 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 4884 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 4882 |
> |
ac_ext=${FC_SRCEXT-f} |
| 4883 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 4884 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 4885 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 4886 |
< |
{ echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
| 4887 |
< |
echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6; } |
| 4886 |
> |
echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5 |
| 4887 |
> |
echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6 |
| 4888 |
|
if test "${ac_cv_prog_fc_v+set}" = set; then |
| 4889 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4890 |
|
else |
| 4893 |
|
|
| 4894 |
|
end |
| 4895 |
|
_ACEOF |
| 4896 |
< |
rm -rf conftest.$ac_objext |
| 4897 |
< |
if { (ac_try="$ac_compile" |
| 4898 |
< |
case "(($ac_try" in |
| 5539 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5540 |
< |
*) ac_try_echo=$ac_try;; |
| 5541 |
< |
esac |
| 5542 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 5543 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 4896 |
> |
rm -f conftest.$ac_objext |
| 4897 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 4898 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 4899 |
|
ac_status=$? |
| 4900 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 4901 |
|
rm -f conftest.er1 |
| 4902 |
|
cat conftest.err >&5 |
| 4903 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4904 |
< |
(exit $ac_status); } && { |
| 4905 |
< |
test -z "$ac_fc_werror_flag" || |
| 4906 |
< |
test ! -s conftest.err |
| 4907 |
< |
} && test -s conftest.$ac_objext; then |
| 4904 |
> |
(exit $ac_status); } && |
| 4905 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 4906 |
> |
|| test ! -s conftest.err' |
| 4907 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4908 |
> |
(eval $ac_try) 2>&5 |
| 4909 |
> |
ac_status=$? |
| 4910 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4911 |
> |
(exit $ac_status); }; } && |
| 4912 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 4913 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 4914 |
> |
(eval $ac_try) 2>&5 |
| 4915 |
> |
ac_status=$? |
| 4916 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4917 |
> |
(exit $ac_status); }; }; then |
| 4918 |
|
ac_cv_prog_fc_v= |
| 4919 |
|
# Try some options frequently used verbose output |
| 4920 |
|
for ac_verb in -v -verbose --verbose -V -\#\#\#; do |
| 4930 |
|
# flags. |
| 4931 |
|
ac_save_FFLAGS=$FCFLAGS |
| 4932 |
|
FCFLAGS="$FCFLAGS $ac_verb" |
| 4933 |
< |
eval "set x $ac_link" |
| 5569 |
< |
shift |
| 5570 |
< |
echo "$as_me:$LINENO: $*" >&5 |
| 4933 |
> |
(eval echo $as_me:4933: \"$ac_link\") >&5 |
| 4934 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 4935 |
|
echo "$ac_fc_v_output" >&5 |
| 4936 |
|
FCFLAGS=$ac_save_FFLAGS |
| 4937 |
|
|
| 4938 |
< |
rm -rf conftest* |
| 4938 |
> |
rm -f conftest* |
| 4939 |
|
|
| 4940 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
| 4941 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
| 4944 |
|
grep 'LPATH is:' | |
| 4945 |
|
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
| 4946 |
|
|
| 5584 |
– |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
| 5585 |
– |
# that detects unbalanced quotes in FLIBS should be implemented |
| 5586 |
– |
# and (ugh) tested at some point. |
| 4947 |
|
case $ac_fc_v_output in |
| 4948 |
|
# If we are using xlf then replace all the commas with spaces. |
| 4949 |
|
*xlfentry*) |
| 4952 |
|
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
| 4953 |
|
# $LIBS confuse us, and the libraries appear later in the output anyway). |
| 4954 |
|
*mGLOB_options_string*) |
| 4955 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
| 4955 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; |
| 4956 |
|
|
| 5597 |
– |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
| 5598 |
– |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
| 5599 |
– |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
| 5600 |
– |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
| 5601 |
– |
ac_fc_v_output=`echo $ac_fc_v_output | sed "\ |
| 5602 |
– |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
| 5603 |
– |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
| 5604 |
– |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
| 5605 |
– |
|
| 4957 |
|
# If we are using Cray Fortran then delete quotes. |
| 4958 |
+ |
# Use "\"" instead of '"' for font-lock-mode. |
| 4959 |
+ |
# FIXME: a more general fix for quoted arguments with spaces? |
| 4960 |
|
*cft90*) |
| 4961 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;; |
| 4961 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; |
| 4962 |
|
esac |
| 4963 |
|
|
| 4964 |
|
|
| 4979 |
|
echo "$as_me: failed program was:" >&5 |
| 4980 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 4981 |
|
|
| 4982 |
< |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 4982 |
> |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 4983 |
|
echo "$as_me: WARNING: compilation failed" >&2;} |
| 4984 |
|
fi |
| 4985 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4986 |
|
|
| 5633 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5634 |
– |
|
| 4987 |
|
fi |
| 4988 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
| 4989 |
< |
echo "${ECHO_T}$ac_cv_prog_fc_v" >&6; } |
| 4990 |
< |
{ echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
| 4991 |
< |
echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6; } |
| 4988 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5 |
| 4989 |
> |
echo "${ECHO_T}$ac_cv_prog_fc_v" >&6 |
| 4990 |
> |
echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5 |
| 4991 |
> |
echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6 |
| 4992 |
|
if test "${ac_cv_fc_libs+set}" = set; then |
| 4993 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4994 |
|
else |
| 5008 |
|
# flags. |
| 5009 |
|
ac_save_FFLAGS=$FCFLAGS |
| 5010 |
|
FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v" |
| 5011 |
< |
eval "set x $ac_link" |
| 5660 |
< |
shift |
| 5661 |
< |
echo "$as_me:$LINENO: $*" >&5 |
| 5011 |
> |
(eval echo $as_me:5011: \"$ac_link\") >&5 |
| 5012 |
|
ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 5013 |
|
echo "$ac_fc_v_output" >&5 |
| 5014 |
|
FCFLAGS=$ac_save_FFLAGS |
| 5015 |
|
|
| 5016 |
< |
rm -rf conftest* |
| 5016 |
> |
rm -f conftest* |
| 5017 |
|
|
| 5018 |
|
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
| 5019 |
|
# /foo, /bar, and /baz are search directories for the Fortran linker. |
| 5022 |
|
grep 'LPATH is:' | |
| 5023 |
|
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output" |
| 5024 |
|
|
| 5675 |
– |
# FIXME: we keep getting bitten by quoted arguments; a more general fix |
| 5676 |
– |
# that detects unbalanced quotes in FLIBS should be implemented |
| 5677 |
– |
# and (ugh) tested at some point. |
| 5025 |
|
case $ac_fc_v_output in |
| 5026 |
|
# If we are using xlf then replace all the commas with spaces. |
| 5027 |
|
*xlfentry*) |
| 5030 |
|
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
| 5031 |
|
# $LIBS confuse us, and the libraries appear later in the output anyway). |
| 5032 |
|
*mGLOB_options_string*) |
| 5033 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;; |
| 5033 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; |
| 5034 |
|
|
| 5688 |
– |
# Portland Group compiler has singly- or doubly-quoted -cmdline argument |
| 5689 |
– |
# Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4. |
| 5690 |
– |
# Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2". |
| 5691 |
– |
*-cmdline\ * | *-ignore\ * | *-def\ *) |
| 5692 |
– |
ac_fc_v_output=`echo $ac_fc_v_output | sed "\ |
| 5693 |
– |
s/-cmdline *'[^']*'/ /g; s/-cmdline *\"[^\"]*\"/ /g |
| 5694 |
– |
s/-ignore *'[^']*'/ /g; s/-ignore *\"[^\"]*\"/ /g |
| 5695 |
– |
s/-def *'[^']*'/ /g; s/-def *\"[^\"]*\"/ /g"` ;; |
| 5696 |
– |
|
| 5035 |
|
# If we are using Cray Fortran then delete quotes. |
| 5036 |
+ |
# Use "\"" instead of '"' for font-lock-mode. |
| 5037 |
+ |
# FIXME: a more general fix for quoted arguments with spaces? |
| 5038 |
|
*cft90*) |
| 5039 |
< |
ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;; |
| 5039 |
> |
ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;; |
| 5040 |
|
esac |
| 5041 |
|
|
| 5042 |
|
|
| 5090 |
|
|
| 5091 |
|
;; |
| 5092 |
|
# Ignore these flags. |
| 5093 |
< |
-lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*) |
| 5093 |
> |
-lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*) |
| 5094 |
|
;; |
| 5095 |
|
-lkernel32) |
| 5096 |
|
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 5097 |
|
;; |
| 5098 |
< |
-[LRuYz]) |
| 5098 |
> |
-[LRuY]) |
| 5099 |
|
# These flags, when seen by themselves, take an argument. |
| 5100 |
|
# We remove the space between option and argument and re-iterate |
| 5101 |
|
# unless we find an empty arg or a new option (starting with -) |
| 5143 |
|
fi |
| 5144 |
|
|
| 5145 |
|
;; |
| 5806 |
– |
-zallextract*| -zdefaultextract) |
| 5807 |
– |
ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg" |
| 5808 |
– |
;; |
| 5146 |
|
# Ignore everything else. |
| 5147 |
|
esac |
| 5148 |
|
done |
| 5169 |
|
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
| 5170 |
|
|
| 5171 |
|
fi |
| 5172 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
| 5173 |
< |
echo "${ECHO_T}$ac_cv_fc_libs" >&6; } |
| 5172 |
> |
echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5 |
| 5173 |
> |
echo "${ECHO_T}$ac_cv_fc_libs" >&6 |
| 5174 |
|
FCLIBS="$ac_cv_fc_libs" |
| 5175 |
|
|
| 5176 |
|
|
| 5177 |
< |
ac_ext=${ac_fc_srcext-f} |
| 5178 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 5179 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 5177 |
> |
ac_ext=${FC_SRCEXT-f} |
| 5178 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 5179 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 5180 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5181 |
|
|
| 5182 |
|
|
| 5183 |
|
|
| 5184 |
< |
{ echo "$as_me:$LINENO: checking for module suffix" >&5 |
| 5185 |
< |
echo $ECHO_N "checking for module suffix... $ECHO_C" >&6; } |
| 5186 |
< |
rm -rf conftest* |
| 5184 |
> |
echo "$as_me:$LINENO: checking for module suffix" >&5 |
| 5185 |
> |
echo $ECHO_N "checking for module suffix... $ECHO_C" >&6 |
| 5186 |
> |
rm -f conftest* |
| 5187 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
| 5188 |
|
rm -f work* |
| 5189 |
|
cat >conftest.$ac_ext <<EOF |
| 5208 |
|
fi |
| 5209 |
|
fi |
| 5210 |
|
if test -z "$MOD" ; then |
| 5211 |
< |
{ echo "$as_me:$LINENO: result: unknown" >&5 |
| 5212 |
< |
echo "${ECHO_T}unknown" >&6; } |
| 5211 |
> |
echo "$as_me:$LINENO: result: unknown" >&5 |
| 5212 |
> |
echo "${ECHO_T}unknown" >&6 |
| 5213 |
|
# Use mod if we can't figure it out |
| 5214 |
|
MOD="mod" |
| 5215 |
|
else |
| 5216 |
< |
{ echo "$as_me:$LINENO: result: $MOD" >&5 |
| 5217 |
< |
echo "${ECHO_T}$MOD" >&6; } |
| 5216 |
> |
echo "$as_me:$LINENO: result: $MOD" >&5 |
| 5217 |
> |
echo "${ECHO_T}$MOD" >&6 |
| 5218 |
|
fi |
| 5219 |
|
if test -s work.pcl ; then |
| 5220 |
|
{ echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5 |
| 5221 |
|
echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;} |
| 5222 |
|
fi |
| 5223 |
|
else |
| 5224 |
< |
{ echo "$as_me:$LINENO: result: unknown" >&5 |
| 5225 |
< |
echo "${ECHO_T}unknown" >&6; } |
| 5224 |
> |
echo "$as_me:$LINENO: result: unknown" >&5 |
| 5225 |
> |
echo "${ECHO_T}unknown" >&6 |
| 5226 |
|
fi |
| 5227 |
|
|
| 5228 |
|
|
| 5235 |
|
# specified, work.pcl and work.pc are created. However, if you specify |
| 5236 |
|
# a file, it must contain a the name of a file ending in .pc . Ugh! |
| 5237 |
|
# Use the module made above |
| 5238 |
< |
{ echo "$as_me:$LINENO: checking for module directory path flag" >&5 |
| 5239 |
< |
echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6; } |
| 5240 |
< |
rm -rf conftest* |
| 5238 |
> |
echo "$as_me:$LINENO: checking for module directory path flag" >&5 |
| 5239 |
> |
echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6 |
| 5240 |
> |
rm -f conftest* |
| 5241 |
|
# Intel ifc compiler generates files by the name of work.pc and work.pcl (!) |
| 5242 |
|
rm -f work* |
| 5243 |
|
cat >conftest.$ac_ext <<EOF |
| 5269 |
|
if $FC -c -Iconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext > conftest.out 2>&1 ; then |
| 5270 |
|
MODDIRFLAG="-I" |
| 5271 |
|
F90MODINCSPEC="-I<dir>" |
| 5272 |
< |
{ echo "$as_me:$LINENO: result: -I" >&5 |
| 5273 |
< |
echo "${ECHO_T}-I" >&6; } |
| 5272 |
> |
echo "$as_me:$LINENO: result: -I" >&5 |
| 5273 |
> |
echo "${ECHO_T}-I" >&6 |
| 5274 |
|
elif $FC -c -Mconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then |
| 5275 |
|
MODDIRFLAG="-M" |
| 5276 |
|
F90MODINCSPEC="-M<dir>" |
| 5277 |
< |
{ echo "$as_me:$LINENO: result: -M" >&5 |
| 5278 |
< |
echo "${ECHO_T}-M" >&6; } |
| 5277 |
> |
echo "$as_me:$LINENO: result: -M" >&5 |
| 5278 |
> |
echo "${ECHO_T}-M" >&6 |
| 5279 |
|
elif $FC -c -pconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then |
| 5280 |
|
MODDIRFLAG="-p" |
| 5281 |
|
F90MODINCSPEC="-p<dir>" |
| 5282 |
< |
{ echo "$as_me:$LINENO: result: -p" >&5 |
| 5283 |
< |
echo "${ECHO_T}-p" >&6; } |
| 5282 |
> |
echo "$as_me:$LINENO: result: -p" >&5 |
| 5283 |
> |
echo "${ECHO_T}-p" >&6 |
| 5284 |
|
elif test -s work.pc ; then |
| 5285 |
|
cp work.pc conf/mpimod.pc |
| 5286 |
|
echo "mpimod.pc" > conf/mpimod.pcl |
| 5287 |
|
echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl |
| 5288 |
|
if $FC -c -cl,conf/mpimod.pcl $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >>conftest.out 2>&1 ; then |
| 5289 |
|
MODDIRFLAG='-cl,mpimod.pcl' |
| 5290 |
< |
{ echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 |
| 5291 |
< |
echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6; } |
| 5290 |
> |
echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5 |
| 5291 |
> |
echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6 |
| 5292 |
|
F90_WORK_FILES_ARG="-cl,mpimod.pcl" |
| 5293 |
|
F90MODINCSPEC="-cl,<dir>/<file>mod.pcl" |
| 5294 |
|
|
| 5300 |
|
fi |
| 5301 |
|
fi |
| 5302 |
|
if test -z "MODDIRFLAG" ; then |
| 5303 |
< |
{ echo "$as_me:$LINENO: result: unknown" >&5 |
| 5304 |
< |
echo "${ECHO_T}unknown" >&6; } |
| 5303 |
> |
echo "$as_me:$LINENO: result: unknown" >&5 |
| 5304 |
> |
echo "${ECHO_T}unknown" >&6 |
| 5305 |
|
fi |
| 5306 |
|
|
| 5307 |
|
|
| 5308 |
< |
rm -rf conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* |
| 5308 |
> |
rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod* |
| 5309 |
|
if test $madedir = 1 ; then rmdir conf ; fi |
| 5310 |
|
fi |
| 5311 |
|
|
| 5312 |
|
|
| 5313 |
< |
{ echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 |
| 5314 |
< |
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6; } |
| 5313 |
> |
echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5 |
| 5314 |
> |
echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6 |
| 5315 |
|
if test "${ac_cv_f90_module_names+set}" = set; then |
| 5316 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5317 |
|
else |
| 5318 |
< |
ac_ext=${ac_fc_srcext-f} |
| 5319 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 5320 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 5318 |
> |
ac_ext=${FC_SRCEXT-f} |
| 5319 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 5320 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 5321 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5322 |
|
|
| 5323 |
|
# carry out the test in a new directory, so that we don't miss anything |
| 5327 |
|
MODULE Bar |
| 5328 |
|
END MODULE Bar |
| 5329 |
|
_ACEOF |
| 5330 |
< |
rm -rf conftest.$ac_objext |
| 5331 |
< |
if { (ac_try="$ac_compile" |
| 5332 |
< |
case "(($ac_try" in |
| 5996 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5997 |
< |
*) ac_try_echo=$ac_try;; |
| 5998 |
< |
esac |
| 5999 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6000 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 5330 |
> |
rm -f conftest.$ac_objext |
| 5331 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5332 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5333 |
|
ac_status=$? |
| 5334 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5335 |
|
rm -f conftest.er1 |
| 5336 |
|
cat conftest.err >&5 |
| 5337 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5338 |
< |
(exit $ac_status); } && { |
| 5339 |
< |
test -z "$ac_fc_werror_flag" || |
| 5340 |
< |
test ! -s conftest.err |
| 5341 |
< |
} && test -s conftest.$ac_objext; then |
| 5338 |
> |
(exit $ac_status); } && |
| 5339 |
> |
{ ac_try='test -z "$ac_fc_werror_flag" |
| 5340 |
> |
|| test ! -s conftest.err' |
| 5341 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5342 |
> |
(eval $ac_try) 2>&5 |
| 5343 |
> |
ac_status=$? |
| 5344 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5345 |
> |
(exit $ac_status); }; } && |
| 5346 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5347 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5348 |
> |
(eval $ac_try) 2>&5 |
| 5349 |
> |
ac_status=$? |
| 5350 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5351 |
> |
(exit $ac_status); }; }; then |
| 5352 |
|
ac_cv_f90_module_names= |
| 5353 |
|
ac_file_list=* |
| 5354 |
|
for ac_file in $ac_file_list; do |
| 5444 |
|
echo "$as_me: failed program was:" >&5 |
| 5445 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5446 |
|
|
| 5447 |
< |
ac_cv_f90_module_names= |
| 5447 |
> |
ac_cv_f90_module_names= |
| 5448 |
|
{ echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5 |
| 5449 |
|
echo "$as_me: WARNING: Couldn't determine module file names" >&2;} |
| 5450 |
|
fi |
| 5451 |
< |
|
| 6110 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5451 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5452 |
|
cd .. |
| 5453 |
|
# cleanup |
| 5454 |
|
rm -rf conftest |
| 5455 |
< |
ac_ext=${ac_fc_srcext-f} |
| 5456 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 5457 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 5455 |
> |
ac_ext=${FC_SRCEXT-f} |
| 5456 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 5457 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 5458 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 5459 |
|
|
| 5460 |
|
fi |
| 5461 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 |
| 5462 |
< |
echo "${ECHO_T}$ac_cv_f90_module_names" >&6; } # AC_CACHE_CHECK |
| 5461 |
> |
echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5 |
| 5462 |
> |
echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK |
| 5463 |
|
|
| 5464 |
|
# We now generate a shell script that will help us to figure out the correct |
| 5465 |
|
# module file names, using the value of ac_cv_f90_module_names |
| 5552 |
|
|
| 5553 |
|
|
| 5554 |
|
|
| 5555 |
< |
{ echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
| 5556 |
< |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6; } |
| 5555 |
> |
echo "$as_me:$LINENO: checking for asin in -lm" >&5 |
| 5556 |
> |
echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6 |
| 5557 |
|
if test "${ac_cv_lib_m_asin+set}" = set; then |
| 5558 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5559 |
|
else |
| 5566 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5567 |
|
/* end confdefs.h. */ |
| 5568 |
|
|
| 5569 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 6229 |
< |
Use char because int might match the return type of a GCC |
| 6230 |
< |
builtin and then its argument prototype would still apply. */ |
| 5569 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5570 |
|
#ifdef __cplusplus |
| 5571 |
|
extern "C" |
| 5572 |
|
#endif |
| 5573 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 5574 |
+ |
builtin and then its argument prototype would still apply. */ |
| 5575 |
|
char asin (); |
| 5576 |
|
#ifdef FC_DUMMY_MAIN |
| 5577 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 5584 |
|
int |
| 5585 |
|
main () |
| 5586 |
|
{ |
| 5587 |
< |
return asin (); |
| 5587 |
> |
asin (); |
| 5588 |
|
; |
| 5589 |
|
return 0; |
| 5590 |
|
} |
| 5591 |
|
_ACEOF |
| 5592 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 5593 |
< |
if { (ac_try="$ac_link" |
| 5594 |
< |
case "(($ac_try" in |
| 6254 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6255 |
< |
*) ac_try_echo=$ac_try;; |
| 6256 |
< |
esac |
| 6257 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6258 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 5592 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5593 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5594 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5595 |
|
ac_status=$? |
| 5596 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5597 |
|
rm -f conftest.er1 |
| 5598 |
|
cat conftest.err >&5 |
| 5599 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5600 |
< |
(exit $ac_status); } && { |
| 5601 |
< |
test -z "$ac_c_werror_flag" || |
| 5602 |
< |
test ! -s conftest.err |
| 5603 |
< |
} && test -s conftest$ac_exeext && |
| 5604 |
< |
$as_test_x conftest$ac_exeext; then |
| 5600 |
> |
(exit $ac_status); } && |
| 5601 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5602 |
> |
|| test ! -s conftest.err' |
| 5603 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5604 |
> |
(eval $ac_try) 2>&5 |
| 5605 |
> |
ac_status=$? |
| 5606 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5607 |
> |
(exit $ac_status); }; } && |
| 5608 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 5609 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5610 |
> |
(eval $ac_try) 2>&5 |
| 5611 |
> |
ac_status=$? |
| 5612 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5613 |
> |
(exit $ac_status); }; }; then |
| 5614 |
|
ac_cv_lib_m_asin=yes |
| 5615 |
|
else |
| 5616 |
|
echo "$as_me: failed program was:" >&5 |
| 5617 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5618 |
|
|
| 5619 |
< |
ac_cv_lib_m_asin=no |
| 5619 |
> |
ac_cv_lib_m_asin=no |
| 5620 |
|
fi |
| 5621 |
< |
|
| 6277 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5621 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5622 |
|
conftest$ac_exeext conftest.$ac_ext |
| 5623 |
|
LIBS=$ac_check_lib_save_LIBS |
| 5624 |
|
fi |
| 5625 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
| 5626 |
< |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6; } |
| 5625 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5 |
| 5626 |
> |
echo "${ECHO_T}$ac_cv_lib_m_asin" >&6 |
| 5627 |
|
if test $ac_cv_lib_m_asin = yes; then |
| 5628 |
|
cat >>confdefs.h <<_ACEOF |
| 5629 |
|
#define HAVE_LIBM 1 |
| 5636 |
|
fi |
| 5637 |
|
|
| 5638 |
|
|
| 5639 |
< |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 5640 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 5639 |
> |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 5640 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 5641 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
| 5642 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5643 |
|
else |
| 5668 |
|
return 0; |
| 5669 |
|
} |
| 5670 |
|
_ACEOF |
| 5671 |
< |
rm -rf conftest.$ac_objext |
| 5672 |
< |
if { (ac_try="$ac_compile" |
| 5673 |
< |
case "(($ac_try" in |
| 6330 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6331 |
< |
*) ac_try_echo=$ac_try;; |
| 6332 |
< |
esac |
| 6333 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6334 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 5671 |
> |
rm -f conftest.$ac_objext |
| 5672 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5673 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5674 |
|
ac_status=$? |
| 5675 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5676 |
|
rm -f conftest.er1 |
| 5677 |
|
cat conftest.err >&5 |
| 5678 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5679 |
< |
(exit $ac_status); } && { |
| 5680 |
< |
test -z "$ac_c_werror_flag" || |
| 5681 |
< |
test ! -s conftest.err |
| 5682 |
< |
} && test -s conftest.$ac_objext; then |
| 5679 |
> |
(exit $ac_status); } && |
| 5680 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5681 |
> |
|| test ! -s conftest.err' |
| 5682 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5683 |
> |
(eval $ac_try) 2>&5 |
| 5684 |
> |
ac_status=$? |
| 5685 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5686 |
> |
(exit $ac_status); }; } && |
| 5687 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5688 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5689 |
> |
(eval $ac_try) 2>&5 |
| 5690 |
> |
ac_status=$? |
| 5691 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5692 |
> |
(exit $ac_status); }; }; then |
| 5693 |
|
ac_cv_header_stdc=yes |
| 5694 |
|
else |
| 5695 |
|
echo "$as_me: failed program was:" >&5 |
| 5696 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5697 |
|
|
| 5698 |
< |
ac_cv_header_stdc=no |
| 5698 |
> |
ac_cv_header_stdc=no |
| 5699 |
|
fi |
| 5700 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5701 |
|
|
| 6352 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6353 |
– |
|
| 5702 |
|
if test $ac_cv_header_stdc = yes; then |
| 5703 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 5704 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5716 |
|
else |
| 5717 |
|
ac_cv_header_stdc=no |
| 5718 |
|
fi |
| 5719 |
< |
rm -rf conftest* |
| 5719 |
> |
rm -f conftest* |
| 5720 |
|
|
| 5721 |
|
fi |
| 5722 |
|
|
| 5737 |
|
else |
| 5738 |
|
ac_cv_header_stdc=no |
| 5739 |
|
fi |
| 5740 |
< |
rm -rf conftest* |
| 5740 |
> |
rm -f conftest* |
| 5741 |
|
|
| 5742 |
|
fi |
| 5743 |
|
|
| 5753 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5754 |
|
/* end confdefs.h. */ |
| 5755 |
|
#include <ctype.h> |
| 6408 |
– |
#include <stdlib.h> |
| 5756 |
|
#if ((' ' & 0x0FF) == 0x020) |
| 5757 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5758 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 5772 |
|
for (i = 0; i < 256; i++) |
| 5773 |
|
if (XOR (islower (i), ISLOWER (i)) |
| 5774 |
|
|| toupper (i) != TOUPPER (i)) |
| 5775 |
< |
return 2; |
| 5776 |
< |
return 0; |
| 5775 |
> |
exit(2); |
| 5776 |
> |
exit (0); |
| 5777 |
|
} |
| 5778 |
|
_ACEOF |
| 5779 |
< |
rm -rf conftest$ac_exeext |
| 5780 |
< |
if { (ac_try="$ac_link" |
| 5781 |
< |
case "(($ac_try" in |
| 6435 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6436 |
< |
*) ac_try_echo=$ac_try;; |
| 6437 |
< |
esac |
| 6438 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6439 |
< |
(eval "$ac_link") 2>&5 |
| 5779 |
> |
rm -f conftest$ac_exeext |
| 5780 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5781 |
> |
(eval $ac_link) 2>&5 |
| 5782 |
|
ac_status=$? |
| 5783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5784 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5785 |
< |
{ (case "(($ac_try" in |
| 5786 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6445 |
< |
*) ac_try_echo=$ac_try;; |
| 6446 |
< |
esac |
| 6447 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6448 |
< |
(eval "$ac_try") 2>&5 |
| 5785 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5786 |
> |
(eval $ac_try) 2>&5 |
| 5787 |
|
ac_status=$? |
| 5788 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5789 |
|
(exit $ac_status); }; }; then |
| 5796 |
|
( exit $ac_status ) |
| 5797 |
|
ac_cv_header_stdc=no |
| 5798 |
|
fi |
| 5799 |
< |
rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5799 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5800 |
|
fi |
| 6463 |
– |
|
| 6464 |
– |
|
| 5801 |
|
fi |
| 5802 |
|
fi |
| 5803 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 5804 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 5803 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 5804 |
> |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 5805 |
|
if test $ac_cv_header_stdc = yes; then |
| 5806 |
|
|
| 5807 |
|
cat >>confdefs.h <<\_ACEOF |
| 5824 |
|
inttypes.h stdint.h unistd.h |
| 5825 |
|
do |
| 5826 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5827 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5828 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5829 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5827 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5828 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 5829 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 5830 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5831 |
|
else |
| 5832 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 5839 |
|
|
| 5840 |
|
#include <$ac_header> |
| 5841 |
|
_ACEOF |
| 5842 |
< |
rm -rf conftest.$ac_objext |
| 5843 |
< |
if { (ac_try="$ac_compile" |
| 5844 |
< |
case "(($ac_try" in |
| 6509 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6510 |
< |
*) ac_try_echo=$ac_try;; |
| 6511 |
< |
esac |
| 6512 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6513 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 5842 |
> |
rm -f conftest.$ac_objext |
| 5843 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5844 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 5845 |
|
ac_status=$? |
| 5846 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5847 |
|
rm -f conftest.er1 |
| 5848 |
|
cat conftest.err >&5 |
| 5849 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5850 |
< |
(exit $ac_status); } && { |
| 5851 |
< |
test -z "$ac_c_werror_flag" || |
| 5852 |
< |
test ! -s conftest.err |
| 5853 |
< |
} && test -s conftest.$ac_objext; then |
| 5850 |
> |
(exit $ac_status); } && |
| 5851 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5852 |
> |
|| test ! -s conftest.err' |
| 5853 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5854 |
> |
(eval $ac_try) 2>&5 |
| 5855 |
> |
ac_status=$? |
| 5856 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5857 |
> |
(exit $ac_status); }; } && |
| 5858 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 5859 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5860 |
> |
(eval $ac_try) 2>&5 |
| 5861 |
> |
ac_status=$? |
| 5862 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5863 |
> |
(exit $ac_status); }; }; then |
| 5864 |
|
eval "$as_ac_Header=yes" |
| 5865 |
|
else |
| 5866 |
|
echo "$as_me: failed program was:" >&5 |
| 5867 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5868 |
|
|
| 5869 |
< |
eval "$as_ac_Header=no" |
| 5869 |
> |
eval "$as_ac_Header=no" |
| 5870 |
|
fi |
| 5871 |
< |
|
| 6531 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5871 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5872 |
|
fi |
| 5873 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5874 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6535 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 5873 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 5874 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 5875 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5876 |
|
cat >>confdefs.h <<_ACEOF |
| 5877 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5886 |
|
# Handle user hints |
| 5887 |
|
# |
| 5888 |
|
|
| 5889 |
< |
# Check whether --with-zlib was given. |
| 5889 |
> |
# Check whether --with-zlib or --without-zlib was given. |
| 5890 |
|
if test "${with_zlib+set}" = set; then |
| 5891 |
< |
withval=$with_zlib; zlib_dir="$withval" |
| 5891 |
> |
withval="$with_zlib" |
| 5892 |
> |
zlib_dir="$withval" |
| 5893 |
|
else |
| 5894 |
|
zlib_dir="not_set" |
| 5895 |
< |
fi |
| 6556 |
< |
|
| 5895 |
> |
fi; |
| 5896 |
|
if test "$zlib_dir" != "no"; then |
| 5897 |
|
|
| 5898 |
|
if test "$zlib_dir" != "not_set" ; then |
| 5921 |
|
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib" |
| 5922 |
|
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include" |
| 5923 |
|
|
| 5924 |
+ |
|
| 5925 |
|
ac_ext=c |
| 5926 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 5927 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5928 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5929 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5930 |
|
|
| 5931 |
< |
{ echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5932 |
< |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; } |
| 5931 |
> |
echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5 |
| 5932 |
> |
echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6 |
| 5933 |
|
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then |
| 5934 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5935 |
|
else |
| 5942 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 5943 |
|
/* end confdefs.h. */ |
| 5944 |
|
|
| 5945 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 6606 |
< |
Use char because int might match the return type of a GCC |
| 6607 |
< |
builtin and then its argument prototype would still apply. */ |
| 5945 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 5946 |
|
#ifdef __cplusplus |
| 5947 |
|
extern "C" |
| 5948 |
|
#endif |
| 5949 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 5950 |
+ |
builtin and then its argument prototype would still apply. */ |
| 5951 |
|
char inflateEnd (); |
| 5952 |
|
#ifdef FC_DUMMY_MAIN |
| 5953 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 5960 |
|
int |
| 5961 |
|
main () |
| 5962 |
|
{ |
| 5963 |
< |
return inflateEnd (); |
| 5963 |
> |
inflateEnd (); |
| 5964 |
|
; |
| 5965 |
|
return 0; |
| 5966 |
|
} |
| 5967 |
|
_ACEOF |
| 5968 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 5969 |
< |
if { (ac_try="$ac_link" |
| 5970 |
< |
case "(($ac_try" in |
| 6631 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6632 |
< |
*) ac_try_echo=$ac_try;; |
| 6633 |
< |
esac |
| 6634 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6635 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 5968 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 5969 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 5970 |
> |
(eval $ac_link) 2>conftest.er1 |
| 5971 |
|
ac_status=$? |
| 5972 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 5973 |
|
rm -f conftest.er1 |
| 5974 |
|
cat conftest.err >&5 |
| 5975 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5976 |
< |
(exit $ac_status); } && { |
| 5977 |
< |
test -z "$ac_c_werror_flag" || |
| 5978 |
< |
test ! -s conftest.err |
| 5979 |
< |
} && test -s conftest$ac_exeext && |
| 5980 |
< |
$as_test_x conftest$ac_exeext; then |
| 5976 |
> |
(exit $ac_status); } && |
| 5977 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 5978 |
> |
|| test ! -s conftest.err' |
| 5979 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5980 |
> |
(eval $ac_try) 2>&5 |
| 5981 |
> |
ac_status=$? |
| 5982 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5983 |
> |
(exit $ac_status); }; } && |
| 5984 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 5985 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5986 |
> |
(eval $ac_try) 2>&5 |
| 5987 |
> |
ac_status=$? |
| 5988 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5989 |
> |
(exit $ac_status); }; }; then |
| 5990 |
|
ac_cv_lib_z_inflateEnd=yes |
| 5991 |
|
else |
| 5992 |
|
echo "$as_me: failed program was:" >&5 |
| 5993 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 5994 |
|
|
| 5995 |
< |
ac_cv_lib_z_inflateEnd=no |
| 5995 |
> |
ac_cv_lib_z_inflateEnd=no |
| 5996 |
|
fi |
| 5997 |
< |
|
| 6654 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 5997 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 5998 |
|
conftest$ac_exeext conftest.$ac_ext |
| 5999 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6000 |
|
fi |
| 6001 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 6002 |
< |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; } |
| 6001 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5 |
| 6002 |
> |
echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6 |
| 6003 |
|
if test $ac_cv_lib_z_inflateEnd = yes; then |
| 6004 |
|
zlib_cv_libz=yes |
| 6005 |
|
else |
| 6007 |
|
fi |
| 6008 |
|
|
| 6009 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 6010 |
< |
{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 6011 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
| 6010 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 6011 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 6012 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 6013 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6014 |
|
fi |
| 6015 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 6016 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
| 6015 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 6016 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 6017 |
|
else |
| 6018 |
|
# Is the header compilable? |
| 6019 |
< |
{ echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 6020 |
< |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } |
| 6019 |
> |
echo "$as_me:$LINENO: checking zlib.h usability" >&5 |
| 6020 |
> |
echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6 |
| 6021 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6022 |
|
/* confdefs.h. */ |
| 6023 |
|
_ACEOF |
| 6027 |
|
$ac_includes_default |
| 6028 |
|
#include <zlib.h> |
| 6029 |
|
_ACEOF |
| 6030 |
< |
rm -rf conftest.$ac_objext |
| 6031 |
< |
if { (ac_try="$ac_compile" |
| 6032 |
< |
case "(($ac_try" in |
| 6690 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6691 |
< |
*) ac_try_echo=$ac_try;; |
| 6692 |
< |
esac |
| 6693 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6694 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 6030 |
> |
rm -f conftest.$ac_objext |
| 6031 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6032 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6033 |
|
ac_status=$? |
| 6034 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6035 |
|
rm -f conftest.er1 |
| 6036 |
|
cat conftest.err >&5 |
| 6037 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6038 |
< |
(exit $ac_status); } && { |
| 6039 |
< |
test -z "$ac_c_werror_flag" || |
| 6040 |
< |
test ! -s conftest.err |
| 6041 |
< |
} && test -s conftest.$ac_objext; then |
| 6038 |
> |
(exit $ac_status); } && |
| 6039 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6040 |
> |
|| test ! -s conftest.err' |
| 6041 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6042 |
> |
(eval $ac_try) 2>&5 |
| 6043 |
> |
ac_status=$? |
| 6044 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6045 |
> |
(exit $ac_status); }; } && |
| 6046 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6047 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6048 |
> |
(eval $ac_try) 2>&5 |
| 6049 |
> |
ac_status=$? |
| 6050 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6051 |
> |
(exit $ac_status); }; }; then |
| 6052 |
|
ac_header_compiler=yes |
| 6053 |
|
else |
| 6054 |
|
echo "$as_me: failed program was:" >&5 |
| 6055 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6056 |
|
|
| 6057 |
< |
ac_header_compiler=no |
| 6057 |
> |
ac_header_compiler=no |
| 6058 |
|
fi |
| 6059 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6060 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6061 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6062 |
|
|
| 6712 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6713 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6714 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 6715 |
– |
|
| 6063 |
|
# Is the header present? |
| 6064 |
< |
{ echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 6065 |
< |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } |
| 6064 |
> |
echo "$as_me:$LINENO: checking zlib.h presence" >&5 |
| 6065 |
> |
echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6 |
| 6066 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6067 |
|
/* confdefs.h. */ |
| 6068 |
|
_ACEOF |
| 6071 |
|
/* end confdefs.h. */ |
| 6072 |
|
#include <zlib.h> |
| 6073 |
|
_ACEOF |
| 6074 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6075 |
< |
case "(($ac_try" in |
| 6729 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6730 |
< |
*) ac_try_echo=$ac_try;; |
| 6731 |
< |
esac |
| 6732 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6733 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6074 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6075 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6076 |
|
ac_status=$? |
| 6077 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6078 |
|
rm -f conftest.er1 |
| 6079 |
|
cat conftest.err >&5 |
| 6080 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6081 |
< |
(exit $ac_status); } >/dev/null && { |
| 6082 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6083 |
< |
test ! -s conftest.err |
| 6084 |
< |
}; then |
| 6081 |
> |
(exit $ac_status); } >/dev/null; then |
| 6082 |
> |
if test -s conftest.err; then |
| 6083 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6084 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6085 |
> |
else |
| 6086 |
> |
ac_cpp_err= |
| 6087 |
> |
fi |
| 6088 |
> |
else |
| 6089 |
> |
ac_cpp_err=yes |
| 6090 |
> |
fi |
| 6091 |
> |
if test -z "$ac_cpp_err"; then |
| 6092 |
|
ac_header_preproc=yes |
| 6093 |
|
else |
| 6094 |
|
echo "$as_me: failed program was:" >&5 |
| 6096 |
|
|
| 6097 |
|
ac_header_preproc=no |
| 6098 |
|
fi |
| 6099 |
< |
|
| 6100 |
< |
rm -rf conftest.err conftest.$ac_ext |
| 6101 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6753 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 6099 |
> |
rm -f conftest.err conftest.$ac_ext |
| 6100 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6101 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6102 |
|
|
| 6103 |
|
# So? What about this header? |
| 6104 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6122 |
|
echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} |
| 6123 |
|
{ echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 |
| 6124 |
|
echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
| 6125 |
< |
( cat <<\_ASBOX |
| 6125 |
> |
( |
| 6126 |
> |
cat <<\_ASBOX |
| 6127 |
|
## ------------------------------ ## |
| 6128 |
|
## Report this to gezelter@nd.edu ## |
| 6129 |
|
## ------------------------------ ## |
| 6130 |
|
_ASBOX |
| 6131 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 6131 |
> |
) | |
| 6132 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6133 |
|
;; |
| 6134 |
|
esac |
| 6135 |
< |
{ echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 6136 |
< |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } |
| 6135 |
> |
echo "$as_me:$LINENO: checking for zlib.h" >&5 |
| 6136 |
> |
echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 |
| 6137 |
|
if test "${ac_cv_header_zlib_h+set}" = set; then |
| 6138 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6139 |
|
else |
| 6140 |
|
ac_cv_header_zlib_h=$ac_header_preproc |
| 6141 |
|
fi |
| 6142 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 6143 |
< |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } |
| 6142 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 |
| 6143 |
> |
echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 |
| 6144 |
|
|
| 6145 |
|
fi |
| 6146 |
|
if test $ac_cv_header_zlib_h = yes; then |
| 6172 |
|
ZLIB_LIB_DIR="${ZLIB_HOME}/lib" |
| 6173 |
|
ZLIB="-lz" |
| 6174 |
|
else |
| 6175 |
< |
{ echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 6176 |
< |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6; } |
| 6175 |
> |
echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5 |
| 6176 |
> |
echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6 |
| 6177 |
|
ZLIB_INC_DIR= |
| 6178 |
|
ZLIB_LIB_DIR= |
| 6179 |
|
ZLIB= |
| 6180 |
|
LDFLAGS="$ZLIB_OLD_LDFLAGS" |
| 6181 |
|
CPPFLAGS="$ZLIB_OLD_CPPFLAGS" |
| 6182 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
| 6183 |
< |
echo "${ECHO_T}failed" >&6; } |
| 6182 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 6183 |
> |
echo "${ECHO_T}failed" >&6 |
| 6184 |
|
echo "" |
| 6185 |
|
echo "*********************************************************" |
| 6186 |
|
echo "* WARNING: Could not find a working zlib installation *" |
| 6202 |
|
# Handle user hints |
| 6203 |
|
# |
| 6204 |
|
|
| 6205 |
< |
# Check whether --with-fftw was given. |
| 6205 |
> |
# Check whether --with-fftw or --without-fftw was given. |
| 6206 |
|
if test "${with_fftw+set}" = set; then |
| 6207 |
< |
withval=$with_fftw; fftw_dir="$withval" |
| 6207 |
> |
withval="$with_fftw" |
| 6208 |
> |
fftw_dir="$withval" |
| 6209 |
|
else |
| 6210 |
|
fftw_dir="not_set" |
| 6211 |
< |
fi |
| 6861 |
< |
|
| 6211 |
> |
fi; |
| 6212 |
|
if test "$fftw_dir" != "no"; then |
| 6213 |
|
if test "$fftw_dir" != "not_set" ; then |
| 6214 |
|
if test -d "$fftw_dir"; then |
| 6230 |
|
LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib" |
| 6231 |
|
CPPFLAGS="$CPPFLAGS -I${FFTW_HOME}/include" |
| 6232 |
|
|
| 6233 |
+ |
|
| 6234 |
|
ac_ext=c |
| 6235 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 6236 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 6237 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 6238 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 6239 |
|
|
| 6240 |
< |
{ echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5 |
| 6241 |
< |
echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6; } |
| 6240 |
> |
echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5 |
| 6241 |
> |
echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6 |
| 6242 |
|
if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then |
| 6243 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6244 |
|
else |
| 6251 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6252 |
|
/* end confdefs.h. */ |
| 6253 |
|
|
| 6254 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 6904 |
< |
Use char because int might match the return type of a GCC |
| 6905 |
< |
builtin and then its argument prototype would still apply. */ |
| 6254 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6255 |
|
#ifdef __cplusplus |
| 6256 |
|
extern "C" |
| 6257 |
|
#endif |
| 6258 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 6259 |
+ |
builtin and then its argument prototype would still apply. */ |
| 6260 |
|
char fftw_execute (); |
| 6261 |
|
#ifdef FC_DUMMY_MAIN |
| 6262 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6269 |
|
int |
| 6270 |
|
main () |
| 6271 |
|
{ |
| 6272 |
< |
return fftw_execute (); |
| 6272 |
> |
fftw_execute (); |
| 6273 |
|
; |
| 6274 |
|
return 0; |
| 6275 |
|
} |
| 6276 |
|
_ACEOF |
| 6277 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 6278 |
< |
if { (ac_try="$ac_link" |
| 6279 |
< |
case "(($ac_try" in |
| 6929 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6930 |
< |
*) ac_try_echo=$ac_try;; |
| 6931 |
< |
esac |
| 6932 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6933 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 6277 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6278 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6279 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6280 |
|
ac_status=$? |
| 6281 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6282 |
|
rm -f conftest.er1 |
| 6283 |
|
cat conftest.err >&5 |
| 6284 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6285 |
< |
(exit $ac_status); } && { |
| 6286 |
< |
test -z "$ac_c_werror_flag" || |
| 6287 |
< |
test ! -s conftest.err |
| 6288 |
< |
} && test -s conftest$ac_exeext && |
| 6289 |
< |
$as_test_x conftest$ac_exeext; then |
| 6285 |
> |
(exit $ac_status); } && |
| 6286 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6287 |
> |
|| test ! -s conftest.err' |
| 6288 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6289 |
> |
(eval $ac_try) 2>&5 |
| 6290 |
> |
ac_status=$? |
| 6291 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6292 |
> |
(exit $ac_status); }; } && |
| 6293 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6294 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6295 |
> |
(eval $ac_try) 2>&5 |
| 6296 |
> |
ac_status=$? |
| 6297 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6298 |
> |
(exit $ac_status); }; }; then |
| 6299 |
|
ac_cv_lib_fftw3_fftw_execute=yes |
| 6300 |
|
else |
| 6301 |
|
echo "$as_me: failed program was:" >&5 |
| 6302 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6303 |
|
|
| 6304 |
< |
ac_cv_lib_fftw3_fftw_execute=no |
| 6304 |
> |
ac_cv_lib_fftw3_fftw_execute=no |
| 6305 |
|
fi |
| 6306 |
< |
|
| 6952 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6306 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6307 |
|
conftest$ac_exeext conftest.$ac_ext |
| 6308 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6309 |
|
fi |
| 6310 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
| 6311 |
< |
echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6; } |
| 6310 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5 |
| 6311 |
> |
echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6 |
| 6312 |
|
if test $ac_cv_lib_fftw3_fftw_execute = yes; then |
| 6313 |
|
fftw_cv_libfftw3=yes |
| 6314 |
|
else |
| 6316 |
|
fi |
| 6317 |
|
|
| 6318 |
|
if test "${ac_cv_header_fftw3_h+set}" = set; then |
| 6319 |
< |
{ echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
| 6320 |
< |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6; } |
| 6319 |
> |
echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
| 6320 |
> |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6 |
| 6321 |
|
if test "${ac_cv_header_fftw3_h+set}" = set; then |
| 6322 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6323 |
|
fi |
| 6324 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
| 6325 |
< |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6; } |
| 6324 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
| 6325 |
> |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6 |
| 6326 |
|
else |
| 6327 |
|
# Is the header compilable? |
| 6328 |
< |
{ echo "$as_me:$LINENO: checking fftw3.h usability" >&5 |
| 6329 |
< |
echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6; } |
| 6328 |
> |
echo "$as_me:$LINENO: checking fftw3.h usability" >&5 |
| 6329 |
> |
echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6 |
| 6330 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6331 |
|
/* confdefs.h. */ |
| 6332 |
|
_ACEOF |
| 6336 |
|
$ac_includes_default |
| 6337 |
|
#include <fftw3.h> |
| 6338 |
|
_ACEOF |
| 6339 |
< |
rm -rf conftest.$ac_objext |
| 6340 |
< |
if { (ac_try="$ac_compile" |
| 6341 |
< |
case "(($ac_try" in |
| 6988 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6989 |
< |
*) ac_try_echo=$ac_try;; |
| 6990 |
< |
esac |
| 6991 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 6992 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 6339 |
> |
rm -f conftest.$ac_objext |
| 6340 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6341 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6342 |
|
ac_status=$? |
| 6343 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6344 |
|
rm -f conftest.er1 |
| 6345 |
|
cat conftest.err >&5 |
| 6346 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6347 |
< |
(exit $ac_status); } && { |
| 6348 |
< |
test -z "$ac_c_werror_flag" || |
| 6349 |
< |
test ! -s conftest.err |
| 6350 |
< |
} && test -s conftest.$ac_objext; then |
| 6347 |
> |
(exit $ac_status); } && |
| 6348 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6349 |
> |
|| test ! -s conftest.err' |
| 6350 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6351 |
> |
(eval $ac_try) 2>&5 |
| 6352 |
> |
ac_status=$? |
| 6353 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6354 |
> |
(exit $ac_status); }; } && |
| 6355 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6356 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6357 |
> |
(eval $ac_try) 2>&5 |
| 6358 |
> |
ac_status=$? |
| 6359 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6360 |
> |
(exit $ac_status); }; }; then |
| 6361 |
|
ac_header_compiler=yes |
| 6362 |
|
else |
| 6363 |
|
echo "$as_me: failed program was:" >&5 |
| 6364 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6365 |
|
|
| 6366 |
< |
ac_header_compiler=no |
| 6366 |
> |
ac_header_compiler=no |
| 6367 |
|
fi |
| 6368 |
< |
|
| 6369 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6370 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7012 |
< |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 6368 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6369 |
> |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6370 |
> |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6371 |
|
|
| 6372 |
|
# Is the header present? |
| 6373 |
< |
{ echo "$as_me:$LINENO: checking fftw3.h presence" >&5 |
| 6374 |
< |
echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6; } |
| 6373 |
> |
echo "$as_me:$LINENO: checking fftw3.h presence" >&5 |
| 6374 |
> |
echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6 |
| 6375 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6376 |
|
/* confdefs.h. */ |
| 6377 |
|
_ACEOF |
| 6380 |
|
/* end confdefs.h. */ |
| 6381 |
|
#include <fftw3.h> |
| 6382 |
|
_ACEOF |
| 6383 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6384 |
< |
case "(($ac_try" in |
| 7027 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7028 |
< |
*) ac_try_echo=$ac_try;; |
| 7029 |
< |
esac |
| 7030 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7031 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6383 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6384 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6385 |
|
ac_status=$? |
| 6386 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6387 |
|
rm -f conftest.er1 |
| 6388 |
|
cat conftest.err >&5 |
| 6389 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6390 |
< |
(exit $ac_status); } >/dev/null && { |
| 6391 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6392 |
< |
test ! -s conftest.err |
| 6393 |
< |
}; then |
| 6390 |
> |
(exit $ac_status); } >/dev/null; then |
| 6391 |
> |
if test -s conftest.err; then |
| 6392 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6393 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6394 |
> |
else |
| 6395 |
> |
ac_cpp_err= |
| 6396 |
> |
fi |
| 6397 |
> |
else |
| 6398 |
> |
ac_cpp_err=yes |
| 6399 |
> |
fi |
| 6400 |
> |
if test -z "$ac_cpp_err"; then |
| 6401 |
|
ac_header_preproc=yes |
| 6402 |
|
else |
| 6403 |
|
echo "$as_me: failed program was:" >&5 |
| 6405 |
|
|
| 6406 |
|
ac_header_preproc=no |
| 6407 |
|
fi |
| 6408 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 6409 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6410 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6411 |
|
|
| 7049 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 7050 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7051 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 7052 |
– |
|
| 6412 |
|
# So? What about this header? |
| 6413 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6414 |
|
yes:no: ) |
| 6431 |
|
echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;} |
| 6432 |
|
{ echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5 |
| 6433 |
|
echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;} |
| 6434 |
< |
( cat <<\_ASBOX |
| 6434 |
> |
( |
| 6435 |
> |
cat <<\_ASBOX |
| 6436 |
|
## ------------------------------ ## |
| 6437 |
|
## Report this to gezelter@nd.edu ## |
| 6438 |
|
## ------------------------------ ## |
| 6439 |
|
_ASBOX |
| 6440 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 6440 |
> |
) | |
| 6441 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6442 |
|
;; |
| 6443 |
|
esac |
| 6444 |
< |
{ echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
| 6445 |
< |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6; } |
| 6444 |
> |
echo "$as_me:$LINENO: checking for fftw3.h" >&5 |
| 6445 |
> |
echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6 |
| 6446 |
|
if test "${ac_cv_header_fftw3_h+set}" = set; then |
| 6447 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6448 |
|
else |
| 6449 |
|
ac_cv_header_fftw3_h=$ac_header_preproc |
| 6450 |
|
fi |
| 6451 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
| 6452 |
< |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6; } |
| 6451 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5 |
| 6452 |
> |
echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6 |
| 6453 |
|
|
| 6454 |
|
fi |
| 6455 |
|
if test $ac_cv_header_fftw3_h = yes; then |
| 6460 |
|
|
| 6461 |
|
|
| 6462 |
|
if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"; then |
| 6463 |
< |
{ echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5 |
| 6464 |
< |
echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6; } |
| 6463 |
> |
echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5 |
| 6464 |
> |
echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6 |
| 6465 |
|
if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then |
| 6466 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6467 |
|
else |
| 6474 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6475 |
|
/* end confdefs.h. */ |
| 6476 |
|
|
| 6477 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 7117 |
< |
Use char because int might match the return type of a GCC |
| 7118 |
< |
builtin and then its argument prototype would still apply. */ |
| 6477 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6478 |
|
#ifdef __cplusplus |
| 6479 |
|
extern "C" |
| 6480 |
|
#endif |
| 6481 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 6482 |
+ |
builtin and then its argument prototype would still apply. */ |
| 6483 |
|
char fftwnd_one (); |
| 6484 |
|
#ifdef FC_DUMMY_MAIN |
| 6485 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6492 |
|
int |
| 6493 |
|
main () |
| 6494 |
|
{ |
| 6495 |
< |
return fftwnd_one (); |
| 6495 |
> |
fftwnd_one (); |
| 6496 |
|
; |
| 6497 |
|
return 0; |
| 6498 |
|
} |
| 6499 |
|
_ACEOF |
| 6500 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 6501 |
< |
if { (ac_try="$ac_link" |
| 6502 |
< |
case "(($ac_try" in |
| 7142 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7143 |
< |
*) ac_try_echo=$ac_try;; |
| 7144 |
< |
esac |
| 7145 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7146 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 6500 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6501 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6502 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6503 |
|
ac_status=$? |
| 6504 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6505 |
|
rm -f conftest.er1 |
| 6506 |
|
cat conftest.err >&5 |
| 6507 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6508 |
< |
(exit $ac_status); } && { |
| 6509 |
< |
test -z "$ac_c_werror_flag" || |
| 6510 |
< |
test ! -s conftest.err |
| 6511 |
< |
} && test -s conftest$ac_exeext && |
| 6512 |
< |
$as_test_x conftest$ac_exeext; then |
| 6508 |
> |
(exit $ac_status); } && |
| 6509 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6510 |
> |
|| test ! -s conftest.err' |
| 6511 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6512 |
> |
(eval $ac_try) 2>&5 |
| 6513 |
> |
ac_status=$? |
| 6514 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6515 |
> |
(exit $ac_status); }; } && |
| 6516 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6517 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6518 |
> |
(eval $ac_try) 2>&5 |
| 6519 |
> |
ac_status=$? |
| 6520 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6521 |
> |
(exit $ac_status); }; }; then |
| 6522 |
|
ac_cv_lib_fftw_fftwnd_one=yes |
| 6523 |
|
else |
| 6524 |
|
echo "$as_me: failed program was:" >&5 |
| 6525 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6526 |
|
|
| 6527 |
< |
ac_cv_lib_fftw_fftwnd_one=no |
| 6527 |
> |
ac_cv_lib_fftw_fftwnd_one=no |
| 6528 |
|
fi |
| 6529 |
< |
|
| 7165 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6529 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6530 |
|
conftest$ac_exeext conftest.$ac_ext |
| 6531 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6532 |
|
fi |
| 6533 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
| 6534 |
< |
echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6; } |
| 6533 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5 |
| 6534 |
> |
echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6 |
| 6535 |
|
if test $ac_cv_lib_fftw_fftwnd_one = yes; then |
| 6536 |
|
fftw_cv_libfftw=yes |
| 6537 |
|
else |
| 6539 |
|
fi |
| 6540 |
|
|
| 6541 |
|
if test "${ac_cv_header_fftw_h+set}" = set; then |
| 6542 |
< |
{ echo "$as_me:$LINENO: checking for fftw.h" >&5 |
| 6543 |
< |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6; } |
| 6542 |
> |
echo "$as_me:$LINENO: checking for fftw.h" >&5 |
| 6543 |
> |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6 |
| 6544 |
|
if test "${ac_cv_header_fftw_h+set}" = set; then |
| 6545 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6546 |
|
fi |
| 6547 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
| 6548 |
< |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6; } |
| 6547 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
| 6548 |
> |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6 |
| 6549 |
|
else |
| 6550 |
|
# Is the header compilable? |
| 6551 |
< |
{ echo "$as_me:$LINENO: checking fftw.h usability" >&5 |
| 6552 |
< |
echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6; } |
| 6551 |
> |
echo "$as_me:$LINENO: checking fftw.h usability" >&5 |
| 6552 |
> |
echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6 |
| 6553 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6554 |
|
/* confdefs.h. */ |
| 6555 |
|
_ACEOF |
| 6559 |
|
$ac_includes_default |
| 6560 |
|
#include <fftw.h> |
| 6561 |
|
_ACEOF |
| 6562 |
< |
rm -rf conftest.$ac_objext |
| 6563 |
< |
if { (ac_try="$ac_compile" |
| 6564 |
< |
case "(($ac_try" in |
| 7201 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7202 |
< |
*) ac_try_echo=$ac_try;; |
| 7203 |
< |
esac |
| 7204 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7205 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 6562 |
> |
rm -f conftest.$ac_objext |
| 6563 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6564 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6565 |
|
ac_status=$? |
| 6566 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6567 |
|
rm -f conftest.er1 |
| 6568 |
|
cat conftest.err >&5 |
| 6569 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6570 |
< |
(exit $ac_status); } && { |
| 6571 |
< |
test -z "$ac_c_werror_flag" || |
| 6572 |
< |
test ! -s conftest.err |
| 6573 |
< |
} && test -s conftest.$ac_objext; then |
| 6570 |
> |
(exit $ac_status); } && |
| 6571 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6572 |
> |
|| test ! -s conftest.err' |
| 6573 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6574 |
> |
(eval $ac_try) 2>&5 |
| 6575 |
> |
ac_status=$? |
| 6576 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6577 |
> |
(exit $ac_status); }; } && |
| 6578 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6579 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6580 |
> |
(eval $ac_try) 2>&5 |
| 6581 |
> |
ac_status=$? |
| 6582 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6583 |
> |
(exit $ac_status); }; }; then |
| 6584 |
|
ac_header_compiler=yes |
| 6585 |
|
else |
| 6586 |
|
echo "$as_me: failed program was:" >&5 |
| 6587 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6588 |
|
|
| 6589 |
< |
ac_header_compiler=no |
| 6589 |
> |
ac_header_compiler=no |
| 6590 |
|
fi |
| 6591 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6592 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6593 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6594 |
|
|
| 7223 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7224 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7225 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 7226 |
– |
|
| 6595 |
|
# Is the header present? |
| 6596 |
< |
{ echo "$as_me:$LINENO: checking fftw.h presence" >&5 |
| 6597 |
< |
echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6; } |
| 6596 |
> |
echo "$as_me:$LINENO: checking fftw.h presence" >&5 |
| 6597 |
> |
echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6 |
| 6598 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6599 |
|
/* confdefs.h. */ |
| 6600 |
|
_ACEOF |
| 6603 |
|
/* end confdefs.h. */ |
| 6604 |
|
#include <fftw.h> |
| 6605 |
|
_ACEOF |
| 6606 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6607 |
< |
case "(($ac_try" in |
| 7240 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7241 |
< |
*) ac_try_echo=$ac_try;; |
| 7242 |
< |
esac |
| 7243 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7244 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6606 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6607 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6608 |
|
ac_status=$? |
| 6609 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6610 |
|
rm -f conftest.er1 |
| 6611 |
|
cat conftest.err >&5 |
| 6612 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6613 |
< |
(exit $ac_status); } >/dev/null && { |
| 6614 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6615 |
< |
test ! -s conftest.err |
| 6616 |
< |
}; then |
| 6613 |
> |
(exit $ac_status); } >/dev/null; then |
| 6614 |
> |
if test -s conftest.err; then |
| 6615 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6616 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6617 |
> |
else |
| 6618 |
> |
ac_cpp_err= |
| 6619 |
> |
fi |
| 6620 |
> |
else |
| 6621 |
> |
ac_cpp_err=yes |
| 6622 |
> |
fi |
| 6623 |
> |
if test -z "$ac_cpp_err"; then |
| 6624 |
|
ac_header_preproc=yes |
| 6625 |
|
else |
| 6626 |
|
echo "$as_me: failed program was:" >&5 |
| 6628 |
|
|
| 6629 |
|
ac_header_preproc=no |
| 6630 |
|
fi |
| 6631 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 6632 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6633 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6634 |
|
|
| 7262 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 7263 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7264 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 7265 |
– |
|
| 6635 |
|
# So? What about this header? |
| 6636 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6637 |
|
yes:no: ) |
| 6654 |
|
echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;} |
| 6655 |
|
{ echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5 |
| 6656 |
|
echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;} |
| 6657 |
< |
( cat <<\_ASBOX |
| 6657 |
> |
( |
| 6658 |
> |
cat <<\_ASBOX |
| 6659 |
|
## ------------------------------ ## |
| 6660 |
|
## Report this to gezelter@nd.edu ## |
| 6661 |
|
## ------------------------------ ## |
| 6662 |
|
_ASBOX |
| 6663 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 6663 |
> |
) | |
| 6664 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6665 |
|
;; |
| 6666 |
|
esac |
| 6667 |
< |
{ echo "$as_me:$LINENO: checking for fftw.h" >&5 |
| 6668 |
< |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6; } |
| 6667 |
> |
echo "$as_me:$LINENO: checking for fftw.h" >&5 |
| 6668 |
> |
echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6 |
| 6669 |
|
if test "${ac_cv_header_fftw_h+set}" = set; then |
| 6670 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6671 |
|
else |
| 6672 |
|
ac_cv_header_fftw_h=$ac_header_preproc |
| 6673 |
|
fi |
| 6674 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
| 6675 |
< |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6; } |
| 6674 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5 |
| 6675 |
> |
echo "${ECHO_T}$ac_cv_header_fftw_h" >&6 |
| 6676 |
|
|
| 6677 |
|
fi |
| 6678 |
|
if test $ac_cv_header_fftw_h = yes; then |
| 6683 |
|
|
| 6684 |
|
|
| 6685 |
|
if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"; then |
| 6686 |
< |
{ echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5 |
| 6687 |
< |
echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6; } |
| 6686 |
> |
echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5 |
| 6687 |
> |
echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6 |
| 6688 |
|
if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then |
| 6689 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6690 |
|
else |
| 6697 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 6698 |
|
/* end confdefs.h. */ |
| 6699 |
|
|
| 6700 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 7330 |
< |
Use char because int might match the return type of a GCC |
| 7331 |
< |
builtin and then its argument prototype would still apply. */ |
| 6700 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 6701 |
|
#ifdef __cplusplus |
| 6702 |
|
extern "C" |
| 6703 |
|
#endif |
| 6704 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 6705 |
+ |
builtin and then its argument prototype would still apply. */ |
| 6706 |
|
char fftwnd_one (); |
| 6707 |
|
#ifdef FC_DUMMY_MAIN |
| 6708 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 6715 |
|
int |
| 6716 |
|
main () |
| 6717 |
|
{ |
| 6718 |
< |
return fftwnd_one (); |
| 6718 |
> |
fftwnd_one (); |
| 6719 |
|
; |
| 6720 |
|
return 0; |
| 6721 |
|
} |
| 6722 |
|
_ACEOF |
| 6723 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 6724 |
< |
if { (ac_try="$ac_link" |
| 6725 |
< |
case "(($ac_try" in |
| 7355 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7356 |
< |
*) ac_try_echo=$ac_try;; |
| 7357 |
< |
esac |
| 7358 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7359 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 6723 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 6724 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 6725 |
> |
(eval $ac_link) 2>conftest.er1 |
| 6726 |
|
ac_status=$? |
| 6727 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6728 |
|
rm -f conftest.er1 |
| 6729 |
|
cat conftest.err >&5 |
| 6730 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6731 |
< |
(exit $ac_status); } && { |
| 6732 |
< |
test -z "$ac_c_werror_flag" || |
| 6733 |
< |
test ! -s conftest.err |
| 6734 |
< |
} && test -s conftest$ac_exeext && |
| 6735 |
< |
$as_test_x conftest$ac_exeext; then |
| 6731 |
> |
(exit $ac_status); } && |
| 6732 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6733 |
> |
|| test ! -s conftest.err' |
| 6734 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6735 |
> |
(eval $ac_try) 2>&5 |
| 6736 |
> |
ac_status=$? |
| 6737 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6738 |
> |
(exit $ac_status); }; } && |
| 6739 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 6740 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6741 |
> |
(eval $ac_try) 2>&5 |
| 6742 |
> |
ac_status=$? |
| 6743 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6744 |
> |
(exit $ac_status); }; }; then |
| 6745 |
|
ac_cv_lib_dfftw_fftwnd_one=yes |
| 6746 |
|
else |
| 6747 |
|
echo "$as_me: failed program was:" >&5 |
| 6748 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6749 |
|
|
| 6750 |
< |
ac_cv_lib_dfftw_fftwnd_one=no |
| 6750 |
> |
ac_cv_lib_dfftw_fftwnd_one=no |
| 6751 |
|
fi |
| 6752 |
< |
|
| 7378 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 6752 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 6753 |
|
conftest$ac_exeext conftest.$ac_ext |
| 6754 |
|
LIBS=$ac_check_lib_save_LIBS |
| 6755 |
|
fi |
| 6756 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
| 6757 |
< |
echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6; } |
| 6756 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5 |
| 6757 |
> |
echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6 |
| 6758 |
|
if test $ac_cv_lib_dfftw_fftwnd_one = yes; then |
| 6759 |
|
fftw_cv_libdfftw=yes |
| 6760 |
|
else |
| 6762 |
|
fi |
| 6763 |
|
|
| 6764 |
|
if test "${ac_cv_header_dfftw_h+set}" = set; then |
| 6765 |
< |
{ echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
| 6766 |
< |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6; } |
| 6765 |
> |
echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
| 6766 |
> |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6 |
| 6767 |
|
if test "${ac_cv_header_dfftw_h+set}" = set; then |
| 6768 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6769 |
|
fi |
| 6770 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
| 6771 |
< |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6; } |
| 6770 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
| 6771 |
> |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6 |
| 6772 |
|
else |
| 6773 |
|
# Is the header compilable? |
| 6774 |
< |
{ echo "$as_me:$LINENO: checking dfftw.h usability" >&5 |
| 6775 |
< |
echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6; } |
| 6774 |
> |
echo "$as_me:$LINENO: checking dfftw.h usability" >&5 |
| 6775 |
> |
echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6 |
| 6776 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6777 |
|
/* confdefs.h. */ |
| 6778 |
|
_ACEOF |
| 6782 |
|
$ac_includes_default |
| 6783 |
|
#include <dfftw.h> |
| 6784 |
|
_ACEOF |
| 6785 |
< |
rm -rf conftest.$ac_objext |
| 6786 |
< |
if { (ac_try="$ac_compile" |
| 6787 |
< |
case "(($ac_try" in |
| 7414 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7415 |
< |
*) ac_try_echo=$ac_try;; |
| 7416 |
< |
esac |
| 7417 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7418 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 6785 |
> |
rm -f conftest.$ac_objext |
| 6786 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 6787 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 6788 |
|
ac_status=$? |
| 6789 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6790 |
|
rm -f conftest.er1 |
| 6791 |
|
cat conftest.err >&5 |
| 6792 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6793 |
< |
(exit $ac_status); } && { |
| 6794 |
< |
test -z "$ac_c_werror_flag" || |
| 6795 |
< |
test ! -s conftest.err |
| 6796 |
< |
} && test -s conftest.$ac_objext; then |
| 6793 |
> |
(exit $ac_status); } && |
| 6794 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 6795 |
> |
|| test ! -s conftest.err' |
| 6796 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6797 |
> |
(eval $ac_try) 2>&5 |
| 6798 |
> |
ac_status=$? |
| 6799 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6800 |
> |
(exit $ac_status); }; } && |
| 6801 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 6802 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 6803 |
> |
(eval $ac_try) 2>&5 |
| 6804 |
> |
ac_status=$? |
| 6805 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6806 |
> |
(exit $ac_status); }; }; then |
| 6807 |
|
ac_header_compiler=yes |
| 6808 |
|
else |
| 6809 |
|
echo "$as_me: failed program was:" >&5 |
| 6810 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 6811 |
|
|
| 6812 |
< |
ac_header_compiler=no |
| 6812 |
> |
ac_header_compiler=no |
| 6813 |
|
fi |
| 6814 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6815 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6816 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 6817 |
|
|
| 7436 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7437 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7438 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 7439 |
– |
|
| 6818 |
|
# Is the header present? |
| 6819 |
< |
{ echo "$as_me:$LINENO: checking dfftw.h presence" >&5 |
| 6820 |
< |
echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6; } |
| 6819 |
> |
echo "$as_me:$LINENO: checking dfftw.h presence" >&5 |
| 6820 |
> |
echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6 |
| 6821 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 6822 |
|
/* confdefs.h. */ |
| 6823 |
|
_ACEOF |
| 6826 |
|
/* end confdefs.h. */ |
| 6827 |
|
#include <dfftw.h> |
| 6828 |
|
_ACEOF |
| 6829 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6830 |
< |
case "(($ac_try" in |
| 7453 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7454 |
< |
*) ac_try_echo=$ac_try;; |
| 7455 |
< |
esac |
| 7456 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7457 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 6829 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 6830 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 6831 |
|
ac_status=$? |
| 6832 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 6833 |
|
rm -f conftest.er1 |
| 6834 |
|
cat conftest.err >&5 |
| 6835 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6836 |
< |
(exit $ac_status); } >/dev/null && { |
| 6837 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6838 |
< |
test ! -s conftest.err |
| 6839 |
< |
}; then |
| 6836 |
> |
(exit $ac_status); } >/dev/null; then |
| 6837 |
> |
if test -s conftest.err; then |
| 6838 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 6839 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 6840 |
> |
else |
| 6841 |
> |
ac_cpp_err= |
| 6842 |
> |
fi |
| 6843 |
> |
else |
| 6844 |
> |
ac_cpp_err=yes |
| 6845 |
> |
fi |
| 6846 |
> |
if test -z "$ac_cpp_err"; then |
| 6847 |
|
ac_header_preproc=yes |
| 6848 |
|
else |
| 6849 |
|
echo "$as_me: failed program was:" >&5 |
| 6851 |
|
|
| 6852 |
|
ac_header_preproc=no |
| 6853 |
|
fi |
| 6854 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 6855 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6856 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 6857 |
|
|
| 7475 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 7476 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7477 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 7478 |
– |
|
| 6858 |
|
# So? What about this header? |
| 6859 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 6860 |
|
yes:no: ) |
| 6877 |
|
echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;} |
| 6878 |
|
{ echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5 |
| 6879 |
|
echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;} |
| 6880 |
< |
( cat <<\_ASBOX |
| 6880 |
> |
( |
| 6881 |
> |
cat <<\_ASBOX |
| 6882 |
|
## ------------------------------ ## |
| 6883 |
|
## Report this to gezelter@nd.edu ## |
| 6884 |
|
## ------------------------------ ## |
| 6885 |
|
_ASBOX |
| 6886 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 6886 |
> |
) | |
| 6887 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 6888 |
|
;; |
| 6889 |
|
esac |
| 6890 |
< |
{ echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
| 6891 |
< |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6; } |
| 6890 |
> |
echo "$as_me:$LINENO: checking for dfftw.h" >&5 |
| 6891 |
> |
echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6 |
| 6892 |
|
if test "${ac_cv_header_dfftw_h+set}" = set; then |
| 6893 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6894 |
|
else |
| 6895 |
|
ac_cv_header_dfftw_h=$ac_header_preproc |
| 6896 |
|
fi |
| 6897 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
| 6898 |
< |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6; } |
| 6897 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5 |
| 6898 |
> |
echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6 |
| 6899 |
|
|
| 6900 |
|
fi |
| 6901 |
|
if test $ac_cv_header_dfftw_h = yes; then |
| 6943 |
|
FFTW_LIB_DIR="${FFTW_HOME}/lib" |
| 6944 |
|
FFTW_LIBS="-ldfftw" |
| 6945 |
|
else |
| 6946 |
< |
{ echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5 |
| 6947 |
< |
echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6; } |
| 6946 |
> |
echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5 |
| 6947 |
> |
echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6 |
| 6948 |
|
FFTW_INC_DIR= |
| 6949 |
|
FFTW_LIB_DIR= |
| 6950 |
|
FFTW_LIBS= |
| 6951 |
|
LDFLAGS="$FFTW_OLD_LDFLAGS" |
| 6952 |
|
CPPFLAGS="$FFTW_OLD_CPPFLAGS" |
| 6953 |
< |
{ echo "$as_me:$LINENO: result: failed" >&5 |
| 6954 |
< |
echo "${ECHO_T}failed" >&6; } |
| 6953 |
> |
echo "$as_me:$LINENO: result: failed" >&5 |
| 6954 |
> |
echo "${ECHO_T}failed" >&6 |
| 6955 |
|
echo "" |
| 6956 |
|
echo "*********************************************************" |
| 6957 |
|
echo "* WARNING: Could not find a working FFTW installation *" |
| 6975 |
|
|
| 6976 |
|
|
| 6977 |
|
# Checks for header files. |
| 6978 |
< |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6979 |
< |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 6978 |
> |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6979 |
> |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| 6980 |
|
if test "${ac_cv_header_stdc+set}" = set; then |
| 6981 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6982 |
|
else |
| 7007 |
|
return 0; |
| 7008 |
|
} |
| 7009 |
|
_ACEOF |
| 7010 |
< |
rm -rf conftest.$ac_objext |
| 7011 |
< |
if { (ac_try="$ac_compile" |
| 7012 |
< |
case "(($ac_try" in |
| 7632 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7633 |
< |
*) ac_try_echo=$ac_try;; |
| 7634 |
< |
esac |
| 7635 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7636 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7010 |
> |
rm -f conftest.$ac_objext |
| 7011 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7012 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7013 |
|
ac_status=$? |
| 7014 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7015 |
|
rm -f conftest.er1 |
| 7016 |
|
cat conftest.err >&5 |
| 7017 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7018 |
< |
(exit $ac_status); } && { |
| 7019 |
< |
test -z "$ac_c_werror_flag" || |
| 7020 |
< |
test ! -s conftest.err |
| 7021 |
< |
} && test -s conftest.$ac_objext; then |
| 7018 |
> |
(exit $ac_status); } && |
| 7019 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7020 |
> |
|| test ! -s conftest.err' |
| 7021 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7022 |
> |
(eval $ac_try) 2>&5 |
| 7023 |
> |
ac_status=$? |
| 7024 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7025 |
> |
(exit $ac_status); }; } && |
| 7026 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7027 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7028 |
> |
(eval $ac_try) 2>&5 |
| 7029 |
> |
ac_status=$? |
| 7030 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7031 |
> |
(exit $ac_status); }; }; then |
| 7032 |
|
ac_cv_header_stdc=yes |
| 7033 |
|
else |
| 7034 |
|
echo "$as_me: failed program was:" >&5 |
| 7035 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7036 |
|
|
| 7037 |
< |
ac_cv_header_stdc=no |
| 7037 |
> |
ac_cv_header_stdc=no |
| 7038 |
|
fi |
| 7039 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7040 |
|
|
| 7654 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7655 |
– |
|
| 7041 |
|
if test $ac_cv_header_stdc = yes; then |
| 7042 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 7043 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7055 |
|
else |
| 7056 |
|
ac_cv_header_stdc=no |
| 7057 |
|
fi |
| 7058 |
< |
rm -rf conftest* |
| 7058 |
> |
rm -f conftest* |
| 7059 |
|
|
| 7060 |
|
fi |
| 7061 |
|
|
| 7076 |
|
else |
| 7077 |
|
ac_cv_header_stdc=no |
| 7078 |
|
fi |
| 7079 |
< |
rm -rf conftest* |
| 7079 |
> |
rm -f conftest* |
| 7080 |
|
|
| 7081 |
|
fi |
| 7082 |
|
|
| 7092 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7093 |
|
/* end confdefs.h. */ |
| 7094 |
|
#include <ctype.h> |
| 7710 |
– |
#include <stdlib.h> |
| 7095 |
|
#if ((' ' & 0x0FF) == 0x020) |
| 7096 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 7097 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 7111 |
|
for (i = 0; i < 256; i++) |
| 7112 |
|
if (XOR (islower (i), ISLOWER (i)) |
| 7113 |
|
|| toupper (i) != TOUPPER (i)) |
| 7114 |
< |
return 2; |
| 7115 |
< |
return 0; |
| 7114 |
> |
exit(2); |
| 7115 |
> |
exit (0); |
| 7116 |
|
} |
| 7117 |
|
_ACEOF |
| 7118 |
< |
rm -rf conftest$ac_exeext |
| 7119 |
< |
if { (ac_try="$ac_link" |
| 7120 |
< |
case "(($ac_try" in |
| 7737 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7738 |
< |
*) ac_try_echo=$ac_try;; |
| 7739 |
< |
esac |
| 7740 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7741 |
< |
(eval "$ac_link") 2>&5 |
| 7118 |
> |
rm -f conftest$ac_exeext |
| 7119 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 7120 |
> |
(eval $ac_link) 2>&5 |
| 7121 |
|
ac_status=$? |
| 7122 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7123 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 7124 |
< |
{ (case "(($ac_try" in |
| 7125 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7747 |
< |
*) ac_try_echo=$ac_try;; |
| 7748 |
< |
esac |
| 7749 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7750 |
< |
(eval "$ac_try") 2>&5 |
| 7124 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7125 |
> |
(eval $ac_try) 2>&5 |
| 7126 |
|
ac_status=$? |
| 7127 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7128 |
|
(exit $ac_status); }; }; then |
| 7135 |
|
( exit $ac_status ) |
| 7136 |
|
ac_cv_header_stdc=no |
| 7137 |
|
fi |
| 7138 |
< |
rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7138 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 7139 |
|
fi |
| 7765 |
– |
|
| 7766 |
– |
|
| 7140 |
|
fi |
| 7141 |
|
fi |
| 7142 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 7143 |
< |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 7142 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 7143 |
> |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| 7144 |
|
if test $ac_cv_header_stdc = yes; then |
| 7145 |
|
|
| 7146 |
|
cat >>confdefs.h <<\_ACEOF |
| 7177 |
|
for ac_header in conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h |
| 7178 |
|
do |
| 7179 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7180 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7181 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7182 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 7183 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7180 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7181 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7182 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7183 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7184 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7185 |
|
fi |
| 7186 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 7187 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7815 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 7186 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7187 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7188 |
|
else |
| 7189 |
|
# Is the header compilable? |
| 7190 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 7191 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 7190 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 7191 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 7192 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7193 |
|
/* confdefs.h. */ |
| 7194 |
|
_ACEOF |
| 7198 |
|
$ac_includes_default |
| 7199 |
|
#include <$ac_header> |
| 7200 |
|
_ACEOF |
| 7201 |
< |
rm -rf conftest.$ac_objext |
| 7202 |
< |
if { (ac_try="$ac_compile" |
| 7203 |
< |
case "(($ac_try" in |
| 7832 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7833 |
< |
*) ac_try_echo=$ac_try;; |
| 7834 |
< |
esac |
| 7835 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7836 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7201 |
> |
rm -f conftest.$ac_objext |
| 7202 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7203 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7204 |
|
ac_status=$? |
| 7205 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7206 |
|
rm -f conftest.er1 |
| 7207 |
|
cat conftest.err >&5 |
| 7208 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7209 |
< |
(exit $ac_status); } && { |
| 7210 |
< |
test -z "$ac_c_werror_flag" || |
| 7211 |
< |
test ! -s conftest.err |
| 7212 |
< |
} && test -s conftest.$ac_objext; then |
| 7209 |
> |
(exit $ac_status); } && |
| 7210 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7211 |
> |
|| test ! -s conftest.err' |
| 7212 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7213 |
> |
(eval $ac_try) 2>&5 |
| 7214 |
> |
ac_status=$? |
| 7215 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7216 |
> |
(exit $ac_status); }; } && |
| 7217 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7218 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7219 |
> |
(eval $ac_try) 2>&5 |
| 7220 |
> |
ac_status=$? |
| 7221 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7222 |
> |
(exit $ac_status); }; }; then |
| 7223 |
|
ac_header_compiler=yes |
| 7224 |
|
else |
| 7225 |
|
echo "$as_me: failed program was:" >&5 |
| 7226 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7227 |
|
|
| 7228 |
< |
ac_header_compiler=no |
| 7228 |
> |
ac_header_compiler=no |
| 7229 |
|
fi |
| 7230 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7231 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7232 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 7233 |
|
|
| 7854 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7855 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7856 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 7857 |
– |
|
| 7234 |
|
# Is the header present? |
| 7235 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 7236 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 7235 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 7236 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 7237 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 7238 |
|
/* confdefs.h. */ |
| 7239 |
|
_ACEOF |
| 7242 |
|
/* end confdefs.h. */ |
| 7243 |
|
#include <$ac_header> |
| 7244 |
|
_ACEOF |
| 7245 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 7246 |
< |
case "(($ac_try" in |
| 7871 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 7872 |
< |
*) ac_try_echo=$ac_try;; |
| 7873 |
< |
esac |
| 7874 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 7875 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 7245 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 7246 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 7247 |
|
ac_status=$? |
| 7248 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7249 |
|
rm -f conftest.er1 |
| 7250 |
|
cat conftest.err >&5 |
| 7251 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7252 |
< |
(exit $ac_status); } >/dev/null && { |
| 7253 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 7254 |
< |
test ! -s conftest.err |
| 7255 |
< |
}; then |
| 7252 |
> |
(exit $ac_status); } >/dev/null; then |
| 7253 |
> |
if test -s conftest.err; then |
| 7254 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 7255 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 7256 |
> |
else |
| 7257 |
> |
ac_cpp_err= |
| 7258 |
> |
fi |
| 7259 |
> |
else |
| 7260 |
> |
ac_cpp_err=yes |
| 7261 |
> |
fi |
| 7262 |
> |
if test -z "$ac_cpp_err"; then |
| 7263 |
|
ac_header_preproc=yes |
| 7264 |
|
else |
| 7265 |
|
echo "$as_me: failed program was:" >&5 |
| 7267 |
|
|
| 7268 |
|
ac_header_preproc=no |
| 7269 |
|
fi |
| 7270 |
< |
|
| 7271 |
< |
rm -rf conftest.err conftest.$ac_ext |
| 7272 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7895 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 7270 |
> |
rm -f conftest.err conftest.$ac_ext |
| 7271 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 7272 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 7273 |
|
|
| 7274 |
|
# So? What about this header? |
| 7275 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 7293 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 7294 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 7295 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 7296 |
< |
( cat <<\_ASBOX |
| 7296 |
> |
( |
| 7297 |
> |
cat <<\_ASBOX |
| 7298 |
|
## ------------------------------ ## |
| 7299 |
|
## Report this to gezelter@nd.edu ## |
| 7300 |
|
## ------------------------------ ## |
| 7301 |
|
_ASBOX |
| 7302 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 7302 |
> |
) | |
| 7303 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 7304 |
|
;; |
| 7305 |
|
esac |
| 7306 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7307 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 7308 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 7306 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 7307 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 7308 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 7309 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7310 |
|
else |
| 7311 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 7312 |
|
fi |
| 7313 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 7314 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7936 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 7313 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 7314 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 7315 |
|
|
| 7316 |
|
fi |
| 7317 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 7325 |
|
|
| 7326 |
|
|
| 7327 |
|
# Checks for typedefs, structures, and compiler characteristics. |
| 7328 |
< |
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
| 7329 |
< |
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; } |
| 7328 |
> |
echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 |
| 7329 |
> |
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 |
| 7330 |
|
if test "${ac_cv_header_stdbool_h+set}" = set; then |
| 7331 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7332 |
|
else |
| 7339 |
|
|
| 7340 |
|
#include <stdbool.h> |
| 7341 |
|
#ifndef bool |
| 7342 |
< |
"error: bool is not defined" |
| 7342 |
> |
# error bool is not defined |
| 7343 |
|
#endif |
| 7344 |
|
#ifndef false |
| 7345 |
< |
"error: false is not defined" |
| 7345 |
> |
# error false is not defined |
| 7346 |
|
#endif |
| 7347 |
|
#if false |
| 7348 |
< |
"error: false is not 0" |
| 7348 |
> |
# error false is not 0 |
| 7349 |
|
#endif |
| 7350 |
|
#ifndef true |
| 7351 |
< |
"error: true is not defined" |
| 7351 |
> |
# error true is not defined |
| 7352 |
|
#endif |
| 7353 |
|
#if true != 1 |
| 7354 |
< |
"error: true is not 1" |
| 7354 |
> |
# error true is not 1 |
| 7355 |
|
#endif |
| 7356 |
|
#ifndef __bool_true_false_are_defined |
| 7357 |
< |
"error: __bool_true_false_are_defined is not defined" |
| 7357 |
> |
# error __bool_true_false_are_defined is not defined |
| 7358 |
|
#endif |
| 7359 |
|
|
| 7360 |
|
struct s { _Bool s: 1; _Bool t; } s; |
| 7362 |
|
char a[true == 1 ? 1 : -1]; |
| 7363 |
|
char b[false == 0 ? 1 : -1]; |
| 7364 |
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
| 7365 |
< |
char d[(bool) 0.5 == true ? 1 : -1]; |
| 7365 |
> |
char d[(bool) -0.5 == true ? 1 : -1]; |
| 7366 |
|
bool e = &s; |
| 7367 |
< |
char f[(_Bool) 0.0 == false ? 1 : -1]; |
| 7367 |
> |
char f[(_Bool) -0.0 == false ? 1 : -1]; |
| 7368 |
|
char g[true]; |
| 7369 |
|
char h[sizeof (_Bool)]; |
| 7370 |
|
char i[sizeof s.t]; |
| 7993 |
– |
enum { j = false, k = true, l = false * true, m = true * 256 }; |
| 7994 |
– |
_Bool n[m]; |
| 7995 |
– |
char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
| 7996 |
– |
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
| 7997 |
– |
# if defined __xlc__ || defined __GNUC__ |
| 7998 |
– |
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 |
| 7999 |
– |
reported by James Lemley on 2005-10-05; see |
| 8000 |
– |
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html |
| 8001 |
– |
This test is not quite right, since xlc is allowed to |
| 8002 |
– |
reject this program, as the initializer for xlcbug is |
| 8003 |
– |
not one of the forms that C requires support for. |
| 8004 |
– |
However, doing the test right would require a runtime |
| 8005 |
– |
test, and that would make cross-compilation harder. |
| 8006 |
– |
Let us hope that IBM fixes the xlc bug, and also adds |
| 8007 |
– |
support for this kind of constant expression. In the |
| 8008 |
– |
meantime, this test will reject xlc, which is OK, since |
| 8009 |
– |
our stdbool.h substitute should suffice. We also test |
| 8010 |
– |
this with GCC, where it should work, to detect more |
| 8011 |
– |
quickly whether someone messes up the test in the |
| 8012 |
– |
future. */ |
| 8013 |
– |
char digs[] = "0123456789"; |
| 8014 |
– |
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); |
| 8015 |
– |
# endif |
| 8016 |
– |
/* Catch a bug in an HP-UX C compiler. See |
| 8017 |
– |
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
| 8018 |
– |
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
| 8019 |
– |
*/ |
| 8020 |
– |
_Bool q = true; |
| 8021 |
– |
_Bool *pq = &q; |
| 7371 |
|
|
| 7372 |
|
#ifdef FC_DUMMY_MAIN |
| 7373 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 7380 |
|
int |
| 7381 |
|
main () |
| 7382 |
|
{ |
| 7383 |
< |
|
| 8035 |
< |
*pq |= q; |
| 8036 |
< |
*pq |= ! q; |
| 8037 |
< |
/* Refer to every declared value, to avoid compiler optimizations. */ |
| 8038 |
< |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
| 8039 |
< |
+ !m + !n + !o + !p + !q + !pq); |
| 8040 |
< |
|
| 7383 |
> |
return !a + !b + !c + !d + !e + !f + !g + !h + !i; |
| 7384 |
|
; |
| 7385 |
|
return 0; |
| 7386 |
|
} |
| 7387 |
|
_ACEOF |
| 7388 |
< |
rm -rf conftest.$ac_objext |
| 7389 |
< |
if { (ac_try="$ac_compile" |
| 7390 |
< |
case "(($ac_try" in |
| 8048 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8049 |
< |
*) ac_try_echo=$ac_try;; |
| 8050 |
< |
esac |
| 8051 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8052 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7388 |
> |
rm -f conftest.$ac_objext |
| 7389 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7390 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7391 |
|
ac_status=$? |
| 7392 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7393 |
|
rm -f conftest.er1 |
| 7394 |
|
cat conftest.err >&5 |
| 7395 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7396 |
< |
(exit $ac_status); } && { |
| 7397 |
< |
test -z "$ac_c_werror_flag" || |
| 7398 |
< |
test ! -s conftest.err |
| 7399 |
< |
} && test -s conftest.$ac_objext; then |
| 7396 |
> |
(exit $ac_status); } && |
| 7397 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7398 |
> |
|| test ! -s conftest.err' |
| 7399 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7400 |
> |
(eval $ac_try) 2>&5 |
| 7401 |
> |
ac_status=$? |
| 7402 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7403 |
> |
(exit $ac_status); }; } && |
| 7404 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7405 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7406 |
> |
(eval $ac_try) 2>&5 |
| 7407 |
> |
ac_status=$? |
| 7408 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7409 |
> |
(exit $ac_status); }; }; then |
| 7410 |
|
ac_cv_header_stdbool_h=yes |
| 7411 |
|
else |
| 7412 |
|
echo "$as_me: failed program was:" >&5 |
| 7413 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7414 |
|
|
| 7415 |
< |
ac_cv_header_stdbool_h=no |
| 7415 |
> |
ac_cv_header_stdbool_h=no |
| 7416 |
|
fi |
| 7417 |
< |
|
| 8070 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7417 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7418 |
|
fi |
| 7419 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
| 7420 |
< |
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; } |
| 7421 |
< |
{ echo "$as_me:$LINENO: checking for _Bool" >&5 |
| 7422 |
< |
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; } |
| 7419 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 |
| 7420 |
> |
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 |
| 7421 |
> |
echo "$as_me:$LINENO: checking for _Bool" >&5 |
| 7422 |
> |
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 |
| 7423 |
|
if test "${ac_cv_type__Bool+set}" = set; then |
| 7424 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7425 |
|
else |
| 7430 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7431 |
|
/* end confdefs.h. */ |
| 7432 |
|
$ac_includes_default |
| 8086 |
– |
typedef _Bool ac__type_new_; |
| 7433 |
|
#ifdef FC_DUMMY_MAIN |
| 7434 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 7435 |
|
# ifdef __cplusplus |
| 7441 |
|
int |
| 7442 |
|
main () |
| 7443 |
|
{ |
| 7444 |
< |
if ((ac__type_new_ *) 0) |
| 7444 |
> |
if ((_Bool *) 0) |
| 7445 |
|
return 0; |
| 7446 |
< |
if (sizeof (ac__type_new_)) |
| 7446 |
> |
if (sizeof (_Bool)) |
| 7447 |
|
return 0; |
| 7448 |
|
; |
| 7449 |
|
return 0; |
| 7450 |
|
} |
| 7451 |
|
_ACEOF |
| 7452 |
< |
rm -rf conftest.$ac_objext |
| 7453 |
< |
if { (ac_try="$ac_compile" |
| 7454 |
< |
case "(($ac_try" in |
| 8109 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8110 |
< |
*) ac_try_echo=$ac_try;; |
| 8111 |
< |
esac |
| 8112 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8113 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7452 |
> |
rm -f conftest.$ac_objext |
| 7453 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7454 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7455 |
|
ac_status=$? |
| 7456 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7457 |
|
rm -f conftest.er1 |
| 7458 |
|
cat conftest.err >&5 |
| 7459 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7460 |
< |
(exit $ac_status); } && { |
| 7461 |
< |
test -z "$ac_c_werror_flag" || |
| 7462 |
< |
test ! -s conftest.err |
| 7463 |
< |
} && test -s conftest.$ac_objext; then |
| 7460 |
> |
(exit $ac_status); } && |
| 7461 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7462 |
> |
|| test ! -s conftest.err' |
| 7463 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7464 |
> |
(eval $ac_try) 2>&5 |
| 7465 |
> |
ac_status=$? |
| 7466 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7467 |
> |
(exit $ac_status); }; } && |
| 7468 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7469 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7470 |
> |
(eval $ac_try) 2>&5 |
| 7471 |
> |
ac_status=$? |
| 7472 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7473 |
> |
(exit $ac_status); }; }; then |
| 7474 |
|
ac_cv_type__Bool=yes |
| 7475 |
|
else |
| 7476 |
|
echo "$as_me: failed program was:" >&5 |
| 7477 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7478 |
|
|
| 7479 |
< |
ac_cv_type__Bool=no |
| 7479 |
> |
ac_cv_type__Bool=no |
| 7480 |
|
fi |
| 7481 |
< |
|
| 8131 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7481 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7482 |
|
fi |
| 7483 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
| 7484 |
< |
echo "${ECHO_T}$ac_cv_type__Bool" >&6; } |
| 7483 |
> |
echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 |
| 7484 |
> |
echo "${ECHO_T}$ac_cv_type__Bool" >&6 |
| 7485 |
|
if test $ac_cv_type__Bool = yes; then |
| 7486 |
|
|
| 7487 |
|
cat >>confdefs.h <<_ACEOF |
| 7499 |
|
|
| 7500 |
|
fi |
| 7501 |
|
|
| 7502 |
< |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 7503 |
< |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
| 7502 |
> |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 7503 |
> |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 7504 |
|
if test "${ac_cv_c_const+set}" = set; then |
| 7505 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7506 |
|
else |
| 7526 |
|
#ifndef __cplusplus |
| 7527 |
|
/* Ultrix mips cc rejects this. */ |
| 7528 |
|
typedef int charset[2]; |
| 7529 |
< |
const charset cs; |
| 7529 |
> |
const charset x; |
| 7530 |
|
/* SunOS 4.1.1 cc rejects this. */ |
| 7531 |
< |
char const *const *pcpcc; |
| 7532 |
< |
char **ppc; |
| 7531 |
> |
char const *const *ccp; |
| 7532 |
> |
char **p; |
| 7533 |
|
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 7534 |
|
struct point {int x, y;}; |
| 7535 |
|
static struct point const zero = {0,0}; |
| 7538 |
|
an arm of an if-expression whose if-part is not a constant |
| 7539 |
|
expression */ |
| 7540 |
|
const char *g = "string"; |
| 7541 |
< |
pcpcc = &g + (g ? g-g : 0); |
| 7541 |
> |
ccp = &g + (g ? g-g : 0); |
| 7542 |
|
/* HPUX 7.0 cc rejects these. */ |
| 7543 |
< |
++pcpcc; |
| 7544 |
< |
ppc = (char**) pcpcc; |
| 7545 |
< |
pcpcc = (char const *const *) ppc; |
| 7543 |
> |
++ccp; |
| 7544 |
> |
p = (char**) ccp; |
| 7545 |
> |
ccp = (char const *const *) p; |
| 7546 |
|
{ /* SCO 3.2v4 cc rejects this. */ |
| 7547 |
|
char *t; |
| 7548 |
|
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 7549 |
|
|
| 7550 |
|
*t++ = 0; |
| 8201 |
– |
if (s) return 0; |
| 7551 |
|
} |
| 7552 |
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 7553 |
|
int x[] = {25, 17}; |
| 7566 |
|
} |
| 7567 |
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 7568 |
|
const int foo = 10; |
| 8220 |
– |
if (!foo) return 0; |
| 7569 |
|
} |
| 8222 |
– |
return !cs[0] && !zero.x; |
| 7570 |
|
#endif |
| 7571 |
|
|
| 7572 |
|
; |
| 7573 |
|
return 0; |
| 7574 |
|
} |
| 7575 |
|
_ACEOF |
| 7576 |
< |
rm -rf conftest.$ac_objext |
| 7577 |
< |
if { (ac_try="$ac_compile" |
| 7578 |
< |
case "(($ac_try" in |
| 8232 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8233 |
< |
*) ac_try_echo=$ac_try;; |
| 8234 |
< |
esac |
| 8235 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8236 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7576 |
> |
rm -f conftest.$ac_objext |
| 7577 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7578 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7579 |
|
ac_status=$? |
| 7580 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7581 |
|
rm -f conftest.er1 |
| 7582 |
|
cat conftest.err >&5 |
| 7583 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7584 |
< |
(exit $ac_status); } && { |
| 7585 |
< |
test -z "$ac_c_werror_flag" || |
| 7586 |
< |
test ! -s conftest.err |
| 7587 |
< |
} && test -s conftest.$ac_objext; then |
| 7584 |
> |
(exit $ac_status); } && |
| 7585 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7586 |
> |
|| test ! -s conftest.err' |
| 7587 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7588 |
> |
(eval $ac_try) 2>&5 |
| 7589 |
> |
ac_status=$? |
| 7590 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7591 |
> |
(exit $ac_status); }; } && |
| 7592 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7593 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7594 |
> |
(eval $ac_try) 2>&5 |
| 7595 |
> |
ac_status=$? |
| 7596 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7597 |
> |
(exit $ac_status); }; }; then |
| 7598 |
|
ac_cv_c_const=yes |
| 7599 |
|
else |
| 7600 |
|
echo "$as_me: failed program was:" >&5 |
| 7601 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7602 |
|
|
| 7603 |
< |
ac_cv_c_const=no |
| 7603 |
> |
ac_cv_c_const=no |
| 7604 |
|
fi |
| 7605 |
< |
|
| 8254 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7605 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7606 |
|
fi |
| 7607 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 7608 |
< |
echo "${ECHO_T}$ac_cv_c_const" >&6; } |
| 7607 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 7608 |
> |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 7609 |
|
if test $ac_cv_c_const = no; then |
| 7610 |
|
|
| 7611 |
|
cat >>confdefs.h <<\_ACEOF |
| 7614 |
|
|
| 7615 |
|
fi |
| 7616 |
|
|
| 7617 |
< |
{ echo "$as_me:$LINENO: checking for inline" >&5 |
| 7618 |
< |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
| 7617 |
> |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 7618 |
> |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 7619 |
|
if test "${ac_cv_c_inline+set}" = set; then |
| 7620 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7621 |
|
else |
| 7634 |
|
#endif |
| 7635 |
|
|
| 7636 |
|
_ACEOF |
| 7637 |
< |
rm -rf conftest.$ac_objext |
| 7638 |
< |
if { (ac_try="$ac_compile" |
| 7639 |
< |
case "(($ac_try" in |
| 8289 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8290 |
< |
*) ac_try_echo=$ac_try;; |
| 8291 |
< |
esac |
| 8292 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8293 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7637 |
> |
rm -f conftest.$ac_objext |
| 7638 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7639 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7640 |
|
ac_status=$? |
| 7641 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7642 |
|
rm -f conftest.er1 |
| 7643 |
|
cat conftest.err >&5 |
| 7644 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7645 |
< |
(exit $ac_status); } && { |
| 7646 |
< |
test -z "$ac_c_werror_flag" || |
| 7647 |
< |
test ! -s conftest.err |
| 7648 |
< |
} && test -s conftest.$ac_objext; then |
| 7649 |
< |
ac_cv_c_inline=$ac_kw |
| 7645 |
> |
(exit $ac_status); } && |
| 7646 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7647 |
> |
|| test ! -s conftest.err' |
| 7648 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7649 |
> |
(eval $ac_try) 2>&5 |
| 7650 |
> |
ac_status=$? |
| 7651 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7652 |
> |
(exit $ac_status); }; } && |
| 7653 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7654 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7655 |
> |
(eval $ac_try) 2>&5 |
| 7656 |
> |
ac_status=$? |
| 7657 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7658 |
> |
(exit $ac_status); }; }; then |
| 7659 |
> |
ac_cv_c_inline=$ac_kw; break |
| 7660 |
|
else |
| 7661 |
|
echo "$as_me: failed program was:" >&5 |
| 7662 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7663 |
|
|
| 8308 |
– |
|
| 7664 |
|
fi |
| 7665 |
< |
|
| 8311 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8312 |
< |
test "$ac_cv_c_inline" != no && break |
| 7665 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7666 |
|
done |
| 7667 |
|
|
| 7668 |
|
fi |
| 7669 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 7670 |
< |
echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
| 7669 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 7670 |
> |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 7671 |
|
|
| 7672 |
|
|
| 7673 |
|
case $ac_cv_c_inline in |
| 7685 |
|
;; |
| 7686 |
|
esac |
| 7687 |
|
|
| 7688 |
< |
{ echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
| 7689 |
< |
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6; } |
| 7688 |
> |
echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5 |
| 7689 |
> |
echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6 |
| 7690 |
|
if test "${ac_cv_c_restrict+set}" = set; then |
| 7691 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7692 |
|
else |
| 7700 |
|
cat confdefs.h >>conftest.$ac_ext |
| 7701 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7702 |
|
/* end confdefs.h. */ |
| 7703 |
< |
typedef int * int_ptr; |
| 8351 |
< |
int foo (int_ptr $ac_kw ip) { |
| 8352 |
< |
return ip[0]; |
| 8353 |
< |
} |
| 8354 |
< |
#ifdef FC_DUMMY_MAIN |
| 8355 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 8356 |
< |
# ifdef __cplusplus |
| 8357 |
< |
extern "C" |
| 8358 |
< |
# endif |
| 8359 |
< |
int FC_DUMMY_MAIN() { return 1; } |
| 8360 |
< |
#endif |
| 8361 |
< |
#endif |
| 8362 |
< |
int |
| 8363 |
< |
main () |
| 8364 |
< |
{ |
| 8365 |
< |
int s[1]; |
| 8366 |
< |
int * $ac_kw t = s; |
| 8367 |
< |
t[0] = 0; |
| 8368 |
< |
return foo(t) |
| 8369 |
< |
; |
| 8370 |
< |
return 0; |
| 8371 |
< |
} |
| 7703 |
> |
float * $ac_kw x; |
| 7704 |
|
_ACEOF |
| 7705 |
< |
rm -rf conftest.$ac_objext |
| 7706 |
< |
if { (ac_try="$ac_compile" |
| 7707 |
< |
case "(($ac_try" in |
| 8376 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8377 |
< |
*) ac_try_echo=$ac_try;; |
| 8378 |
< |
esac |
| 8379 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8380 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7705 |
> |
rm -f conftest.$ac_objext |
| 7706 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7707 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7708 |
|
ac_status=$? |
| 7709 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7710 |
|
rm -f conftest.er1 |
| 7711 |
|
cat conftest.err >&5 |
| 7712 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7713 |
< |
(exit $ac_status); } && { |
| 7714 |
< |
test -z "$ac_c_werror_flag" || |
| 7715 |
< |
test ! -s conftest.err |
| 7716 |
< |
} && test -s conftest.$ac_objext; then |
| 7717 |
< |
ac_cv_c_restrict=$ac_kw |
| 7713 |
> |
(exit $ac_status); } && |
| 7714 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7715 |
> |
|| test ! -s conftest.err' |
| 7716 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7717 |
> |
(eval $ac_try) 2>&5 |
| 7718 |
> |
ac_status=$? |
| 7719 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7720 |
> |
(exit $ac_status); }; } && |
| 7721 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7722 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7723 |
> |
(eval $ac_try) 2>&5 |
| 7724 |
> |
ac_status=$? |
| 7725 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7726 |
> |
(exit $ac_status); }; }; then |
| 7727 |
> |
ac_cv_c_restrict=$ac_kw; break |
| 7728 |
|
else |
| 7729 |
|
echo "$as_me: failed program was:" >&5 |
| 7730 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7731 |
|
|
| 8395 |
– |
|
| 7732 |
|
fi |
| 7733 |
< |
|
| 8398 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8399 |
< |
test "$ac_cv_c_restrict" != no && break |
| 7733 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7734 |
|
done |
| 7735 |
|
|
| 7736 |
|
fi |
| 7737 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 |
| 7738 |
< |
echo "${ECHO_T}$ac_cv_c_restrict" >&6; } |
| 7737 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5 |
| 7738 |
> |
echo "${ECHO_T}$ac_cv_c_restrict" >&6 |
| 7739 |
|
case $ac_cv_c_restrict in |
| 7740 |
|
restrict) ;; |
| 7741 |
|
no) |
| 7749 |
|
;; |
| 7750 |
|
esac |
| 7751 |
|
|
| 7752 |
< |
{ echo "$as_me:$LINENO: checking for size_t" >&5 |
| 7753 |
< |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
| 7752 |
> |
echo "$as_me:$LINENO: checking for size_t" >&5 |
| 7753 |
> |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
| 7754 |
|
if test "${ac_cv_type_size_t+set}" = set; then |
| 7755 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7756 |
|
else |
| 7761 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7762 |
|
/* end confdefs.h. */ |
| 7763 |
|
$ac_includes_default |
| 8430 |
– |
typedef size_t ac__type_new_; |
| 7764 |
|
#ifdef FC_DUMMY_MAIN |
| 7765 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 7766 |
|
# ifdef __cplusplus |
| 7772 |
|
int |
| 7773 |
|
main () |
| 7774 |
|
{ |
| 7775 |
< |
if ((ac__type_new_ *) 0) |
| 7775 |
> |
if ((size_t *) 0) |
| 7776 |
|
return 0; |
| 7777 |
< |
if (sizeof (ac__type_new_)) |
| 7777 |
> |
if (sizeof (size_t)) |
| 7778 |
|
return 0; |
| 7779 |
|
; |
| 7780 |
|
return 0; |
| 7781 |
|
} |
| 7782 |
|
_ACEOF |
| 7783 |
< |
rm -rf conftest.$ac_objext |
| 7784 |
< |
if { (ac_try="$ac_compile" |
| 7785 |
< |
case "(($ac_try" in |
| 8453 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8454 |
< |
*) ac_try_echo=$ac_try;; |
| 8455 |
< |
esac |
| 8456 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8457 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7783 |
> |
rm -f conftest.$ac_objext |
| 7784 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7785 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7786 |
|
ac_status=$? |
| 7787 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7788 |
|
rm -f conftest.er1 |
| 7789 |
|
cat conftest.err >&5 |
| 7790 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7791 |
< |
(exit $ac_status); } && { |
| 7792 |
< |
test -z "$ac_c_werror_flag" || |
| 7793 |
< |
test ! -s conftest.err |
| 7794 |
< |
} && test -s conftest.$ac_objext; then |
| 7791 |
> |
(exit $ac_status); } && |
| 7792 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7793 |
> |
|| test ! -s conftest.err' |
| 7794 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7795 |
> |
(eval $ac_try) 2>&5 |
| 7796 |
> |
ac_status=$? |
| 7797 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7798 |
> |
(exit $ac_status); }; } && |
| 7799 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7800 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7801 |
> |
(eval $ac_try) 2>&5 |
| 7802 |
> |
ac_status=$? |
| 7803 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7804 |
> |
(exit $ac_status); }; }; then |
| 7805 |
|
ac_cv_type_size_t=yes |
| 7806 |
|
else |
| 7807 |
|
echo "$as_me: failed program was:" >&5 |
| 7808 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7809 |
|
|
| 7810 |
< |
ac_cv_type_size_t=no |
| 7810 |
> |
ac_cv_type_size_t=no |
| 7811 |
|
fi |
| 7812 |
< |
|
| 8475 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7812 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7813 |
|
fi |
| 7814 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
| 7815 |
< |
echo "${ECHO_T}$ac_cv_type_size_t" >&6; } |
| 7814 |
> |
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
| 7815 |
> |
echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
| 7816 |
|
if test $ac_cv_type_size_t = yes; then |
| 7817 |
|
: |
| 7818 |
|
else |
| 7819 |
|
|
| 7820 |
|
cat >>confdefs.h <<_ACEOF |
| 7821 |
< |
#define size_t unsigned int |
| 7821 |
> |
#define size_t unsigned |
| 7822 |
|
_ACEOF |
| 7823 |
|
|
| 7824 |
|
fi |
| 7825 |
|
|
| 7826 |
< |
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 7827 |
< |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
| 7826 |
> |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 7827 |
> |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
| 7828 |
|
if test "${ac_cv_header_time+set}" = set; then |
| 7829 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7830 |
|
else |
| 7855 |
|
return 0; |
| 7856 |
|
} |
| 7857 |
|
_ACEOF |
| 7858 |
< |
rm -rf conftest.$ac_objext |
| 7859 |
< |
if { (ac_try="$ac_compile" |
| 7860 |
< |
case "(($ac_try" in |
| 8524 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8525 |
< |
*) ac_try_echo=$ac_try;; |
| 8526 |
< |
esac |
| 8527 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8528 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7858 |
> |
rm -f conftest.$ac_objext |
| 7859 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7860 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7861 |
|
ac_status=$? |
| 7862 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7863 |
|
rm -f conftest.er1 |
| 7864 |
|
cat conftest.err >&5 |
| 7865 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7866 |
< |
(exit $ac_status); } && { |
| 7867 |
< |
test -z "$ac_c_werror_flag" || |
| 7868 |
< |
test ! -s conftest.err |
| 7869 |
< |
} && test -s conftest.$ac_objext; then |
| 7866 |
> |
(exit $ac_status); } && |
| 7867 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7868 |
> |
|| test ! -s conftest.err' |
| 7869 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7870 |
> |
(eval $ac_try) 2>&5 |
| 7871 |
> |
ac_status=$? |
| 7872 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7873 |
> |
(exit $ac_status); }; } && |
| 7874 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7875 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7876 |
> |
(eval $ac_try) 2>&5 |
| 7877 |
> |
ac_status=$? |
| 7878 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7879 |
> |
(exit $ac_status); }; }; then |
| 7880 |
|
ac_cv_header_time=yes |
| 7881 |
|
else |
| 7882 |
|
echo "$as_me: failed program was:" >&5 |
| 7883 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7884 |
|
|
| 7885 |
< |
ac_cv_header_time=no |
| 7885 |
> |
ac_cv_header_time=no |
| 7886 |
|
fi |
| 7887 |
< |
|
| 8546 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7887 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7888 |
|
fi |
| 7889 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 7890 |
< |
echo "${ECHO_T}$ac_cv_header_time" >&6; } |
| 7889 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 7890 |
> |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
| 7891 |
|
if test $ac_cv_header_time = yes; then |
| 7892 |
|
|
| 7893 |
|
cat >>confdefs.h <<\_ACEOF |
| 7896 |
|
|
| 7897 |
|
fi |
| 7898 |
|
|
| 7899 |
< |
{ echo "$as_me:$LINENO: checking for clock_t" >&5 |
| 7900 |
< |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } |
| 7899 |
> |
echo "$as_me:$LINENO: checking for clock_t" >&5 |
| 7900 |
> |
echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
| 7901 |
|
if test "${ac_cv_type_clock_t+set}" = set; then |
| 7902 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7903 |
|
else |
| 7908 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 7909 |
|
/* end confdefs.h. */ |
| 7910 |
|
$ac_includes_default |
| 8570 |
– |
typedef clock_t ac__type_new_; |
| 7911 |
|
#ifdef FC_DUMMY_MAIN |
| 7912 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 7913 |
|
# ifdef __cplusplus |
| 7919 |
|
int |
| 7920 |
|
main () |
| 7921 |
|
{ |
| 7922 |
< |
if ((ac__type_new_ *) 0) |
| 7922 |
> |
if ((clock_t *) 0) |
| 7923 |
|
return 0; |
| 7924 |
< |
if (sizeof (ac__type_new_)) |
| 7924 |
> |
if (sizeof (clock_t)) |
| 7925 |
|
return 0; |
| 7926 |
|
; |
| 7927 |
|
return 0; |
| 7928 |
|
} |
| 7929 |
|
_ACEOF |
| 7930 |
< |
rm -rf conftest.$ac_objext |
| 7931 |
< |
if { (ac_try="$ac_compile" |
| 7932 |
< |
case "(($ac_try" in |
| 8593 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8594 |
< |
*) ac_try_echo=$ac_try;; |
| 8595 |
< |
esac |
| 8596 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8597 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 7930 |
> |
rm -f conftest.$ac_objext |
| 7931 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 7932 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 7933 |
|
ac_status=$? |
| 7934 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 7935 |
|
rm -f conftest.er1 |
| 7936 |
|
cat conftest.err >&5 |
| 7937 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7938 |
< |
(exit $ac_status); } && { |
| 7939 |
< |
test -z "$ac_c_werror_flag" || |
| 7940 |
< |
test ! -s conftest.err |
| 7941 |
< |
} && test -s conftest.$ac_objext; then |
| 7938 |
> |
(exit $ac_status); } && |
| 7939 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 7940 |
> |
|| test ! -s conftest.err' |
| 7941 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7942 |
> |
(eval $ac_try) 2>&5 |
| 7943 |
> |
ac_status=$? |
| 7944 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7945 |
> |
(exit $ac_status); }; } && |
| 7946 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 7947 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 7948 |
> |
(eval $ac_try) 2>&5 |
| 7949 |
> |
ac_status=$? |
| 7950 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7951 |
> |
(exit $ac_status); }; }; then |
| 7952 |
|
ac_cv_type_clock_t=yes |
| 7953 |
|
else |
| 7954 |
|
echo "$as_me: failed program was:" >&5 |
| 7955 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 7956 |
|
|
| 7957 |
< |
ac_cv_type_clock_t=no |
| 7957 |
> |
ac_cv_type_clock_t=no |
| 7958 |
|
fi |
| 7959 |
< |
|
| 8615 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7959 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7960 |
|
fi |
| 7961 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
| 7962 |
< |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6; } |
| 7961 |
> |
echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5 |
| 7962 |
> |
echo "${ECHO_T}$ac_cv_type_clock_t" >&6 |
| 7963 |
|
if test $ac_cv_type_clock_t = yes; then |
| 7964 |
|
|
| 7965 |
|
cat >>confdefs.h <<_ACEOF |
| 7969 |
|
|
| 7970 |
|
fi |
| 7971 |
|
|
| 7972 |
< |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 7973 |
< |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
| 7972 |
> |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 7973 |
> |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| 7974 |
|
if test "${ac_cv_c_const+set}" = set; then |
| 7975 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7976 |
|
else |
| 7996 |
|
#ifndef __cplusplus |
| 7997 |
|
/* Ultrix mips cc rejects this. */ |
| 7998 |
|
typedef int charset[2]; |
| 7999 |
< |
const charset cs; |
| 7999 |
> |
const charset x; |
| 8000 |
|
/* SunOS 4.1.1 cc rejects this. */ |
| 8001 |
< |
char const *const *pcpcc; |
| 8002 |
< |
char **ppc; |
| 8001 |
> |
char const *const *ccp; |
| 8002 |
> |
char **p; |
| 8003 |
|
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 8004 |
|
struct point {int x, y;}; |
| 8005 |
|
static struct point const zero = {0,0}; |
| 8008 |
|
an arm of an if-expression whose if-part is not a constant |
| 8009 |
|
expression */ |
| 8010 |
|
const char *g = "string"; |
| 8011 |
< |
pcpcc = &g + (g ? g-g : 0); |
| 8011 |
> |
ccp = &g + (g ? g-g : 0); |
| 8012 |
|
/* HPUX 7.0 cc rejects these. */ |
| 8013 |
< |
++pcpcc; |
| 8014 |
< |
ppc = (char**) pcpcc; |
| 8015 |
< |
pcpcc = (char const *const *) ppc; |
| 8013 |
> |
++ccp; |
| 8014 |
> |
p = (char**) ccp; |
| 8015 |
> |
ccp = (char const *const *) p; |
| 8016 |
|
{ /* SCO 3.2v4 cc rejects this. */ |
| 8017 |
|
char *t; |
| 8018 |
|
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 8019 |
|
|
| 8020 |
|
*t++ = 0; |
| 8677 |
– |
if (s) return 0; |
| 8021 |
|
} |
| 8022 |
|
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 8023 |
|
int x[] = {25, 17}; |
| 8036 |
|
} |
| 8037 |
|
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 8038 |
|
const int foo = 10; |
| 8696 |
– |
if (!foo) return 0; |
| 8039 |
|
} |
| 8698 |
– |
return !cs[0] && !zero.x; |
| 8040 |
|
#endif |
| 8041 |
|
|
| 8042 |
|
; |
| 8043 |
|
return 0; |
| 8044 |
|
} |
| 8045 |
|
_ACEOF |
| 8046 |
< |
rm -rf conftest.$ac_objext |
| 8047 |
< |
if { (ac_try="$ac_compile" |
| 8048 |
< |
case "(($ac_try" in |
| 8708 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8709 |
< |
*) ac_try_echo=$ac_try;; |
| 8710 |
< |
esac |
| 8711 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8712 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 8046 |
> |
rm -f conftest.$ac_objext |
| 8047 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8048 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8049 |
|
ac_status=$? |
| 8050 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8051 |
|
rm -f conftest.er1 |
| 8052 |
|
cat conftest.err >&5 |
| 8053 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8054 |
< |
(exit $ac_status); } && { |
| 8055 |
< |
test -z "$ac_c_werror_flag" || |
| 8056 |
< |
test ! -s conftest.err |
| 8057 |
< |
} && test -s conftest.$ac_objext; then |
| 8054 |
> |
(exit $ac_status); } && |
| 8055 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8056 |
> |
|| test ! -s conftest.err' |
| 8057 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8058 |
> |
(eval $ac_try) 2>&5 |
| 8059 |
> |
ac_status=$? |
| 8060 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8061 |
> |
(exit $ac_status); }; } && |
| 8062 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 8063 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8064 |
> |
(eval $ac_try) 2>&5 |
| 8065 |
> |
ac_status=$? |
| 8066 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8067 |
> |
(exit $ac_status); }; }; then |
| 8068 |
|
ac_cv_c_const=yes |
| 8069 |
|
else |
| 8070 |
|
echo "$as_me: failed program was:" >&5 |
| 8071 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8072 |
|
|
| 8073 |
< |
ac_cv_c_const=no |
| 8073 |
> |
ac_cv_c_const=no |
| 8074 |
|
fi |
| 8075 |
< |
|
| 8730 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8075 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8076 |
|
fi |
| 8077 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 8078 |
< |
echo "${ECHO_T}$ac_cv_c_const" >&6; } |
| 8077 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 8078 |
> |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
| 8079 |
|
if test $ac_cv_c_const = no; then |
| 8080 |
|
|
| 8081 |
|
cat >>confdefs.h <<\_ACEOF |
| 8084 |
|
|
| 8085 |
|
fi |
| 8086 |
|
|
| 8087 |
< |
{ echo "$as_me:$LINENO: checking for inline" >&5 |
| 8088 |
< |
echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
| 8087 |
> |
echo "$as_me:$LINENO: checking for inline" >&5 |
| 8088 |
> |
echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
| 8089 |
|
if test "${ac_cv_c_inline+set}" = set; then |
| 8090 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8091 |
|
else |
| 8104 |
|
#endif |
| 8105 |
|
|
| 8106 |
|
_ACEOF |
| 8107 |
< |
rm -rf conftest.$ac_objext |
| 8108 |
< |
if { (ac_try="$ac_compile" |
| 8109 |
< |
case "(($ac_try" in |
| 8765 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8766 |
< |
*) ac_try_echo=$ac_try;; |
| 8767 |
< |
esac |
| 8768 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8769 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 8107 |
> |
rm -f conftest.$ac_objext |
| 8108 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8109 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8110 |
|
ac_status=$? |
| 8111 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8112 |
|
rm -f conftest.er1 |
| 8113 |
|
cat conftest.err >&5 |
| 8114 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8115 |
< |
(exit $ac_status); } && { |
| 8116 |
< |
test -z "$ac_c_werror_flag" || |
| 8117 |
< |
test ! -s conftest.err |
| 8118 |
< |
} && test -s conftest.$ac_objext; then |
| 8119 |
< |
ac_cv_c_inline=$ac_kw |
| 8115 |
> |
(exit $ac_status); } && |
| 8116 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8117 |
> |
|| test ! -s conftest.err' |
| 8118 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8119 |
> |
(eval $ac_try) 2>&5 |
| 8120 |
> |
ac_status=$? |
| 8121 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8122 |
> |
(exit $ac_status); }; } && |
| 8123 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 8124 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8125 |
> |
(eval $ac_try) 2>&5 |
| 8126 |
> |
ac_status=$? |
| 8127 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8128 |
> |
(exit $ac_status); }; }; then |
| 8129 |
> |
ac_cv_c_inline=$ac_kw; break |
| 8130 |
|
else |
| 8131 |
|
echo "$as_me: failed program was:" >&5 |
| 8132 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8133 |
|
|
| 8784 |
– |
|
| 8134 |
|
fi |
| 8135 |
< |
|
| 8787 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8788 |
< |
test "$ac_cv_c_inline" != no && break |
| 8135 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8136 |
|
done |
| 8137 |
|
|
| 8138 |
|
fi |
| 8139 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 8140 |
< |
echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
| 8139 |
> |
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
| 8140 |
> |
echo "${ECHO_T}$ac_cv_c_inline" >&6 |
| 8141 |
|
|
| 8142 |
|
|
| 8143 |
|
case $ac_cv_c_inline in |
| 8161 |
|
for ac_header in stdlib.h |
| 8162 |
|
do |
| 8163 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8164 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8165 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8166 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8167 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8164 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8165 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8166 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8167 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8168 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8169 |
|
fi |
| 8170 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8171 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8825 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 8170 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8171 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8172 |
|
else |
| 8173 |
|
# Is the header compilable? |
| 8174 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8175 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 8174 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8175 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 8176 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8177 |
|
/* confdefs.h. */ |
| 8178 |
|
_ACEOF |
| 8182 |
|
$ac_includes_default |
| 8183 |
|
#include <$ac_header> |
| 8184 |
|
_ACEOF |
| 8185 |
< |
rm -rf conftest.$ac_objext |
| 8186 |
< |
if { (ac_try="$ac_compile" |
| 8187 |
< |
case "(($ac_try" in |
| 8842 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8843 |
< |
*) ac_try_echo=$ac_try;; |
| 8844 |
< |
esac |
| 8845 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8846 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 8185 |
> |
rm -f conftest.$ac_objext |
| 8186 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8187 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8188 |
|
ac_status=$? |
| 8189 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8190 |
|
rm -f conftest.er1 |
| 8191 |
|
cat conftest.err >&5 |
| 8192 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8193 |
< |
(exit $ac_status); } && { |
| 8194 |
< |
test -z "$ac_c_werror_flag" || |
| 8195 |
< |
test ! -s conftest.err |
| 8196 |
< |
} && test -s conftest.$ac_objext; then |
| 8193 |
> |
(exit $ac_status); } && |
| 8194 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8195 |
> |
|| test ! -s conftest.err' |
| 8196 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8197 |
> |
(eval $ac_try) 2>&5 |
| 8198 |
> |
ac_status=$? |
| 8199 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8200 |
> |
(exit $ac_status); }; } && |
| 8201 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 8202 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8203 |
> |
(eval $ac_try) 2>&5 |
| 8204 |
> |
ac_status=$? |
| 8205 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8206 |
> |
(exit $ac_status); }; }; then |
| 8207 |
|
ac_header_compiler=yes |
| 8208 |
|
else |
| 8209 |
|
echo "$as_me: failed program was:" >&5 |
| 8210 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8211 |
|
|
| 8212 |
< |
ac_header_compiler=no |
| 8212 |
> |
ac_header_compiler=no |
| 8213 |
|
fi |
| 8214 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8215 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8216 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8217 |
|
|
| 8864 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8865 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8866 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 8867 |
– |
|
| 8218 |
|
# Is the header present? |
| 8219 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8220 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 8219 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8220 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 8221 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8222 |
|
/* confdefs.h. */ |
| 8223 |
|
_ACEOF |
| 8226 |
|
/* end confdefs.h. */ |
| 8227 |
|
#include <$ac_header> |
| 8228 |
|
_ACEOF |
| 8229 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8230 |
< |
case "(($ac_try" in |
| 8881 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8882 |
< |
*) ac_try_echo=$ac_try;; |
| 8883 |
< |
esac |
| 8884 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 8885 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 8229 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8230 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8231 |
|
ac_status=$? |
| 8232 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8233 |
< |
rm -rf conftest.er1 |
| 8233 |
> |
rm -f conftest.er1 |
| 8234 |
|
cat conftest.err >&5 |
| 8235 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8236 |
< |
(exit $ac_status); } >/dev/null && { |
| 8237 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8238 |
< |
test ! -s conftest.err |
| 8239 |
< |
}; then |
| 8236 |
> |
(exit $ac_status); } >/dev/null; then |
| 8237 |
> |
if test -s conftest.err; then |
| 8238 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8239 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 8240 |
> |
else |
| 8241 |
> |
ac_cpp_err= |
| 8242 |
> |
fi |
| 8243 |
> |
else |
| 8244 |
> |
ac_cpp_err=yes |
| 8245 |
> |
fi |
| 8246 |
> |
if test -z "$ac_cpp_err"; then |
| 8247 |
|
ac_header_preproc=yes |
| 8248 |
|
else |
| 8249 |
|
echo "$as_me: failed program was:" >&5 |
| 8251 |
|
|
| 8252 |
|
ac_header_preproc=no |
| 8253 |
|
fi |
| 8254 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 8255 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8256 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8257 |
|
|
| 8903 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 8904 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8905 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 8906 |
– |
|
| 8258 |
|
# So? What about this header? |
| 8259 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 8260 |
|
yes:no: ) |
| 8277 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 8278 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 8279 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 8280 |
< |
( cat <<\_ASBOX |
| 8280 |
> |
( |
| 8281 |
> |
cat <<\_ASBOX |
| 8282 |
|
## ------------------------------ ## |
| 8283 |
|
## Report this to gezelter@nd.edu ## |
| 8284 |
|
## ------------------------------ ## |
| 8285 |
|
_ASBOX |
| 8286 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 8286 |
> |
) | |
| 8287 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8288 |
|
;; |
| 8289 |
|
esac |
| 8290 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8291 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8292 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8290 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8291 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8292 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8293 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8294 |
|
else |
| 8295 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 8296 |
|
fi |
| 8297 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8298 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 8946 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 8297 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8298 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8299 |
|
|
| 8300 |
|
fi |
| 8301 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 8307 |
|
|
| 8308 |
|
done |
| 8309 |
|
|
| 8310 |
< |
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
| 8311 |
< |
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } |
| 8310 |
> |
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
| 8311 |
> |
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 |
| 8312 |
|
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then |
| 8313 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8314 |
|
else |
| 8321 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8322 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8323 |
|
/* end confdefs.h. */ |
| 8324 |
< |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H |
| 8324 |
> |
#if STDC_HEADERS || HAVE_STDLIB_H |
| 8325 |
|
# include <stdlib.h> |
| 8326 |
|
#else |
| 8327 |
|
char *malloc (); |
| 8338 |
|
int |
| 8339 |
|
main () |
| 8340 |
|
{ |
| 8341 |
< |
return ! malloc (0); |
| 8341 |
> |
exit (malloc (0) ? 0 : 1); |
| 8342 |
|
; |
| 8343 |
|
return 0; |
| 8344 |
|
} |
| 8345 |
|
_ACEOF |
| 8346 |
< |
rm -rf conftest$ac_exeext |
| 8347 |
< |
if { (ac_try="$ac_link" |
| 8348 |
< |
case "(($ac_try" in |
| 8997 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 8998 |
< |
*) ac_try_echo=$ac_try;; |
| 8999 |
< |
esac |
| 9000 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9001 |
< |
(eval "$ac_link") 2>&5 |
| 8346 |
> |
rm -f conftest$ac_exeext |
| 8347 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8348 |
> |
(eval $ac_link) 2>&5 |
| 8349 |
|
ac_status=$? |
| 8350 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8351 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 8352 |
< |
{ (case "(($ac_try" in |
| 8353 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9007 |
< |
*) ac_try_echo=$ac_try;; |
| 9008 |
< |
esac |
| 9009 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9010 |
< |
(eval "$ac_try") 2>&5 |
| 8352 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8353 |
> |
(eval $ac_try) 2>&5 |
| 8354 |
|
ac_status=$? |
| 8355 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8356 |
|
(exit $ac_status); }; }; then |
| 8363 |
|
( exit $ac_status ) |
| 8364 |
|
ac_cv_func_malloc_0_nonnull=no |
| 8365 |
|
fi |
| 8366 |
< |
rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8366 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8367 |
|
fi |
| 9025 |
– |
|
| 9026 |
– |
|
| 8368 |
|
fi |
| 8369 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
| 8370 |
< |
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } |
| 8369 |
> |
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
| 8370 |
> |
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 |
| 8371 |
|
if test $ac_cv_func_malloc_0_nonnull = yes; then |
| 8372 |
|
|
| 8373 |
|
cat >>confdefs.h <<\_ACEOF |
| 8379 |
|
#define HAVE_MALLOC 0 |
| 8380 |
|
_ACEOF |
| 8381 |
|
|
| 8382 |
< |
case " $LIBOBJS " in |
| 8382 |
> |
case $LIBOBJS in |
| 8383 |
> |
"malloc.$ac_objext" | \ |
| 8384 |
> |
*" malloc.$ac_objext" | \ |
| 8385 |
> |
"malloc.$ac_objext "* | \ |
| 8386 |
|
*" malloc.$ac_objext "* ) ;; |
| 8387 |
< |
*) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
| 9044 |
< |
;; |
| 8387 |
> |
*) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; |
| 8388 |
|
esac |
| 8389 |
|
|
| 8390 |
|
|
| 8396 |
|
|
| 8397 |
|
|
| 8398 |
|
|
| 8399 |
< |
{ echo "$as_me:$LINENO: checking for working memcmp" >&5 |
| 8400 |
< |
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } |
| 8399 |
> |
echo "$as_me:$LINENO: checking for working memcmp" >&5 |
| 8400 |
> |
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 |
| 8401 |
|
if test "${ac_cv_func_memcmp_working+set}" = set; then |
| 8402 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8403 |
|
else |
| 8424 |
|
{ |
| 8425 |
|
|
| 8426 |
|
/* Some versions of memcmp are not 8-bit clean. */ |
| 8427 |
< |
char c0 = '\100', c1 = '\200', c2 = '\201'; |
| 8427 |
> |
char c0 = 0x40, c1 = 0x80, c2 = 0x81; |
| 8428 |
|
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) |
| 8429 |
< |
return 1; |
| 8429 |
> |
exit (1); |
| 8430 |
|
|
| 8431 |
|
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes |
| 8432 |
|
or more and with at least one buffer not starting on a 4-byte boundary. |
| 8442 |
|
strcpy (a, "--------01111111"); |
| 8443 |
|
strcpy (b, "--------10000000"); |
| 8444 |
|
if (memcmp (a, b, 16) >= 0) |
| 8445 |
< |
return 1; |
| 8445 |
> |
exit (1); |
| 8446 |
|
} |
| 8447 |
< |
return 0; |
| 8447 |
> |
exit (0); |
| 8448 |
|
} |
| 8449 |
|
|
| 8450 |
|
; |
| 8451 |
|
return 0; |
| 8452 |
|
} |
| 8453 |
|
_ACEOF |
| 8454 |
< |
rm -rf conftest$ac_exeext |
| 8455 |
< |
if { (ac_try="$ac_link" |
| 8456 |
< |
case "(($ac_try" in |
| 9114 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9115 |
< |
*) ac_try_echo=$ac_try;; |
| 9116 |
< |
esac |
| 9117 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9118 |
< |
(eval "$ac_link") 2>&5 |
| 8454 |
> |
rm -f conftest$ac_exeext |
| 8455 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8456 |
> |
(eval $ac_link) 2>&5 |
| 8457 |
|
ac_status=$? |
| 8458 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8459 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 8460 |
< |
{ (case "(($ac_try" in |
| 8461 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9124 |
< |
*) ac_try_echo=$ac_try;; |
| 9125 |
< |
esac |
| 9126 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9127 |
< |
(eval "$ac_try") 2>&5 |
| 8460 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8461 |
> |
(eval $ac_try) 2>&5 |
| 8462 |
|
ac_status=$? |
| 8463 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8464 |
|
(exit $ac_status); }; }; then |
| 8471 |
|
( exit $ac_status ) |
| 8472 |
|
ac_cv_func_memcmp_working=no |
| 8473 |
|
fi |
| 8474 |
< |
rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8474 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8475 |
|
fi |
| 9142 |
– |
|
| 9143 |
– |
|
| 8476 |
|
fi |
| 8477 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
| 8478 |
< |
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } |
| 8479 |
< |
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in |
| 8477 |
> |
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 |
| 8478 |
> |
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 |
| 8479 |
> |
test $ac_cv_func_memcmp_working = no && case $LIBOBJS in |
| 8480 |
> |
"memcmp.$ac_objext" | \ |
| 8481 |
> |
*" memcmp.$ac_objext" | \ |
| 8482 |
> |
"memcmp.$ac_objext "* | \ |
| 8483 |
|
*" memcmp.$ac_objext "* ) ;; |
| 8484 |
< |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" |
| 9150 |
< |
;; |
| 8484 |
> |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;; |
| 8485 |
|
esac |
| 8486 |
|
|
| 8487 |
|
|
| 8489 |
|
for ac_header in stdlib.h |
| 8490 |
|
do |
| 8491 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8492 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8493 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8494 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8495 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8492 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8493 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8494 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8495 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8496 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8497 |
|
fi |
| 8498 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8499 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9166 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 8498 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8499 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8500 |
|
else |
| 8501 |
|
# Is the header compilable? |
| 8502 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8503 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 8502 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8503 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 8504 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8505 |
|
/* confdefs.h. */ |
| 8506 |
|
_ACEOF |
| 8510 |
|
$ac_includes_default |
| 8511 |
|
#include <$ac_header> |
| 8512 |
|
_ACEOF |
| 8513 |
< |
rm -rf conftest.$ac_objext |
| 8514 |
< |
if { (ac_try="$ac_compile" |
| 8515 |
< |
case "(($ac_try" in |
| 9183 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9184 |
< |
*) ac_try_echo=$ac_try;; |
| 9185 |
< |
esac |
| 9186 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9187 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 8513 |
> |
rm -f conftest.$ac_objext |
| 8514 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8515 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8516 |
|
ac_status=$? |
| 8517 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8518 |
|
rm -f conftest.er1 |
| 8519 |
|
cat conftest.err >&5 |
| 8520 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8521 |
< |
(exit $ac_status); } && { |
| 8522 |
< |
test -z "$ac_c_werror_flag" || |
| 8523 |
< |
test ! -s conftest.err |
| 8524 |
< |
} && test -s conftest.$ac_objext; then |
| 8521 |
> |
(exit $ac_status); } && |
| 8522 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8523 |
> |
|| test ! -s conftest.err' |
| 8524 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8525 |
> |
(eval $ac_try) 2>&5 |
| 8526 |
> |
ac_status=$? |
| 8527 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8528 |
> |
(exit $ac_status); }; } && |
| 8529 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 8530 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8531 |
> |
(eval $ac_try) 2>&5 |
| 8532 |
> |
ac_status=$? |
| 8533 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8534 |
> |
(exit $ac_status); }; }; then |
| 8535 |
|
ac_header_compiler=yes |
| 8536 |
|
else |
| 8537 |
|
echo "$as_me: failed program was:" >&5 |
| 8538 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8539 |
|
|
| 8540 |
< |
ac_header_compiler=no |
| 8540 |
> |
ac_header_compiler=no |
| 8541 |
|
fi |
| 8542 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8543 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8544 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8545 |
|
|
| 9205 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9206 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9207 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 9208 |
– |
|
| 8546 |
|
# Is the header present? |
| 8547 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8548 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 8547 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8548 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 8549 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8550 |
|
/* confdefs.h. */ |
| 8551 |
|
_ACEOF |
| 8554 |
|
/* end confdefs.h. */ |
| 8555 |
|
#include <$ac_header> |
| 8556 |
|
_ACEOF |
| 8557 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8558 |
< |
case "(($ac_try" in |
| 9222 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9223 |
< |
*) ac_try_echo=$ac_try;; |
| 9224 |
< |
esac |
| 9225 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9226 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 8557 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8558 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8559 |
|
ac_status=$? |
| 8560 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8561 |
|
rm -f conftest.er1 |
| 8562 |
|
cat conftest.err >&5 |
| 8563 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8564 |
< |
(exit $ac_status); } >/dev/null && { |
| 8565 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8566 |
< |
test ! -s conftest.err |
| 8567 |
< |
}; then |
| 8564 |
> |
(exit $ac_status); } >/dev/null; then |
| 8565 |
> |
if test -s conftest.err; then |
| 8566 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8567 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 8568 |
> |
else |
| 8569 |
> |
ac_cpp_err= |
| 8570 |
> |
fi |
| 8571 |
> |
else |
| 8572 |
> |
ac_cpp_err=yes |
| 8573 |
> |
fi |
| 8574 |
> |
if test -z "$ac_cpp_err"; then |
| 8575 |
|
ac_header_preproc=yes |
| 8576 |
|
else |
| 8577 |
|
echo "$as_me: failed program was:" >&5 |
| 8579 |
|
|
| 8580 |
|
ac_header_preproc=no |
| 8581 |
|
fi |
| 8582 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 8583 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8584 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8585 |
|
|
| 9244 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 9245 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9246 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 9247 |
– |
|
| 8586 |
|
# So? What about this header? |
| 8587 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 8588 |
|
yes:no: ) |
| 8605 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 8606 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 8607 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 8608 |
< |
( cat <<\_ASBOX |
| 8608 |
> |
( |
| 8609 |
> |
cat <<\_ASBOX |
| 8610 |
|
## ------------------------------ ## |
| 8611 |
|
## Report this to gezelter@nd.edu ## |
| 8612 |
|
## ------------------------------ ## |
| 8613 |
|
_ASBOX |
| 8614 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 8614 |
> |
) | |
| 8615 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8616 |
|
;; |
| 8617 |
|
esac |
| 8618 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8619 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8620 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8618 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8619 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8620 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8621 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8622 |
|
else |
| 8623 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 8624 |
|
fi |
| 8625 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8626 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9287 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 8625 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8626 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8627 |
|
|
| 8628 |
|
fi |
| 8629 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 8635 |
|
|
| 8636 |
|
done |
| 8637 |
|
|
| 8638 |
< |
{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
| 8639 |
< |
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } |
| 8638 |
> |
echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
| 8639 |
> |
echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 |
| 8640 |
|
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
| 8641 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8642 |
|
else |
| 8649 |
|
cat confdefs.h >>conftest.$ac_ext |
| 8650 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8651 |
|
/* end confdefs.h. */ |
| 8652 |
< |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H |
| 8652 |
> |
#if STDC_HEADERS || HAVE_STDLIB_H |
| 8653 |
|
# include <stdlib.h> |
| 8654 |
|
#else |
| 8655 |
|
char *realloc (); |
| 8666 |
|
int |
| 8667 |
|
main () |
| 8668 |
|
{ |
| 8669 |
< |
return ! realloc (0, 0); |
| 8669 |
> |
exit (realloc (0, 0) ? 0 : 1); |
| 8670 |
|
; |
| 8671 |
|
return 0; |
| 8672 |
|
} |
| 8673 |
|
_ACEOF |
| 8674 |
< |
rm -rf conftest$ac_exeext |
| 8675 |
< |
if { (ac_try="$ac_link" |
| 8676 |
< |
case "(($ac_try" in |
| 9338 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9339 |
< |
*) ac_try_echo=$ac_try;; |
| 9340 |
< |
esac |
| 9341 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9342 |
< |
(eval "$ac_link") 2>&5 |
| 8674 |
> |
rm -f conftest$ac_exeext |
| 8675 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 8676 |
> |
(eval $ac_link) 2>&5 |
| 8677 |
|
ac_status=$? |
| 8678 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8679 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 8680 |
< |
{ (case "(($ac_try" in |
| 8681 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9348 |
< |
*) ac_try_echo=$ac_try;; |
| 9349 |
< |
esac |
| 9350 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9351 |
< |
(eval "$ac_try") 2>&5 |
| 8680 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8681 |
> |
(eval $ac_try) 2>&5 |
| 8682 |
|
ac_status=$? |
| 8683 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8684 |
|
(exit $ac_status); }; }; then |
| 8691 |
|
( exit $ac_status ) |
| 8692 |
|
ac_cv_func_realloc_0_nonnull=no |
| 8693 |
|
fi |
| 8694 |
< |
rm -rf core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8694 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 8695 |
|
fi |
| 9366 |
– |
|
| 9367 |
– |
|
| 8696 |
|
fi |
| 8697 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
| 8698 |
< |
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } |
| 8697 |
> |
echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
| 8698 |
> |
echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 |
| 8699 |
|
if test $ac_cv_func_realloc_0_nonnull = yes; then |
| 8700 |
|
|
| 8701 |
|
cat >>confdefs.h <<\_ACEOF |
| 8707 |
|
#define HAVE_REALLOC 0 |
| 8708 |
|
_ACEOF |
| 8709 |
|
|
| 8710 |
< |
case " $LIBOBJS " in |
| 8710 |
> |
case $LIBOBJS in |
| 8711 |
> |
"realloc.$ac_objext" | \ |
| 8712 |
> |
*" realloc.$ac_objext" | \ |
| 8713 |
> |
"realloc.$ac_objext "* | \ |
| 8714 |
|
*" realloc.$ac_objext "* ) ;; |
| 8715 |
< |
*) LIBOBJS="$LIBOBJS realloc.$ac_objext" |
| 9385 |
< |
;; |
| 8715 |
> |
*) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; |
| 8716 |
|
esac |
| 8717 |
|
|
| 8718 |
|
|
| 8729 |
|
for ac_header in sys/select.h sys/socket.h |
| 8730 |
|
do |
| 8731 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8732 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8733 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8734 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8735 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8732 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8733 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8734 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8735 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8736 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8737 |
|
fi |
| 8738 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8739 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9410 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 8738 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8739 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8740 |
|
else |
| 8741 |
|
# Is the header compilable? |
| 8742 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8743 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 8742 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 8743 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 8744 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8745 |
|
/* confdefs.h. */ |
| 8746 |
|
_ACEOF |
| 8750 |
|
$ac_includes_default |
| 8751 |
|
#include <$ac_header> |
| 8752 |
|
_ACEOF |
| 8753 |
< |
rm -rf conftest.$ac_objext |
| 8754 |
< |
if { (ac_try="$ac_compile" |
| 8755 |
< |
case "(($ac_try" in |
| 9427 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9428 |
< |
*) ac_try_echo=$ac_try;; |
| 9429 |
< |
esac |
| 9430 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9431 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 8753 |
> |
rm -f conftest.$ac_objext |
| 8754 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8755 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8756 |
|
ac_status=$? |
| 8757 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8758 |
|
rm -f conftest.er1 |
| 8759 |
|
cat conftest.err >&5 |
| 8760 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8761 |
< |
(exit $ac_status); } && { |
| 8762 |
< |
test -z "$ac_c_werror_flag" || |
| 8763 |
< |
test ! -s conftest.err |
| 8764 |
< |
} && test -s conftest.$ac_objext; then |
| 8761 |
> |
(exit $ac_status); } && |
| 8762 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8763 |
> |
|| test ! -s conftest.err' |
| 8764 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8765 |
> |
(eval $ac_try) 2>&5 |
| 8766 |
> |
ac_status=$? |
| 8767 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8768 |
> |
(exit $ac_status); }; } && |
| 8769 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 8770 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8771 |
> |
(eval $ac_try) 2>&5 |
| 8772 |
> |
ac_status=$? |
| 8773 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8774 |
> |
(exit $ac_status); }; }; then |
| 8775 |
|
ac_header_compiler=yes |
| 8776 |
|
else |
| 8777 |
|
echo "$as_me: failed program was:" >&5 |
| 8778 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8779 |
|
|
| 8780 |
< |
ac_header_compiler=no |
| 8780 |
> |
ac_header_compiler=no |
| 8781 |
|
fi |
| 8782 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8783 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 8784 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 8785 |
|
|
| 9449 |
– |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9450 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9451 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 9452 |
– |
|
| 8786 |
|
# Is the header present? |
| 8787 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8788 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 8787 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 8788 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 8789 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8790 |
|
/* confdefs.h. */ |
| 8791 |
|
_ACEOF |
| 8794 |
|
/* end confdefs.h. */ |
| 8795 |
|
#include <$ac_header> |
| 8796 |
|
_ACEOF |
| 8797 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8798 |
< |
case "(($ac_try" in |
| 9466 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9467 |
< |
*) ac_try_echo=$ac_try;; |
| 9468 |
< |
esac |
| 9469 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9470 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 8797 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 8798 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 8799 |
|
ac_status=$? |
| 8800 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8801 |
|
rm -f conftest.er1 |
| 8802 |
|
cat conftest.err >&5 |
| 8803 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8804 |
< |
(exit $ac_status); } >/dev/null && { |
| 8805 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8806 |
< |
test ! -s conftest.err |
| 8807 |
< |
}; then |
| 8804 |
> |
(exit $ac_status); } >/dev/null; then |
| 8805 |
> |
if test -s conftest.err; then |
| 8806 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 8807 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 8808 |
> |
else |
| 8809 |
> |
ac_cpp_err= |
| 8810 |
> |
fi |
| 8811 |
> |
else |
| 8812 |
> |
ac_cpp_err=yes |
| 8813 |
> |
fi |
| 8814 |
> |
if test -z "$ac_cpp_err"; then |
| 8815 |
|
ac_header_preproc=yes |
| 8816 |
|
else |
| 8817 |
|
echo "$as_me: failed program was:" >&5 |
| 8819 |
|
|
| 8820 |
|
ac_header_preproc=no |
| 8821 |
|
fi |
| 8822 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 8823 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8824 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 8825 |
|
|
| 9488 |
– |
rm -rf conftest.err conftest.$ac_ext |
| 9489 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9490 |
– |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 9491 |
– |
|
| 8826 |
|
# So? What about this header? |
| 8827 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 8828 |
|
yes:no: ) |
| 8845 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 8846 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 8847 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 8848 |
< |
( cat <<\_ASBOX |
| 8848 |
> |
( |
| 8849 |
> |
cat <<\_ASBOX |
| 8850 |
|
## ------------------------------ ## |
| 8851 |
|
## Report this to gezelter@nd.edu ## |
| 8852 |
|
## ------------------------------ ## |
| 8853 |
|
_ASBOX |
| 8854 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 8854 |
> |
) | |
| 8855 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 8856 |
|
;; |
| 8857 |
|
esac |
| 8858 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8859 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 8860 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8858 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 8859 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 8860 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 8861 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8862 |
|
else |
| 8863 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 8864 |
|
fi |
| 8865 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 8866 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9531 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 8865 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 8866 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 8867 |
|
|
| 8868 |
|
fi |
| 8869 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 8875 |
|
|
| 8876 |
|
done |
| 8877 |
|
|
| 8878 |
< |
{ echo "$as_me:$LINENO: checking types of arguments for select" >&5 |
| 8879 |
< |
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; } |
| 8878 |
> |
echo "$as_me:$LINENO: checking types of arguments for select" >&5 |
| 8879 |
> |
echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6 |
| 8880 |
|
if test "${ac_cv_func_select_args+set}" = set; then |
| 8881 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8882 |
|
else |
| 8883 |
|
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do |
| 8884 |
< |
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do |
| 8884 |
> |
for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do |
| 8885 |
|
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do |
| 8886 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 8887 |
|
/* confdefs.h. */ |
| 8890 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 8891 |
|
/* end confdefs.h. */ |
| 8892 |
|
$ac_includes_default |
| 8893 |
< |
#ifdef HAVE_SYS_SELECT_H |
| 8893 |
> |
#if HAVE_SYS_SELECT_H |
| 8894 |
|
# include <sys/select.h> |
| 8895 |
|
#endif |
| 8896 |
< |
#ifdef HAVE_SYS_SOCKET_H |
| 8896 |
> |
#if HAVE_SYS_SOCKET_H |
| 8897 |
|
# include <sys/socket.h> |
| 8898 |
|
#endif |
| 8899 |
|
|
| 8915 |
|
return 0; |
| 8916 |
|
} |
| 8917 |
|
_ACEOF |
| 8918 |
< |
rm -rf conftest.$ac_objext |
| 8919 |
< |
if { (ac_try="$ac_compile" |
| 8920 |
< |
case "(($ac_try" in |
| 9586 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9587 |
< |
*) ac_try_echo=$ac_try;; |
| 9588 |
< |
esac |
| 9589 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9590 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 8918 |
> |
rm -f conftest.$ac_objext |
| 8919 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 8920 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 8921 |
|
ac_status=$? |
| 8922 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 8923 |
|
rm -f conftest.er1 |
| 8924 |
|
cat conftest.err >&5 |
| 8925 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8926 |
< |
(exit $ac_status); } && { |
| 8927 |
< |
test -z "$ac_c_werror_flag" || |
| 8928 |
< |
test ! -s conftest.err |
| 8929 |
< |
} && test -s conftest.$ac_objext; then |
| 8926 |
> |
(exit $ac_status); } && |
| 8927 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 8928 |
> |
|| test ! -s conftest.err' |
| 8929 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8930 |
> |
(eval $ac_try) 2>&5 |
| 8931 |
> |
ac_status=$? |
| 8932 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8933 |
> |
(exit $ac_status); }; } && |
| 8934 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 8935 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 8936 |
> |
(eval $ac_try) 2>&5 |
| 8937 |
> |
ac_status=$? |
| 8938 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8939 |
> |
(exit $ac_status); }; }; then |
| 8940 |
|
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 |
| 8941 |
|
else |
| 8942 |
|
echo "$as_me: failed program was:" >&5 |
| 8943 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 8944 |
|
|
| 9605 |
– |
|
| 8945 |
|
fi |
| 8946 |
< |
|
| 9608 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8946 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8947 |
|
done |
| 8948 |
|
done |
| 8949 |
|
done |
| 8951 |
|
: ${ac_cv_func_select_args='int,int *,struct timeval *'} |
| 8952 |
|
|
| 8953 |
|
fi |
| 8954 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 |
| 8955 |
< |
echo "${ECHO_T}$ac_cv_func_select_args" >&6; } |
| 8954 |
> |
echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5 |
| 8955 |
> |
echo "${ECHO_T}$ac_cv_func_select_args" >&6 |
| 8956 |
|
ac_save_IFS=$IFS; IFS=',' |
| 8957 |
|
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` |
| 8958 |
|
IFS=$ac_save_IFS |
| 8972 |
|
#define SELECT_TYPE_ARG5 ($3) |
| 8973 |
|
_ACEOF |
| 8974 |
|
|
| 8975 |
< |
rm -rf conftest* |
| 8975 |
> |
rm -f conftest* |
| 8976 |
|
|
| 8977 |
|
|
| 8978 |
|
for ac_func in strftime |
| 8979 |
|
do |
| 8980 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 8981 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8982 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 8983 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8981 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 8982 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 8983 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 8984 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8985 |
|
else |
| 8986 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9006 |
|
|
| 9007 |
|
#undef $ac_func |
| 9008 |
|
|
| 9009 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 9672 |
< |
Use char because int might match the return type of a GCC |
| 9673 |
< |
builtin and then its argument prototype would still apply. */ |
| 9009 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9010 |
|
#ifdef __cplusplus |
| 9011 |
|
extern "C" |
| 9012 |
+ |
{ |
| 9013 |
|
#endif |
| 9014 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9015 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9016 |
|
char $ac_func (); |
| 9017 |
|
/* The GNU C library defines this for functions which it implements |
| 9018 |
|
to always fail with ENOSYS. Some functions are actually named |
| 9019 |
|
something starting with __ and the normal name is an alias. */ |
| 9020 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 9020 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 9021 |
|
choke me |
| 9022 |
+ |
#else |
| 9023 |
+ |
char (*f) () = $ac_func; |
| 9024 |
|
#endif |
| 9025 |
+ |
#ifdef __cplusplus |
| 9026 |
+ |
} |
| 9027 |
+ |
#endif |
| 9028 |
|
|
| 9029 |
|
#ifdef FC_DUMMY_MAIN |
| 9030 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9037 |
|
int |
| 9038 |
|
main () |
| 9039 |
|
{ |
| 9040 |
< |
return $ac_func (); |
| 9040 |
> |
return f != $ac_func; |
| 9041 |
|
; |
| 9042 |
|
return 0; |
| 9043 |
|
} |
| 9044 |
|
_ACEOF |
| 9045 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 9046 |
< |
if { (ac_try="$ac_link" |
| 9047 |
< |
case "(($ac_try" in |
| 9704 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9705 |
< |
*) ac_try_echo=$ac_try;; |
| 9706 |
< |
esac |
| 9707 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9708 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9045 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9046 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9047 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9048 |
|
ac_status=$? |
| 9049 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9050 |
|
rm -f conftest.er1 |
| 9051 |
|
cat conftest.err >&5 |
| 9052 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9053 |
< |
(exit $ac_status); } && { |
| 9054 |
< |
test -z "$ac_c_werror_flag" || |
| 9055 |
< |
test ! -s conftest.err |
| 9056 |
< |
} && test -s conftest$ac_exeext && |
| 9057 |
< |
$as_test_x conftest$ac_exeext; then |
| 9053 |
> |
(exit $ac_status); } && |
| 9054 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9055 |
> |
|| test ! -s conftest.err' |
| 9056 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9057 |
> |
(eval $ac_try) 2>&5 |
| 9058 |
> |
ac_status=$? |
| 9059 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9060 |
> |
(exit $ac_status); }; } && |
| 9061 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9062 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9063 |
> |
(eval $ac_try) 2>&5 |
| 9064 |
> |
ac_status=$? |
| 9065 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9066 |
> |
(exit $ac_status); }; }; then |
| 9067 |
|
eval "$as_ac_var=yes" |
| 9068 |
|
else |
| 9069 |
|
echo "$as_me: failed program was:" >&5 |
| 9070 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9071 |
|
|
| 9072 |
< |
eval "$as_ac_var=no" |
| 9072 |
> |
eval "$as_ac_var=no" |
| 9073 |
|
fi |
| 9074 |
< |
|
| 9727 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9074 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9075 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9076 |
|
fi |
| 9077 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 9078 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9732 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 9077 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 9078 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 9079 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 9080 |
|
cat >>confdefs.h <<_ACEOF |
| 9081 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 9083 |
|
|
| 9084 |
|
else |
| 9085 |
|
# strftime is in -lintl on SCO UNIX. |
| 9086 |
< |
{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
| 9087 |
< |
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
| 9086 |
> |
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
| 9087 |
> |
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
| 9088 |
|
if test "${ac_cv_lib_intl_strftime+set}" = set; then |
| 9089 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9090 |
|
else |
| 9097 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 9098 |
|
/* end confdefs.h. */ |
| 9099 |
|
|
| 9100 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 9755 |
< |
Use char because int might match the return type of a GCC |
| 9756 |
< |
builtin and then its argument prototype would still apply. */ |
| 9100 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9101 |
|
#ifdef __cplusplus |
| 9102 |
|
extern "C" |
| 9103 |
|
#endif |
| 9104 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9105 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9106 |
|
char strftime (); |
| 9107 |
|
#ifdef FC_DUMMY_MAIN |
| 9108 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9115 |
|
int |
| 9116 |
|
main () |
| 9117 |
|
{ |
| 9118 |
< |
return strftime (); |
| 9118 |
> |
strftime (); |
| 9119 |
|
; |
| 9120 |
|
return 0; |
| 9121 |
|
} |
| 9122 |
|
_ACEOF |
| 9123 |
< |
rm -rf conftest.$ac_objext conftest$ac_exeext |
| 9124 |
< |
if { (ac_try="$ac_link" |
| 9125 |
< |
case "(($ac_try" in |
| 9780 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9781 |
< |
*) ac_try_echo=$ac_try;; |
| 9782 |
< |
esac |
| 9783 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9784 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9123 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9124 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9125 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9126 |
|
ac_status=$? |
| 9127 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9128 |
|
rm -f conftest.er1 |
| 9129 |
|
cat conftest.err >&5 |
| 9130 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9131 |
< |
(exit $ac_status); } && { |
| 9132 |
< |
test -z "$ac_c_werror_flag" || |
| 9133 |
< |
test ! -s conftest.err |
| 9134 |
< |
} && test -s conftest$ac_exeext && |
| 9135 |
< |
$as_test_x conftest$ac_exeext; then |
| 9131 |
> |
(exit $ac_status); } && |
| 9132 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9133 |
> |
|| test ! -s conftest.err' |
| 9134 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9135 |
> |
(eval $ac_try) 2>&5 |
| 9136 |
> |
ac_status=$? |
| 9137 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9138 |
> |
(exit $ac_status); }; } && |
| 9139 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9140 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9141 |
> |
(eval $ac_try) 2>&5 |
| 9142 |
> |
ac_status=$? |
| 9143 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9144 |
> |
(exit $ac_status); }; }; then |
| 9145 |
|
ac_cv_lib_intl_strftime=yes |
| 9146 |
|
else |
| 9147 |
|
echo "$as_me: failed program was:" >&5 |
| 9148 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9149 |
|
|
| 9150 |
< |
ac_cv_lib_intl_strftime=no |
| 9150 |
> |
ac_cv_lib_intl_strftime=no |
| 9151 |
|
fi |
| 9152 |
< |
|
| 9803 |
< |
rm -rf core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9152 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9153 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9154 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9155 |
|
fi |
| 9156 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
| 9157 |
< |
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
| 9156 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
| 9157 |
> |
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
| 9158 |
|
if test $ac_cv_lib_intl_strftime = yes; then |
| 9159 |
|
cat >>confdefs.h <<\_ACEOF |
| 9160 |
|
#define HAVE_STRFTIME 1 |
| 9166 |
|
fi |
| 9167 |
|
done |
| 9168 |
|
|
| 9169 |
< |
{ echo "$as_me:$LINENO: checking for working strtod" >&5 |
| 9170 |
< |
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; } |
| 9169 |
> |
echo "$as_me:$LINENO: checking for working strtod" >&5 |
| 9170 |
> |
echo $ECHO_N "checking for working strtod... $ECHO_C" >&6 |
| 9171 |
|
if test "${ac_cv_func_strtod+set}" = set; then |
| 9172 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9173 |
|
else |
| 9181 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 9182 |
|
/* end confdefs.h. */ |
| 9183 |
|
|
| 9835 |
– |
$ac_includes_default |
| 9836 |
– |
#ifndef strtod |
| 9184 |
|
double strtod (); |
| 9838 |
– |
#endif |
| 9185 |
|
int |
| 9186 |
|
main() |
| 9187 |
|
{ |
| 9192 |
|
double value; |
| 9193 |
|
value = strtod (string, &term); |
| 9194 |
|
if (value != 69 || term != (string + 4)) |
| 9195 |
< |
return 1; |
| 9195 |
> |
exit (1); |
| 9196 |
|
} |
| 9197 |
|
|
| 9198 |
|
{ |
| 9202 |
|
char *term; |
| 9203 |
|
strtod (string, &term); |
| 9204 |
|
if (term != string && *(term - 1) == 0) |
| 9205 |
< |
return 1; |
| 9205 |
> |
exit (1); |
| 9206 |
|
} |
| 9207 |
< |
return 0; |
| 9207 |
> |
exit (0); |
| 9208 |
|
} |
| 9209 |
|
|
| 9210 |
|
_ACEOF |
| 9211 |
|
rm -f conftest$ac_exeext |
| 9212 |
< |
if { (ac_try="$ac_link" |
| 9213 |
< |
case "(($ac_try" in |
| 9868 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9869 |
< |
*) ac_try_echo=$ac_try;; |
| 9870 |
< |
esac |
| 9871 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9872 |
< |
(eval "$ac_link") 2>&5 |
| 9212 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9213 |
> |
(eval $ac_link) 2>&5 |
| 9214 |
|
ac_status=$? |
| 9215 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9216 |
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 9217 |
< |
{ (case "(($ac_try" in |
| 9218 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9878 |
< |
*) ac_try_echo=$ac_try;; |
| 9879 |
< |
esac |
| 9880 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9881 |
< |
(eval "$ac_try") 2>&5 |
| 9217 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9218 |
> |
(eval $ac_try) 2>&5 |
| 9219 |
|
ac_status=$? |
| 9220 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9221 |
|
(exit $ac_status); }; }; then |
| 9228 |
|
( exit $ac_status ) |
| 9229 |
|
ac_cv_func_strtod=no |
| 9230 |
|
fi |
| 9231 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9231 |
> |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9232 |
|
fi |
| 9896 |
– |
|
| 9897 |
– |
|
| 9233 |
|
fi |
| 9234 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 |
| 9235 |
< |
echo "${ECHO_T}$ac_cv_func_strtod" >&6; } |
| 9234 |
> |
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 |
| 9235 |
> |
echo "${ECHO_T}$ac_cv_func_strtod" >&6 |
| 9236 |
|
if test $ac_cv_func_strtod = no; then |
| 9237 |
< |
case " $LIBOBJS " in |
| 9237 |
> |
case $LIBOBJS in |
| 9238 |
> |
"strtod.$ac_objext" | \ |
| 9239 |
> |
*" strtod.$ac_objext" | \ |
| 9240 |
> |
"strtod.$ac_objext "* | \ |
| 9241 |
|
*" strtod.$ac_objext "* ) ;; |
| 9242 |
< |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext" |
| 9905 |
< |
;; |
| 9242 |
> |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext" ;; |
| 9243 |
|
esac |
| 9244 |
|
|
| 9245 |
< |
{ echo "$as_me:$LINENO: checking for pow" >&5 |
| 9246 |
< |
echo $ECHO_N "checking for pow... $ECHO_C" >&6; } |
| 9245 |
> |
echo "$as_me:$LINENO: checking for pow" >&5 |
| 9246 |
> |
echo $ECHO_N "checking for pow... $ECHO_C" >&6 |
| 9247 |
|
if test "${ac_cv_func_pow+set}" = set; then |
| 9248 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9249 |
|
else |
| 9270 |
|
|
| 9271 |
|
#undef pow |
| 9272 |
|
|
| 9273 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 9937 |
< |
Use char because int might match the return type of a GCC |
| 9938 |
< |
builtin and then its argument prototype would still apply. */ |
| 9273 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9274 |
|
#ifdef __cplusplus |
| 9275 |
|
extern "C" |
| 9276 |
+ |
{ |
| 9277 |
|
#endif |
| 9278 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9279 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9280 |
|
char pow (); |
| 9281 |
|
/* The GNU C library defines this for functions which it implements |
| 9282 |
|
to always fail with ENOSYS. Some functions are actually named |
| 9283 |
|
something starting with __ and the normal name is an alias. */ |
| 9284 |
< |
#if defined __stub_pow || defined __stub___pow |
| 9284 |
> |
#if defined (__stub_pow) || defined (__stub___pow) |
| 9285 |
|
choke me |
| 9286 |
+ |
#else |
| 9287 |
+ |
char (*f) () = pow; |
| 9288 |
|
#endif |
| 9289 |
+ |
#ifdef __cplusplus |
| 9290 |
+ |
} |
| 9291 |
+ |
#endif |
| 9292 |
|
|
| 9293 |
|
#ifdef FC_DUMMY_MAIN |
| 9294 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9301 |
|
int |
| 9302 |
|
main () |
| 9303 |
|
{ |
| 9304 |
< |
return pow (); |
| 9304 |
> |
return f != pow; |
| 9305 |
|
; |
| 9306 |
|
return 0; |
| 9307 |
|
} |
| 9308 |
|
_ACEOF |
| 9309 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9310 |
< |
if { (ac_try="$ac_link" |
| 9311 |
< |
case "(($ac_try" in |
| 9969 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 9970 |
< |
*) ac_try_echo=$ac_try;; |
| 9971 |
< |
esac |
| 9972 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 9973 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9310 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9311 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9312 |
|
ac_status=$? |
| 9313 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9314 |
|
rm -f conftest.er1 |
| 9315 |
|
cat conftest.err >&5 |
| 9316 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9317 |
< |
(exit $ac_status); } && { |
| 9318 |
< |
test -z "$ac_c_werror_flag" || |
| 9319 |
< |
test ! -s conftest.err |
| 9320 |
< |
} && test -s conftest$ac_exeext && |
| 9321 |
< |
$as_test_x conftest$ac_exeext; then |
| 9317 |
> |
(exit $ac_status); } && |
| 9318 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9319 |
> |
|| test ! -s conftest.err' |
| 9320 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9321 |
> |
(eval $ac_try) 2>&5 |
| 9322 |
> |
ac_status=$? |
| 9323 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9324 |
> |
(exit $ac_status); }; } && |
| 9325 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9326 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9327 |
> |
(eval $ac_try) 2>&5 |
| 9328 |
> |
ac_status=$? |
| 9329 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9330 |
> |
(exit $ac_status); }; }; then |
| 9331 |
|
ac_cv_func_pow=yes |
| 9332 |
|
else |
| 9333 |
|
echo "$as_me: failed program was:" >&5 |
| 9334 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9335 |
|
|
| 9336 |
< |
ac_cv_func_pow=no |
| 9336 |
> |
ac_cv_func_pow=no |
| 9337 |
|
fi |
| 9338 |
< |
|
| 9992 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9338 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9339 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9340 |
|
fi |
| 9341 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
| 9342 |
< |
echo "${ECHO_T}$ac_cv_func_pow" >&6; } |
| 9341 |
> |
echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 |
| 9342 |
> |
echo "${ECHO_T}$ac_cv_func_pow" >&6 |
| 9343 |
|
|
| 9344 |
|
if test $ac_cv_func_pow = no; then |
| 9345 |
< |
{ echo "$as_me:$LINENO: checking for pow in -lm" >&5 |
| 9346 |
< |
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; } |
| 9345 |
> |
echo "$as_me:$LINENO: checking for pow in -lm" >&5 |
| 9346 |
> |
echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6 |
| 9347 |
|
if test "${ac_cv_lib_m_pow+set}" = set; then |
| 9348 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9349 |
|
else |
| 9356 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 9357 |
|
/* end confdefs.h. */ |
| 9358 |
|
|
| 9359 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 10014 |
< |
Use char because int might match the return type of a GCC |
| 10015 |
< |
builtin and then its argument prototype would still apply. */ |
| 9359 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9360 |
|
#ifdef __cplusplus |
| 9361 |
|
extern "C" |
| 9362 |
|
#endif |
| 9363 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9364 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9365 |
|
char pow (); |
| 9366 |
|
#ifdef FC_DUMMY_MAIN |
| 9367 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9374 |
|
int |
| 9375 |
|
main () |
| 9376 |
|
{ |
| 9377 |
< |
return pow (); |
| 9377 |
> |
pow (); |
| 9378 |
|
; |
| 9379 |
|
return 0; |
| 9380 |
|
} |
| 9381 |
|
_ACEOF |
| 9382 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9383 |
< |
if { (ac_try="$ac_link" |
| 9384 |
< |
case "(($ac_try" in |
| 10039 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10040 |
< |
*) ac_try_echo=$ac_try;; |
| 10041 |
< |
esac |
| 10042 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10043 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9383 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9384 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9385 |
|
ac_status=$? |
| 9386 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9387 |
|
rm -f conftest.er1 |
| 9388 |
|
cat conftest.err >&5 |
| 9389 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9390 |
< |
(exit $ac_status); } && { |
| 9391 |
< |
test -z "$ac_c_werror_flag" || |
| 9392 |
< |
test ! -s conftest.err |
| 9393 |
< |
} && test -s conftest$ac_exeext && |
| 9394 |
< |
$as_test_x conftest$ac_exeext; then |
| 9390 |
> |
(exit $ac_status); } && |
| 9391 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9392 |
> |
|| test ! -s conftest.err' |
| 9393 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9394 |
> |
(eval $ac_try) 2>&5 |
| 9395 |
> |
ac_status=$? |
| 9396 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9397 |
> |
(exit $ac_status); }; } && |
| 9398 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9399 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9400 |
> |
(eval $ac_try) 2>&5 |
| 9401 |
> |
ac_status=$? |
| 9402 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9403 |
> |
(exit $ac_status); }; }; then |
| 9404 |
|
ac_cv_lib_m_pow=yes |
| 9405 |
|
else |
| 9406 |
|
echo "$as_me: failed program was:" >&5 |
| 9407 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9408 |
|
|
| 9409 |
< |
ac_cv_lib_m_pow=no |
| 9409 |
> |
ac_cv_lib_m_pow=no |
| 9410 |
|
fi |
| 9411 |
< |
|
| 10062 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9411 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9412 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9413 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9414 |
|
fi |
| 9415 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 |
| 9416 |
< |
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; } |
| 9415 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 |
| 9416 |
> |
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6 |
| 9417 |
|
if test $ac_cv_lib_m_pow = yes; then |
| 9418 |
|
POW_LIB=-lm |
| 9419 |
|
else |
| 9455 |
|
for ac_func in floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic pstat_getstatic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table |
| 9456 |
|
do |
| 9457 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 9458 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 9459 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 9460 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9458 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 9459 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 9460 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 9461 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9462 |
|
else |
| 9463 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9483 |
|
|
| 9484 |
|
#undef $ac_func |
| 9485 |
|
|
| 9486 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 10138 |
< |
Use char because int might match the return type of a GCC |
| 10139 |
< |
builtin and then its argument prototype would still apply. */ |
| 9486 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9487 |
|
#ifdef __cplusplus |
| 9488 |
|
extern "C" |
| 9489 |
+ |
{ |
| 9490 |
|
#endif |
| 9491 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9492 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9493 |
|
char $ac_func (); |
| 9494 |
|
/* The GNU C library defines this for functions which it implements |
| 9495 |
|
to always fail with ENOSYS. Some functions are actually named |
| 9496 |
|
something starting with __ and the normal name is an alias. */ |
| 9497 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 9497 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 9498 |
|
choke me |
| 9499 |
+ |
#else |
| 9500 |
+ |
char (*f) () = $ac_func; |
| 9501 |
|
#endif |
| 9502 |
+ |
#ifdef __cplusplus |
| 9503 |
+ |
} |
| 9504 |
+ |
#endif |
| 9505 |
|
|
| 9506 |
|
#ifdef FC_DUMMY_MAIN |
| 9507 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9514 |
|
int |
| 9515 |
|
main () |
| 9516 |
|
{ |
| 9517 |
< |
return $ac_func (); |
| 9517 |
> |
return f != $ac_func; |
| 9518 |
|
; |
| 9519 |
|
return 0; |
| 9520 |
|
} |
| 9521 |
|
_ACEOF |
| 9522 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9523 |
< |
if { (ac_try="$ac_link" |
| 9524 |
< |
case "(($ac_try" in |
| 10170 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10171 |
< |
*) ac_try_echo=$ac_try;; |
| 10172 |
< |
esac |
| 10173 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10174 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9523 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9524 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9525 |
|
ac_status=$? |
| 9526 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9527 |
|
rm -f conftest.er1 |
| 9528 |
|
cat conftest.err >&5 |
| 9529 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9530 |
< |
(exit $ac_status); } && { |
| 9531 |
< |
test -z "$ac_c_werror_flag" || |
| 9532 |
< |
test ! -s conftest.err |
| 9533 |
< |
} && test -s conftest$ac_exeext && |
| 9534 |
< |
$as_test_x conftest$ac_exeext; then |
| 9530 |
> |
(exit $ac_status); } && |
| 9531 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9532 |
> |
|| test ! -s conftest.err' |
| 9533 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9534 |
> |
(eval $ac_try) 2>&5 |
| 9535 |
> |
ac_status=$? |
| 9536 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9537 |
> |
(exit $ac_status); }; } && |
| 9538 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9539 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9540 |
> |
(eval $ac_try) 2>&5 |
| 9541 |
> |
ac_status=$? |
| 9542 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9543 |
> |
(exit $ac_status); }; }; then |
| 9544 |
|
eval "$as_ac_var=yes" |
| 9545 |
|
else |
| 9546 |
|
echo "$as_me: failed program was:" >&5 |
| 9547 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9548 |
|
|
| 9549 |
< |
eval "$as_ac_var=no" |
| 9549 |
> |
eval "$as_ac_var=no" |
| 9550 |
|
fi |
| 9551 |
< |
|
| 10193 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9551 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9552 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9553 |
|
fi |
| 9554 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 9555 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10198 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 9554 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 9555 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 9556 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 9557 |
|
cat >>confdefs.h <<_ACEOF |
| 9558 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 9564 |
|
|
| 9565 |
|
# special check for _system_configuration because AIX <4.3.2 do not |
| 9566 |
|
# contain the `physmem' member. |
| 9567 |
< |
{ echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 9568 |
< |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; } |
| 9567 |
> |
echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5 |
| 9568 |
> |
echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6 |
| 9569 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9570 |
|
/* confdefs.h. */ |
| 9571 |
|
_ACEOF |
| 9590 |
|
} |
| 9591 |
|
_ACEOF |
| 9592 |
|
rm -f conftest.$ac_objext |
| 9593 |
< |
if { (ac_try="$ac_compile" |
| 9594 |
< |
case "(($ac_try" in |
| 10238 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10239 |
< |
*) ac_try_echo=$ac_try;; |
| 10240 |
< |
esac |
| 10241 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10242 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 9593 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9594 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 9595 |
|
ac_status=$? |
| 9596 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9597 |
|
rm -f conftest.er1 |
| 9598 |
|
cat conftest.err >&5 |
| 9599 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9600 |
< |
(exit $ac_status); } && { |
| 9601 |
< |
test -z "$ac_c_werror_flag" || |
| 9602 |
< |
test ! -s conftest.err |
| 9603 |
< |
} && test -s conftest.$ac_objext; then |
| 9604 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 9605 |
< |
echo "${ECHO_T}yes" >&6; } |
| 9600 |
> |
(exit $ac_status); } && |
| 9601 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9602 |
> |
|| test ! -s conftest.err' |
| 9603 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9604 |
> |
(eval $ac_try) 2>&5 |
| 9605 |
> |
ac_status=$? |
| 9606 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9607 |
> |
(exit $ac_status); }; } && |
| 9608 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 9609 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9610 |
> |
(eval $ac_try) 2>&5 |
| 9611 |
> |
ac_status=$? |
| 9612 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9613 |
> |
(exit $ac_status); }; }; then |
| 9614 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 9615 |
> |
echo "${ECHO_T}yes" >&6 |
| 9616 |
|
|
| 9617 |
|
cat >>confdefs.h <<\_ACEOF |
| 9618 |
|
#define HAVE__SYSTEM_CONFIGURATION 1 |
| 9622 |
|
echo "$as_me: failed program was:" >&5 |
| 9623 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9624 |
|
|
| 9625 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 9626 |
< |
echo "${ECHO_T}no" >&6; } |
| 9625 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 9626 |
> |
echo "${ECHO_T}no" >&6 |
| 9627 |
|
fi |
| 9628 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9629 |
|
|
| 10267 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10268 |
– |
|
| 9630 |
|
# clean out junk possibly left behind by a previous configuration |
| 9631 |
|
rm -f src/getopt.h |
| 9632 |
|
# Check for getopt_long support |
| 9634 |
|
for ac_header in getopt.h |
| 9635 |
|
do |
| 9636 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9637 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9638 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9639 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9640 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9637 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9638 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9639 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 9640 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9641 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9642 |
|
fi |
| 9643 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9644 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10284 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 9643 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9644 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9645 |
|
else |
| 9646 |
|
# Is the header compilable? |
| 9647 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9648 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 9647 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9648 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 9649 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9650 |
|
/* confdefs.h. */ |
| 9651 |
|
_ACEOF |
| 9656 |
|
#include <$ac_header> |
| 9657 |
|
_ACEOF |
| 9658 |
|
rm -f conftest.$ac_objext |
| 9659 |
< |
if { (ac_try="$ac_compile" |
| 9660 |
< |
case "(($ac_try" in |
| 10301 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10302 |
< |
*) ac_try_echo=$ac_try;; |
| 10303 |
< |
esac |
| 10304 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10305 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 9659 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9660 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 9661 |
|
ac_status=$? |
| 9662 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9663 |
|
rm -f conftest.er1 |
| 9664 |
|
cat conftest.err >&5 |
| 9665 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9666 |
< |
(exit $ac_status); } && { |
| 9667 |
< |
test -z "$ac_c_werror_flag" || |
| 9668 |
< |
test ! -s conftest.err |
| 9669 |
< |
} && test -s conftest.$ac_objext; then |
| 9666 |
> |
(exit $ac_status); } && |
| 9667 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9668 |
> |
|| test ! -s conftest.err' |
| 9669 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9670 |
> |
(eval $ac_try) 2>&5 |
| 9671 |
> |
ac_status=$? |
| 9672 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9673 |
> |
(exit $ac_status); }; } && |
| 9674 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 9675 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9676 |
> |
(eval $ac_try) 2>&5 |
| 9677 |
> |
ac_status=$? |
| 9678 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9679 |
> |
(exit $ac_status); }; }; then |
| 9680 |
|
ac_header_compiler=yes |
| 9681 |
|
else |
| 9682 |
|
echo "$as_me: failed program was:" >&5 |
| 9683 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9684 |
|
|
| 9685 |
< |
ac_header_compiler=no |
| 9685 |
> |
ac_header_compiler=no |
| 9686 |
|
fi |
| 9687 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9688 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9689 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 9690 |
|
|
| 10323 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10324 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10325 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 10326 |
– |
|
| 9691 |
|
# Is the header present? |
| 9692 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9693 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 9692 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9693 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 9694 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9695 |
|
/* confdefs.h. */ |
| 9696 |
|
_ACEOF |
| 9699 |
|
/* end confdefs.h. */ |
| 9700 |
|
#include <$ac_header> |
| 9701 |
|
_ACEOF |
| 9702 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 9703 |
< |
case "(($ac_try" in |
| 10340 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10341 |
< |
*) ac_try_echo=$ac_try;; |
| 10342 |
< |
esac |
| 10343 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10344 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 9702 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 9703 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 9704 |
|
ac_status=$? |
| 9705 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9706 |
|
rm -f conftest.er1 |
| 9707 |
|
cat conftest.err >&5 |
| 9708 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9709 |
< |
(exit $ac_status); } >/dev/null && { |
| 9710 |
< |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 9711 |
< |
test ! -s conftest.err |
| 9712 |
< |
}; then |
| 9709 |
> |
(exit $ac_status); } >/dev/null; then |
| 9710 |
> |
if test -s conftest.err; then |
| 9711 |
> |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 9712 |
> |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 9713 |
> |
else |
| 9714 |
> |
ac_cpp_err= |
| 9715 |
> |
fi |
| 9716 |
> |
else |
| 9717 |
> |
ac_cpp_err=yes |
| 9718 |
> |
fi |
| 9719 |
> |
if test -z "$ac_cpp_err"; then |
| 9720 |
|
ac_header_preproc=yes |
| 9721 |
|
else |
| 9722 |
|
echo "$as_me: failed program was:" >&5 |
| 9724 |
|
|
| 9725 |
|
ac_header_preproc=no |
| 9726 |
|
fi |
| 10361 |
– |
|
| 9727 |
|
rm -f conftest.err conftest.$ac_ext |
| 9728 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9729 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 9728 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9729 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 9730 |
|
|
| 9731 |
|
# So? What about this header? |
| 9732 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 9750 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 9751 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 9752 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 9753 |
< |
( cat <<\_ASBOX |
| 9753 |
> |
( |
| 9754 |
> |
cat <<\_ASBOX |
| 9755 |
|
## ------------------------------ ## |
| 9756 |
|
## Report this to gezelter@nd.edu ## |
| 9757 |
|
## ------------------------------ ## |
| 9758 |
|
_ASBOX |
| 9759 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 9759 |
> |
) | |
| 9760 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 9761 |
|
;; |
| 9762 |
|
esac |
| 9763 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9764 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9765 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9763 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9764 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 9765 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 9766 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9767 |
|
else |
| 9768 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 9769 |
|
fi |
| 9770 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9771 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10405 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 9770 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 9771 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 9772 |
|
|
| 9773 |
|
fi |
| 9774 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 9784 |
|
for ac_func in getopt_long |
| 9785 |
|
do |
| 9786 |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 9787 |
< |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 9788 |
< |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 9789 |
< |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9787 |
> |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 9788 |
> |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
| 9789 |
> |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
| 9790 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9791 |
|
else |
| 9792 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 9812 |
|
|
| 9813 |
|
#undef $ac_func |
| 9814 |
|
|
| 9815 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 10450 |
< |
Use char because int might match the return type of a GCC |
| 10451 |
< |
builtin and then its argument prototype would still apply. */ |
| 9815 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9816 |
|
#ifdef __cplusplus |
| 9817 |
|
extern "C" |
| 9818 |
+ |
{ |
| 9819 |
|
#endif |
| 9820 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9821 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9822 |
|
char $ac_func (); |
| 9823 |
|
/* The GNU C library defines this for functions which it implements |
| 9824 |
|
to always fail with ENOSYS. Some functions are actually named |
| 9825 |
|
something starting with __ and the normal name is an alias. */ |
| 9826 |
< |
#if defined __stub_$ac_func || defined __stub___$ac_func |
| 9826 |
> |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 9827 |
|
choke me |
| 9828 |
+ |
#else |
| 9829 |
+ |
char (*f) () = $ac_func; |
| 9830 |
|
#endif |
| 9831 |
+ |
#ifdef __cplusplus |
| 9832 |
+ |
} |
| 9833 |
+ |
#endif |
| 9834 |
|
|
| 9835 |
|
#ifdef FC_DUMMY_MAIN |
| 9836 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9843 |
|
int |
| 9844 |
|
main () |
| 9845 |
|
{ |
| 9846 |
< |
return $ac_func (); |
| 9846 |
> |
return f != $ac_func; |
| 9847 |
|
; |
| 9848 |
|
return 0; |
| 9849 |
|
} |
| 9850 |
|
_ACEOF |
| 9851 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9852 |
< |
if { (ac_try="$ac_link" |
| 9853 |
< |
case "(($ac_try" in |
| 10482 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10483 |
< |
*) ac_try_echo=$ac_try;; |
| 10484 |
< |
esac |
| 10485 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10486 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9852 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9853 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9854 |
|
ac_status=$? |
| 9855 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9856 |
|
rm -f conftest.er1 |
| 9857 |
|
cat conftest.err >&5 |
| 9858 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9859 |
< |
(exit $ac_status); } && { |
| 9860 |
< |
test -z "$ac_c_werror_flag" || |
| 9861 |
< |
test ! -s conftest.err |
| 9862 |
< |
} && test -s conftest$ac_exeext && |
| 9863 |
< |
$as_test_x conftest$ac_exeext; then |
| 9859 |
> |
(exit $ac_status); } && |
| 9860 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9861 |
> |
|| test ! -s conftest.err' |
| 9862 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9863 |
> |
(eval $ac_try) 2>&5 |
| 9864 |
> |
ac_status=$? |
| 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:$LINENO: \"$ac_try\"") >&5 |
| 9869 |
> |
(eval $ac_try) 2>&5 |
| 9870 |
> |
ac_status=$? |
| 9871 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9872 |
> |
(exit $ac_status); }; }; then |
| 9873 |
|
eval "$as_ac_var=yes" |
| 9874 |
|
else |
| 9875 |
|
echo "$as_me: failed program was:" >&5 |
| 9876 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9877 |
|
|
| 9878 |
< |
eval "$as_ac_var=no" |
| 9878 |
> |
eval "$as_ac_var=no" |
| 9879 |
|
fi |
| 9880 |
< |
|
| 10505 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9880 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9881 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9882 |
|
fi |
| 9883 |
< |
ac_res=`eval echo '${'$as_ac_var'}'` |
| 9884 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10510 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 9883 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
| 9884 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
| 9885 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 9886 |
|
cat >>confdefs.h <<_ACEOF |
| 9887 |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 9889 |
|
|
| 9890 |
|
else |
| 9891 |
|
# FreeBSD has a gnugetopt library for this |
| 9892 |
< |
{ echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 9893 |
< |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; } |
| 9892 |
> |
echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5 |
| 9893 |
> |
echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6 |
| 9894 |
|
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then |
| 9895 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9896 |
|
else |
| 9903 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 9904 |
|
/* end confdefs.h. */ |
| 9905 |
|
|
| 9906 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 10533 |
< |
Use char because int might match the return type of a GCC |
| 10534 |
< |
builtin and then its argument prototype would still apply. */ |
| 9906 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 9907 |
|
#ifdef __cplusplus |
| 9908 |
|
extern "C" |
| 9909 |
|
#endif |
| 9910 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 9911 |
+ |
builtin and then its argument prototype would still apply. */ |
| 9912 |
|
char getopt_long (); |
| 9913 |
|
#ifdef FC_DUMMY_MAIN |
| 9914 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 9921 |
|
int |
| 9922 |
|
main () |
| 9923 |
|
{ |
| 9924 |
< |
return getopt_long (); |
| 9924 |
> |
getopt_long (); |
| 9925 |
|
; |
| 9926 |
|
return 0; |
| 9927 |
|
} |
| 9928 |
|
_ACEOF |
| 9929 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 9930 |
< |
if { (ac_try="$ac_link" |
| 9931 |
< |
case "(($ac_try" in |
| 10558 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10559 |
< |
*) ac_try_echo=$ac_try;; |
| 10560 |
< |
esac |
| 10561 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10562 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 9930 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 9931 |
> |
(eval $ac_link) 2>conftest.er1 |
| 9932 |
|
ac_status=$? |
| 9933 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 9934 |
|
rm -f conftest.er1 |
| 9935 |
|
cat conftest.err >&5 |
| 9936 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9937 |
< |
(exit $ac_status); } && { |
| 9938 |
< |
test -z "$ac_c_werror_flag" || |
| 9939 |
< |
test ! -s conftest.err |
| 9940 |
< |
} && test -s conftest$ac_exeext && |
| 9941 |
< |
$as_test_x conftest$ac_exeext; then |
| 9937 |
> |
(exit $ac_status); } && |
| 9938 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 9939 |
> |
|| test ! -s conftest.err' |
| 9940 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9941 |
> |
(eval $ac_try) 2>&5 |
| 9942 |
> |
ac_status=$? |
| 9943 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9944 |
> |
(exit $ac_status); }; } && |
| 9945 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 9946 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 9947 |
> |
(eval $ac_try) 2>&5 |
| 9948 |
> |
ac_status=$? |
| 9949 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9950 |
> |
(exit $ac_status); }; }; then |
| 9951 |
|
ac_cv_lib_gnugetopt_getopt_long=yes |
| 9952 |
|
else |
| 9953 |
|
echo "$as_me: failed program was:" >&5 |
| 9954 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 9955 |
|
|
| 9956 |
< |
ac_cv_lib_gnugetopt_getopt_long=no |
| 9956 |
> |
ac_cv_lib_gnugetopt_getopt_long=no |
| 9957 |
|
fi |
| 9958 |
< |
|
| 10581 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 9958 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 9959 |
|
conftest$ac_exeext conftest.$ac_ext |
| 9960 |
|
LIBS=$ac_check_lib_save_LIBS |
| 9961 |
|
fi |
| 9962 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
| 9963 |
< |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6; } |
| 9962 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5 |
| 9963 |
> |
echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6 |
| 9964 |
|
if test $ac_cv_lib_gnugetopt_getopt_long = yes; then |
| 9965 |
|
cat >>confdefs.h <<\_ACEOF |
| 9966 |
|
#define HAVE_GETOPT_LONG 1 |
| 9968 |
|
|
| 9969 |
|
else |
| 9970 |
|
# use the GNU replacement |
| 9971 |
< |
case " $LIBOBJS " in |
| 9971 |
> |
case $LIBOBJS in |
| 9972 |
> |
"getopt.$ac_objext" | \ |
| 9973 |
> |
*" getopt.$ac_objext" | \ |
| 9974 |
> |
"getopt.$ac_objext "* | \ |
| 9975 |
|
*" getopt.$ac_objext "* ) ;; |
| 9976 |
< |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" |
| 10597 |
< |
;; |
| 9976 |
> |
*) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; |
| 9977 |
|
esac |
| 9978 |
|
|
| 9979 |
< |
case " $LIBOBJS " in |
| 9979 |
> |
case $LIBOBJS in |
| 9980 |
> |
"getopt1.$ac_objext" | \ |
| 9981 |
> |
*" getopt1.$ac_objext" | \ |
| 9982 |
> |
"getopt1.$ac_objext "* | \ |
| 9983 |
|
*" getopt1.$ac_objext "* ) ;; |
| 9984 |
< |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" |
| 10603 |
< |
;; |
| 9984 |
> |
*) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;; |
| 9985 |
|
esac |
| 9986 |
|
|
| 9987 |
< |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
| 9987 |
> |
ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h" |
| 9988 |
|
|
| 9989 |
|
fi |
| 9990 |
|
|
| 9992 |
|
done |
| 9993 |
|
|
| 9994 |
|
|
| 9995 |
< |
ac_ext=cpp |
| 9995 |
> |
ac_ext=cc |
| 9996 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 9997 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9998 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 9999 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 10000 |
|
|
| 10001 |
|
|
| 10002 |
< |
{ echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 |
| 10003 |
< |
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6; } |
| 10002 |
> |
echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 |
| 10003 |
> |
echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 |
| 10004 |
|
if test "${ac_cv_cxx_namespaces+set}" = set; then |
| 10005 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10006 |
|
else |
| 10007 |
|
|
| 10008 |
< |
ac_ext=cpp |
| 10008 |
> |
|
| 10009 |
> |
ac_ext=cc |
| 10010 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10011 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10012 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10036 |
|
} |
| 10037 |
|
_ACEOF |
| 10038 |
|
rm -f conftest.$ac_objext |
| 10039 |
< |
if { (ac_try="$ac_compile" |
| 10040 |
< |
case "(($ac_try" in |
| 10659 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10660 |
< |
*) ac_try_echo=$ac_try;; |
| 10661 |
< |
esac |
| 10662 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10663 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 10039 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10040 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10041 |
|
ac_status=$? |
| 10042 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10043 |
|
rm -f conftest.er1 |
| 10044 |
|
cat conftest.err >&5 |
| 10045 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10046 |
< |
(exit $ac_status); } && { |
| 10047 |
< |
test -z "$ac_cxx_werror_flag" || |
| 10048 |
< |
test ! -s conftest.err |
| 10049 |
< |
} && test -s conftest.$ac_objext; then |
| 10046 |
> |
(exit $ac_status); } && |
| 10047 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10048 |
> |
|| test ! -s conftest.err' |
| 10049 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10050 |
> |
(eval $ac_try) 2>&5 |
| 10051 |
> |
ac_status=$? |
| 10052 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10053 |
> |
(exit $ac_status); }; } && |
| 10054 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 10055 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10056 |
> |
(eval $ac_try) 2>&5 |
| 10057 |
> |
ac_status=$? |
| 10058 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10059 |
> |
(exit $ac_status); }; }; then |
| 10060 |
|
ac_cv_cxx_namespaces=yes |
| 10061 |
|
else |
| 10062 |
|
echo "$as_me: failed program was:" >&5 |
| 10063 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10064 |
|
|
| 10065 |
< |
ac_cv_cxx_namespaces=no |
| 10065 |
> |
ac_cv_cxx_namespaces=no |
| 10066 |
|
fi |
| 10067 |
< |
|
| 10068 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10682 |
< |
ac_ext=cpp |
| 10067 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10068 |
> |
ac_ext=cc |
| 10069 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10070 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10071 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10073 |
|
|
| 10074 |
|
|
| 10075 |
|
fi |
| 10076 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 |
| 10077 |
< |
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6; } |
| 10076 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 |
| 10077 |
> |
echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 |
| 10078 |
|
if test "$ac_cv_cxx_namespaces" = yes; then |
| 10079 |
|
|
| 10080 |
|
cat >>confdefs.h <<\_ACEOF |
| 10083 |
|
|
| 10084 |
|
fi |
| 10085 |
|
|
| 10086 |
< |
ac_ext=cpp |
| 10086 |
> |
ac_ext=cc |
| 10087 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10088 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10089 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10090 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 10091 |
< |
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 10092 |
< |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
| 10091 |
> |
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
| 10092 |
> |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
| 10093 |
|
if test -z "$CXXCPP"; then |
| 10094 |
|
if test "${ac_cv_prog_CXXCPP+set}" = set; then |
| 10095 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10119 |
|
#endif |
| 10120 |
|
Syntax error |
| 10121 |
|
_ACEOF |
| 10122 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10123 |
< |
case "(($ac_try" in |
| 10738 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10739 |
< |
*) ac_try_echo=$ac_try;; |
| 10740 |
< |
esac |
| 10741 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10742 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10122 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10123 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10124 |
|
ac_status=$? |
| 10125 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10126 |
|
rm -f conftest.er1 |
| 10127 |
|
cat conftest.err >&5 |
| 10128 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10129 |
< |
(exit $ac_status); } >/dev/null && { |
| 10130 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10131 |
< |
test ! -s conftest.err |
| 10132 |
< |
}; then |
| 10129 |
> |
(exit $ac_status); } >/dev/null; then |
| 10130 |
> |
if test -s conftest.err; then |
| 10131 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10132 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10133 |
> |
else |
| 10134 |
> |
ac_cpp_err= |
| 10135 |
> |
fi |
| 10136 |
> |
else |
| 10137 |
> |
ac_cpp_err=yes |
| 10138 |
> |
fi |
| 10139 |
> |
if test -z "$ac_cpp_err"; then |
| 10140 |
|
: |
| 10141 |
|
else |
| 10142 |
|
echo "$as_me: failed program was:" >&5 |
| 10145 |
|
# Broken: fails on valid input. |
| 10146 |
|
continue |
| 10147 |
|
fi |
| 10760 |
– |
|
| 10148 |
|
rm -f conftest.err conftest.$ac_ext |
| 10149 |
|
|
| 10150 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 10150 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 10151 |
|
# can be detected and how. |
| 10152 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10153 |
|
/* confdefs.h. */ |
| 10157 |
|
/* end confdefs.h. */ |
| 10158 |
|
#include <ac_nonexistent.h> |
| 10159 |
|
_ACEOF |
| 10160 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10161 |
< |
case "(($ac_try" in |
| 10775 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10776 |
< |
*) ac_try_echo=$ac_try;; |
| 10777 |
< |
esac |
| 10778 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10779 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10160 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10161 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10162 |
|
ac_status=$? |
| 10163 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10164 |
|
rm -f conftest.er1 |
| 10165 |
|
cat conftest.err >&5 |
| 10166 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10167 |
< |
(exit $ac_status); } >/dev/null && { |
| 10168 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10169 |
< |
test ! -s conftest.err |
| 10170 |
< |
}; then |
| 10167 |
> |
(exit $ac_status); } >/dev/null; then |
| 10168 |
> |
if test -s conftest.err; then |
| 10169 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10170 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10171 |
> |
else |
| 10172 |
> |
ac_cpp_err= |
| 10173 |
> |
fi |
| 10174 |
> |
else |
| 10175 |
> |
ac_cpp_err=yes |
| 10176 |
> |
fi |
| 10177 |
> |
if test -z "$ac_cpp_err"; then |
| 10178 |
|
# Broken: success on invalid input. |
| 10179 |
|
continue |
| 10180 |
|
else |
| 10185 |
|
ac_preproc_ok=: |
| 10186 |
|
break |
| 10187 |
|
fi |
| 10799 |
– |
|
| 10188 |
|
rm -f conftest.err conftest.$ac_ext |
| 10189 |
|
|
| 10190 |
|
done |
| 10202 |
|
else |
| 10203 |
|
ac_cv_prog_CXXCPP=$CXXCPP |
| 10204 |
|
fi |
| 10205 |
< |
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 10206 |
< |
echo "${ECHO_T}$CXXCPP" >&6; } |
| 10205 |
> |
echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
| 10206 |
> |
echo "${ECHO_T}$CXXCPP" >&6 |
| 10207 |
|
ac_preproc_ok=false |
| 10208 |
|
for ac_cxx_preproc_warn_flag in '' yes |
| 10209 |
|
do |
| 10226 |
|
#endif |
| 10227 |
|
Syntax error |
| 10228 |
|
_ACEOF |
| 10229 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10230 |
< |
case "(($ac_try" in |
| 10843 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10844 |
< |
*) ac_try_echo=$ac_try;; |
| 10845 |
< |
esac |
| 10846 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10847 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10229 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10230 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10231 |
|
ac_status=$? |
| 10232 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10233 |
|
rm -f conftest.er1 |
| 10234 |
|
cat conftest.err >&5 |
| 10235 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10236 |
< |
(exit $ac_status); } >/dev/null && { |
| 10237 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10238 |
< |
test ! -s conftest.err |
| 10239 |
< |
}; then |
| 10236 |
> |
(exit $ac_status); } >/dev/null; then |
| 10237 |
> |
if test -s conftest.err; then |
| 10238 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10239 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10240 |
> |
else |
| 10241 |
> |
ac_cpp_err= |
| 10242 |
> |
fi |
| 10243 |
> |
else |
| 10244 |
> |
ac_cpp_err=yes |
| 10245 |
> |
fi |
| 10246 |
> |
if test -z "$ac_cpp_err"; then |
| 10247 |
|
: |
| 10248 |
|
else |
| 10249 |
|
echo "$as_me: failed program was:" >&5 |
| 10252 |
|
# Broken: fails on valid input. |
| 10253 |
|
continue |
| 10254 |
|
fi |
| 10865 |
– |
|
| 10255 |
|
rm -f conftest.err conftest.$ac_ext |
| 10256 |
|
|
| 10257 |
< |
# OK, works on sane cases. Now check whether nonexistent headers |
| 10257 |
> |
# OK, works on sane cases. Now check whether non-existent headers |
| 10258 |
|
# can be detected and how. |
| 10259 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10260 |
|
/* confdefs.h. */ |
| 10264 |
|
/* end confdefs.h. */ |
| 10265 |
|
#include <ac_nonexistent.h> |
| 10266 |
|
_ACEOF |
| 10267 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10268 |
< |
case "(($ac_try" in |
| 10880 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10881 |
< |
*) ac_try_echo=$ac_try;; |
| 10882 |
< |
esac |
| 10883 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10884 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10267 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10268 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10269 |
|
ac_status=$? |
| 10270 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10271 |
|
rm -f conftest.er1 |
| 10272 |
|
cat conftest.err >&5 |
| 10273 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10274 |
< |
(exit $ac_status); } >/dev/null && { |
| 10275 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10276 |
< |
test ! -s conftest.err |
| 10277 |
< |
}; then |
| 10274 |
> |
(exit $ac_status); } >/dev/null; then |
| 10275 |
> |
if test -s conftest.err; then |
| 10276 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10277 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10278 |
> |
else |
| 10279 |
> |
ac_cpp_err= |
| 10280 |
> |
fi |
| 10281 |
> |
else |
| 10282 |
> |
ac_cpp_err=yes |
| 10283 |
> |
fi |
| 10284 |
> |
if test -z "$ac_cpp_err"; then |
| 10285 |
|
# Broken: success on invalid input. |
| 10286 |
|
continue |
| 10287 |
|
else |
| 10292 |
|
ac_preproc_ok=: |
| 10293 |
|
break |
| 10294 |
|
fi |
| 10904 |
– |
|
| 10295 |
|
rm -f conftest.err conftest.$ac_ext |
| 10296 |
|
|
| 10297 |
|
done |
| 10307 |
|
{ (exit 1); exit 1; }; } |
| 10308 |
|
fi |
| 10309 |
|
|
| 10310 |
< |
ac_ext=cpp |
| 10310 |
> |
ac_ext=cc |
| 10311 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10312 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10313 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10314 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 10315 |
|
|
| 10316 |
|
|
| 10317 |
< |
{ echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 |
| 10318 |
< |
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6; } |
| 10317 |
> |
echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5 |
| 10318 |
> |
echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6 |
| 10319 |
|
if test "${ac_cv_cxx_have_stl+set}" = set; then |
| 10320 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10321 |
|
else |
| 10322 |
|
|
| 10323 |
|
|
| 10324 |
< |
ac_ext=cpp |
| 10324 |
> |
|
| 10325 |
> |
ac_ext=cc |
| 10326 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10327 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10328 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10357 |
|
} |
| 10358 |
|
_ACEOF |
| 10359 |
|
rm -f conftest.$ac_objext |
| 10360 |
< |
if { (ac_try="$ac_compile" |
| 10361 |
< |
case "(($ac_try" in |
| 10971 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10972 |
< |
*) ac_try_echo=$ac_try;; |
| 10973 |
< |
esac |
| 10974 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 10975 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 10360 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10361 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10362 |
|
ac_status=$? |
| 10363 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10364 |
|
rm -f conftest.er1 |
| 10365 |
|
cat conftest.err >&5 |
| 10366 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10367 |
< |
(exit $ac_status); } && { |
| 10368 |
< |
test -z "$ac_cxx_werror_flag" || |
| 10369 |
< |
test ! -s conftest.err |
| 10370 |
< |
} && test -s conftest.$ac_objext; then |
| 10367 |
> |
(exit $ac_status); } && |
| 10368 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10369 |
> |
|| test ! -s conftest.err' |
| 10370 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10371 |
> |
(eval $ac_try) 2>&5 |
| 10372 |
> |
ac_status=$? |
| 10373 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10374 |
> |
(exit $ac_status); }; } && |
| 10375 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 10376 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10377 |
> |
(eval $ac_try) 2>&5 |
| 10378 |
> |
ac_status=$? |
| 10379 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10380 |
> |
(exit $ac_status); }; }; then |
| 10381 |
|
ac_cv_cxx_have_stl=yes |
| 10382 |
|
else |
| 10383 |
|
echo "$as_me: failed program was:" >&5 |
| 10384 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10385 |
|
|
| 10386 |
< |
ac_cv_cxx_have_stl=no |
| 10386 |
> |
ac_cv_cxx_have_stl=no |
| 10387 |
|
fi |
| 10388 |
< |
|
| 10389 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10994 |
< |
ac_ext=cpp |
| 10388 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10389 |
> |
ac_ext=cc |
| 10390 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 10391 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 10392 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 10394 |
|
|
| 10395 |
|
|
| 10396 |
|
fi |
| 10397 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 |
| 10398 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6; } |
| 10397 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5 |
| 10398 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6 |
| 10399 |
|
if test "$ac_cv_cxx_have_stl" = yes; then |
| 10400 |
|
|
| 10401 |
|
cat >>confdefs.h <<\_ACEOF |
| 10407 |
|
|
| 10408 |
|
|
| 10409 |
|
if test "${ac_cv_header_iostream+set}" = set; then |
| 10410 |
< |
{ echo "$as_me:$LINENO: checking for iostream" >&5 |
| 10411 |
< |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } |
| 10410 |
> |
echo "$as_me:$LINENO: checking for iostream" >&5 |
| 10411 |
> |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6 |
| 10412 |
|
if test "${ac_cv_header_iostream+set}" = set; then |
| 10413 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10414 |
|
fi |
| 10415 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
| 10416 |
< |
echo "${ECHO_T}$ac_cv_header_iostream" >&6; } |
| 10415 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
| 10416 |
> |
echo "${ECHO_T}$ac_cv_header_iostream" >&6 |
| 10417 |
|
else |
| 10418 |
|
# Is the header compilable? |
| 10419 |
< |
{ echo "$as_me:$LINENO: checking iostream usability" >&5 |
| 10420 |
< |
echo $ECHO_N "checking iostream usability... $ECHO_C" >&6; } |
| 10419 |
> |
echo "$as_me:$LINENO: checking iostream usability" >&5 |
| 10420 |
> |
echo $ECHO_N "checking iostream usability... $ECHO_C" >&6 |
| 10421 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10422 |
|
/* confdefs.h. */ |
| 10423 |
|
_ACEOF |
| 10428 |
|
#include <iostream> |
| 10429 |
|
_ACEOF |
| 10430 |
|
rm -f conftest.$ac_objext |
| 10431 |
< |
if { (ac_try="$ac_compile" |
| 10432 |
< |
case "(($ac_try" in |
| 11038 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11039 |
< |
*) ac_try_echo=$ac_try;; |
| 11040 |
< |
esac |
| 11041 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11042 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 10431 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10432 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10433 |
|
ac_status=$? |
| 10434 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10435 |
|
rm -f conftest.er1 |
| 10436 |
|
cat conftest.err >&5 |
| 10437 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10438 |
< |
(exit $ac_status); } && { |
| 10439 |
< |
test -z "$ac_cxx_werror_flag" || |
| 10440 |
< |
test ! -s conftest.err |
| 10441 |
< |
} && test -s conftest.$ac_objext; then |
| 10438 |
> |
(exit $ac_status); } && |
| 10439 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10440 |
> |
|| test ! -s conftest.err' |
| 10441 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10442 |
> |
(eval $ac_try) 2>&5 |
| 10443 |
> |
ac_status=$? |
| 10444 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10445 |
> |
(exit $ac_status); }; } && |
| 10446 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 10447 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10448 |
> |
(eval $ac_try) 2>&5 |
| 10449 |
> |
ac_status=$? |
| 10450 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10451 |
> |
(exit $ac_status); }; }; then |
| 10452 |
|
ac_header_compiler=yes |
| 10453 |
|
else |
| 10454 |
|
echo "$as_me: failed program was:" >&5 |
| 10455 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10456 |
|
|
| 10457 |
< |
ac_header_compiler=no |
| 10457 |
> |
ac_header_compiler=no |
| 10458 |
|
fi |
| 10459 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10460 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10461 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10462 |
|
|
| 11060 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11061 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11062 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11063 |
– |
|
| 10463 |
|
# Is the header present? |
| 10464 |
< |
{ echo "$as_me:$LINENO: checking iostream presence" >&5 |
| 10465 |
< |
echo $ECHO_N "checking iostream presence... $ECHO_C" >&6; } |
| 10464 |
> |
echo "$as_me:$LINENO: checking iostream presence" >&5 |
| 10465 |
> |
echo $ECHO_N "checking iostream presence... $ECHO_C" >&6 |
| 10466 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10467 |
|
/* confdefs.h. */ |
| 10468 |
|
_ACEOF |
| 10471 |
|
/* end confdefs.h. */ |
| 10472 |
|
#include <iostream> |
| 10473 |
|
_ACEOF |
| 10474 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10475 |
< |
case "(($ac_try" in |
| 11077 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11078 |
< |
*) ac_try_echo=$ac_try;; |
| 11079 |
< |
esac |
| 11080 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11081 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10474 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10475 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10476 |
|
ac_status=$? |
| 10477 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10478 |
|
rm -f conftest.er1 |
| 10479 |
|
cat conftest.err >&5 |
| 10480 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10481 |
< |
(exit $ac_status); } >/dev/null && { |
| 10482 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10483 |
< |
test ! -s conftest.err |
| 10484 |
< |
}; then |
| 10481 |
> |
(exit $ac_status); } >/dev/null; then |
| 10482 |
> |
if test -s conftest.err; then |
| 10483 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10484 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10485 |
> |
else |
| 10486 |
> |
ac_cpp_err= |
| 10487 |
> |
fi |
| 10488 |
> |
else |
| 10489 |
> |
ac_cpp_err=yes |
| 10490 |
> |
fi |
| 10491 |
> |
if test -z "$ac_cpp_err"; then |
| 10492 |
|
ac_header_preproc=yes |
| 10493 |
|
else |
| 10494 |
|
echo "$as_me: failed program was:" >&5 |
| 10496 |
|
|
| 10497 |
|
ac_header_preproc=no |
| 10498 |
|
fi |
| 11098 |
– |
|
| 10499 |
|
rm -f conftest.err conftest.$ac_ext |
| 10500 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10501 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10500 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10501 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10502 |
|
|
| 10503 |
|
# So? What about this header? |
| 10504 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 10522 |
|
echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;} |
| 10523 |
|
{ echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5 |
| 10524 |
|
echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;} |
| 10525 |
< |
( cat <<\_ASBOX |
| 10525 |
> |
( |
| 10526 |
> |
cat <<\_ASBOX |
| 10527 |
|
## ------------------------------ ## |
| 10528 |
|
## Report this to gezelter@nd.edu ## |
| 10529 |
|
## ------------------------------ ## |
| 10530 |
|
_ASBOX |
| 10531 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 10531 |
> |
) | |
| 10532 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10533 |
|
;; |
| 10534 |
|
esac |
| 10535 |
< |
{ echo "$as_me:$LINENO: checking for iostream" >&5 |
| 10536 |
< |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6; } |
| 10535 |
> |
echo "$as_me:$LINENO: checking for iostream" >&5 |
| 10536 |
> |
echo $ECHO_N "checking for iostream... $ECHO_C" >&6 |
| 10537 |
|
if test "${ac_cv_header_iostream+set}" = set; then |
| 10538 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10539 |
|
else |
| 10540 |
|
ac_cv_header_iostream=$ac_header_preproc |
| 10541 |
|
fi |
| 10542 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
| 10543 |
< |
echo "${ECHO_T}$ac_cv_header_iostream" >&6; } |
| 10542 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5 |
| 10543 |
> |
echo "${ECHO_T}$ac_cv_header_iostream" >&6 |
| 10544 |
|
|
| 10545 |
|
fi |
| 10546 |
|
if test $ac_cv_header_iostream = yes; then |
| 10557 |
|
for ac_header in iostream.h |
| 10558 |
|
do |
| 10559 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10560 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10561 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10562 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10563 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10560 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10561 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10562 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10563 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10564 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10565 |
|
fi |
| 10566 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10567 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11166 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 10566 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10567 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10568 |
|
else |
| 10569 |
|
# Is the header compilable? |
| 10570 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10571 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10570 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10571 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 10572 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10573 |
|
/* confdefs.h. */ |
| 10574 |
|
_ACEOF |
| 10579 |
|
#include <$ac_header> |
| 10580 |
|
_ACEOF |
| 10581 |
|
rm -f conftest.$ac_objext |
| 10582 |
< |
if { (ac_try="$ac_compile" |
| 10583 |
< |
case "(($ac_try" in |
| 11183 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11184 |
< |
*) ac_try_echo=$ac_try;; |
| 11185 |
< |
esac |
| 11186 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11187 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 10582 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10583 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10584 |
|
ac_status=$? |
| 10585 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10586 |
|
rm -f conftest.er1 |
| 10587 |
|
cat conftest.err >&5 |
| 10588 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10589 |
< |
(exit $ac_status); } && { |
| 10590 |
< |
test -z "$ac_cxx_werror_flag" || |
| 10591 |
< |
test ! -s conftest.err |
| 10592 |
< |
} && test -s conftest.$ac_objext; then |
| 10589 |
> |
(exit $ac_status); } && |
| 10590 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10591 |
> |
|| test ! -s conftest.err' |
| 10592 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10593 |
> |
(eval $ac_try) 2>&5 |
| 10594 |
> |
ac_status=$? |
| 10595 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10596 |
> |
(exit $ac_status); }; } && |
| 10597 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 10598 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10599 |
> |
(eval $ac_try) 2>&5 |
| 10600 |
> |
ac_status=$? |
| 10601 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10602 |
> |
(exit $ac_status); }; }; then |
| 10603 |
|
ac_header_compiler=yes |
| 10604 |
|
else |
| 10605 |
|
echo "$as_me: failed program was:" >&5 |
| 10606 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10607 |
|
|
| 10608 |
< |
ac_header_compiler=no |
| 10608 |
> |
ac_header_compiler=no |
| 10609 |
|
fi |
| 10610 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10611 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10612 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10613 |
|
|
| 11205 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11206 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11207 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11208 |
– |
|
| 10614 |
|
# Is the header present? |
| 10615 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10616 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10615 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10616 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 10617 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10618 |
|
/* confdefs.h. */ |
| 10619 |
|
_ACEOF |
| 10622 |
|
/* end confdefs.h. */ |
| 10623 |
|
#include <$ac_header> |
| 10624 |
|
_ACEOF |
| 10625 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10626 |
< |
case "(($ac_try" in |
| 11222 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11223 |
< |
*) ac_try_echo=$ac_try;; |
| 11224 |
< |
esac |
| 11225 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11226 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10625 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10626 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10627 |
|
ac_status=$? |
| 10628 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10629 |
|
rm -f conftest.er1 |
| 10630 |
|
cat conftest.err >&5 |
| 10631 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10632 |
< |
(exit $ac_status); } >/dev/null && { |
| 10633 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10634 |
< |
test ! -s conftest.err |
| 10635 |
< |
}; then |
| 10632 |
> |
(exit $ac_status); } >/dev/null; then |
| 10633 |
> |
if test -s conftest.err; then |
| 10634 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10635 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10636 |
> |
else |
| 10637 |
> |
ac_cpp_err= |
| 10638 |
> |
fi |
| 10639 |
> |
else |
| 10640 |
> |
ac_cpp_err=yes |
| 10641 |
> |
fi |
| 10642 |
> |
if test -z "$ac_cpp_err"; then |
| 10643 |
|
ac_header_preproc=yes |
| 10644 |
|
else |
| 10645 |
|
echo "$as_me: failed program was:" >&5 |
| 10647 |
|
|
| 10648 |
|
ac_header_preproc=no |
| 10649 |
|
fi |
| 11243 |
– |
|
| 10650 |
|
rm -f conftest.err conftest.$ac_ext |
| 10651 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10652 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10651 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10652 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10653 |
|
|
| 10654 |
|
# So? What about this header? |
| 10655 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 10673 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10674 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10675 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10676 |
< |
( cat <<\_ASBOX |
| 10676 |
> |
( |
| 10677 |
> |
cat <<\_ASBOX |
| 10678 |
|
## ------------------------------ ## |
| 10679 |
|
## Report this to gezelter@nd.edu ## |
| 10680 |
|
## ------------------------------ ## |
| 10681 |
|
_ASBOX |
| 10682 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 10682 |
> |
) | |
| 10683 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10684 |
|
;; |
| 10685 |
|
esac |
| 10686 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10687 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10688 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10686 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10687 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10688 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10689 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10690 |
|
else |
| 10691 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 10692 |
|
fi |
| 10693 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10694 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11287 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 10693 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10694 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10695 |
|
|
| 10696 |
|
fi |
| 10697 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 10710 |
|
|
| 10711 |
|
|
| 10712 |
|
if test "${ac_cv_header_iomanip+set}" = set; then |
| 10713 |
< |
{ echo "$as_me:$LINENO: checking for iomanip" >&5 |
| 10714 |
< |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } |
| 10713 |
> |
echo "$as_me:$LINENO: checking for iomanip" >&5 |
| 10714 |
> |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 |
| 10715 |
|
if test "${ac_cv_header_iomanip+set}" = set; then |
| 10716 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10717 |
|
fi |
| 10718 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
| 10719 |
< |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } |
| 10718 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
| 10719 |
> |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6 |
| 10720 |
|
else |
| 10721 |
|
# Is the header compilable? |
| 10722 |
< |
{ echo "$as_me:$LINENO: checking iomanip usability" >&5 |
| 10723 |
< |
echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6; } |
| 10722 |
> |
echo "$as_me:$LINENO: checking iomanip usability" >&5 |
| 10723 |
> |
echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6 |
| 10724 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10725 |
|
/* confdefs.h. */ |
| 10726 |
|
_ACEOF |
| 10731 |
|
#include <iomanip> |
| 10732 |
|
_ACEOF |
| 10733 |
|
rm -f conftest.$ac_objext |
| 10734 |
< |
if { (ac_try="$ac_compile" |
| 10735 |
< |
case "(($ac_try" in |
| 11329 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11330 |
< |
*) ac_try_echo=$ac_try;; |
| 11331 |
< |
esac |
| 11332 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11333 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 10734 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10735 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10736 |
|
ac_status=$? |
| 10737 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10738 |
|
rm -f conftest.er1 |
| 10739 |
|
cat conftest.err >&5 |
| 10740 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10741 |
< |
(exit $ac_status); } && { |
| 10742 |
< |
test -z "$ac_cxx_werror_flag" || |
| 10743 |
< |
test ! -s conftest.err |
| 10744 |
< |
} && test -s conftest.$ac_objext; then |
| 10741 |
> |
(exit $ac_status); } && |
| 10742 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10743 |
> |
|| test ! -s conftest.err' |
| 10744 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10745 |
> |
(eval $ac_try) 2>&5 |
| 10746 |
> |
ac_status=$? |
| 10747 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10748 |
> |
(exit $ac_status); }; } && |
| 10749 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 10750 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10751 |
> |
(eval $ac_try) 2>&5 |
| 10752 |
> |
ac_status=$? |
| 10753 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10754 |
> |
(exit $ac_status); }; }; then |
| 10755 |
|
ac_header_compiler=yes |
| 10756 |
|
else |
| 10757 |
|
echo "$as_me: failed program was:" >&5 |
| 10758 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10759 |
|
|
| 10760 |
< |
ac_header_compiler=no |
| 10760 |
> |
ac_header_compiler=no |
| 10761 |
|
fi |
| 10762 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10763 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10764 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10765 |
|
|
| 11351 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11352 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11353 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11354 |
– |
|
| 10766 |
|
# Is the header present? |
| 10767 |
< |
{ echo "$as_me:$LINENO: checking iomanip presence" >&5 |
| 10768 |
< |
echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6; } |
| 10767 |
> |
echo "$as_me:$LINENO: checking iomanip presence" >&5 |
| 10768 |
> |
echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6 |
| 10769 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10770 |
|
/* confdefs.h. */ |
| 10771 |
|
_ACEOF |
| 10774 |
|
/* end confdefs.h. */ |
| 10775 |
|
#include <iomanip> |
| 10776 |
|
_ACEOF |
| 10777 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10778 |
< |
case "(($ac_try" in |
| 11368 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11369 |
< |
*) ac_try_echo=$ac_try;; |
| 11370 |
< |
esac |
| 11371 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11372 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10777 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10778 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10779 |
|
ac_status=$? |
| 10780 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10781 |
|
rm -f conftest.er1 |
| 10782 |
|
cat conftest.err >&5 |
| 10783 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10784 |
< |
(exit $ac_status); } >/dev/null && { |
| 10785 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10786 |
< |
test ! -s conftest.err |
| 10787 |
< |
}; then |
| 10784 |
> |
(exit $ac_status); } >/dev/null; then |
| 10785 |
> |
if test -s conftest.err; then |
| 10786 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10787 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10788 |
> |
else |
| 10789 |
> |
ac_cpp_err= |
| 10790 |
> |
fi |
| 10791 |
> |
else |
| 10792 |
> |
ac_cpp_err=yes |
| 10793 |
> |
fi |
| 10794 |
> |
if test -z "$ac_cpp_err"; then |
| 10795 |
|
ac_header_preproc=yes |
| 10796 |
|
else |
| 10797 |
|
echo "$as_me: failed program was:" >&5 |
| 10799 |
|
|
| 10800 |
|
ac_header_preproc=no |
| 10801 |
|
fi |
| 11389 |
– |
|
| 10802 |
|
rm -f conftest.err conftest.$ac_ext |
| 10803 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10804 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10803 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10804 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10805 |
|
|
| 10806 |
|
# So? What about this header? |
| 10807 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 10825 |
|
echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;} |
| 10826 |
|
{ echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5 |
| 10827 |
|
echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;} |
| 10828 |
< |
( cat <<\_ASBOX |
| 10828 |
> |
( |
| 10829 |
> |
cat <<\_ASBOX |
| 10830 |
|
## ------------------------------ ## |
| 10831 |
|
## Report this to gezelter@nd.edu ## |
| 10832 |
|
## ------------------------------ ## |
| 10833 |
|
_ASBOX |
| 10834 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 10834 |
> |
) | |
| 10835 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10836 |
|
;; |
| 10837 |
|
esac |
| 10838 |
< |
{ echo "$as_me:$LINENO: checking for iomanip" >&5 |
| 10839 |
< |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6; } |
| 10838 |
> |
echo "$as_me:$LINENO: checking for iomanip" >&5 |
| 10839 |
> |
echo $ECHO_N "checking for iomanip... $ECHO_C" >&6 |
| 10840 |
|
if test "${ac_cv_header_iomanip+set}" = set; then |
| 10841 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10842 |
|
else |
| 10843 |
|
ac_cv_header_iomanip=$ac_header_preproc |
| 10844 |
|
fi |
| 10845 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
| 10846 |
< |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6; } |
| 10845 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5 |
| 10846 |
> |
echo "${ECHO_T}$ac_cv_header_iomanip" >&6 |
| 10847 |
|
|
| 10848 |
|
fi |
| 10849 |
|
if test $ac_cv_header_iomanip = yes; then |
| 10860 |
|
for ac_header in iomanip.h |
| 10861 |
|
do |
| 10862 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10863 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10864 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10865 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10866 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10863 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10864 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10865 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10866 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10867 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10868 |
|
fi |
| 10869 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10870 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11457 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 10869 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10870 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10871 |
|
else |
| 10872 |
|
# Is the header compilable? |
| 10873 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10874 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10873 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10874 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 10875 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10876 |
|
/* confdefs.h. */ |
| 10877 |
|
_ACEOF |
| 10882 |
|
#include <$ac_header> |
| 10883 |
|
_ACEOF |
| 10884 |
|
rm -f conftest.$ac_objext |
| 10885 |
< |
if { (ac_try="$ac_compile" |
| 10886 |
< |
case "(($ac_try" in |
| 11474 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11475 |
< |
*) ac_try_echo=$ac_try;; |
| 11476 |
< |
esac |
| 11477 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11478 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 10885 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 10886 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 10887 |
|
ac_status=$? |
| 10888 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10889 |
|
rm -f conftest.er1 |
| 10890 |
|
cat conftest.err >&5 |
| 10891 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10892 |
< |
(exit $ac_status); } && { |
| 10893 |
< |
test -z "$ac_cxx_werror_flag" || |
| 10894 |
< |
test ! -s conftest.err |
| 10895 |
< |
} && test -s conftest.$ac_objext; then |
| 10892 |
> |
(exit $ac_status); } && |
| 10893 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 10894 |
> |
|| test ! -s conftest.err' |
| 10895 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10896 |
> |
(eval $ac_try) 2>&5 |
| 10897 |
> |
ac_status=$? |
| 10898 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10899 |
> |
(exit $ac_status); }; } && |
| 10900 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 10901 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 10902 |
> |
(eval $ac_try) 2>&5 |
| 10903 |
> |
ac_status=$? |
| 10904 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10905 |
> |
(exit $ac_status); }; }; then |
| 10906 |
|
ac_header_compiler=yes |
| 10907 |
|
else |
| 10908 |
|
echo "$as_me: failed program was:" >&5 |
| 10909 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 10910 |
|
|
| 10911 |
< |
ac_header_compiler=no |
| 10911 |
> |
ac_header_compiler=no |
| 10912 |
|
fi |
| 10913 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10914 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 10915 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 10916 |
|
|
| 11496 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11497 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11498 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11499 |
– |
|
| 10917 |
|
# Is the header present? |
| 10918 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10919 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10918 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10919 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 10920 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 10921 |
|
/* confdefs.h. */ |
| 10922 |
|
_ACEOF |
| 10925 |
|
/* end confdefs.h. */ |
| 10926 |
|
#include <$ac_header> |
| 10927 |
|
_ACEOF |
| 10928 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10929 |
< |
case "(($ac_try" in |
| 11513 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11514 |
< |
*) ac_try_echo=$ac_try;; |
| 11515 |
< |
esac |
| 11516 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11517 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 10928 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 10929 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 10930 |
|
ac_status=$? |
| 10931 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 10932 |
|
rm -f conftest.er1 |
| 10933 |
|
cat conftest.err >&5 |
| 10934 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10935 |
< |
(exit $ac_status); } >/dev/null && { |
| 10936 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 10937 |
< |
test ! -s conftest.err |
| 10938 |
< |
}; then |
| 10935 |
> |
(exit $ac_status); } >/dev/null; then |
| 10936 |
> |
if test -s conftest.err; then |
| 10937 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 10938 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 10939 |
> |
else |
| 10940 |
> |
ac_cpp_err= |
| 10941 |
> |
fi |
| 10942 |
> |
else |
| 10943 |
> |
ac_cpp_err=yes |
| 10944 |
> |
fi |
| 10945 |
> |
if test -z "$ac_cpp_err"; then |
| 10946 |
|
ac_header_preproc=yes |
| 10947 |
|
else |
| 10948 |
|
echo "$as_me: failed program was:" >&5 |
| 10950 |
|
|
| 10951 |
|
ac_header_preproc=no |
| 10952 |
|
fi |
| 11534 |
– |
|
| 10953 |
|
rm -f conftest.err conftest.$ac_ext |
| 10954 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10955 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10954 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10955 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 10956 |
|
|
| 10957 |
|
# So? What about this header? |
| 10958 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 10976 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10977 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10978 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10979 |
< |
( cat <<\_ASBOX |
| 10979 |
> |
( |
| 10980 |
> |
cat <<\_ASBOX |
| 10981 |
|
## ------------------------------ ## |
| 10982 |
|
## Report this to gezelter@nd.edu ## |
| 10983 |
|
## ------------------------------ ## |
| 10984 |
|
_ASBOX |
| 10985 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 10985 |
> |
) | |
| 10986 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 10987 |
|
;; |
| 10988 |
|
esac |
| 10989 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10990 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10991 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10989 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10990 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 10991 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 10992 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10993 |
|
else |
| 10994 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 10995 |
|
fi |
| 10996 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10997 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11578 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 10996 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 10997 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 10998 |
|
|
| 10999 |
|
fi |
| 11000 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 11015 |
|
for ac_header in cmath |
| 11016 |
|
do |
| 11017 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11018 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11019 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11020 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11021 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11018 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11019 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11020 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11021 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11022 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11023 |
|
fi |
| 11024 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11025 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11607 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 11024 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11025 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11026 |
|
else |
| 11027 |
|
# Is the header compilable? |
| 11028 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11029 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 11028 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11029 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 11030 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 11031 |
|
/* confdefs.h. */ |
| 11032 |
|
_ACEOF |
| 11037 |
|
#include <$ac_header> |
| 11038 |
|
_ACEOF |
| 11039 |
|
rm -f conftest.$ac_objext |
| 11040 |
< |
if { (ac_try="$ac_compile" |
| 11041 |
< |
case "(($ac_try" in |
| 11624 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11625 |
< |
*) ac_try_echo=$ac_try;; |
| 11626 |
< |
esac |
| 11627 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11628 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11040 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11041 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11042 |
|
ac_status=$? |
| 11043 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11044 |
|
rm -f conftest.er1 |
| 11045 |
|
cat conftest.err >&5 |
| 11046 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11047 |
< |
(exit $ac_status); } && { |
| 11048 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11049 |
< |
test ! -s conftest.err |
| 11050 |
< |
} && test -s conftest.$ac_objext; then |
| 11047 |
> |
(exit $ac_status); } && |
| 11048 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11049 |
> |
|| test ! -s conftest.err' |
| 11050 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11051 |
> |
(eval $ac_try) 2>&5 |
| 11052 |
> |
ac_status=$? |
| 11053 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11054 |
> |
(exit $ac_status); }; } && |
| 11055 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11056 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11057 |
> |
(eval $ac_try) 2>&5 |
| 11058 |
> |
ac_status=$? |
| 11059 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11060 |
> |
(exit $ac_status); }; }; then |
| 11061 |
|
ac_header_compiler=yes |
| 11062 |
|
else |
| 11063 |
|
echo "$as_me: failed program was:" >&5 |
| 11064 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11065 |
|
|
| 11066 |
< |
ac_header_compiler=no |
| 11066 |
> |
ac_header_compiler=no |
| 11067 |
|
fi |
| 11068 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11069 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11070 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 11071 |
|
|
| 11646 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11647 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11648 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 11649 |
– |
|
| 11072 |
|
# Is the header present? |
| 11073 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11074 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 11073 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11074 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 11075 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 11076 |
|
/* confdefs.h. */ |
| 11077 |
|
_ACEOF |
| 11080 |
|
/* end confdefs.h. */ |
| 11081 |
|
#include <$ac_header> |
| 11082 |
|
_ACEOF |
| 11083 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11084 |
< |
case "(($ac_try" in |
| 11663 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11664 |
< |
*) ac_try_echo=$ac_try;; |
| 11665 |
< |
esac |
| 11666 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11667 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 11083 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 11084 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 11085 |
|
ac_status=$? |
| 11086 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11087 |
|
rm -f conftest.er1 |
| 11088 |
|
cat conftest.err >&5 |
| 11089 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11090 |
< |
(exit $ac_status); } >/dev/null && { |
| 11091 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 11092 |
< |
test ! -s conftest.err |
| 11093 |
< |
}; then |
| 11090 |
> |
(exit $ac_status); } >/dev/null; then |
| 11091 |
> |
if test -s conftest.err; then |
| 11092 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 11093 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 11094 |
> |
else |
| 11095 |
> |
ac_cpp_err= |
| 11096 |
> |
fi |
| 11097 |
> |
else |
| 11098 |
> |
ac_cpp_err=yes |
| 11099 |
> |
fi |
| 11100 |
> |
if test -z "$ac_cpp_err"; then |
| 11101 |
|
ac_header_preproc=yes |
| 11102 |
|
else |
| 11103 |
|
echo "$as_me: failed program was:" >&5 |
| 11105 |
|
|
| 11106 |
|
ac_header_preproc=no |
| 11107 |
|
fi |
| 11684 |
– |
|
| 11108 |
|
rm -f conftest.err conftest.$ac_ext |
| 11109 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11110 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 11109 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11110 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 11111 |
|
|
| 11112 |
|
# So? What about this header? |
| 11113 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 11131 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 11132 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 11133 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 11134 |
< |
( cat <<\_ASBOX |
| 11134 |
> |
( |
| 11135 |
> |
cat <<\_ASBOX |
| 11136 |
|
## ------------------------------ ## |
| 11137 |
|
## Report this to gezelter@nd.edu ## |
| 11138 |
|
## ------------------------------ ## |
| 11139 |
|
_ASBOX |
| 11140 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 11140 |
> |
) | |
| 11141 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 11142 |
|
;; |
| 11143 |
|
esac |
| 11144 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11145 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11146 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11144 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11145 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11146 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11147 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11148 |
|
else |
| 11149 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 11150 |
|
fi |
| 11151 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11152 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11728 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 11151 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11152 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11153 |
|
|
| 11154 |
|
fi |
| 11155 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 11164 |
|
|
| 11165 |
|
|
| 11166 |
|
|
| 11167 |
< |
{ echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 |
| 11168 |
< |
echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6; } |
| 11167 |
> |
echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5 |
| 11168 |
> |
echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6 |
| 11169 |
|
if test "${ac_cv_cxx_have_std_iostream+set}" = set; then |
| 11170 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11171 |
|
else |
| 11174 |
|
ac_cv_cxx_need_use_std_iostream=no |
| 11175 |
|
if test "x$ac_cv_cxx_namespaces" = xyes; then |
| 11176 |
|
|
| 11177 |
< |
ac_ext=cpp |
| 11177 |
> |
|
| 11178 |
> |
ac_ext=cc |
| 11179 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11180 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11181 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11211 |
|
} |
| 11212 |
|
_ACEOF |
| 11213 |
|
rm -f conftest.$ac_objext |
| 11214 |
< |
if { (ac_try="$ac_compile" |
| 11215 |
< |
case "(($ac_try" in |
| 11791 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11792 |
< |
*) ac_try_echo=$ac_try;; |
| 11793 |
< |
esac |
| 11794 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11795 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11214 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11215 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11216 |
|
ac_status=$? |
| 11217 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11218 |
|
rm -f conftest.er1 |
| 11219 |
|
cat conftest.err >&5 |
| 11220 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11221 |
< |
(exit $ac_status); } && { |
| 11222 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11223 |
< |
test ! -s conftest.err |
| 11224 |
< |
} && test -s conftest.$ac_objext; then |
| 11221 |
> |
(exit $ac_status); } && |
| 11222 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11223 |
> |
|| test ! -s conftest.err' |
| 11224 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11225 |
> |
(eval $ac_try) 2>&5 |
| 11226 |
> |
ac_status=$? |
| 11227 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11228 |
> |
(exit $ac_status); }; } && |
| 11229 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11230 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11231 |
> |
(eval $ac_try) 2>&5 |
| 11232 |
> |
ac_status=$? |
| 11233 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11234 |
> |
(exit $ac_status); }; }; then |
| 11235 |
|
ac_cv_cxx_have_std_iostream=yes |
| 11236 |
|
else |
| 11237 |
|
echo "$as_me: failed program was:" >&5 |
| 11238 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11239 |
|
|
| 11810 |
– |
|
| 11240 |
|
fi |
| 11241 |
< |
|
| 11813 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11241 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11242 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 11243 |
|
/* confdefs.h. */ |
| 11244 |
|
_ACEOF |
| 11270 |
|
} |
| 11271 |
|
_ACEOF |
| 11272 |
|
rm -f conftest.$ac_objext |
| 11273 |
< |
if { (ac_try="$ac_compile" |
| 11274 |
< |
case "(($ac_try" in |
| 11847 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11848 |
< |
*) ac_try_echo=$ac_try;; |
| 11849 |
< |
esac |
| 11850 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11851 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11273 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11274 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11275 |
|
ac_status=$? |
| 11276 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11277 |
|
rm -f conftest.er1 |
| 11278 |
|
cat conftest.err >&5 |
| 11279 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11280 |
< |
(exit $ac_status); } && { |
| 11281 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11282 |
< |
test ! -s conftest.err |
| 11283 |
< |
} && test -s conftest.$ac_objext; then |
| 11280 |
> |
(exit $ac_status); } && |
| 11281 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11282 |
> |
|| test ! -s conftest.err' |
| 11283 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11284 |
> |
(eval $ac_try) 2>&5 |
| 11285 |
> |
ac_status=$? |
| 11286 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11287 |
> |
(exit $ac_status); }; } && |
| 11288 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11289 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11290 |
> |
(eval $ac_try) 2>&5 |
| 11291 |
> |
ac_status=$? |
| 11292 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11293 |
> |
(exit $ac_status); }; }; then |
| 11294 |
|
ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes |
| 11295 |
|
else |
| 11296 |
|
echo "$as_me: failed program was:" >&5 |
| 11297 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11298 |
|
|
| 11866 |
– |
|
| 11299 |
|
fi |
| 11300 |
< |
|
| 11301 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11870 |
< |
ac_ext=cpp |
| 11300 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11301 |
> |
ac_ext=cc |
| 11302 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11303 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11304 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11307 |
|
fi |
| 11308 |
|
|
| 11309 |
|
fi |
| 11310 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 |
| 11311 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6; } |
| 11310 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5 |
| 11311 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6 |
| 11312 |
|
if test "$ac_cv_cxx_have_std_iostream" = yes; then |
| 11313 |
|
|
| 11314 |
|
cat >>confdefs.h <<\_ACEOF |
| 11327 |
|
|
| 11328 |
|
|
| 11329 |
|
|
| 11330 |
< |
{ echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 |
| 11331 |
< |
echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6; } |
| 11330 |
> |
echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5 |
| 11331 |
> |
echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6 |
| 11332 |
|
if test "${ac_cv_cxx_have_std_stl+set}" = set; then |
| 11333 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11334 |
|
else |
| 11336 |
|
ac_cv_cxx_have_std_stl=no |
| 11337 |
|
if test "x$ac_cv_cxx_namespaces" = xyes; then |
| 11338 |
|
|
| 11339 |
< |
ac_ext=cpp |
| 11339 |
> |
|
| 11340 |
> |
ac_ext=cc |
| 11341 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11342 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11343 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11368 |
|
} |
| 11369 |
|
_ACEOF |
| 11370 |
|
rm -f conftest.$ac_objext |
| 11371 |
< |
if { (ac_try="$ac_compile" |
| 11372 |
< |
case "(($ac_try" in |
| 11941 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 11942 |
< |
*) ac_try_echo=$ac_try;; |
| 11943 |
< |
esac |
| 11944 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 11945 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11371 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11372 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11373 |
|
ac_status=$? |
| 11374 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11375 |
|
rm -f conftest.er1 |
| 11376 |
|
cat conftest.err >&5 |
| 11377 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11378 |
< |
(exit $ac_status); } && { |
| 11379 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11380 |
< |
test ! -s conftest.err |
| 11381 |
< |
} && test -s conftest.$ac_objext; then |
| 11378 |
> |
(exit $ac_status); } && |
| 11379 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11380 |
> |
|| test ! -s conftest.err' |
| 11381 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11382 |
> |
(eval $ac_try) 2>&5 |
| 11383 |
> |
ac_status=$? |
| 11384 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11385 |
> |
(exit $ac_status); }; } && |
| 11386 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11387 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11388 |
> |
(eval $ac_try) 2>&5 |
| 11389 |
> |
ac_status=$? |
| 11390 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11391 |
> |
(exit $ac_status); }; }; then |
| 11392 |
|
ac_cv_cxx_have_std_stl=yes |
| 11393 |
|
else |
| 11394 |
|
echo "$as_me: failed program was:" >&5 |
| 11395 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11396 |
|
|
| 11960 |
– |
|
| 11397 |
|
fi |
| 11398 |
< |
|
| 11399 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11964 |
< |
ac_ext=cpp |
| 11398 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11399 |
> |
ac_ext=cc |
| 11400 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11401 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11402 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11405 |
|
fi |
| 11406 |
|
|
| 11407 |
|
fi |
| 11408 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 |
| 11409 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6; } |
| 11408 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5 |
| 11409 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6 |
| 11410 |
|
if test "$ac_cv_cxx_have_std_stl" = yes; then |
| 11411 |
|
|
| 11412 |
|
cat >>confdefs.h <<\_ACEOF |
| 11417 |
|
|
| 11418 |
|
|
| 11419 |
|
|
| 11420 |
< |
{ echo "$as_me:$LINENO: checking for fstream::attach()" >&5 |
| 11421 |
< |
echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6; } |
| 11420 |
> |
echo "$as_me:$LINENO: checking for fstream::attach()" >&5 |
| 11421 |
> |
echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6 |
| 11422 |
|
if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then |
| 11423 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11424 |
|
else |
| 11425 |
|
|
| 11426 |
|
ac_cv_cxx_have_fstream_attach=no |
| 11427 |
|
|
| 11428 |
< |
ac_ext=cpp |
| 11428 |
> |
|
| 11429 |
> |
ac_ext=cc |
| 11430 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11431 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11432 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11465 |
|
} |
| 11466 |
|
_ACEOF |
| 11467 |
|
rm -f conftest.$ac_objext |
| 11468 |
< |
if { (ac_try="$ac_compile" |
| 11469 |
< |
case "(($ac_try" in |
| 12034 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12035 |
< |
*) ac_try_echo=$ac_try;; |
| 12036 |
< |
esac |
| 12037 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12038 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11468 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11469 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11470 |
|
ac_status=$? |
| 11471 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11472 |
|
rm -f conftest.er1 |
| 11473 |
|
cat conftest.err >&5 |
| 11474 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11475 |
< |
(exit $ac_status); } && { |
| 11476 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11477 |
< |
test ! -s conftest.err |
| 11478 |
< |
} && test -s conftest.$ac_objext; then |
| 11475 |
> |
(exit $ac_status); } && |
| 11476 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11477 |
> |
|| test ! -s conftest.err' |
| 11478 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11479 |
> |
(eval $ac_try) 2>&5 |
| 11480 |
> |
ac_status=$? |
| 11481 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11482 |
> |
(exit $ac_status); }; } && |
| 11483 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11484 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11485 |
> |
(eval $ac_try) 2>&5 |
| 11486 |
> |
ac_status=$? |
| 11487 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11488 |
> |
(exit $ac_status); }; }; then |
| 11489 |
|
ac_cv_cxx_have_fstream_attach=yes |
| 11490 |
|
else |
| 11491 |
|
echo "$as_me: failed program was:" >&5 |
| 11492 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11493 |
|
|
| 12053 |
– |
|
| 11494 |
|
fi |
| 11495 |
< |
|
| 11496 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12057 |
< |
ac_ext=cpp |
| 11495 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11496 |
> |
ac_ext=cc |
| 11497 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11498 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11499 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11501 |
|
|
| 11502 |
|
|
| 11503 |
|
fi |
| 11504 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 |
| 11505 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6; } |
| 11504 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5 |
| 11505 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6 |
| 11506 |
|
if test "$ac_cv_cxx_have_fstream_attach" = yes; then |
| 11507 |
|
|
| 11508 |
|
cat >>confdefs.h <<\_ACEOF |
| 11513 |
|
|
| 11514 |
|
|
| 11515 |
|
|
| 11516 |
< |
{ echo "$as_me:$LINENO: checking for fstream::open()" >&5 |
| 11517 |
< |
echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6; } |
| 11516 |
> |
echo "$as_me:$LINENO: checking for fstream::open()" >&5 |
| 11517 |
> |
echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6 |
| 11518 |
|
if test "${ac_cv_cxx_have_fstream_open+set}" = set; then |
| 11519 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11520 |
|
else |
| 11522 |
|
ac_cv_cxx_have_fstream_open=no |
| 11523 |
|
ac_cv_cxx_fstream_open_prot=no |
| 11524 |
|
|
| 11525 |
< |
ac_ext=cpp |
| 11525 |
> |
|
| 11526 |
> |
ac_ext=cc |
| 11527 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11528 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11529 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11563 |
|
} |
| 11564 |
|
_ACEOF |
| 11565 |
|
rm -f conftest.$ac_objext |
| 11566 |
< |
if { (ac_try="$ac_compile" |
| 11567 |
< |
case "(($ac_try" in |
| 12128 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12129 |
< |
*) ac_try_echo=$ac_try;; |
| 12130 |
< |
esac |
| 12131 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12132 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11566 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11567 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11568 |
|
ac_status=$? |
| 11569 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11570 |
|
rm -f conftest.er1 |
| 11571 |
|
cat conftest.err >&5 |
| 11572 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11573 |
< |
(exit $ac_status); } && { |
| 11574 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11575 |
< |
test ! -s conftest.err |
| 11576 |
< |
} && test -s conftest.$ac_objext; then |
| 11573 |
> |
(exit $ac_status); } && |
| 11574 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11575 |
> |
|| test ! -s conftest.err' |
| 11576 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11577 |
> |
(eval $ac_try) 2>&5 |
| 11578 |
> |
ac_status=$? |
| 11579 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11580 |
> |
(exit $ac_status); }; } && |
| 11581 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11582 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11583 |
> |
(eval $ac_try) 2>&5 |
| 11584 |
> |
ac_status=$? |
| 11585 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11586 |
> |
(exit $ac_status); }; }; then |
| 11587 |
|
ac_cv_cxx_have_fstream_open=yes |
| 11588 |
|
else |
| 11589 |
|
echo "$as_me: failed program was:" >&5 |
| 11590 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11591 |
|
|
| 12147 |
– |
|
| 11592 |
|
fi |
| 11593 |
< |
|
| 12150 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11593 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11594 |
|
# Try with mode parameter |
| 11595 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 11596 |
|
/* confdefs.h. */ |
| 11625 |
|
} |
| 11626 |
|
_ACEOF |
| 11627 |
|
rm -f conftest.$ac_objext |
| 11628 |
< |
if { (ac_try="$ac_compile" |
| 11629 |
< |
case "(($ac_try" in |
| 12187 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12188 |
< |
*) ac_try_echo=$ac_try;; |
| 12189 |
< |
esac |
| 12190 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12191 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11628 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11629 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11630 |
|
ac_status=$? |
| 11631 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11632 |
|
rm -f conftest.er1 |
| 11633 |
|
cat conftest.err >&5 |
| 11634 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11635 |
< |
(exit $ac_status); } && { |
| 11636 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11637 |
< |
test ! -s conftest.err |
| 11638 |
< |
} && test -s conftest.$ac_objext; then |
| 11635 |
> |
(exit $ac_status); } && |
| 11636 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11637 |
> |
|| test ! -s conftest.err' |
| 11638 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11639 |
> |
(eval $ac_try) 2>&5 |
| 11640 |
> |
ac_status=$? |
| 11641 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11642 |
> |
(exit $ac_status); }; } && |
| 11643 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11644 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11645 |
> |
(eval $ac_try) 2>&5 |
| 11646 |
> |
ac_status=$? |
| 11647 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11648 |
> |
(exit $ac_status); }; }; then |
| 11649 |
|
ac_cv_cxx_fstream_open_prot=yes |
| 11650 |
|
else |
| 11651 |
|
echo "$as_me: failed program was:" >&5 |
| 11652 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11653 |
|
|
| 12206 |
– |
|
| 11654 |
|
fi |
| 11655 |
< |
|
| 11656 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12210 |
< |
ac_ext=cpp |
| 11655 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11656 |
> |
ac_ext=cc |
| 11657 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 11658 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 11659 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 11661 |
|
|
| 11662 |
|
|
| 11663 |
|
fi |
| 11664 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 |
| 11665 |
< |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6; } |
| 11664 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5 |
| 11665 |
> |
echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6 |
| 11666 |
|
if test "$ac_cv_cxx_have_fstream_open" = yes; then |
| 11667 |
|
|
| 11668 |
|
cat >>confdefs.h <<\_ACEOF |
| 11687 |
|
for ac_header in ctype.h iostream fstream sstream strstream |
| 11688 |
|
do |
| 11689 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 11690 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11691 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11692 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11693 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11690 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11691 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11692 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11693 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11694 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11695 |
|
fi |
| 11696 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11697 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12252 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 11696 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11697 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11698 |
|
else |
| 11699 |
|
# Is the header compilable? |
| 11700 |
< |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11701 |
< |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 11700 |
> |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 11701 |
> |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| 11702 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 11703 |
|
/* confdefs.h. */ |
| 11704 |
|
_ACEOF |
| 11709 |
|
#include <$ac_header> |
| 11710 |
|
_ACEOF |
| 11711 |
|
rm -f conftest.$ac_objext |
| 11712 |
< |
if { (ac_try="$ac_compile" |
| 11713 |
< |
case "(($ac_try" in |
| 12269 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12270 |
< |
*) ac_try_echo=$ac_try;; |
| 12271 |
< |
esac |
| 12272 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12273 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11712 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11713 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11714 |
|
ac_status=$? |
| 11715 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11716 |
|
rm -f conftest.er1 |
| 11717 |
|
cat conftest.err >&5 |
| 11718 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11719 |
< |
(exit $ac_status); } && { |
| 11720 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11721 |
< |
test ! -s conftest.err |
| 11722 |
< |
} && test -s conftest.$ac_objext; then |
| 11719 |
> |
(exit $ac_status); } && |
| 11720 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11721 |
> |
|| test ! -s conftest.err' |
| 11722 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11723 |
> |
(eval $ac_try) 2>&5 |
| 11724 |
> |
ac_status=$? |
| 11725 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11726 |
> |
(exit $ac_status); }; } && |
| 11727 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11728 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11729 |
> |
(eval $ac_try) 2>&5 |
| 11730 |
> |
ac_status=$? |
| 11731 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11732 |
> |
(exit $ac_status); }; }; then |
| 11733 |
|
ac_header_compiler=yes |
| 11734 |
|
else |
| 11735 |
|
echo "$as_me: failed program was:" >&5 |
| 11736 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11737 |
|
|
| 11738 |
< |
ac_header_compiler=no |
| 11738 |
> |
ac_header_compiler=no |
| 11739 |
|
fi |
| 11740 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11741 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11742 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 11743 |
|
|
| 12291 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12292 |
– |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 12293 |
– |
echo "${ECHO_T}$ac_header_compiler" >&6; } |
| 12294 |
– |
|
| 11744 |
|
# Is the header present? |
| 11745 |
< |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11746 |
< |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 11745 |
> |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 11746 |
> |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| 11747 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 11748 |
|
/* confdefs.h. */ |
| 11749 |
|
_ACEOF |
| 11752 |
|
/* end confdefs.h. */ |
| 11753 |
|
#include <$ac_header> |
| 11754 |
|
_ACEOF |
| 11755 |
< |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11756 |
< |
case "(($ac_try" in |
| 12308 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12309 |
< |
*) ac_try_echo=$ac_try;; |
| 12310 |
< |
esac |
| 12311 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12312 |
< |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| 11755 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 11756 |
> |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 11757 |
|
ac_status=$? |
| 11758 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11759 |
|
rm -f conftest.er1 |
| 11760 |
|
cat conftest.err >&5 |
| 11761 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11762 |
< |
(exit $ac_status); } >/dev/null && { |
| 11763 |
< |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
| 11764 |
< |
test ! -s conftest.err |
| 11765 |
< |
}; then |
| 11762 |
> |
(exit $ac_status); } >/dev/null; then |
| 11763 |
> |
if test -s conftest.err; then |
| 11764 |
> |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
| 11765 |
> |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
| 11766 |
> |
else |
| 11767 |
> |
ac_cpp_err= |
| 11768 |
> |
fi |
| 11769 |
> |
else |
| 11770 |
> |
ac_cpp_err=yes |
| 11771 |
> |
fi |
| 11772 |
> |
if test -z "$ac_cpp_err"; then |
| 11773 |
|
ac_header_preproc=yes |
| 11774 |
|
else |
| 11775 |
|
echo "$as_me: failed program was:" >&5 |
| 11777 |
|
|
| 11778 |
|
ac_header_preproc=no |
| 11779 |
|
fi |
| 12329 |
– |
|
| 11780 |
|
rm -f conftest.err conftest.$ac_ext |
| 11781 |
< |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11782 |
< |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 11781 |
> |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11782 |
> |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 11783 |
|
|
| 11784 |
|
# So? What about this header? |
| 11785 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
| 11803 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 11804 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 11805 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 11806 |
< |
( cat <<\_ASBOX |
| 11806 |
> |
( |
| 11807 |
> |
cat <<\_ASBOX |
| 11808 |
|
## ------------------------------ ## |
| 11809 |
|
## Report this to gezelter@nd.edu ## |
| 11810 |
|
## ------------------------------ ## |
| 11811 |
|
_ASBOX |
| 11812 |
< |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| 11812 |
> |
) | |
| 11813 |
> |
sed "s/^/$as_me: WARNING: /" >&2 |
| 11814 |
|
;; |
| 11815 |
|
esac |
| 11816 |
< |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11817 |
< |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 11818 |
< |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 11816 |
> |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 11817 |
> |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| 11818 |
> |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 11819 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11820 |
|
else |
| 11821 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
| 11822 |
|
fi |
| 11823 |
< |
ac_res=`eval echo '${'$as_ac_Header'}'` |
| 11824 |
< |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12373 |
< |
echo "${ECHO_T}$ac_res" >&6; } |
| 11823 |
> |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| 11824 |
> |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| 11825 |
|
|
| 11826 |
|
fi |
| 11827 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 11840 |
|
# If not, we'll just define __func__ to "". |
| 11841 |
|
# AC_CPP_FUNC |
| 11842 |
|
|
| 12392 |
– |
case $ac_cv_prog_cc_stdc in |
| 12393 |
– |
no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; |
| 12394 |
– |
*) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 |
| 12395 |
– |
echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; } |
| 12396 |
– |
if test "${ac_cv_prog_cc_c99+set}" = set; then |
| 12397 |
– |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12398 |
– |
else |
| 12399 |
– |
ac_cv_prog_cc_c99=no |
| 12400 |
– |
ac_save_CC=$CC |
| 12401 |
– |
cat >conftest.$ac_ext <<_ACEOF |
| 12402 |
– |
/* confdefs.h. */ |
| 12403 |
– |
_ACEOF |
| 12404 |
– |
cat confdefs.h >>conftest.$ac_ext |
| 12405 |
– |
cat >>conftest.$ac_ext <<_ACEOF |
| 12406 |
– |
/* end confdefs.h. */ |
| 12407 |
– |
#include <stdarg.h> |
| 12408 |
– |
#include <stdbool.h> |
| 12409 |
– |
#include <stdlib.h> |
| 12410 |
– |
#include <wchar.h> |
| 12411 |
– |
#include <stdio.h> |
| 11843 |
|
|
| 11844 |
< |
// Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 11845 |
< |
#define debug(...) fprintf (stderr, __VA_ARGS__) |
| 12415 |
< |
#define showlist(...) puts (#__VA_ARGS__) |
| 12416 |
< |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 12417 |
< |
static void |
| 12418 |
< |
test_varargs_macros (void) |
| 12419 |
< |
{ |
| 12420 |
< |
int x = 1234; |
| 12421 |
< |
int y = 5678; |
| 12422 |
< |
debug ("Flag"); |
| 12423 |
< |
debug ("X = %d\n", x); |
| 12424 |
< |
showlist (The first, second, and third items.); |
| 12425 |
< |
report (x>y, "x is %d but y is %d", x, y); |
| 12426 |
< |
} |
| 12427 |
< |
|
| 12428 |
< |
// Check long long types. |
| 12429 |
< |
#define BIG64 18446744073709551615ull |
| 12430 |
< |
#define BIG32 4294967295ul |
| 12431 |
< |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 12432 |
< |
#if !BIG_OK |
| 12433 |
< |
your preprocessor is broken; |
| 12434 |
< |
#endif |
| 12435 |
< |
#if BIG_OK |
| 12436 |
< |
#else |
| 12437 |
< |
your preprocessor is broken; |
| 12438 |
< |
#endif |
| 12439 |
< |
static long long int bignum = -9223372036854775807LL; |
| 12440 |
< |
static unsigned long long int ubignum = BIG64; |
| 12441 |
< |
|
| 12442 |
< |
struct incomplete_array |
| 12443 |
< |
{ |
| 12444 |
< |
int datasize; |
| 12445 |
< |
double data[]; |
| 12446 |
< |
}; |
| 12447 |
< |
|
| 12448 |
< |
struct named_init { |
| 12449 |
< |
int number; |
| 12450 |
< |
const wchar_t *name; |
| 12451 |
< |
double average; |
| 12452 |
< |
}; |
| 12453 |
< |
|
| 12454 |
< |
typedef const char *ccp; |
| 12455 |
< |
|
| 12456 |
< |
static inline int |
| 12457 |
< |
test_restrict (ccp restrict text) |
| 12458 |
< |
{ |
| 12459 |
< |
// See if C++-style comments work. |
| 12460 |
< |
// Iterate through items via the restricted pointer. |
| 12461 |
< |
// Also check for declarations in for loops. |
| 12462 |
< |
for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 12463 |
< |
continue; |
| 12464 |
< |
return 0; |
| 12465 |
< |
} |
| 12466 |
< |
|
| 12467 |
< |
// Check varargs and va_copy. |
| 12468 |
< |
static void |
| 12469 |
< |
test_varargs (const char *format, ...) |
| 12470 |
< |
{ |
| 12471 |
< |
va_list args; |
| 12472 |
< |
va_start (args, format); |
| 12473 |
< |
va_list args_copy; |
| 12474 |
< |
va_copy (args_copy, args); |
| 12475 |
< |
|
| 12476 |
< |
const char *str; |
| 12477 |
< |
int number; |
| 12478 |
< |
float fnumber; |
| 12479 |
< |
|
| 12480 |
< |
while (*format) |
| 12481 |
< |
{ |
| 12482 |
< |
switch (*format++) |
| 12483 |
< |
{ |
| 12484 |
< |
case 's': // string |
| 12485 |
< |
str = va_arg (args_copy, const char *); |
| 12486 |
< |
break; |
| 12487 |
< |
case 'd': // int |
| 12488 |
< |
number = va_arg (args_copy, int); |
| 12489 |
< |
break; |
| 12490 |
< |
case 'f': // float |
| 12491 |
< |
fnumber = va_arg (args_copy, double); |
| 12492 |
< |
break; |
| 12493 |
< |
default: |
| 12494 |
< |
break; |
| 12495 |
< |
} |
| 12496 |
< |
} |
| 12497 |
< |
va_end (args_copy); |
| 12498 |
< |
va_end (args); |
| 12499 |
< |
} |
| 12500 |
< |
|
| 12501 |
< |
#ifdef FC_DUMMY_MAIN |
| 12502 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 12503 |
< |
# ifdef __cplusplus |
| 12504 |
< |
extern "C" |
| 12505 |
< |
# endif |
| 12506 |
< |
int FC_DUMMY_MAIN() { return 1; } |
| 12507 |
< |
#endif |
| 12508 |
< |
#endif |
| 12509 |
< |
int |
| 12510 |
< |
main () |
| 12511 |
< |
{ |
| 12512 |
< |
|
| 12513 |
< |
// Check bool. |
| 12514 |
< |
_Bool success = false; |
| 12515 |
< |
|
| 12516 |
< |
// Check restrict. |
| 12517 |
< |
if (test_restrict ("String literal") == 0) |
| 12518 |
< |
success = true; |
| 12519 |
< |
char *restrict newvar = "Another string"; |
| 12520 |
< |
|
| 12521 |
< |
// Check varargs. |
| 12522 |
< |
test_varargs ("s, d' f .", "string", 65, 34.234); |
| 12523 |
< |
test_varargs_macros (); |
| 12524 |
< |
|
| 12525 |
< |
// Check flexible array members. |
| 12526 |
< |
struct incomplete_array *ia = |
| 12527 |
< |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 12528 |
< |
ia->datasize = 10; |
| 12529 |
< |
for (int i = 0; i < ia->datasize; ++i) |
| 12530 |
< |
ia->data[i] = i * 1.234; |
| 12531 |
< |
|
| 12532 |
< |
// Check named initializers. |
| 12533 |
< |
struct named_init ni = { |
| 12534 |
< |
.number = 34, |
| 12535 |
< |
.name = L"Test wide string", |
| 12536 |
< |
.average = 543.34343, |
| 12537 |
< |
}; |
| 12538 |
< |
|
| 12539 |
< |
ni.number = 58; |
| 12540 |
< |
|
| 12541 |
< |
int dynamic_array[ni.number]; |
| 12542 |
< |
dynamic_array[ni.number - 1] = 543; |
| 12543 |
< |
|
| 12544 |
< |
// work around unused variable warnings |
| 12545 |
< |
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 12546 |
< |
|| dynamic_array[ni.number - 1] != 543); |
| 12547 |
< |
|
| 12548 |
< |
; |
| 12549 |
< |
return 0; |
| 12550 |
< |
} |
| 12551 |
< |
_ACEOF |
| 12552 |
< |
for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 |
| 12553 |
< |
do |
| 12554 |
< |
CC="$ac_save_CC $ac_arg" |
| 12555 |
< |
rm -f conftest.$ac_objext |
| 12556 |
< |
if { (ac_try="$ac_compile" |
| 12557 |
< |
case "(($ac_try" in |
| 12558 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12559 |
< |
*) ac_try_echo=$ac_try;; |
| 12560 |
< |
esac |
| 12561 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12562 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 12563 |
< |
ac_status=$? |
| 12564 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12565 |
< |
rm -f conftest.er1 |
| 12566 |
< |
cat conftest.err >&5 |
| 12567 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12568 |
< |
(exit $ac_status); } && { |
| 12569 |
< |
test -z "$ac_cxx_werror_flag" || |
| 12570 |
< |
test ! -s conftest.err |
| 12571 |
< |
} && test -s conftest.$ac_objext; then |
| 12572 |
< |
ac_cv_prog_cc_c99=$ac_arg |
| 12573 |
< |
else |
| 12574 |
< |
echo "$as_me: failed program was:" >&5 |
| 12575 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12576 |
< |
|
| 12577 |
< |
|
| 12578 |
< |
fi |
| 12579 |
< |
|
| 12580 |
< |
rm -f core conftest.err conftest.$ac_objext |
| 12581 |
< |
test "x$ac_cv_prog_cc_c99" != "xno" && break |
| 12582 |
< |
done |
| 12583 |
< |
rm -f conftest.$ac_ext |
| 12584 |
< |
CC=$ac_save_CC |
| 12585 |
< |
|
| 12586 |
< |
fi |
| 12587 |
< |
# AC_CACHE_VAL |
| 12588 |
< |
case "x$ac_cv_prog_cc_c99" in |
| 12589 |
< |
x) |
| 12590 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
| 12591 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
| 12592 |
< |
xno) |
| 12593 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
| 12594 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
| 12595 |
< |
*) |
| 12596 |
< |
CC="$CC $ac_cv_prog_cc_c99" |
| 12597 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 |
| 12598 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;; |
| 12599 |
< |
esac |
| 12600 |
< |
if test "x$ac_cv_prog_cc_c99" != xno; then |
| 12601 |
< |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 12602 |
< |
else |
| 12603 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 12604 |
< |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
| 12605 |
< |
if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 12606 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12607 |
< |
else |
| 12608 |
< |
ac_cv_prog_cc_c89=no |
| 12609 |
< |
ac_save_CC=$CC |
| 12610 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 12611 |
< |
/* confdefs.h. */ |
| 12612 |
< |
_ACEOF |
| 12613 |
< |
cat confdefs.h >>conftest.$ac_ext |
| 12614 |
< |
cat >>conftest.$ac_ext <<_ACEOF |
| 12615 |
< |
/* end confdefs.h. */ |
| 12616 |
< |
#include <stdarg.h> |
| 12617 |
< |
#include <stdio.h> |
| 12618 |
< |
#include <sys/types.h> |
| 12619 |
< |
#include <sys/stat.h> |
| 12620 |
< |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 12621 |
< |
struct buf { int x; }; |
| 12622 |
< |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 12623 |
< |
static char *e (p, i) |
| 12624 |
< |
char **p; |
| 12625 |
< |
int i; |
| 12626 |
< |
{ |
| 12627 |
< |
return p[i]; |
| 12628 |
< |
} |
| 12629 |
< |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 12630 |
< |
{ |
| 12631 |
< |
char *s; |
| 12632 |
< |
va_list v; |
| 12633 |
< |
va_start (v,p); |
| 12634 |
< |
s = g (p, va_arg (v,int)); |
| 12635 |
< |
va_end (v); |
| 12636 |
< |
return s; |
| 12637 |
< |
} |
| 12638 |
< |
|
| 12639 |
< |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 12640 |
< |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 12641 |
< |
These don't provoke an error unfortunately, instead are silently treated |
| 12642 |
< |
as 'x'. The following induces an error, until -std is added to get |
| 12643 |
< |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 12644 |
< |
array size at least. It's necessary to write '\x00'==0 to get something |
| 12645 |
< |
that's true only with -std. */ |
| 12646 |
< |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 12647 |
< |
|
| 12648 |
< |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 12649 |
< |
inside strings and character constants. */ |
| 12650 |
< |
#define FOO(x) 'x' |
| 12651 |
< |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 12652 |
< |
|
| 12653 |
< |
int test (int i, double x); |
| 12654 |
< |
struct s1 {int (*f) (int a);}; |
| 12655 |
< |
struct s2 {int (*f) (double a);}; |
| 12656 |
< |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 12657 |
< |
int argc; |
| 12658 |
< |
char **argv; |
| 12659 |
< |
#ifdef FC_DUMMY_MAIN |
| 12660 |
< |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 12661 |
< |
# ifdef __cplusplus |
| 12662 |
< |
extern "C" |
| 12663 |
< |
# endif |
| 12664 |
< |
int FC_DUMMY_MAIN() { return 1; } |
| 12665 |
< |
#endif |
| 12666 |
< |
#endif |
| 12667 |
< |
int |
| 12668 |
< |
main () |
| 12669 |
< |
{ |
| 12670 |
< |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 12671 |
< |
; |
| 12672 |
< |
return 0; |
| 12673 |
< |
} |
| 12674 |
< |
_ACEOF |
| 12675 |
< |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 12676 |
< |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 12677 |
< |
do |
| 12678 |
< |
CC="$ac_save_CC $ac_arg" |
| 12679 |
< |
rm -f conftest.$ac_objext |
| 12680 |
< |
if { (ac_try="$ac_compile" |
| 12681 |
< |
case "(($ac_try" in |
| 12682 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12683 |
< |
*) ac_try_echo=$ac_try;; |
| 12684 |
< |
esac |
| 12685 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12686 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 12687 |
< |
ac_status=$? |
| 12688 |
< |
grep -v '^ *+' conftest.er1 >conftest.err |
| 12689 |
< |
rm -f conftest.er1 |
| 12690 |
< |
cat conftest.err >&5 |
| 12691 |
< |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12692 |
< |
(exit $ac_status); } && { |
| 12693 |
< |
test -z "$ac_cxx_werror_flag" || |
| 12694 |
< |
test ! -s conftest.err |
| 12695 |
< |
} && test -s conftest.$ac_objext; then |
| 12696 |
< |
ac_cv_prog_cc_c89=$ac_arg |
| 12697 |
< |
else |
| 12698 |
< |
echo "$as_me: failed program was:" >&5 |
| 12699 |
< |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 12700 |
< |
|
| 12701 |
< |
|
| 12702 |
< |
fi |
| 12703 |
< |
|
| 12704 |
< |
rm -f core conftest.err conftest.$ac_objext |
| 12705 |
< |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 12706 |
< |
done |
| 12707 |
< |
rm -f conftest.$ac_ext |
| 12708 |
< |
CC=$ac_save_CC |
| 12709 |
< |
|
| 12710 |
< |
fi |
| 12711 |
< |
# AC_CACHE_VAL |
| 12712 |
< |
case "x$ac_cv_prog_cc_c89" in |
| 12713 |
< |
x) |
| 12714 |
< |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
| 12715 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
| 12716 |
< |
xno) |
| 12717 |
< |
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
| 12718 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
| 12719 |
< |
*) |
| 12720 |
< |
CC="$CC $ac_cv_prog_cc_c89" |
| 12721 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 12722 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
| 12723 |
< |
esac |
| 12724 |
< |
if test "x$ac_cv_prog_cc_c89" != xno; then |
| 12725 |
< |
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 12726 |
< |
else |
| 12727 |
< |
ac_cv_prog_cc_stdc=no |
| 12728 |
< |
fi |
| 12729 |
< |
|
| 12730 |
< |
|
| 12731 |
< |
fi |
| 12732 |
< |
|
| 12733 |
< |
;; |
| 12734 |
< |
esac |
| 12735 |
< |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5 |
| 12736 |
< |
echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; } |
| 12737 |
< |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 12738 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12739 |
< |
fi |
| 12740 |
< |
|
| 12741 |
< |
case $ac_cv_prog_cc_stdc in |
| 12742 |
< |
no) { echo "$as_me:$LINENO: result: unsupported" >&5 |
| 12743 |
< |
echo "${ECHO_T}unsupported" >&6; } ;; |
| 12744 |
< |
'') { echo "$as_me:$LINENO: result: none needed" >&5 |
| 12745 |
< |
echo "${ECHO_T}none needed" >&6; } ;; |
| 12746 |
< |
*) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 12747 |
< |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;; |
| 12748 |
< |
esac |
| 12749 |
< |
|
| 12750 |
< |
|
| 12751 |
< |
{ echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 |
| 12752 |
< |
echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6; } |
| 11844 |
> |
echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5 |
| 11845 |
> |
echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6 |
| 11846 |
|
if test "${ac_cv_cpp_func+set}" = set; then |
| 11847 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11848 |
|
else |
| 11870 |
|
} |
| 11871 |
|
_ACEOF |
| 11872 |
|
rm -f conftest.$ac_objext |
| 11873 |
< |
if { (ac_try="$ac_compile" |
| 11874 |
< |
case "(($ac_try" in |
| 12782 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12783 |
< |
*) ac_try_echo=$ac_try;; |
| 12784 |
< |
esac |
| 12785 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12786 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11873 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11874 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11875 |
|
ac_status=$? |
| 11876 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11877 |
|
rm -f conftest.er1 |
| 11878 |
|
cat conftest.err >&5 |
| 11879 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11880 |
< |
(exit $ac_status); } && { |
| 11881 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11882 |
< |
test ! -s conftest.err |
| 11883 |
< |
} && test -s conftest.$ac_objext; then |
| 11880 |
> |
(exit $ac_status); } && |
| 11881 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11882 |
> |
|| test ! -s conftest.err' |
| 11883 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11884 |
> |
(eval $ac_try) 2>&5 |
| 11885 |
> |
ac_status=$? |
| 11886 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11887 |
> |
(exit $ac_status); }; } && |
| 11888 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11889 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11890 |
> |
(eval $ac_try) 2>&5 |
| 11891 |
> |
ac_status=$? |
| 11892 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11893 |
> |
(exit $ac_status); }; }; then |
| 11894 |
|
ac_cv_cpp_func=yes |
| 11895 |
|
else |
| 11896 |
|
echo "$as_me: failed program was:" >&5 |
| 11897 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11898 |
|
|
| 11899 |
< |
cat >conftest.$ac_ext <<_ACEOF |
| 11899 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 11900 |
|
/* confdefs.h. */ |
| 11901 |
|
_ACEOF |
| 11902 |
|
cat confdefs.h >>conftest.$ac_ext |
| 11920 |
|
} |
| 11921 |
|
_ACEOF |
| 11922 |
|
rm -f conftest.$ac_objext |
| 11923 |
< |
if { (ac_try="$ac_compile" |
| 11924 |
< |
case "(($ac_try" in |
| 12827 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 12828 |
< |
*) ac_try_echo=$ac_try;; |
| 12829 |
< |
esac |
| 12830 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 12831 |
< |
(eval "$ac_compile") 2>conftest.er1 |
| 11923 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 11924 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 11925 |
|
ac_status=$? |
| 11926 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 11927 |
|
rm -f conftest.er1 |
| 11928 |
|
cat conftest.err >&5 |
| 11929 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11930 |
< |
(exit $ac_status); } && { |
| 11931 |
< |
test -z "$ac_cxx_werror_flag" || |
| 11932 |
< |
test ! -s conftest.err |
| 11933 |
< |
} && test -s conftest.$ac_objext; then |
| 11930 |
> |
(exit $ac_status); } && |
| 11931 |
> |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 11932 |
> |
|| test ! -s conftest.err' |
| 11933 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11934 |
> |
(eval $ac_try) 2>&5 |
| 11935 |
> |
ac_status=$? |
| 11936 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11937 |
> |
(exit $ac_status); }; } && |
| 11938 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 11939 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 11940 |
> |
(eval $ac_try) 2>&5 |
| 11941 |
> |
ac_status=$? |
| 11942 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11943 |
> |
(exit $ac_status); }; }; then |
| 11944 |
|
ac_cv_cpp_func=__FUNCTION__ |
| 11945 |
|
else |
| 11946 |
|
echo "$as_me: failed program was:" >&5 |
| 11947 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 11948 |
|
|
| 11949 |
< |
ac_cv_cpp_func=no |
| 11949 |
> |
ac_cv_cpp_func=no |
| 11950 |
|
fi |
| 11951 |
< |
|
| 12849 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11951 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11952 |
|
fi |
| 11953 |
< |
|
| 12852 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11953 |
> |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11954 |
|
fi |
| 11955 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 |
| 11956 |
< |
echo "${ECHO_T}$ac_cv_cpp_func" >&6; } |
| 11955 |
> |
echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5 |
| 11956 |
> |
echo "${ECHO_T}$ac_cv_cpp_func" >&6 |
| 11957 |
|
if test $ac_cv_cpp_func = __FUNCTION__; then |
| 11958 |
|
|
| 11959 |
|
cat >>confdefs.h <<\_ACEOF |
| 12031 |
|
fi |
| 12032 |
|
|
| 12033 |
|
|
| 12034 |
< |
{ echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
| 12035 |
< |
echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6; } |
| 12034 |
> |
echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5 |
| 12035 |
> |
echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6 |
| 12036 |
|
if test "${ac_guessed_f90flags+set}" = set; then |
| 12037 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12038 |
|
else |
| 12039 |
|
|
| 12040 |
|
|
| 12041 |
< |
ac_ext=${ac_fc_srcext-f} |
| 12042 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 12043 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 12041 |
> |
|
| 12042 |
> |
ac_ext=${FC_SRCEXT-f} |
| 12043 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 12044 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 12045 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 12046 |
|
|
| 12047 |
|
echo 'program main' > conftest.$ac_ext |
| 12056 |
|
else |
| 12057 |
|
ac_guessed_f90flags=no |
| 12058 |
|
fi |
| 12059 |
< |
rm -rf conftest* |
| 12060 |
< |
ac_ext=cpp |
| 12059 |
> |
rm -f conftest* |
| 12060 |
> |
ac_ext=cc |
| 12061 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
| 12062 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 12063 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 12065 |
|
|
| 12066 |
|
|
| 12067 |
|
fi |
| 12068 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
| 12069 |
< |
echo "${ECHO_T}$ac_guessed_f90flags" >&6; } |
| 12068 |
> |
echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5 |
| 12069 |
> |
echo "${ECHO_T}$ac_guessed_f90flags" >&6 |
| 12070 |
|
if test "$ac_guessed_f90flags" = yes; then |
| 12071 |
|
: |
| 12072 |
|
|
| 12093 |
|
|
| 12094 |
|
|
| 12095 |
|
|
| 12096 |
< |
{ echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
| 12097 |
< |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6; } |
| 12096 |
> |
echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5 |
| 12097 |
> |
echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6 |
| 12098 |
|
if test "${ac_cv_prog_really_gcc+set}" = set; then |
| 12099 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12100 |
|
else |
| 12120 |
|
fi |
| 12121 |
|
|
| 12122 |
|
fi |
| 12123 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
| 12124 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6; } |
| 12123 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5 |
| 12124 |
> |
echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6 |
| 12125 |
|
if test "$ac_cv_prog_really_gcc" = yes; then |
| 12126 |
|
: |
| 12127 |
|
|
| 12187 |
|
# -malign-double for x86 systems |
| 12188 |
|
|
| 12189 |
|
|
| 12190 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5 |
| 12191 |
< |
echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6; } |
| 12190 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5 |
| 12191 |
> |
echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6 |
| 12192 |
|
if test "${ac_align_double+set}" = set; then |
| 12193 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12194 |
|
else |
| 12201 |
|
rm -f conftest* |
| 12202 |
|
|
| 12203 |
|
fi |
| 12204 |
< |
{ echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
| 12205 |
< |
echo "${ECHO_T}$ac_align_double" >&6; } |
| 12204 |
> |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
| 12205 |
> |
echo "${ECHO_T}$ac_align_double" >&6 |
| 12206 |
|
if test "$ac_align_double" = yes; then |
| 12207 |
|
: |
| 12208 |
|
CFLAGS="$CFLAGS -malign-double" |
| 12214 |
|
# -fstrict-aliasing for gcc-2.95+ |
| 12215 |
|
|
| 12216 |
|
|
| 12217 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5 |
| 12218 |
< |
echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6; } |
| 12217 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5 |
| 12218 |
> |
echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6 |
| 12219 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
| 12220 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12221 |
|
else |
| 12228 |
|
rm -f conftest* |
| 12229 |
|
|
| 12230 |
|
fi |
| 12231 |
< |
{ echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
| 12232 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } |
| 12231 |
> |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
| 12232 |
> |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
| 12233 |
|
if test "$ac_fstrict_aliasing" = yes; then |
| 12234 |
|
: |
| 12235 |
|
CFLAGS="$CFLAGS -fstrict-aliasing" |
| 12245 |
|
case "${host_cpu}" in |
| 12246 |
|
i586*) |
| 12247 |
|
|
| 12248 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5 |
| 12249 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6; } |
| 12248 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5 |
| 12249 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6 |
| 12250 |
|
if test "${ac_cpu_pentium+set}" = set; then |
| 12251 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12252 |
|
else |
| 12259 |
|
rm -f conftest* |
| 12260 |
|
|
| 12261 |
|
fi |
| 12262 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
| 12263 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6; } |
| 12262 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
| 12263 |
> |
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
| 12264 |
|
if test "$ac_cpu_pentium" = yes; then |
| 12265 |
|
: |
| 12266 |
|
CPU_FLAGS=-mcpu=pentium |
| 12268 |
|
: |
| 12269 |
|
|
| 12270 |
|
|
| 12271 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5 |
| 12272 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6; } |
| 12271 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5 |
| 12272 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6 |
| 12273 |
|
if test "${ac_pentium+set}" = set; then |
| 12274 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12275 |
|
else |
| 12282 |
|
rm -f conftest* |
| 12283 |
|
|
| 12284 |
|
fi |
| 12285 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
| 12286 |
< |
echo "${ECHO_T}$ac_pentium" >&6; } |
| 12285 |
> |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
| 12286 |
> |
echo "${ECHO_T}$ac_pentium" >&6 |
| 12287 |
|
if test "$ac_pentium" = yes; then |
| 12288 |
|
: |
| 12289 |
|
CPU_FLAGS=-mpentium |
| 12297 |
|
;; |
| 12298 |
|
i686*) |
| 12299 |
|
|
| 12300 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5 |
| 12301 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } |
| 12300 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5 |
| 12301 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
| 12302 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
| 12303 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12304 |
|
else |
| 12311 |
|
rm -f conftest* |
| 12312 |
|
|
| 12313 |
|
fi |
| 12314 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
| 12315 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } |
| 12314 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
| 12315 |
> |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
| 12316 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
| 12317 |
|
: |
| 12318 |
|
CPU_FLAGS=-mcpu=pentiumpro |
| 12320 |
|
: |
| 12321 |
|
|
| 12322 |
|
|
| 12323 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5 |
| 12324 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6; } |
| 12323 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5 |
| 12324 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6 |
| 12325 |
|
if test "${ac_pentiumpro+set}" = set; then |
| 12326 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12327 |
|
else |
| 12334 |
|
rm -f conftest* |
| 12335 |
|
|
| 12336 |
|
fi |
| 12337 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
| 12338 |
< |
echo "${ECHO_T}$ac_pentiumpro" >&6; } |
| 12337 |
> |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
| 12338 |
> |
echo "${ECHO_T}$ac_pentiumpro" >&6 |
| 12339 |
|
if test "$ac_pentiumpro" = yes; then |
| 12340 |
|
: |
| 12341 |
|
CPU_FLAGS=-mpentiumpro |
| 12353 |
|
if test -n "$is60x"; then |
| 12354 |
|
|
| 12355 |
|
|
| 12356 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5 |
| 12357 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6; } |
| 12356 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5 |
| 12357 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6 |
| 12358 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
| 12359 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12360 |
|
else |
| 12367 |
|
rm -f conftest* |
| 12368 |
|
|
| 12369 |
|
fi |
| 12370 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
| 12371 |
< |
echo "${ECHO_T}$ac_m_cpu_60x" >&6; } |
| 12370 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
| 12371 |
> |
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
| 12372 |
|
if test "$ac_m_cpu_60x" = yes; then |
| 12373 |
|
: |
| 12374 |
|
CPU_FLAGS=-mcpu=$cputype |
| 12380 |
|
elif test "$cputype" = 750; then |
| 12381 |
|
|
| 12382 |
|
|
| 12383 |
< |
{ echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
| 12384 |
< |
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6; } |
| 12383 |
> |
echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5 |
| 12384 |
> |
echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6 |
| 12385 |
|
if test "${ac_cv_prog_gcc_2_95+set}" = set; then |
| 12386 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12387 |
|
else |
| 12405 |
|
fi |
| 12406 |
|
|
| 12407 |
|
fi |
| 12408 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
| 12409 |
< |
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6; } |
| 12408 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5 |
| 12409 |
> |
echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6 |
| 12410 |
|
if test "$ac_cv_prog_gcc_2_95" = yes; then |
| 12411 |
|
: |
| 12412 |
|
|
| 12413 |
|
|
| 12414 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5 |
| 12415 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6; } |
| 12414 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5 |
| 12415 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6 |
| 12416 |
|
if test "${ac_m_cpu_750+set}" = set; then |
| 12417 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12418 |
|
else |
| 12425 |
|
rm -f conftest* |
| 12426 |
|
|
| 12427 |
|
fi |
| 12428 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
| 12429 |
< |
echo "${ECHO_T}$ac_m_cpu_750" >&6; } |
| 12428 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
| 12429 |
> |
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
| 12430 |
|
if test "$ac_m_cpu_750" = yes; then |
| 12431 |
|
: |
| 12432 |
|
CPU_FLAGS=-mcpu=750 |
| 12444 |
|
if test -z "$CPU_FLAGS"; then |
| 12445 |
|
|
| 12446 |
|
|
| 12447 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5 |
| 12448 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6; } |
| 12447 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5 |
| 12448 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6 |
| 12449 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
| 12450 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12451 |
|
else |
| 12458 |
|
rm -f conftest* |
| 12459 |
|
|
| 12460 |
|
fi |
| 12461 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
| 12462 |
< |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } |
| 12461 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
| 12462 |
> |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
| 12463 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
| 12464 |
|
: |
| 12465 |
|
CPU_FLAGS=-mcpu=powerpc |
| 12472 |
|
if test -z "$CPU_FLAGS"; then |
| 12473 |
|
|
| 12474 |
|
|
| 12475 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5 |
| 12476 |
< |
echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6; } |
| 12475 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5 |
| 12476 |
> |
echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6 |
| 12477 |
|
if test "${ac_m_powerpc+set}" = set; then |
| 12478 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12479 |
|
else |
| 12486 |
|
rm -f conftest* |
| 12487 |
|
|
| 12488 |
|
fi |
| 12489 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
| 12490 |
< |
echo "${ECHO_T}$ac_m_powerpc" >&6; } |
| 12489 |
> |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
| 12490 |
> |
echo "${ECHO_T}$ac_m_powerpc" >&6 |
| 12491 |
|
if test "$ac_m_powerpc" = yes; then |
| 12492 |
|
: |
| 12493 |
|
CPU_FLAGS=-mpowerpc |
| 12517 |
|
|
| 12518 |
|
|
| 12519 |
|
|
| 12520 |
< |
{ echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 |
| 12521 |
< |
echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6; } |
| 12520 |
> |
echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5 |
| 12521 |
> |
echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6 |
| 12522 |
|
if test "${ac_guessed_cflags+set}" = set; then |
| 12523 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12524 |
|
else |
| 12531 |
|
rm -f conftest* |
| 12532 |
|
|
| 12533 |
|
fi |
| 12534 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
| 12535 |
< |
echo "${ECHO_T}$ac_guessed_cflags" >&6; } |
| 12534 |
> |
echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5 |
| 12535 |
> |
echo "${ECHO_T}$ac_guessed_cflags" >&6 |
| 12536 |
|
if test "$ac_guessed_cflags" = yes; then |
| 12537 |
|
: |
| 12538 |
|
|
| 12559 |
|
|
| 12560 |
|
|
| 12561 |
|
|
| 12562 |
< |
{ echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
| 12563 |
< |
echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6; } |
| 12562 |
> |
echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5 |
| 12563 |
> |
echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6 |
| 12564 |
|
if test "${ac_cv_prog_really_gxx+set}" = set; then |
| 12565 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12566 |
|
else |
| 12586 |
|
fi |
| 12587 |
|
|
| 12588 |
|
fi |
| 12589 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
| 12590 |
< |
echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6; } |
| 12589 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5 |
| 12590 |
> |
echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6 |
| 12591 |
|
if test "$ac_cv_prog_really_gxx" = yes; then |
| 12592 |
|
: |
| 12593 |
|
|
| 12644 |
|
# -malign-double for x86 systems |
| 12645 |
|
|
| 12646 |
|
|
| 12647 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5 |
| 12648 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6; } |
| 12647 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5 |
| 12648 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6 |
| 12649 |
|
if test "${ac_align_double+set}" = set; then |
| 12650 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12651 |
|
else |
| 12658 |
|
rm -f conftest* |
| 12659 |
|
|
| 12660 |
|
fi |
| 12661 |
< |
{ echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
| 12662 |
< |
echo "${ECHO_T}$ac_align_double" >&6; } |
| 12661 |
> |
echo "$as_me:$LINENO: result: $ac_align_double" >&5 |
| 12662 |
> |
echo "${ECHO_T}$ac_align_double" >&6 |
| 12663 |
|
if test "$ac_align_double" = yes; then |
| 12664 |
|
: |
| 12665 |
|
CXXFLAGS="$CXXFLAGS -malign-double" |
| 12671 |
|
# -fstrict-aliasing for gcc-2.95+ |
| 12672 |
|
|
| 12673 |
|
|
| 12674 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5 |
| 12675 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6; } |
| 12674 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5 |
| 12675 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6 |
| 12676 |
|
if test "${ac_fstrict_aliasing+set}" = set; then |
| 12677 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12678 |
|
else |
| 12685 |
|
rm -f conftest* |
| 12686 |
|
|
| 12687 |
|
fi |
| 12688 |
< |
{ echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
| 12689 |
< |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6; } |
| 12688 |
> |
echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5 |
| 12689 |
> |
echo "${ECHO_T}$ac_fstrict_aliasing" >&6 |
| 12690 |
|
if test "$ac_fstrict_aliasing" = yes; then |
| 12691 |
|
: |
| 12692 |
|
CXXFLAGS="$CXXFLAGS -fstrict-aliasing" |
| 12702 |
|
case "${host_cpu}" in |
| 12703 |
|
i586*) |
| 12704 |
|
|
| 12705 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5 |
| 12706 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6; } |
| 12705 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5 |
| 12706 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6 |
| 12707 |
|
if test "${ac_cpu_pentium+set}" = set; then |
| 12708 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12709 |
|
else |
| 12716 |
|
rm -f conftest* |
| 12717 |
|
|
| 12718 |
|
fi |
| 12719 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
| 12720 |
< |
echo "${ECHO_T}$ac_cpu_pentium" >&6; } |
| 12719 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5 |
| 12720 |
> |
echo "${ECHO_T}$ac_cpu_pentium" >&6 |
| 12721 |
|
if test "$ac_cpu_pentium" = yes; then |
| 12722 |
|
: |
| 12723 |
|
CPU_FLAGS=-mcpu=pentium |
| 12725 |
|
: |
| 12726 |
|
|
| 12727 |
|
|
| 12728 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5 |
| 12729 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6; } |
| 12728 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5 |
| 12729 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6 |
| 12730 |
|
if test "${ac_pentium+set}" = set; then |
| 12731 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12732 |
|
else |
| 12739 |
|
rm -f conftest* |
| 12740 |
|
|
| 12741 |
|
fi |
| 12742 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
| 12743 |
< |
echo "${ECHO_T}$ac_pentium" >&6; } |
| 12742 |
> |
echo "$as_me:$LINENO: result: $ac_pentium" >&5 |
| 12743 |
> |
echo "${ECHO_T}$ac_pentium" >&6 |
| 12744 |
|
if test "$ac_pentium" = yes; then |
| 12745 |
|
: |
| 12746 |
|
CPU_FLAGS=-mpentium |
| 12754 |
|
;; |
| 12755 |
|
i686*) |
| 12756 |
|
|
| 12757 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5 |
| 12758 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6; } |
| 12757 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5 |
| 12758 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6 |
| 12759 |
|
if test "${ac_cpu_pentiumpro+set}" = set; then |
| 12760 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12761 |
|
else |
| 12768 |
|
rm -f conftest* |
| 12769 |
|
|
| 12770 |
|
fi |
| 12771 |
< |
{ echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
| 12772 |
< |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6; } |
| 12771 |
> |
echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5 |
| 12772 |
> |
echo "${ECHO_T}$ac_cpu_pentiumpro" >&6 |
| 12773 |
|
if test "$ac_cpu_pentiumpro" = yes; then |
| 12774 |
|
: |
| 12775 |
|
CPU_FLAGS=-mcpu=pentiumpro |
| 12777 |
|
: |
| 12778 |
|
|
| 12779 |
|
|
| 12780 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5 |
| 12781 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6; } |
| 12780 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5 |
| 12781 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6 |
| 12782 |
|
if test "${ac_pentiumpro+set}" = set; then |
| 12783 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12784 |
|
else |
| 12791 |
|
rm -f conftest* |
| 12792 |
|
|
| 12793 |
|
fi |
| 12794 |
< |
{ echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
| 12795 |
< |
echo "${ECHO_T}$ac_pentiumpro" >&6; } |
| 12794 |
> |
echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5 |
| 12795 |
> |
echo "${ECHO_T}$ac_pentiumpro" >&6 |
| 12796 |
|
if test "$ac_pentiumpro" = yes; then |
| 12797 |
|
: |
| 12798 |
|
CPU_FLAGS=-mpentiumpro |
| 12810 |
|
if test -n "$is60x"; then |
| 12811 |
|
|
| 12812 |
|
|
| 12813 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5 |
| 12814 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6; } |
| 12813 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5 |
| 12814 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6 |
| 12815 |
|
if test "${ac_m_cpu_60x+set}" = set; then |
| 12816 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12817 |
|
else |
| 12824 |
|
rm -f conftest* |
| 12825 |
|
|
| 12826 |
|
fi |
| 12827 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
| 12828 |
< |
echo "${ECHO_T}$ac_m_cpu_60x" >&6; } |
| 12827 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5 |
| 12828 |
> |
echo "${ECHO_T}$ac_m_cpu_60x" >&6 |
| 12829 |
|
if test "$ac_m_cpu_60x" = yes; then |
| 12830 |
|
: |
| 12831 |
|
CPU_FLAGS=-mcpu=$cputype |
| 12837 |
|
elif test "$cputype" = 750; then |
| 12838 |
|
|
| 12839 |
|
|
| 12840 |
< |
{ echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 |
| 12841 |
< |
echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6; } |
| 12840 |
> |
echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5 |
| 12841 |
> |
echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6 |
| 12842 |
|
if test "${ac_cv_prog_gxx_2_95+set}" = set; then |
| 12843 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12844 |
|
else |
| 12862 |
|
fi |
| 12863 |
|
|
| 12864 |
|
fi |
| 12865 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 |
| 12866 |
< |
echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6; } |
| 12865 |
> |
echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5 |
| 12866 |
> |
echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6 |
| 12867 |
|
if test "$ac_cv_prog_gxx_2_95" = yes; then |
| 12868 |
|
: |
| 12869 |
|
|
| 12870 |
|
|
| 12871 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5 |
| 12872 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6; } |
| 12871 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5 |
| 12872 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6 |
| 12873 |
|
if test "${ac_m_cpu_750+set}" = set; then |
| 12874 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12875 |
|
else |
| 12882 |
|
rm -f conftest* |
| 12883 |
|
|
| 12884 |
|
fi |
| 12885 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
| 12886 |
< |
echo "${ECHO_T}$ac_m_cpu_750" >&6; } |
| 12885 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5 |
| 12886 |
> |
echo "${ECHO_T}$ac_m_cpu_750" >&6 |
| 12887 |
|
if test "$ac_m_cpu_750" = yes; then |
| 12888 |
|
: |
| 12889 |
|
CPU_FLAGS=-mcpu=750 |
| 12901 |
|
if test -z "$CPU_FLAGS"; then |
| 12902 |
|
|
| 12903 |
|
|
| 12904 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5 |
| 12905 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6; } |
| 12904 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5 |
| 12905 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6 |
| 12906 |
|
if test "${ac_m_cpu_powerpc+set}" = set; then |
| 12907 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12908 |
|
else |
| 12915 |
|
rm -f conftest* |
| 12916 |
|
|
| 12917 |
|
fi |
| 12918 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
| 12919 |
< |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6; } |
| 12918 |
> |
echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5 |
| 12919 |
> |
echo "${ECHO_T}$ac_m_cpu_powerpc" >&6 |
| 12920 |
|
if test "$ac_m_cpu_powerpc" = yes; then |
| 12921 |
|
: |
| 12922 |
|
CPU_FLAGS=-mcpu=powerpc |
| 12929 |
|
if test -z "$CPU_FLAGS"; then |
| 12930 |
|
|
| 12931 |
|
|
| 12932 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5 |
| 12933 |
< |
echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6; } |
| 12932 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5 |
| 12933 |
> |
echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6 |
| 12934 |
|
if test "${ac_m_powerpc+set}" = set; then |
| 12935 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12936 |
|
else |
| 12943 |
|
rm -f conftest* |
| 12944 |
|
|
| 12945 |
|
fi |
| 12946 |
< |
{ echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
| 12947 |
< |
echo "${ECHO_T}$ac_m_powerpc" >&6; } |
| 12946 |
> |
echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5 |
| 12947 |
> |
echo "${ECHO_T}$ac_m_powerpc" >&6 |
| 12948 |
|
if test "$ac_m_powerpc" = yes; then |
| 12949 |
|
: |
| 12950 |
|
CPU_FLAGS=-mpowerpc |
| 12974 |
|
|
| 12975 |
|
|
| 12976 |
|
|
| 12977 |
< |
{ echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
| 12978 |
< |
echo $ECHO_N "checking whether ${CXX} accepts ${CXXFLAGS}... $ECHO_C" >&6; } |
| 12977 |
> |
echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5 |
| 12978 |
> |
echo $ECHO_N "checking whether ${CXX} accepts ${CXXFLAGS}... $ECHO_C" >&6 |
| 12979 |
|
if test "${ac_guessed_cxxflags+set}" = set; then |
| 12980 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12981 |
|
else |
| 12988 |
|
rm -f conftest* |
| 12989 |
|
|
| 12990 |
|
fi |
| 12991 |
< |
{ echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
| 12992 |
< |
echo "${ECHO_T}$ac_guessed_cxxflags" >&6; } |
| 12991 |
> |
echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5 |
| 12992 |
> |
echo "${ECHO_T}$ac_guessed_cxxflags" >&6 |
| 12993 |
|
if test "$ac_guessed_cxxflags" = yes; then |
| 12994 |
|
: |
| 12995 |
|
|
| 13021 |
|
|
| 13022 |
|
|
| 13023 |
|
|
| 13024 |
< |
# Check whether --with-mpi was given. |
| 13024 |
> |
# Check whether --with-mpi or --without-mpi was given. |
| 13025 |
|
if test "${with_mpi+set}" = set; then |
| 13026 |
< |
withval=$with_mpi; with_mpi=$withval |
| 13026 |
> |
withval="$with_mpi" |
| 13027 |
> |
with_mpi=$withval |
| 13028 |
|
else |
| 13029 |
|
with_mpi="no" |
| 13030 |
< |
fi |
| 13030 |
> |
fi; |
| 13031 |
|
|
| 13929 |
– |
|
| 13032 |
|
case "x$with_mpi" in |
| 13033 |
|
xyes | "x") USE_MPI=yes;; |
| 13034 |
|
xno) USE_MPI=no ;; |
| 13052 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 13053 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13054 |
|
|
| 13055 |
< |
{ echo "$as_me:$LINENO: checking for mpi.h" >&5 |
| 13056 |
< |
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6; } |
| 13055 |
> |
echo "$as_me:$LINENO: checking for mpi.h" >&5 |
| 13056 |
> |
echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6 |
| 13057 |
|
have_mpi_h=0 |
| 13058 |
|
rm -f conftest* |
| 13059 |
|
echo '#include <mpi.h>' > conftest.c |
| 13060 |
|
if ${CC} -I${MPI_INC_DIR} -c conftest.c 2>&1 ; then |
| 13061 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 13062 |
< |
echo "${ECHO_T}yes" >&6; } |
| 13061 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 13062 |
> |
echo "${ECHO_T}yes" >&6 |
| 13063 |
|
have_mpi_h=1 |
| 13064 |
|
else |
| 13065 |
|
if test -s conftest.out ; then |
| 13066 |
|
cat conftest.out >> config.log |
| 13067 |
|
fi |
| 13068 |
< |
{ echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 13069 |
< |
echo "${ECHO_T}no! Check MPI include paths" >&6; } |
| 13068 |
> |
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 13069 |
> |
echo "${ECHO_T}no! Check MPI include paths" >&6 |
| 13070 |
|
USE_MPI="no" |
| 13071 |
|
fi |
| 13072 |
|
rm -f conftest* |
| 13078 |
|
|
| 13079 |
|
fi |
| 13080 |
|
|
| 13081 |
< |
{ echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
| 13082 |
< |
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6; } |
| 13081 |
> |
echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5 |
| 13082 |
> |
echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6 |
| 13083 |
|
|
| 13084 |
< |
ac_ext=${ac_fc_srcext-f} |
| 13085 |
< |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
| 13086 |
< |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
| 13084 |
> |
|
| 13085 |
> |
ac_ext=${FC_SRCEXT-f} |
| 13086 |
> |
ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5' |
| 13087 |
> |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5' |
| 13088 |
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu |
| 13089 |
|
|
| 13090 |
|
ac_save_ext=$ac_ext |
| 13098 |
|
end |
| 13099 |
|
EOF |
| 13100 |
|
if $FC -I$MPI_INC_DIR -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext > conftest.out 2>&1 ; then |
| 13101 |
< |
{ echo "$as_me:$LINENO: result: yes" >&5 |
| 13102 |
< |
echo "${ECHO_T}yes" >&6; } |
| 13101 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 13102 |
> |
echo "${ECHO_T}yes" >&6 |
| 13103 |
|
MPI_F90_INC="$MPI_INC_DIR" |
| 13104 |
|
have_mpif_h=1 |
| 13105 |
|
else |
| 13106 |
|
if test -s conftest.out ; then |
| 13107 |
|
cat conftest.out >> config.log |
| 13108 |
|
fi |
| 13109 |
< |
{ echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 13110 |
< |
echo "${ECHO_T}no! Check MPI include paths" >&6; } |
| 13109 |
> |
echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5 |
| 13110 |
> |
echo "${ECHO_T}no! Check MPI include paths" >&6 |
| 13111 |
|
USE_MPI="no" |
| 13112 |
|
fi |
| 13113 |
|
rm -f conftest* |
| 13138 |
|
LDFLAGS="-L${MPI_LIB_DIR} ${LDFLAGS} " |
| 13139 |
|
|
| 13140 |
|
if test x = x"$MPI_LIB"; then |
| 13141 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
| 13142 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6; } |
| 13141 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5 |
| 13142 |
> |
echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6 |
| 13143 |
|
if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then |
| 13144 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13145 |
|
else |
| 13152 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 13153 |
|
/* end confdefs.h. */ |
| 13154 |
|
|
| 13155 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 14053 |
< |
Use char because int might match the return type of a GCC |
| 14054 |
< |
builtin and then its argument prototype would still apply. */ |
| 13155 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 13156 |
|
#ifdef __cplusplus |
| 13157 |
|
extern "C" |
| 13158 |
|
#endif |
| 13159 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 13160 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13161 |
|
char MPI_Init (); |
| 13162 |
|
#ifdef FC_DUMMY_MAIN |
| 13163 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13170 |
|
int |
| 13171 |
|
main () |
| 13172 |
|
{ |
| 13173 |
< |
return MPI_Init (); |
| 13173 |
> |
MPI_Init (); |
| 13174 |
|
; |
| 13175 |
|
return 0; |
| 13176 |
|
} |
| 13177 |
|
_ACEOF |
| 13178 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13179 |
< |
if { (ac_try="$ac_link" |
| 13180 |
< |
case "(($ac_try" in |
| 14078 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14079 |
< |
*) ac_try_echo=$ac_try;; |
| 14080 |
< |
esac |
| 14081 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14082 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13179 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13180 |
> |
(eval $ac_link) 2>conftest.er1 |
| 13181 |
|
ac_status=$? |
| 13182 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 13183 |
|
rm -f conftest.er1 |
| 13184 |
|
cat conftest.err >&5 |
| 13185 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13186 |
< |
(exit $ac_status); } && { |
| 13187 |
< |
test -z "$ac_c_werror_flag" || |
| 13188 |
< |
test ! -s conftest.err |
| 13189 |
< |
} && test -s conftest$ac_exeext && |
| 13190 |
< |
$as_test_x conftest$ac_exeext; then |
| 13186 |
> |
(exit $ac_status); } && |
| 13187 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13188 |
> |
|| test ! -s conftest.err' |
| 13189 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13190 |
> |
(eval $ac_try) 2>&5 |
| 13191 |
> |
ac_status=$? |
| 13192 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13193 |
> |
(exit $ac_status); }; } && |
| 13194 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 13195 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13196 |
> |
(eval $ac_try) 2>&5 |
| 13197 |
> |
ac_status=$? |
| 13198 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13199 |
> |
(exit $ac_status); }; }; then |
| 13200 |
|
ac_cv_lib_mpich_MPI_Init=yes |
| 13201 |
|
else |
| 13202 |
|
echo "$as_me: failed program was:" >&5 |
| 13203 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13204 |
|
|
| 13205 |
< |
ac_cv_lib_mpich_MPI_Init=no |
| 13205 |
> |
ac_cv_lib_mpich_MPI_Init=no |
| 13206 |
|
fi |
| 13207 |
< |
|
| 14101 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13207 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 13208 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13209 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13210 |
|
fi |
| 13211 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 13212 |
< |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6; } |
| 13211 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5 |
| 13212 |
> |
echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6 |
| 13213 |
|
if test $ac_cv_lib_mpich_MPI_Init = yes; then |
| 13214 |
|
MPI_LIB="-lmpich" |
| 13215 |
|
fi |
| 13217 |
|
fi |
| 13218 |
|
$as_unset ac_cv_lib_mpich_MPI_Init |
| 13219 |
|
if test x = x"$MPI_LIB"; then |
| 13220 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lpmpich" >&5 |
| 13221 |
< |
echo $ECHO_N "checking for MPI_Init in -lpmpich... $ECHO_C" >&6; } |
| 13220 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lpmpich" >&5 |
| 13221 |
> |
echo $ECHO_N "checking for MPI_Init in -lpmpich... $ECHO_C" >&6 |
| 13222 |
|
if test "${ac_cv_lib_pmpich_MPI_Init+set}" = set; then |
| 13223 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13224 |
|
else |
| 13231 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 13232 |
|
/* end confdefs.h. */ |
| 13233 |
|
|
| 13234 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 14129 |
< |
Use char because int might match the return type of a GCC |
| 14130 |
< |
builtin and then its argument prototype would still apply. */ |
| 13234 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 13235 |
|
#ifdef __cplusplus |
| 13236 |
|
extern "C" |
| 13237 |
|
#endif |
| 13238 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 13239 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13240 |
|
char MPI_Init (); |
| 13241 |
|
#ifdef FC_DUMMY_MAIN |
| 13242 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13249 |
|
int |
| 13250 |
|
main () |
| 13251 |
|
{ |
| 13252 |
< |
return MPI_Init (); |
| 13252 |
> |
MPI_Init (); |
| 13253 |
|
; |
| 13254 |
|
return 0; |
| 13255 |
|
} |
| 13256 |
|
_ACEOF |
| 13257 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13258 |
< |
if { (ac_try="$ac_link" |
| 13259 |
< |
case "(($ac_try" in |
| 14154 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14155 |
< |
*) ac_try_echo=$ac_try;; |
| 14156 |
< |
esac |
| 14157 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14158 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13258 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13259 |
> |
(eval $ac_link) 2>conftest.er1 |
| 13260 |
|
ac_status=$? |
| 13261 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 13262 |
|
rm -f conftest.er1 |
| 13263 |
|
cat conftest.err >&5 |
| 13264 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13265 |
< |
(exit $ac_status); } && { |
| 13266 |
< |
test -z "$ac_c_werror_flag" || |
| 13267 |
< |
test ! -s conftest.err |
| 13268 |
< |
} && test -s conftest$ac_exeext && |
| 13269 |
< |
$as_test_x conftest$ac_exeext; then |
| 13265 |
> |
(exit $ac_status); } && |
| 13266 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13267 |
> |
|| test ! -s conftest.err' |
| 13268 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13269 |
> |
(eval $ac_try) 2>&5 |
| 13270 |
> |
ac_status=$? |
| 13271 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13272 |
> |
(exit $ac_status); }; } && |
| 13273 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 13274 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13275 |
> |
(eval $ac_try) 2>&5 |
| 13276 |
> |
ac_status=$? |
| 13277 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13278 |
> |
(exit $ac_status); }; }; then |
| 13279 |
|
ac_cv_lib_pmpich_MPI_Init=yes |
| 13280 |
|
else |
| 13281 |
|
echo "$as_me: failed program was:" >&5 |
| 13282 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13283 |
|
|
| 13284 |
< |
ac_cv_lib_pmpich_MPI_Init=no |
| 13284 |
> |
ac_cv_lib_pmpich_MPI_Init=no |
| 13285 |
|
fi |
| 13286 |
< |
|
| 14177 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13286 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 13287 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13288 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13289 |
|
fi |
| 13290 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pmpich_MPI_Init" >&5 |
| 13291 |
< |
echo "${ECHO_T}$ac_cv_lib_pmpich_MPI_Init" >&6; } |
| 13290 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_pmpich_MPI_Init" >&5 |
| 13291 |
> |
echo "${ECHO_T}$ac_cv_lib_pmpich_MPI_Init" >&6 |
| 13292 |
|
if test $ac_cv_lib_pmpich_MPI_Init = yes; then |
| 13293 |
|
MPI_LIB="-lpmpich -lmpich -lpmpich -lmpich" |
| 13294 |
|
fi |
| 13295 |
|
|
| 13296 |
|
fi |
| 13297 |
|
if test x = x"$MPI_LIB"; then |
| 13298 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13299 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
| 13298 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13299 |
> |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
| 13300 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 13301 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13302 |
|
else |
| 13309 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 13310 |
|
/* end confdefs.h. */ |
| 13311 |
|
|
| 13312 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 14204 |
< |
Use char because int might match the return type of a GCC |
| 14205 |
< |
builtin and then its argument prototype would still apply. */ |
| 13312 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 13313 |
|
#ifdef __cplusplus |
| 13314 |
|
extern "C" |
| 13315 |
|
#endif |
| 13316 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 13317 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13318 |
|
char MPI_Init (); |
| 13319 |
|
#ifdef FC_DUMMY_MAIN |
| 13320 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13327 |
|
int |
| 13328 |
|
main () |
| 13329 |
|
{ |
| 13330 |
< |
return MPI_Init (); |
| 13330 |
> |
MPI_Init (); |
| 13331 |
|
; |
| 13332 |
|
return 0; |
| 13333 |
|
} |
| 13334 |
|
_ACEOF |
| 13335 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13336 |
< |
if { (ac_try="$ac_link" |
| 13337 |
< |
case "(($ac_try" in |
| 14229 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14230 |
< |
*) ac_try_echo=$ac_try;; |
| 14231 |
< |
esac |
| 14232 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14233 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13336 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13337 |
> |
(eval $ac_link) 2>conftest.er1 |
| 13338 |
|
ac_status=$? |
| 13339 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 13340 |
|
rm -f conftest.er1 |
| 13341 |
|
cat conftest.err >&5 |
| 13342 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13343 |
< |
(exit $ac_status); } && { |
| 13344 |
< |
test -z "$ac_c_werror_flag" || |
| 13345 |
< |
test ! -s conftest.err |
| 13346 |
< |
} && test -s conftest$ac_exeext && |
| 13347 |
< |
$as_test_x conftest$ac_exeext; then |
| 13343 |
> |
(exit $ac_status); } && |
| 13344 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13345 |
> |
|| test ! -s conftest.err' |
| 13346 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13347 |
> |
(eval $ac_try) 2>&5 |
| 13348 |
> |
ac_status=$? |
| 13349 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13350 |
> |
(exit $ac_status); }; } && |
| 13351 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 13352 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13353 |
> |
(eval $ac_try) 2>&5 |
| 13354 |
> |
ac_status=$? |
| 13355 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13356 |
> |
(exit $ac_status); }; }; then |
| 13357 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 13358 |
|
else |
| 13359 |
|
echo "$as_me: failed program was:" >&5 |
| 13360 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13361 |
|
|
| 13362 |
< |
ac_cv_lib_mpi_MPI_Init=no |
| 13362 |
> |
ac_cv_lib_mpi_MPI_Init=no |
| 13363 |
|
fi |
| 13364 |
< |
|
| 14252 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13364 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 13365 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13366 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13367 |
|
fi |
| 13368 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13369 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 13368 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13369 |
> |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
| 13370 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 13371 |
|
MPI_LIB="-lmpi" |
| 13372 |
|
fi |
| 13374 |
|
fi |
| 13375 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
| 13376 |
|
if test x = x"$MPI_LIB"; then |
| 13377 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13378 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
| 13377 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13378 |
> |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
| 13379 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 13380 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13381 |
|
else |
| 13388 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 13389 |
|
/* end confdefs.h. */ |
| 13390 |
|
|
| 13391 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 14280 |
< |
Use char because int might match the return type of a GCC |
| 14281 |
< |
builtin and then its argument prototype would still apply. */ |
| 13391 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 13392 |
|
#ifdef __cplusplus |
| 13393 |
|
extern "C" |
| 13394 |
|
#endif |
| 13395 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 13396 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13397 |
|
char MPI_Init (); |
| 13398 |
|
#ifdef FC_DUMMY_MAIN |
| 13399 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13406 |
|
int |
| 13407 |
|
main () |
| 13408 |
|
{ |
| 13409 |
< |
return MPI_Init (); |
| 13409 |
> |
MPI_Init (); |
| 13410 |
|
; |
| 13411 |
|
return 0; |
| 13412 |
|
} |
| 13413 |
|
_ACEOF |
| 13414 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13415 |
< |
if { (ac_try="$ac_link" |
| 13416 |
< |
case "(($ac_try" in |
| 14305 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14306 |
< |
*) ac_try_echo=$ac_try;; |
| 14307 |
< |
esac |
| 14308 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14309 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13415 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13416 |
> |
(eval $ac_link) 2>conftest.er1 |
| 13417 |
|
ac_status=$? |
| 13418 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 13419 |
|
rm -f conftest.er1 |
| 13420 |
|
cat conftest.err >&5 |
| 13421 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13422 |
< |
(exit $ac_status); } && { |
| 13423 |
< |
test -z "$ac_c_werror_flag" || |
| 13424 |
< |
test ! -s conftest.err |
| 13425 |
< |
} && test -s conftest$ac_exeext && |
| 13426 |
< |
$as_test_x conftest$ac_exeext; then |
| 13422 |
> |
(exit $ac_status); } && |
| 13423 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13424 |
> |
|| test ! -s conftest.err' |
| 13425 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13426 |
> |
(eval $ac_try) 2>&5 |
| 13427 |
> |
ac_status=$? |
| 13428 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13429 |
> |
(exit $ac_status); }; } && |
| 13430 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 13431 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13432 |
> |
(eval $ac_try) 2>&5 |
| 13433 |
> |
ac_status=$? |
| 13434 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13435 |
> |
(exit $ac_status); }; }; then |
| 13436 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 13437 |
|
else |
| 13438 |
|
echo "$as_me: failed program was:" >&5 |
| 13439 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13440 |
|
|
| 13441 |
< |
ac_cv_lib_mpi_MPI_Init=no |
| 13441 |
> |
ac_cv_lib_mpi_MPI_Init=no |
| 13442 |
|
fi |
| 13443 |
< |
|
| 14328 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13443 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 13444 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13445 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13446 |
|
fi |
| 13447 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13448 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 13447 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13448 |
> |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
| 13449 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 13450 |
|
MPI_LIB="-lmpi -llam" |
| 13451 |
|
fi |
| 13453 |
|
fi |
| 13454 |
|
$as_unset ac_cv_lib_mpi_MPI_Init |
| 13455 |
|
if test x = x"$MPI_LIB"; then |
| 13456 |
< |
{ echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13457 |
< |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6; } |
| 13456 |
> |
echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5 |
| 13457 |
> |
echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6 |
| 13458 |
|
if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then |
| 13459 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13460 |
|
else |
| 13467 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 13468 |
|
/* end confdefs.h. */ |
| 13469 |
|
|
| 13470 |
< |
/* Override any GCC internal prototype to avoid an error. |
| 14356 |
< |
Use char because int might match the return type of a GCC |
| 14357 |
< |
builtin and then its argument prototype would still apply. */ |
| 13470 |
> |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 13471 |
|
#ifdef __cplusplus |
| 13472 |
|
extern "C" |
| 13473 |
|
#endif |
| 13474 |
+ |
/* We use char because int might match the return type of a gcc2 |
| 13475 |
+ |
builtin and then its argument prototype would still apply. */ |
| 13476 |
|
char MPI_Init (); |
| 13477 |
|
#ifdef FC_DUMMY_MAIN |
| 13478 |
|
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13485 |
|
int |
| 13486 |
|
main () |
| 13487 |
|
{ |
| 13488 |
< |
return MPI_Init (); |
| 13488 |
> |
MPI_Init (); |
| 13489 |
|
; |
| 13490 |
|
return 0; |
| 13491 |
|
} |
| 13492 |
|
_ACEOF |
| 13493 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13494 |
< |
if { (ac_try="$ac_link" |
| 13495 |
< |
case "(($ac_try" in |
| 14381 |
< |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14382 |
< |
*) ac_try_echo=$ac_try;; |
| 14383 |
< |
esac |
| 14384 |
< |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 14385 |
< |
(eval "$ac_link") 2>conftest.er1 |
| 13494 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13495 |
> |
(eval $ac_link) 2>conftest.er1 |
| 13496 |
|
ac_status=$? |
| 13497 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 13498 |
|
rm -f conftest.er1 |
| 13499 |
|
cat conftest.err >&5 |
| 13500 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13501 |
< |
(exit $ac_status); } && { |
| 13502 |
< |
test -z "$ac_c_werror_flag" || |
| 13503 |
< |
test ! -s conftest.err |
| 13504 |
< |
} && test -s conftest$ac_exeext && |
| 13505 |
< |
$as_test_x conftest$ac_exeext; then |
| 13501 |
> |
(exit $ac_status); } && |
| 13502 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13503 |
> |
|| test ! -s conftest.err' |
| 13504 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13505 |
> |
(eval $ac_try) 2>&5 |
| 13506 |
> |
ac_status=$? |
| 13507 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13508 |
> |
(exit $ac_status); }; } && |
| 13509 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 13510 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13511 |
> |
(eval $ac_try) 2>&5 |
| 13512 |
> |
ac_status=$? |
| 13513 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13514 |
> |
(exit $ac_status); }; }; then |
| 13515 |
|
ac_cv_lib_mpi_MPI_Init=yes |
| 13516 |
|
else |
| 13517 |
|
echo "$as_me: failed program was:" >&5 |
| 13518 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13519 |
|
|
| 13520 |
< |
ac_cv_lib_mpi_MPI_Init=no |
| 13520 |
> |
ac_cv_lib_mpi_MPI_Init=no |
| 13521 |
|
fi |
| 13522 |
< |
|
| 14404 |
< |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| 13522 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 13523 |
|
conftest$ac_exeext conftest.$ac_ext |
| 13524 |
|
LIBS=$ac_check_lib_save_LIBS |
| 13525 |
|
fi |
| 13526 |
< |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13527 |
< |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6; } |
| 13526 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5 |
| 13527 |
> |
echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6 |
| 13528 |
|
if test $ac_cv_lib_mpi_MPI_Init = yes; then |
| 13529 |
|
MPI_LIB="-lmpi -llam -lpthread" |
| 13530 |
|
else |
| 13540 |
|
|
| 13541 |
|
|
| 13542 |
|
|
| 13543 |
< |
{ echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 |
| 13544 |
< |
echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6; } |
| 13543 |
> |
echo "$as_me:$LINENO: checking for MPI Fortran library" >&5 |
| 13544 |
> |
echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6 |
| 13545 |
|
MPI_F90_LIB="" |
| 13546 |
|
if test -f "$MPI_LIB_DIR/libfmpich.a" ; then |
| 13547 |
|
MPI_F90_LIB="-lfmpich" |
| 13550 |
|
else |
| 13551 |
|
MPI_F90_LIB=" " |
| 13552 |
|
fi |
| 13553 |
< |
{ echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
| 13554 |
< |
echo "${ECHO_T}found $MPI_F90_LIB" >&6; } |
| 13553 |
> |
echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5 |
| 13554 |
> |
echo "${ECHO_T}found $MPI_F90_LIB" >&6 |
| 13555 |
|
|
| 13556 |
|
|
| 13557 |
|
fi |
| 13558 |
|
|
| 13559 |
|
|
| 13560 |
|
|
| 13561 |
+ |
acx_cgal_found=no |
| 13562 |
|
|
| 13563 |
< |
# Check whether --enable-doxygen was given. |
| 13564 |
< |
if test "${enable_doxygen+set}" = set; then |
| 13565 |
< |
enableval=$enable_doxygen; |
| 14447 |
< |
fi |
| 13563 |
> |
# Check whether --with-cgalmakefile or --without-cgalmakefile was given. |
| 13564 |
> |
if test "${with_cgalmakefile+set}" = set; then |
| 13565 |
> |
withval="$with_cgalmakefile" |
| 13566 |
|
|
| 13567 |
< |
# Check whether --enable-dot was given. |
| 13568 |
< |
if test "${enable_dot+set}" = set; then |
| 13569 |
< |
enableval=$enable_dot; |
| 13570 |
< |
fi |
| 13571 |
< |
|
| 13572 |
< |
# Check whether --enable-html-docs was given. |
| 14455 |
< |
if test "${enable_html_docs+set}" = set; then |
| 14456 |
< |
enableval=$enable_html_docs; |
| 14457 |
< |
else |
| 14458 |
< |
enable_html_docs=yes |
| 14459 |
< |
fi |
| 14460 |
< |
|
| 14461 |
< |
# Check whether --enable-latex-docs was given. |
| 14462 |
< |
if test "${enable_latex_docs+set}" = set; then |
| 14463 |
< |
enableval=$enable_latex_docs; |
| 14464 |
< |
else |
| 14465 |
< |
enable_latex_docs=no |
| 14466 |
< |
fi |
| 14467 |
< |
|
| 14468 |
< |
if test "x$enable_doxygen" = xno; then |
| 14469 |
< |
enable_doc=no |
| 14470 |
< |
else |
| 14471 |
< |
# Extract the first word of "doxygen", so it can be a program name with args. |
| 14472 |
< |
set dummy doxygen; ac_word=$2 |
| 14473 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14474 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 14475 |
< |
if test "${ac_cv_path_DOXYGEN+set}" = set; then |
| 14476 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14477 |
< |
else |
| 14478 |
< |
case $DOXYGEN in |
| 14479 |
< |
[\\/]* | ?:[\\/]*) |
| 14480 |
< |
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. |
| 14481 |
< |
;; |
| 14482 |
< |
*) |
| 14483 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14484 |
< |
for as_dir in $PATH |
| 14485 |
< |
do |
| 14486 |
< |
IFS=$as_save_IFS |
| 14487 |
< |
test -z "$as_dir" && as_dir=. |
| 14488 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14489 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14490 |
< |
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" |
| 14491 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14492 |
< |
break 2 |
| 14493 |
< |
fi |
| 14494 |
< |
done |
| 14495 |
< |
done |
| 14496 |
< |
IFS=$as_save_IFS |
| 14497 |
< |
|
| 14498 |
< |
;; |
| 13567 |
> |
fi; |
| 13568 |
> |
case $with_cgalmakefile in |
| 13569 |
> |
yes | "") ;; |
| 13570 |
> |
no) acx_cgal_found=disable ;; |
| 13571 |
> |
-* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
| 13572 |
> |
*) CGAL_MAKEFILE="$with_cgalmakefile" ;; |
| 13573 |
|
esac |
| 14500 |
– |
fi |
| 14501 |
– |
DOXYGEN=$ac_cv_path_DOXYGEN |
| 14502 |
– |
if test -n "$DOXYGEN"; then |
| 14503 |
– |
{ echo "$as_me:$LINENO: result: $DOXYGEN" >&5 |
| 14504 |
– |
echo "${ECHO_T}$DOXYGEN" >&6; } |
| 14505 |
– |
else |
| 14506 |
– |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 14507 |
– |
echo "${ECHO_T}no" >&6; } |
| 14508 |
– |
fi |
| 13574 |
|
|
| 13575 |
+ |
if test "$acx_cgal_found" == no; then |
| 13576 |
+ |
echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5 |
| 13577 |
+ |
echo $ECHO_N "checking CGAL_MAKEFILE... $ECHO_C" >&6 |
| 13578 |
|
|
| 13579 |
< |
if test "x$DOXYGEN" = x; then |
| 14512 |
< |
if test "x$enable_doxygen" = xyes; then |
| 14513 |
< |
{ { echo "$as_me:$LINENO: error: could not find doxygen" >&5 |
| 14514 |
< |
echo "$as_me: error: could not find doxygen" >&2;} |
| 14515 |
< |
{ (exit 1); exit 1; }; } |
| 14516 |
< |
fi |
| 14517 |
< |
enable_doc=no |
| 14518 |
< |
else |
| 14519 |
< |
enable_doc=yes |
| 14520 |
< |
# Extract the first word of "dot", so it can be a program name with args. |
| 14521 |
< |
set dummy dot; ac_word=$2 |
| 14522 |
< |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14523 |
< |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 14524 |
< |
if test "${ac_cv_path_DOT+set}" = set; then |
| 14525 |
< |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14526 |
< |
else |
| 14527 |
< |
case $DOT in |
| 14528 |
< |
[\\/]* | ?:[\\/]*) |
| 14529 |
< |
ac_cv_path_DOT="$DOT" # Let the user override the test with a path. |
| 14530 |
< |
;; |
| 14531 |
< |
*) |
| 14532 |
< |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14533 |
< |
for as_dir in $PATH |
| 14534 |
< |
do |
| 14535 |
< |
IFS=$as_save_IFS |
| 14536 |
< |
test -z "$as_dir" && as_dir=. |
| 14537 |
< |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14538 |
< |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 14539 |
< |
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" |
| 14540 |
< |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14541 |
< |
break 2 |
| 14542 |
< |
fi |
| 14543 |
< |
done |
| 14544 |
< |
done |
| 14545 |
< |
IFS=$as_save_IFS |
| 13579 |
> |
if test \! -z "$CGAL_MAKEFILE"; then |
| 13580 |
|
|
| 13581 |
< |
;; |
| 13582 |
< |
esac |
| 14549 |
< |
fi |
| 14550 |
< |
DOT=$ac_cv_path_DOT |
| 14551 |
< |
if test -n "$DOT"; then |
| 14552 |
< |
{ echo "$as_me:$LINENO: result: $DOT" >&5 |
| 14553 |
< |
echo "${ECHO_T}$DOT" >&6; } |
| 14554 |
< |
else |
| 14555 |
< |
{ echo "$as_me:$LINENO: result: no" >&5 |
| 14556 |
< |
echo "${ECHO_T}no" >&6; } |
| 14557 |
< |
fi |
| 13581 |
> |
if test -e "$CGAL_MAKEFILE"; then |
| 13582 |
> |
tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX` |
| 13583 |
|
|
| 13584 |
+ |
cat > $tname << _ACEOF |
| 13585 |
+ |
include $CGAL_MAKEFILE |
| 13586 |
|
|
| 13587 |
< |
fi |
| 13588 |
< |
fi |
| 13587 |
> |
cppflags: |
| 13588 |
> |
@echo \$(CGAL_CXXFLAGS) |
| 13589 |
|
|
| 13590 |
< |
if test "x$enable_doc" = xyes; then |
| 13591 |
< |
DOC=1 |
| 13592 |
< |
else |
| 13593 |
< |
DOC=0 |
| 13594 |
< |
fi |
| 13595 |
< |
|
| 13596 |
< |
|
| 13597 |
< |
if test x$DOT = x; then |
| 13598 |
< |
if test "x$enable_dot" = xyes; then |
| 13599 |
< |
{ { echo "$as_me:$LINENO: error: could not find dot" >&5 |
| 13600 |
< |
echo "$as_me: error: could not find dot" >&2;} |
| 13590 |
> |
cxxflags: |
| 13591 |
> |
@echo |
| 13592 |
> |
ldflags: |
| 13593 |
> |
@echo \$(CGAL_LDFLAGS) |
| 13594 |
> |
_ACEOF |
| 13595 |
> |
CGAL_CPPFLAGS="`make -s -f $tname cppflags`" |
| 13596 |
> |
CGAL_CXXFLAGS="`make -s -f $tname cxxflags`" |
| 13597 |
> |
CGAL_LDFLAGST="`make -s -f $tname ldflags`" |
| 13598 |
> |
for i in $CGAL_LDFLAGST; do |
| 13599 |
> |
if test `echo $i| grep -c ^-l`; then |
| 13600 |
> |
CGAL_LIBS="$CGAL_LIBS $i" |
| 13601 |
> |
else |
| 13602 |
> |
CGAL_LDFLAGS="$CGAL_LDFLAGS $i" |
| 13603 |
> |
fi |
| 13604 |
> |
done |
| 13605 |
> |
rm -f $tname |
| 13606 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 13607 |
> |
echo "${ECHO_T}yes" >&6 |
| 13608 |
> |
acx_cgal_found=yes |
| 13609 |
> |
else |
| 13610 |
> |
echo "$as_me:$LINENO: result: invalid" >&5 |
| 13611 |
> |
echo "${ECHO_T}invalid" >&6 |
| 13612 |
> |
{ { echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5 |
| 13613 |
> |
echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;} |
| 13614 |
|
{ (exit 1); exit 1; }; } |
| 13615 |
< |
fi |
| 13616 |
< |
enable_dot=no |
| 13615 |
> |
fi |
| 13616 |
> |
else |
| 13617 |
> |
echo "$as_me:$LINENO: result: not defined" >&5 |
| 13618 |
> |
echo "${ECHO_T}not defined" >&6 |
| 13619 |
> |
fi |
| 13620 |
> |
fi |
| 13621 |
> |
|
| 13622 |
> |
if test "$acx_cgal_found" == no; then |
| 13623 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
| 13624 |
> |
echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
| 13625 |
> |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6 |
| 13626 |
> |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
| 13627 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13628 |
> |
fi |
| 13629 |
> |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
| 13630 |
> |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6 |
| 13631 |
|
else |
| 13632 |
< |
enable_dot=yes |
| 13632 |
> |
# Is the header compilable? |
| 13633 |
> |
echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5 |
| 13634 |
> |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... $ECHO_C" >&6 |
| 13635 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 13636 |
> |
/* confdefs.h. */ |
| 13637 |
> |
_ACEOF |
| 13638 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 13639 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 13640 |
> |
/* end confdefs.h. */ |
| 13641 |
> |
$ac_includes_default |
| 13642 |
> |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
| 13643 |
> |
_ACEOF |
| 13644 |
> |
rm -f conftest.$ac_objext |
| 13645 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13646 |
> |
(eval $ac_compile) 2>conftest.er1 |
| 13647 |
> |
ac_status=$? |
| 13648 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13649 |
> |
rm -f conftest.er1 |
| 13650 |
> |
cat conftest.err >&5 |
| 13651 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13652 |
> |
(exit $ac_status); } && |
| 13653 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13654 |
> |
|| test ! -s conftest.err' |
| 13655 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13656 |
> |
(eval $ac_try) 2>&5 |
| 13657 |
> |
ac_status=$? |
| 13658 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13659 |
> |
(exit $ac_status); }; } && |
| 13660 |
> |
{ ac_try='test -s conftest.$ac_objext' |
| 13661 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13662 |
> |
(eval $ac_try) 2>&5 |
| 13663 |
> |
ac_status=$? |
| 13664 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13665 |
> |
(exit $ac_status); }; }; then |
| 13666 |
> |
ac_header_compiler=yes |
| 13667 |
> |
else |
| 13668 |
> |
echo "$as_me: failed program was:" >&5 |
| 13669 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13670 |
> |
|
| 13671 |
> |
ac_header_compiler=no |
| 13672 |
|
fi |
| 13673 |
+ |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13674 |
+ |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 13675 |
+ |
echo "${ECHO_T}$ac_header_compiler" >&6 |
| 13676 |
|
|
| 13677 |
+ |
# Is the header present? |
| 13678 |
+ |
echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5 |
| 13679 |
+ |
echo $ECHO_N "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... $ECHO_C" >&6 |
| 13680 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 13681 |
+ |
/* confdefs.h. */ |
| 13682 |
+ |
_ACEOF |
| 13683 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 13684 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 13685 |
+ |
/* end confdefs.h. */ |
| 13686 |
+ |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> |
| 13687 |
+ |
_ACEOF |
| 13688 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 13689 |
+ |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 13690 |
+ |
ac_status=$? |
| 13691 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13692 |
+ |
rm -f conftest.er1 |
| 13693 |
+ |
cat conftest.err >&5 |
| 13694 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13695 |
+ |
(exit $ac_status); } >/dev/null; then |
| 13696 |
+ |
if test -s conftest.err; then |
| 13697 |
+ |
ac_cpp_err=$ac_c_preproc_warn_flag |
| 13698 |
+ |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| 13699 |
+ |
else |
| 13700 |
+ |
ac_cpp_err= |
| 13701 |
+ |
fi |
| 13702 |
+ |
else |
| 13703 |
+ |
ac_cpp_err=yes |
| 13704 |
+ |
fi |
| 13705 |
+ |
if test -z "$ac_cpp_err"; then |
| 13706 |
+ |
ac_header_preproc=yes |
| 13707 |
+ |
else |
| 13708 |
+ |
echo "$as_me: failed program was:" >&5 |
| 13709 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13710 |
|
|
| 13711 |
+ |
ac_header_preproc=no |
| 13712 |
+ |
fi |
| 13713 |
+ |
rm -f conftest.err conftest.$ac_ext |
| 13714 |
+ |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 13715 |
+ |
echo "${ECHO_T}$ac_header_preproc" >&6 |
| 13716 |
|
|
| 13717 |
+ |
# So? What about this header? |
| 13718 |
+ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| 13719 |
+ |
yes:no: ) |
| 13720 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 13721 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 13722 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5 |
| 13723 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;} |
| 13724 |
+ |
ac_header_preproc=yes |
| 13725 |
+ |
;; |
| 13726 |
+ |
no:yes:* ) |
| 13727 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5 |
| 13728 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;} |
| 13729 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&5 |
| 13730 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: check for missing prerequisite headers?" >&2;} |
| 13731 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5 |
| 13732 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;} |
| 13733 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&5 |
| 13734 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: section \"Present But Cannot Be Compiled\"" >&2;} |
| 13735 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5 |
| 13736 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;} |
| 13737 |
+ |
{ echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5 |
| 13738 |
+ |
echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;} |
| 13739 |
+ |
( |
| 13740 |
+ |
cat <<\_ASBOX |
| 13741 |
+ |
## ------------------------------ ## |
| 13742 |
+ |
## Report this to gezelter@nd.edu ## |
| 13743 |
+ |
## ------------------------------ ## |
| 13744 |
+ |
_ASBOX |
| 13745 |
+ |
) | |
| 13746 |
+ |
sed "s/^/$as_me: WARNING: /" >&2 |
| 13747 |
+ |
;; |
| 13748 |
+ |
esac |
| 13749 |
+ |
echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5 |
| 13750 |
+ |
echo $ECHO_N "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... $ECHO_C" >&6 |
| 13751 |
+ |
if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then |
| 13752 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13753 |
+ |
else |
| 13754 |
+ |
ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h=$ac_header_preproc |
| 13755 |
+ |
fi |
| 13756 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5 |
| 13757 |
+ |
echo "${ECHO_T}$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6 |
| 13758 |
|
|
| 13759 |
+ |
fi |
| 13760 |
+ |
if test $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h = yes; then |
| 13761 |
+ |
cgal_have_header=yes |
| 13762 |
+ |
else |
| 13763 |
+ |
cgal_have_header=no |
| 13764 |
+ |
fi |
| 13765 |
|
|
| 13766 |
|
|
| 13767 |
+ |
if test "$cgal_have_header" == yes; then |
| 13768 |
+ |
echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
| 13769 |
+ |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6 |
| 13770 |
+ |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
| 13771 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13772 |
+ |
else |
| 13773 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 13774 |
+ |
LIBS="-lCGAL $LIBS" |
| 13775 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 13776 |
+ |
/* confdefs.h. */ |
| 13777 |
+ |
_ACEOF |
| 13778 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 13779 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 13780 |
+ |
/* end confdefs.h. */ |
| 13781 |
|
|
| 13782 |
|
|
| 13783 |
+ |
#ifdef FC_DUMMY_MAIN |
| 13784 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13785 |
+ |
# ifdef __cplusplus |
| 13786 |
+ |
extern "C" |
| 13787 |
+ |
# endif |
| 13788 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 13789 |
+ |
#endif |
| 13790 |
+ |
#endif |
| 13791 |
+ |
int |
| 13792 |
+ |
main () |
| 13793 |
+ |
{ |
| 13794 |
+ |
main (); |
| 13795 |
+ |
; |
| 13796 |
+ |
return 0; |
| 13797 |
+ |
} |
| 13798 |
+ |
_ACEOF |
| 13799 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13800 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13801 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 13802 |
+ |
ac_status=$? |
| 13803 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13804 |
+ |
rm -f conftest.er1 |
| 13805 |
+ |
cat conftest.err >&5 |
| 13806 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13807 |
+ |
(exit $ac_status); } && |
| 13808 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13809 |
+ |
|| test ! -s conftest.err' |
| 13810 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13811 |
+ |
(eval $ac_try) 2>&5 |
| 13812 |
+ |
ac_status=$? |
| 13813 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13814 |
+ |
(exit $ac_status); }; } && |
| 13815 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 13816 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13817 |
+ |
(eval $ac_try) 2>&5 |
| 13818 |
+ |
ac_status=$? |
| 13819 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13820 |
+ |
(exit $ac_status); }; }; then |
| 13821 |
+ |
ac_cv_lib_CGAL_main=yes |
| 13822 |
+ |
else |
| 13823 |
+ |
echo "$as_me: failed program was:" >&5 |
| 13824 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13825 |
|
|
| 13826 |
+ |
ac_cv_lib_CGAL_main=no |
| 13827 |
+ |
fi |
| 13828 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 13829 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 13830 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 13831 |
+ |
fi |
| 13832 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
| 13833 |
+ |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6 |
| 13834 |
+ |
if test $ac_cv_lib_CGAL_main = yes; then |
| 13835 |
+ |
cgal_have_lib=yes |
| 13836 |
+ |
else |
| 13837 |
+ |
cgal_have_lib=no |
| 13838 |
+ |
fi |
| 13839 |
|
|
| 13840 |
+ |
if test "$cgal_have_lib" == no; then |
| 13841 |
+ |
save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm" |
| 13842 |
+ |
echo "$as_me:$LINENO: checking for main in -lCGAL" >&5 |
| 13843 |
+ |
echo $ECHO_N "checking for main in -lCGAL... $ECHO_C" >&6 |
| 13844 |
+ |
if test "${ac_cv_lib_CGAL_main+set}" = set; then |
| 13845 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13846 |
+ |
else |
| 13847 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 13848 |
+ |
LIBS="-lCGAL $LIBS" |
| 13849 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 13850 |
+ |
/* confdefs.h. */ |
| 13851 |
+ |
_ACEOF |
| 13852 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 13853 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 13854 |
+ |
/* end confdefs.h. */ |
| 13855 |
|
|
| 13856 |
|
|
| 13857 |
+ |
#ifdef FC_DUMMY_MAIN |
| 13858 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13859 |
+ |
# ifdef __cplusplus |
| 13860 |
+ |
extern "C" |
| 13861 |
+ |
# endif |
| 13862 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 13863 |
+ |
#endif |
| 13864 |
+ |
#endif |
| 13865 |
+ |
int |
| 13866 |
+ |
main () |
| 13867 |
+ |
{ |
| 13868 |
+ |
main (); |
| 13869 |
+ |
; |
| 13870 |
+ |
return 0; |
| 13871 |
+ |
} |
| 13872 |
+ |
_ACEOF |
| 13873 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13874 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13875 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 13876 |
+ |
ac_status=$? |
| 13877 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13878 |
+ |
rm -f conftest.er1 |
| 13879 |
+ |
cat conftest.err >&5 |
| 13880 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13881 |
+ |
(exit $ac_status); } && |
| 13882 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13883 |
+ |
|| test ! -s conftest.err' |
| 13884 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13885 |
+ |
(eval $ac_try) 2>&5 |
| 13886 |
+ |
ac_status=$? |
| 13887 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13888 |
+ |
(exit $ac_status); }; } && |
| 13889 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 13890 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13891 |
+ |
(eval $ac_try) 2>&5 |
| 13892 |
+ |
ac_status=$? |
| 13893 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13894 |
+ |
(exit $ac_status); }; }; then |
| 13895 |
+ |
ac_cv_lib_CGAL_main=yes |
| 13896 |
+ |
else |
| 13897 |
+ |
echo "$as_me: failed program was:" >&5 |
| 13898 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13899 |
|
|
| 13900 |
+ |
ac_cv_lib_CGAL_main=no |
| 13901 |
+ |
fi |
| 13902 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 13903 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 13904 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 13905 |
+ |
fi |
| 13906 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5 |
| 13907 |
+ |
echo "${ECHO_T}$ac_cv_lib_CGAL_main" >&6 |
| 13908 |
+ |
if test $ac_cv_lib_CGAL_main = yes; then |
| 13909 |
+ |
CGAL_LIBS="-lCGAL -lgmp -lmpfr" |
| 13910 |
+ |
cgal_have_lib=yes |
| 13911 |
+ |
else |
| 13912 |
+ |
cgal_have_lib=no |
| 13913 |
+ |
fi |
| 13914 |
|
|
| 13915 |
+ |
LIBS="$save_LIBS" |
| 13916 |
+ |
else |
| 13917 |
+ |
CGAL_LIBS="-lCGAL" |
| 13918 |
+ |
echo "$as_me:$LINENO: checking for main in -lmpfr" >&5 |
| 13919 |
+ |
echo $ECHO_N "checking for main in -lmpfr... $ECHO_C" >&6 |
| 13920 |
+ |
if test "${ac_cv_lib_mpfr_main+set}" = set; then |
| 13921 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13922 |
+ |
else |
| 13923 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 13924 |
+ |
LIBS="-lmpfr $LIBS" |
| 13925 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 13926 |
+ |
/* confdefs.h. */ |
| 13927 |
+ |
_ACEOF |
| 13928 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 13929 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 13930 |
+ |
/* end confdefs.h. */ |
| 13931 |
|
|
| 13932 |
|
|
| 13933 |
+ |
#ifdef FC_DUMMY_MAIN |
| 13934 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 13935 |
+ |
# ifdef __cplusplus |
| 13936 |
+ |
extern "C" |
| 13937 |
+ |
# endif |
| 13938 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 13939 |
+ |
#endif |
| 13940 |
+ |
#endif |
| 13941 |
+ |
int |
| 13942 |
+ |
main () |
| 13943 |
+ |
{ |
| 13944 |
+ |
main (); |
| 13945 |
+ |
; |
| 13946 |
+ |
return 0; |
| 13947 |
+ |
} |
| 13948 |
+ |
_ACEOF |
| 13949 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 13950 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 13951 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 13952 |
+ |
ac_status=$? |
| 13953 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 13954 |
+ |
rm -f conftest.er1 |
| 13955 |
+ |
cat conftest.err >&5 |
| 13956 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13957 |
+ |
(exit $ac_status); } && |
| 13958 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 13959 |
+ |
|| test ! -s conftest.err' |
| 13960 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13961 |
+ |
(eval $ac_try) 2>&5 |
| 13962 |
+ |
ac_status=$? |
| 13963 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13964 |
+ |
(exit $ac_status); }; } && |
| 13965 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 13966 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 13967 |
+ |
(eval $ac_try) 2>&5 |
| 13968 |
+ |
ac_status=$? |
| 13969 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13970 |
+ |
(exit $ac_status); }; }; then |
| 13971 |
+ |
ac_cv_lib_mpfr_main=yes |
| 13972 |
+ |
else |
| 13973 |
+ |
echo "$as_me: failed program was:" >&5 |
| 13974 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 13975 |
|
|
| 13976 |
+ |
ac_cv_lib_mpfr_main=no |
| 13977 |
+ |
fi |
| 13978 |
+ |
rm -f conftest.err conftest.$ac_objext \ |
| 13979 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 13980 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 13981 |
+ |
fi |
| 13982 |
+ |
echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5 |
| 13983 |
+ |
echo "${ECHO_T}$ac_cv_lib_mpfr_main" >&6 |
| 13984 |
+ |
if test $ac_cv_lib_mpfr_main = yes; then |
| 13985 |
+ |
CGAL_LIBS="$CGAL_LIBS -lmpfr" |
| 13986 |
+ |
fi |
| 13987 |
|
|
| 13988 |
+ |
echo "$as_me:$LINENO: checking for main in -lgmp" >&5 |
| 13989 |
+ |
echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 |
| 13990 |
+ |
if test "${ac_cv_lib_gmp_main+set}" = set; then |
| 13991 |
+ |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13992 |
+ |
else |
| 13993 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 13994 |
+ |
LIBS="-lgmp $LIBS" |
| 13995 |
+ |
cat >conftest.$ac_ext <<_ACEOF |
| 13996 |
+ |
/* confdefs.h. */ |
| 13997 |
+ |
_ACEOF |
| 13998 |
+ |
cat confdefs.h >>conftest.$ac_ext |
| 13999 |
+ |
cat >>conftest.$ac_ext <<_ACEOF |
| 14000 |
+ |
/* end confdefs.h. */ |
| 14001 |
|
|
| 14599 |
– |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile scripts/filepp" |
| 14002 |
|
|
| 14003 |
+ |
#ifdef FC_DUMMY_MAIN |
| 14004 |
+ |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14005 |
+ |
# ifdef __cplusplus |
| 14006 |
+ |
extern "C" |
| 14007 |
+ |
# endif |
| 14008 |
+ |
int FC_DUMMY_MAIN() { return 1; } |
| 14009 |
+ |
#endif |
| 14010 |
+ |
#endif |
| 14011 |
+ |
int |
| 14012 |
+ |
main () |
| 14013 |
+ |
{ |
| 14014 |
+ |
main (); |
| 14015 |
+ |
; |
| 14016 |
+ |
return 0; |
| 14017 |
+ |
} |
| 14018 |
+ |
_ACEOF |
| 14019 |
+ |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14020 |
+ |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14021 |
+ |
(eval $ac_link) 2>conftest.er1 |
| 14022 |
+ |
ac_status=$? |
| 14023 |
+ |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14024 |
+ |
rm -f conftest.er1 |
| 14025 |
+ |
cat conftest.err >&5 |
| 14026 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14027 |
+ |
(exit $ac_status); } && |
| 14028 |
+ |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14029 |
+ |
|| test ! -s conftest.err' |
| 14030 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14031 |
+ |
(eval $ac_try) 2>&5 |
| 14032 |
+ |
ac_status=$? |
| 14033 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14034 |
+ |
(exit $ac_status); }; } && |
| 14035 |
+ |
{ ac_try='test -s conftest$ac_exeext' |
| 14036 |
+ |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14037 |
+ |
(eval $ac_try) 2>&5 |
| 14038 |
+ |
ac_status=$? |
| 14039 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14040 |
+ |
(exit $ac_status); }; }; then |
| 14041 |
+ |
ac_cv_lib_gmp_main=yes |
| 14042 |
+ |
else |
| 14043 |
+ |
echo "$as_me: failed program was:" >&5 |
| 14044 |
+ |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14045 |
|
|
| 14046 |
< |
cat >confcache <<\_ACEOF |
| 14047 |
< |
# This file is a shell script that caches the results of configure |
| 14048 |
< |
# tests run on this system so they can be shared between configure |
| 14049 |
< |
# scripts and configure runs, see configure's option --config-cache. |
| 14050 |
< |
# It is not useful on other systems. If it contains results you don't |
| 14051 |
< |
# want to keep, you may remove or edit it. |
| 14052 |
< |
# |
| 14053 |
< |
# config.status only pays attention to the cache file if you give it |
| 14054 |
< |
# the --recheck option to rerun configure. |
| 14055 |
< |
# |
| 14056 |
< |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 14046 |
> |
ac_cv_lib_gmp_main=no |
| 14047 |
> |
fi |
| 14048 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 14049 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14050 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14051 |
> |
fi |
| 14052 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 |
| 14053 |
> |
echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 |
| 14054 |
> |
if test $ac_cv_lib_gmp_main = yes; then |
| 14055 |
> |
CGAL_LIBS="$CGAL_LIBS -lgmp" |
| 14056 |
> |
fi |
| 14057 |
> |
|
| 14058 |
> |
echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5 |
| 14059 |
> |
echo $ECHO_N "checking for main in -lgmpxx... $ECHO_C" >&6 |
| 14060 |
> |
if test "${ac_cv_lib_gmpxx_main+set}" = set; then |
| 14061 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14062 |
> |
else |
| 14063 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14064 |
> |
LIBS="-lgmpxx $LIBS" |
| 14065 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 14066 |
> |
/* confdefs.h. */ |
| 14067 |
> |
_ACEOF |
| 14068 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 14069 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 14070 |
> |
/* end confdefs.h. */ |
| 14071 |
> |
|
| 14072 |
> |
|
| 14073 |
> |
#ifdef FC_DUMMY_MAIN |
| 14074 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14075 |
> |
# ifdef __cplusplus |
| 14076 |
> |
extern "C" |
| 14077 |
> |
# endif |
| 14078 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 14079 |
> |
#endif |
| 14080 |
> |
#endif |
| 14081 |
> |
int |
| 14082 |
> |
main () |
| 14083 |
> |
{ |
| 14084 |
> |
main (); |
| 14085 |
> |
; |
| 14086 |
> |
return 0; |
| 14087 |
> |
} |
| 14088 |
> |
_ACEOF |
| 14089 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14090 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14091 |
> |
(eval $ac_link) 2>conftest.er1 |
| 14092 |
> |
ac_status=$? |
| 14093 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14094 |
> |
rm -f conftest.er1 |
| 14095 |
> |
cat conftest.err >&5 |
| 14096 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14097 |
> |
(exit $ac_status); } && |
| 14098 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14099 |
> |
|| test ! -s conftest.err' |
| 14100 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14101 |
> |
(eval $ac_try) 2>&5 |
| 14102 |
> |
ac_status=$? |
| 14103 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14104 |
> |
(exit $ac_status); }; } && |
| 14105 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 14106 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14107 |
> |
(eval $ac_try) 2>&5 |
| 14108 |
> |
ac_status=$? |
| 14109 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14110 |
> |
(exit $ac_status); }; }; then |
| 14111 |
> |
ac_cv_lib_gmpxx_main=yes |
| 14112 |
> |
else |
| 14113 |
> |
echo "$as_me: failed program was:" >&5 |
| 14114 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14115 |
> |
|
| 14116 |
> |
ac_cv_lib_gmpxx_main=no |
| 14117 |
> |
fi |
| 14118 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 14119 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14120 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14121 |
> |
fi |
| 14122 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_gmpxx_main" >&5 |
| 14123 |
> |
echo "${ECHO_T}$ac_cv_lib_gmpxx_main" >&6 |
| 14124 |
> |
if test $ac_cv_lib_gmpxx_main = yes; then |
| 14125 |
> |
CGAL_LIBS="$CGAL_LIBS -lgmpxx" |
| 14126 |
> |
fi |
| 14127 |
> |
|
| 14128 |
> |
fi |
| 14129 |
> |
|
| 14130 |
> |
if test "$cgal_have_lib" == yes; then |
| 14131 |
> |
acx_cgal_found=yes |
| 14132 |
> |
fi |
| 14133 |
> |
fi |
| 14134 |
> |
if test "$acx_cgal_found" == yes; then |
| 14135 |
> |
echo "$as_me:$LINENO: checking for main in -lCore" >&5 |
| 14136 |
> |
echo $ECHO_N "checking for main in -lCore... $ECHO_C" >&6 |
| 14137 |
> |
if test "${ac_cv_lib_Core_main+set}" = set; then |
| 14138 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14139 |
> |
else |
| 14140 |
> |
ac_check_lib_save_LIBS=$LIBS |
| 14141 |
> |
LIBS="-lCore $LIBS" |
| 14142 |
> |
cat >conftest.$ac_ext <<_ACEOF |
| 14143 |
> |
/* confdefs.h. */ |
| 14144 |
> |
_ACEOF |
| 14145 |
> |
cat confdefs.h >>conftest.$ac_ext |
| 14146 |
> |
cat >>conftest.$ac_ext <<_ACEOF |
| 14147 |
> |
/* end confdefs.h. */ |
| 14148 |
> |
|
| 14149 |
> |
|
| 14150 |
> |
#ifdef FC_DUMMY_MAIN |
| 14151 |
> |
#ifndef FC_DUMMY_MAIN_EQ_F77 |
| 14152 |
> |
# ifdef __cplusplus |
| 14153 |
> |
extern "C" |
| 14154 |
> |
# endif |
| 14155 |
> |
int FC_DUMMY_MAIN() { return 1; } |
| 14156 |
> |
#endif |
| 14157 |
> |
#endif |
| 14158 |
> |
int |
| 14159 |
> |
main () |
| 14160 |
> |
{ |
| 14161 |
> |
main (); |
| 14162 |
> |
; |
| 14163 |
> |
return 0; |
| 14164 |
> |
} |
| 14165 |
> |
_ACEOF |
| 14166 |
> |
rm -f conftest.$ac_objext conftest$ac_exeext |
| 14167 |
> |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 14168 |
> |
(eval $ac_link) 2>conftest.er1 |
| 14169 |
> |
ac_status=$? |
| 14170 |
> |
grep -v '^ *+' conftest.er1 >conftest.err |
| 14171 |
> |
rm -f conftest.er1 |
| 14172 |
> |
cat conftest.err >&5 |
| 14173 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14174 |
> |
(exit $ac_status); } && |
| 14175 |
> |
{ ac_try='test -z "$ac_c_werror_flag" |
| 14176 |
> |
|| test ! -s conftest.err' |
| 14177 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14178 |
> |
(eval $ac_try) 2>&5 |
| 14179 |
> |
ac_status=$? |
| 14180 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14181 |
> |
(exit $ac_status); }; } && |
| 14182 |
> |
{ ac_try='test -s conftest$ac_exeext' |
| 14183 |
> |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 14184 |
> |
(eval $ac_try) 2>&5 |
| 14185 |
> |
ac_status=$? |
| 14186 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14187 |
> |
(exit $ac_status); }; }; then |
| 14188 |
> |
ac_cv_lib_Core_main=yes |
| 14189 |
> |
else |
| 14190 |
> |
echo "$as_me: failed program was:" >&5 |
| 14191 |
> |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 14192 |
> |
|
| 14193 |
> |
ac_cv_lib_Core_main=no |
| 14194 |
> |
fi |
| 14195 |
> |
rm -f conftest.err conftest.$ac_objext \ |
| 14196 |
> |
conftest$ac_exeext conftest.$ac_ext |
| 14197 |
> |
LIBS=$ac_check_lib_save_LIBS |
| 14198 |
> |
fi |
| 14199 |
> |
echo "$as_me:$LINENO: result: $ac_cv_lib_Core_main" >&5 |
| 14200 |
> |
echo "${ECHO_T}$ac_cv_lib_Core_main" >&6 |
| 14201 |
> |
if test $ac_cv_lib_Core_main = yes; then |
| 14202 |
> |
CGAL_LIBS="$CGAL_LIBS -lCore" |
| 14203 |
> |
fi |
| 14204 |
> |
|
| 14205 |
> |
fi |
| 14206 |
> |
fi |
| 14207 |
> |
|
| 14208 |
> |
|
| 14209 |
> |
|
| 14210 |
> |
echo "$as_me:$LINENO: checking CGAL" >&5 |
| 14211 |
> |
echo $ECHO_N "checking CGAL... $ECHO_C" >&6 |
| 14212 |
> |
if test "$acx_cgal_found" == yes; then |
| 14213 |
> |
echo "$as_me:$LINENO: result: yes" >&5 |
| 14214 |
> |
echo "${ECHO_T}yes" >&6; |
| 14215 |
> |
|
| 14216 |
> |
else |
| 14217 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 14218 |
> |
echo "${ECHO_T}no" >&6 |
| 14219 |
> |
|
| 14220 |
> |
fi |
| 14221 |
> |
|
| 14222 |
> |
if test "$acx_cgal_found" == yes; then |
| 14223 |
> |
USE_CGAL=yes |
| 14224 |
> |
|
| 14225 |
> |
cat >>confdefs.h <<\_ACEOF |
| 14226 |
> |
#define HAVE_CGAL 1 |
| 14227 |
> |
_ACEOF |
| 14228 |
> |
|
| 14229 |
> |
|
| 14230 |
> |
|
| 14231 |
> |
|
| 14232 |
> |
|
| 14233 |
> |
|
| 14234 |
> |
fi |
| 14235 |
> |
|
| 14236 |
> |
|
| 14237 |
> |
|
| 14238 |
> |
# Check whether --enable-doxygen or --disable-doxygen was given. |
| 14239 |
> |
if test "${enable_doxygen+set}" = set; then |
| 14240 |
> |
enableval="$enable_doxygen" |
| 14241 |
> |
|
| 14242 |
> |
fi; |
| 14243 |
> |
# Check whether --enable-dot or --disable-dot was given. |
| 14244 |
> |
if test "${enable_dot+set}" = set; then |
| 14245 |
> |
enableval="$enable_dot" |
| 14246 |
> |
|
| 14247 |
> |
fi; |
| 14248 |
> |
# Check whether --enable-html-docs or --disable-html-docs was given. |
| 14249 |
> |
if test "${enable_html_docs+set}" = set; then |
| 14250 |
> |
enableval="$enable_html_docs" |
| 14251 |
> |
|
| 14252 |
> |
else |
| 14253 |
> |
enable_html_docs=yes |
| 14254 |
> |
fi; |
| 14255 |
> |
# Check whether --enable-latex-docs or --disable-latex-docs was given. |
| 14256 |
> |
if test "${enable_latex_docs+set}" = set; then |
| 14257 |
> |
enableval="$enable_latex_docs" |
| 14258 |
> |
|
| 14259 |
> |
else |
| 14260 |
> |
enable_latex_docs=no |
| 14261 |
> |
fi; |
| 14262 |
> |
if test "x$enable_doxygen" = xno; then |
| 14263 |
> |
enable_doc=no |
| 14264 |
> |
else |
| 14265 |
> |
# Extract the first word of "doxygen", so it can be a program name with args. |
| 14266 |
> |
set dummy doxygen; ac_word=$2 |
| 14267 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14268 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 14269 |
> |
if test "${ac_cv_path_DOXYGEN+set}" = set; then |
| 14270 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14271 |
> |
else |
| 14272 |
> |
case $DOXYGEN in |
| 14273 |
> |
[\\/]* | ?:[\\/]*) |
| 14274 |
> |
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. |
| 14275 |
> |
;; |
| 14276 |
> |
*) |
| 14277 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14278 |
> |
for as_dir in $PATH |
| 14279 |
> |
do |
| 14280 |
> |
IFS=$as_save_IFS |
| 14281 |
> |
test -z "$as_dir" && as_dir=. |
| 14282 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14283 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14284 |
> |
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" |
| 14285 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14286 |
> |
break 2 |
| 14287 |
> |
fi |
| 14288 |
> |
done |
| 14289 |
> |
done |
| 14290 |
> |
|
| 14291 |
> |
;; |
| 14292 |
> |
esac |
| 14293 |
> |
fi |
| 14294 |
> |
DOXYGEN=$ac_cv_path_DOXYGEN |
| 14295 |
> |
|
| 14296 |
> |
if test -n "$DOXYGEN"; then |
| 14297 |
> |
echo "$as_me:$LINENO: result: $DOXYGEN" >&5 |
| 14298 |
> |
echo "${ECHO_T}$DOXYGEN" >&6 |
| 14299 |
> |
else |
| 14300 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 14301 |
> |
echo "${ECHO_T}no" >&6 |
| 14302 |
> |
fi |
| 14303 |
> |
|
| 14304 |
> |
if test "x$DOXYGEN" = x; then |
| 14305 |
> |
if test "x$enable_doxygen" = xyes; then |
| 14306 |
> |
{ { echo "$as_me:$LINENO: error: could not find doxygen" >&5 |
| 14307 |
> |
echo "$as_me: error: could not find doxygen" >&2;} |
| 14308 |
> |
{ (exit 1); exit 1; }; } |
| 14309 |
> |
fi |
| 14310 |
> |
enable_doc=no |
| 14311 |
> |
else |
| 14312 |
> |
enable_doc=yes |
| 14313 |
> |
# Extract the first word of "dot", so it can be a program name with args. |
| 14314 |
> |
set dummy dot; ac_word=$2 |
| 14315 |
> |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 14316 |
> |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 14317 |
> |
if test "${ac_cv_path_DOT+set}" = set; then |
| 14318 |
> |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14319 |
> |
else |
| 14320 |
> |
case $DOT in |
| 14321 |
> |
[\\/]* | ?:[\\/]*) |
| 14322 |
> |
ac_cv_path_DOT="$DOT" # Let the user override the test with a path. |
| 14323 |
> |
;; |
| 14324 |
> |
*) |
| 14325 |
> |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14326 |
> |
for as_dir in $PATH |
| 14327 |
> |
do |
| 14328 |
> |
IFS=$as_save_IFS |
| 14329 |
> |
test -z "$as_dir" && as_dir=. |
| 14330 |
> |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 14331 |
> |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14332 |
> |
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" |
| 14333 |
> |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 14334 |
> |
break 2 |
| 14335 |
> |
fi |
| 14336 |
> |
done |
| 14337 |
> |
done |
| 14338 |
> |
|
| 14339 |
> |
;; |
| 14340 |
> |
esac |
| 14341 |
> |
fi |
| 14342 |
> |
DOT=$ac_cv_path_DOT |
| 14343 |
> |
|
| 14344 |
> |
if test -n "$DOT"; then |
| 14345 |
> |
echo "$as_me:$LINENO: result: $DOT" >&5 |
| 14346 |
> |
echo "${ECHO_T}$DOT" >&6 |
| 14347 |
> |
else |
| 14348 |
> |
echo "$as_me:$LINENO: result: no" >&5 |
| 14349 |
> |
echo "${ECHO_T}no" >&6 |
| 14350 |
> |
fi |
| 14351 |
> |
|
| 14352 |
> |
fi |
| 14353 |
> |
fi |
| 14354 |
> |
|
| 14355 |
> |
if test "x$enable_doc" = xyes; then |
| 14356 |
> |
DOC=1 |
| 14357 |
> |
else |
| 14358 |
> |
DOC=0 |
| 14359 |
> |
fi |
| 14360 |
> |
|
| 14361 |
> |
|
| 14362 |
> |
if test x$DOT = x; then |
| 14363 |
> |
if test "x$enable_dot" = xyes; then |
| 14364 |
> |
{ { echo "$as_me:$LINENO: error: could not find dot" >&5 |
| 14365 |
> |
echo "$as_me: error: could not find dot" >&2;} |
| 14366 |
> |
{ (exit 1); exit 1; }; } |
| 14367 |
> |
fi |
| 14368 |
> |
enable_dot=no |
| 14369 |
> |
else |
| 14370 |
> |
enable_dot=yes |
| 14371 |
> |
fi |
| 14372 |
> |
|
| 14373 |
> |
|
| 14374 |
> |
|
| 14375 |
> |
|
| 14376 |
> |
|
| 14377 |
> |
|
| 14378 |
> |
|
| 14379 |
> |
|
| 14380 |
> |
|
| 14381 |
> |
|
| 14382 |
> |
|
| 14383 |
> |
|
| 14384 |
> |
|
| 14385 |
> |
|
| 14386 |
> |
|
| 14387 |
> |
|
| 14388 |
> |
|
| 14389 |
> |
|
| 14390 |
> |
|
| 14391 |
> |
ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/math/Makefile src/applications/staticProps/Makefile scripts/filepp" |
| 14392 |
> |
|
| 14393 |
> |
|
| 14394 |
> |
cat >confcache <<\_ACEOF |
| 14395 |
> |
# This file is a shell script that caches the results of configure |
| 14396 |
> |
# tests run on this system so they can be shared between configure |
| 14397 |
> |
# scripts and configure runs, see configure's option --config-cache. |
| 14398 |
> |
# It is not useful on other systems. If it contains results you don't |
| 14399 |
> |
# want to keep, you may remove or edit it. |
| 14400 |
> |
# |
| 14401 |
> |
# config.status only pays attention to the cache file if you give it |
| 14402 |
> |
# the --recheck option to rerun configure. |
| 14403 |
> |
# |
| 14404 |
> |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 14405 |
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 14406 |
|
# following values. |
| 14407 |
|
|
| 14409 |
|
|
| 14410 |
|
# The following way of writing the cache mishandles newlines in values, |
| 14411 |
|
# but we know of no workaround that is simple, portable, and efficient. |
| 14412 |
< |
# So, we kill variables containing newlines. |
| 14412 |
> |
# So, don't put newlines in cache variables' values. |
| 14413 |
|
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 14414 |
|
# and sets the high bit in the cache file unless we assign to the vars. |
| 14415 |
< |
( |
| 14624 |
< |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 14625 |
< |
eval ac_val=\$$ac_var |
| 14626 |
< |
case $ac_val in #( |
| 14627 |
< |
*${as_nl}*) |
| 14628 |
< |
case $ac_var in #( |
| 14629 |
< |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
| 14630 |
< |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
| 14631 |
< |
esac |
| 14632 |
< |
case $ac_var in #( |
| 14633 |
< |
_ | IFS | as_nl) ;; #( |
| 14634 |
< |
*) $as_unset $ac_var ;; |
| 14635 |
< |
esac ;; |
| 14636 |
< |
esac |
| 14637 |
< |
done |
| 14638 |
< |
|
| 14415 |
> |
{ |
| 14416 |
|
(set) 2>&1 | |
| 14417 |
< |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 14418 |
< |
*${as_nl}ac_space=\ *) |
| 14417 |
> |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 14418 |
> |
*ac_space=\ *) |
| 14419 |
|
# `set' does not quote correctly, so add quotes (double-quote |
| 14420 |
|
# substitution turns \\\\ into \\, and sed turns \\ into \). |
| 14421 |
|
sed -n \ |
| 14422 |
|
"s/'/'\\\\''/g; |
| 14423 |
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 14424 |
< |
;; #( |
| 14424 |
> |
;; |
| 14425 |
|
*) |
| 14426 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 14427 |
< |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 14427 |
> |
sed -n \ |
| 14428 |
> |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 14429 |
|
;; |
| 14430 |
< |
esac | |
| 14431 |
< |
sort |
| 14654 |
< |
) | |
| 14430 |
> |
esac; |
| 14431 |
> |
} | |
| 14432 |
|
sed ' |
| 14656 |
– |
/^ac_cv_env_/b end |
| 14433 |
|
t clear |
| 14434 |
< |
:clear |
| 14434 |
> |
: clear |
| 14435 |
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 14436 |
|
t end |
| 14437 |
< |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 14438 |
< |
:end' >>confcache |
| 14439 |
< |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 14440 |
< |
if test -w "$cache_file"; then |
| 14441 |
< |
test "x$cache_file" != "x/dev/null" && |
| 14666 |
< |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| 14667 |
< |
echo "$as_me: updating cache $cache_file" >&6;} |
| 14437 |
> |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 14438 |
> |
: end' >>confcache |
| 14439 |
> |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| 14440 |
> |
if test -w $cache_file; then |
| 14441 |
> |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| 14442 |
|
cat confcache >$cache_file |
| 14443 |
|
else |
| 14444 |
< |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 14671 |
< |
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 14444 |
> |
echo "not updating unwritable cache $cache_file" |
| 14445 |
|
fi |
| 14446 |
|
fi |
| 14447 |
|
rm -f confcache |
| 14450 |
|
# Let make expand exec_prefix. |
| 14451 |
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 14452 |
|
|
| 14453 |
+ |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 14454 |
+ |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 14455 |
+ |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 14456 |
+ |
# (actually we leave an empty line to preserve line numbers). |
| 14457 |
+ |
if test "x$srcdir" = x.; then |
| 14458 |
+ |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 14459 |
+ |
s/:*\$(srcdir):*/:/; |
| 14460 |
+ |
s/:*\${srcdir}:*/:/; |
| 14461 |
+ |
s/:*@srcdir@:*/:/; |
| 14462 |
+ |
s/^\([^=]*=[ ]*\):*/\1/; |
| 14463 |
+ |
s/:*$//; |
| 14464 |
+ |
s/^[^=]*=[ ]*$//; |
| 14465 |
+ |
}' |
| 14466 |
+ |
fi |
| 14467 |
+ |
|
| 14468 |
|
DEFS=-DHAVE_CONFIG_H |
| 14469 |
|
|
| 14470 |
|
ac_libobjs= |
| 14471 |
|
ac_ltlibobjs= |
| 14472 |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 14473 |
|
# 1. Remove the extension, and $U if already installed. |
| 14474 |
< |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 14475 |
< |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
| 14476 |
< |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 14477 |
< |
# will be set to the directory where LIBOBJS objects are built. |
| 14478 |
< |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 14691 |
< |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| 14474 |
> |
ac_i=`echo "$ac_i" | |
| 14475 |
> |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| 14476 |
> |
# 2. Add them. |
| 14477 |
> |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| 14478 |
> |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| 14479 |
|
done |
| 14480 |
|
LIBOBJS=$ac_libobjs |
| 14481 |
|
|
| 14506 |
|
## M4sh Initialization. ## |
| 14507 |
|
## --------------------- ## |
| 14508 |
|
|
| 14509 |
< |
# Be more Bourne compatible |
| 14723 |
< |
DUALCASE=1; export DUALCASE # for MKS sh |
| 14509 |
> |
# Be Bourne compatible |
| 14510 |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 14511 |
|
emulate sh |
| 14512 |
|
NULLCMD=: |
| 14513 |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 14514 |
|
# is contrary to our usage. Disable this feature. |
| 14515 |
|
alias -g '${1+"$@"}'='"$@"' |
| 14516 |
< |
setopt NO_GLOB_SUBST |
| 14517 |
< |
else |
| 14732 |
< |
case `(set -o) 2>/dev/null` in |
| 14733 |
< |
*posix*) set -o posix ;; |
| 14734 |
< |
esac |
| 14735 |
< |
|
| 14516 |
> |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 14517 |
> |
set -o posix |
| 14518 |
|
fi |
| 14519 |
+ |
DUALCASE=1; export DUALCASE # for MKS sh |
| 14520 |
|
|
| 14738 |
– |
|
| 14739 |
– |
|
| 14740 |
– |
|
| 14741 |
– |
# PATH needs CR |
| 14742 |
– |
# Avoid depending upon Character Ranges. |
| 14743 |
– |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 14744 |
– |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 14745 |
– |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 14746 |
– |
as_cr_digits='0123456789' |
| 14747 |
– |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 14748 |
– |
|
| 14749 |
– |
# The user is always right. |
| 14750 |
– |
if test "${PATH_SEPARATOR+set}" != set; then |
| 14751 |
– |
echo "#! /bin/sh" >conf$$.sh |
| 14752 |
– |
echo "exit 0" >>conf$$.sh |
| 14753 |
– |
chmod +x conf$$.sh |
| 14754 |
– |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 14755 |
– |
PATH_SEPARATOR=';' |
| 14756 |
– |
else |
| 14757 |
– |
PATH_SEPARATOR=: |
| 14758 |
– |
fi |
| 14759 |
– |
rm -f conf$$.sh |
| 14760 |
– |
fi |
| 14761 |
– |
|
| 14521 |
|
# Support unset when possible. |
| 14522 |
|
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 14523 |
|
as_unset=unset |
| 14526 |
|
fi |
| 14527 |
|
|
| 14528 |
|
|
| 14770 |
– |
# IFS |
| 14771 |
– |
# We need space, tab and new line, in precisely that order. Quoting is |
| 14772 |
– |
# there to prevent editors from complaining about space-tab. |
| 14773 |
– |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 14774 |
– |
# splitting by setting IFS to empty value.) |
| 14775 |
– |
as_nl=' |
| 14776 |
– |
' |
| 14777 |
– |
IFS=" "" $as_nl" |
| 14778 |
– |
|
| 14779 |
– |
# Find who we are. Look in the path if we contain no directory separator. |
| 14780 |
– |
case $0 in |
| 14781 |
– |
*[\\/]* ) as_myself=$0 ;; |
| 14782 |
– |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14783 |
– |
for as_dir in $PATH |
| 14784 |
– |
do |
| 14785 |
– |
IFS=$as_save_IFS |
| 14786 |
– |
test -z "$as_dir" && as_dir=. |
| 14787 |
– |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 14788 |
– |
done |
| 14789 |
– |
IFS=$as_save_IFS |
| 14790 |
– |
|
| 14791 |
– |
;; |
| 14792 |
– |
esac |
| 14793 |
– |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 14794 |
– |
# in which case we are not to be found in the path. |
| 14795 |
– |
if test "x$as_myself" = x; then |
| 14796 |
– |
as_myself=$0 |
| 14797 |
– |
fi |
| 14798 |
– |
if test ! -f "$as_myself"; then |
| 14799 |
– |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 14800 |
– |
{ (exit 1); exit 1; } |
| 14801 |
– |
fi |
| 14802 |
– |
|
| 14529 |
|
# Work around bugs in pre-3.0 UWIN ksh. |
| 14530 |
< |
for as_var in ENV MAIL MAILPATH |
| 14805 |
< |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 14806 |
< |
done |
| 14530 |
> |
$as_unset ENV MAIL MAILPATH |
| 14531 |
|
PS1='$ ' |
| 14532 |
|
PS2='> ' |
| 14533 |
|
PS4='+ ' |
| 14541 |
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 14542 |
|
eval $as_var=C; export $as_var |
| 14543 |
|
else |
| 14544 |
< |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 14544 |
> |
$as_unset $as_var |
| 14545 |
|
fi |
| 14546 |
|
done |
| 14547 |
|
|
| 14548 |
|
# Required to use basename. |
| 14549 |
< |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 14826 |
< |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 14549 |
> |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 14550 |
|
as_expr=expr |
| 14551 |
|
else |
| 14552 |
|
as_expr=false |
| 14553 |
|
fi |
| 14554 |
|
|
| 14555 |
< |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 14555 |
> |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 14556 |
|
as_basename=basename |
| 14557 |
|
else |
| 14558 |
|
as_basename=false |
| 14560 |
|
|
| 14561 |
|
|
| 14562 |
|
# Name of the executable. |
| 14563 |
< |
as_me=`$as_basename -- "$0" || |
| 14563 |
> |
as_me=`$as_basename "$0" || |
| 14564 |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 14565 |
|
X"$0" : 'X\(//\)$' \| \ |
| 14566 |
< |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 14566 |
> |
X"$0" : 'X\(/\)$' \| \ |
| 14567 |
> |
. : '\(.\)' 2>/dev/null || |
| 14568 |
|
echo X/"$0" | |
| 14569 |
< |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 14570 |
< |
s//\1/ |
| 14571 |
< |
q |
| 14572 |
< |
} |
| 14849 |
< |
/^X\/\(\/\/\)$/{ |
| 14850 |
< |
s//\1/ |
| 14851 |
< |
q |
| 14852 |
< |
} |
| 14853 |
< |
/^X\/\(\/\).*/{ |
| 14854 |
< |
s//\1/ |
| 14855 |
< |
q |
| 14856 |
< |
} |
| 14857 |
< |
s/.*/./; q'` |
| 14569 |
> |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 14570 |
> |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 14571 |
> |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 14572 |
> |
s/.*/./; q'` |
| 14573 |
|
|
| 14859 |
– |
# CDPATH. |
| 14860 |
– |
$as_unset CDPATH |
| 14574 |
|
|
| 14575 |
+ |
# PATH needs CR, and LINENO needs CR and PATH. |
| 14576 |
+ |
# Avoid depending upon Character Ranges. |
| 14577 |
+ |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 14578 |
+ |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 14579 |
+ |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 14580 |
+ |
as_cr_digits='0123456789' |
| 14581 |
+ |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 14582 |
|
|
| 14583 |
+ |
# The user is always right. |
| 14584 |
+ |
if test "${PATH_SEPARATOR+set}" != set; then |
| 14585 |
+ |
echo "#! /bin/sh" >conf$$.sh |
| 14586 |
+ |
echo "exit 0" >>conf$$.sh |
| 14587 |
+ |
chmod +x conf$$.sh |
| 14588 |
+ |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 14589 |
+ |
PATH_SEPARATOR=';' |
| 14590 |
+ |
else |
| 14591 |
+ |
PATH_SEPARATOR=: |
| 14592 |
+ |
fi |
| 14593 |
+ |
rm -f conf$$.sh |
| 14594 |
+ |
fi |
| 14595 |
|
|
| 14596 |
+ |
|
| 14597 |
|
as_lineno_1=$LINENO |
| 14598 |
|
as_lineno_2=$LINENO |
| 14599 |
+ |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 14600 |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 14601 |
< |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 14601 |
> |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 14602 |
> |
# Find who we are. Look in the path if we contain no path at all |
| 14603 |
> |
# relative or not. |
| 14604 |
> |
case $0 in |
| 14605 |
> |
*[\\/]* ) as_myself=$0 ;; |
| 14606 |
> |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14607 |
> |
for as_dir in $PATH |
| 14608 |
> |
do |
| 14609 |
> |
IFS=$as_save_IFS |
| 14610 |
> |
test -z "$as_dir" && as_dir=. |
| 14611 |
> |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 14612 |
> |
done |
| 14613 |
|
|
| 14614 |
+ |
;; |
| 14615 |
+ |
esac |
| 14616 |
+ |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 14617 |
+ |
# in which case we are not to be found in the path. |
| 14618 |
+ |
if test "x$as_myself" = x; then |
| 14619 |
+ |
as_myself=$0 |
| 14620 |
+ |
fi |
| 14621 |
+ |
if test ! -f "$as_myself"; then |
| 14622 |
+ |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
| 14623 |
+ |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
| 14624 |
+ |
{ (exit 1); exit 1; }; } |
| 14625 |
+ |
fi |
| 14626 |
+ |
case $CONFIG_SHELL in |
| 14627 |
+ |
'') |
| 14628 |
+ |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14629 |
+ |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 14630 |
+ |
do |
| 14631 |
+ |
IFS=$as_save_IFS |
| 14632 |
+ |
test -z "$as_dir" && as_dir=. |
| 14633 |
+ |
for as_base in sh bash ksh sh5; do |
| 14634 |
+ |
case $as_dir in |
| 14635 |
+ |
/*) |
| 14636 |
+ |
if ("$as_dir/$as_base" -c ' |
| 14637 |
+ |
as_lineno_1=$LINENO |
| 14638 |
+ |
as_lineno_2=$LINENO |
| 14639 |
+ |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 14640 |
+ |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 14641 |
+ |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 14642 |
+ |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 14643 |
+ |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 14644 |
+ |
CONFIG_SHELL=$as_dir/$as_base |
| 14645 |
+ |
export CONFIG_SHELL |
| 14646 |
+ |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 14647 |
+ |
fi;; |
| 14648 |
+ |
esac |
| 14649 |
+ |
done |
| 14650 |
+ |
done |
| 14651 |
+ |
;; |
| 14652 |
+ |
esac |
| 14653 |
+ |
|
| 14654 |
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 14655 |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
| 14656 |
< |
# line-number line after each line using $LINENO; the second 'sed' |
| 14657 |
< |
# does the real work. The second script uses 'N' to pair each |
| 14658 |
< |
# line-number line with the line containing $LINENO, and appends |
| 14659 |
< |
# trailing '-' during substitution so that $LINENO is not a special |
| 14875 |
< |
# case at line end. |
| 14656 |
> |
# line-number line before each line; the second 'sed' does the real |
| 14657 |
> |
# work. The second script uses 'N' to pair each line-number line |
| 14658 |
> |
# with the numbered line, and appends trailing '-' during |
| 14659 |
> |
# substitution so that $LINENO is not a special case at line end. |
| 14660 |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 14661 |
< |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
| 14662 |
< |
# E. McMahon (1931-1989) for sed's syntax. :-) |
| 14879 |
< |
sed -n ' |
| 14880 |
< |
p |
| 14881 |
< |
/[$]LINENO/= |
| 14882 |
< |
' <$as_myself | |
| 14661 |
> |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 14662 |
> |
sed '=' <$as_myself | |
| 14663 |
|
sed ' |
| 14884 |
– |
s/[$]LINENO.*/&-/ |
| 14885 |
– |
t lineno |
| 14886 |
– |
b |
| 14887 |
– |
:lineno |
| 14664 |
|
N |
| 14665 |
< |
:loop |
| 14666 |
< |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 14665 |
> |
s,$,-, |
| 14666 |
> |
: loop |
| 14667 |
> |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 14668 |
|
t loop |
| 14669 |
< |
s/-\n.*// |
| 14669 |
> |
s,-$,, |
| 14670 |
> |
s,^['$as_cr_digits']*\n,, |
| 14671 |
|
' >$as_me.lineno && |
| 14672 |
< |
chmod +x "$as_me.lineno" || |
| 14673 |
< |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 14672 |
> |
chmod +x $as_me.lineno || |
| 14673 |
> |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
| 14674 |
> |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
| 14675 |
|
{ (exit 1); exit 1; }; } |
| 14676 |
|
|
| 14677 |
|
# Don't try to exec as it changes $[0], causing all sort of problems |
| 14678 |
|
# (the dirname of $[0] is not the place where we might find the |
| 14679 |
< |
# original and so on. Autoconf is especially sensitive to this). |
| 14680 |
< |
. "./$as_me.lineno" |
| 14679 |
> |
# original and so on. Autoconf is especially sensible to this). |
| 14680 |
> |
. ./$as_me.lineno |
| 14681 |
|
# Exit status is that of the last command. |
| 14682 |
|
exit |
| 14683 |
|
} |
| 14684 |
|
|
| 14685 |
|
|
| 14686 |
< |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 14687 |
< |
as_dirname=dirname |
| 14688 |
< |
else |
| 14689 |
< |
as_dirname=false |
| 14690 |
< |
fi |
| 14912 |
< |
|
| 14913 |
< |
ECHO_C= ECHO_N= ECHO_T= |
| 14914 |
< |
case `echo -n x` in |
| 14915 |
< |
-n*) |
| 14916 |
< |
case `echo 'x\c'` in |
| 14917 |
< |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 14918 |
< |
*) ECHO_C='\c';; |
| 14919 |
< |
esac;; |
| 14920 |
< |
*) |
| 14921 |
< |
ECHO_N='-n';; |
| 14686 |
> |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 14687 |
> |
*c*,-n*) ECHO_N= ECHO_C=' |
| 14688 |
> |
' ECHO_T=' ' ;; |
| 14689 |
> |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 14690 |
> |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 14691 |
|
esac |
| 14692 |
|
|
| 14693 |
< |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 14925 |
< |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 14693 |
> |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 14694 |
|
as_expr=expr |
| 14695 |
|
else |
| 14696 |
|
as_expr=false |
| 14697 |
|
fi |
| 14698 |
|
|
| 14699 |
|
rm -f conf$$ conf$$.exe conf$$.file |
| 14932 |
– |
if test -d conf$$.dir; then |
| 14933 |
– |
rm -f conf$$.dir/conf$$.file |
| 14934 |
– |
else |
| 14935 |
– |
rm -f conf$$.dir |
| 14936 |
– |
mkdir conf$$.dir |
| 14937 |
– |
fi |
| 14700 |
|
echo >conf$$.file |
| 14701 |
|
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 14702 |
< |
as_ln_s='ln -s' |
| 14703 |
< |
# ... but there are two gotchas: |
| 14704 |
< |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 14705 |
< |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 14944 |
< |
# In both cases, we have to default to `cp -p'. |
| 14945 |
< |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 14702 |
> |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 14703 |
> |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 14704 |
> |
if test -f conf$$.exe; then |
| 14705 |
> |
# Don't use ln at all; we don't have any links |
| 14706 |
|
as_ln_s='cp -p' |
| 14707 |
+ |
else |
| 14708 |
+ |
as_ln_s='ln -s' |
| 14709 |
+ |
fi |
| 14710 |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 14711 |
|
as_ln_s=ln |
| 14712 |
|
else |
| 14713 |
|
as_ln_s='cp -p' |
| 14714 |
|
fi |
| 14715 |
< |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 14953 |
< |
rmdir conf$$.dir 2>/dev/null |
| 14715 |
> |
rm -f conf$$ conf$$.exe conf$$.file |
| 14716 |
|
|
| 14717 |
|
if mkdir -p . 2>/dev/null; then |
| 14718 |
|
as_mkdir_p=: |
| 14721 |
|
as_mkdir_p=false |
| 14722 |
|
fi |
| 14723 |
|
|
| 14724 |
< |
if test -x / >/dev/null 2>&1; then |
| 14963 |
< |
as_test_x='test -x' |
| 14964 |
< |
else |
| 14965 |
< |
if ls -dL / >/dev/null 2>&1; then |
| 14966 |
< |
as_ls_L_option=L |
| 14967 |
< |
else |
| 14968 |
< |
as_ls_L_option= |
| 14969 |
< |
fi |
| 14970 |
< |
as_test_x=' |
| 14971 |
< |
eval sh -c '\'' |
| 14972 |
< |
if test -d "$1"; then |
| 14973 |
< |
test -d "$1/."; |
| 14974 |
< |
else |
| 14975 |
< |
case $1 in |
| 14976 |
< |
-*)set "./$1";; |
| 14977 |
< |
esac; |
| 14978 |
< |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| 14979 |
< |
???[sx]*):;;*)false;;esac;fi |
| 14980 |
< |
'\'' sh |
| 14981 |
< |
' |
| 14982 |
< |
fi |
| 14983 |
< |
as_executable_p=$as_test_x |
| 14724 |
> |
as_executable_p="test -f" |
| 14725 |
|
|
| 14726 |
|
# Sed expression to map a string onto a valid CPP name. |
| 14727 |
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 14730 |
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 14731 |
|
|
| 14732 |
|
|
| 14733 |
+ |
# IFS |
| 14734 |
+ |
# We need space, tab and new line, in precisely that order. |
| 14735 |
+ |
as_nl=' |
| 14736 |
+ |
' |
| 14737 |
+ |
IFS=" $as_nl" |
| 14738 |
+ |
|
| 14739 |
+ |
# CDPATH. |
| 14740 |
+ |
$as_unset CDPATH |
| 14741 |
+ |
|
| 14742 |
|
exec 6>&1 |
| 14743 |
|
|
| 14744 |
< |
# Save the log message, to keep $[0] and so on meaningful, and to |
| 14744 |
> |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
| 14745 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 14746 |
< |
# values after options handling. |
| 14747 |
< |
ac_log=" |
| 14748 |
< |
This file was extended by OOPSE $as_me 3.0, which was |
| 14749 |
< |
generated by GNU Autoconf 2.61. Invocation command line was |
| 14746 |
> |
# values after options handling. Logging --version etc. is OK. |
| 14747 |
> |
exec 5>>config.log |
| 14748 |
> |
{ |
| 14749 |
> |
echo |
| 14750 |
> |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 14751 |
> |
## Running $as_me. ## |
| 14752 |
> |
_ASBOX |
| 14753 |
> |
} >&5 |
| 14754 |
> |
cat >&5 <<_CSEOF |
| 14755 |
|
|
| 14756 |
+ |
This file was extended by OOPSE $as_me 4.0, which was |
| 14757 |
+ |
generated by GNU Autoconf 2.59. Invocation command line was |
| 14758 |
+ |
|
| 14759 |
|
CONFIG_FILES = $CONFIG_FILES |
| 14760 |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
| 14761 |
|
CONFIG_LINKS = $CONFIG_LINKS |
| 14762 |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 14763 |
|
$ $0 $@ |
| 14764 |
|
|
| 14765 |
< |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 14766 |
< |
" |
| 14767 |
< |
|
| 14765 |
> |
_CSEOF |
| 14766 |
> |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
| 14767 |
> |
echo >&5 |
| 14768 |
|
_ACEOF |
| 14769 |
|
|
| 15012 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 14770 |
|
# Files that config.status was made for. |
| 14771 |
< |
config_files="$ac_config_files" |
| 14772 |
< |
config_headers="$ac_config_headers" |
| 14773 |
< |
config_links="$ac_config_links" |
| 14771 |
> |
if test -n "$ac_config_files"; then |
| 14772 |
> |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
| 14773 |
> |
fi |
| 14774 |
|
|
| 14775 |
< |
_ACEOF |
| 14775 |
> |
if test -n "$ac_config_headers"; then |
| 14776 |
> |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
| 14777 |
> |
fi |
| 14778 |
|
|
| 14779 |
+ |
if test -n "$ac_config_links"; then |
| 14780 |
+ |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
| 14781 |
+ |
fi |
| 14782 |
+ |
|
| 14783 |
+ |
if test -n "$ac_config_commands"; then |
| 14784 |
+ |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
| 14785 |
+ |
fi |
| 14786 |
+ |
|
| 14787 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 14788 |
+ |
|
| 14789 |
|
ac_cs_usage="\ |
| 14790 |
|
\`$as_me' instantiates files from templates according to the |
| 14791 |
|
current configuration. |
| 14793 |
|
Usage: $0 [OPTIONS] [FILE]... |
| 14794 |
|
|
| 14795 |
|
-h, --help print this help, then exit |
| 14796 |
< |
-V, --version print version number and configuration settings, then exit |
| 14796 |
> |
-V, --version print version number, then exit |
| 14797 |
|
-q, --quiet do not print progress messages |
| 14798 |
|
-d, --debug don't remove temporary files |
| 14799 |
|
--recheck update $as_me by reconfiguring in the same conditions |
| 14812 |
|
$config_links |
| 14813 |
|
|
| 14814 |
|
Report bugs to <bug-autoconf@gnu.org>." |
| 15047 |
– |
|
| 14815 |
|
_ACEOF |
| 14816 |
+ |
|
| 14817 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 14818 |
|
ac_cs_version="\\ |
| 14819 |
< |
OOPSE config.status 3.0 |
| 14820 |
< |
configured by $0, generated by GNU Autoconf 2.61, |
| 14821 |
< |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 14819 |
> |
OOPSE config.status 4.0 |
| 14820 |
> |
configured by $0, generated by GNU Autoconf 2.59, |
| 14821 |
> |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| 14822 |
|
|
| 14823 |
< |
Copyright (C) 2006 Free Software Foundation, Inc. |
| 14823 |
> |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 14824 |
|
This config.status script is free software; the Free Software Foundation |
| 14825 |
|
gives unlimited permission to copy, distribute and modify it." |
| 14826 |
< |
|
| 14827 |
< |
ac_pwd='$ac_pwd' |
| 15060 |
< |
srcdir='$srcdir' |
| 15061 |
< |
INSTALL='$INSTALL' |
| 14826 |
> |
srcdir=$srcdir |
| 14827 |
> |
INSTALL="$INSTALL" |
| 14828 |
|
_ACEOF |
| 14829 |
|
|
| 14830 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 14835 |
|
do |
| 14836 |
|
case $1 in |
| 14837 |
|
--*=*) |
| 14838 |
< |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 14839 |
< |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 14838 |
> |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| 14839 |
> |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| 14840 |
|
ac_shift=: |
| 14841 |
|
;; |
| 14842 |
< |
*) |
| 14842 |
> |
-*) |
| 14843 |
|
ac_option=$1 |
| 14844 |
|
ac_optarg=$2 |
| 14845 |
|
ac_shift=shift |
| 14846 |
|
;; |
| 14847 |
+ |
*) # This is not an option, so the user has probably given explicit |
| 14848 |
+ |
# arguments. |
| 14849 |
+ |
ac_option=$1 |
| 14850 |
+ |
ac_need_defaults=false;; |
| 14851 |
|
esac |
| 14852 |
|
|
| 14853 |
|
case $ac_option in |
| 14854 |
|
# Handling of the options. |
| 14855 |
+ |
_ACEOF |
| 14856 |
+ |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 14857 |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 14858 |
|
ac_cs_recheck=: ;; |
| 14859 |
< |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 14860 |
< |
echo "$ac_cs_version"; exit ;; |
| 14861 |
< |
--debug | --debu | --deb | --de | --d | -d ) |
| 14859 |
> |
--version | --vers* | -V ) |
| 14860 |
> |
echo "$ac_cs_version"; exit 0 ;; |
| 14861 |
> |
--he | --h) |
| 14862 |
> |
# Conflict between --help and --header |
| 14863 |
> |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
| 14864 |
> |
Try \`$0 --help' for more information." >&5 |
| 14865 |
> |
echo "$as_me: error: ambiguous option: $1 |
| 14866 |
> |
Try \`$0 --help' for more information." >&2;} |
| 14867 |
> |
{ (exit 1); exit 1; }; };; |
| 14868 |
> |
--help | --hel | -h ) |
| 14869 |
> |
echo "$ac_cs_usage"; exit 0 ;; |
| 14870 |
> |
--debug | --d* | -d ) |
| 14871 |
|
debug=: ;; |
| 14872 |
|
--file | --fil | --fi | --f ) |
| 14873 |
|
$ac_shift |
| 14877 |
|
$ac_shift |
| 14878 |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 14879 |
|
ac_need_defaults=false;; |
| 15099 |
– |
--he | --h) |
| 15100 |
– |
# Conflict between --help and --header |
| 15101 |
– |
{ echo "$as_me: error: ambiguous option: $1 |
| 15102 |
– |
Try \`$0 --help' for more information." >&2 |
| 15103 |
– |
{ (exit 1); exit 1; }; };; |
| 15104 |
– |
--help | --hel | -h ) |
| 15105 |
– |
echo "$ac_cs_usage"; exit ;; |
| 14880 |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 14881 |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 14882 |
|
ac_cs_silent=: ;; |
| 14883 |
|
|
| 14884 |
|
# This is an error. |
| 14885 |
< |
-*) { echo "$as_me: error: unrecognized option: $1 |
| 14886 |
< |
Try \`$0 --help' for more information." >&2 |
| 14885 |
> |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
| 14886 |
> |
Try \`$0 --help' for more information." >&5 |
| 14887 |
> |
echo "$as_me: error: unrecognized option: $1 |
| 14888 |
> |
Try \`$0 --help' for more information." >&2;} |
| 14889 |
|
{ (exit 1); exit 1; }; } ;; |
| 14890 |
|
|
| 14891 |
< |
*) ac_config_targets="$ac_config_targets $1" |
| 15116 |
< |
ac_need_defaults=false ;; |
| 14891 |
> |
*) ac_config_targets="$ac_config_targets $1" ;; |
| 14892 |
|
|
| 14893 |
|
esac |
| 14894 |
|
shift |
| 14904 |
|
_ACEOF |
| 14905 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 14906 |
|
if \$ac_cs_recheck; then |
| 14907 |
< |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 14908 |
< |
CONFIG_SHELL=$SHELL |
| 15134 |
< |
export CONFIG_SHELL |
| 15135 |
< |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 14907 |
> |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 14908 |
> |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 14909 |
|
fi |
| 14910 |
|
|
| 14911 |
|
_ACEOF |
| 15139 |
– |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15140 |
– |
exec 5>>config.log |
| 15141 |
– |
{ |
| 15142 |
– |
echo |
| 15143 |
– |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 15144 |
– |
## Running $as_me. ## |
| 15145 |
– |
_ASBOX |
| 15146 |
– |
echo "$ac_log" |
| 15147 |
– |
} >&5 |
| 14912 |
|
|
| 15149 |
– |
_ACEOF |
| 15150 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 15151 |
– |
_ACEOF |
| 14913 |
|
|
| 15153 |
– |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 14914 |
|
|
| 14915 |
< |
# Handling of arguments. |
| 14915 |
> |
|
| 14916 |
> |
|
| 14917 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 14918 |
|
for ac_config_target in $ac_config_targets |
| 14919 |
|
do |
| 14920 |
< |
case $ac_config_target in |
| 14921 |
< |
"src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
| 14922 |
< |
"src/getopt.h") CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
| 14923 |
< |
"make/Makefile") CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
| 14924 |
< |
"src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
| 14925 |
< |
"scripts/filepp") CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 14926 |
< |
|
| 14920 |
> |
case "$ac_config_target" in |
| 14921 |
> |
# Handling of arguments. |
| 14922 |
> |
"make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;; |
| 14923 |
> |
"src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; |
| 14924 |
> |
"src/math/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/math/Makefile" ;; |
| 14925 |
> |
"src/applications/staticProps/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/staticProps/Makefile" ;; |
| 14926 |
> |
"scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;; |
| 14927 |
> |
"src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;; |
| 14928 |
> |
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; |
| 14929 |
|
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 14930 |
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 14931 |
|
{ (exit 1); exit 1; }; };; |
| 14932 |
|
esac |
| 14933 |
|
done |
| 14934 |
|
|
| 15171 |
– |
|
| 14935 |
|
# If the user did not use the arguments to specify the items to instantiate, |
| 14936 |
|
# then the envvar interface is used. Set only those that are not. |
| 14937 |
|
# We use the long form for the default assignment because of an extremely |
| 14943 |
|
fi |
| 14944 |
|
|
| 14945 |
|
# Have a temporary directory for convenience. Make it in the build tree |
| 14946 |
< |
# simply because there is no reason against having it here, and in addition, |
| 14946 |
> |
# simply because there is no reason to put it here, and in addition, |
| 14947 |
|
# creating and moving files from /tmp can sometimes cause problems. |
| 14948 |
< |
# Hook for its removal unless debugging. |
| 15186 |
< |
# Note that there is a small window in which the directory will not be cleaned: |
| 15187 |
< |
# after its creation but before its name has been assigned to `$tmp'. |
| 14948 |
> |
# Create a temporary directory, and hook for its removal unless debugging. |
| 14949 |
|
$debug || |
| 14950 |
|
{ |
| 14951 |
< |
tmp= |
| 15191 |
< |
trap 'exit_status=$? |
| 15192 |
< |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| 15193 |
< |
' 0 |
| 14951 |
> |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| 14952 |
|
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 14953 |
|
} |
| 14954 |
+ |
|
| 14955 |
|
# Create a (secure) tmp directory for tmp files. |
| 14956 |
|
|
| 14957 |
|
{ |
| 14958 |
< |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 14958 |
> |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| 14959 |
|
test -n "$tmp" && test -d "$tmp" |
| 14960 |
|
} || |
| 14961 |
|
{ |
| 14962 |
< |
tmp=./conf$$-$RANDOM |
| 14963 |
< |
(umask 077 && mkdir "$tmp") |
| 14962 |
> |
tmp=./confstat$$-$RANDOM |
| 14963 |
> |
(umask 077 && mkdir $tmp) |
| 14964 |
|
} || |
| 14965 |
|
{ |
| 14966 |
|
echo "$me: cannot create a temporary directory in ." >&2 |
| 14967 |
|
{ (exit 1); exit 1; } |
| 14968 |
|
} |
| 14969 |
|
|
| 15211 |
– |
# |
| 15212 |
– |
# Set up the sed scripts for CONFIG_FILES section. |
| 15213 |
– |
# |
| 15214 |
– |
|
| 15215 |
– |
# No need to generate the scripts if there are no CONFIG_FILES. |
| 15216 |
– |
# This happens for instance when ./config.status config.h |
| 15217 |
– |
if test -n "$CONFIG_FILES"; then |
| 15218 |
– |
|
| 14970 |
|
_ACEOF |
| 14971 |
|
|
| 15221 |
– |
|
| 15222 |
– |
|
| 15223 |
– |
ac_delim='%!_!# ' |
| 15224 |
– |
for ac_last_try in false false false false false :; do |
| 15225 |
– |
cat >conf$$subs.sed <<_ACEOF |
| 15226 |
– |
SHELL!$SHELL$ac_delim |
| 15227 |
– |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
| 15228 |
– |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
| 15229 |
– |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
| 15230 |
– |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
| 15231 |
– |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
| 15232 |
– |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
| 15233 |
– |
exec_prefix!$exec_prefix$ac_delim |
| 15234 |
– |
prefix!$prefix$ac_delim |
| 15235 |
– |
program_transform_name!$program_transform_name$ac_delim |
| 15236 |
– |
bindir!$bindir$ac_delim |
| 15237 |
– |
sbindir!$sbindir$ac_delim |
| 15238 |
– |
libexecdir!$libexecdir$ac_delim |
| 15239 |
– |
datarootdir!$datarootdir$ac_delim |
| 15240 |
– |
datadir!$datadir$ac_delim |
| 15241 |
– |
sysconfdir!$sysconfdir$ac_delim |
| 15242 |
– |
sharedstatedir!$sharedstatedir$ac_delim |
| 15243 |
– |
localstatedir!$localstatedir$ac_delim |
| 15244 |
– |
includedir!$includedir$ac_delim |
| 15245 |
– |
oldincludedir!$oldincludedir$ac_delim |
| 15246 |
– |
docdir!$docdir$ac_delim |
| 15247 |
– |
infodir!$infodir$ac_delim |
| 15248 |
– |
htmldir!$htmldir$ac_delim |
| 15249 |
– |
dvidir!$dvidir$ac_delim |
| 15250 |
– |
pdfdir!$pdfdir$ac_delim |
| 15251 |
– |
psdir!$psdir$ac_delim |
| 15252 |
– |
libdir!$libdir$ac_delim |
| 15253 |
– |
localedir!$localedir$ac_delim |
| 15254 |
– |
mandir!$mandir$ac_delim |
| 15255 |
– |
DEFS!$DEFS$ac_delim |
| 15256 |
– |
ECHO_C!$ECHO_C$ac_delim |
| 15257 |
– |
ECHO_N!$ECHO_N$ac_delim |
| 15258 |
– |
ECHO_T!$ECHO_T$ac_delim |
| 15259 |
– |
LIBS!$LIBS$ac_delim |
| 15260 |
– |
build_alias!$build_alias$ac_delim |
| 15261 |
– |
host_alias!$host_alias$ac_delim |
| 15262 |
– |
target_alias!$target_alias$ac_delim |
| 15263 |
– |
build!$build$ac_delim |
| 15264 |
– |
build_cpu!$build_cpu$ac_delim |
| 15265 |
– |
build_vendor!$build_vendor$ac_delim |
| 15266 |
– |
build_os!$build_os$ac_delim |
| 15267 |
– |
host!$host$ac_delim |
| 15268 |
– |
host_cpu!$host_cpu$ac_delim |
| 15269 |
– |
host_vendor!$host_vendor$ac_delim |
| 15270 |
– |
host_os!$host_os$ac_delim |
| 15271 |
– |
PROGNAME!$PROGNAME$ac_delim |
| 15272 |
– |
debug!$debug$ac_delim |
| 15273 |
– |
USE_SINGLE_PRECISION!$USE_SINGLE_PRECISION$ac_delim |
| 15274 |
– |
CXX!$CXX$ac_delim |
| 15275 |
– |
CXXFLAGS!$CXXFLAGS$ac_delim |
| 15276 |
– |
LDFLAGS!$LDFLAGS$ac_delim |
| 15277 |
– |
CPPFLAGS!$CPPFLAGS$ac_delim |
| 15278 |
– |
ac_ct_CXX!$ac_ct_CXX$ac_delim |
| 15279 |
– |
EXEEXT!$EXEEXT$ac_delim |
| 15280 |
– |
OBJEXT!$OBJEXT$ac_delim |
| 15281 |
– |
CC!$CC$ac_delim |
| 15282 |
– |
CFLAGS!$CFLAGS$ac_delim |
| 15283 |
– |
ac_ct_CC!$ac_ct_CC$ac_delim |
| 15284 |
– |
FC!$FC$ac_delim |
| 15285 |
– |
FCFLAGS!$FCFLAGS$ac_delim |
| 15286 |
– |
ac_ct_FC!$ac_ct_FC$ac_delim |
| 15287 |
– |
CPP!$CPP$ac_delim |
| 15288 |
– |
GREP!$GREP$ac_delim |
| 15289 |
– |
EGREP!$EGREP$ac_delim |
| 15290 |
– |
LN_S!$LN_S$ac_delim |
| 15291 |
– |
SET_MAKE!$SET_MAKE$ac_delim |
| 15292 |
– |
RANLIB!$RANLIB$ac_delim |
| 15293 |
– |
PERLINTERP!$PERLINTERP$ac_delim |
| 15294 |
– |
PERL_SHEBANG!$PERL_SHEBANG$ac_delim |
| 15295 |
– |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
| 15296 |
– |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
| 15297 |
– |
INSTALL_DATA!$INSTALL_DATA$ac_delim |
| 15298 |
– |
AR!$AR$ac_delim |
| 15299 |
– |
PS!$PS$ac_delim |
| 15300 |
– |
FCFLAGS_F90!$FCFLAGS_F90$ac_delim |
| 15301 |
– |
FCFLAGS_SRCEXT!$FCFLAGS_SRCEXT$ac_delim |
| 15302 |
– |
PREPDEFFLAG!$PREPDEFFLAG$ac_delim |
| 15303 |
– |
FCLIBS!$FCLIBS$ac_delim |
| 15304 |
– |
FC_FUNC!$FC_FUNC$ac_delim |
| 15305 |
– |
FC_FUNC_!$FC_FUNC_$ac_delim |
| 15306 |
– |
MOD!$MOD$ac_delim |
| 15307 |
– |
F90_WORK_FILES_ARG!$F90_WORK_FILES_ARG$ac_delim |
| 15308 |
– |
MODDIRFLAG!$MODDIRFLAG$ac_delim |
| 15309 |
– |
F90MODINCSPEC!$F90MODINCSPEC$ac_delim |
| 15310 |
– |
F90_MODULE_NAMES!$F90_MODULE_NAMES$ac_delim |
| 15311 |
– |
ZLIB_INC_DIR!$ZLIB_INC_DIR$ac_delim |
| 15312 |
– |
ZLIB_LIB_DIR!$ZLIB_LIB_DIR$ac_delim |
| 15313 |
– |
ZLIB!$ZLIB$ac_delim |
| 15314 |
– |
FFTW_INC_DIR!$FFTW_INC_DIR$ac_delim |
| 15315 |
– |
FFTW_LIB_DIR!$FFTW_LIB_DIR$ac_delim |
| 15316 |
– |
FFTW_LIBS!$FFTW_LIBS$ac_delim |
| 15317 |
– |
LIBOBJS!$LIBOBJS$ac_delim |
| 15318 |
– |
POW_LIB!$POW_LIB$ac_delim |
| 15319 |
– |
CXXCPP!$CXXCPP$ac_delim |
| 15320 |
– |
__func__!$__func__$ac_delim |
| 15321 |
– |
MPI_LIB_DIR!$MPI_LIB_DIR$ac_delim |
| 15322 |
– |
MPI_INC_DIR!$MPI_INC_DIR$ac_delim |
| 15323 |
– |
_ACEOF |
| 15324 |
– |
|
| 15325 |
– |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
| 15326 |
– |
break |
| 15327 |
– |
elif $ac_last_try; then |
| 15328 |
– |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 15329 |
– |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 15330 |
– |
{ (exit 1); exit 1; }; } |
| 15331 |
– |
else |
| 15332 |
– |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 15333 |
– |
fi |
| 15334 |
– |
done |
| 15335 |
– |
|
| 15336 |
– |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 15337 |
– |
if test -n "$ac_eof"; then |
| 15338 |
– |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 15339 |
– |
ac_eof=`expr $ac_eof + 1` |
| 15340 |
– |
fi |
| 15341 |
– |
|
| 14972 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 15343 |
– |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
| 15344 |
– |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 15345 |
– |
_ACEOF |
| 15346 |
– |
sed ' |
| 15347 |
– |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 15348 |
– |
s/^/s,@/; s/!/@,|#_!!_#|/ |
| 15349 |
– |
:n |
| 15350 |
– |
t n |
| 15351 |
– |
s/'"$ac_delim"'$/,g/; t |
| 15352 |
– |
s/$/\\/; p |
| 15353 |
– |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 15354 |
– |
' >>$CONFIG_STATUS <conf$$subs.sed |
| 15355 |
– |
rm -f conf$$subs.sed |
| 15356 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 15357 |
– |
CEOF$ac_eof |
| 15358 |
– |
_ACEOF |
| 14973 |
|
|
| 14974 |
+ |
# |
| 14975 |
+ |
# CONFIG_FILES section. |
| 14976 |
+ |
# |
| 14977 |
|
|
| 14978 |
< |
ac_delim='%!_!# ' |
| 14979 |
< |
for ac_last_try in false false false false false :; do |
| 14980 |
< |
cat >conf$$subs.sed <<_ACEOF |
| 14981 |
< |
MPI_F90_INC!$MPI_F90_INC$ac_delim |
| 14982 |
< |
MPI_LIB!$MPI_LIB$ac_delim |
| 14983 |
< |
MPI_F90_LIB!$MPI_F90_LIB$ac_delim |
| 14984 |
< |
USE_MPI!$USE_MPI$ac_delim |
| 14985 |
< |
DOXYGEN!$DOXYGEN$ac_delim |
| 14986 |
< |
DOT!$DOT$ac_delim |
| 14987 |
< |
DOC!$DOC$ac_delim |
| 14988 |
< |
enable_dot!$enable_dot$ac_delim |
| 14989 |
< |
enable_html_docs!$enable_html_docs$ac_delim |
| 14990 |
< |
enable_latex_docs!$enable_latex_docs$ac_delim |
| 14991 |
< |
BATEXT!$BATEXT$ac_delim |
| 14992 |
< |
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim |
| 14993 |
< |
OOPSE!$OOPSE$ac_delim |
| 14994 |
< |
OOPSE_HOME!$OOPSE_HOME$ac_delim |
| 14995 |
< |
SUBDIRS!$SUBDIRS$ac_delim |
| 14996 |
< |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
| 14997 |
< |
_ACEOF |
| 14998 |
< |
|
| 14999 |
< |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then |
| 15000 |
< |
break |
| 15001 |
< |
elif $ac_last_try; then |
| 15002 |
< |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 15003 |
< |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 15004 |
< |
{ (exit 1); exit 1; }; } |
| 15005 |
< |
else |
| 15006 |
< |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 15007 |
< |
fi |
| 15008 |
< |
done |
| 15009 |
< |
|
| 15010 |
< |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
| 15011 |
< |
if test -n "$ac_eof"; then |
| 15012 |
< |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
| 15013 |
< |
ac_eof=`expr $ac_eof + 1` |
| 15014 |
< |
fi |
| 14978 |
> |
# No need to generate the scripts if there are no CONFIG_FILES. |
| 14979 |
> |
# This happens for instance when ./config.status config.h |
| 14980 |
> |
if test -n "\$CONFIG_FILES"; then |
| 14981 |
> |
# Protect against being on the right side of a sed subst in config.status. |
| 14982 |
> |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
| 14983 |
> |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
| 14984 |
> |
s,@SHELL@,$SHELL,;t t |
| 14985 |
> |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
| 14986 |
> |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
| 14987 |
> |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
| 14988 |
> |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
| 14989 |
> |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
| 14990 |
> |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
| 14991 |
> |
s,@exec_prefix@,$exec_prefix,;t t |
| 14992 |
> |
s,@prefix@,$prefix,;t t |
| 14993 |
> |
s,@program_transform_name@,$program_transform_name,;t t |
| 14994 |
> |
s,@bindir@,$bindir,;t t |
| 14995 |
> |
s,@sbindir@,$sbindir,;t t |
| 14996 |
> |
s,@libexecdir@,$libexecdir,;t t |
| 14997 |
> |
s,@datadir@,$datadir,;t t |
| 14998 |
> |
s,@sysconfdir@,$sysconfdir,;t t |
| 14999 |
> |
s,@sharedstatedir@,$sharedstatedir,;t t |
| 15000 |
> |
s,@localstatedir@,$localstatedir,;t t |
| 15001 |
> |
s,@libdir@,$libdir,;t t |
| 15002 |
> |
s,@includedir@,$includedir,;t t |
| 15003 |
> |
s,@oldincludedir@,$oldincludedir,;t t |
| 15004 |
> |
s,@infodir@,$infodir,;t t |
| 15005 |
> |
s,@mandir@,$mandir,;t t |
| 15006 |
> |
s,@build_alias@,$build_alias,;t t |
| 15007 |
> |
s,@host_alias@,$host_alias,;t t |
| 15008 |
> |
s,@target_alias@,$target_alias,;t t |
| 15009 |
> |
s,@DEFS@,$DEFS,;t t |
| 15010 |
> |
s,@ECHO_C@,$ECHO_C,;t t |
| 15011 |
> |
s,@ECHO_N@,$ECHO_N,;t t |
| 15012 |
> |
s,@ECHO_T@,$ECHO_T,;t t |
| 15013 |
> |
s,@LIBS@,$LIBS,;t t |
| 15014 |
> |
s,@build@,$build,;t t |
| 15015 |
> |
s,@build_cpu@,$build_cpu,;t t |
| 15016 |
> |
s,@build_vendor@,$build_vendor,;t t |
| 15017 |
> |
s,@build_os@,$build_os,;t t |
| 15018 |
> |
s,@host@,$host,;t t |
| 15019 |
> |
s,@host_cpu@,$host_cpu,;t t |
| 15020 |
> |
s,@host_vendor@,$host_vendor,;t t |
| 15021 |
> |
s,@host_os@,$host_os,;t t |
| 15022 |
> |
s,@PROGNAME@,$PROGNAME,;t t |
| 15023 |
> |
s,@debug@,$debug,;t t |
| 15024 |
> |
s,@USE_SINGLE_PRECISION@,$USE_SINGLE_PRECISION,;t t |
| 15025 |
> |
s,@CXX@,$CXX,;t t |
| 15026 |
> |
s,@CXXFLAGS@,$CXXFLAGS,;t t |
| 15027 |
> |
s,@LDFLAGS@,$LDFLAGS,;t t |
| 15028 |
> |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 15029 |
> |
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
| 15030 |
> |
s,@EXEEXT@,$EXEEXT,;t t |
| 15031 |
> |
s,@OBJEXT@,$OBJEXT,;t t |
| 15032 |
> |
s,@CC@,$CC,;t t |
| 15033 |
> |
s,@CFLAGS@,$CFLAGS,;t t |
| 15034 |
> |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 15035 |
> |
s,@FC@,$FC,;t t |
| 15036 |
> |
s,@FCFLAGS@,$FCFLAGS,;t t |
| 15037 |
> |
s,@ac_ct_FC@,$ac_ct_FC,;t t |
| 15038 |
> |
s,@CPP@,$CPP,;t t |
| 15039 |
> |
s,@EGREP@,$EGREP,;t t |
| 15040 |
> |
s,@LN_S@,$LN_S,;t t |
| 15041 |
> |
s,@SET_MAKE@,$SET_MAKE,;t t |
| 15042 |
> |
s,@RANLIB@,$RANLIB,;t t |
| 15043 |
> |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
| 15044 |
> |
s,@PERLINTERP@,$PERLINTERP,;t t |
| 15045 |
> |
s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t |
| 15046 |
> |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 15047 |
> |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 15048 |
> |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 15049 |
> |
s,@AR@,$AR,;t t |
| 15050 |
> |
s,@PS@,$PS,;t t |
| 15051 |
> |
s,@FCFLAGS_F90@,$FCFLAGS_F90,;t t |
| 15052 |
> |
s,@FCFLAGS_SRCEXT@,$FCFLAGS_SRCEXT,;t t |
| 15053 |
> |
s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t |
| 15054 |
> |
s,@FCLIBS@,$FCLIBS,;t t |
| 15055 |
> |
s,@FC_FUNC@,$FC_FUNC,;t t |
| 15056 |
> |
s,@FC_FUNC_@,$FC_FUNC_,;t t |
| 15057 |
> |
s,@MOD@,$MOD,;t t |
| 15058 |
> |
s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t |
| 15059 |
> |
s,@MODDIRFLAG@,$MODDIRFLAG,;t t |
| 15060 |
> |
s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t |
| 15061 |
> |
s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t |
| 15062 |
> |
s,@ZLIB_INC_DIR@,$ZLIB_INC_DIR,;t t |
| 15063 |
> |
s,@ZLIB_LIB_DIR@,$ZLIB_LIB_DIR,;t t |
| 15064 |
> |
s,@ZLIB@,$ZLIB,;t t |
| 15065 |
> |
s,@FFTW_INC_DIR@,$FFTW_INC_DIR,;t t |
| 15066 |
> |
s,@FFTW_LIB_DIR@,$FFTW_LIB_DIR,;t t |
| 15067 |
> |
s,@FFTW_LIBS@,$FFTW_LIBS,;t t |
| 15068 |
> |
s,@LIBOBJS@,$LIBOBJS,;t t |
| 15069 |
> |
s,@POW_LIB@,$POW_LIB,;t t |
| 15070 |
> |
s,@CXXCPP@,$CXXCPP,;t t |
| 15071 |
> |
s,@__func__@,$__func__,;t t |
| 15072 |
> |
s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t |
| 15073 |
> |
s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t |
| 15074 |
> |
s,@MPI_F90_INC@,$MPI_F90_INC,;t t |
| 15075 |
> |
s,@MPI_LIB@,$MPI_LIB,;t t |
| 15076 |
> |
s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t |
| 15077 |
> |
s,@USE_MPI@,$USE_MPI,;t t |
| 15078 |
> |
s,@USE_CGAL@,$USE_CGAL,;t t |
| 15079 |
> |
s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t |
| 15080 |
> |
s,@CGAL_LDFLAGS@,$CGAL_LDFLAGS,;t t |
| 15081 |
> |
s,@CGAL_CPPFLAGS@,$CGAL_CPPFLAGS,;t t |
| 15082 |
> |
s,@CGAL_LIBS@,$CGAL_LIBS,;t t |
| 15083 |
> |
s,@DOXYGEN@,$DOXYGEN,;t t |
| 15084 |
> |
s,@DOT@,$DOT,;t t |
| 15085 |
> |
s,@DOC@,$DOC,;t t |
| 15086 |
> |
s,@enable_dot@,$enable_dot,;t t |
| 15087 |
> |
s,@enable_html_docs@,$enable_html_docs,;t t |
| 15088 |
> |
s,@enable_latex_docs@,$enable_latex_docs,;t t |
| 15089 |
> |
s,@BATEXT@,$BATEXT,;t t |
| 15090 |
> |
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t |
| 15091 |
> |
s,@OOPSE@,$OOPSE,;t t |
| 15092 |
> |
s,@OOPSE_HOME@,$OOPSE_HOME,;t t |
| 15093 |
> |
s,@SUBDIRS@,$SUBDIRS,;t t |
| 15094 |
> |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| 15095 |
> |
CEOF |
| 15096 |
|
|
| 15399 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 15400 |
– |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
| 15401 |
– |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
| 15097 |
|
_ACEOF |
| 15403 |
– |
sed ' |
| 15404 |
– |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
| 15405 |
– |
s/^/s,@/; s/!/@,|#_!!_#|/ |
| 15406 |
– |
:n |
| 15407 |
– |
t n |
| 15408 |
– |
s/'"$ac_delim"'$/,g/; t |
| 15409 |
– |
s/$/\\/; p |
| 15410 |
– |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
| 15411 |
– |
' >>$CONFIG_STATUS <conf$$subs.sed |
| 15412 |
– |
rm -f conf$$subs.sed |
| 15413 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 15414 |
– |
:end |
| 15415 |
– |
s/|#_!!_#|//g |
| 15416 |
– |
CEOF$ac_eof |
| 15417 |
– |
_ACEOF |
| 15098 |
|
|
| 15099 |
< |
|
| 15100 |
< |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| 15101 |
< |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| 15102 |
< |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 15103 |
< |
# (actually we leave an empty line to preserve line numbers). |
| 15104 |
< |
if test "x$srcdir" = x.; then |
| 15105 |
< |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| 15106 |
< |
s/:*\$(srcdir):*/:/ |
| 15107 |
< |
s/:*\${srcdir}:*/:/ |
| 15108 |
< |
s/:*@srcdir@:*/:/ |
| 15109 |
< |
s/^\([^=]*=[ ]*\):*/\1/ |
| 15110 |
< |
s/:*$// |
| 15111 |
< |
s/^[^=]*=[ ]*$// |
| 15112 |
< |
}' |
| 15113 |
< |
fi |
| 15114 |
< |
|
| 15115 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15099 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15100 |
> |
# Split the substitutions into bite-sized pieces for seds with |
| 15101 |
> |
# small command number limits, like on Digital OSF/1 and HP-UX. |
| 15102 |
> |
ac_max_sed_lines=48 |
| 15103 |
> |
ac_sed_frag=1 # Number of current file. |
| 15104 |
> |
ac_beg=1 # First line for current file. |
| 15105 |
> |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
| 15106 |
> |
ac_more_lines=: |
| 15107 |
> |
ac_sed_cmds= |
| 15108 |
> |
while $ac_more_lines; do |
| 15109 |
> |
if test $ac_beg -gt 1; then |
| 15110 |
> |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 15111 |
> |
else |
| 15112 |
> |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| 15113 |
> |
fi |
| 15114 |
> |
if test ! -s $tmp/subs.frag; then |
| 15115 |
> |
ac_more_lines=false |
| 15116 |
> |
else |
| 15117 |
> |
# The purpose of the label and of the branching condition is to |
| 15118 |
> |
# speed up the sed processing (if there are no `@' at all, there |
| 15119 |
> |
# is no need to browse any of the substitutions). |
| 15120 |
> |
# These are the two extra sed commands mentioned above. |
| 15121 |
> |
(echo ':t |
| 15122 |
> |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| 15123 |
> |
if test -z "$ac_sed_cmds"; then |
| 15124 |
> |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| 15125 |
> |
else |
| 15126 |
> |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| 15127 |
> |
fi |
| 15128 |
> |
ac_sed_frag=`expr $ac_sed_frag + 1` |
| 15129 |
> |
ac_beg=$ac_end |
| 15130 |
> |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
| 15131 |
> |
fi |
| 15132 |
> |
done |
| 15133 |
> |
if test -z "$ac_sed_cmds"; then |
| 15134 |
> |
ac_sed_cmds=cat |
| 15135 |
> |
fi |
| 15136 |
|
fi # test -n "$CONFIG_FILES" |
| 15137 |
|
|
| 15138 |
< |
|
| 15139 |
< |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS |
| 15140 |
< |
do |
| 15141 |
< |
case $ac_tag in |
| 15142 |
< |
:[FHLC]) ac_mode=$ac_tag; continue;; |
| 15138 |
> |
_ACEOF |
| 15139 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15140 |
> |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
| 15141 |
> |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 15142 |
> |
case $ac_file in |
| 15143 |
> |
- | *:- | *:-:* ) # input from stdin |
| 15144 |
> |
cat >$tmp/stdin |
| 15145 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 15146 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 15147 |
> |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 15148 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 15149 |
> |
* ) ac_file_in=$ac_file.in ;; |
| 15150 |
|
esac |
| 15444 |
– |
case $ac_mode$ac_tag in |
| 15445 |
– |
:[FHL]*:*);; |
| 15446 |
– |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
| 15447 |
– |
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
| 15448 |
– |
{ (exit 1); exit 1; }; };; |
| 15449 |
– |
:[FH]-) ac_tag=-:-;; |
| 15450 |
– |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 15451 |
– |
esac |
| 15452 |
– |
ac_save_IFS=$IFS |
| 15453 |
– |
IFS=: |
| 15454 |
– |
set x $ac_tag |
| 15455 |
– |
IFS=$ac_save_IFS |
| 15456 |
– |
shift |
| 15457 |
– |
ac_file=$1 |
| 15458 |
– |
shift |
| 15151 |
|
|
| 15152 |
< |
case $ac_mode in |
| 15153 |
< |
:L) ac_source=$1;; |
| 15462 |
< |
:[FH]) |
| 15463 |
< |
ac_file_inputs= |
| 15464 |
< |
for ac_f |
| 15465 |
< |
do |
| 15466 |
< |
case $ac_f in |
| 15467 |
< |
-) ac_f="$tmp/stdin";; |
| 15468 |
< |
*) # Look for the file first in the build tree, then in the source tree |
| 15469 |
< |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 15470 |
< |
# because $ac_f cannot contain `:'. |
| 15471 |
< |
test -f "$ac_f" || |
| 15472 |
< |
case $ac_f in |
| 15473 |
< |
[\\/$]*) false;; |
| 15474 |
< |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 15475 |
< |
esac || |
| 15476 |
< |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| 15477 |
< |
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| 15478 |
< |
{ (exit 1); exit 1; }; };; |
| 15479 |
< |
esac |
| 15480 |
< |
ac_file_inputs="$ac_file_inputs $ac_f" |
| 15481 |
< |
done |
| 15482 |
< |
|
| 15483 |
< |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 15484 |
< |
# use $as_me), people would be surprised to read: |
| 15485 |
< |
# /* config.h. Generated by config.status. */ |
| 15486 |
< |
configure_input="Generated from "`IFS=: |
| 15487 |
< |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
| 15488 |
< |
if test x"$ac_file" != x-; then |
| 15489 |
< |
configure_input="$ac_file. $configure_input" |
| 15490 |
< |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 15491 |
< |
echo "$as_me: creating $ac_file" >&6;} |
| 15492 |
< |
fi |
| 15493 |
< |
|
| 15494 |
< |
case $ac_tag in |
| 15495 |
< |
*:-:* | *:-) cat >"$tmp/stdin";; |
| 15496 |
< |
esac |
| 15497 |
< |
;; |
| 15498 |
< |
esac |
| 15499 |
< |
|
| 15500 |
< |
ac_dir=`$as_dirname -- "$ac_file" || |
| 15152 |
> |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| 15153 |
> |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 15154 |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 15155 |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 15156 |
|
X"$ac_file" : 'X\(//\)$' \| \ |
| 15157 |
< |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 15157 |
> |
X"$ac_file" : 'X\(/\)' \| \ |
| 15158 |
> |
. : '\(.\)' 2>/dev/null || |
| 15159 |
|
echo X"$ac_file" | |
| 15160 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 15161 |
< |
s//\1/ |
| 15162 |
< |
q |
| 15163 |
< |
} |
| 15164 |
< |
/^X\(\/\/\)[^/].*/{ |
| 15165 |
< |
s//\1/ |
| 15166 |
< |
q |
| 15167 |
< |
} |
| 15168 |
< |
/^X\(\/\/\)$/{ |
| 15515 |
< |
s//\1/ |
| 15516 |
< |
q |
| 15517 |
< |
} |
| 15518 |
< |
/^X\(\/\).*/{ |
| 15519 |
< |
s//\1/ |
| 15520 |
< |
q |
| 15521 |
< |
} |
| 15522 |
< |
s/.*/./; q'` |
| 15523 |
< |
{ as_dir="$ac_dir" |
| 15524 |
< |
case $as_dir in #( |
| 15525 |
< |
-*) as_dir=./$as_dir;; |
| 15526 |
< |
esac |
| 15527 |
< |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| 15160 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 15161 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 15162 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 15163 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
| 15164 |
> |
s/.*/./; q'` |
| 15165 |
> |
{ if $as_mkdir_p; then |
| 15166 |
> |
mkdir -p "$ac_dir" |
| 15167 |
> |
else |
| 15168 |
> |
as_dir="$ac_dir" |
| 15169 |
|
as_dirs= |
| 15170 |
< |
while :; do |
| 15171 |
< |
case $as_dir in #( |
| 15172 |
< |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
| 15532 |
< |
*) as_qdir=$as_dir;; |
| 15533 |
< |
esac |
| 15534 |
< |
as_dirs="'$as_qdir' $as_dirs" |
| 15535 |
< |
as_dir=`$as_dirname -- "$as_dir" || |
| 15170 |
> |
while test ! -d "$as_dir"; do |
| 15171 |
> |
as_dirs="$as_dir $as_dirs" |
| 15172 |
> |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 15173 |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 15174 |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 15175 |
|
X"$as_dir" : 'X\(//\)$' \| \ |
| 15176 |
< |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 15176 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 15177 |
> |
. : '\(.\)' 2>/dev/null || |
| 15178 |
|
echo X"$as_dir" | |
| 15179 |
< |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 15180 |
< |
s//\1/ |
| 15181 |
< |
q |
| 15182 |
< |
} |
| 15183 |
< |
/^X\(\/\/\)[^/].*/{ |
| 15546 |
< |
s//\1/ |
| 15547 |
< |
q |
| 15548 |
< |
} |
| 15549 |
< |
/^X\(\/\/\)$/{ |
| 15550 |
< |
s//\1/ |
| 15551 |
< |
q |
| 15552 |
< |
} |
| 15553 |
< |
/^X\(\/\).*/{ |
| 15554 |
< |
s//\1/ |
| 15555 |
< |
q |
| 15556 |
< |
} |
| 15557 |
< |
s/.*/./; q'` |
| 15558 |
< |
test -d "$as_dir" && break |
| 15179 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 15180 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 15181 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 15182 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
| 15183 |
> |
s/.*/./; q'` |
| 15184 |
|
done |
| 15185 |
< |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 15186 |
< |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 15187 |
< |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 15185 |
> |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 15186 |
> |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 15187 |
> |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 15188 |
|
{ (exit 1); exit 1; }; }; } |
| 15189 |
+ |
|
| 15190 |
|
ac_builddir=. |
| 15191 |
|
|
| 15192 |
< |
case "$ac_dir" in |
| 15567 |
< |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 15568 |
< |
*) |
| 15192 |
> |
if test "$ac_dir" != .; then |
| 15193 |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 15194 |
< |
# A ".." for each directory in $ac_dir_suffix. |
| 15195 |
< |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 15196 |
< |
case $ac_top_builddir_sub in |
| 15197 |
< |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 15198 |
< |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 15575 |
< |
esac ;; |
| 15576 |
< |
esac |
| 15577 |
< |
ac_abs_top_builddir=$ac_pwd |
| 15578 |
< |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 15579 |
< |
# for backward compatibility: |
| 15580 |
< |
ac_top_builddir=$ac_top_build_prefix |
| 15194 |
> |
# A "../" for each directory in $ac_dir_suffix. |
| 15195 |
> |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 15196 |
> |
else |
| 15197 |
> |
ac_dir_suffix= ac_top_builddir= |
| 15198 |
> |
fi |
| 15199 |
|
|
| 15200 |
|
case $srcdir in |
| 15201 |
< |
.) # We are building in place. |
| 15201 |
> |
.) # No --srcdir option. We are building in place. |
| 15202 |
|
ac_srcdir=. |
| 15203 |
< |
ac_top_srcdir=$ac_top_builddir_sub |
| 15204 |
< |
ac_abs_top_srcdir=$ac_pwd ;; |
| 15205 |
< |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 15203 |
> |
if test -z "$ac_top_builddir"; then |
| 15204 |
> |
ac_top_srcdir=. |
| 15205 |
> |
else |
| 15206 |
> |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 15207 |
> |
fi ;; |
| 15208 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 15209 |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
| 15210 |
< |
ac_top_srcdir=$srcdir |
| 15211 |
< |
ac_abs_top_srcdir=$srcdir ;; |
| 15212 |
< |
*) # Relative name. |
| 15213 |
< |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 15593 |
< |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 15594 |
< |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 15210 |
> |
ac_top_srcdir=$srcdir ;; |
| 15211 |
> |
*) # Relative path. |
| 15212 |
> |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 15213 |
> |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 15214 |
|
esac |
| 15596 |
– |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 15215 |
|
|
| 15216 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 15217 |
+ |
# the directories may not exist. |
| 15218 |
+ |
case `pwd` in |
| 15219 |
+ |
.) ac_abs_builddir="$ac_dir";; |
| 15220 |
+ |
*) |
| 15221 |
+ |
case "$ac_dir" in |
| 15222 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 15223 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 15224 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 15225 |
+ |
esac;; |
| 15226 |
+ |
esac |
| 15227 |
+ |
case $ac_abs_builddir in |
| 15228 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 15229 |
+ |
*) |
| 15230 |
+ |
case ${ac_top_builddir}. in |
| 15231 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 15232 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 15233 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 15234 |
+ |
esac;; |
| 15235 |
+ |
esac |
| 15236 |
+ |
case $ac_abs_builddir in |
| 15237 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 15238 |
+ |
*) |
| 15239 |
+ |
case $ac_srcdir in |
| 15240 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 15241 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 15242 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 15243 |
+ |
esac;; |
| 15244 |
+ |
esac |
| 15245 |
+ |
case $ac_abs_builddir in |
| 15246 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 15247 |
+ |
*) |
| 15248 |
+ |
case $ac_top_srcdir in |
| 15249 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 15250 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 15251 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 15252 |
+ |
esac;; |
| 15253 |
+ |
esac |
| 15254 |
|
|
| 15599 |
– |
case $ac_mode in |
| 15600 |
– |
:F) |
| 15601 |
– |
# |
| 15602 |
– |
# CONFIG_FILE |
| 15603 |
– |
# |
| 15255 |
|
|
| 15256 |
|
case $INSTALL in |
| 15257 |
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 15258 |
< |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 15258 |
> |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
| 15259 |
|
esac |
| 15609 |
– |
_ACEOF |
| 15260 |
|
|
| 15261 |
< |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15262 |
< |
# If the template does not know about datarootdir, expand it. |
| 15263 |
< |
# FIXME: This hack should be removed a few years after 2.60. |
| 15264 |
< |
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 15261 |
> |
if test x"$ac_file" != x-; then |
| 15262 |
> |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 15263 |
> |
echo "$as_me: creating $ac_file" >&6;} |
| 15264 |
> |
rm -f "$ac_file" |
| 15265 |
> |
fi |
| 15266 |
> |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 15267 |
> |
# use $as_me), people would be surprised to read: |
| 15268 |
> |
# /* config.h. Generated by config.status. */ |
| 15269 |
> |
if test x"$ac_file" = x-; then |
| 15270 |
> |
configure_input= |
| 15271 |
> |
else |
| 15272 |
> |
configure_input="$ac_file. " |
| 15273 |
> |
fi |
| 15274 |
> |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
| 15275 |
> |
sed 's,.*/,,'` by configure." |
| 15276 |
|
|
| 15277 |
< |
case `sed -n '/datarootdir/ { |
| 15278 |
< |
p |
| 15279 |
< |
q |
| 15280 |
< |
} |
| 15281 |
< |
/@datadir@/p |
| 15282 |
< |
/@docdir@/p |
| 15283 |
< |
/@infodir@/p |
| 15284 |
< |
/@localedir@/p |
| 15285 |
< |
/@mandir@/p |
| 15286 |
< |
' $ac_file_inputs` in |
| 15287 |
< |
*datarootdir*) ac_datarootdir_seen=yes;; |
| 15288 |
< |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 15289 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 15290 |
< |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 15277 |
> |
# First look for the input files in the build tree, otherwise in the |
| 15278 |
> |
# src tree. |
| 15279 |
> |
ac_file_inputs=`IFS=: |
| 15280 |
> |
for f in $ac_file_in; do |
| 15281 |
> |
case $f in |
| 15282 |
> |
-) echo $tmp/stdin ;; |
| 15283 |
> |
[\\/$]*) |
| 15284 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 15285 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 15286 |
> |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 15287 |
> |
{ (exit 1); exit 1; }; } |
| 15288 |
> |
echo "$f";; |
| 15289 |
> |
*) # Relative |
| 15290 |
> |
if test -f "$f"; then |
| 15291 |
> |
# Build tree |
| 15292 |
> |
echo "$f" |
| 15293 |
> |
elif test -f "$srcdir/$f"; then |
| 15294 |
> |
# Source tree |
| 15295 |
> |
echo "$srcdir/$f" |
| 15296 |
> |
else |
| 15297 |
> |
# /dev/null tree |
| 15298 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 15299 |
> |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 15300 |
> |
{ (exit 1); exit 1; }; } |
| 15301 |
> |
fi;; |
| 15302 |
> |
esac |
| 15303 |
> |
done` || { (exit 1); exit 1; } |
| 15304 |
|
_ACEOF |
| 15305 |
|
cat >>$CONFIG_STATUS <<_ACEOF |
| 15632 |
– |
ac_datarootdir_hack=' |
| 15633 |
– |
s&@datadir@&$datadir&g |
| 15634 |
– |
s&@docdir@&$docdir&g |
| 15635 |
– |
s&@infodir@&$infodir&g |
| 15636 |
– |
s&@localedir@&$localedir&g |
| 15637 |
– |
s&@mandir@&$mandir&g |
| 15638 |
– |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 15639 |
– |
esac |
| 15640 |
– |
_ACEOF |
| 15641 |
– |
|
| 15642 |
– |
# Neutralize VPATH when `$srcdir' = `.'. |
| 15643 |
– |
# Shell code in configure.ac might set extrasub. |
| 15644 |
– |
# FIXME: do we really want to maintain this feature? |
| 15645 |
– |
cat >>$CONFIG_STATUS <<_ACEOF |
| 15306 |
|
sed "$ac_vpsub |
| 15307 |
|
$extrasub |
| 15308 |
|
_ACEOF |
| 15309 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15310 |
|
:t |
| 15311 |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 15312 |
< |
s&@configure_input@&$configure_input&;t t |
| 15313 |
< |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 15314 |
< |
s&@srcdir@&$ac_srcdir&;t t |
| 15315 |
< |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 15316 |
< |
s&@top_srcdir@&$ac_top_srcdir&;t t |
| 15317 |
< |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 15318 |
< |
s&@builddir@&$ac_builddir&;t t |
| 15319 |
< |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| 15320 |
< |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 15321 |
< |
s&@INSTALL@&$ac_INSTALL&;t t |
| 15322 |
< |
$ac_datarootdir_hack |
| 15323 |
< |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
| 15312 |
> |
s,@configure_input@,$configure_input,;t t |
| 15313 |
> |
s,@srcdir@,$ac_srcdir,;t t |
| 15314 |
> |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
| 15315 |
> |
s,@top_srcdir@,$ac_top_srcdir,;t t |
| 15316 |
> |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
| 15317 |
> |
s,@builddir@,$ac_builddir,;t t |
| 15318 |
> |
s,@abs_builddir@,$ac_abs_builddir,;t t |
| 15319 |
> |
s,@top_builddir@,$ac_top_builddir,;t t |
| 15320 |
> |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
| 15321 |
> |
s,@INSTALL@,$ac_INSTALL,;t t |
| 15322 |
> |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
| 15323 |
> |
rm -f $tmp/stdin |
| 15324 |
> |
if test x"$ac_file" != x-; then |
| 15325 |
> |
mv $tmp/out $ac_file |
| 15326 |
> |
else |
| 15327 |
> |
cat $tmp/out |
| 15328 |
> |
rm -f $tmp/out |
| 15329 |
> |
fi |
| 15330 |
|
|
| 15331 |
< |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 15666 |
< |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 15667 |
< |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 15668 |
< |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15669 |
< |
which seems to be undefined. Please make sure it is defined." >&5 |
| 15670 |
< |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 15671 |
< |
which seems to be undefined. Please make sure it is defined." >&2;} |
| 15672 |
< |
|
| 15673 |
< |
rm -f "$tmp/stdin" |
| 15331 |
> |
# Run the commands associated with the file. |
| 15332 |
|
case $ac_file in |
| 15333 |
< |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
| 15334 |
< |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
| 15333 |
> |
make/Makefile ) chmod 0755 scripts/* ;; |
| 15334 |
> |
src/utils/Makefile ) chmod 0755 scripts/* ;; |
| 15335 |
> |
src/math/Makefile ) chmod 0755 scripts/* ;; |
| 15336 |
> |
src/applications/staticProps/Makefile ) chmod 0755 scripts/* ;; |
| 15337 |
> |
scripts/filepp ) chmod 0755 scripts/* ;; |
| 15338 |
|
esac |
| 15339 |
< |
;; |
| 15679 |
< |
:H) |
| 15680 |
< |
# |
| 15681 |
< |
# CONFIG_HEADER |
| 15682 |
< |
# |
| 15339 |
> |
done |
| 15340 |
|
_ACEOF |
| 15341 |
+ |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15342 |
|
|
| 15343 |
< |
# Transform confdefs.h into a sed script `conftest.defines', that |
| 15344 |
< |
# substitutes the proper values into config.h.in to produce config.h. |
| 15345 |
< |
rm -f conftest.defines conftest.tail |
| 15346 |
< |
# First, append a space to every undef/define line, to ease matching. |
| 15347 |
< |
echo 's/$/ /' >conftest.defines |
| 15348 |
< |
# Then, protect against being on the right side of a sed subst, or in |
| 15349 |
< |
# an unquoted here document, in config.status. If some macros were |
| 15350 |
< |
# called several times there might be several #defines for the same |
| 15351 |
< |
# symbol, which is useless. But do not sort them, since the last |
| 15352 |
< |
# AC_DEFINE must be honored. |
| 15695 |
< |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 15696 |
< |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
| 15697 |
< |
# NAME is the cpp macro being defined, VALUE is the value it is being given. |
| 15698 |
< |
# PARAMS is the parameter list in the macro definition--in most cases, it's |
| 15699 |
< |
# just an empty string. |
| 15700 |
< |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
| 15701 |
< |
ac_dB='\\)[ (].*,\\1define\\2' |
| 15343 |
> |
# |
| 15344 |
> |
# CONFIG_HEADER section. |
| 15345 |
> |
# |
| 15346 |
> |
|
| 15347 |
> |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
| 15348 |
> |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 15349 |
> |
# |
| 15350 |
> |
# ac_d sets the value in "#define NAME VALUE" lines. |
| 15351 |
> |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 15352 |
> |
ac_dB='[ ].*$,\1#\2' |
| 15353 |
|
ac_dC=' ' |
| 15354 |
< |
ac_dD=' ,' |
| 15354 |
> |
ac_dD=',;t' |
| 15355 |
> |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 15356 |
> |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 15357 |
> |
ac_uB='$,\1#\2define\3' |
| 15358 |
> |
ac_uC=' ' |
| 15359 |
> |
ac_uD=',;t' |
| 15360 |
|
|
| 15361 |
< |
uniq confdefs.h | |
| 15362 |
< |
sed -n ' |
| 15363 |
< |
t rset |
| 15364 |
< |
:rset |
| 15365 |
< |
s/^[ ]*#[ ]*define[ ][ ]*// |
| 15366 |
< |
t ok |
| 15367 |
< |
d |
| 15368 |
< |
:ok |
| 15369 |
< |
s/[\\&,]/\\&/g |
| 15370 |
< |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
| 15371 |
< |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
| 15716 |
< |
' >>conftest.defines |
| 15361 |
> |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
| 15362 |
> |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 15363 |
> |
case $ac_file in |
| 15364 |
> |
- | *:- | *:-:* ) # input from stdin |
| 15365 |
> |
cat >$tmp/stdin |
| 15366 |
> |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 15367 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 15368 |
> |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 15369 |
> |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| 15370 |
> |
* ) ac_file_in=$ac_file.in ;; |
| 15371 |
> |
esac |
| 15372 |
|
|
| 15373 |
< |
# Remove the space that was appended to ease matching. |
| 15374 |
< |
# Then replace #undef with comments. This is necessary, for |
| 15720 |
< |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 15721 |
< |
# on some systems where configure will not decide to define it. |
| 15722 |
< |
# (The regexp can be short, since the line contains either #define or #undef.) |
| 15723 |
< |
echo 's/ $// |
| 15724 |
< |
s,^[ #]*u.*,/* & */,' >>conftest.defines |
| 15373 |
> |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
| 15374 |
> |
echo "$as_me: creating $ac_file" >&6;} |
| 15375 |
|
|
| 15376 |
< |
# Break up conftest.defines: |
| 15377 |
< |
ac_max_sed_lines=50 |
| 15376 |
> |
# First look for the input files in the build tree, otherwise in the |
| 15377 |
> |
# src tree. |
| 15378 |
> |
ac_file_inputs=`IFS=: |
| 15379 |
> |
for f in $ac_file_in; do |
| 15380 |
> |
case $f in |
| 15381 |
> |
-) echo $tmp/stdin ;; |
| 15382 |
> |
[\\/$]*) |
| 15383 |
> |
# Absolute (can't be DOS-style, as IFS=:) |
| 15384 |
> |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 15385 |
> |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 15386 |
> |
{ (exit 1); exit 1; }; } |
| 15387 |
> |
# Do quote $f, to prevent DOS paths from being IFS'd. |
| 15388 |
> |
echo "$f";; |
| 15389 |
> |
*) # Relative |
| 15390 |
> |
if test -f "$f"; then |
| 15391 |
> |
# Build tree |
| 15392 |
> |
echo "$f" |
| 15393 |
> |
elif test -f "$srcdir/$f"; then |
| 15394 |
> |
# Source tree |
| 15395 |
> |
echo "$srcdir/$f" |
| 15396 |
> |
else |
| 15397 |
> |
# /dev/null tree |
| 15398 |
> |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| 15399 |
> |
echo "$as_me: error: cannot find input file: $f" >&2;} |
| 15400 |
> |
{ (exit 1); exit 1; }; } |
| 15401 |
> |
fi;; |
| 15402 |
> |
esac |
| 15403 |
> |
done` || { (exit 1); exit 1; } |
| 15404 |
> |
# Remove the trailing spaces. |
| 15405 |
> |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
| 15406 |
|
|
| 15407 |
< |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
| 15730 |
< |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
| 15731 |
< |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
| 15732 |
< |
# et cetera. |
| 15733 |
< |
ac_in='$ac_file_inputs' |
| 15734 |
< |
ac_out='"$tmp/out1"' |
| 15735 |
< |
ac_nxt='"$tmp/out2"' |
| 15407 |
> |
_ACEOF |
| 15408 |
|
|
| 15409 |
< |
while : |
| 15410 |
< |
do |
| 15411 |
< |
# Write a here document: |
| 15412 |
< |
cat >>$CONFIG_STATUS <<_ACEOF |
| 15413 |
< |
# First, check the format of the line: |
| 15414 |
< |
cat >"\$tmp/defines.sed" <<\\CEOF |
| 15415 |
< |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
| 15416 |
< |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
| 15417 |
< |
b |
| 15418 |
< |
:def |
| 15409 |
> |
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
| 15410 |
> |
# `conftest.undefs', that substitutes the proper values into |
| 15411 |
> |
# config.h.in to produce config.h. The first handles `#define' |
| 15412 |
> |
# templates, and the second `#undef' templates. |
| 15413 |
> |
# And first: Protect against being on the right side of a sed subst in |
| 15414 |
> |
# config.status. Protect against being in an unquoted here document |
| 15415 |
> |
# in config.status. |
| 15416 |
> |
rm -f conftest.defines conftest.undefs |
| 15417 |
> |
# Using a here document instead of a string reduces the quoting nightmare. |
| 15418 |
> |
# Putting comments in sed scripts is not portable. |
| 15419 |
> |
# |
| 15420 |
> |
# `end' is used to avoid that the second main sed command (meant for |
| 15421 |
> |
# 0-ary CPP macros) applies to n-ary macro definitions. |
| 15422 |
> |
# See the Autoconf documentation for `clear'. |
| 15423 |
> |
cat >confdef2sed.sed <<\_ACEOF |
| 15424 |
> |
s/[\\&,]/\\&/g |
| 15425 |
> |
s,[\\$`],\\&,g |
| 15426 |
> |
t clear |
| 15427 |
> |
: clear |
| 15428 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
| 15429 |
> |
t end |
| 15430 |
> |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
| 15431 |
> |
: end |
| 15432 |
|
_ACEOF |
| 15433 |
< |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
| 15433 |
> |
# If some macros were called several times there might be several times |
| 15434 |
> |
# the same #defines, which is useless. Nevertheless, we may not want to |
| 15435 |
> |
# sort them, since we want the *last* AC-DEFINE to be honored. |
| 15436 |
> |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
| 15437 |
> |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
| 15438 |
> |
rm -f confdef2sed.sed |
| 15439 |
> |
|
| 15440 |
> |
# This sed command replaces #undef with comments. This is necessary, for |
| 15441 |
> |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 15442 |
> |
# on some systems where configure will not decide to define it. |
| 15443 |
> |
cat >>conftest.undefs <<\_ACEOF |
| 15444 |
> |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
| 15445 |
> |
_ACEOF |
| 15446 |
> |
|
| 15447 |
> |
# Break up conftest.defines because some shells have a limit on the size |
| 15448 |
> |
# of here documents, and old seds have small limits too (100 cmds). |
| 15449 |
> |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
| 15450 |
> |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
| 15451 |
> |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
| 15452 |
> |
echo ' :' >>$CONFIG_STATUS |
| 15453 |
> |
rm -f conftest.tail |
| 15454 |
> |
while grep . conftest.defines >/dev/null |
| 15455 |
> |
do |
| 15456 |
> |
# Write a limited-size here document to $tmp/defines.sed. |
| 15457 |
> |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
| 15458 |
> |
# Speed up: don't consider the non `#define' lines. |
| 15459 |
> |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
| 15460 |
> |
# Work around the forget-to-reset-the-flag bug. |
| 15461 |
> |
echo 't clr' >>$CONFIG_STATUS |
| 15462 |
> |
echo ': clr' >>$CONFIG_STATUS |
| 15463 |
> |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
| 15464 |
|
echo 'CEOF |
| 15465 |
< |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
| 15466 |
< |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
| 15467 |
< |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
| 15468 |
< |
grep . conftest.tail >/dev/null || break |
| 15465 |
> |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
| 15466 |
> |
rm -f $tmp/in |
| 15467 |
> |
mv $tmp/out $tmp/in |
| 15468 |
> |
' >>$CONFIG_STATUS |
| 15469 |
> |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
| 15470 |
|
rm -f conftest.defines |
| 15471 |
|
mv conftest.tail conftest.defines |
| 15472 |
|
done |
| 15473 |
< |
rm -f conftest.defines conftest.tail |
| 15473 |
> |
rm -f conftest.defines |
| 15474 |
> |
echo ' fi # grep' >>$CONFIG_STATUS |
| 15475 |
> |
echo >>$CONFIG_STATUS |
| 15476 |
|
|
| 15477 |
< |
echo "ac_result=$ac_in" >>$CONFIG_STATUS |
| 15477 |
> |
# Break up conftest.undefs because some shells have a limit on the size |
| 15478 |
> |
# of here documents, and old seds have small limits too (100 cmds). |
| 15479 |
> |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
| 15480 |
> |
rm -f conftest.tail |
| 15481 |
> |
while grep . conftest.undefs >/dev/null |
| 15482 |
> |
do |
| 15483 |
> |
# Write a limited-size here document to $tmp/undefs.sed. |
| 15484 |
> |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
| 15485 |
> |
# Speed up: don't consider the non `#undef' |
| 15486 |
> |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
| 15487 |
> |
# Work around the forget-to-reset-the-flag bug. |
| 15488 |
> |
echo 't clr' >>$CONFIG_STATUS |
| 15489 |
> |
echo ': clr' >>$CONFIG_STATUS |
| 15490 |
> |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
| 15491 |
> |
echo 'CEOF |
| 15492 |
> |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
| 15493 |
> |
rm -f $tmp/in |
| 15494 |
> |
mv $tmp/out $tmp/in |
| 15495 |
> |
' >>$CONFIG_STATUS |
| 15496 |
> |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
| 15497 |
> |
rm -f conftest.undefs |
| 15498 |
> |
mv conftest.tail conftest.undefs |
| 15499 |
> |
done |
| 15500 |
> |
rm -f conftest.undefs |
| 15501 |
> |
|
| 15502 |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15503 |
+ |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 15504 |
+ |
# use $as_me), people would be surprised to read: |
| 15505 |
+ |
# /* config.h. Generated by config.status. */ |
| 15506 |
+ |
if test x"$ac_file" = x-; then |
| 15507 |
+ |
echo "/* Generated by configure. */" >$tmp/config.h |
| 15508 |
+ |
else |
| 15509 |
+ |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
| 15510 |
+ |
fi |
| 15511 |
+ |
cat $tmp/in >>$tmp/config.h |
| 15512 |
+ |
rm -f $tmp/in |
| 15513 |
|
if test x"$ac_file" != x-; then |
| 15514 |
< |
echo "/* $configure_input */" >"$tmp/config.h" |
| 15763 |
< |
cat "$ac_result" >>"$tmp/config.h" |
| 15764 |
< |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
| 15514 |
> |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
| 15515 |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 15516 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
| 15517 |
|
else |
| 15518 |
+ |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| 15519 |
+ |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 15520 |
+ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 15521 |
+ |
X"$ac_file" : 'X\(//\)$' \| \ |
| 15522 |
+ |
X"$ac_file" : 'X\(/\)' \| \ |
| 15523 |
+ |
. : '\(.\)' 2>/dev/null || |
| 15524 |
+ |
echo X"$ac_file" | |
| 15525 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 15526 |
+ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 15527 |
+ |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 15528 |
+ |
/^X\(\/\).*/{ s//\1/; q; } |
| 15529 |
+ |
s/.*/./; q'` |
| 15530 |
+ |
{ if $as_mkdir_p; then |
| 15531 |
+ |
mkdir -p "$ac_dir" |
| 15532 |
+ |
else |
| 15533 |
+ |
as_dir="$ac_dir" |
| 15534 |
+ |
as_dirs= |
| 15535 |
+ |
while test ! -d "$as_dir"; do |
| 15536 |
+ |
as_dirs="$as_dir $as_dirs" |
| 15537 |
+ |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 15538 |
+ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 15539 |
+ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 15540 |
+ |
X"$as_dir" : 'X\(//\)$' \| \ |
| 15541 |
+ |
X"$as_dir" : 'X\(/\)' \| \ |
| 15542 |
+ |
. : '\(.\)' 2>/dev/null || |
| 15543 |
+ |
echo X"$as_dir" | |
| 15544 |
+ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 15545 |
+ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 15546 |
+ |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 15547 |
+ |
/^X\(\/\).*/{ s//\1/; q; } |
| 15548 |
+ |
s/.*/./; q'` |
| 15549 |
+ |
done |
| 15550 |
+ |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 15551 |
+ |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| 15552 |
+ |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| 15553 |
+ |
{ (exit 1); exit 1; }; }; } |
| 15554 |
+ |
|
| 15555 |
|
rm -f $ac_file |
| 15556 |
< |
mv "$tmp/config.h" $ac_file |
| 15556 |
> |
mv $tmp/config.h $ac_file |
| 15557 |
|
fi |
| 15558 |
|
else |
| 15559 |
< |
echo "/* $configure_input */" |
| 15560 |
< |
cat "$ac_result" |
| 15559 |
> |
cat $tmp/config.h |
| 15560 |
> |
rm -f $tmp/config.h |
| 15561 |
|
fi |
| 15562 |
< |
rm -f "$tmp/out12" |
| 15563 |
< |
;; |
| 15564 |
< |
:L) |
| 15778 |
< |
# |
| 15779 |
< |
# CONFIG_LINK |
| 15780 |
< |
# |
| 15562 |
> |
done |
| 15563 |
> |
_ACEOF |
| 15564 |
> |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15565 |
|
|
| 15566 |
< |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5 |
| 15567 |
< |
echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;} |
| 15566 |
> |
# |
| 15567 |
> |
# CONFIG_LINKS section. |
| 15568 |
> |
# |
| 15569 |
|
|
| 15570 |
< |
if test ! -r "$srcdir/$ac_source"; then |
| 15570 |
> |
for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue |
| 15571 |
> |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
| 15572 |
> |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| 15573 |
> |
|
| 15574 |
> |
{ echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5 |
| 15575 |
> |
echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;} |
| 15576 |
> |
|
| 15577 |
> |
if test ! -r $srcdir/$ac_source; then |
| 15578 |
|
{ { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5 |
| 15579 |
|
echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;} |
| 15580 |
|
{ (exit 1); exit 1; }; } |
| 15581 |
|
fi |
| 15582 |
< |
rm -f "$ac_file" |
| 15582 |
> |
rm -f $ac_dest |
| 15583 |
|
|
| 15584 |
< |
# Try a relative symlink, then a hard link, then a copy. |
| 15585 |
< |
case $srcdir in |
| 15586 |
< |
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
| 15587 |
< |
*) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;; |
| 15588 |
< |
esac |
| 15589 |
< |
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || |
| 15590 |
< |
ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null || |
| 15591 |
< |
cp -p "$srcdir/$ac_source" "$ac_file" || |
| 15592 |
< |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5 |
| 15593 |
< |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;} |
| 15594 |
< |
{ (exit 1); exit 1; }; } |
| 15595 |
< |
;; |
| 15584 |
> |
# Make relative symlinks. |
| 15585 |
> |
ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null || |
| 15586 |
> |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 15587 |
> |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
| 15588 |
> |
X"$ac_dest" : 'X\(//\)$' \| \ |
| 15589 |
> |
X"$ac_dest" : 'X\(/\)' \| \ |
| 15590 |
> |
. : '\(.\)' 2>/dev/null || |
| 15591 |
> |
echo X"$ac_dest" | |
| 15592 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 15593 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 15594 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 15595 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
| 15596 |
> |
s/.*/./; q'` |
| 15597 |
> |
{ if $as_mkdir_p; then |
| 15598 |
> |
mkdir -p "$ac_dest_dir" |
| 15599 |
> |
else |
| 15600 |
> |
as_dir="$ac_dest_dir" |
| 15601 |
> |
as_dirs= |
| 15602 |
> |
while test ! -d "$as_dir"; do |
| 15603 |
> |
as_dirs="$as_dir $as_dirs" |
| 15604 |
> |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
| 15605 |
> |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 15606 |
> |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 15607 |
> |
X"$as_dir" : 'X\(//\)$' \| \ |
| 15608 |
> |
X"$as_dir" : 'X\(/\)' \| \ |
| 15609 |
> |
. : '\(.\)' 2>/dev/null || |
| 15610 |
> |
echo X"$as_dir" | |
| 15611 |
> |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 15612 |
> |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 15613 |
> |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 15614 |
> |
/^X\(\/\).*/{ s//\1/; q; } |
| 15615 |
> |
s/.*/./; q'` |
| 15616 |
> |
done |
| 15617 |
> |
test ! -n "$as_dirs" || mkdir $as_dirs |
| 15618 |
> |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5 |
| 15619 |
> |
echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;} |
| 15620 |
> |
{ (exit 1); exit 1; }; }; } |
| 15621 |
|
|
| 15622 |
< |
esac |
| 15622 |
> |
ac_builddir=. |
| 15623 |
|
|
| 15624 |
+ |
if test "$ac_dest_dir" != .; then |
| 15625 |
+ |
ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'` |
| 15626 |
+ |
# A "../" for each directory in $ac_dir_suffix. |
| 15627 |
+ |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 15628 |
+ |
else |
| 15629 |
+ |
ac_dir_suffix= ac_top_builddir= |
| 15630 |
+ |
fi |
| 15631 |
|
|
| 15632 |
< |
case $ac_file$ac_mode in |
| 15633 |
< |
"make/Makefile":F) chmod 0755 scripts/* ;; |
| 15634 |
< |
"src/utils/Makefile":F) chmod 0755 scripts/* ;; |
| 15635 |
< |
"scripts/filepp":F) chmod 0755 scripts/* ;; |
| 15632 |
> |
case $srcdir in |
| 15633 |
> |
.) # No --srcdir option. We are building in place. |
| 15634 |
> |
ac_srcdir=. |
| 15635 |
> |
if test -z "$ac_top_builddir"; then |
| 15636 |
> |
ac_top_srcdir=. |
| 15637 |
> |
else |
| 15638 |
> |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 15639 |
> |
fi ;; |
| 15640 |
> |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 15641 |
> |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 15642 |
> |
ac_top_srcdir=$srcdir ;; |
| 15643 |
> |
*) # Relative path. |
| 15644 |
> |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 15645 |
> |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 15646 |
> |
esac |
| 15647 |
|
|
| 15648 |
+ |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 15649 |
+ |
# the directories may not exist. |
| 15650 |
+ |
case `pwd` in |
| 15651 |
+ |
.) ac_abs_builddir="$ac_dest_dir";; |
| 15652 |
+ |
*) |
| 15653 |
+ |
case "$ac_dest_dir" in |
| 15654 |
+ |
.) ac_abs_builddir=`pwd`;; |
| 15655 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";; |
| 15656 |
+ |
*) ac_abs_builddir=`pwd`/"$ac_dest_dir";; |
| 15657 |
+ |
esac;; |
| 15658 |
+ |
esac |
| 15659 |
+ |
case $ac_abs_builddir in |
| 15660 |
+ |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 15661 |
+ |
*) |
| 15662 |
+ |
case ${ac_top_builddir}. in |
| 15663 |
+ |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 15664 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 15665 |
+ |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 15666 |
+ |
esac;; |
| 15667 |
+ |
esac |
| 15668 |
+ |
case $ac_abs_builddir in |
| 15669 |
+ |
.) ac_abs_srcdir=$ac_srcdir;; |
| 15670 |
+ |
*) |
| 15671 |
+ |
case $ac_srcdir in |
| 15672 |
+ |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 15673 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 15674 |
+ |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 15675 |
+ |
esac;; |
| 15676 |
+ |
esac |
| 15677 |
+ |
case $ac_abs_builddir in |
| 15678 |
+ |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 15679 |
+ |
*) |
| 15680 |
+ |
case $ac_top_srcdir in |
| 15681 |
+ |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 15682 |
+ |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 15683 |
+ |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 15684 |
+ |
esac;; |
| 15685 |
+ |
esac |
| 15686 |
+ |
|
| 15687 |
+ |
|
| 15688 |
+ |
case $srcdir in |
| 15689 |
+ |
[\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;; |
| 15690 |
+ |
*) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;; |
| 15691 |
|
esac |
| 15814 |
– |
done # for ac_tag |
| 15692 |
|
|
| 15693 |
+ |
# Try a symlink, then a hard link, then a copy. |
| 15694 |
+ |
ln -s $ac_rel_source $ac_dest 2>/dev/null || |
| 15695 |
+ |
ln $srcdir/$ac_source $ac_dest 2>/dev/null || |
| 15696 |
+ |
cp -p $srcdir/$ac_source $ac_dest || |
| 15697 |
+ |
{ { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5 |
| 15698 |
+ |
echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;} |
| 15699 |
+ |
{ (exit 1); exit 1; }; } |
| 15700 |
+ |
done |
| 15701 |
+ |
_ACEOF |
| 15702 |
|
|
| 15703 |
+ |
cat >>$CONFIG_STATUS <<\_ACEOF |
| 15704 |
+ |
|
| 15705 |
|
{ (exit 0); exit 0; } |
| 15706 |
|
_ACEOF |
| 15707 |
|
chmod +x $CONFIG_STATUS |