| 1 |
#! /bin/sh |
| 2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.59. |
| 4 |
# |
| 5 |
# Copyright (C) 2003 Free Software Foundation, Inc. |
| 6 |
# This configure script is free software; the Free Software Foundation |
| 7 |
# gives unlimited permission to copy, distribute and modify it. |
| 8 |
## --------------------- ## |
| 9 |
## M4sh Initialization. ## |
| 10 |
## --------------------- ## |
| 11 |
|
| 12 |
# Be Bourne compatible |
| 13 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 14 |
emulate sh |
| 15 |
NULLCMD=: |
| 16 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 17 |
# is contrary to our usage. Disable this feature. |
| 18 |
alias -g '${1+"$@"}'='"$@"' |
| 19 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| 20 |
set -o posix |
| 21 |
fi |
| 22 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 23 |
|
| 24 |
# Support unset when possible. |
| 25 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 26 |
as_unset=unset |
| 27 |
else |
| 28 |
as_unset=false |
| 29 |
fi |
| 30 |
|
| 31 |
|
| 32 |
# Work around bugs in pre-3.0 UWIN ksh. |
| 33 |
$as_unset ENV MAIL MAILPATH |
| 34 |
PS1='$ ' |
| 35 |
PS2='> ' |
| 36 |
PS4='+ ' |
| 37 |
|
| 38 |
# NLS nuisances. |
| 39 |
for as_var in \ |
| 40 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| 41 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| 42 |
LC_TELEPHONE LC_TIME |
| 43 |
do |
| 44 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 45 |
eval $as_var=C; export $as_var |
| 46 |
else |
| 47 |
$as_unset $as_var |
| 48 |
fi |
| 49 |
done |
| 50 |
|
| 51 |
# Required to use basename. |
| 52 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 53 |
as_expr=expr |
| 54 |
else |
| 55 |
as_expr=false |
| 56 |
fi |
| 57 |
|
| 58 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| 59 |
as_basename=basename |
| 60 |
else |
| 61 |
as_basename=false |
| 62 |
fi |
| 63 |
|
| 64 |
|
| 65 |
# Name of the executable. |
| 66 |
as_me=`$as_basename "$0" || |
| 67 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 68 |
X"$0" : 'X\(//\)$' \| \ |
| 69 |
X"$0" : 'X\(/\)$' \| \ |
| 70 |
. : '\(.\)' 2>/dev/null || |
| 71 |
echo X/"$0" | |
| 72 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| 73 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
| 74 |
/^X\/\(\/\).*/{ s//\1/; q; } |
| 75 |
s/.*/./; q'` |
| 76 |
|
| 77 |
|
| 78 |
# PATH needs CR, and LINENO needs CR and PATH. |
| 79 |
# Avoid depending upon Character Ranges. |
| 80 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 81 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 82 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 83 |
as_cr_digits='0123456789' |
| 84 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 85 |
|
| 86 |
# The user is always right. |
| 87 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 88 |
echo "#! /bin/sh" >conf$$.sh |
| 89 |
echo "exit 0" >>conf$$.sh |
| 90 |
chmod +x conf$$.sh |
| 91 |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| 92 |
PATH_SEPARATOR=';' |
| 93 |
else |
| 94 |
PATH_SEPARATOR=: |
| 95 |
fi |
| 96 |
rm -f conf$$.sh |
| 97 |
fi |
| 98 |
|
| 99 |
|
| 100 |
as_lineno_1=$LINENO |
| 101 |
as_lineno_2=$LINENO |
| 102 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 103 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 104 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
| 105 |
# Find who we are. Look in the path if we contain no path at all |
| 106 |
# relative or not. |
| 107 |
case $0 in |
| 108 |
*[\\/]* ) as_myself=$0 ;; |
| 109 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 110 |
for as_dir in $PATH |
| 111 |
do |
| 112 |
IFS=$as_save_IFS |
| 113 |
test -z "$as_dir" && as_dir=. |
| 114 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 115 |
done |
| 116 |
|
| 117 |
;; |
| 118 |
esac |
| 119 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 120 |
# in which case we are not to be found in the path. |
| 121 |
if test "x$as_myself" = x; then |
| 122 |
as_myself=$0 |
| 123 |
fi |
| 124 |
if test ! -f "$as_myself"; then |
| 125 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
| 126 |
{ (exit 1); exit 1; }; } |
| 127 |
fi |
| 128 |
case $CONFIG_SHELL in |
| 129 |
'') |
| 130 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 131 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 132 |
do |
| 133 |
IFS=$as_save_IFS |
| 134 |
test -z "$as_dir" && as_dir=. |
| 135 |
for as_base in sh bash ksh sh5; do |
| 136 |
case $as_dir in |
| 137 |
/*) |
| 138 |
if ("$as_dir/$as_base" -c ' |
| 139 |
as_lineno_1=$LINENO |
| 140 |
as_lineno_2=$LINENO |
| 141 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| 142 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
| 143 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| 144 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| 145 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| 146 |
CONFIG_SHELL=$as_dir/$as_base |
| 147 |
export CONFIG_SHELL |
| 148 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| 149 |
fi;; |
| 150 |
esac |
| 151 |
done |
| 152 |
done |
| 153 |
;; |
| 154 |
esac |
| 155 |
|
| 156 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 157 |
# uniformly replaced by the line number. The first 'sed' inserts a |
| 158 |
# line-number line before each line; the second 'sed' does the real |
| 159 |
# work. The second script uses 'N' to pair each line-number line |
| 160 |
# with the numbered line, and appends trailing '-' during |
| 161 |
# substitution so that $LINENO is not a special case at line end. |
| 162 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 163 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| 164 |
sed '=' <$as_myself | |
| 165 |
sed ' |
| 166 |
N |
| 167 |
s,$,-, |
| 168 |
: loop |
| 169 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| 170 |
t loop |
| 171 |
s,-$,, |
| 172 |
s,^['$as_cr_digits']*\n,, |
| 173 |
' >$as_me.lineno && |
| 174 |
chmod +x $as_me.lineno || |
| 175 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 176 |
{ (exit 1); exit 1; }; } |
| 177 |
|
| 178 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 179 |
# (the dirname of $[0] is not the place where we might find the |
| 180 |
# original and so on. Autoconf is especially sensible to this). |
| 181 |
. ./$as_me.lineno |
| 182 |
# Exit status is that of the last command. |
| 183 |
exit |
| 184 |
} |
| 185 |
|
| 186 |
|
| 187 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| 188 |
*c*,-n*) ECHO_N= ECHO_C=' |
| 189 |
' ECHO_T=' ' ;; |
| 190 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| 191 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| 192 |
esac |
| 193 |
|
| 194 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
| 195 |
as_expr=expr |
| 196 |
else |
| 197 |
as_expr=false |
| 198 |
fi |
| 199 |
|
| 200 |
rm -f conf$$ conf$$.exe conf$$.file |
| 201 |
echo >conf$$.file |
| 202 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 203 |
# We could just check for DJGPP; but this test a) works b) is more generic |
| 204 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| 205 |
if test -f conf$$.exe; then |
| 206 |
# Don't use ln at all; we don't have any links |
| 207 |
as_ln_s='cp -p' |
| 208 |
else |
| 209 |
as_ln_s='ln -s' |
| 210 |
fi |
| 211 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 212 |
as_ln_s=ln |
| 213 |
else |
| 214 |
as_ln_s='cp -p' |
| 215 |
fi |
| 216 |
rm -f conf$$ conf$$.exe conf$$.file |
| 217 |
|
| 218 |
if mkdir -p . 2>/dev/null; then |
| 219 |
as_mkdir_p=: |
| 220 |
else |
| 221 |
test -d ./-p && rmdir ./-p |
| 222 |
as_mkdir_p=false |
| 223 |
fi |
| 224 |
|
| 225 |
as_executable_p="test -f" |
| 226 |
|
| 227 |
# Sed expression to map a string onto a valid CPP name. |
| 228 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 229 |
|
| 230 |
# Sed expression to map a string onto a valid variable name. |
| 231 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 232 |
|
| 233 |
|
| 234 |
# IFS |
| 235 |
# We need space, tab and new line, in precisely that order. |
| 236 |
as_nl=' |
| 237 |
' |
| 238 |
IFS=" $as_nl" |
| 239 |
|
| 240 |
# CDPATH. |
| 241 |
$as_unset CDPATH |
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
# Check that we are running under the correct shell. |
| 246 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 247 |
|
| 248 |
case X$ECHO in |
| 249 |
X*--fallback-echo) |
| 250 |
# Remove one level of quotation (which was required for Make). |
| 251 |
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` |
| 252 |
;; |
| 253 |
esac |
| 254 |
|
| 255 |
echo=${ECHO-echo} |
| 256 |
if test "X$1" = X--no-reexec; then |
| 257 |
# Discard the --no-reexec flag, and continue. |
| 258 |
shift |
| 259 |
elif test "X$1" = X--fallback-echo; then |
| 260 |
# Avoid inline document here, it may be left over |
| 261 |
: |
| 262 |
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then |
| 263 |
# Yippee, $echo works! |
| 264 |
: |
| 265 |
else |
| 266 |
# Restart under the correct shell. |
| 267 |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
| 268 |
fi |
| 269 |
|
| 270 |
if test "X$1" = X--fallback-echo; then |
| 271 |
# used as fallback echo |
| 272 |
shift |
| 273 |
cat <<EOF |
| 274 |
$* |
| 275 |
EOF |
| 276 |
exit 0 |
| 277 |
fi |
| 278 |
|
| 279 |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 280 |
# if CDPATH is set. |
| 281 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 282 |
|
| 283 |
if test -z "$ECHO"; then |
| 284 |
if test "X${echo_test_string+set}" != Xset; then |
| 285 |
# find a string as large as possible, as long as the shell can cope with it |
| 286 |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
| 287 |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
| 288 |
if (echo_test_string="`eval $cmd`") 2>/dev/null && |
| 289 |
echo_test_string="`eval $cmd`" && |
| 290 |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
| 291 |
then |
| 292 |
break |
| 293 |
fi |
| 294 |
done |
| 295 |
fi |
| 296 |
|
| 297 |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
| 298 |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
| 299 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 300 |
: |
| 301 |
else |
| 302 |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
| 303 |
# backslashes. This makes it impossible to quote backslashes using |
| 304 |
# echo "$something" | sed 's/\\/\\\\/g' |
| 305 |
# |
| 306 |
# So, first we look for a working echo in the user's PATH. |
| 307 |
|
| 308 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 309 |
for dir in $PATH /usr/ucb; do |
| 310 |
IFS="$lt_save_ifs" |
| 311 |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
| 312 |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
| 313 |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
| 314 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 315 |
echo="$dir/echo" |
| 316 |
break |
| 317 |
fi |
| 318 |
done |
| 319 |
IFS="$lt_save_ifs" |
| 320 |
|
| 321 |
if test "X$echo" = Xecho; then |
| 322 |
# We didn't find a better echo, so look for alternatives. |
| 323 |
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
| 324 |
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
| 325 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 326 |
# This shell has a builtin print -r that does the trick. |
| 327 |
echo='print -r' |
| 328 |
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
| 329 |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
| 330 |
# If we have ksh, try running configure again with it. |
| 331 |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
| 332 |
export ORIGINAL_CONFIG_SHELL |
| 333 |
CONFIG_SHELL=/bin/ksh |
| 334 |
export CONFIG_SHELL |
| 335 |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
| 336 |
else |
| 337 |
# Try using printf. |
| 338 |
echo='printf %s\n' |
| 339 |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
| 340 |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
| 341 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 342 |
# Cool, printf works |
| 343 |
: |
| 344 |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
| 345 |
test "X$echo_testing_string" = 'X\t' && |
| 346 |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 347 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 348 |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
| 349 |
export CONFIG_SHELL |
| 350 |
SHELL="$CONFIG_SHELL" |
| 351 |
export SHELL |
| 352 |
echo="$CONFIG_SHELL $0 --fallback-echo" |
| 353 |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
| 354 |
test "X$echo_testing_string" = 'X\t' && |
| 355 |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 356 |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 357 |
echo="$CONFIG_SHELL $0 --fallback-echo" |
| 358 |
else |
| 359 |
# maybe with a smaller string... |
| 360 |
prev=: |
| 361 |
|
| 362 |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
| 363 |
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
| 364 |
then |
| 365 |
break |
| 366 |
fi |
| 367 |
prev="$cmd" |
| 368 |
done |
| 369 |
|
| 370 |
if test "$prev" != 'sed 50q "$0"'; then |
| 371 |
echo_test_string=`eval $prev` |
| 372 |
export echo_test_string |
| 373 |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
| 374 |
else |
| 375 |
# Oops. We lost completely, so just stick with echo. |
| 376 |
echo=echo |
| 377 |
fi |
| 378 |
fi |
| 379 |
fi |
| 380 |
fi |
| 381 |
fi |
| 382 |
fi |
| 383 |
|
| 384 |
# Copy echo and quote the copy suitably for passing to libtool from |
| 385 |
# the Makefile, instead of quoting the original, which is used later. |
| 386 |
ECHO=$echo |
| 387 |
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
| 388 |
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
| 389 |
fi |
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
tagnames=${tagnames+${tagnames},}CXX |
| 395 |
|
| 396 |
tagnames=${tagnames+${tagnames},}F77 |
| 397 |
|
| 398 |
# Name of the host. |
| 399 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 400 |
# so uname gets run too. |
| 401 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 402 |
|
| 403 |
exec 6>&1 |
| 404 |
|
| 405 |
# |
| 406 |
# Initializations. |
| 407 |
# |
| 408 |
ac_default_prefix=/usr/local |
| 409 |
ac_config_libobj_dir=. |
| 410 |
cross_compiling=no |
| 411 |
subdirs= |
| 412 |
MFLAGS= |
| 413 |
MAKEFLAGS= |
| 414 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 415 |
|
| 416 |
# Maximum number of lines to put in a shell here document. |
| 417 |
# This variable seems obsolete. It should probably be removed, and |
| 418 |
# only ac_max_sed_lines should be used. |
| 419 |
: ${ac_max_here_lines=38} |
| 420 |
|
| 421 |
# Identity of this package. |
| 422 |
PACKAGE_NAME= |
| 423 |
PACKAGE_TARNAME= |
| 424 |
PACKAGE_VERSION= |
| 425 |
PACKAGE_STRING= |
| 426 |
PACKAGE_BUGREPORT= |
| 427 |
|
| 428 |
ac_unique_file="event/PamelaRun.h" |
| 429 |
# Factoring default headers for most tests. |
| 430 |
ac_includes_default="\ |
| 431 |
#include <stdio.h> |
| 432 |
#if HAVE_SYS_TYPES_H |
| 433 |
# include <sys/types.h> |
| 434 |
#endif |
| 435 |
#if HAVE_SYS_STAT_H |
| 436 |
# include <sys/stat.h> |
| 437 |
#endif |
| 438 |
#if STDC_HEADERS |
| 439 |
# include <stdlib.h> |
| 440 |
# include <stddef.h> |
| 441 |
#else |
| 442 |
# if HAVE_STDLIB_H |
| 443 |
# include <stdlib.h> |
| 444 |
# endif |
| 445 |
#endif |
| 446 |
#if HAVE_STRING_H |
| 447 |
# if !STDC_HEADERS && HAVE_MEMORY_H |
| 448 |
# include <memory.h> |
| 449 |
# endif |
| 450 |
# include <string.h> |
| 451 |
#endif |
| 452 |
#if HAVE_STRINGS_H |
| 453 |
# include <strings.h> |
| 454 |
#endif |
| 455 |
#if HAVE_INTTYPES_H |
| 456 |
# include <inttypes.h> |
| 457 |
#else |
| 458 |
# if HAVE_STDINT_H |
| 459 |
# include <stdint.h> |
| 460 |
# endif |
| 461 |
#endif |
| 462 |
#if HAVE_UNISTD_H |
| 463 |
# include <unistd.h> |
| 464 |
#endif" |
| 465 |
|
| 466 |
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE F77 FFLAGS ac_ct_F77 FLIBS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL HAS_DOXYFILE ROOT_INCLUDES ROOT_LDFLAGS ROOTCINT LOG4CXX_INCLUDES LOG4CXX_LDFLAGS LOG4CXX_LIBRARY LIBOBJS LTLIBOBJS' |
| 467 |
ac_subst_files='' |
| 468 |
|
| 469 |
# Initialize some variables set by options. |
| 470 |
ac_init_help= |
| 471 |
ac_init_version=false |
| 472 |
# The variables have the same names as the options, with |
| 473 |
# dashes changed to underlines. |
| 474 |
cache_file=/dev/null |
| 475 |
exec_prefix=NONE |
| 476 |
no_create= |
| 477 |
no_recursion= |
| 478 |
prefix=NONE |
| 479 |
program_prefix=NONE |
| 480 |
program_suffix=NONE |
| 481 |
program_transform_name=s,x,x, |
| 482 |
silent= |
| 483 |
site= |
| 484 |
srcdir= |
| 485 |
verbose= |
| 486 |
x_includes=NONE |
| 487 |
x_libraries=NONE |
| 488 |
|
| 489 |
# Installation directory options. |
| 490 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
| 491 |
# and all the variables that are supposed to be based on exec_prefix |
| 492 |
# by default will actually change. |
| 493 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 494 |
bindir='${exec_prefix}/bin' |
| 495 |
sbindir='${exec_prefix}/sbin' |
| 496 |
libexecdir='${exec_prefix}/libexec' |
| 497 |
datadir='${prefix}/share' |
| 498 |
sysconfdir='${prefix}/etc' |
| 499 |
sharedstatedir='${prefix}/com' |
| 500 |
localstatedir='${prefix}/var' |
| 501 |
libdir='${exec_prefix}/lib' |
| 502 |
includedir='${prefix}/include' |
| 503 |
oldincludedir='/usr/include' |
| 504 |
infodir='${prefix}/info' |
| 505 |
mandir='${prefix}/man' |
| 506 |
|
| 507 |
ac_prev= |
| 508 |
for ac_option |
| 509 |
do |
| 510 |
# If the previous option needs an argument, assign it. |
| 511 |
if test -n "$ac_prev"; then |
| 512 |
eval "$ac_prev=\$ac_option" |
| 513 |
ac_prev= |
| 514 |
continue |
| 515 |
fi |
| 516 |
|
| 517 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| 518 |
|
| 519 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 520 |
|
| 521 |
case $ac_option in |
| 522 |
|
| 523 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 524 |
ac_prev=bindir ;; |
| 525 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 526 |
bindir=$ac_optarg ;; |
| 527 |
|
| 528 |
-build | --build | --buil | --bui | --bu) |
| 529 |
ac_prev=build_alias ;; |
| 530 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 531 |
build_alias=$ac_optarg ;; |
| 532 |
|
| 533 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 534 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 535 |
ac_prev=cache_file ;; |
| 536 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 537 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 538 |
cache_file=$ac_optarg ;; |
| 539 |
|
| 540 |
--config-cache | -C) |
| 541 |
cache_file=config.cache ;; |
| 542 |
|
| 543 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 544 |
ac_prev=datadir ;; |
| 545 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 546 |
| --da=*) |
| 547 |
datadir=$ac_optarg ;; |
| 548 |
|
| 549 |
-disable-* | --disable-*) |
| 550 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 551 |
# Reject names that are not valid shell variable names. |
| 552 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 553 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 554 |
{ (exit 1); exit 1; }; } |
| 555 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 556 |
eval "enable_$ac_feature=no" ;; |
| 557 |
|
| 558 |
-enable-* | --enable-*) |
| 559 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 560 |
# Reject names that are not valid shell variable names. |
| 561 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 562 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 563 |
{ (exit 1); exit 1; }; } |
| 564 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| 565 |
case $ac_option in |
| 566 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 567 |
*) ac_optarg=yes ;; |
| 568 |
esac |
| 569 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
| 570 |
|
| 571 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 572 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 573 |
| --exec | --exe | --ex) |
| 574 |
ac_prev=exec_prefix ;; |
| 575 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 576 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 577 |
| --exec=* | --exe=* | --ex=*) |
| 578 |
exec_prefix=$ac_optarg ;; |
| 579 |
|
| 580 |
-gas | --gas | --ga | --g) |
| 581 |
# Obsolete; use --with-gas. |
| 582 |
with_gas=yes ;; |
| 583 |
|
| 584 |
-help | --help | --hel | --he | -h) |
| 585 |
ac_init_help=long ;; |
| 586 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 587 |
ac_init_help=recursive ;; |
| 588 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 589 |
ac_init_help=short ;; |
| 590 |
|
| 591 |
-host | --host | --hos | --ho) |
| 592 |
ac_prev=host_alias ;; |
| 593 |
-host=* | --host=* | --hos=* | --ho=*) |
| 594 |
host_alias=$ac_optarg ;; |
| 595 |
|
| 596 |
-includedir | --includedir | --includedi | --included | --include \ |
| 597 |
| --includ | --inclu | --incl | --inc) |
| 598 |
ac_prev=includedir ;; |
| 599 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 600 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| 601 |
includedir=$ac_optarg ;; |
| 602 |
|
| 603 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 604 |
ac_prev=infodir ;; |
| 605 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 606 |
infodir=$ac_optarg ;; |
| 607 |
|
| 608 |
-libdir | --libdir | --libdi | --libd) |
| 609 |
ac_prev=libdir ;; |
| 610 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 611 |
libdir=$ac_optarg ;; |
| 612 |
|
| 613 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 614 |
| --libexe | --libex | --libe) |
| 615 |
ac_prev=libexecdir ;; |
| 616 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 617 |
| --libexe=* | --libex=* | --libe=*) |
| 618 |
libexecdir=$ac_optarg ;; |
| 619 |
|
| 620 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 621 |
| --localstate | --localstat | --localsta | --localst \ |
| 622 |
| --locals | --local | --loca | --loc | --lo) |
| 623 |
ac_prev=localstatedir ;; |
| 624 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 625 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 626 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 627 |
localstatedir=$ac_optarg ;; |
| 628 |
|
| 629 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 630 |
ac_prev=mandir ;; |
| 631 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 632 |
mandir=$ac_optarg ;; |
| 633 |
|
| 634 |
-nfp | --nfp | --nf) |
| 635 |
# Obsolete; use --without-fp. |
| 636 |
with_fp=no ;; |
| 637 |
|
| 638 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 639 |
| --no-cr | --no-c | -n) |
| 640 |
no_create=yes ;; |
| 641 |
|
| 642 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 643 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 644 |
no_recursion=yes ;; |
| 645 |
|
| 646 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 647 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 648 |
| --oldin | --oldi | --old | --ol | --o) |
| 649 |
ac_prev=oldincludedir ;; |
| 650 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 651 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 652 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 653 |
oldincludedir=$ac_optarg ;; |
| 654 |
|
| 655 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 656 |
ac_prev=prefix ;; |
| 657 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 658 |
prefix=$ac_optarg ;; |
| 659 |
|
| 660 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 661 |
| --program-pre | --program-pr | --program-p) |
| 662 |
ac_prev=program_prefix ;; |
| 663 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 664 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 665 |
program_prefix=$ac_optarg ;; |
| 666 |
|
| 667 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 668 |
| --program-suf | --program-su | --program-s) |
| 669 |
ac_prev=program_suffix ;; |
| 670 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 671 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 672 |
program_suffix=$ac_optarg ;; |
| 673 |
|
| 674 |
-program-transform-name | --program-transform-name \ |
| 675 |
| --program-transform-nam | --program-transform-na \ |
| 676 |
| --program-transform-n | --program-transform- \ |
| 677 |
| --program-transform | --program-transfor \ |
| 678 |
| --program-transfo | --program-transf \ |
| 679 |
| --program-trans | --program-tran \ |
| 680 |
| --progr-tra | --program-tr | --program-t) |
| 681 |
ac_prev=program_transform_name ;; |
| 682 |
-program-transform-name=* | --program-transform-name=* \ |
| 683 |
| --program-transform-nam=* | --program-transform-na=* \ |
| 684 |
| --program-transform-n=* | --program-transform-=* \ |
| 685 |
| --program-transform=* | --program-transfor=* \ |
| 686 |
| --program-transfo=* | --program-transf=* \ |
| 687 |
| --program-trans=* | --program-tran=* \ |
| 688 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 689 |
program_transform_name=$ac_optarg ;; |
| 690 |
|
| 691 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 692 |
| -silent | --silent | --silen | --sile | --sil) |
| 693 |
silent=yes ;; |
| 694 |
|
| 695 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 696 |
ac_prev=sbindir ;; |
| 697 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 698 |
| --sbi=* | --sb=*) |
| 699 |
sbindir=$ac_optarg ;; |
| 700 |
|
| 701 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 702 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 703 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 704 |
| --sha | --sh) |
| 705 |
ac_prev=sharedstatedir ;; |
| 706 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 707 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 708 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 709 |
| --sha=* | --sh=*) |
| 710 |
sharedstatedir=$ac_optarg ;; |
| 711 |
|
| 712 |
-site | --site | --sit) |
| 713 |
ac_prev=site ;; |
| 714 |
-site=* | --site=* | --sit=*) |
| 715 |
site=$ac_optarg ;; |
| 716 |
|
| 717 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 718 |
ac_prev=srcdir ;; |
| 719 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 720 |
srcdir=$ac_optarg ;; |
| 721 |
|
| 722 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 723 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| 724 |
ac_prev=sysconfdir ;; |
| 725 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 726 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 727 |
sysconfdir=$ac_optarg ;; |
| 728 |
|
| 729 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 730 |
ac_prev=target_alias ;; |
| 731 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 732 |
target_alias=$ac_optarg ;; |
| 733 |
|
| 734 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 735 |
verbose=yes ;; |
| 736 |
|
| 737 |
-version | --version | --versio | --versi | --vers | -V) |
| 738 |
ac_init_version=: ;; |
| 739 |
|
| 740 |
-with-* | --with-*) |
| 741 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 742 |
# Reject names that are not valid shell variable names. |
| 743 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 744 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 745 |
{ (exit 1); exit 1; }; } |
| 746 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 747 |
case $ac_option in |
| 748 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| 749 |
*) ac_optarg=yes ;; |
| 750 |
esac |
| 751 |
eval "with_$ac_package='$ac_optarg'" ;; |
| 752 |
|
| 753 |
-without-* | --without-*) |
| 754 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 755 |
# Reject names that are not valid shell variable names. |
| 756 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| 757 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 758 |
{ (exit 1); exit 1; }; } |
| 759 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
| 760 |
eval "with_$ac_package=no" ;; |
| 761 |
|
| 762 |
--x) |
| 763 |
# Obsolete; use --with-x. |
| 764 |
with_x=yes ;; |
| 765 |
|
| 766 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 767 |
| --x-incl | --x-inc | --x-in | --x-i) |
| 768 |
ac_prev=x_includes ;; |
| 769 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 770 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 771 |
x_includes=$ac_optarg ;; |
| 772 |
|
| 773 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 774 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 775 |
ac_prev=x_libraries ;; |
| 776 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 777 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 778 |
x_libraries=$ac_optarg ;; |
| 779 |
|
| 780 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
| 781 |
Try \`$0 --help' for more information." >&2 |
| 782 |
{ (exit 1); exit 1; }; } |
| 783 |
;; |
| 784 |
|
| 785 |
*=*) |
| 786 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 787 |
# Reject names that are not valid shell variable names. |
| 788 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 789 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 790 |
{ (exit 1); exit 1; }; } |
| 791 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 792 |
eval "$ac_envvar='$ac_optarg'" |
| 793 |
export $ac_envvar ;; |
| 794 |
|
| 795 |
*) |
| 796 |
# FIXME: should be removed in autoconf 3.0. |
| 797 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 798 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 799 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 800 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 801 |
;; |
| 802 |
|
| 803 |
esac |
| 804 |
done |
| 805 |
|
| 806 |
if test -n "$ac_prev"; then |
| 807 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 808 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
| 809 |
{ (exit 1); exit 1; }; } |
| 810 |
fi |
| 811 |
|
| 812 |
# Be sure to have absolute paths. |
| 813 |
for ac_var in exec_prefix prefix |
| 814 |
do |
| 815 |
eval ac_val=$`echo $ac_var` |
| 816 |
case $ac_val in |
| 817 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| 818 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 819 |
{ (exit 1); exit 1; }; };; |
| 820 |
esac |
| 821 |
done |
| 822 |
|
| 823 |
# Be sure to have absolute paths. |
| 824 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| 825 |
localstatedir libdir includedir oldincludedir infodir mandir |
| 826 |
do |
| 827 |
eval ac_val=$`echo $ac_var` |
| 828 |
case $ac_val in |
| 829 |
[\\/$]* | ?:[\\/]* ) ;; |
| 830 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| 831 |
{ (exit 1); exit 1; }; };; |
| 832 |
esac |
| 833 |
done |
| 834 |
|
| 835 |
# There might be people who depend on the old broken behavior: `$host' |
| 836 |
# used to hold the argument of --host etc. |
| 837 |
# FIXME: To remove some day. |
| 838 |
build=$build_alias |
| 839 |
host=$host_alias |
| 840 |
target=$target_alias |
| 841 |
|
| 842 |
# FIXME: To remove some day. |
| 843 |
if test "x$host_alias" != x; then |
| 844 |
if test "x$build_alias" = x; then |
| 845 |
cross_compiling=maybe |
| 846 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 847 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
| 848 |
elif test "x$build_alias" != "x$host_alias"; then |
| 849 |
cross_compiling=yes |
| 850 |
fi |
| 851 |
fi |
| 852 |
|
| 853 |
ac_tool_prefix= |
| 854 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 855 |
|
| 856 |
test "$silent" = yes && exec 6>/dev/null |
| 857 |
|
| 858 |
|
| 859 |
# Find the source files, if location was not specified. |
| 860 |
if test -z "$srcdir"; then |
| 861 |
ac_srcdir_defaulted=yes |
| 862 |
# Try the directory containing this script, then its parent. |
| 863 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
| 864 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 865 |
X"$0" : 'X\(//\)[^/]' \| \ |
| 866 |
X"$0" : 'X\(//\)$' \| \ |
| 867 |
X"$0" : 'X\(/\)' \| \ |
| 868 |
. : '\(.\)' 2>/dev/null || |
| 869 |
echo X"$0" | |
| 870 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| 871 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| 872 |
/^X\(\/\/\)$/{ s//\1/; q; } |
| 873 |
/^X\(\/\).*/{ s//\1/; q; } |
| 874 |
s/.*/./; q'` |
| 875 |
srcdir=$ac_confdir |
| 876 |
if test ! -r $srcdir/$ac_unique_file; then |
| 877 |
srcdir=.. |
| 878 |
fi |
| 879 |
else |
| 880 |
ac_srcdir_defaulted=no |
| 881 |
fi |
| 882 |
if test ! -r $srcdir/$ac_unique_file; then |
| 883 |
if test "$ac_srcdir_defaulted" = yes; then |
| 884 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| 885 |
{ (exit 1); exit 1; }; } |
| 886 |
else |
| 887 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 888 |
{ (exit 1); exit 1; }; } |
| 889 |
fi |
| 890 |
fi |
| 891 |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| 892 |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| 893 |
{ (exit 1); exit 1; }; } |
| 894 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| 895 |
ac_env_build_alias_set=${build_alias+set} |
| 896 |
ac_env_build_alias_value=$build_alias |
| 897 |
ac_cv_env_build_alias_set=${build_alias+set} |
| 898 |
ac_cv_env_build_alias_value=$build_alias |
| 899 |
ac_env_host_alias_set=${host_alias+set} |
| 900 |
ac_env_host_alias_value=$host_alias |
| 901 |
ac_cv_env_host_alias_set=${host_alias+set} |
| 902 |
ac_cv_env_host_alias_value=$host_alias |
| 903 |
ac_env_target_alias_set=${target_alias+set} |
| 904 |
ac_env_target_alias_value=$target_alias |
| 905 |
ac_cv_env_target_alias_set=${target_alias+set} |
| 906 |
ac_cv_env_target_alias_value=$target_alias |
| 907 |
ac_env_CC_set=${CC+set} |
| 908 |
ac_env_CC_value=$CC |
| 909 |
ac_cv_env_CC_set=${CC+set} |
| 910 |
ac_cv_env_CC_value=$CC |
| 911 |
ac_env_CFLAGS_set=${CFLAGS+set} |
| 912 |
ac_env_CFLAGS_value=$CFLAGS |
| 913 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 914 |
ac_cv_env_CFLAGS_value=$CFLAGS |
| 915 |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 916 |
ac_env_LDFLAGS_value=$LDFLAGS |
| 917 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 918 |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 919 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 920 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
| 921 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 922 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 923 |
ac_env_F77_set=${F77+set} |
| 924 |
ac_env_F77_value=$F77 |
| 925 |
ac_cv_env_F77_set=${F77+set} |
| 926 |
ac_cv_env_F77_value=$F77 |
| 927 |
ac_env_FFLAGS_set=${FFLAGS+set} |
| 928 |
ac_env_FFLAGS_value=$FFLAGS |
| 929 |
ac_cv_env_FFLAGS_set=${FFLAGS+set} |
| 930 |
ac_cv_env_FFLAGS_value=$FFLAGS |
| 931 |
ac_env_CXX_set=${CXX+set} |
| 932 |
ac_env_CXX_value=$CXX |
| 933 |
ac_cv_env_CXX_set=${CXX+set} |
| 934 |
ac_cv_env_CXX_value=$CXX |
| 935 |
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 936 |
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 937 |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 938 |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 939 |
ac_env_CPP_set=${CPP+set} |
| 940 |
ac_env_CPP_value=$CPP |
| 941 |
ac_cv_env_CPP_set=${CPP+set} |
| 942 |
ac_cv_env_CPP_value=$CPP |
| 943 |
ac_env_CXXCPP_set=${CXXCPP+set} |
| 944 |
ac_env_CXXCPP_value=$CXXCPP |
| 945 |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
| 946 |
ac_cv_env_CXXCPP_value=$CXXCPP |
| 947 |
|
| 948 |
# |
| 949 |
# Report the --help message. |
| 950 |
# |
| 951 |
if test "$ac_init_help" = "long"; then |
| 952 |
# Omit some internal or obsolete options to make the list less imposing. |
| 953 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 954 |
cat <<_ACEOF |
| 955 |
\`configure' configures this package to adapt to many kinds of systems. |
| 956 |
|
| 957 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 958 |
|
| 959 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 960 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
| 961 |
|
| 962 |
Defaults for the options are specified in brackets. |
| 963 |
|
| 964 |
Configuration: |
| 965 |
-h, --help display this help and exit |
| 966 |
--help=short display options specific to this package |
| 967 |
--help=recursive display the short help of all the included packages |
| 968 |
-V, --version display version information and exit |
| 969 |
-q, --quiet, --silent do not print \`checking...' messages |
| 970 |
--cache-file=FILE cache test results in FILE [disabled] |
| 971 |
-C, --config-cache alias for \`--cache-file=config.cache' |
| 972 |
-n, --no-create do not create output files |
| 973 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 974 |
|
| 975 |
_ACEOF |
| 976 |
|
| 977 |
cat <<_ACEOF |
| 978 |
Installation directories: |
| 979 |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 980 |
[$ac_default_prefix] |
| 981 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 982 |
[PREFIX] |
| 983 |
|
| 984 |
By default, \`make install' will install all the files in |
| 985 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 986 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 987 |
for instance \`--prefix=\$HOME'. |
| 988 |
|
| 989 |
For better control, use the options below. |
| 990 |
|
| 991 |
Fine tuning of the installation directories: |
| 992 |
--bindir=DIR user executables [EPREFIX/bin] |
| 993 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
| 994 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
| 995 |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
| 996 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 997 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 998 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 999 |
--libdir=DIR object code libraries [EPREFIX/lib] |
| 1000 |
--includedir=DIR C header files [PREFIX/include] |
| 1001 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1002 |
--infodir=DIR info documentation [PREFIX/info] |
| 1003 |
--mandir=DIR man documentation [PREFIX/man] |
| 1004 |
_ACEOF |
| 1005 |
|
| 1006 |
cat <<\_ACEOF |
| 1007 |
|
| 1008 |
Program names: |
| 1009 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
| 1010 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
| 1011 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1012 |
|
| 1013 |
System types: |
| 1014 |
--build=BUILD configure for building on BUILD [guessed] |
| 1015 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1016 |
_ACEOF |
| 1017 |
fi |
| 1018 |
|
| 1019 |
if test -n "$ac_init_help"; then |
| 1020 |
|
| 1021 |
cat <<\_ACEOF |
| 1022 |
|
| 1023 |
Optional Features: |
| 1024 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1025 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1026 |
--disable-dependency-tracking Speeds up one-time builds |
| 1027 |
--enable-dependency-tracking Do not reject slow dependency extractors |
| 1028 |
--enable-shared[=PKGS] |
| 1029 |
build shared libraries [default=yes] |
| 1030 |
--enable-static[=PKGS] |
| 1031 |
build static libraries [default=yes] |
| 1032 |
--enable-fast-install[=PKGS] |
| 1033 |
optimize for fast installation [default=yes] |
| 1034 |
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1035 |
--enable-gprof enable memory profiling with gprof |
| 1036 |
|
| 1037 |
Optional Packages: |
| 1038 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1039 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1040 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1041 |
--with-pic try to use only PIC/non-PIC objects [default=use |
| 1042 |
both] |
| 1043 |
--with-tags[=TAGS] |
| 1044 |
include additional configurations [automatic] |
| 1045 |
--with-root=path Use the specified ROOT directory |
| 1046 |
--with-log4cxx=path Use the specified directroy for log4cxx |
| 1047 |
|
| 1048 |
Some influential environment variables: |
| 1049 |
CC C compiler command |
| 1050 |
CFLAGS C compiler flags |
| 1051 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1052 |
nonstandard directory <lib dir> |
| 1053 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 1054 |
headers in a nonstandard directory <include dir> |
| 1055 |
F77 Fortran 77 compiler command |
| 1056 |
FFLAGS Fortran 77 compiler flags |
| 1057 |
CXX C++ compiler command |
| 1058 |
CXXFLAGS C++ compiler flags |
| 1059 |
CPP C preprocessor |
| 1060 |
CXXCPP C++ preprocessor |
| 1061 |
|
| 1062 |
Use these variables to override the choices made by `configure' or to help |
| 1063 |
it to find libraries and programs with nonstandard names/locations. |
| 1064 |
|
| 1065 |
_ACEOF |
| 1066 |
fi |
| 1067 |
|
| 1068 |
if test "$ac_init_help" = "recursive"; then |
| 1069 |
# If there are subdirs, report their specific --help. |
| 1070 |
ac_popdir=`pwd` |
| 1071 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1072 |
test -d $ac_dir || continue |
| 1073 |
ac_builddir=. |
| 1074 |
|
| 1075 |
if test "$ac_dir" != .; then |
| 1076 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 1077 |
# A "../" for each directory in $ac_dir_suffix. |
| 1078 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| 1079 |
else |
| 1080 |
ac_dir_suffix= ac_top_builddir= |
| 1081 |
fi |
| 1082 |
|
| 1083 |
case $srcdir in |
| 1084 |
.) # No --srcdir option. We are building in place. |
| 1085 |
ac_srcdir=. |
| 1086 |
if test -z "$ac_top_builddir"; then |
| 1087 |
ac_top_srcdir=. |
| 1088 |
else |
| 1089 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| 1090 |
fi ;; |
| 1091 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
| 1092 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 1093 |
ac_top_srcdir=$srcdir ;; |
| 1094 |
*) # Relative path. |
| 1095 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| 1096 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| 1097 |
esac |
| 1098 |
|
| 1099 |
# Do not use `cd foo && pwd` to compute absolute paths, because |
| 1100 |
# the directories may not exist. |
| 1101 |
case `pwd` in |
| 1102 |
.) ac_abs_builddir="$ac_dir";; |
| 1103 |
*) |
| 1104 |
case "$ac_dir" in |
| 1105 |
.) ac_abs_builddir=`pwd`;; |
| 1106 |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| 1107 |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
| 1108 |
esac;; |
| 1109 |
esac |
| 1110 |
case $ac_abs_builddir in |
| 1111 |
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 1112 |
*) |
| 1113 |
case ${ac_top_builddir}. in |
| 1114 |
.) ac_abs_top_builddir=$ac_abs_builddir;; |
| 1115 |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| 1116 |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| 1117 |
esac;; |
| 1118 |
esac |
| 1119 |
case $ac_abs_builddir in |
| 1120 |
.) ac_abs_srcdir=$ac_srcdir;; |
| 1121 |
*) |
| 1122 |
case $ac_srcdir in |
| 1123 |
.) ac_abs_srcdir=$ac_abs_builddir;; |
| 1124 |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| 1125 |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| 1126 |
esac;; |
| 1127 |
esac |
| 1128 |
case $ac_abs_builddir in |
| 1129 |
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 1130 |
*) |
| 1131 |
case $ac_top_srcdir in |
| 1132 |
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
| 1133 |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| 1134 |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| 1135 |
esac;; |
| 1136 |
esac |
| 1137 |
|
| 1138 |
cd $ac_dir |
| 1139 |
# Check for guested configure; otherwise get Cygnus style configure. |
| 1140 |
if test -f $ac_srcdir/configure.gnu; then |
| 1141 |
echo |
| 1142 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
| 1143 |
elif test -f $ac_srcdir/configure; then |
| 1144 |
echo |
| 1145 |
$SHELL $ac_srcdir/configure --help=recursive |
| 1146 |
elif test -f $ac_srcdir/configure.ac || |
| 1147 |
test -f $ac_srcdir/configure.in; then |
| 1148 |
echo |
| 1149 |
$ac_configure --help |
| 1150 |
else |
| 1151 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1152 |
fi |
| 1153 |
cd $ac_popdir |
| 1154 |
done |
| 1155 |
fi |
| 1156 |
|
| 1157 |
test -n "$ac_init_help" && exit 0 |
| 1158 |
if $ac_init_version; then |
| 1159 |
cat <<\_ACEOF |
| 1160 |
|
| 1161 |
Copyright (C) 2003 Free Software Foundation, Inc. |
| 1162 |
This configure script is free software; the Free Software Foundation |
| 1163 |
gives unlimited permission to copy, distribute and modify it. |
| 1164 |
_ACEOF |
| 1165 |
exit 0 |
| 1166 |
fi |
| 1167 |
exec 5>config.log |
| 1168 |
cat >&5 <<_ACEOF |
| 1169 |
This file contains any messages produced by compilers while |
| 1170 |
running configure, to aid debugging if configure makes a mistake. |
| 1171 |
|
| 1172 |
It was created by $as_me, which was |
| 1173 |
generated by GNU Autoconf 2.59. Invocation command line was |
| 1174 |
|
| 1175 |
$ $0 $@ |
| 1176 |
|
| 1177 |
_ACEOF |
| 1178 |
{ |
| 1179 |
cat <<_ASUNAME |
| 1180 |
## --------- ## |
| 1181 |
## Platform. ## |
| 1182 |
## --------- ## |
| 1183 |
|
| 1184 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1185 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1186 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1187 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1188 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1189 |
|
| 1190 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1191 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1192 |
|
| 1193 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1194 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1195 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1196 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| 1197 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1198 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1199 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1200 |
|
| 1201 |
_ASUNAME |
| 1202 |
|
| 1203 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1204 |
for as_dir in $PATH |
| 1205 |
do |
| 1206 |
IFS=$as_save_IFS |
| 1207 |
test -z "$as_dir" && as_dir=. |
| 1208 |
echo "PATH: $as_dir" |
| 1209 |
done |
| 1210 |
|
| 1211 |
} >&5 |
| 1212 |
|
| 1213 |
cat >&5 <<_ACEOF |
| 1214 |
|
| 1215 |
|
| 1216 |
## ----------- ## |
| 1217 |
## Core tests. ## |
| 1218 |
## ----------- ## |
| 1219 |
|
| 1220 |
_ACEOF |
| 1221 |
|
| 1222 |
|
| 1223 |
# Keep a trace of the command line. |
| 1224 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 1225 |
# Strip out --silent because we don't want to record it for future runs. |
| 1226 |
# Also quote any args containing shell meta-characters. |
| 1227 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 1228 |
ac_configure_args= |
| 1229 |
ac_configure_args0= |
| 1230 |
ac_configure_args1= |
| 1231 |
ac_sep= |
| 1232 |
ac_must_keep_next=false |
| 1233 |
for ac_pass in 1 2 |
| 1234 |
do |
| 1235 |
for ac_arg |
| 1236 |
do |
| 1237 |
case $ac_arg in |
| 1238 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1239 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1240 |
| -silent | --silent | --silen | --sile | --sil) |
| 1241 |
continue ;; |
| 1242 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1243 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1244 |
esac |
| 1245 |
case $ac_pass in |
| 1246 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| 1247 |
2) |
| 1248 |
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
| 1249 |
if test $ac_must_keep_next = true; then |
| 1250 |
ac_must_keep_next=false # Got value, back to normal. |
| 1251 |
else |
| 1252 |
case $ac_arg in |
| 1253 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1254 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1255 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1256 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1257 |
case "$ac_configure_args0 " in |
| 1258 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1259 |
esac |
| 1260 |
;; |
| 1261 |
-* ) ac_must_keep_next=true ;; |
| 1262 |
esac |
| 1263 |
fi |
| 1264 |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| 1265 |
# Get rid of the leading space. |
| 1266 |
ac_sep=" " |
| 1267 |
;; |
| 1268 |
esac |
| 1269 |
done |
| 1270 |
done |
| 1271 |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
| 1272 |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
| 1273 |
|
| 1274 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1275 |
# config.log. We remove comments because anyway the quotes in there |
| 1276 |
# would cause problems or look ugly. |
| 1277 |
# WARNING: Be sure not to use single quotes in there, as some shells, |
| 1278 |
# such as our DU 5.0 friend, will then `close' the trap. |
| 1279 |
trap 'exit_status=$? |
| 1280 |
# Save into config.log some information that might help in debugging. |
| 1281 |
{ |
| 1282 |
echo |
| 1283 |
|
| 1284 |
cat <<\_ASBOX |
| 1285 |
## ---------------- ## |
| 1286 |
## Cache variables. ## |
| 1287 |
## ---------------- ## |
| 1288 |
_ASBOX |
| 1289 |
echo |
| 1290 |
# The following way of writing the cache mishandles newlines in values, |
| 1291 |
{ |
| 1292 |
(set) 2>&1 | |
| 1293 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| 1294 |
*ac_space=\ *) |
| 1295 |
sed -n \ |
| 1296 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| 1297 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| 1298 |
;; |
| 1299 |
*) |
| 1300 |
sed -n \ |
| 1301 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| 1302 |
;; |
| 1303 |
esac; |
| 1304 |
} |
| 1305 |
echo |
| 1306 |
|
| 1307 |
cat <<\_ASBOX |
| 1308 |
## ----------------- ## |
| 1309 |
## Output variables. ## |
| 1310 |
## ----------------- ## |
| 1311 |
_ASBOX |
| 1312 |
echo |
| 1313 |
for ac_var in $ac_subst_vars |
| 1314 |
do |
| 1315 |
eval ac_val=$`echo $ac_var` |
| 1316 |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1317 |
done | sort |
| 1318 |
echo |
| 1319 |
|
| 1320 |
if test -n "$ac_subst_files"; then |
| 1321 |
cat <<\_ASBOX |
| 1322 |
## ------------- ## |
| 1323 |
## Output files. ## |
| 1324 |
## ------------- ## |
| 1325 |
_ASBOX |
| 1326 |
echo |
| 1327 |
for ac_var in $ac_subst_files |
| 1328 |
do |
| 1329 |
eval ac_val=$`echo $ac_var` |
| 1330 |
echo "$ac_var='"'"'$ac_val'"'"'" |
| 1331 |
done | sort |
| 1332 |
echo |
| 1333 |
fi |
| 1334 |
|
| 1335 |
if test -s confdefs.h; then |
| 1336 |
cat <<\_ASBOX |
| 1337 |
## ----------- ## |
| 1338 |
## confdefs.h. ## |
| 1339 |
## ----------- ## |
| 1340 |
_ASBOX |
| 1341 |
echo |
| 1342 |
sed "/^$/d" confdefs.h | sort |
| 1343 |
echo |
| 1344 |
fi |
| 1345 |
test "$ac_signal" != 0 && |
| 1346 |
echo "$as_me: caught signal $ac_signal" |
| 1347 |
echo "$as_me: exit $exit_status" |
| 1348 |
} >&5 |
| 1349 |
rm -f core *.core && |
| 1350 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| 1351 |
exit $exit_status |
| 1352 |
' 0 |
| 1353 |
for ac_signal in 1 2 13 15; do |
| 1354 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1355 |
done |
| 1356 |
ac_signal=0 |
| 1357 |
|
| 1358 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1359 |
rm -rf conftest* confdefs.h |
| 1360 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 1361 |
echo >confdefs.h |
| 1362 |
|
| 1363 |
# Predefined preprocessor variables. |
| 1364 |
|
| 1365 |
cat >>confdefs.h <<_ACEOF |
| 1366 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 1367 |
_ACEOF |
| 1368 |
|
| 1369 |
|
| 1370 |
cat >>confdefs.h <<_ACEOF |
| 1371 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1372 |
_ACEOF |
| 1373 |
|
| 1374 |
|
| 1375 |
cat >>confdefs.h <<_ACEOF |
| 1376 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1377 |
_ACEOF |
| 1378 |
|
| 1379 |
|
| 1380 |
cat >>confdefs.h <<_ACEOF |
| 1381 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 1382 |
_ACEOF |
| 1383 |
|
| 1384 |
|
| 1385 |
cat >>confdefs.h <<_ACEOF |
| 1386 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1387 |
_ACEOF |
| 1388 |
|
| 1389 |
|
| 1390 |
# Let the site file select an alternate cache file if it wants to. |
| 1391 |
# Prefer explicitly selected file to automatically selected ones. |
| 1392 |
if test -z "$CONFIG_SITE"; then |
| 1393 |
if test "x$prefix" != xNONE; then |
| 1394 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 1395 |
else |
| 1396 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1397 |
fi |
| 1398 |
fi |
| 1399 |
for ac_site_file in $CONFIG_SITE; do |
| 1400 |
if test -r "$ac_site_file"; then |
| 1401 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1402 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1403 |
sed 's/^/| /' "$ac_site_file" >&5 |
| 1404 |
. "$ac_site_file" |
| 1405 |
fi |
| 1406 |
done |
| 1407 |
|
| 1408 |
if test -r "$cache_file"; then |
| 1409 |
# Some versions of bash will fail to source /dev/null (special |
| 1410 |
# files actually), so we avoid doing that. |
| 1411 |
if test -f "$cache_file"; then |
| 1412 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1413 |
echo "$as_me: loading cache $cache_file" >&6;} |
| 1414 |
case $cache_file in |
| 1415 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
| 1416 |
*) . ./$cache_file;; |
| 1417 |
esac |
| 1418 |
fi |
| 1419 |
else |
| 1420 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| 1421 |
echo "$as_me: creating cache $cache_file" >&6;} |
| 1422 |
>$cache_file |
| 1423 |
fi |
| 1424 |
|
| 1425 |
# Check that the precious variables saved in the cache have kept the same |
| 1426 |
# value. |
| 1427 |
ac_cache_corrupted=false |
| 1428 |
for ac_var in `(set) 2>&1 | |
| 1429 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| 1430 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1431 |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1432 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| 1433 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
| 1434 |
case $ac_old_set,$ac_new_set in |
| 1435 |
set,) |
| 1436 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1437 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1438 |
ac_cache_corrupted=: ;; |
| 1439 |
,set) |
| 1440 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| 1441 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1442 |
ac_cache_corrupted=: ;; |
| 1443 |
,);; |
| 1444 |
*) |
| 1445 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1446 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1447 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1448 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| 1449 |
echo "$as_me: former value: $ac_old_val" >&2;} |
| 1450 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| 1451 |
echo "$as_me: current value: $ac_new_val" >&2;} |
| 1452 |
ac_cache_corrupted=: |
| 1453 |
fi;; |
| 1454 |
esac |
| 1455 |
# Pass precious variables to config.status. |
| 1456 |
if test "$ac_new_set" = set; then |
| 1457 |
case $ac_new_val in |
| 1458 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| 1459 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1460 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 1461 |
esac |
| 1462 |
case " $ac_configure_args " in |
| 1463 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1464 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 1465 |
esac |
| 1466 |
fi |
| 1467 |
done |
| 1468 |
if $ac_cache_corrupted; then |
| 1469 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| 1470 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1471 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| 1472 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| 1473 |
{ (exit 1); exit 1; }; } |
| 1474 |
fi |
| 1475 |
|
| 1476 |
ac_ext=c |
| 1477 |
ac_cpp='$CPP $CPPFLAGS' |
| 1478 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1479 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1480 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1481 |
|
| 1482 |
|
| 1483 |
|
| 1484 |
|
| 1485 |
|
| 1486 |
|
| 1487 |
|
| 1488 |
|
| 1489 |
|
| 1490 |
|
| 1491 |
|
| 1492 |
|
| 1493 |
|
| 1494 |
|
| 1495 |
|
| 1496 |
|
| 1497 |
|
| 1498 |
|
| 1499 |
|
| 1500 |
|
| 1501 |
am__api_version="1.7" |
| 1502 |
ac_aux_dir= |
| 1503 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| 1504 |
if test -f $ac_dir/install-sh; then |
| 1505 |
ac_aux_dir=$ac_dir |
| 1506 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1507 |
break |
| 1508 |
elif test -f $ac_dir/install.sh; then |
| 1509 |
ac_aux_dir=$ac_dir |
| 1510 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1511 |
break |
| 1512 |
elif test -f $ac_dir/shtool; then |
| 1513 |
ac_aux_dir=$ac_dir |
| 1514 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1515 |
break |
| 1516 |
fi |
| 1517 |
done |
| 1518 |
if test -z "$ac_aux_dir"; then |
| 1519 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
| 1520 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
| 1521 |
{ (exit 1); exit 1; }; } |
| 1522 |
fi |
| 1523 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
| 1524 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
| 1525 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| 1526 |
|
| 1527 |
# Find a good install program. We prefer a C program (faster), |
| 1528 |
# so one script is as good as another. But avoid the broken or |
| 1529 |
# incompatible versions: |
| 1530 |
# SysV /etc/install, /usr/sbin/install |
| 1531 |
# SunOS /usr/etc/install |
| 1532 |
# IRIX /sbin/install |
| 1533 |
# AIX /bin/install |
| 1534 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 1535 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1536 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1537 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1538 |
# OS/2's system install, which has a completely different semantic |
| 1539 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 1540 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 1541 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
| 1542 |
if test -z "$INSTALL"; then |
| 1543 |
if test "${ac_cv_path_install+set}" = set; then |
| 1544 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1545 |
else |
| 1546 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1547 |
for as_dir in $PATH |
| 1548 |
do |
| 1549 |
IFS=$as_save_IFS |
| 1550 |
test -z "$as_dir" && as_dir=. |
| 1551 |
# Account for people who put trailing slashes in PATH elements. |
| 1552 |
case $as_dir/ in |
| 1553 |
./ | .// | /cC/* | \ |
| 1554 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 1555 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 1556 |
/usr/ucb/* ) ;; |
| 1557 |
*) |
| 1558 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 1559 |
# Don't use installbsd from OSF since it installs stuff as root |
| 1560 |
# by default. |
| 1561 |
for ac_prog in ginstall scoinst install; do |
| 1562 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1563 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 1564 |
if test $ac_prog = install && |
| 1565 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1566 |
# AIX install. It has an incompatible calling convention. |
| 1567 |
: |
| 1568 |
elif test $ac_prog = install && |
| 1569 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1570 |
# program-specific install script used by HP pwplus--don't use. |
| 1571 |
: |
| 1572 |
else |
| 1573 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 1574 |
break 3 |
| 1575 |
fi |
| 1576 |
fi |
| 1577 |
done |
| 1578 |
done |
| 1579 |
;; |
| 1580 |
esac |
| 1581 |
done |
| 1582 |
|
| 1583 |
|
| 1584 |
fi |
| 1585 |
if test "${ac_cv_path_install+set}" = set; then |
| 1586 |
INSTALL=$ac_cv_path_install |
| 1587 |
else |
| 1588 |
# As a last resort, use the slow shell script. We don't cache a |
| 1589 |
# path for INSTALL within a source directory, because that will |
| 1590 |
# break other packages using the cache if that directory is |
| 1591 |
# removed, or if the path is relative. |
| 1592 |
INSTALL=$ac_install_sh |
| 1593 |
fi |
| 1594 |
fi |
| 1595 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 1596 |
echo "${ECHO_T}$INSTALL" >&6 |
| 1597 |
|
| 1598 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 1599 |
# It thinks the first close brace ends the variable substitution. |
| 1600 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 1601 |
|
| 1602 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 1603 |
|
| 1604 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1605 |
|
| 1606 |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
| 1607 |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
| 1608 |
# Just in case |
| 1609 |
sleep 1 |
| 1610 |
echo timestamp > conftest.file |
| 1611 |
# Do `set' in a subshell so we don't clobber the current shell's |
| 1612 |
# arguments. Must try -L first in case configure is actually a |
| 1613 |
# symlink; some systems play weird games with the mod time of symlinks |
| 1614 |
# (eg FreeBSD returns the mod time of the symlink's containing |
| 1615 |
# directory). |
| 1616 |
if ( |
| 1617 |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
| 1618 |
if test "$*" = "X"; then |
| 1619 |
# -L didn't work. |
| 1620 |
set X `ls -t $srcdir/configure conftest.file` |
| 1621 |
fi |
| 1622 |
rm -f conftest.file |
| 1623 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 1624 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 1625 |
|
| 1626 |
# If neither matched, then we have a broken ls. This can happen |
| 1627 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 1628 |
# broken ls alias from the environment. This has actually |
| 1629 |
# happened. Such a system could not be considered "sane". |
| 1630 |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
| 1631 |
alias in your environment" >&5 |
| 1632 |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
| 1633 |
alias in your environment" >&2;} |
| 1634 |
{ (exit 1); exit 1; }; } |
| 1635 |
fi |
| 1636 |
|
| 1637 |
test "$2" = conftest.file |
| 1638 |
) |
| 1639 |
then |
| 1640 |
# Ok. |
| 1641 |
: |
| 1642 |
else |
| 1643 |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
| 1644 |
Check your system clock" >&5 |
| 1645 |
echo "$as_me: error: newly created file is older than distributed files! |
| 1646 |
Check your system clock" >&2;} |
| 1647 |
{ (exit 1); exit 1; }; } |
| 1648 |
fi |
| 1649 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 1650 |
echo "${ECHO_T}yes" >&6 |
| 1651 |
test "$program_prefix" != NONE && |
| 1652 |
program_transform_name="s,^,$program_prefix,;$program_transform_name" |
| 1653 |
# Use a double $ so make ignores it. |
| 1654 |
test "$program_suffix" != NONE && |
| 1655 |
program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
| 1656 |
# Double any \ or $. echo might interpret backslashes. |
| 1657 |
# By default was `s,x,x', remove it if useless. |
| 1658 |
cat <<\_ACEOF >conftest.sed |
| 1659 |
s/[\\$]/&&/g;s/;s,x,x,$// |
| 1660 |
_ACEOF |
| 1661 |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
| 1662 |
rm conftest.sed |
| 1663 |
|
| 1664 |
|
| 1665 |
# expand $ac_aux_dir to an absolute path |
| 1666 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
| 1667 |
|
| 1668 |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
| 1669 |
# Use eval to expand $SHELL |
| 1670 |
if eval "$MISSING --run true"; then |
| 1671 |
am_missing_run="$MISSING --run " |
| 1672 |
else |
| 1673 |
am_missing_run= |
| 1674 |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
| 1675 |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
| 1676 |
fi |
| 1677 |
|
| 1678 |
for ac_prog in gawk mawk nawk awk |
| 1679 |
do |
| 1680 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1681 |
set dummy $ac_prog; ac_word=$2 |
| 1682 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1683 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1684 |
if test "${ac_cv_prog_AWK+set}" = set; then |
| 1685 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1686 |
else |
| 1687 |
if test -n "$AWK"; then |
| 1688 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 1689 |
else |
| 1690 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1691 |
for as_dir in $PATH |
| 1692 |
do |
| 1693 |
IFS=$as_save_IFS |
| 1694 |
test -z "$as_dir" && as_dir=. |
| 1695 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1696 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1697 |
ac_cv_prog_AWK="$ac_prog" |
| 1698 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1699 |
break 2 |
| 1700 |
fi |
| 1701 |
done |
| 1702 |
done |
| 1703 |
|
| 1704 |
fi |
| 1705 |
fi |
| 1706 |
AWK=$ac_cv_prog_AWK |
| 1707 |
if test -n "$AWK"; then |
| 1708 |
echo "$as_me:$LINENO: result: $AWK" >&5 |
| 1709 |
echo "${ECHO_T}$AWK" >&6 |
| 1710 |
else |
| 1711 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1712 |
echo "${ECHO_T}no" >&6 |
| 1713 |
fi |
| 1714 |
|
| 1715 |
test -n "$AWK" && break |
| 1716 |
done |
| 1717 |
|
| 1718 |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 1719 |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| 1720 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| 1721 |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| 1722 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1723 |
else |
| 1724 |
cat >conftest.make <<\_ACEOF |
| 1725 |
all: |
| 1726 |
@echo 'ac_maketemp="$(MAKE)"' |
| 1727 |
_ACEOF |
| 1728 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 1729 |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| 1730 |
if test -n "$ac_maketemp"; then |
| 1731 |
eval ac_cv_prog_make_${ac_make}_set=yes |
| 1732 |
else |
| 1733 |
eval ac_cv_prog_make_${ac_make}_set=no |
| 1734 |
fi |
| 1735 |
rm -f conftest.make |
| 1736 |
fi |
| 1737 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| 1738 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 1739 |
echo "${ECHO_T}yes" >&6 |
| 1740 |
SET_MAKE= |
| 1741 |
else |
| 1742 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1743 |
echo "${ECHO_T}no" >&6 |
| 1744 |
SET_MAKE="MAKE=${MAKE-make}" |
| 1745 |
fi |
| 1746 |
|
| 1747 |
rm -rf .tst 2>/dev/null |
| 1748 |
mkdir .tst 2>/dev/null |
| 1749 |
if test -d .tst; then |
| 1750 |
am__leading_dot=. |
| 1751 |
else |
| 1752 |
am__leading_dot=_ |
| 1753 |
fi |
| 1754 |
rmdir .tst 2>/dev/null |
| 1755 |
|
| 1756 |
# test to see if srcdir already configured |
| 1757 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
| 1758 |
test -f $srcdir/config.status; then |
| 1759 |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
| 1760 |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
| 1761 |
{ (exit 1); exit 1; }; } |
| 1762 |
fi |
| 1763 |
|
| 1764 |
# test whether we have cygpath |
| 1765 |
if test -z "$CYGPATH_W"; then |
| 1766 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
| 1767 |
CYGPATH_W='cygpath -w' |
| 1768 |
else |
| 1769 |
CYGPATH_W=echo |
| 1770 |
fi |
| 1771 |
fi |
| 1772 |
|
| 1773 |
|
| 1774 |
# Define the identity of the package. |
| 1775 |
PACKAGE=yoda |
| 1776 |
VERSION=4.2.4 |
| 1777 |
|
| 1778 |
|
| 1779 |
cat >>confdefs.h <<_ACEOF |
| 1780 |
#define PACKAGE "$PACKAGE" |
| 1781 |
_ACEOF |
| 1782 |
|
| 1783 |
|
| 1784 |
cat >>confdefs.h <<_ACEOF |
| 1785 |
#define VERSION "$VERSION" |
| 1786 |
_ACEOF |
| 1787 |
|
| 1788 |
# Some tools Automake needs. |
| 1789 |
|
| 1790 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 1791 |
|
| 1792 |
|
| 1793 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 1794 |
|
| 1795 |
|
| 1796 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 1797 |
|
| 1798 |
|
| 1799 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 1800 |
|
| 1801 |
|
| 1802 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 1803 |
|
| 1804 |
|
| 1805 |
AMTAR=${AMTAR-"${am_missing_run}tar"} |
| 1806 |
|
| 1807 |
install_sh=${install_sh-"$am_aux_dir/install-sh"} |
| 1808 |
|
| 1809 |
# Installed binaries are usually stripped using `strip' when the user |
| 1810 |
# run `make install-strip'. However `strip' might not be the right |
| 1811 |
# tool to use in cross-compilation environments, therefore Automake |
| 1812 |
# will honor the `STRIP' environment variable to overrule this program. |
| 1813 |
if test "$cross_compiling" != no; then |
| 1814 |
if test -n "$ac_tool_prefix"; then |
| 1815 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 1816 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 1817 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1818 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1819 |
if test "${ac_cv_prog_STRIP+set}" = set; then |
| 1820 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1821 |
else |
| 1822 |
if test -n "$STRIP"; then |
| 1823 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 1824 |
else |
| 1825 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1826 |
for as_dir in $PATH |
| 1827 |
do |
| 1828 |
IFS=$as_save_IFS |
| 1829 |
test -z "$as_dir" && as_dir=. |
| 1830 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1831 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1832 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 1833 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1834 |
break 2 |
| 1835 |
fi |
| 1836 |
done |
| 1837 |
done |
| 1838 |
|
| 1839 |
fi |
| 1840 |
fi |
| 1841 |
STRIP=$ac_cv_prog_STRIP |
| 1842 |
if test -n "$STRIP"; then |
| 1843 |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 1844 |
echo "${ECHO_T}$STRIP" >&6 |
| 1845 |
else |
| 1846 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1847 |
echo "${ECHO_T}no" >&6 |
| 1848 |
fi |
| 1849 |
|
| 1850 |
fi |
| 1851 |
if test -z "$ac_cv_prog_STRIP"; then |
| 1852 |
ac_ct_STRIP=$STRIP |
| 1853 |
# Extract the first word of "strip", so it can be a program name with args. |
| 1854 |
set dummy strip; ac_word=$2 |
| 1855 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1856 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1857 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
| 1858 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1859 |
else |
| 1860 |
if test -n "$ac_ct_STRIP"; then |
| 1861 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 1862 |
else |
| 1863 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1864 |
for as_dir in $PATH |
| 1865 |
do |
| 1866 |
IFS=$as_save_IFS |
| 1867 |
test -z "$as_dir" && as_dir=. |
| 1868 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1869 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1870 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 1871 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1872 |
break 2 |
| 1873 |
fi |
| 1874 |
done |
| 1875 |
done |
| 1876 |
|
| 1877 |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
| 1878 |
fi |
| 1879 |
fi |
| 1880 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 1881 |
if test -n "$ac_ct_STRIP"; then |
| 1882 |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
| 1883 |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
| 1884 |
else |
| 1885 |
echo "$as_me:$LINENO: result: no" >&5 |
| 1886 |
echo "${ECHO_T}no" >&6 |
| 1887 |
fi |
| 1888 |
|
| 1889 |
STRIP=$ac_ct_STRIP |
| 1890 |
else |
| 1891 |
STRIP="$ac_cv_prog_STRIP" |
| 1892 |
fi |
| 1893 |
|
| 1894 |
fi |
| 1895 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
| 1896 |
|
| 1897 |
# We need awk for the "check" target. The system "awk" is bad on |
| 1898 |
# some platforms. |
| 1899 |
|
| 1900 |
|
| 1901 |
|
| 1902 |
|
| 1903 |
ac_config_headers="$ac_config_headers config.h" |
| 1904 |
|
| 1905 |
|
| 1906 |
|
| 1907 |
|
| 1908 |
|
| 1909 |
# Make sure we can run config.sub. |
| 1910 |
$ac_config_sub sun4 >/dev/null 2>&1 || |
| 1911 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| 1912 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
| 1913 |
{ (exit 1); exit 1; }; } |
| 1914 |
|
| 1915 |
echo "$as_me:$LINENO: checking build system type" >&5 |
| 1916 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
| 1917 |
if test "${ac_cv_build+set}" = set; then |
| 1918 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1919 |
else |
| 1920 |
ac_cv_build_alias=$build_alias |
| 1921 |
test -z "$ac_cv_build_alias" && |
| 1922 |
ac_cv_build_alias=`$ac_config_guess` |
| 1923 |
test -z "$ac_cv_build_alias" && |
| 1924 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1925 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1926 |
{ (exit 1); exit 1; }; } |
| 1927 |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
| 1928 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
| 1929 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
| 1930 |
{ (exit 1); exit 1; }; } |
| 1931 |
|
| 1932 |
fi |
| 1933 |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1934 |
echo "${ECHO_T}$ac_cv_build" >&6 |
| 1935 |
build=$ac_cv_build |
| 1936 |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1937 |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1938 |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1939 |
|
| 1940 |
|
| 1941 |
echo "$as_me:$LINENO: checking host system type" >&5 |
| 1942 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
| 1943 |
if test "${ac_cv_host+set}" = set; then |
| 1944 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1945 |
else |
| 1946 |
ac_cv_host_alias=$host_alias |
| 1947 |
test -z "$ac_cv_host_alias" && |
| 1948 |
ac_cv_host_alias=$ac_cv_build_alias |
| 1949 |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
| 1950 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
| 1951 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
| 1952 |
{ (exit 1); exit 1; }; } |
| 1953 |
|
| 1954 |
fi |
| 1955 |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1956 |
echo "${ECHO_T}$ac_cv_host" >&6 |
| 1957 |
host=$ac_cv_host |
| 1958 |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 1959 |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 1960 |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 1961 |
|
| 1962 |
|
| 1963 |
|
| 1964 |
ac_ext=c |
| 1965 |
ac_cpp='$CPP $CPPFLAGS' |
| 1966 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1967 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1968 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1969 |
if test -n "$ac_tool_prefix"; then |
| 1970 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 1971 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 1972 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1973 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1974 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 1975 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1976 |
else |
| 1977 |
if test -n "$CC"; then |
| 1978 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1979 |
else |
| 1980 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1981 |
for as_dir in $PATH |
| 1982 |
do |
| 1983 |
IFS=$as_save_IFS |
| 1984 |
test -z "$as_dir" && as_dir=. |
| 1985 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1986 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1987 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 1988 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1989 |
break 2 |
| 1990 |
fi |
| 1991 |
done |
| 1992 |
done |
| 1993 |
|
| 1994 |
fi |
| 1995 |
fi |
| 1996 |
CC=$ac_cv_prog_CC |
| 1997 |
if test -n "$CC"; then |
| 1998 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1999 |
echo "${ECHO_T}$CC" >&6 |
| 2000 |
else |
| 2001 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2002 |
echo "${ECHO_T}no" >&6 |
| 2003 |
fi |
| 2004 |
|
| 2005 |
fi |
| 2006 |
if test -z "$ac_cv_prog_CC"; then |
| 2007 |
ac_ct_CC=$CC |
| 2008 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 2009 |
set dummy gcc; ac_word=$2 |
| 2010 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2011 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2012 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2013 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2014 |
else |
| 2015 |
if test -n "$ac_ct_CC"; then |
| 2016 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2017 |
else |
| 2018 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2019 |
for as_dir in $PATH |
| 2020 |
do |
| 2021 |
IFS=$as_save_IFS |
| 2022 |
test -z "$as_dir" && as_dir=. |
| 2023 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2024 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2025 |
ac_cv_prog_ac_ct_CC="gcc" |
| 2026 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2027 |
break 2 |
| 2028 |
fi |
| 2029 |
done |
| 2030 |
done |
| 2031 |
|
| 2032 |
fi |
| 2033 |
fi |
| 2034 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2035 |
if test -n "$ac_ct_CC"; then |
| 2036 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2037 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2038 |
else |
| 2039 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2040 |
echo "${ECHO_T}no" >&6 |
| 2041 |
fi |
| 2042 |
|
| 2043 |
CC=$ac_ct_CC |
| 2044 |
else |
| 2045 |
CC="$ac_cv_prog_CC" |
| 2046 |
fi |
| 2047 |
|
| 2048 |
if test -z "$CC"; then |
| 2049 |
if test -n "$ac_tool_prefix"; then |
| 2050 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2051 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2052 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2053 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2054 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2055 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2056 |
else |
| 2057 |
if test -n "$CC"; then |
| 2058 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2059 |
else |
| 2060 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2061 |
for as_dir in $PATH |
| 2062 |
do |
| 2063 |
IFS=$as_save_IFS |
| 2064 |
test -z "$as_dir" && as_dir=. |
| 2065 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2066 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2067 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2068 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2069 |
break 2 |
| 2070 |
fi |
| 2071 |
done |
| 2072 |
done |
| 2073 |
|
| 2074 |
fi |
| 2075 |
fi |
| 2076 |
CC=$ac_cv_prog_CC |
| 2077 |
if test -n "$CC"; then |
| 2078 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2079 |
echo "${ECHO_T}$CC" >&6 |
| 2080 |
else |
| 2081 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2082 |
echo "${ECHO_T}no" >&6 |
| 2083 |
fi |
| 2084 |
|
| 2085 |
fi |
| 2086 |
if test -z "$ac_cv_prog_CC"; then |
| 2087 |
ac_ct_CC=$CC |
| 2088 |
# Extract the first word of "cc", so it can be a program name with args. |
| 2089 |
set dummy cc; ac_word=$2 |
| 2090 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2091 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2092 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2093 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2094 |
else |
| 2095 |
if test -n "$ac_ct_CC"; then |
| 2096 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2097 |
else |
| 2098 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2099 |
for as_dir in $PATH |
| 2100 |
do |
| 2101 |
IFS=$as_save_IFS |
| 2102 |
test -z "$as_dir" && as_dir=. |
| 2103 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2104 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2105 |
ac_cv_prog_ac_ct_CC="cc" |
| 2106 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2107 |
break 2 |
| 2108 |
fi |
| 2109 |
done |
| 2110 |
done |
| 2111 |
|
| 2112 |
fi |
| 2113 |
fi |
| 2114 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2115 |
if test -n "$ac_ct_CC"; then |
| 2116 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2117 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2118 |
else |
| 2119 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2120 |
echo "${ECHO_T}no" >&6 |
| 2121 |
fi |
| 2122 |
|
| 2123 |
CC=$ac_ct_CC |
| 2124 |
else |
| 2125 |
CC="$ac_cv_prog_CC" |
| 2126 |
fi |
| 2127 |
|
| 2128 |
fi |
| 2129 |
if test -z "$CC"; then |
| 2130 |
# Extract the first word of "cc", so it can be a program name with args. |
| 2131 |
set dummy cc; ac_word=$2 |
| 2132 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2133 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2134 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2135 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2136 |
else |
| 2137 |
if test -n "$CC"; then |
| 2138 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2139 |
else |
| 2140 |
ac_prog_rejected=no |
| 2141 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2142 |
for as_dir in $PATH |
| 2143 |
do |
| 2144 |
IFS=$as_save_IFS |
| 2145 |
test -z "$as_dir" && as_dir=. |
| 2146 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2147 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2148 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2149 |
ac_prog_rejected=yes |
| 2150 |
continue |
| 2151 |
fi |
| 2152 |
ac_cv_prog_CC="cc" |
| 2153 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2154 |
break 2 |
| 2155 |
fi |
| 2156 |
done |
| 2157 |
done |
| 2158 |
|
| 2159 |
if test $ac_prog_rejected = yes; then |
| 2160 |
# We found a bogon in the path, so make sure we never use it. |
| 2161 |
set dummy $ac_cv_prog_CC |
| 2162 |
shift |
| 2163 |
if test $# != 0; then |
| 2164 |
# We chose a different compiler from the bogus one. |
| 2165 |
# However, it has the same basename, so the bogon will be chosen |
| 2166 |
# first if we set CC to just the basename; use the full file name. |
| 2167 |
shift |
| 2168 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2169 |
fi |
| 2170 |
fi |
| 2171 |
fi |
| 2172 |
fi |
| 2173 |
CC=$ac_cv_prog_CC |
| 2174 |
if test -n "$CC"; then |
| 2175 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2176 |
echo "${ECHO_T}$CC" >&6 |
| 2177 |
else |
| 2178 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2179 |
echo "${ECHO_T}no" >&6 |
| 2180 |
fi |
| 2181 |
|
| 2182 |
fi |
| 2183 |
if test -z "$CC"; then |
| 2184 |
if test -n "$ac_tool_prefix"; then |
| 2185 |
for ac_prog in cl |
| 2186 |
do |
| 2187 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2188 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2189 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2190 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2191 |
if test "${ac_cv_prog_CC+set}" = set; then |
| 2192 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2193 |
else |
| 2194 |
if test -n "$CC"; then |
| 2195 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2196 |
else |
| 2197 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2198 |
for as_dir in $PATH |
| 2199 |
do |
| 2200 |
IFS=$as_save_IFS |
| 2201 |
test -z "$as_dir" && as_dir=. |
| 2202 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2203 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2204 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2205 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2206 |
break 2 |
| 2207 |
fi |
| 2208 |
done |
| 2209 |
done |
| 2210 |
|
| 2211 |
fi |
| 2212 |
fi |
| 2213 |
CC=$ac_cv_prog_CC |
| 2214 |
if test -n "$CC"; then |
| 2215 |
echo "$as_me:$LINENO: result: $CC" >&5 |
| 2216 |
echo "${ECHO_T}$CC" >&6 |
| 2217 |
else |
| 2218 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2219 |
echo "${ECHO_T}no" >&6 |
| 2220 |
fi |
| 2221 |
|
| 2222 |
test -n "$CC" && break |
| 2223 |
done |
| 2224 |
fi |
| 2225 |
if test -z "$CC"; then |
| 2226 |
ac_ct_CC=$CC |
| 2227 |
for ac_prog in cl |
| 2228 |
do |
| 2229 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2230 |
set dummy $ac_prog; ac_word=$2 |
| 2231 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2232 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 2233 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2234 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2235 |
else |
| 2236 |
if test -n "$ac_ct_CC"; then |
| 2237 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 2238 |
else |
| 2239 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2240 |
for as_dir in $PATH |
| 2241 |
do |
| 2242 |
IFS=$as_save_IFS |
| 2243 |
test -z "$as_dir" && as_dir=. |
| 2244 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2245 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2246 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2247 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2248 |
break 2 |
| 2249 |
fi |
| 2250 |
done |
| 2251 |
done |
| 2252 |
|
| 2253 |
fi |
| 2254 |
fi |
| 2255 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2256 |
if test -n "$ac_ct_CC"; then |
| 2257 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2258 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 2259 |
else |
| 2260 |
echo "$as_me:$LINENO: result: no" >&5 |
| 2261 |
echo "${ECHO_T}no" >&6 |
| 2262 |
fi |
| 2263 |
|
| 2264 |
test -n "$ac_ct_CC" && break |
| 2265 |
done |
| 2266 |
|
| 2267 |
CC=$ac_ct_CC |
| 2268 |
fi |
| 2269 |
|
| 2270 |
fi |
| 2271 |
|
| 2272 |
|
| 2273 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 2274 |
See \`config.log' for more details." >&5 |
| 2275 |
echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 2276 |
See \`config.log' for more details." >&2;} |
| 2277 |
{ (exit 1); exit 1; }; } |
| 2278 |
|
| 2279 |
# Provide some information about the compiler. |
| 2280 |
echo "$as_me:$LINENO:" \ |
| 2281 |
"checking for C compiler version" >&5 |
| 2282 |
ac_compiler=`set X $ac_compile; echo $2` |
| 2283 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 2284 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 2285 |
ac_status=$? |
| 2286 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2287 |
(exit $ac_status); } |
| 2288 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 2289 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 2290 |
ac_status=$? |
| 2291 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2292 |
(exit $ac_status); } |
| 2293 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 2294 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 2295 |
ac_status=$? |
| 2296 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2297 |
(exit $ac_status); } |
| 2298 |
|
| 2299 |
cat >conftest.$ac_ext <<_ACEOF |
| 2300 |
/* confdefs.h. */ |
| 2301 |
_ACEOF |
| 2302 |
cat confdefs.h >>conftest.$ac_ext |
| 2303 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2304 |
/* end confdefs.h. */ |
| 2305 |
|
| 2306 |
int |
| 2307 |
main () |
| 2308 |
{ |
| 2309 |
|
| 2310 |
; |
| 2311 |
return 0; |
| 2312 |
} |
| 2313 |
_ACEOF |
| 2314 |
ac_clean_files_save=$ac_clean_files |
| 2315 |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 2316 |
# Try to create an executable without -o first, disregard a.out. |
| 2317 |
# It will help us diagnose broken compilers, and finding out an intuition |
| 2318 |
# of exeext. |
| 2319 |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2320 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| 2321 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2322 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 2323 |
(eval $ac_link_default) 2>&5 |
| 2324 |
ac_status=$? |
| 2325 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2326 |
(exit $ac_status); }; then |
| 2327 |
# Find the output, starting from the most likely. This scheme is |
| 2328 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 2329 |
# resort. |
| 2330 |
|
| 2331 |
# Be careful to initialize this variable, since it used to be cached. |
| 2332 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 2333 |
ac_cv_exeext= |
| 2334 |
# b.out is created by i960 compilers. |
| 2335 |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 2336 |
do |
| 2337 |
test -f "$ac_file" || continue |
| 2338 |
case $ac_file in |
| 2339 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 2340 |
;; |
| 2341 |
conftest.$ac_ext ) |
| 2342 |
# This is the source file. |
| 2343 |
;; |
| 2344 |
[ab].out ) |
| 2345 |
# We found the default executable, but exeext='' is most |
| 2346 |
# certainly right. |
| 2347 |
break;; |
| 2348 |
*.* ) |
| 2349 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2350 |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 2351 |
# but it would be cool to find out if it's true. Does anybody |
| 2352 |
# maintain Libtool? --akim. |
| 2353 |
export ac_cv_exeext |
| 2354 |
break;; |
| 2355 |
* ) |
| 2356 |
break;; |
| 2357 |
esac |
| 2358 |
done |
| 2359 |
else |
| 2360 |
echo "$as_me: failed program was:" >&5 |
| 2361 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2362 |
|
| 2363 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 2364 |
See \`config.log' for more details." >&5 |
| 2365 |
echo "$as_me: error: C compiler cannot create executables |
| 2366 |
See \`config.log' for more details." >&2;} |
| 2367 |
{ (exit 77); exit 77; }; } |
| 2368 |
fi |
| 2369 |
|
| 2370 |
ac_exeext=$ac_cv_exeext |
| 2371 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 2372 |
echo "${ECHO_T}$ac_file" >&6 |
| 2373 |
|
| 2374 |
# Check the compiler produces executables we can run. If not, either |
| 2375 |
# the compiler is broken, or we cross compile. |
| 2376 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2377 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| 2378 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2379 |
# If not cross compiling, check that we can run a simple program. |
| 2380 |
if test "$cross_compiling" != yes; then |
| 2381 |
if { ac_try='./$ac_file' |
| 2382 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2383 |
(eval $ac_try) 2>&5 |
| 2384 |
ac_status=$? |
| 2385 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2386 |
(exit $ac_status); }; }; then |
| 2387 |
cross_compiling=no |
| 2388 |
else |
| 2389 |
if test "$cross_compiling" = maybe; then |
| 2390 |
cross_compiling=yes |
| 2391 |
else |
| 2392 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 2393 |
If you meant to cross compile, use \`--host'. |
| 2394 |
See \`config.log' for more details." >&5 |
| 2395 |
echo "$as_me: error: cannot run C compiled programs. |
| 2396 |
If you meant to cross compile, use \`--host'. |
| 2397 |
See \`config.log' for more details." >&2;} |
| 2398 |
{ (exit 1); exit 1; }; } |
| 2399 |
fi |
| 2400 |
fi |
| 2401 |
fi |
| 2402 |
echo "$as_me:$LINENO: result: yes" >&5 |
| 2403 |
echo "${ECHO_T}yes" >&6 |
| 2404 |
|
| 2405 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2406 |
ac_clean_files=$ac_clean_files_save |
| 2407 |
# Check the compiler produces executables we can run. If not, either |
| 2408 |
# the compiler is broken, or we cross compile. |
| 2409 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2410 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 2411 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2412 |
echo "${ECHO_T}$cross_compiling" >&6 |
| 2413 |
|
| 2414 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2415 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 2416 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2417 |
(eval $ac_link) 2>&5 |
| 2418 |
ac_status=$? |
| 2419 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2420 |
(exit $ac_status); }; then |
| 2421 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 2422 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2423 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2424 |
# `rm'. |
| 2425 |
for ac_file in conftest.exe conftest conftest.*; do |
| 2426 |
test -f "$ac_file" || continue |
| 2427 |
case $ac_file in |
| 2428 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2429 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2430 |
export ac_cv_exeext |
| 2431 |
break;; |
| 2432 |
* ) break;; |
| 2433 |
esac |
| 2434 |
done |
| 2435 |
else |
| 2436 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 2437 |
See \`config.log' for more details." >&5 |
| 2438 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 2439 |
See \`config.log' for more details." >&2;} |
| 2440 |
{ (exit 1); exit 1; }; } |
| 2441 |
fi |
| 2442 |
|
| 2443 |
rm -f conftest$ac_cv_exeext |
| 2444 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2445 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 2446 |
|
| 2447 |
rm -f conftest.$ac_ext |
| 2448 |
EXEEXT=$ac_cv_exeext |
| 2449 |
ac_exeext=$EXEEXT |
| 2450 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2451 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 2452 |
if test "${ac_cv_objext+set}" = set; then |
| 2453 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2454 |
else |
| 2455 |
cat >conftest.$ac_ext <<_ACEOF |
| 2456 |
/* confdefs.h. */ |
| 2457 |
_ACEOF |
| 2458 |
cat confdefs.h >>conftest.$ac_ext |
| 2459 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2460 |
/* end confdefs.h. */ |
| 2461 |
|
| 2462 |
int |
| 2463 |
main () |
| 2464 |
{ |
| 2465 |
|
| 2466 |
; |
| 2467 |
return 0; |
| 2468 |
} |
| 2469 |
_ACEOF |
| 2470 |
rm -f conftest.o conftest.obj |
| 2471 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2472 |
(eval $ac_compile) 2>&5 |
| 2473 |
ac_status=$? |
| 2474 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2475 |
(exit $ac_status); }; then |
| 2476 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2477 |
case $ac_file in |
| 2478 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2479 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2480 |
break;; |
| 2481 |
esac |
| 2482 |
done |
| 2483 |
else |
| 2484 |
echo "$as_me: failed program was:" >&5 |
| 2485 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2486 |
|
| 2487 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 2488 |
See \`config.log' for more details." >&5 |
| 2489 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 2490 |
See \`config.log' for more details." >&2;} |
| 2491 |
{ (exit 1); exit 1; }; } |
| 2492 |
fi |
| 2493 |
|
| 2494 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2495 |
fi |
| 2496 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2497 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2498 |
OBJEXT=$ac_cv_objext |
| 2499 |
ac_objext=$OBJEXT |
| 2500 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2501 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 2502 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2503 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2504 |
else |
| 2505 |
cat >conftest.$ac_ext <<_ACEOF |
| 2506 |
/* confdefs.h. */ |
| 2507 |
_ACEOF |
| 2508 |
cat confdefs.h >>conftest.$ac_ext |
| 2509 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2510 |
/* end confdefs.h. */ |
| 2511 |
|
| 2512 |
int |
| 2513 |
main () |
| 2514 |
{ |
| 2515 |
#ifndef __GNUC__ |
| 2516 |
choke me |
| 2517 |
#endif |
| 2518 |
|
| 2519 |
; |
| 2520 |
return 0; |
| 2521 |
} |
| 2522 |
_ACEOF |
| 2523 |
rm -f conftest.$ac_objext |
| 2524 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2525 |
(eval $ac_compile) 2>conftest.er1 |
| 2526 |
ac_status=$? |
| 2527 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2528 |
rm -f conftest.er1 |
| 2529 |
cat conftest.err >&5 |
| 2530 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2531 |
(exit $ac_status); } && |
| 2532 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2533 |
|| test ! -s conftest.err' |
| 2534 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2535 |
(eval $ac_try) 2>&5 |
| 2536 |
ac_status=$? |
| 2537 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2538 |
(exit $ac_status); }; } && |
| 2539 |
{ ac_try='test -s conftest.$ac_objext' |
| 2540 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2541 |
(eval $ac_try) 2>&5 |
| 2542 |
ac_status=$? |
| 2543 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2544 |
(exit $ac_status); }; }; then |
| 2545 |
ac_compiler_gnu=yes |
| 2546 |
else |
| 2547 |
echo "$as_me: failed program was:" >&5 |
| 2548 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2549 |
|
| 2550 |
ac_compiler_gnu=no |
| 2551 |
fi |
| 2552 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2553 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2554 |
|
| 2555 |
fi |
| 2556 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2557 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2558 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2559 |
ac_test_CFLAGS=${CFLAGS+set} |
| 2560 |
ac_save_CFLAGS=$CFLAGS |
| 2561 |
CFLAGS="-g" |
| 2562 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2563 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2564 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 2565 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2566 |
else |
| 2567 |
cat >conftest.$ac_ext <<_ACEOF |
| 2568 |
/* confdefs.h. */ |
| 2569 |
_ACEOF |
| 2570 |
cat confdefs.h >>conftest.$ac_ext |
| 2571 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2572 |
/* end confdefs.h. */ |
| 2573 |
|
| 2574 |
int |
| 2575 |
main () |
| 2576 |
{ |
| 2577 |
|
| 2578 |
; |
| 2579 |
return 0; |
| 2580 |
} |
| 2581 |
_ACEOF |
| 2582 |
rm -f conftest.$ac_objext |
| 2583 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2584 |
(eval $ac_compile) 2>conftest.er1 |
| 2585 |
ac_status=$? |
| 2586 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2587 |
rm -f conftest.er1 |
| 2588 |
cat conftest.err >&5 |
| 2589 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2590 |
(exit $ac_status); } && |
| 2591 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2592 |
|| test ! -s conftest.err' |
| 2593 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2594 |
(eval $ac_try) 2>&5 |
| 2595 |
ac_status=$? |
| 2596 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2597 |
(exit $ac_status); }; } && |
| 2598 |
{ ac_try='test -s conftest.$ac_objext' |
| 2599 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2600 |
(eval $ac_try) 2>&5 |
| 2601 |
ac_status=$? |
| 2602 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2603 |
(exit $ac_status); }; }; then |
| 2604 |
ac_cv_prog_cc_g=yes |
| 2605 |
else |
| 2606 |
echo "$as_me: failed program was:" >&5 |
| 2607 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2608 |
|
| 2609 |
ac_cv_prog_cc_g=no |
| 2610 |
fi |
| 2611 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2612 |
fi |
| 2613 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2614 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2615 |
if test "$ac_test_CFLAGS" = set; then |
| 2616 |
CFLAGS=$ac_save_CFLAGS |
| 2617 |
elif test $ac_cv_prog_cc_g = yes; then |
| 2618 |
if test "$GCC" = yes; then |
| 2619 |
CFLAGS="-g -O2" |
| 2620 |
else |
| 2621 |
CFLAGS="-g" |
| 2622 |
fi |
| 2623 |
else |
| 2624 |
if test "$GCC" = yes; then |
| 2625 |
CFLAGS="-O2" |
| 2626 |
else |
| 2627 |
CFLAGS= |
| 2628 |
fi |
| 2629 |
fi |
| 2630 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2631 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2632 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2633 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2634 |
else |
| 2635 |
ac_cv_prog_cc_stdc=no |
| 2636 |
ac_save_CC=$CC |
| 2637 |
cat >conftest.$ac_ext <<_ACEOF |
| 2638 |
/* confdefs.h. */ |
| 2639 |
_ACEOF |
| 2640 |
cat confdefs.h >>conftest.$ac_ext |
| 2641 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2642 |
/* end confdefs.h. */ |
| 2643 |
#include <stdarg.h> |
| 2644 |
#include <stdio.h> |
| 2645 |
#include <sys/types.h> |
| 2646 |
#include <sys/stat.h> |
| 2647 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 2648 |
struct buf { int x; }; |
| 2649 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 2650 |
static char *e (p, i) |
| 2651 |
char **p; |
| 2652 |
int i; |
| 2653 |
{ |
| 2654 |
return p[i]; |
| 2655 |
} |
| 2656 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 2657 |
{ |
| 2658 |
char *s; |
| 2659 |
va_list v; |
| 2660 |
va_start (v,p); |
| 2661 |
s = g (p, va_arg (v,int)); |
| 2662 |
va_end (v); |
| 2663 |
return s; |
| 2664 |
} |
| 2665 |
|
| 2666 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2667 |
function prototypes and stuff, but not '\xHH' hex character constants. |
| 2668 |
These don't provoke an error unfortunately, instead are silently treated |
| 2669 |
as 'x'. The following induces an error, until -std1 is added to get |
| 2670 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2671 |
array size at least. It's necessary to write '\x00'==0 to get something |
| 2672 |
that's true only with -std1. */ |
| 2673 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2674 |
|
| 2675 |
int test (int i, double x); |
| 2676 |
struct s1 {int (*f) (int a);}; |
| 2677 |
struct s2 {int (*f) (double a);}; |
| 2678 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 2679 |
int argc; |
| 2680 |
char **argv; |
| 2681 |
int |
| 2682 |
main () |
| 2683 |
{ |
| 2684 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 2685 |
; |
| 2686 |
return 0; |
| 2687 |
} |
| 2688 |
_ACEOF |
| 2689 |
# Don't try gcc -ansi; that turns off useful extensions and |
| 2690 |
# breaks some systems' header files. |
| 2691 |
# AIX -qlanglvl=ansi |
| 2692 |
# Ultrix and OSF/1 -std1 |
| 2693 |
# HP-UX 10.20 and later -Ae |
| 2694 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 2695 |
# SVR4 -Xc -D__EXTENSIONS__ |
| 2696 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2697 |
do |
| 2698 |
CC="$ac_save_CC $ac_arg" |
| 2699 |
rm -f conftest.$ac_objext |
| 2700 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2701 |
(eval $ac_compile) 2>conftest.er1 |
| 2702 |
ac_status=$? |
| 2703 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2704 |
rm -f conftest.er1 |
| 2705 |
cat conftest.err >&5 |
| 2706 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2707 |
(exit $ac_status); } && |
| 2708 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2709 |
|| test ! -s conftest.err' |
| 2710 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2711 |
(eval $ac_try) 2>&5 |
| 2712 |
ac_status=$? |
| 2713 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2714 |
(exit $ac_status); }; } && |
| 2715 |
{ ac_try='test -s conftest.$ac_objext' |
| 2716 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2717 |
(eval $ac_try) 2>&5 |
| 2718 |
ac_status=$? |
| 2719 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2720 |
(exit $ac_status); }; }; then |
| 2721 |
ac_cv_prog_cc_stdc=$ac_arg |
| 2722 |
break |
| 2723 |
else |
| 2724 |
echo "$as_me: failed program was:" >&5 |
| 2725 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2726 |
|
| 2727 |
fi |
| 2728 |
rm -f conftest.err conftest.$ac_objext |
| 2729 |
done |
| 2730 |
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2731 |
CC=$ac_save_CC |
| 2732 |
|
| 2733 |
fi |
| 2734 |
|
| 2735 |
case "x$ac_cv_prog_cc_stdc" in |
| 2736 |
x|xno) |
| 2737 |
echo "$as_me:$LINENO: result: none needed" >&5 |
| 2738 |
echo "${ECHO_T}none needed" >&6 ;; |
| 2739 |
*) |
| 2740 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2741 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2742 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2743 |
esac |
| 2744 |
|
| 2745 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 2746 |
# in C++ we need to declare it. In case someone uses the same compiler |
| 2747 |
# for both compiling C and C++ we need to have the C++ compiler decide |
| 2748 |
# the declaration of exit, since it's the most demanding environment. |
| 2749 |
cat >conftest.$ac_ext <<_ACEOF |
| 2750 |
#ifndef __cplusplus |
| 2751 |
choke me |
| 2752 |
#endif |
| 2753 |
_ACEOF |
| 2754 |
rm -f conftest.$ac_objext |
| 2755 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2756 |
(eval $ac_compile) 2>conftest.er1 |
| 2757 |
ac_status=$? |
| 2758 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2759 |
rm -f conftest.er1 |
| 2760 |
cat conftest.err >&5 |
| 2761 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2762 |
(exit $ac_status); } && |
| 2763 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2764 |
|| test ! -s conftest.err' |
| 2765 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2766 |
(eval $ac_try) 2>&5 |
| 2767 |
ac_status=$? |
| 2768 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2769 |
(exit $ac_status); }; } && |
| 2770 |
{ ac_try='test -s conftest.$ac_objext' |
| 2771 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2772 |
(eval $ac_try) 2>&5 |
| 2773 |
ac_status=$? |
| 2774 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2775 |
(exit $ac_status); }; }; then |
| 2776 |
for ac_declaration in \ |
| 2777 |
'' \ |
| 2778 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2779 |
'extern "C" void std::exit (int); using std::exit;' \ |
| 2780 |
'extern "C" void exit (int) throw ();' \ |
| 2781 |
'extern "C" void exit (int);' \ |
| 2782 |
'void exit (int);' |
| 2783 |
do |
| 2784 |
cat >conftest.$ac_ext <<_ACEOF |
| 2785 |
/* confdefs.h. */ |
| 2786 |
_ACEOF |
| 2787 |
cat confdefs.h >>conftest.$ac_ext |
| 2788 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2789 |
/* end confdefs.h. */ |
| 2790 |
$ac_declaration |
| 2791 |
#include <stdlib.h> |
| 2792 |
int |
| 2793 |
main () |
| 2794 |
{ |
| 2795 |
exit (42); |
| 2796 |
; |
| 2797 |
return 0; |
| 2798 |
} |
| 2799 |
_ACEOF |
| 2800 |
rm -f conftest.$ac_objext |
| 2801 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2802 |
(eval $ac_compile) 2>conftest.er1 |
| 2803 |
ac_status=$? |
| 2804 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2805 |
rm -f conftest.er1 |
| 2806 |
cat conftest.err >&5 |
| 2807 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2808 |
(exit $ac_status); } && |
| 2809 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2810 |
|| test ! -s conftest.err' |
| 2811 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2812 |
(eval $ac_try) 2>&5 |
| 2813 |
ac_status=$? |
| 2814 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2815 |
(exit $ac_status); }; } && |
| 2816 |
{ ac_try='test -s conftest.$ac_objext' |
| 2817 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2818 |
(eval $ac_try) 2>&5 |
| 2819 |
ac_status=$? |
| 2820 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2821 |
(exit $ac_status); }; }; then |
| 2822 |
: |
| 2823 |
else |
| 2824 |
echo "$as_me: failed program was:" >&5 |
| 2825 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2826 |
|
| 2827 |
continue |
| 2828 |
fi |
| 2829 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2830 |
cat >conftest.$ac_ext <<_ACEOF |
| 2831 |
/* confdefs.h. */ |
| 2832 |
_ACEOF |
| 2833 |
cat confdefs.h >>conftest.$ac_ext |
| 2834 |
cat >>conftest.$ac_ext <<_ACEOF |
| 2835 |
/* end confdefs.h. */ |
| 2836 |
$ac_declaration |
| 2837 |
int |
| 2838 |
main () |
| 2839 |
{ |
| 2840 |
exit (42); |
| 2841 |
; |
| 2842 |
return 0; |
| 2843 |
} |
| 2844 |
_ACEOF |
| 2845 |
rm -f conftest.$ac_objext |
| 2846 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2847 |
(eval $ac_compile) 2>conftest.er1 |
| 2848 |
ac_status=$? |
| 2849 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 2850 |
rm -f conftest.er1 |
| 2851 |
cat conftest.err >&5 |
| 2852 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2853 |
(exit $ac_status); } && |
| 2854 |
{ ac_try='test -z "$ac_c_werror_flag" |
| 2855 |
|| test ! -s conftest.err' |
| 2856 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2857 |
(eval $ac_try) 2>&5 |
| 2858 |
ac_status=$? |
| 2859 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2860 |
(exit $ac_status); }; } && |
| 2861 |
{ ac_try='test -s conftest.$ac_objext' |
| 2862 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2863 |
(eval $ac_try) 2>&5 |
| 2864 |
ac_status=$? |
| 2865 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2866 |
(exit $ac_status); }; }; then |
| 2867 |
break |
| 2868 |
else |
| 2869 |
echo "$as_me: failed program was:" >&5 |
| 2870 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2871 |
|
| 2872 |
fi |
| 2873 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2874 |
done |
| 2875 |
rm -f conftest* |
| 2876 |
if test -n "$ac_declaration"; then |
| 2877 |
echo '#ifdef __cplusplus' >>confdefs.h |
| 2878 |
echo $ac_declaration >>confdefs.h |
| 2879 |
echo '#endif' >>confdefs.h |
| 2880 |
fi |
| 2881 |
|
| 2882 |
else |
| 2883 |
echo "$as_me: failed program was:" >&5 |
| 2884 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2885 |
|
| 2886 |
fi |
| 2887 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2888 |
ac_ext=c |
| 2889 |
ac_cpp='$CPP $CPPFLAGS' |
| 2890 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2891 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2892 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2893 |
DEPDIR="${am__leading_dot}deps" |
| 2894 |
|
| 2895 |
ac_config_commands="$ac_config_commands depfiles" |
| 2896 |
|
| 2897 |
|
| 2898 |
am_make=${MAKE-make} |
| 2899 |
cat > confinc << 'END' |
| 2900 |
am__doit: |
| 2901 |
@echo done |
| 2902 |
.PHONY: am__doit |
| 2903 |
END |
| 2904 |
# If we don't find an include directive, just comment out the code. |
| 2905 |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
| 2906 |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
| 2907 |
am__include="#" |
| 2908 |
am__quote= |
| 2909 |
_am_result=none |
| 2910 |
# First try GNU make style include. |
| 2911 |
echo "include confinc" > confmf |
| 2912 |
# We grep out `Entering directory' and `Leaving directory' |
| 2913 |
# messages which can occur if `w' ends up in MAKEFLAGS. |
| 2914 |
# In particular we don't look at `^make:' because GNU make might |
| 2915 |
# be invoked under some other name (usually "gmake"), in which |
| 2916 |
# case it prints its new name instead of `make'. |
| 2917 |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
| 2918 |
am__include=include |
| 2919 |
am__quote= |
| 2920 |
_am_result=GNU |
| 2921 |
fi |
| 2922 |
# Now try BSD make style include. |
| 2923 |
if test "$am__include" = "#"; then |
| 2924 |
echo '.include "confinc"' > confmf |
| 2925 |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
| 2926 |
am__include=.include |
| 2927 |
am__quote="\"" |
| 2928 |
_am_result=BSD |
| 2929 |
fi |
| 2930 |
fi |
| 2931 |
|
| 2932 |
|
| 2933 |
echo "$as_me:$LINENO: result: $_am_result" >&5 |
| 2934 |
echo "${ECHO_T}$_am_result" >&6 |
| 2935 |
rm -f confinc confmf |
| 2936 |
|
| 2937 |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
| 2938 |
if test "${enable_dependency_tracking+set}" = set; then |
| 2939 |
enableval="$enable_dependency_tracking" |
| 2940 |
|
| 2941 |
fi; |
| 2942 |
if test "x$enable_dependency_tracking" != xno; then |
| 2943 |
am_depcomp="$ac_aux_dir/depcomp" |
| 2944 |
AMDEPBACKSLASH='\' |
| 2945 |
fi |
| 2946 |
|
| 2947 |
|
| 2948 |
if test "x$enable_dependency_tracking" != xno; then |
| 2949 |
AMDEP_TRUE= |
| 2950 |
AMDEP_FALSE='#' |
| 2951 |
else |
| 2952 |
AMDEP_TRUE='#' |
| 2953 |
AMDEP_FALSE= |
| 2954 |
fi |
| 2955 |
|
| 2956 |
|
| 2957 |
|
| 2958 |
|
| 2959 |
depcc="$CC" am_compiler_list= |
| 2960 |
|
| 2961 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 2962 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 2963 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
| 2964 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2965 |
else |
| 2966 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 2967 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 2968 |
# making bogus files that we don't know about and never remove. For |
| 2969 |
# instance it was reported that on HP-UX the gcc test will end up |
| 2970 |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 2971 |
# in D'. |
| 2972 |
mkdir conftest.dir |
| 2973 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 2974 |
# using a relative directory. |
| 2975 |
cp "$am_depcomp" conftest.dir |
| 2976 |
cd conftest.dir |
| 2977 |
# We will build objects and dependencies in a subdirectory because |
| 2978 |
# it helps to detect inapplicable dependency modes. For instance |
| 2979 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 2980 |
# side effect of compilation, but ICC will put the dependencies in |
| 2981 |
# the current directory while Tru64 will put them in the object |
| 2982 |
# directory. |
| 2983 |
mkdir sub |
| 2984 |
|
| 2985 |
am_cv_CC_dependencies_compiler_type=none |
| 2986 |
if test "$am_compiler_list" = ""; then |
| 2987 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 2988 |
fi |
| 2989 |
for depmode in $am_compiler_list; do |
| 2990 |
# Setup a source with many dependencies, because some compilers |
| 2991 |
# like to wrap large dependency lists on column 80 (with \), and |
| 2992 |
# we should not choose a depcomp mode which is confused by this. |
| 2993 |
# |
| 2994 |
# We need to recreate these files for each test, as the compiler may |
| 2995 |
# overwrite some of them when testing with obscure command lines. |
| 2996 |
# This happens at least with the AIX C compiler. |
| 2997 |
: > sub/conftest.c |
| 2998 |
for i in 1 2 3 4 5 6; do |
| 2999 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3000 |
: > sub/conftst$i.h |
| 3001 |
done |
| 3002 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3003 |
|
| 3004 |
case $depmode in |
| 3005 |
nosideeffect) |
| 3006 |
# after this tag, mechanisms are not by side-effect, so they'll |
| 3007 |
# only be used when explicitly requested |
| 3008 |
if test "x$enable_dependency_tracking" = xyes; then |
| 3009 |
continue |
| 3010 |
else |
| 3011 |
break |
| 3012 |
fi |
| 3013 |
;; |
| 3014 |
none) break ;; |
| 3015 |
esac |
| 3016 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3017 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 3018 |
# handle `-M -o', and we need to detect this. |
| 3019 |
if depmode=$depmode \ |
| 3020 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| 3021 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 3022 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 3023 |
>/dev/null 2>conftest.err && |
| 3024 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 3025 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 3026 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3027 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 3028 |
# (even with -Werror). So we grep stderr for any message |
| 3029 |
# that says an option was ignored. |
| 3030 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
| 3031 |
am_cv_CC_dependencies_compiler_type=$depmode |
| 3032 |
break |
| 3033 |
fi |
| 3034 |
fi |
| 3035 |
done |
| 3036 |
|
| 3037 |
cd .. |
| 3038 |
rm -rf conftest.dir |
| 3039 |
else |
| 3040 |
am_cv_CC_dependencies_compiler_type=none |
| 3041 |
fi |
| 3042 |
|
| 3043 |
fi |
| 3044 |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 3045 |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
| 3046 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 3047 |
|
| 3048 |
|
| 3049 |
|
| 3050 |
if |
| 3051 |
test "x$enable_dependency_tracking" != xno \ |
| 3052 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 3053 |
am__fastdepCC_TRUE= |
| 3054 |
am__fastdepCC_FALSE='#' |
| 3055 |
else |
| 3056 |
am__fastdepCC_TRUE='#' |
| 3057 |
am__fastdepCC_FALSE= |
| 3058 |
fi |
| 3059 |
|
| 3060 |
|
| 3061 |
|
| 3062 |
ac_ext=f |
| 3063 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
| 3064 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3065 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
| 3066 |
if test -n "$ac_tool_prefix"; then |
| 3067 |
for ac_prog in f77 fort77 g77 |
| 3068 |
do |
| 3069 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3070 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3071 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3072 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3073 |
if test "${ac_cv_prog_F77+set}" = set; then |
| 3074 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3075 |
else |
| 3076 |
if test -n "$F77"; then |
| 3077 |
ac_cv_prog_F77="$F77" # Let the user override the test. |
| 3078 |
else |
| 3079 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3080 |
for as_dir in $PATH |
| 3081 |
do |
| 3082 |
IFS=$as_save_IFS |
| 3083 |
test -z "$as_dir" && as_dir=. |
| 3084 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3085 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3086 |
ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
| 3087 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3088 |
break 2 |
| 3089 |
fi |
| 3090 |
done |
| 3091 |
done |
| 3092 |
|
| 3093 |
fi |
| 3094 |
fi |
| 3095 |
F77=$ac_cv_prog_F77 |
| 3096 |
if test -n "$F77"; then |
| 3097 |
echo "$as_me:$LINENO: result: $F77" >&5 |
| 3098 |
echo "${ECHO_T}$F77" >&6 |
| 3099 |
else |
| 3100 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3101 |
echo "${ECHO_T}no" >&6 |
| 3102 |
fi |
| 3103 |
|
| 3104 |
test -n "$F77" && break |
| 3105 |
done |
| 3106 |
fi |
| 3107 |
if test -z "$F77"; then |
| 3108 |
ac_ct_F77=$F77 |
| 3109 |
for ac_prog in f77 fort77 g77 |
| 3110 |
do |
| 3111 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3112 |
set dummy $ac_prog; ac_word=$2 |
| 3113 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3114 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3115 |
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
| 3116 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3117 |
else |
| 3118 |
if test -n "$ac_ct_F77"; then |
| 3119 |
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
| 3120 |
else |
| 3121 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3122 |
for as_dir in $PATH |
| 3123 |
do |
| 3124 |
IFS=$as_save_IFS |
| 3125 |
test -z "$as_dir" && as_dir=. |
| 3126 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3127 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3128 |
ac_cv_prog_ac_ct_F77="$ac_prog" |
| 3129 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3130 |
break 2 |
| 3131 |
fi |
| 3132 |
done |
| 3133 |
done |
| 3134 |
|
| 3135 |
fi |
| 3136 |
fi |
| 3137 |
ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
| 3138 |
if test -n "$ac_ct_F77"; then |
| 3139 |
echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
| 3140 |
echo "${ECHO_T}$ac_ct_F77" >&6 |
| 3141 |
else |
| 3142 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3143 |
echo "${ECHO_T}no" >&6 |
| 3144 |
fi |
| 3145 |
|
| 3146 |
test -n "$ac_ct_F77" && break |
| 3147 |
done |
| 3148 |
|
| 3149 |
F77=$ac_ct_F77 |
| 3150 |
fi |
| 3151 |
|
| 3152 |
|
| 3153 |
# Provide some information about the compiler. |
| 3154 |
echo "$as_me:3154:" \ |
| 3155 |
"checking for Fortran 77 compiler version" >&5 |
| 3156 |
ac_compiler=`set X $ac_compile; echo $2` |
| 3157 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 3158 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 3159 |
ac_status=$? |
| 3160 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3161 |
(exit $ac_status); } |
| 3162 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 3163 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 3164 |
ac_status=$? |
| 3165 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3166 |
(exit $ac_status); } |
| 3167 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 3168 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 3169 |
ac_status=$? |
| 3170 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3171 |
(exit $ac_status); } |
| 3172 |
rm -f a.out |
| 3173 |
|
| 3174 |
# If we don't use `.F' as extension, the preprocessor is not run on the |
| 3175 |
# input file. (Note that this only needs to work for GNU compilers.) |
| 3176 |
ac_save_ext=$ac_ext |
| 3177 |
ac_ext=F |
| 3178 |
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
| 3179 |
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 |
| 3180 |
if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
| 3181 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3182 |
else |
| 3183 |
cat >conftest.$ac_ext <<_ACEOF |
| 3184 |
program main |
| 3185 |
#ifndef __GNUC__ |
| 3186 |
choke me |
| 3187 |
#endif |
| 3188 |
|
| 3189 |
end |
| 3190 |
_ACEOF |
| 3191 |
rm -f conftest.$ac_objext |
| 3192 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3193 |
(eval $ac_compile) 2>conftest.er1 |
| 3194 |
ac_status=$? |
| 3195 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3196 |
rm -f conftest.er1 |
| 3197 |
cat conftest.err >&5 |
| 3198 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3199 |
(exit $ac_status); } && |
| 3200 |
{ ac_try='test -z "$ac_f77_werror_flag" |
| 3201 |
|| test ! -s conftest.err' |
| 3202 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3203 |
(eval $ac_try) 2>&5 |
| 3204 |
ac_status=$? |
| 3205 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3206 |
(exit $ac_status); }; } && |
| 3207 |
{ ac_try='test -s conftest.$ac_objext' |
| 3208 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3209 |
(eval $ac_try) 2>&5 |
| 3210 |
ac_status=$? |
| 3211 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3212 |
(exit $ac_status); }; }; then |
| 3213 |
ac_compiler_gnu=yes |
| 3214 |
else |
| 3215 |
echo "$as_me: failed program was:" >&5 |
| 3216 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3217 |
|
| 3218 |
ac_compiler_gnu=no |
| 3219 |
fi |
| 3220 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3221 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
| 3222 |
|
| 3223 |
fi |
| 3224 |
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
| 3225 |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
| 3226 |
ac_ext=$ac_save_ext |
| 3227 |
ac_test_FFLAGS=${FFLAGS+set} |
| 3228 |
ac_save_FFLAGS=$FFLAGS |
| 3229 |
FFLAGS= |
| 3230 |
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
| 3231 |
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 |
| 3232 |
if test "${ac_cv_prog_f77_g+set}" = set; then |
| 3233 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3234 |
else |
| 3235 |
FFLAGS=-g |
| 3236 |
cat >conftest.$ac_ext <<_ACEOF |
| 3237 |
program main |
| 3238 |
|
| 3239 |
end |
| 3240 |
_ACEOF |
| 3241 |
rm -f conftest.$ac_objext |
| 3242 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3243 |
(eval $ac_compile) 2>conftest.er1 |
| 3244 |
ac_status=$? |
| 3245 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3246 |
rm -f conftest.er1 |
| 3247 |
cat conftest.err >&5 |
| 3248 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3249 |
(exit $ac_status); } && |
| 3250 |
{ ac_try='test -z "$ac_f77_werror_flag" |
| 3251 |
|| test ! -s conftest.err' |
| 3252 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3253 |
(eval $ac_try) 2>&5 |
| 3254 |
ac_status=$? |
| 3255 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3256 |
(exit $ac_status); }; } && |
| 3257 |
{ ac_try='test -s conftest.$ac_objext' |
| 3258 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3259 |
(eval $ac_try) 2>&5 |
| 3260 |
ac_status=$? |
| 3261 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3262 |
(exit $ac_status); }; }; then |
| 3263 |
ac_cv_prog_f77_g=yes |
| 3264 |
else |
| 3265 |
echo "$as_me: failed program was:" >&5 |
| 3266 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3267 |
|
| 3268 |
ac_cv_prog_f77_g=no |
| 3269 |
fi |
| 3270 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3271 |
|
| 3272 |
fi |
| 3273 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
| 3274 |
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 |
| 3275 |
if test "$ac_test_FFLAGS" = set; then |
| 3276 |
FFLAGS=$ac_save_FFLAGS |
| 3277 |
elif test $ac_cv_prog_f77_g = yes; then |
| 3278 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
| 3279 |
FFLAGS="-g -O2" |
| 3280 |
else |
| 3281 |
FFLAGS="-g" |
| 3282 |
fi |
| 3283 |
else |
| 3284 |
if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
| 3285 |
FFLAGS="-O2" |
| 3286 |
else |
| 3287 |
FFLAGS= |
| 3288 |
fi |
| 3289 |
fi |
| 3290 |
|
| 3291 |
G77=`test $ac_compiler_gnu = yes && echo yes` |
| 3292 |
ac_ext=c |
| 3293 |
ac_cpp='$CPP $CPPFLAGS' |
| 3294 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3295 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3296 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3297 |
|
| 3298 |
|
| 3299 |
|
| 3300 |
ac_ext=f |
| 3301 |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
| 3302 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3303 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
| 3304 |
echo "$as_me:$LINENO: checking how to get verbose linking output from $F77" >&5 |
| 3305 |
echo $ECHO_N "checking how to get verbose linking output from $F77... $ECHO_C" >&6 |
| 3306 |
if test "${ac_cv_prog_f77_v+set}" = set; then |
| 3307 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3308 |
else |
| 3309 |
cat >conftest.$ac_ext <<_ACEOF |
| 3310 |
program main |
| 3311 |
|
| 3312 |
end |
| 3313 |
_ACEOF |
| 3314 |
rm -f conftest.$ac_objext |
| 3315 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3316 |
(eval $ac_compile) 2>conftest.er1 |
| 3317 |
ac_status=$? |
| 3318 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3319 |
rm -f conftest.er1 |
| 3320 |
cat conftest.err >&5 |
| 3321 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3322 |
(exit $ac_status); } && |
| 3323 |
{ ac_try='test -z "$ac_f77_werror_flag" |
| 3324 |
|| test ! -s conftest.err' |
| 3325 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3326 |
(eval $ac_try) 2>&5 |
| 3327 |
ac_status=$? |
| 3328 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3329 |
(exit $ac_status); }; } && |
| 3330 |
{ ac_try='test -s conftest.$ac_objext' |
| 3331 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3332 |
(eval $ac_try) 2>&5 |
| 3333 |
ac_status=$? |
| 3334 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3335 |
(exit $ac_status); }; }; then |
| 3336 |
ac_cv_prog_f77_v= |
| 3337 |
# Try some options frequently used verbose output |
| 3338 |
for ac_verb in -v -verbose --verbose -V -\#\#\#; do |
| 3339 |
cat >conftest.$ac_ext <<_ACEOF |
| 3340 |
program main |
| 3341 |
|
| 3342 |
end |
| 3343 |
_ACEOF |
| 3344 |
|
| 3345 |
# Compile and link our simple test program by passing a flag (argument |
| 3346 |
# 1 to this macro) to the Fortran compiler in order to get |
| 3347 |
# "verbose" output that we can then parse for the Fortran linker |
| 3348 |
# flags. |
| 3349 |
ac_save_FFLAGS=$FFLAGS |
| 3350 |
FFLAGS="$FFLAGS $ac_verb" |
| 3351 |
(eval echo $as_me:3351: \"$ac_link\") >&5 |
| 3352 |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3353 |
echo "$ac_f77_v_output" >&5 |
| 3354 |
FFLAGS=$ac_save_FFLAGS |
| 3355 |
|
| 3356 |
rm -f conftest* |
| 3357 |
|
| 3358 |
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
| 3359 |
# /foo, /bar, and /baz are search directories for the Fortran linker. |
| 3360 |
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
| 3361 |
ac_f77_v_output="`echo $ac_f77_v_output | |
| 3362 |
grep 'LPATH is:' | |
| 3363 |
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output" |
| 3364 |
|
| 3365 |
case $ac_f77_v_output in |
| 3366 |
# If we are using xlf then replace all the commas with spaces. |
| 3367 |
*xlfentry*) |
| 3368 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;; |
| 3369 |
|
| 3370 |
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
| 3371 |
# $LIBS confuse us, and the libraries appear later in the output anyway). |
| 3372 |
*mGLOB_options_string*) |
| 3373 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; |
| 3374 |
|
| 3375 |
# If we are using Cray Fortran then delete quotes. |
| 3376 |
# Use "\"" instead of '"' for font-lock-mode. |
| 3377 |
# FIXME: a more general fix for quoted arguments with spaces? |
| 3378 |
*cft90*) |
| 3379 |
ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;; |
| 3380 |
esac |
| 3381 |
|
| 3382 |
|
| 3383 |
# look for -l* and *.a constructs in the output |
| 3384 |
for ac_arg in $ac_f77_v_output; do |
| 3385 |
case $ac_arg in |
| 3386 |
[\\/]*.a | ?:[\\/]*.a | -[lLRu]*) |
| 3387 |
ac_cv_prog_f77_v=$ac_verb |
| 3388 |
break 2 ;; |
| 3389 |
esac |
| 3390 |
done |
| 3391 |
done |
| 3392 |
if test -z "$ac_cv_prog_f77_v"; then |
| 3393 |
{ echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F77" >&5 |
| 3394 |
echo "$as_me: WARNING: cannot determine how to obtain linking information from $F77" >&2;} |
| 3395 |
fi |
| 3396 |
else |
| 3397 |
echo "$as_me: failed program was:" >&5 |
| 3398 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3399 |
|
| 3400 |
{ echo "$as_me:$LINENO: WARNING: compilation failed" >&5 |
| 3401 |
echo "$as_me: WARNING: compilation failed" >&2;} |
| 3402 |
fi |
| 3403 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3404 |
|
| 3405 |
fi |
| 3406 |
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_v" >&5 |
| 3407 |
echo "${ECHO_T}$ac_cv_prog_f77_v" >&6 |
| 3408 |
echo "$as_me:$LINENO: checking for Fortran libraries of $F77" >&5 |
| 3409 |
echo $ECHO_N "checking for Fortran libraries of $F77... $ECHO_C" >&6 |
| 3410 |
if test "${ac_cv_f77_libs+set}" = set; then |
| 3411 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3412 |
else |
| 3413 |
if test "x$FLIBS" != "x"; then |
| 3414 |
ac_cv_f77_libs="$FLIBS" # Let the user override the test. |
| 3415 |
else |
| 3416 |
|
| 3417 |
cat >conftest.$ac_ext <<_ACEOF |
| 3418 |
program main |
| 3419 |
|
| 3420 |
end |
| 3421 |
_ACEOF |
| 3422 |
|
| 3423 |
# Compile and link our simple test program by passing a flag (argument |
| 3424 |
# 1 to this macro) to the Fortran compiler in order to get |
| 3425 |
# "verbose" output that we can then parse for the Fortran linker |
| 3426 |
# flags. |
| 3427 |
ac_save_FFLAGS=$FFLAGS |
| 3428 |
FFLAGS="$FFLAGS $ac_cv_prog_f77_v" |
| 3429 |
(eval echo $as_me:3429: \"$ac_link\") >&5 |
| 3430 |
ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` |
| 3431 |
echo "$ac_f77_v_output" >&5 |
| 3432 |
FFLAGS=$ac_save_FFLAGS |
| 3433 |
|
| 3434 |
rm -f conftest* |
| 3435 |
|
| 3436 |
# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where |
| 3437 |
# /foo, /bar, and /baz are search directories for the Fortran linker. |
| 3438 |
# Here, we change these into -L/foo -L/bar -L/baz (and put it first): |
| 3439 |
ac_f77_v_output="`echo $ac_f77_v_output | |
| 3440 |
grep 'LPATH is:' | |
| 3441 |
sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output" |
| 3442 |
|
| 3443 |
case $ac_f77_v_output in |
| 3444 |
# If we are using xlf then replace all the commas with spaces. |
| 3445 |
*xlfentry*) |
| 3446 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'` ;; |
| 3447 |
|
| 3448 |
# With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted |
| 3449 |
# $LIBS confuse us, and the libraries appear later in the output anyway). |
| 3450 |
*mGLOB_options_string*) |
| 3451 |
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;; |
| 3452 |
|
| 3453 |
# If we are using Cray Fortran then delete quotes. |
| 3454 |
# Use "\"" instead of '"' for font-lock-mode. |
| 3455 |
# FIXME: a more general fix for quoted arguments with spaces? |
| 3456 |
*cft90*) |
| 3457 |
ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"` ;; |
| 3458 |
esac |
| 3459 |
|
| 3460 |
|
| 3461 |
|
| 3462 |
ac_cv_f77_libs= |
| 3463 |
|
| 3464 |
# Save positional arguments (if any) |
| 3465 |
ac_save_positional="$@" |
| 3466 |
|
| 3467 |
set X $ac_f77_v_output |
| 3468 |
while test $# != 1; do |
| 3469 |
shift |
| 3470 |
ac_arg=$1 |
| 3471 |
case $ac_arg in |
| 3472 |
[\\/]*.a | ?:[\\/]*.a) |
| 3473 |
ac_exists=false |
| 3474 |
for ac_i in $ac_cv_f77_libs; do |
| 3475 |
if test x"$ac_arg" = x"$ac_i"; then |
| 3476 |
ac_exists=true |
| 3477 |
break |
| 3478 |
fi |
| 3479 |
done |
| 3480 |
|
| 3481 |
if test x"$ac_exists" = xtrue; then |
| 3482 |
: |
| 3483 |
else |
| 3484 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
| 3485 |
fi |
| 3486 |
|
| 3487 |
;; |
| 3488 |
-bI:*) |
| 3489 |
ac_exists=false |
| 3490 |
for ac_i in $ac_cv_f77_libs; do |
| 3491 |
if test x"$ac_arg" = x"$ac_i"; then |
| 3492 |
ac_exists=true |
| 3493 |
break |
| 3494 |
fi |
| 3495 |
done |
| 3496 |
|
| 3497 |
if test x"$ac_exists" = xtrue; then |
| 3498 |
: |
| 3499 |
else |
| 3500 |
if test "$ac_compiler_gnu" = yes; then |
| 3501 |
for ac_link_opt in $ac_arg; do |
| 3502 |
ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt" |
| 3503 |
done |
| 3504 |
else |
| 3505 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
| 3506 |
fi |
| 3507 |
fi |
| 3508 |
|
| 3509 |
;; |
| 3510 |
# Ignore these flags. |
| 3511 |
-lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*) |
| 3512 |
;; |
| 3513 |
-lkernel32) |
| 3514 |
test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
| 3515 |
;; |
| 3516 |
-[LRuY]) |
| 3517 |
# These flags, when seen by themselves, take an argument. |
| 3518 |
# We remove the space between option and argument and re-iterate |
| 3519 |
# unless we find an empty arg or a new option (starting with -) |
| 3520 |
case $2 in |
| 3521 |
"" | -*);; |
| 3522 |
*) |
| 3523 |
ac_arg="$ac_arg$2" |
| 3524 |
shift; shift |
| 3525 |
set X $ac_arg "$@" |
| 3526 |
;; |
| 3527 |
esac |
| 3528 |
;; |
| 3529 |
-YP,*) |
| 3530 |
for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do |
| 3531 |
ac_exists=false |
| 3532 |
for ac_i in $ac_cv_f77_libs; do |
| 3533 |
if test x"$ac_j" = x"$ac_i"; then |
| 3534 |
ac_exists=true |
| 3535 |
break |
| 3536 |
fi |
| 3537 |
done |
| 3538 |
|
| 3539 |
if test x"$ac_exists" = xtrue; then |
| 3540 |
: |
| 3541 |
else |
| 3542 |
ac_arg="$ac_arg $ac_j" |
| 3543 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_j" |
| 3544 |
fi |
| 3545 |
|
| 3546 |
done |
| 3547 |
;; |
| 3548 |
-[lLR]*) |
| 3549 |
ac_exists=false |
| 3550 |
for ac_i in $ac_cv_f77_libs; do |
| 3551 |
if test x"$ac_arg" = x"$ac_i"; then |
| 3552 |
ac_exists=true |
| 3553 |
break |
| 3554 |
fi |
| 3555 |
done |
| 3556 |
|
| 3557 |
if test x"$ac_exists" = xtrue; then |
| 3558 |
: |
| 3559 |
else |
| 3560 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" |
| 3561 |
fi |
| 3562 |
|
| 3563 |
;; |
| 3564 |
# Ignore everything else. |
| 3565 |
esac |
| 3566 |
done |
| 3567 |
# restore positional arguments |
| 3568 |
set X $ac_save_positional; shift |
| 3569 |
|
| 3570 |
# We only consider "LD_RUN_PATH" on Solaris systems. If this is seen, |
| 3571 |
# then we insist that the "run path" must be an absolute path (i.e. it |
| 3572 |
# must begin with a "/"). |
| 3573 |
case `(uname -sr) 2>/dev/null` in |
| 3574 |
"SunOS 5"*) |
| 3575 |
ac_ld_run_path=`echo $ac_f77_v_output | |
| 3576 |
sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'` |
| 3577 |
test "x$ac_ld_run_path" != x && |
| 3578 |
if test "$ac_compiler_gnu" = yes; then |
| 3579 |
for ac_link_opt in $ac_ld_run_path; do |
| 3580 |
ac_cv_f77_libs="$ac_cv_f77_libs -Xlinker $ac_link_opt" |
| 3581 |
done |
| 3582 |
else |
| 3583 |
ac_cv_f77_libs="$ac_cv_f77_libs $ac_ld_run_path" |
| 3584 |
fi |
| 3585 |
;; |
| 3586 |
esac |
| 3587 |
fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x" |
| 3588 |
|
| 3589 |
fi |
| 3590 |
echo "$as_me:$LINENO: result: $ac_cv_f77_libs" >&5 |
| 3591 |
echo "${ECHO_T}$ac_cv_f77_libs" >&6 |
| 3592 |
FLIBS="$ac_cv_f77_libs" |
| 3593 |
|
| 3594 |
|
| 3595 |
ac_ext=c |
| 3596 |
ac_cpp='$CPP $CPPFLAGS' |
| 3597 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3598 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3599 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3600 |
|
| 3601 |
|
| 3602 |
|
| 3603 |
ac_ext=cc |
| 3604 |
ac_cpp='$CXXCPP $CPPFLAGS' |
| 3605 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3606 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3607 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 3608 |
if test -n "$ac_tool_prefix"; then |
| 3609 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 3610 |
do |
| 3611 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3612 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3613 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3614 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3615 |
if test "${ac_cv_prog_CXX+set}" = set; then |
| 3616 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3617 |
else |
| 3618 |
if test -n "$CXX"; then |
| 3619 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 3620 |
else |
| 3621 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3622 |
for as_dir in $PATH |
| 3623 |
do |
| 3624 |
IFS=$as_save_IFS |
| 3625 |
test -z "$as_dir" && as_dir=. |
| 3626 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3627 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3628 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 3629 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3630 |
break 2 |
| 3631 |
fi |
| 3632 |
done |
| 3633 |
done |
| 3634 |
|
| 3635 |
fi |
| 3636 |
fi |
| 3637 |
CXX=$ac_cv_prog_CXX |
| 3638 |
if test -n "$CXX"; then |
| 3639 |
echo "$as_me:$LINENO: result: $CXX" >&5 |
| 3640 |
echo "${ECHO_T}$CXX" >&6 |
| 3641 |
else |
| 3642 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3643 |
echo "${ECHO_T}no" >&6 |
| 3644 |
fi |
| 3645 |
|
| 3646 |
test -n "$CXX" && break |
| 3647 |
done |
| 3648 |
fi |
| 3649 |
if test -z "$CXX"; then |
| 3650 |
ac_ct_CXX=$CXX |
| 3651 |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
| 3652 |
do |
| 3653 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3654 |
set dummy $ac_prog; ac_word=$2 |
| 3655 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3656 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 3657 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 3658 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3659 |
else |
| 3660 |
if test -n "$ac_ct_CXX"; then |
| 3661 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| 3662 |
else |
| 3663 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3664 |
for as_dir in $PATH |
| 3665 |
do |
| 3666 |
IFS=$as_save_IFS |
| 3667 |
test -z "$as_dir" && as_dir=. |
| 3668 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3669 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3670 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 3671 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3672 |
break 2 |
| 3673 |
fi |
| 3674 |
done |
| 3675 |
done |
| 3676 |
|
| 3677 |
fi |
| 3678 |
fi |
| 3679 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 3680 |
if test -n "$ac_ct_CXX"; then |
| 3681 |
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 3682 |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
| 3683 |
else |
| 3684 |
echo "$as_me:$LINENO: result: no" >&5 |
| 3685 |
echo "${ECHO_T}no" >&6 |
| 3686 |
fi |
| 3687 |
|
| 3688 |
test -n "$ac_ct_CXX" && break |
| 3689 |
done |
| 3690 |
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
| 3691 |
|
| 3692 |
CXX=$ac_ct_CXX |
| 3693 |
fi |
| 3694 |
|
| 3695 |
|
| 3696 |
# Provide some information about the compiler. |
| 3697 |
echo "$as_me:$LINENO:" \ |
| 3698 |
"checking for C++ compiler version" >&5 |
| 3699 |
ac_compiler=`set X $ac_compile; echo $2` |
| 3700 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 3701 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 3702 |
ac_status=$? |
| 3703 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3704 |
(exit $ac_status); } |
| 3705 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 3706 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 3707 |
ac_status=$? |
| 3708 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3709 |
(exit $ac_status); } |
| 3710 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 3711 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 3712 |
ac_status=$? |
| 3713 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3714 |
(exit $ac_status); } |
| 3715 |
|
| 3716 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3717 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 3718 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 3719 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3720 |
else |
| 3721 |
cat >conftest.$ac_ext <<_ACEOF |
| 3722 |
/* confdefs.h. */ |
| 3723 |
_ACEOF |
| 3724 |
cat confdefs.h >>conftest.$ac_ext |
| 3725 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3726 |
/* end confdefs.h. */ |
| 3727 |
|
| 3728 |
int |
| 3729 |
main () |
| 3730 |
{ |
| 3731 |
#ifndef __GNUC__ |
| 3732 |
choke me |
| 3733 |
#endif |
| 3734 |
|
| 3735 |
; |
| 3736 |
return 0; |
| 3737 |
} |
| 3738 |
_ACEOF |
| 3739 |
rm -f conftest.$ac_objext |
| 3740 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3741 |
(eval $ac_compile) 2>conftest.er1 |
| 3742 |
ac_status=$? |
| 3743 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3744 |
rm -f conftest.er1 |
| 3745 |
cat conftest.err >&5 |
| 3746 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3747 |
(exit $ac_status); } && |
| 3748 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3749 |
|| test ! -s conftest.err' |
| 3750 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3751 |
(eval $ac_try) 2>&5 |
| 3752 |
ac_status=$? |
| 3753 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3754 |
(exit $ac_status); }; } && |
| 3755 |
{ ac_try='test -s conftest.$ac_objext' |
| 3756 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3757 |
(eval $ac_try) 2>&5 |
| 3758 |
ac_status=$? |
| 3759 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3760 |
(exit $ac_status); }; }; then |
| 3761 |
ac_compiler_gnu=yes |
| 3762 |
else |
| 3763 |
echo "$as_me: failed program was:" >&5 |
| 3764 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3765 |
|
| 3766 |
ac_compiler_gnu=no |
| 3767 |
fi |
| 3768 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3769 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 3770 |
|
| 3771 |
fi |
| 3772 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3773 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
| 3774 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 3775 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 3776 |
ac_save_CXXFLAGS=$CXXFLAGS |
| 3777 |
CXXFLAGS="-g" |
| 3778 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 3779 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
| 3780 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 3781 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3782 |
else |
| 3783 |
cat >conftest.$ac_ext <<_ACEOF |
| 3784 |
/* confdefs.h. */ |
| 3785 |
_ACEOF |
| 3786 |
cat confdefs.h >>conftest.$ac_ext |
| 3787 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3788 |
/* end confdefs.h. */ |
| 3789 |
|
| 3790 |
int |
| 3791 |
main () |
| 3792 |
{ |
| 3793 |
|
| 3794 |
; |
| 3795 |
return 0; |
| 3796 |
} |
| 3797 |
_ACEOF |
| 3798 |
rm -f conftest.$ac_objext |
| 3799 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3800 |
(eval $ac_compile) 2>conftest.er1 |
| 3801 |
ac_status=$? |
| 3802 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3803 |
rm -f conftest.er1 |
| 3804 |
cat conftest.err >&5 |
| 3805 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3806 |
(exit $ac_status); } && |
| 3807 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3808 |
|| test ! -s conftest.err' |
| 3809 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3810 |
(eval $ac_try) 2>&5 |
| 3811 |
ac_status=$? |
| 3812 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3813 |
(exit $ac_status); }; } && |
| 3814 |
{ ac_try='test -s conftest.$ac_objext' |
| 3815 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3816 |
(eval $ac_try) 2>&5 |
| 3817 |
ac_status=$? |
| 3818 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3819 |
(exit $ac_status); }; }; then |
| 3820 |
ac_cv_prog_cxx_g=yes |
| 3821 |
else |
| 3822 |
echo "$as_me: failed program was:" >&5 |
| 3823 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3824 |
|
| 3825 |
ac_cv_prog_cxx_g=no |
| 3826 |
fi |
| 3827 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3828 |
fi |
| 3829 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
| 3830 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
| 3831 |
if test "$ac_test_CXXFLAGS" = set; then |
| 3832 |
CXXFLAGS=$ac_save_CXXFLAGS |
| 3833 |
elif test $ac_cv_prog_cxx_g = yes; then |
| 3834 |
if test "$GXX" = yes; then |
| 3835 |
CXXFLAGS="-g -O2" |
| 3836 |
else |
| 3837 |
CXXFLAGS="-g" |
| 3838 |
fi |
| 3839 |
else |
| 3840 |
if test "$GXX" = yes; then |
| 3841 |
CXXFLAGS="-O2" |
| 3842 |
else |
| 3843 |
CXXFLAGS= |
| 3844 |
fi |
| 3845 |
fi |
| 3846 |
for ac_declaration in \ |
| 3847 |
'' \ |
| 3848 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3849 |
'extern "C" void std::exit (int); using std::exit;' \ |
| 3850 |
'extern "C" void exit (int) throw ();' \ |
| 3851 |
'extern "C" void exit (int);' \ |
| 3852 |
'void exit (int);' |
| 3853 |
do |
| 3854 |
cat >conftest.$ac_ext <<_ACEOF |
| 3855 |
/* confdefs.h. */ |
| 3856 |
_ACEOF |
| 3857 |
cat confdefs.h >>conftest.$ac_ext |
| 3858 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3859 |
/* end confdefs.h. */ |
| 3860 |
$ac_declaration |
| 3861 |
#include <stdlib.h> |
| 3862 |
int |
| 3863 |
main () |
| 3864 |
{ |
| 3865 |
exit (42); |
| 3866 |
; |
| 3867 |
return 0; |
| 3868 |
} |
| 3869 |
_ACEOF |
| 3870 |
rm -f conftest.$ac_objext |
| 3871 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3872 |
(eval $ac_compile) 2>conftest.er1 |
| 3873 |
ac_status=$? |
| 3874 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3875 |
rm -f conftest.er1 |
| 3876 |
cat conftest.err >&5 |
| 3877 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3878 |
(exit $ac_status); } && |
| 3879 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3880 |
|| test ! -s conftest.err' |
| 3881 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3882 |
(eval $ac_try) 2>&5 |
| 3883 |
ac_status=$? |
| 3884 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3885 |
(exit $ac_status); }; } && |
| 3886 |
{ ac_try='test -s conftest.$ac_objext' |
| 3887 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3888 |
(eval $ac_try) 2>&5 |
| 3889 |
ac_status=$? |
| 3890 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3891 |
(exit $ac_status); }; }; then |
| 3892 |
: |
| 3893 |
else |
| 3894 |
echo "$as_me: failed program was:" >&5 |
| 3895 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3896 |
|
| 3897 |
continue |
| 3898 |
fi |
| 3899 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3900 |
cat >conftest.$ac_ext <<_ACEOF |
| 3901 |
/* confdefs.h. */ |
| 3902 |
_ACEOF |
| 3903 |
cat confdefs.h >>conftest.$ac_ext |
| 3904 |
cat >>conftest.$ac_ext <<_ACEOF |
| 3905 |
/* end confdefs.h. */ |
| 3906 |
$ac_declaration |
| 3907 |
int |
| 3908 |
main () |
| 3909 |
{ |
| 3910 |
exit (42); |
| 3911 |
; |
| 3912 |
return 0; |
| 3913 |
} |
| 3914 |
_ACEOF |
| 3915 |
rm -f conftest.$ac_objext |
| 3916 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 3917 |
(eval $ac_compile) 2>conftest.er1 |
| 3918 |
ac_status=$? |
| 3919 |
grep -v '^ *+' conftest.er1 >conftest.err |
| 3920 |
rm -f conftest.er1 |
| 3921 |
cat conftest.err >&5 |
| 3922 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3923 |
(exit $ac_status); } && |
| 3924 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
| 3925 |
|| test ! -s conftest.err' |
| 3926 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3927 |
(eval $ac_try) 2>&5 |
| 3928 |
ac_status=$? |
| 3929 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3930 |
(exit $ac_status); }; } && |
| 3931 |
{ ac_try='test -s conftest.$ac_objext' |
| 3932 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 3933 |
(eval $ac_try) 2>&5 |
| 3934 |
ac_status=$? |
| 3935 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3936 |
(exit $ac_status); }; }; then |
| 3937 |
break |
| 3938 |
else |
| 3939 |
echo "$as_me: failed program was:" >&5 |
| 3940 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 3941 |
|
| 3942 |
fi |
| 3943 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3944 |
done |
| 3945 |
rm -f conftest* |
| 3946 |
if test -n "$ac_declaration"; then |
| 3947 |
echo '#ifdef __cplusplus' >>confdefs.h |
| 3948 |
echo $ac_declaration >>confdefs.h |
| 3949 |
echo '#endif' >>confdefs.h |
| 3950 |
fi |
| 3951 |
|
| 3952 |
ac_ext=c |
| 3953 |
ac_cpp='$CPP $CPPFLAGS' |
| 3954 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3955 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3956 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3957 |
|
| 3958 |
depcc="$CXX" am_compiler_list= |
| 3959 |
|
| 3960 |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 3961 |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 3962 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
| 3963 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3964 |
else |
| 3965 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3966 |
# We make a subdir and do the tests there. Otherwise we can end up |
| 3967 |
# making bogus files that we don't know about and never remove. For |
| 3968 |
# instance it was reported that on HP-UX the gcc test will end up |
| 3969 |
# making a dummy file named `D' -- because `-MD' means `put the output |
| 3970 |
# in D'. |
| 3971 |
mkdir conftest.dir |
| 3972 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 3973 |
# using a relative directory. |
| 3974 |
cp "$am_depcomp" conftest.dir |
| 3975 |
cd conftest.dir |
| 3976 |
# We will build objects and dependencies in a subdirectory because |
| 3977 |
# it helps to detect inapplicable dependency modes. For instance |
| 3978 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 3979 |
# side effect of compilation, but ICC will put the dependencies in |
| 3980 |
# the current directory while Tru64 will put them in the object |
| 3981 |
# directory. |
| 3982 |
mkdir sub |
| 3983 |
|
| 3984 |
am_cv_CXX_dependencies_compiler_type=none |
| 3985 |
if test "$am_compiler_list" = ""; then |
| 3986 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 3987 |
fi |
| 3988 |
for depmode in $am_compiler_list; do |
| 3989 |
# Setup a source with many dependencies, because some compilers |
| 3990 |
# like to wrap large dependency lists on column 80 (with \), and |
| 3991 |
# we should not choose a depcomp mode which is confused by this. |
| 3992 |
# |
| 3993 |
# We need to recreate these files for each test, as the compiler may |
| 3994 |
# overwrite some of them when testing with obscure command lines. |
| 3995 |
# This happens at least with the AIX C compiler. |
| 3996 |
: > sub/conftest.c |
| 3997 |
for i in 1 2 3 4 5 6; do |
| 3998 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3999 |
: > sub/conftst$i.h |
| 4000 |
done |
| 4001 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 4002 |
|
| 4003 |
case $depmode in |
| 4004 |
nosideeffect) |
| 4005 |
# after this tag, mechanisms are not by side-effect, so they'll |
| 4006 |
# only be used when explicitly requested |
| 4007 |
if test "x$enable_dependency_tracking" = xyes; then |
| 4008 |
continue |
| 4009 |
else |
| 4010 |
break |
| 4011 |
fi |
| 4012 |
;; |
| 4013 |
none) break ;; |
| 4014 |
esac |
| 4015 |
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 4016 |
# mode. It turns out that the SunPro C++ compiler does not properly |
| 4017 |
# handle `-M -o', and we need to detect this. |
| 4018 |
if depmode=$depmode \ |
| 4019 |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| 4020 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 4021 |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 4022 |
>/dev/null 2>conftest.err && |
| 4023 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 4024 |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 4025 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 4026 |
# icc doesn't choke on unknown options, it will just issue warnings |
| 4027 |
# (even with -Werror). So we grep stderr for any message |
| 4028 |
# that says an option was ignored. |
| 4029 |
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
| 4030 |
am_cv_CXX_dependencies_compiler_type=$depmode |
| 4031 |
break |
| 4032 |
fi |
| 4033 |
fi |
| 4034 |
done |
| 4035 |
|
| 4036 |
cd .. |
| 4037 |
rm -rf conftest.dir |
| 4038 |
else |
| 4039 |
am_cv_CXX_dependencies_compiler_type=none |
| 4040 |
fi |
| 4041 |
|
| 4042 |
fi |
| 4043 |
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
| 4044 |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
| 4045 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
| 4046 |
|
| 4047 |
|
| 4048 |
|
| 4049 |
if |
| 4050 |
test |