2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.53.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
3
# Generated by GNU Autoconf 2.69.
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
10
if expr a : '\(a\)' >/dev/null 2>&1; then
17
## --------------------- ##
18
## M4sh Initialization. ##
19
## --------------------- ##
21
# Be Bourne compatible
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in #(
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46
as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# We need space, tab and new line, in precisely that order. Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
89
# Find who we are. Look in the path if we contain no directory separator.
92
*[\\/]* ) as_myself=$0 ;;
93
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
test -z "$as_dir" && as_dir=.
98
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104
# We did not find ourselves, most probably we were run as `sh COMMAND'
105
# in which case we are not to be found in the path.
106
if test "x$as_myself" = x; then
109
if test ! -f "$as_myself"; then
110
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
# Unset variables that we do not need and which cause bugs (e.g. in
115
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116
# suppresses any "Segmentation fault" message there. '((' could
117
# trigger a bug in pdksh 5.2.14.
118
for as_var in BASH_ENV ENV MAIL MAILPATH
119
do eval test x\${$as_var+set} = xset \
120
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
30
# Support unset when possible.
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38
{ $as_unset LANG || test "${LANG+set}" != set; } ||
39
{ LANG=C; export LANG; }
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42
{ LC_ALL=C; export LC_ALL; }
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45
{ LC_TIME=C; export LC_TIME; }
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48
{ LC_CTYPE=C; export LC_CTYPE; }
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51
{ LANGUAGE=C; export LANGUAGE; }
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54
{ LC_COLLATE=C; export LC_COLLATE; }
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57
{ LC_NUMERIC=C; export LC_NUMERIC; }
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60
{ LC_MESSAGES=C; export LC_MESSAGES; }
63
# Name of the executable.
64
as_me=`(basename "$0") 2>/dev/null ||
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
# Use a proper internal environment variable to ensure we don't fall
136
# into an infinite loop, continuously re-executing ourselves.
137
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138
_as_can_reexec=no; export _as_can_reexec;
139
# We cannot yet assume a decent shell, so we have to provide a
140
# neutralization value for shells without unset; and this also
141
# works around shells that cannot unset nonexistent variables.
142
# Preserve -v and -x to the replacement shell.
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147
*v*x* | *x*v* ) as_opts=-vx ;;
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153
# Admittedly, this is quite paranoid, since all the known shells bail
154
# out after a failed `exec'.
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
# We don't want this to propagate to other subprocesses.
159
{ _as_can_reexec=; unset _as_can_reexec;}
160
if test "x$CONFIG_SHELL" = x; then
161
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165
# is contrary to our usage. Disable this feature.
166
alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
case \`(set -o) 2>/dev/null\` in #(
177
as_required="as_fn_return () { (exit \$1); }
178
as_fn_success () { as_fn_return 0; }
179
as_fn_failure () { as_fn_return 1; }
180
as_fn_ret_success () { return 0; }
181
as_fn_ret_failure () { return 1; }
184
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
exitcode=1; echo positional parameters were not saved.
193
test x\$exitcode = x0 || exit 1
195
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
test \$(( 1 + 1 )) = 2 || exit 1"
200
if (eval "$as_required") 2>/dev/null; then :
205
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213
test -z "$as_dir" && as_dir=.
217
for as_base in sh bash ksh sh5; do
218
# Try only shells that exist, to save several forks.
219
as_shell=$as_dir/$as_base
220
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222
CONFIG_SHELL=$as_shell as_have_required=yes
223
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233
CONFIG_SHELL=$SHELL as_have_required=yes
238
if test "x$CONFIG_SHELL" != x; then :
240
# We cannot yet assume a decent shell, so we have to provide a
241
# neutralization value for shells without unset; and this also
242
# works around shells that cannot unset nonexistent variables.
243
# Preserve -v and -x to the replacement shell.
246
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248
*v*x* | *x*v* ) as_opts=-vx ;;
253
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254
# Admittedly, this is quite paranoid, since all the known shells bail
255
# out after a failed `exec'.
256
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260
if test x$as_have_required = xno; then :
261
$as_echo "$0: This script requires a shell more modern than all"
262
$as_echo "$0: the shells that I found on your system."
263
if test x${ZSH_VERSION+set} = xset ; then
264
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
267
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268
$0: including any error possibly output before this
269
$0: message. Then install a modern shell, or manually run
270
$0: the script under such a shell if you do have one."
276
SHELL=${CONFIG_SHELL-/bin/sh}
278
# Unset more variables known to interfere with behavior of common tools.
279
CLICOLOR_FORCE= GREP_OPTIONS=
280
unset CLICOLOR_FORCE GREP_OPTIONS
282
## --------------------- ##
283
## M4sh Shell Functions. ##
284
## --------------------- ##
287
# Portably unset VAR.
290
{ eval $1=; unset $1;}
294
# as_fn_set_status STATUS
295
# -----------------------
296
# Set $? to STATUS, without forking.
304
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314
# Create "$as_dir" as a directory, including parents if necessary.
319
-*) as_dir=./$as_dir;;
321
test -d "$as_dir" || eval $as_mkdir_p || {
325
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328
as_dirs="'$as_qdir' $as_dirs"
329
as_dir=`$as_dirname -- "$as_dir" ||
330
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331
X"$as_dir" : 'X\(//\)[^/]' \| \
332
X"$as_dir" : 'X\(//\)$' \| \
333
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334
$as_echo X"$as_dir" |
335
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352
test -d "$as_dir" && break
354
test -z "$as_dirs" || eval "mkdir $as_dirs"
355
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
# as_fn_executable_p FILE
361
# -----------------------
362
# Test if FILE is an executable regular file.
363
as_fn_executable_p ()
365
test -f "$1" && test -x "$1"
366
} # as_fn_executable_p
367
# as_fn_append VAR VALUE
368
# ----------------------
369
# Append the text in VALUE to the end of the definition contained in VAR. Take
370
# advantage of any shell optimizations that allow amortized linear growth over
371
# repeated appends, instead of the typical quadratic growth present in naive
373
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374
eval 'as_fn_append ()
387
# Perform arithmetic evaluation on the ARGs, and store the result in the
388
# global $as_val. Take advantage of shells that can avoid forks. The arguments
389
# must be portable across $(()) and expr.
390
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398
as_val=`expr "$@" || test $? -eq 1`
403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
404
# ----------------------------------------
405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407
# script with STATUS, using 1 if that was 0.
410
as_status=$1; test $as_status -eq 0 && as_status=1
412
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415
$as_echo "$as_me: error: $2" >&2
416
as_fn_exit $as_status
419
if expr a : '\(a\)' >/dev/null 2>&1 &&
420
test "X`expr 00001 : '.*\(...\)'`" = X001; then
426
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438
as_me=`$as_basename -- "$0" ||
65
439
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66
440
X"$0" : 'X\(//\)$' \| \
67
X"$0" : 'X\(/\)$' \| \
68
. : '\(.\)' 2>/dev/null ||
70
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71
/^X\/\(\/\/\)$/{ s//\1/; q; }
72
/^X\/\(\/\).*/{ s//\1/; q; }
441
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443
sed '/^.*\/\([^/][^/]*\)\/*$/{
75
# PATH needs CR, and LINENO needs CR and PATH.
76
457
# Avoid depending upon Character Ranges.
77
458
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78
459
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
827
1344
Optional Features:
1345
--disable-option-checking ignore unrecognized --enable/--with options
828
1346
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
829
1347
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
830
--disable-dependency-tracking Speeds up one-time builds
831
--enable-dependency-tracking Do not reject slow dependency extractors
1348
--disable-dependency-tracking speeds up one-time build
1349
--enable-dependency-tracking do not reject slow dependency extractors
1352
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1353
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1354
--with-systemd-daemon Add support for systemd startup notification
1355
(default is autodetected)
833
1357
Some influential environment variables:
834
1358
CXX C++ compiler command
835
1359
CXXFLAGS C++ compiler flags
836
1360
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
837
1361
nonstandard directory <lib dir>
838
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
839
headers in a nonstandard directory <include dir>
1362
LIBS libraries to pass to the linker, e.g. -l<library>
1363
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1364
you have headers in a nonstandard directory <include dir>
1365
CC C compiler command
1366
CFLAGS C compiler flags
840
1367
CXXCPP C++ preprocessor
1368
PKG_CONFIG path to pkg-config utility
1370
directories to add to pkg-config's search path
1372
path overriding pkg-config's built-in search path
1373
SYSTEMD_DAEMON_CFLAGS
1374
C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
1376
linker flags for SYSTEMD_DAEMON, overriding pkg-config
842
1378
Use these variables to override the choices made by `configure' or to help
843
1379
it to find libraries and programs with nonstandard names/locations.
1381
Report bugs to the package provider.
848
1386
if test "$ac_init_help" = "recursive"; then
849
1387
# If there are subdirs, report their specific --help.
851
1388
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852
test -d $ac_dir || continue
1389
test -d "$ac_dir" ||
1390
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
855
if test "$ac_dir" != .; then
856
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857
# A "../" for each directory in $ac_dir_suffix.
858
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
860
ac_dir_suffix= ac_top_builddir=
1395
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1398
# A ".." for each directory in $ac_dir_suffix.
1399
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1400
case $ac_top_builddir_sub in
1401
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405
ac_abs_top_builddir=$ac_pwd
1406
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407
# for backward compatibility:
1408
ac_top_builddir=$ac_top_build_prefix
864
.) # No --srcdir option. We are building in place.
1411
.) # We are building in place.
866
if test -z "$ac_top_builddir"; then
869
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
871
[\\/]* | ?:[\\/]* ) # Absolute path.
1413
ac_top_srcdir=$ac_top_builddir_sub
1414
ac_abs_top_srcdir=$ac_pwd ;;
1415
[\\/]* | ?:[\\/]* ) # Absolute name.
872
1416
ac_srcdir=$srcdir$ac_dir_suffix;
873
ac_top_srcdir=$srcdir ;;
875
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1417
ac_top_srcdir=$srcdir
1418
ac_abs_top_srcdir=$srcdir ;;
1420
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421
ac_top_srcdir=$ac_top_build_prefix$srcdir
1422
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
878
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
880
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
881
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
882
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
883
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1424
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
886
# Check for guested configure; otherwise get Cygnus style configure.
887
if test -f $ac_srcdir/configure.gnu; then
889
$SHELL $ac_srcdir/configure.gnu --help=recursive
890
elif test -f $ac_srcdir/configure; then
892
$SHELL $ac_srcdir/configure --help=recursive
893
elif test -f $ac_srcdir/configure.ac ||
894
test -f $ac_srcdir/configure.in; then
1426
cd "$ac_dir" || { ac_status=$?; continue; }
1427
# Check for guested configure.
1428
if test -f "$ac_srcdir/configure.gnu"; then
1430
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431
elif test -f "$ac_srcdir/configure"; then
1433
$SHELL "$ac_srcdir/configure" --help=recursive
898
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437
cd "$ac_pwd" || { ac_status=$?; break; }
904
test -n "$ac_init_help" && exit 0
1441
test -n "$ac_init_help" && exit $ac_status
905
1442
if $ac_init_version; then
1445
generated by GNU Autoconf 2.69
908
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
909
Free Software Foundation, Inc.
1447
Copyright (C) 2012 Free Software Foundation, Inc.
910
1448
This configure script is free software; the Free Software Foundation
911
1449
gives unlimited permission to copy, distribute and modify it.
1454
## ------------------------ ##
1455
## Autoconf initialization. ##
1456
## ------------------------ ##
1458
# ac_fn_cxx_try_compile LINENO
1459
# ----------------------------
1460
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1461
ac_fn_cxx_try_compile ()
1463
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464
rm -f conftest.$ac_objext
1465
if { { ac_try="$ac_compile"
1467
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468
*) ac_try_echo=$ac_try;;
1470
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471
$as_echo "$ac_try_echo"; } >&5
1472
(eval "$ac_compile") 2>conftest.err
1474
if test -s conftest.err; then
1475
grep -v '^ *+' conftest.err >conftest.er1
1476
cat conftest.er1 >&5
1477
mv -f conftest.er1 conftest.err
1479
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480
test $ac_status = 0; } && {
1481
test -z "$ac_cxx_werror_flag" ||
1482
test ! -s conftest.err
1483
} && test -s conftest.$ac_objext; then :
1486
$as_echo "$as_me: failed program was:" >&5
1487
sed 's/^/| /' conftest.$ac_ext >&5
1491
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492
as_fn_set_status $ac_retval
1494
} # ac_fn_cxx_try_compile
1496
# ac_fn_cxx_try_link LINENO
1497
# -------------------------
1498
# Try to link conftest.$ac_ext, and return whether this succeeded.
1499
ac_fn_cxx_try_link ()
1501
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502
rm -f conftest.$ac_objext conftest$ac_exeext
1503
if { { ac_try="$ac_link"
1505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506
*) ac_try_echo=$ac_try;;
1508
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509
$as_echo "$ac_try_echo"; } >&5
1510
(eval "$ac_link") 2>conftest.err
1512
if test -s conftest.err; then
1513
grep -v '^ *+' conftest.err >conftest.er1
1514
cat conftest.er1 >&5
1515
mv -f conftest.er1 conftest.err
1517
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518
test $ac_status = 0; } && {
1519
test -z "$ac_cxx_werror_flag" ||
1520
test ! -s conftest.err
1521
} && test -s conftest$ac_exeext && {
1522
test "$cross_compiling" = yes ||
1523
test -x conftest$ac_exeext
1527
$as_echo "$as_me: failed program was:" >&5
1528
sed 's/^/| /' conftest.$ac_ext >&5
1532
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1533
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1534
# interfere with the next link command; also delete a directory that is
1535
# left behind by Apple's compiler. We do this before executing the actions.
1536
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1537
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538
as_fn_set_status $ac_retval
1540
} # ac_fn_cxx_try_link
1542
# ac_fn_c_try_compile LINENO
1543
# --------------------------
1544
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1545
ac_fn_c_try_compile ()
1547
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548
rm -f conftest.$ac_objext
1549
if { { ac_try="$ac_compile"
1551
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552
*) ac_try_echo=$ac_try;;
1554
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555
$as_echo "$ac_try_echo"; } >&5
1556
(eval "$ac_compile") 2>conftest.err
1558
if test -s conftest.err; then
1559
grep -v '^ *+' conftest.err >conftest.er1
1560
cat conftest.er1 >&5
1561
mv -f conftest.er1 conftest.err
1563
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564
test $ac_status = 0; } && {
1565
test -z "$ac_c_werror_flag" ||
1566
test ! -s conftest.err
1567
} && test -s conftest.$ac_objext; then :
1570
$as_echo "$as_me: failed program was:" >&5
1571
sed 's/^/| /' conftest.$ac_ext >&5
1575
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576
as_fn_set_status $ac_retval
1578
} # ac_fn_c_try_compile
1580
# ac_fn_cxx_try_cpp LINENO
1581
# ------------------------
1582
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1583
ac_fn_cxx_try_cpp ()
1585
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586
if { { ac_try="$ac_cpp conftest.$ac_ext"
1588
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1589
*) ac_try_echo=$ac_try;;
1591
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592
$as_echo "$ac_try_echo"; } >&5
1593
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1595
if test -s conftest.err; then
1596
grep -v '^ *+' conftest.err >conftest.er1
1597
cat conftest.er1 >&5
1598
mv -f conftest.er1 conftest.err
1600
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601
test $ac_status = 0; } > conftest.i && {
1602
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1603
test ! -s conftest.err
1607
$as_echo "$as_me: failed program was:" >&5
1608
sed 's/^/| /' conftest.$ac_ext >&5
1612
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613
as_fn_set_status $ac_retval
1615
} # ac_fn_cxx_try_cpp
1617
# ac_fn_cxx_try_run LINENO
1618
# ------------------------
1619
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1620
# that executables *can* be run.
1621
ac_fn_cxx_try_run ()
1623
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624
if { { ac_try="$ac_link"
1626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627
*) ac_try_echo=$ac_try;;
1629
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630
$as_echo "$ac_try_echo"; } >&5
1631
(eval "$ac_link") 2>&5
1633
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1635
{ { case "(($ac_try" in
1636
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637
*) ac_try_echo=$ac_try;;
1639
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640
$as_echo "$ac_try_echo"; } >&5
1641
(eval "$ac_try") 2>&5
1643
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644
test $ac_status = 0; }; }; then :
1647
$as_echo "$as_me: program exited with status $ac_status" >&5
1648
$as_echo "$as_me: failed program was:" >&5
1649
sed 's/^/| /' conftest.$ac_ext >&5
1651
ac_retval=$ac_status
1653
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655
as_fn_set_status $ac_retval
1657
} # ac_fn_cxx_try_run
1659
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1660
# ---------------------------------------------------------
1661
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1662
# the include files in INCLUDES and setting the cache variable VAR
1664
ac_fn_cxx_check_header_mongrel ()
1666
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667
if eval \${$3+:} false; then :
1668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1669
$as_echo_n "checking for $2... " >&6; }
1670
if eval \${$3+:} false; then :
1671
$as_echo_n "(cached) " >&6
1674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675
$as_echo "$ac_res" >&6; }
1677
# Is the header compilable?
1678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1679
$as_echo_n "checking $2 usability... " >&6; }
1680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1681
/* end confdefs.h. */
1685
if ac_fn_cxx_try_compile "$LINENO"; then :
1686
ac_header_compiler=yes
1688
ac_header_compiler=no
1690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1692
$as_echo "$ac_header_compiler" >&6; }
1694
# Is the header present?
1695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1696
$as_echo_n "checking $2 presence... " >&6; }
1697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698
/* end confdefs.h. */
1701
if ac_fn_cxx_try_cpp "$LINENO"; then :
1702
ac_header_preproc=yes
1704
ac_header_preproc=no
1706
rm -f conftest.err conftest.i conftest.$ac_ext
1707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1708
$as_echo "$ac_header_preproc" >&6; }
1710
# So? What about this header?
1711
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1713
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1714
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1715
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1716
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1719
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1720
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1721
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1722
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1723
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1724
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1725
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1726
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1727
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1728
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732
$as_echo_n "checking for $2... " >&6; }
1733
if eval \${$3+:} false; then :
1734
$as_echo_n "(cached) " >&6
1736
eval "$3=\$ac_header_compiler"
1739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740
$as_echo "$ac_res" >&6; }
1742
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744
} # ac_fn_cxx_check_header_mongrel
1746
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1747
# ---------------------------------------------------------
1748
# Tests whether HEADER exists and can be compiled using the include files in
1749
# INCLUDES, setting the cache variable VAR accordingly.
1750
ac_fn_cxx_check_header_compile ()
1752
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754
$as_echo_n "checking for $2... " >&6; }
1755
if eval \${$3+:} false; then :
1756
$as_echo_n "(cached) " >&6
1758
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759
/* end confdefs.h. */
1763
if ac_fn_cxx_try_compile "$LINENO"; then :
1768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772
$as_echo "$ac_res" >&6; }
1773
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775
} # ac_fn_cxx_check_header_compile
1776
cat >config.log <<_ACEOF
917
1777
This file contains any messages produced by compilers while
918
1778
running configure, to aid debugging if configure makes a mistake.
920
1780
It was created by $as_me, which was
921
generated by GNU Autoconf 2.53. Invocation command line was
1781
generated by GNU Autoconf 2.69. Invocation command line was
1539
2597
# Checks for programs.
1541
ac_cpp='$CXXCPP $CPPFLAGS'
1542
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1543
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1544
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1545
if test -n "$ac_tool_prefix"; then
1546
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1548
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1549
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1550
echo "$as_me:$LINENO: checking for $ac_word" >&5
1551
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552
if test "${ac_cv_prog_CXX+set}" = set; then
1553
echo $ECHO_N "(cached) $ECHO_C" >&6
1555
if test -n "$CXX"; then
1556
ac_cv_prog_CXX="$CXX" # Let the user override the test.
1558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1562
test -z "$as_dir" && as_dir=.
1563
for ac_exec_ext in '' $ac_executable_extensions; do
1564
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1565
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1566
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575
if test -n "$CXX"; then
1576
echo "$as_me:$LINENO: result: $CXX" >&5
1577
echo "${ECHO_T}$CXX" >&6
1579
echo "$as_me:$LINENO: result: no" >&5
1580
echo "${ECHO_T}no" >&6
1583
test -n "$CXX" && break
1586
if test -z "$CXX"; then
1588
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1590
# Extract the first word of "$ac_prog", so it can be a program name with args.
1591
set dummy $ac_prog; ac_word=$2
1592
echo "$as_me:$LINENO: checking for $ac_word" >&5
1593
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1595
echo $ECHO_N "(cached) $ECHO_C" >&6
1597
if test -n "$ac_ct_CXX"; then
1598
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604
test -z "$as_dir" && as_dir=.
1605
for ac_exec_ext in '' $ac_executable_extensions; do
1606
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607
ac_cv_prog_ac_ct_CXX="$ac_prog"
1608
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1616
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1617
if test -n "$ac_ct_CXX"; then
1618
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1619
echo "${ECHO_T}$ac_ct_CXX" >&6
1621
echo "$as_me:$LINENO: result: no" >&5
1622
echo "${ECHO_T}no" >&6
1625
test -n "$ac_ct_CXX" && break
1627
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1633
# Provide some information about the compiler.
1634
echo "$as_me:$LINENO:" \
1635
"checking for C++ compiler version" >&5
1636
ac_compiler=`set X $ac_compile; echo $2`
1637
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1638
(eval $ac_compiler --version </dev/null >&5) 2>&5
1640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1641
(exit $ac_status); }
1642
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1643
(eval $ac_compiler -v </dev/null >&5) 2>&5
1645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1646
(exit $ac_status); }
1647
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1648
(eval $ac_compiler -V </dev/null >&5) 2>&5
1650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651
(exit $ac_status); }
1653
cat >conftest.$ac_ext <<_ACEOF
1654
#line $LINENO "configure"
1655
#include "confdefs.h"
1657
#ifdef F77_DUMMY_MAIN
1661
int F77_DUMMY_MAIN() { return 1; }
1671
ac_clean_files_save=$ac_clean_files
1672
ac_clean_files="$ac_clean_files a.out a.exe"
1673
# Try to create an executable without -o first, disregard a.out.
1674
# It will help us diagnose broken compilers, and finding out an intuition
1676
echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1677
echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1678
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1679
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1680
(eval $ac_link_default) 2>&5
1682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1683
(exit $ac_status); }; then
1684
# Find the output, starting from the most likely. This scheme is
1685
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1688
# Be careful to initialize this variable, since it used to be cached.
1689
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1691
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1692
ls a.out conftest 2>/dev/null;
1693
ls a.* conftest.* 2>/dev/null`; do
1695
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1696
a.out ) # We found the default executable, but exeext='' is most
1699
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1700
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1707
echo "$as_me: failed program was:" >&5
1708
cat conftest.$ac_ext >&5
1709
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5
1710
echo "$as_me: error: C++ compiler cannot create executables" >&2;}
1711
{ (exit 77); exit 77; }; }
1714
ac_exeext=$ac_cv_exeext
1715
echo "$as_me:$LINENO: result: $ac_file" >&5
1716
echo "${ECHO_T}$ac_file" >&6
1718
# Check the compiler produces executables we can run. If not, either
1719
# the compiler is broken, or we cross compile.
1720
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1721
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1722
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1723
# If not cross compiling, check that we can run a simple program.
1724
if test "$cross_compiling" != yes; then
1725
if { ac_try='./$ac_file'
1726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1730
(exit $ac_status); }; }; then
1733
if test "$cross_compiling" = maybe; then
1736
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1737
If you meant to cross compile, use \`--host'." >&5
1738
echo "$as_me: error: cannot run C++ compiled programs.
1739
If you meant to cross compile, use \`--host'." >&2;}
1740
{ (exit 1); exit 1; }; }
1744
echo "$as_me:$LINENO: result: yes" >&5
1745
echo "${ECHO_T}yes" >&6
1747
rm -f a.out a.exe conftest$ac_cv_exeext
1748
ac_clean_files=$ac_clean_files_save
1749
# Check the compiler produces executables we can run. If not, either
1750
# the compiler is broken, or we cross compile.
1751
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1752
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1753
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1754
echo "${ECHO_T}$cross_compiling" >&6
1756
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1757
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1758
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1759
(eval $ac_link) 2>&5
1761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762
(exit $ac_status); }; then
1763
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1764
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1765
# work properly (i.e., refer to `conftest.exe'), while it won't with
1767
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1769
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1770
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1777
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1778
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1779
{ (exit 1); exit 1; }; }
1782
rm -f conftest$ac_cv_exeext
1783
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1784
echo "${ECHO_T}$ac_cv_exeext" >&6
1786
rm -f conftest.$ac_ext
1787
EXEEXT=$ac_cv_exeext
1789
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1790
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1791
if test "${ac_cv_objext+set}" = set; then
1792
echo $ECHO_N "(cached) $ECHO_C" >&6
1794
cat >conftest.$ac_ext <<_ACEOF
1795
#line $LINENO "configure"
1796
#include "confdefs.h"
1798
#ifdef F77_DUMMY_MAIN
1802
int F77_DUMMY_MAIN() { return 1; }
1812
rm -f conftest.o conftest.obj
1813
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1814
(eval $ac_compile) 2>&5
1816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817
(exit $ac_status); }; then
1818
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1820
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1821
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1826
echo "$as_me: failed program was:" >&5
1827
cat conftest.$ac_ext >&5
1828
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1829
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1830
{ (exit 1); exit 1; }; }
1833
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1835
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1836
echo "${ECHO_T}$ac_cv_objext" >&6
1837
OBJEXT=$ac_cv_objext
1839
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1840
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1841
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1842
echo $ECHO_N "(cached) $ECHO_C" >&6
1844
cat >conftest.$ac_ext <<_ACEOF
1845
#line $LINENO "configure"
1846
#include "confdefs.h"
1848
#ifdef F77_DUMMY_MAIN
1852
int F77_DUMMY_MAIN() { return 1; }
1865
rm -f conftest.$ac_objext
1866
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1867
(eval $ac_compile) 2>&5
1869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1870
(exit $ac_status); } &&
1871
{ ac_try='test -s conftest.$ac_objext'
1872
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1876
(exit $ac_status); }; }; then
1879
echo "$as_me: failed program was:" >&5
1880
cat conftest.$ac_ext >&5
1883
rm -f conftest.$ac_objext conftest.$ac_ext
1884
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1887
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1888
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1889
GXX=`test $ac_compiler_gnu = yes && echo yes`
1890
ac_test_CXXFLAGS=${CXXFLAGS+set}
1891
ac_save_CXXFLAGS=$CXXFLAGS
1893
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1894
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1895
if test "${ac_cv_prog_cxx_g+set}" = set; then
1896
echo $ECHO_N "(cached) $ECHO_C" >&6
1898
cat >conftest.$ac_ext <<_ACEOF
1899
#line $LINENO "configure"
1900
#include "confdefs.h"
1902
#ifdef F77_DUMMY_MAIN
1906
int F77_DUMMY_MAIN() { return 1; }
1916
rm -f conftest.$ac_objext
1917
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1918
(eval $ac_compile) 2>&5
1920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921
(exit $ac_status); } &&
1922
{ ac_try='test -s conftest.$ac_objext'
1923
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1927
(exit $ac_status); }; }; then
1928
ac_cv_prog_cxx_g=yes
1930
echo "$as_me: failed program was:" >&5
1931
cat conftest.$ac_ext >&5
1934
rm -f conftest.$ac_objext conftest.$ac_ext
1936
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1937
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1938
if test "$ac_test_CXXFLAGS" = set; then
1939
CXXFLAGS=$ac_save_CXXFLAGS
1940
elif test $ac_cv_prog_cxx_g = yes; then
1941
if test "$GXX" = yes; then
1947
if test "$GXX" = yes; then
1953
for ac_declaration in \
1955
'#include <stdlib.h>' \
1956
'extern "C" void std::exit (int) throw (); using std::exit;' \
1957
'extern "C" void std::exit (int); using std::exit;' \
1958
'extern "C" void exit (int) throw ();' \
1959
'extern "C" void exit (int);' \
1962
cat >conftest.$ac_ext <<_ACEOF
1963
#line $LINENO "configure"
1964
#include "confdefs.h"
1967
#ifdef F77_DUMMY_MAIN
1971
int F77_DUMMY_MAIN() { return 1; }
1981
rm -f conftest.$ac_objext
1982
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1983
(eval $ac_compile) 2>&5
1985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986
(exit $ac_status); } &&
1987
{ ac_try='test -s conftest.$ac_objext'
1988
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992
(exit $ac_status); }; }; then
1995
echo "$as_me: failed program was:" >&5
1996
cat conftest.$ac_ext >&5
1999
rm -f conftest.$ac_objext conftest.$ac_ext
2000
cat >conftest.$ac_ext <<_ACEOF
2001
#line $LINENO "configure"
2002
#include "confdefs.h"
2004
#ifdef F77_DUMMY_MAIN
2008
int F77_DUMMY_MAIN() { return 1; }
2018
rm -f conftest.$ac_objext
2019
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2020
(eval $ac_compile) 2>&5
2022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023
(exit $ac_status); } &&
2024
{ ac_try='test -s conftest.$ac_objext'
2025
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029
(exit $ac_status); }; }; then
2032
echo "$as_me: failed program was:" >&5
2033
cat conftest.$ac_ext >&5
2035
rm -f conftest.$ac_objext conftest.$ac_ext
2038
if test -n "$ac_declaration"; then
2039
echo '#ifdef __cplusplus' >>confdefs.h
2040
echo $ac_declaration >>confdefs.h
2041
echo '#endif' >>confdefs.h
2045
ac_cpp='$CXXCPP $CPPFLAGS'
2046
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2050
ac_config_commands="$ac_config_commands default-1"
2598
DEPDIR="${am__leading_dot}deps"
2600
ac_config_commands="$ac_config_commands depfiles"
2052
2603
am_make=${MAKE-make}
2053
2604
cat > confinc << 'END'
2057
2609
# If we don't find an include directive, just comment out the code.
2058
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2059
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2611
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2062
2614
_am_result=none
2063
2615
# First try GNU make style include.
2077
2629
echo '.include "confinc"' > confmf
2078
2630
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2079
2631
am__include=.include
2086
echo "$as_me:$LINENO: result: $_am_result" >&5
2087
echo "${ECHO_T}$_am_result" >&6
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2639
$as_echo "$_am_result" >&6; }
2088
2640
rm -f confinc confmf
2642
# Check whether --enable-dependency-tracking was given.
2643
if test "${enable_dependency_tracking+set}" = set; then :
2644
enableval=$enable_dependency_tracking;
2647
if test "x$enable_dependency_tracking" != xno; then
2648
am_depcomp="$ac_aux_dir/depcomp"
2653
if test "x$enable_dependency_tracking" != xno; then
2664
ac_cpp='$CXXCPP $CPPFLAGS'
2665
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2668
if test -z "$CXX"; then
2669
if test -n "$CCC"; then
2672
if test -n "$ac_tool_prefix"; then
2673
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2675
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2676
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678
$as_echo_n "checking for $ac_word... " >&6; }
2679
if ${ac_cv_prog_CXX+:} false; then :
2680
$as_echo_n "(cached) " >&6
2682
if test -n "$CXX"; then
2683
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689
test -z "$as_dir" && as_dir=.
2690
for ac_exec_ext in '' $ac_executable_extensions; do
2691
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2693
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703
if test -n "$CXX"; then
2704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2705
$as_echo "$CXX" >&6; }
2707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708
$as_echo "no" >&6; }
2712
test -n "$CXX" && break
2715
if test -z "$CXX"; then
2717
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2719
# Extract the first word of "$ac_prog", so it can be a program name with args.
2720
set dummy $ac_prog; ac_word=$2
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722
$as_echo_n "checking for $ac_word... " >&6; }
2723
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2724
$as_echo_n "(cached) " >&6
2726
if test -n "$ac_ct_CXX"; then
2727
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733
test -z "$as_dir" && as_dir=.
2734
for ac_exec_ext in '' $ac_executable_extensions; do
2735
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736
ac_cv_prog_ac_ct_CXX="$ac_prog"
2737
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2747
if test -n "$ac_ct_CXX"; then
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2749
$as_echo "$ac_ct_CXX" >&6; }
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752
$as_echo "no" >&6; }
2756
test -n "$ac_ct_CXX" && break
2759
if test "x$ac_ct_CXX" = x; then
2762
case $cross_compiling:$ac_tool_warned in
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2765
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2766
ac_tool_warned=yes ;;
2774
# Provide some information about the compiler.
2775
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2778
for ac_option in --version -v -V -qversion; do
2779
{ { ac_try="$ac_compiler $ac_option >&5"
2781
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782
*) ac_try_echo=$ac_try;;
2784
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785
$as_echo "$ac_try_echo"; } >&5
2786
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2788
if test -s conftest.err; then
2790
... rest of stderr output deleted ...
2791
10q' conftest.err >conftest.er1
2792
cat conftest.er1 >&5
2794
rm -f conftest.er1 conftest.err
2795
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796
test $ac_status = 0; }
2799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800
/* end confdefs.h. */
2810
ac_clean_files_save=$ac_clean_files
2811
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2812
# Try to create an executable without -o first, disregard a.out.
2813
# It will help us diagnose broken compilers, and finding out an intuition
2815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2816
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2817
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2819
# The possible output files:
2820
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2823
for ac_file in $ac_files
2826
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2827
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2832
if { { ac_try="$ac_link_default"
2834
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835
*) ac_try_echo=$ac_try;;
2837
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2838
$as_echo "$ac_try_echo"; } >&5
2839
(eval "$ac_link_default") 2>&5
2841
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842
test $ac_status = 0; }; then :
2843
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2844
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2845
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2846
# so that the user can short-circuit this test for compilers unknown to
2848
for ac_file in $ac_files ''
2850
test -f "$ac_file" || continue
2852
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2855
# We found the default executable, but exeext='' is most
2859
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2861
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2863
# We set ac_cv_exeext here because the later test for it is not
2864
# safe: cross compilers may not add the suffix if given an `-o'
2865
# argument, so we may need to know it at that point already.
2866
# Even if this section looks crufty: it has the advantage of
2873
test "$ac_cv_exeext" = no && ac_cv_exeext=
2878
if test -z "$ac_file"; then :
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880
$as_echo "no" >&6; }
2881
$as_echo "$as_me: failed program was:" >&5
2882
sed 's/^/| /' conftest.$ac_ext >&5
2884
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2885
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886
as_fn_error 77 "C++ compiler cannot create executables
2887
See \`config.log' for more details" "$LINENO" 5; }
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2890
$as_echo "yes" >&6; }
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2893
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2895
$as_echo "$ac_file" >&6; }
2896
ac_exeext=$ac_cv_exeext
2898
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2899
ac_clean_files=$ac_clean_files_save
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2901
$as_echo_n "checking for suffix of executables... " >&6; }
2902
if { { ac_try="$ac_link"
2904
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905
*) ac_try_echo=$ac_try;;
2907
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2908
$as_echo "$ac_try_echo"; } >&5
2909
(eval "$ac_link") 2>&5
2911
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2912
test $ac_status = 0; }; then :
2913
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2914
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2915
# work properly (i.e., refer to `conftest.exe'), while it won't with
2917
for ac_file in conftest.exe conftest conftest.*; do
2918
test -f "$ac_file" || continue
2920
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2921
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2927
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2928
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2930
See \`config.log' for more details" "$LINENO" 5; }
2932
rm -f conftest conftest$ac_cv_exeext
2933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2934
$as_echo "$ac_cv_exeext" >&6; }
2936
rm -f conftest.$ac_ext
2937
EXEEXT=$ac_cv_exeext
2939
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940
/* end confdefs.h. */
2945
FILE *f = fopen ("conftest.out", "w");
2946
return ferror (f) || fclose (f) != 0;
2952
ac_clean_files="$ac_clean_files conftest.out"
2953
# Check that the compiler produces executables we can run. If not, either
2954
# the compiler is broken, or we cross compile.
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2956
$as_echo_n "checking whether we are cross compiling... " >&6; }
2957
if test "$cross_compiling" != yes; then
2958
{ { ac_try="$ac_link"
2960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
*) ac_try_echo=$ac_try;;
2963
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964
$as_echo "$ac_try_echo"; } >&5
2965
(eval "$ac_link") 2>&5
2967
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968
test $ac_status = 0; }
2969
if { ac_try='./conftest$ac_cv_exeext'
2970
{ { case "(($ac_try" in
2971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972
*) ac_try_echo=$ac_try;;
2974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975
$as_echo "$ac_try_echo"; } >&5
2976
(eval "$ac_try") 2>&5
2978
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979
test $ac_status = 0; }; }; then
2982
if test "$cross_compiling" = maybe; then
2985
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2987
as_fn_error $? "cannot run C++ compiled programs.
2988
If you meant to cross compile, use \`--host'.
2989
See \`config.log' for more details" "$LINENO" 5; }
2993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2994
$as_echo "$cross_compiling" >&6; }
2996
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2997
ac_clean_files=$ac_clean_files_save
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2999
$as_echo_n "checking for suffix of object files... " >&6; }
3000
if ${ac_cv_objext+:} false; then :
3001
$as_echo_n "(cached) " >&6
3003
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004
/* end confdefs.h. */
3014
rm -f conftest.o conftest.obj
3015
if { { ac_try="$ac_compile"
3017
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018
*) ac_try_echo=$ac_try;;
3020
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021
$as_echo "$ac_try_echo"; } >&5
3022
(eval "$ac_compile") 2>&5
3024
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025
test $ac_status = 0; }; then :
3026
for ac_file in conftest.o conftest.obj conftest.*; do
3027
test -f "$ac_file" || continue;
3029
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3030
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3035
$as_echo "$as_me: failed program was:" >&5
3036
sed 's/^/| /' conftest.$ac_ext >&5
3038
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3040
as_fn_error $? "cannot compute suffix of object files: cannot compile
3041
See \`config.log' for more details" "$LINENO" 5; }
3043
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3046
$as_echo "$ac_cv_objext" >&6; }
3047
OBJEXT=$ac_cv_objext
3049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3050
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3051
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3052
$as_echo_n "(cached) " >&6
3054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055
/* end confdefs.h. */
3068
if ac_fn_cxx_try_compile "$LINENO"; then :
3073
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3078
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3079
if test $ac_compiler_gnu = yes; then
3084
ac_test_CXXFLAGS=${CXXFLAGS+set}
3085
ac_save_CXXFLAGS=$CXXFLAGS
3086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3087
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3088
if ${ac_cv_prog_cxx_g+:} false; then :
3089
$as_echo_n "(cached) " >&6
3091
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3092
ac_cxx_werror_flag=yes
3095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096
/* end confdefs.h. */
3106
if ac_fn_cxx_try_compile "$LINENO"; then :
3107
ac_cv_prog_cxx_g=yes
3110
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111
/* end confdefs.h. */
3121
if ac_fn_cxx_try_compile "$LINENO"; then :
3124
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3126
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127
/* end confdefs.h. */
3137
if ac_fn_cxx_try_compile "$LINENO"; then :
3138
ac_cv_prog_cxx_g=yes
3140
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3148
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3149
if test "$ac_test_CXXFLAGS" = set; then
3150
CXXFLAGS=$ac_save_CXXFLAGS
3151
elif test $ac_cv_prog_cxx_g = yes; then
3152
if test "$GXX" = yes; then
3158
if test "$GXX" = yes; then
3165
ac_cpp='$CXXCPP $CPPFLAGS'
3166
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2091
3170
depcc="$CXX" am_compiler_list=
2093
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2094
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2095
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2096
echo $ECHO_N "(cached) $ECHO_C" >&6
2098
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2099
# We make a subdir and do the tests there. Otherwise we can end up
2100
# making bogus files that we don't know about and never remove. For
2101
# instance it was reported that on HP-UX the gcc test will end up
2102
# making a dummy file named `D' -- because `-MD' means `put the output
2105
# Copy depcomp to subdir because otherwise we won't find it if we're
2106
# using a relative directory.
2107
cp "$am_depcomp" conftest.dir
2110
am_cv_CXX_dependencies_compiler_type=none
2111
if test "$am_compiler_list" = ""; then
2112
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2114
for depmode in $am_compiler_list; do
2115
# We need to recreate these files for each test, as the compiler may
2116
# overwrite some of them when testing with obscure command lines.
2117
# This happens at least with the AIX C compiler.
2118
echo '#include "conftest.h"' > conftest.c
2119
echo 'int i;' > conftest.h
2120
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2124
# after this tag, mechanisms are not by side-effect, so they'll
2125
# only be used when explicitly requested
2126
if test "x$enable_dependency_tracking" = xyes; then
2134
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2135
# mode. It turns out that the SunPro C++ compiler does not properly
2136
# handle `-M -o', and we need to detect this.
2137
if depmode=$depmode \
2138
source=conftest.c object=conftest.o \
2139
depfile=conftest.Po tmpdepfile=conftest.TPo \
2140
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2141
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2142
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2143
am_cv_CXX_dependencies_compiler_type=$depmode
2151
am_cv_CXX_dependencies_compiler_type=none
2155
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2156
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2157
CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
2161
# Checks for libraries.
2163
# Checks for header files.
2166
ac_cpp='$CXXCPP $CPPFLAGS'
2167
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2168
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2169
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2170
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2171
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3173
$as_echo_n "checking dependency style of $depcc... " >&6; }
3174
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3175
$as_echo_n "(cached) " >&6
3177
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3178
# We make a subdir and do the tests there. Otherwise we can end up
3179
# making bogus files that we don't know about and never remove. For
3180
# instance it was reported that on HP-UX the gcc test will end up
3181
# making a dummy file named `D' -- because `-MD' means `put the output
3184
# Copy depcomp to subdir because otherwise we won't find it if we're
3185
# using a relative directory.
3186
cp "$am_depcomp" conftest.dir
3188
# We will build objects and dependencies in a subdirectory because
3189
# it helps to detect inapplicable dependency modes. For instance
3190
# both Tru64's cc and ICC support -MD to output dependencies as a
3191
# side effect of compilation, but ICC will put the dependencies in
3192
# the current directory while Tru64 will put them in the object
3196
am_cv_CXX_dependencies_compiler_type=none
3197
if test "$am_compiler_list" = ""; then
3198
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3200
for depmode in $am_compiler_list; do
3201
# Setup a source with many dependencies, because some compilers
3202
# like to wrap large dependency lists on column 80 (with \), and
3203
# we should not choose a depcomp mode which is confused by this.
3205
# We need to recreate these files for each test, as the compiler may
3206
# overwrite some of them when testing with obscure command lines.
3207
# This happens at least with the AIX C compiler.
3209
for i in 1 2 3 4 5 6; do
3210
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3211
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3212
# Solaris 8's {/usr,}/bin/sh.
3213
touch sub/conftst$i.h
3215
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3219
# after this tag, mechanisms are not by side-effect, so they'll
3220
# only be used when explicitly requested
3221
if test "x$enable_dependency_tracking" = xyes; then
3229
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3230
# mode. It turns out that the SunPro C++ compiler does not properly
3231
# handle `-M -o', and we need to detect this.
3232
if depmode=$depmode \
3233
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3234
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3235
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3236
>/dev/null 2>conftest.err &&
3237
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3238
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3239
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3240
# icc doesn't choke on unknown options, it will just issue warnings
3241
# or remarks (even with -Werror). So we grep stderr for any message
3242
# that says an option was ignored or not supported.
3243
# When given -MP, icc 7.0 and 7.1 complain thusly:
3244
# icc: Command line warning: ignoring option '-M'; no argument required
3245
# The diagnosis changed in icc 8.0:
3246
# icc: Command line remark: option '-MP' not supported
3247
if (grep 'ignoring option' conftest.err ||
3248
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3249
am_cv_CXX_dependencies_compiler_type=$depmode
3258
am_cv_CXX_dependencies_compiler_type=none
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3263
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3264
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3269
test "x$enable_dependency_tracking" != xno \
3270
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3271
am__fastdepCXX_TRUE=
3272
am__fastdepCXX_FALSE='#'
3274
am__fastdepCXX_TRUE='#'
3275
am__fastdepCXX_FALSE=
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3281
$as_echo_n "checking for library containing strerror... " >&6; }
3282
if ${ac_cv_search_strerror+:} false; then :
3283
$as_echo_n "(cached) " >&6
3285
ac_func_search_save_LIBS=$LIBS
3286
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287
/* end confdefs.h. */
3289
/* Override any GCC internal prototype to avoid an error.
3290
Use char because int might match the return type of a GCC
3291
builtin and then its argument prototype would still apply. */
3304
for ac_lib in '' cposix; do
3305
if test -z "$ac_lib"; then
3306
ac_res="none required"
3309
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3311
if ac_fn_cxx_try_link "$LINENO"; then :
3312
ac_cv_search_strerror=$ac_res
3314
rm -f core conftest.err conftest.$ac_objext \
3316
if ${ac_cv_search_strerror+:} false; then :
3320
if ${ac_cv_search_strerror+:} false; then :
3323
ac_cv_search_strerror=no
3326
LIBS=$ac_func_search_save_LIBS
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3329
$as_echo "$ac_cv_search_strerror" >&6; }
3330
ac_res=$ac_cv_search_strerror
3331
if test "$ac_res" != no; then :
3332
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3339
ac_cpp='$CPP $CPPFLAGS'
3340
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343
if test -n "$ac_tool_prefix"; then
3344
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3345
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347
$as_echo_n "checking for $ac_word... " >&6; }
3348
if ${ac_cv_prog_CC+:} false; then :
3349
$as_echo_n "(cached) " >&6
3351
if test -n "$CC"; then
3352
ac_cv_prog_CC="$CC" # Let the user override the test.
3354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358
test -z "$as_dir" && as_dir=.
3359
for ac_exec_ext in '' $ac_executable_extensions; do
3360
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3361
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3362
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372
if test -n "$CC"; then
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3374
$as_echo "$CC" >&6; }
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377
$as_echo "no" >&6; }
3382
if test -z "$ac_cv_prog_CC"; then
3384
# Extract the first word of "gcc", so it can be a program name with args.
3385
set dummy gcc; ac_word=$2
3386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387
$as_echo_n "checking for $ac_word... " >&6; }
3388
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3389
$as_echo_n "(cached) " >&6
3391
if test -n "$ac_ct_CC"; then
3392
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398
test -z "$as_dir" && as_dir=.
3399
for ac_exec_ext in '' $ac_executable_extensions; do
3400
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3401
ac_cv_prog_ac_ct_CC="gcc"
3402
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3412
if test -n "$ac_ct_CC"; then
3413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3414
$as_echo "$ac_ct_CC" >&6; }
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417
$as_echo "no" >&6; }
3420
if test "x$ac_ct_CC" = x; then
3423
case $cross_compiling:$ac_tool_warned in
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427
ac_tool_warned=yes ;;
3435
if test -z "$CC"; then
3436
if test -n "$ac_tool_prefix"; then
3437
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3438
set dummy ${ac_tool_prefix}cc; ac_word=$2
3439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440
$as_echo_n "checking for $ac_word... " >&6; }
3441
if ${ac_cv_prog_CC+:} false; then :
3442
$as_echo_n "(cached) " >&6
3444
if test -n "$CC"; then
3445
ac_cv_prog_CC="$CC" # Let the user override the test.
3447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451
test -z "$as_dir" && as_dir=.
3452
for ac_exec_ext in '' $ac_executable_extensions; do
3453
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454
ac_cv_prog_CC="${ac_tool_prefix}cc"
3455
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3465
if test -n "$CC"; then
3466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3467
$as_echo "$CC" >&6; }
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470
$as_echo "no" >&6; }
3476
if test -z "$CC"; then
3477
# Extract the first word of "cc", so it can be a program name with args.
3478
set dummy cc; ac_word=$2
3479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480
$as_echo_n "checking for $ac_word... " >&6; }
3481
if ${ac_cv_prog_CC+:} false; then :
3482
$as_echo_n "(cached) " >&6
3484
if test -n "$CC"; then
3485
ac_cv_prog_CC="$CC" # Let the user override the test.
3488
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492
test -z "$as_dir" && as_dir=.
3493
for ac_exec_ext in '' $ac_executable_extensions; do
3494
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3496
ac_prog_rejected=yes
3500
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507
if test $ac_prog_rejected = yes; then
3508
# We found a bogon in the path, so make sure we never use it.
3509
set dummy $ac_cv_prog_CC
3511
if test $# != 0; then
3512
# We chose a different compiler from the bogus one.
3513
# However, it has the same basename, so the bogon will be chosen
3514
# first if we set CC to just the basename; use the full file name.
3516
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3522
if test -n "$CC"; then
3523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3524
$as_echo "$CC" >&6; }
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527
$as_echo "no" >&6; }
3532
if test -z "$CC"; then
3533
if test -n "$ac_tool_prefix"; then
3534
for ac_prog in cl.exe
3536
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3537
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539
$as_echo_n "checking for $ac_word... " >&6; }
3540
if ${ac_cv_prog_CC+:} false; then :
3541
$as_echo_n "(cached) " >&6
3543
if test -n "$CC"; then
3544
ac_cv_prog_CC="$CC" # Let the user override the test.
3546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550
test -z "$as_dir" && as_dir=.
3551
for ac_exec_ext in '' $ac_executable_extensions; do
3552
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3554
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564
if test -n "$CC"; then
3565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566
$as_echo "$CC" >&6; }
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569
$as_echo "no" >&6; }
3573
test -n "$CC" && break
3576
if test -z "$CC"; then
3578
for ac_prog in cl.exe
3580
# Extract the first word of "$ac_prog", so it can be a program name with args.
3581
set dummy $ac_prog; ac_word=$2
3582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583
$as_echo_n "checking for $ac_word... " >&6; }
3584
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3585
$as_echo_n "(cached) " >&6
3587
if test -n "$ac_ct_CC"; then
3588
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594
test -z "$as_dir" && as_dir=.
3595
for ac_exec_ext in '' $ac_executable_extensions; do
3596
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597
ac_cv_prog_ac_ct_CC="$ac_prog"
3598
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608
if test -n "$ac_ct_CC"; then
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610
$as_echo "$ac_ct_CC" >&6; }
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613
$as_echo "no" >&6; }
3617
test -n "$ac_ct_CC" && break
3620
if test "x$ac_ct_CC" = x; then
3623
case $cross_compiling:$ac_tool_warned in
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627
ac_tool_warned=yes ;;
3636
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638
as_fn_error $? "no acceptable C compiler found in \$PATH
3639
See \`config.log' for more details" "$LINENO" 5; }
3641
# Provide some information about the compiler.
3642
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3645
for ac_option in --version -v -V -qversion; do
3646
{ { ac_try="$ac_compiler $ac_option >&5"
3648
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649
*) ac_try_echo=$ac_try;;
3651
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652
$as_echo "$ac_try_echo"; } >&5
3653
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3655
if test -s conftest.err; then
3657
... rest of stderr output deleted ...
3658
10q' conftest.err >conftest.er1
3659
cat conftest.er1 >&5
3661
rm -f conftest.er1 conftest.err
3662
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663
test $ac_status = 0; }
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3667
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3668
if ${ac_cv_c_compiler_gnu+:} false; then :
3669
$as_echo_n "(cached) " >&6
3671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672
/* end confdefs.h. */
3685
if ac_fn_c_try_compile "$LINENO"; then :
3690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3695
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3696
if test $ac_compiler_gnu = yes; then
3701
ac_test_CFLAGS=${CFLAGS+set}
3702
ac_save_CFLAGS=$CFLAGS
3703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3704
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3705
if ${ac_cv_prog_cc_g+:} false; then :
3706
$as_echo_n "(cached) " >&6
3708
ac_save_c_werror_flag=$ac_c_werror_flag
3709
ac_c_werror_flag=yes
3712
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713
/* end confdefs.h. */
3723
if ac_fn_c_try_compile "$LINENO"; then :
3727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728
/* end confdefs.h. */
3738
if ac_fn_c_try_compile "$LINENO"; then :
3741
ac_c_werror_flag=$ac_save_c_werror_flag
3743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744
/* end confdefs.h. */
3754
if ac_fn_c_try_compile "$LINENO"; then :
3757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762
ac_c_werror_flag=$ac_save_c_werror_flag
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3765
$as_echo "$ac_cv_prog_cc_g" >&6; }
3766
if test "$ac_test_CFLAGS" = set; then
3767
CFLAGS=$ac_save_CFLAGS
3768
elif test $ac_cv_prog_cc_g = yes; then
3769
if test "$GCC" = yes; then
3775
if test "$GCC" = yes; then
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3782
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3783
if ${ac_cv_prog_cc_c89+:} false; then :
3784
$as_echo_n "(cached) " >&6
3786
ac_cv_prog_cc_c89=no
3788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789
/* end confdefs.h. */
3793
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3794
struct buf { int x; };
3795
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3796
static char *e (p, i)
3802
static char *f (char * (*g) (char **, int), char **p, ...)
3807
s = g (p, va_arg (v,int));
3812
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3813
function prototypes and stuff, but not '\xHH' hex character constants.
3814
These don't provoke an error unfortunately, instead are silently treated
3815
as 'x'. The following induces an error, until -std is added to get
3816
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3817
array size at least. It's necessary to write '\x00'==0 to get something
3818
that's true only with -std. */
3819
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3821
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3822
inside strings and character constants. */
3824
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3826
int test (int i, double x);
3827
struct s1 {int (*f) (int a);};
3828
struct s2 {int (*f) (double a);};
3829
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3835
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3840
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3841
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3843
CC="$ac_save_CC $ac_arg"
3844
if ac_fn_c_try_compile "$LINENO"; then :
3845
ac_cv_prog_cc_c89=$ac_arg
3847
rm -f core conftest.err conftest.$ac_objext
3848
test "x$ac_cv_prog_cc_c89" != "xno" && break
3850
rm -f conftest.$ac_ext
3855
case "x$ac_cv_prog_cc_c89" in
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3858
$as_echo "none needed" >&6; } ;;
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3861
$as_echo "unsupported" >&6; } ;;
3863
CC="$CC $ac_cv_prog_cc_c89"
3864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3865
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3867
if test "x$ac_cv_prog_cc_c89" != xno; then :
3872
ac_cpp='$CXXCPP $CPPFLAGS'
3873
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3877
depcc="$CC" am_compiler_list=
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3880
$as_echo_n "checking dependency style of $depcc... " >&6; }
3881
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3882
$as_echo_n "(cached) " >&6
3884
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3885
# We make a subdir and do the tests there. Otherwise we can end up
3886
# making bogus files that we don't know about and never remove. For
3887
# instance it was reported that on HP-UX the gcc test will end up
3888
# making a dummy file named `D' -- because `-MD' means `put the output
3891
# Copy depcomp to subdir because otherwise we won't find it if we're
3892
# using a relative directory.
3893
cp "$am_depcomp" conftest.dir
3895
# We will build objects and dependencies in a subdirectory because
3896
# it helps to detect inapplicable dependency modes. For instance
3897
# both Tru64's cc and ICC support -MD to output dependencies as a
3898
# side effect of compilation, but ICC will put the dependencies in
3899
# the current directory while Tru64 will put them in the object
3903
am_cv_CC_dependencies_compiler_type=none
3904
if test "$am_compiler_list" = ""; then
3905
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3907
for depmode in $am_compiler_list; do
3908
# Setup a source with many dependencies, because some compilers
3909
# like to wrap large dependency lists on column 80 (with \), and
3910
# we should not choose a depcomp mode which is confused by this.
3912
# We need to recreate these files for each test, as the compiler may
3913
# overwrite some of them when testing with obscure command lines.
3914
# This happens at least with the AIX C compiler.
3916
for i in 1 2 3 4 5 6; do
3917
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3918
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3919
# Solaris 8's {/usr,}/bin/sh.
3920
touch sub/conftst$i.h
3922
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3926
# after this tag, mechanisms are not by side-effect, so they'll
3927
# only be used when explicitly requested
3928
if test "x$enable_dependency_tracking" = xyes; then
3936
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3937
# mode. It turns out that the SunPro C++ compiler does not properly
3938
# handle `-M -o', and we need to detect this.
3939
if depmode=$depmode \
3940
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3941
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3942
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3943
>/dev/null 2>conftest.err &&
3944
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3945
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3946
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3947
# icc doesn't choke on unknown options, it will just issue warnings
3948
# or remarks (even with -Werror). So we grep stderr for any message
3949
# that says an option was ignored or not supported.
3950
# When given -MP, icc 7.0 and 7.1 complain thusly:
3951
# icc: Command line warning: ignoring option '-M'; no argument required
3952
# The diagnosis changed in icc 8.0:
3953
# icc: Command line remark: option '-MP' not supported
3954
if (grep 'ignoring option' conftest.err ||
3955
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3956
am_cv_CC_dependencies_compiler_type=$depmode
3965
am_cv_CC_dependencies_compiler_type=none
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3970
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3971
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3976
test "x$enable_dependency_tracking" != xno \
3977
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3979
am__fastdepCC_FALSE='#'
3981
am__fastdepCC_TRUE='#'
3982
am__fastdepCC_FALSE=
3987
ac_cpp='$CPP $CPPFLAGS'
3988
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991
if test -n "$ac_tool_prefix"; then
3992
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3993
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995
$as_echo_n "checking for $ac_word... " >&6; }
3996
if ${ac_cv_prog_CC+:} false; then :
3997
$as_echo_n "(cached) " >&6
3999
if test -n "$CC"; then
4000
ac_cv_prog_CC="$CC" # Let the user override the test.
4002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006
test -z "$as_dir" && as_dir=.
4007
for ac_exec_ext in '' $ac_executable_extensions; do
4008
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4009
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4010
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020
if test -n "$CC"; then
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022
$as_echo "$CC" >&6; }
4024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025
$as_echo "no" >&6; }
4030
if test -z "$ac_cv_prog_CC"; then
4032
# Extract the first word of "gcc", so it can be a program name with args.
4033
set dummy gcc; ac_word=$2
4034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035
$as_echo_n "checking for $ac_word... " >&6; }
4036
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4037
$as_echo_n "(cached) " >&6
4039
if test -n "$ac_ct_CC"; then
4040
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4042
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046
test -z "$as_dir" && as_dir=.
4047
for ac_exec_ext in '' $ac_executable_extensions; do
4048
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049
ac_cv_prog_ac_ct_CC="gcc"
4050
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060
if test -n "$ac_ct_CC"; then
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062
$as_echo "$ac_ct_CC" >&6; }
4064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065
$as_echo "no" >&6; }
4068
if test "x$ac_ct_CC" = x; then
4071
case $cross_compiling:$ac_tool_warned in
4073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4074
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4075
ac_tool_warned=yes ;;
4083
if test -z "$CC"; then
4084
if test -n "$ac_tool_prefix"; then
4085
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4086
set dummy ${ac_tool_prefix}cc; ac_word=$2
4087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088
$as_echo_n "checking for $ac_word... " >&6; }
4089
if ${ac_cv_prog_CC+:} false; then :
4090
$as_echo_n "(cached) " >&6
4092
if test -n "$CC"; then
4093
ac_cv_prog_CC="$CC" # Let the user override the test.
4095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099
test -z "$as_dir" && as_dir=.
4100
for ac_exec_ext in '' $ac_executable_extensions; do
4101
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102
ac_cv_prog_CC="${ac_tool_prefix}cc"
4103
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113
if test -n "$CC"; then
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4115
$as_echo "$CC" >&6; }
4117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118
$as_echo "no" >&6; }
4124
if test -z "$CC"; then
4125
# Extract the first word of "cc", so it can be a program name with args.
4126
set dummy cc; ac_word=$2
4127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128
$as_echo_n "checking for $ac_word... " >&6; }
4129
if ${ac_cv_prog_CC+:} false; then :
4130
$as_echo_n "(cached) " >&6
4132
if test -n "$CC"; then
4133
ac_cv_prog_CC="$CC" # Let the user override the test.
4136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140
test -z "$as_dir" && as_dir=.
4141
for ac_exec_ext in '' $ac_executable_extensions; do
4142
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4143
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4144
ac_prog_rejected=yes
4148
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155
if test $ac_prog_rejected = yes; then
4156
# We found a bogon in the path, so make sure we never use it.
4157
set dummy $ac_cv_prog_CC
4159
if test $# != 0; then
4160
# We chose a different compiler from the bogus one.
4161
# However, it has the same basename, so the bogon will be chosen
4162
# first if we set CC to just the basename; use the full file name.
4164
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4170
if test -n "$CC"; then
4171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4172
$as_echo "$CC" >&6; }
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175
$as_echo "no" >&6; }
4180
if test -z "$CC"; then
4181
if test -n "$ac_tool_prefix"; then
4182
for ac_prog in cl.exe
4184
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4185
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187
$as_echo_n "checking for $ac_word... " >&6; }
4188
if ${ac_cv_prog_CC+:} false; then :
4189
$as_echo_n "(cached) " >&6
4191
if test -n "$CC"; then
4192
ac_cv_prog_CC="$CC" # Let the user override the test.
4194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4198
test -z "$as_dir" && as_dir=.
4199
for ac_exec_ext in '' $ac_executable_extensions; do
4200
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4202
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212
if test -n "$CC"; then
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214
$as_echo "$CC" >&6; }
4216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217
$as_echo "no" >&6; }
4221
test -n "$CC" && break
4224
if test -z "$CC"; then
4226
for ac_prog in cl.exe
4228
# Extract the first word of "$ac_prog", so it can be a program name with args.
4229
set dummy $ac_prog; ac_word=$2
4230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231
$as_echo_n "checking for $ac_word... " >&6; }
4232
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4233
$as_echo_n "(cached) " >&6
4235
if test -n "$ac_ct_CC"; then
4236
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4238
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242
test -z "$as_dir" && as_dir=.
4243
for ac_exec_ext in '' $ac_executable_extensions; do
4244
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245
ac_cv_prog_ac_ct_CC="$ac_prog"
4246
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4256
if test -n "$ac_ct_CC"; then
4257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4258
$as_echo "$ac_ct_CC" >&6; }
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261
$as_echo "no" >&6; }
4265
test -n "$ac_ct_CC" && break
4268
if test "x$ac_ct_CC" = x; then
4271
case $cross_compiling:$ac_tool_warned in
4273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4275
ac_tool_warned=yes ;;
4284
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4286
as_fn_error $? "no acceptable C compiler found in \$PATH
4287
See \`config.log' for more details" "$LINENO" 5; }
4289
# Provide some information about the compiler.
4290
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4293
for ac_option in --version -v -V -qversion; do
4294
{ { ac_try="$ac_compiler $ac_option >&5"
4296
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297
*) ac_try_echo=$ac_try;;
4299
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300
$as_echo "$ac_try_echo"; } >&5
4301
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4303
if test -s conftest.err; then
4305
... rest of stderr output deleted ...
4306
10q' conftest.err >conftest.er1
4307
cat conftest.er1 >&5
4309
rm -f conftest.er1 conftest.err
4310
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311
test $ac_status = 0; }
4314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4315
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4316
if ${ac_cv_c_compiler_gnu+:} false; then :
4317
$as_echo_n "(cached) " >&6
4319
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320
/* end confdefs.h. */
4333
if ac_fn_c_try_compile "$LINENO"; then :
4338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4343
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4344
if test $ac_compiler_gnu = yes; then
4349
ac_test_CFLAGS=${CFLAGS+set}
4350
ac_save_CFLAGS=$CFLAGS
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4352
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4353
if ${ac_cv_prog_cc_g+:} false; then :
4354
$as_echo_n "(cached) " >&6
4356
ac_save_c_werror_flag=$ac_c_werror_flag
4357
ac_c_werror_flag=yes
4360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361
/* end confdefs.h. */
4371
if ac_fn_c_try_compile "$LINENO"; then :
4375
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376
/* end confdefs.h. */
4386
if ac_fn_c_try_compile "$LINENO"; then :
4389
ac_c_werror_flag=$ac_save_c_werror_flag
4391
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392
/* end confdefs.h. */
4402
if ac_fn_c_try_compile "$LINENO"; then :
4405
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4409
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410
ac_c_werror_flag=$ac_save_c_werror_flag
4412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4413
$as_echo "$ac_cv_prog_cc_g" >&6; }
4414
if test "$ac_test_CFLAGS" = set; then
4415
CFLAGS=$ac_save_CFLAGS
4416
elif test $ac_cv_prog_cc_g = yes; then
4417
if test "$GCC" = yes; then
4423
if test "$GCC" = yes; then
4429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4430
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4431
if ${ac_cv_prog_cc_c89+:} false; then :
4432
$as_echo_n "(cached) " >&6
4434
ac_cv_prog_cc_c89=no
4436
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437
/* end confdefs.h. */
4441
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4442
struct buf { int x; };
4443
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4444
static char *e (p, i)
4450
static char *f (char * (*g) (char **, int), char **p, ...)
4455
s = g (p, va_arg (v,int));
4460
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4461
function prototypes and stuff, but not '\xHH' hex character constants.
4462
These don't provoke an error unfortunately, instead are silently treated
4463
as 'x'. The following induces an error, until -std is added to get
4464
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4465
array size at least. It's necessary to write '\x00'==0 to get something
4466
that's true only with -std. */
4467
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4469
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4470
inside strings and character constants. */
4472
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4474
int test (int i, double x);
4475
struct s1 {int (*f) (int a);};
4476
struct s2 {int (*f) (double a);};
4477
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4483
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4488
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4489
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4491
CC="$ac_save_CC $ac_arg"
4492
if ac_fn_c_try_compile "$LINENO"; then :
4493
ac_cv_prog_cc_c89=$ac_arg
4495
rm -f core conftest.err conftest.$ac_objext
4496
test "x$ac_cv_prog_cc_c89" != "xno" && break
4498
rm -f conftest.$ac_ext
4503
case "x$ac_cv_prog_cc_c89" in
4505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4506
$as_echo "none needed" >&6; } ;;
4508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4509
$as_echo "unsupported" >&6; } ;;
4511
CC="$CC $ac_cv_prog_cc_c89"
4512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4513
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4515
if test "x$ac_cv_prog_cc_c89" != xno; then :
4520
ac_cpp='$CXXCPP $CPPFLAGS'
4521
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4525
depcc="$CC" am_compiler_list=
4527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4528
$as_echo_n "checking dependency style of $depcc... " >&6; }
4529
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4530
$as_echo_n "(cached) " >&6
4532
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4533
# We make a subdir and do the tests there. Otherwise we can end up
4534
# making bogus files that we don't know about and never remove. For
4535
# instance it was reported that on HP-UX the gcc test will end up
4536
# making a dummy file named `D' -- because `-MD' means `put the output
4539
# Copy depcomp to subdir because otherwise we won't find it if we're
4540
# using a relative directory.
4541
cp "$am_depcomp" conftest.dir
4543
# We will build objects and dependencies in a subdirectory because
4544
# it helps to detect inapplicable dependency modes. For instance
4545
# both Tru64's cc and ICC support -MD to output dependencies as a
4546
# side effect of compilation, but ICC will put the dependencies in
4547
# the current directory while Tru64 will put them in the object
4551
am_cv_CC_dependencies_compiler_type=none
4552
if test "$am_compiler_list" = ""; then
4553
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4555
for depmode in $am_compiler_list; do
4556
# Setup a source with many dependencies, because some compilers
4557
# like to wrap large dependency lists on column 80 (with \), and
4558
# we should not choose a depcomp mode which is confused by this.
4560
# We need to recreate these files for each test, as the compiler may
4561
# overwrite some of them when testing with obscure command lines.
4562
# This happens at least with the AIX C compiler.
4564
for i in 1 2 3 4 5 6; do
4565
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4566
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4567
# Solaris 8's {/usr,}/bin/sh.
4568
touch sub/conftst$i.h
4570
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4574
# after this tag, mechanisms are not by side-effect, so they'll
4575
# only be used when explicitly requested
4576
if test "x$enable_dependency_tracking" = xyes; then
4584
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4585
# mode. It turns out that the SunPro C++ compiler does not properly
4586
# handle `-M -o', and we need to detect this.
4587
if depmode=$depmode \
4588
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4589
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4590
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4591
>/dev/null 2>conftest.err &&
4592
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4593
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4594
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4595
# icc doesn't choke on unknown options, it will just issue warnings
4596
# or remarks (even with -Werror). So we grep stderr for any message
4597
# that says an option was ignored or not supported.
4598
# When given -MP, icc 7.0 and 7.1 complain thusly:
4599
# icc: Command line warning: ignoring option '-M'; no argument required
4600
# The diagnosis changed in icc 8.0:
4601
# icc: Command line remark: option '-MP' not supported
4602
if (grep 'ignoring option' conftest.err ||
4603
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4604
am_cv_CC_dependencies_compiler_type=$depmode
4613
am_cv_CC_dependencies_compiler_type=none
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4618
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4619
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4624
test "x$enable_dependency_tracking" != xno \
4625
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4627
am__fastdepCC_FALSE='#'
4629
am__fastdepCC_TRUE='#'
4630
am__fastdepCC_FALSE=
4635
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4638
ac_cpp='$CXXCPP $CPPFLAGS'
4639
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4643
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
2172
4644
if test -z "$CXXCPP"; then
2173
if test "${ac_cv_prog_CXXCPP+set}" = set; then
2174
echo $ECHO_N "(cached) $ECHO_C" >&6
4645
if ${ac_cv_prog_CXXCPP+:} false; then :
4646
$as_echo_n "(cached) " >&6
2176
4648
# Double quotes because CXXCPP needs to be expanded
2177
4649
for CXXCPP in "$CXX -E" "/lib/cpp"
2461
4987
for (i = 0; i < 256; i++)
2462
4988
if (XOR (islower (i), ISLOWER (i))
2463
|| toupper (i) != TOUPPER (i))
4989
|| toupper (i) != TOUPPER (i))
2468
rm -f conftest$ac_exeext
2469
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2470
(eval $ac_link) 2>&5
2472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2474
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478
(exit $ac_status); }; }; then
4994
if ac_fn_cxx_try_run "$LINENO"; then :
2481
echo "$as_me: program exited with status $ac_status" >&5
2482
echo "$as_me: failed program was:" >&5
2483
cat conftest.$ac_ext >&5
2485
ac_cv_header_stdc=no
2487
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2491
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2492
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4997
ac_cv_header_stdc=no
4999
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5000
conftest.$ac_objext conftest.beam conftest.$ac_ext
5005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5006
$as_echo "$ac_cv_header_stdc" >&6; }
2493
5007
if test $ac_cv_header_stdc = yes; then
2495
cat >>confdefs.h <<\_ACEOF
2496
#define STDC_HEADERS 1
5009
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5016
ac_cpp='$CXXCPP $CPPFLAGS'
5017
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5020
if test -z "$CXX"; then
5021
if test -n "$CCC"; then
5024
if test -n "$ac_tool_prefix"; then
5025
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5027
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5028
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030
$as_echo_n "checking for $ac_word... " >&6; }
5031
if ${ac_cv_prog_CXX+:} false; then :
5032
$as_echo_n "(cached) " >&6
5034
if test -n "$CXX"; then
5035
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041
test -z "$as_dir" && as_dir=.
5042
for ac_exec_ext in '' $ac_executable_extensions; do
5043
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5045
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055
if test -n "$CXX"; then
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5057
$as_echo "$CXX" >&6; }
5059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060
$as_echo "no" >&6; }
5064
test -n "$CXX" && break
5067
if test -z "$CXX"; then
5069
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5071
# Extract the first word of "$ac_prog", so it can be a program name with args.
5072
set dummy $ac_prog; ac_word=$2
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074
$as_echo_n "checking for $ac_word... " >&6; }
5075
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5076
$as_echo_n "(cached) " >&6
5078
if test -n "$ac_ct_CXX"; then
5079
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085
test -z "$as_dir" && as_dir=.
5086
for ac_exec_ext in '' $ac_executable_extensions; do
5087
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088
ac_cv_prog_ac_ct_CXX="$ac_prog"
5089
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5099
if test -n "$ac_ct_CXX"; then
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5101
$as_echo "$ac_ct_CXX" >&6; }
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104
$as_echo "no" >&6; }
5108
test -n "$ac_ct_CXX" && break
5111
if test "x$ac_ct_CXX" = x; then
5114
case $cross_compiling:$ac_tool_warned in
5116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118
ac_tool_warned=yes ;;
5126
# Provide some information about the compiler.
5127
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5130
for ac_option in --version -v -V -qversion; do
5131
{ { ac_try="$ac_compiler $ac_option >&5"
5133
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134
*) ac_try_echo=$ac_try;;
5136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5137
$as_echo "$ac_try_echo"; } >&5
5138
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5140
if test -s conftest.err; then
5142
... rest of stderr output deleted ...
5143
10q' conftest.err >conftest.er1
5144
cat conftest.er1 >&5
5146
rm -f conftest.er1 conftest.err
5147
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5148
test $ac_status = 0; }
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5152
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5153
if ${ac_cv_cxx_compiler_gnu+:} false; then :
5154
$as_echo_n "(cached) " >&6
5156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5157
/* end confdefs.h. */
5170
if ac_fn_cxx_try_compile "$LINENO"; then :
5175
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5180
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5181
if test $ac_compiler_gnu = yes; then
5186
ac_test_CXXFLAGS=${CXXFLAGS+set}
5187
ac_save_CXXFLAGS=$CXXFLAGS
5188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5189
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5190
if ${ac_cv_prog_cxx_g+:} false; then :
5191
$as_echo_n "(cached) " >&6
5193
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5194
ac_cxx_werror_flag=yes
5197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198
/* end confdefs.h. */
5208
if ac_fn_cxx_try_compile "$LINENO"; then :
5209
ac_cv_prog_cxx_g=yes
5212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213
/* end confdefs.h. */
5223
if ac_fn_cxx_try_compile "$LINENO"; then :
5226
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229
/* end confdefs.h. */
5239
if ac_fn_cxx_try_compile "$LINENO"; then :
5240
ac_cv_prog_cxx_g=yes
5242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5247
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5250
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5251
if test "$ac_test_CXXFLAGS" = set; then
5252
CXXFLAGS=$ac_save_CXXFLAGS
5253
elif test $ac_cv_prog_cxx_g = yes; then
5254
if test "$GXX" = yes; then
5260
if test "$GXX" = yes; then
5267
ac_cpp='$CXXCPP $CPPFLAGS'
5268
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5269
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5272
depcc="$CXX" am_compiler_list=
5274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5275
$as_echo_n "checking dependency style of $depcc... " >&6; }
5276
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5277
$as_echo_n "(cached) " >&6
5279
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5280
# We make a subdir and do the tests there. Otherwise we can end up
5281
# making bogus files that we don't know about and never remove. For
5282
# instance it was reported that on HP-UX the gcc test will end up
5283
# making a dummy file named `D' -- because `-MD' means `put the output
5286
# Copy depcomp to subdir because otherwise we won't find it if we're
5287
# using a relative directory.
5288
cp "$am_depcomp" conftest.dir
5290
# We will build objects and dependencies in a subdirectory because
5291
# it helps to detect inapplicable dependency modes. For instance
5292
# both Tru64's cc and ICC support -MD to output dependencies as a
5293
# side effect of compilation, but ICC will put the dependencies in
5294
# the current directory while Tru64 will put them in the object
5298
am_cv_CXX_dependencies_compiler_type=none
5299
if test "$am_compiler_list" = ""; then
5300
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5302
for depmode in $am_compiler_list; do
5303
# Setup a source with many dependencies, because some compilers
5304
# like to wrap large dependency lists on column 80 (with \), and
5305
# we should not choose a depcomp mode which is confused by this.
5307
# We need to recreate these files for each test, as the compiler may
5308
# overwrite some of them when testing with obscure command lines.
5309
# This happens at least with the AIX C compiler.
5311
for i in 1 2 3 4 5 6; do
5312
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5313
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5314
# Solaris 8's {/usr,}/bin/sh.
5315
touch sub/conftst$i.h
5317
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5321
# after this tag, mechanisms are not by side-effect, so they'll
5322
# only be used when explicitly requested
5323
if test "x$enable_dependency_tracking" = xyes; then
5331
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5332
# mode. It turns out that the SunPro C++ compiler does not properly
5333
# handle `-M -o', and we need to detect this.
5334
if depmode=$depmode \
5335
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5336
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5337
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5338
>/dev/null 2>conftest.err &&
5339
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5340
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5341
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5342
# icc doesn't choke on unknown options, it will just issue warnings
5343
# or remarks (even with -Werror). So we grep stderr for any message
5344
# that says an option was ignored or not supported.
5345
# When given -MP, icc 7.0 and 7.1 complain thusly:
5346
# icc: Command line warning: ignoring option '-M'; no argument required
5347
# The diagnosis changed in icc 8.0:
5348
# icc: Command line remark: option '-MP' not supported
5349
if (grep 'ignoring option' conftest.err ||
5350
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5351
am_cv_CXX_dependencies_compiler_type=$depmode
5360
am_cv_CXX_dependencies_compiler_type=none
5364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5365
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5366
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5371
test "x$enable_dependency_tracking" != xno \
5372
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5373
am__fastdepCXX_TRUE=
5374
am__fastdepCXX_FALSE='#'
5376
am__fastdepCXX_TRUE='#'
5377
am__fastdepCXX_FALSE=
5382
# Checks for libraries.
5384
# Checks for header files.
2501
5385
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2511
5386
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2512
inttypes.h stdint.h unistd.h
2514
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2515
echo "$as_me:$LINENO: checking for $ac_header" >&5
2516
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2517
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2518
echo $ECHO_N "(cached) $ECHO_C" >&6
2520
cat >conftest.$ac_ext <<_ACEOF
2521
#line $LINENO "configure"
2522
#include "confdefs.h"
2523
$ac_includes_default
2525
#include <$ac_header>
2527
rm -f conftest.$ac_objext
2528
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2529
(eval $ac_compile) 2>&5
2531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532
(exit $ac_status); } &&
2533
{ ac_try='test -s conftest.$ac_objext'
2534
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538
(exit $ac_status); }; }; then
2539
eval "$as_ac_Header=yes"
2541
echo "$as_me: failed program was:" >&5
2542
cat conftest.$ac_ext >&5
2543
eval "$as_ac_Header=no"
2545
rm -f conftest.$ac_objext conftest.$ac_ext
2547
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2548
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2549
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5387
inttypes.h stdint.h unistd.h
5389
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5390
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5392
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2550
5393
cat >>confdefs.h <<_ACEOF
2551
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5394
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2559
if test "${ac_cv_header_libcapsinetwork_listener_h+set}" = set; then
2560
echo "$as_me:$LINENO: checking for libcapsinetwork/listener.h" >&5
2561
echo $ECHO_N "checking for libcapsinetwork/listener.h... $ECHO_C" >&6
2562
if test "${ac_cv_header_libcapsinetwork_listener_h+set}" = set; then
2563
echo $ECHO_N "(cached) $ECHO_C" >&6
2565
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_listener_h" >&5
2566
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_listener_h" >&6
2568
# Is the header compilable?
2569
echo "$as_me:$LINENO: checking libcapsinetwork/listener.h usability" >&5
2570
echo $ECHO_N "checking libcapsinetwork/listener.h usability... $ECHO_C" >&6
2571
cat >conftest.$ac_ext <<_ACEOF
2572
#line $LINENO "configure"
2573
#include "confdefs.h"
2574
$ac_includes_default
2575
#include <libcapsinetwork/listener.h>
2577
rm -f conftest.$ac_objext
2578
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579
(eval $ac_compile) 2>&5
2581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582
(exit $ac_status); } &&
2583
{ ac_try='test -s conftest.$ac_objext'
2584
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588
(exit $ac_status); }; }; then
2589
ac_header_compiler=yes
2591
echo "$as_me: failed program was:" >&5
2592
cat conftest.$ac_ext >&5
2593
ac_header_compiler=no
2595
rm -f conftest.$ac_objext conftest.$ac_ext
2596
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2597
echo "${ECHO_T}$ac_header_compiler" >&6
2599
# Is the header present?
2600
echo "$as_me:$LINENO: checking libcapsinetwork/listener.h presence" >&5
2601
echo $ECHO_N "checking libcapsinetwork/listener.h presence... $ECHO_C" >&6
2602
cat >conftest.$ac_ext <<_ACEOF
2603
#line $LINENO "configure"
2604
#include "confdefs.h"
2605
#include <libcapsinetwork/listener.h>
2607
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2608
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2610
egrep -v '^ *\+' conftest.er1 >conftest.err
2612
cat conftest.err >&5
2613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
(exit $ac_status); } >/dev/null; then
2615
if test -s conftest.err; then
2616
ac_cpp_err=$ac_cxx_preproc_warn_flag
2623
if test -z "$ac_cpp_err"; then
2624
ac_header_preproc=yes
2626
echo "$as_me: failed program was:" >&5
2627
cat conftest.$ac_ext >&5
2628
ac_header_preproc=no
2630
rm -f conftest.err conftest.$ac_ext
2631
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2632
echo "${ECHO_T}$ac_header_preproc" >&6
2634
# So? What about this header?
2635
case $ac_header_compiler:$ac_header_preproc in
2637
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: accepted by the compiler, rejected by the preprocessor!" >&5
2638
echo "$as_me: WARNING: libcapsinetwork/listener.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2639
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&5
2640
echo "$as_me: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&2;};;
2642
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: present but cannot be compiled" >&5
2643
echo "$as_me: WARNING: libcapsinetwork/listener.h: present but cannot be compiled" >&2;}
2644
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: check for missing prerequisite headers?" >&5
2645
echo "$as_me: WARNING: libcapsinetwork/listener.h: check for missing prerequisite headers?" >&2;}
2646
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&5
2647
echo "$as_me: WARNING: libcapsinetwork/listener.h: proceeding with the preprocessor's result" >&2;};;
2649
echo "$as_me:$LINENO: checking for libcapsinetwork/listener.h" >&5
2650
echo $ECHO_N "checking for libcapsinetwork/listener.h... $ECHO_C" >&6
2651
if test "${ac_cv_header_libcapsinetwork_listener_h+set}" = set; then
2652
echo $ECHO_N "(cached) $ECHO_C" >&6
2654
ac_cv_header_libcapsinetwork_listener_h=$ac_header_preproc
2656
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_listener_h" >&5
2657
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_listener_h" >&6
2660
if test $ac_cv_header_libcapsinetwork_listener_h = yes; then
2663
{ { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&5
2664
echo "$as_me: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&2;}
2665
{ (exit 1); exit 1; }; }
2669
if test "${ac_cv_header_libcapsinetwork_socket_h+set}" = set; then
2670
echo "$as_me:$LINENO: checking for libcapsinetwork/socket.h" >&5
2671
echo $ECHO_N "checking for libcapsinetwork/socket.h... $ECHO_C" >&6
2672
if test "${ac_cv_header_libcapsinetwork_socket_h+set}" = set; then
2673
echo $ECHO_N "(cached) $ECHO_C" >&6
2675
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_socket_h" >&5
2676
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_socket_h" >&6
2678
# Is the header compilable?
2679
echo "$as_me:$LINENO: checking libcapsinetwork/socket.h usability" >&5
2680
echo $ECHO_N "checking libcapsinetwork/socket.h usability... $ECHO_C" >&6
2681
cat >conftest.$ac_ext <<_ACEOF
2682
#line $LINENO "configure"
2683
#include "confdefs.h"
2684
$ac_includes_default
2685
#include <libcapsinetwork/socket.h>
2687
rm -f conftest.$ac_objext
2688
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689
(eval $ac_compile) 2>&5
2691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
(exit $ac_status); } &&
2693
{ ac_try='test -s conftest.$ac_objext'
2694
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698
(exit $ac_status); }; }; then
2699
ac_header_compiler=yes
2701
echo "$as_me: failed program was:" >&5
2702
cat conftest.$ac_ext >&5
2703
ac_header_compiler=no
2705
rm -f conftest.$ac_objext conftest.$ac_ext
2706
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2707
echo "${ECHO_T}$ac_header_compiler" >&6
2709
# Is the header present?
2710
echo "$as_me:$LINENO: checking libcapsinetwork/socket.h presence" >&5
2711
echo $ECHO_N "checking libcapsinetwork/socket.h presence... $ECHO_C" >&6
2712
cat >conftest.$ac_ext <<_ACEOF
2713
#line $LINENO "configure"
2714
#include "confdefs.h"
2715
#include <libcapsinetwork/socket.h>
2717
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2718
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2720
egrep -v '^ *\+' conftest.er1 >conftest.err
2722
cat conftest.err >&5
2723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724
(exit $ac_status); } >/dev/null; then
2725
if test -s conftest.err; then
2726
ac_cpp_err=$ac_cxx_preproc_warn_flag
2733
if test -z "$ac_cpp_err"; then
2734
ac_header_preproc=yes
2736
echo "$as_me: failed program was:" >&5
2737
cat conftest.$ac_ext >&5
2738
ac_header_preproc=no
2740
rm -f conftest.err conftest.$ac_ext
2741
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2742
echo "${ECHO_T}$ac_header_preproc" >&6
2744
# So? What about this header?
2745
case $ac_header_compiler:$ac_header_preproc in
2747
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
2748
echo "$as_me: WARNING: libcapsinetwork/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2749
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&5
2750
echo "$as_me: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&2;};;
2752
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: present but cannot be compiled" >&5
2753
echo "$as_me: WARNING: libcapsinetwork/socket.h: present but cannot be compiled" >&2;}
2754
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: check for missing prerequisite headers?" >&5
2755
echo "$as_me: WARNING: libcapsinetwork/socket.h: check for missing prerequisite headers?" >&2;}
2756
{ echo "$as_me:$LINENO: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&5
2757
echo "$as_me: WARNING: libcapsinetwork/socket.h: proceeding with the preprocessor's result" >&2;};;
2759
echo "$as_me:$LINENO: checking for libcapsinetwork/socket.h" >&5
2760
echo $ECHO_N "checking for libcapsinetwork/socket.h... $ECHO_C" >&6
2761
if test "${ac_cv_header_libcapsinetwork_socket_h+set}" = set; then
2762
echo $ECHO_N "(cached) $ECHO_C" >&6
2764
ac_cv_header_libcapsinetwork_socket_h=$ac_header_preproc
2766
echo "$as_me:$LINENO: result: $ac_cv_header_libcapsinetwork_socket_h" >&5
2767
echo "${ECHO_T}$ac_cv_header_libcapsinetwork_socket_h" >&6
2770
if test $ac_cv_header_libcapsinetwork_socket_h = yes; then
2773
{ { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&5
2774
echo "$as_me: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&2;}
2775
{ (exit 1); exit 1; }; }
2779
if test "${ac_cv_header_cmath+set}" = set; then
2780
echo "$as_me:$LINENO: checking for cmath" >&5
2781
echo $ECHO_N "checking for cmath... $ECHO_C" >&6
2782
if test "${ac_cv_header_cmath+set}" = set; then
2783
echo $ECHO_N "(cached) $ECHO_C" >&6
2785
echo "$as_me:$LINENO: result: $ac_cv_header_cmath" >&5
2786
echo "${ECHO_T}$ac_cv_header_cmath" >&6
2788
# Is the header compilable?
2789
echo "$as_me:$LINENO: checking cmath usability" >&5
2790
echo $ECHO_N "checking cmath usability... $ECHO_C" >&6
2791
cat >conftest.$ac_ext <<_ACEOF
2792
#line $LINENO "configure"
2793
#include "confdefs.h"
2794
$ac_includes_default
2797
rm -f conftest.$ac_objext
2798
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799
(eval $ac_compile) 2>&5
2801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
(exit $ac_status); } &&
2803
{ ac_try='test -s conftest.$ac_objext'
2804
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808
(exit $ac_status); }; }; then
2809
ac_header_compiler=yes
2811
echo "$as_me: failed program was:" >&5
2812
cat conftest.$ac_ext >&5
2813
ac_header_compiler=no
2815
rm -f conftest.$ac_objext conftest.$ac_ext
2816
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2817
echo "${ECHO_T}$ac_header_compiler" >&6
2819
# Is the header present?
2820
echo "$as_me:$LINENO: checking cmath presence" >&5
2821
echo $ECHO_N "checking cmath presence... $ECHO_C" >&6
2822
cat >conftest.$ac_ext <<_ACEOF
2823
#line $LINENO "configure"
2824
#include "confdefs.h"
2827
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2828
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2830
egrep -v '^ *\+' conftest.er1 >conftest.err
2832
cat conftest.err >&5
2833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
(exit $ac_status); } >/dev/null; then
2835
if test -s conftest.err; then
2836
ac_cpp_err=$ac_cxx_preproc_warn_flag
2843
if test -z "$ac_cpp_err"; then
2844
ac_header_preproc=yes
2846
echo "$as_me: failed program was:" >&5
2847
cat conftest.$ac_ext >&5
2848
ac_header_preproc=no
2850
rm -f conftest.err conftest.$ac_ext
2851
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2852
echo "${ECHO_T}$ac_header_preproc" >&6
2854
# So? What about this header?
2855
case $ac_header_compiler:$ac_header_preproc in
2857
{ echo "$as_me:$LINENO: WARNING: cmath: accepted by the compiler, rejected by the preprocessor!" >&5
2858
echo "$as_me: WARNING: cmath: accepted by the compiler, rejected by the preprocessor!" >&2;}
2859
{ echo "$as_me:$LINENO: WARNING: cmath: proceeding with the preprocessor's result" >&5
2860
echo "$as_me: WARNING: cmath: proceeding with the preprocessor's result" >&2;};;
2862
{ echo "$as_me:$LINENO: WARNING: cmath: present but cannot be compiled" >&5
2863
echo "$as_me: WARNING: cmath: present but cannot be compiled" >&2;}
2864
{ echo "$as_me:$LINENO: WARNING: cmath: check for missing prerequisite headers?" >&5
2865
echo "$as_me: WARNING: cmath: check for missing prerequisite headers?" >&2;}
2866
{ echo "$as_me:$LINENO: WARNING: cmath: proceeding with the preprocessor's result" >&5
2867
echo "$as_me: WARNING: cmath: proceeding with the preprocessor's result" >&2;};;
2869
echo "$as_me:$LINENO: checking for cmath" >&5
2870
echo $ECHO_N "checking for cmath... $ECHO_C" >&6
2871
if test "${ac_cv_header_cmath+set}" = set; then
2872
echo $ECHO_N "(cached) $ECHO_C" >&6
2874
ac_cv_header_cmath=$ac_header_preproc
2876
echo "$as_me:$LINENO: result: $ac_cv_header_cmath" >&5
2877
echo "${ECHO_T}$ac_cv_header_cmath" >&6
2880
if test $ac_cv_header_cmath = yes; then
2883
{ { echo "$as_me:$LINENO: error: Your STL doesn't come with cmath, upgrade your libstdc++." >&5
2884
echo "$as_me: error: Your STL doesn't come with cmath, upgrade your libstdc++." >&2;}
2885
{ (exit 1); exit 1; }; }
2889
if test "${ac_cv_header_mathpp_nodes_h+set}" = set; then
2890
echo "$as_me:$LINENO: checking for math++/nodes.h" >&5
2891
echo $ECHO_N "checking for math++/nodes.h... $ECHO_C" >&6
2892
if test "${ac_cv_header_mathpp_nodes_h+set}" = set; then
2893
echo $ECHO_N "(cached) $ECHO_C" >&6
2895
echo "$as_me:$LINENO: result: $ac_cv_header_mathpp_nodes_h" >&5
2896
echo "${ECHO_T}$ac_cv_header_mathpp_nodes_h" >&6
2898
# Is the header compilable?
2899
echo "$as_me:$LINENO: checking math++/nodes.h usability" >&5
2900
echo $ECHO_N "checking math++/nodes.h usability... $ECHO_C" >&6
2901
cat >conftest.$ac_ext <<_ACEOF
2902
#line $LINENO "configure"
2903
#include "confdefs.h"
2904
$ac_includes_default
2905
#include <math++/nodes.h>
2907
rm -f conftest.$ac_objext
2908
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2909
(eval $ac_compile) 2>&5
2911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
(exit $ac_status); } &&
2913
{ ac_try='test -s conftest.$ac_objext'
2914
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
(exit $ac_status); }; }; then
2919
ac_header_compiler=yes
2921
echo "$as_me: failed program was:" >&5
2922
cat conftest.$ac_ext >&5
2923
ac_header_compiler=no
2925
rm -f conftest.$ac_objext conftest.$ac_ext
2926
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2927
echo "${ECHO_T}$ac_header_compiler" >&6
2929
# Is the header present?
2930
echo "$as_me:$LINENO: checking math++/nodes.h presence" >&5
2931
echo $ECHO_N "checking math++/nodes.h presence... $ECHO_C" >&6
2932
cat >conftest.$ac_ext <<_ACEOF
2933
#line $LINENO "configure"
2934
#include "confdefs.h"
2935
#include <math++/nodes.h>
2937
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2938
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2940
egrep -v '^ *\+' conftest.er1 >conftest.err
2942
cat conftest.err >&5
2943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944
(exit $ac_status); } >/dev/null; then
2945
if test -s conftest.err; then
2946
ac_cpp_err=$ac_cxx_preproc_warn_flag
2953
if test -z "$ac_cpp_err"; then
2954
ac_header_preproc=yes
2956
echo "$as_me: failed program was:" >&5
2957
cat conftest.$ac_ext >&5
2958
ac_header_preproc=no
2960
rm -f conftest.err conftest.$ac_ext
2961
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2962
echo "${ECHO_T}$ac_header_preproc" >&6
2964
# So? What about this header?
2965
case $ac_header_compiler:$ac_header_preproc in
2967
{ echo "$as_me:$LINENO: WARNING: math++/nodes.h: accepted by the compiler, rejected by the preprocessor!" >&5
2968
echo "$as_me: WARNING: math++/nodes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2969
{ echo "$as_me:$LINENO: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&5
2970
echo "$as_me: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&2;};;
2972
{ echo "$as_me:$LINENO: WARNING: math++/nodes.h: present but cannot be compiled" >&5
2973
echo "$as_me: WARNING: math++/nodes.h: present but cannot be compiled" >&2;}
2974
{ echo "$as_me:$LINENO: WARNING: math++/nodes.h: check for missing prerequisite headers?" >&5
2975
echo "$as_me: WARNING: math++/nodes.h: check for missing prerequisite headers?" >&2;}
2976
{ echo "$as_me:$LINENO: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&5
2977
echo "$as_me: WARNING: math++/nodes.h: proceeding with the preprocessor's result" >&2;};;
2979
echo "$as_me:$LINENO: checking for math++/nodes.h" >&5
2980
echo $ECHO_N "checking for math++/nodes.h... $ECHO_C" >&6
2981
if test "${ac_cv_header_mathpp_nodes_h+set}" = set; then
2982
echo $ECHO_N "(cached) $ECHO_C" >&6
2984
ac_cv_header_mathpp_nodes_h=$ac_header_preproc
2986
echo "$as_me:$LINENO: result: $ac_cv_header_mathpp_nodes_h" >&5
2987
echo "${ECHO_T}$ac_cv_header_mathpp_nodes_h" >&6
2990
if test $ac_cv_header_mathpp_nodes_h = yes; then
2993
{ { echo "$as_me:$LINENO: error: Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/" >&5
2994
echo "$as_me: error: Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/" >&2;}
2995
{ (exit 1); exit 1; }; }
5402
ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
5403
if test "x$ac_cv_header_cmath" = xyes; then :
5406
as_fn_error $? "Your STL doesn't come with cmath, upgrade your libstdc++." "$LINENO" 5
5410
ac_fn_cxx_check_header_mongrel "$LINENO" "math++/nodes.h" "ac_cv_header_mathpp_nodes_h" "$ac_includes_default"
5411
if test "x$ac_cv_header_mathpp_nodes_h" = xyes; then :
5414
as_fn_error $? "Please install libmath++ >= 0.0.3 from http://www.surakware.net/download/" "$LINENO" 5
3508
6388
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3511
# Create a temporary directory, and hook for its removal unless debugging.
6391
# Have a temporary directory for convenience. Make it in the build tree
6392
# simply because there is no reason against having it here, and in addition,
6393
# creating and moving files from /tmp can sometimes cause problems.
6394
# Hook for its removal unless debugging.
6395
# Note that there is a small window in which the directory will not be cleaned:
6396
# after its creation but before its name has been assigned to `$tmp'.
3514
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3515
trap '{ (exit 1); exit 1; }' 1 2 13 15
6400
trap 'exit_status=$?
6402
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6404
trap 'as_fn_exit 1' 1 2 13 15
3518
6406
# Create a (secure) tmp directory for tmp files.
3521
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3522
test -n "$tmp" && test -d "$tmp"
6409
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3525
tmp=$TMPDIR/cs$$-$RANDOM
3526
(umask 077 && mkdir $tmp)
6413
tmp=./conf$$-$RANDOM
6414
(umask 077 && mkdir "$tmp")
6415
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6418
# Set up the scripts for CONFIG_FILES section.
6419
# No need to generate them if there are no CONFIG_FILES.
6420
# This happens for instance with `./config.status config.h'.
6421
if test -n "$CONFIG_FILES"; then
6424
ac_cr=`echo X | tr X '\015'`
6425
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6426
# But we know of no other shell where ac_cr would be empty at this
6427
# point, so we can use a bashism as a fallback.
6428
if test "x$ac_cr" = x; then
6429
eval ac_cr=\$\'\\r\'
6431
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6432
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6438
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3529
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3530
{ (exit 1); exit 1; }
3535
cat >>$CONFIG_STATUS <<_ACEOF
3538
# CONFIG_FILES section.
3541
# No need to generate the scripts if there are no CONFIG_FILES.
3542
# This happens for instance when ./config.status config.h
3543
if test -n "\$CONFIG_FILES"; then
3544
# Protect against being on the right side of a sed subst in config.status.
3545
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3546
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3547
s,@SHELL@,$SHELL,;t t
3548
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3549
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3550
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3551
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3552
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3553
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3554
s,@exec_prefix@,$exec_prefix,;t t
3555
s,@prefix@,$prefix,;t t
3556
s,@program_transform_name@,$program_transform_name,;t t
3557
s,@bindir@,$bindir,;t t
3558
s,@sbindir@,$sbindir,;t t
3559
s,@libexecdir@,$libexecdir,;t t
3560
s,@datadir@,$datadir,;t t
3561
s,@sysconfdir@,$sysconfdir,;t t
3562
s,@sharedstatedir@,$sharedstatedir,;t t
3563
s,@localstatedir@,$localstatedir,;t t
3564
s,@libdir@,$libdir,;t t
3565
s,@includedir@,$includedir,;t t
3566
s,@oldincludedir@,$oldincludedir,;t t
3567
s,@infodir@,$infodir,;t t
3568
s,@mandir@,$mandir,;t t
3569
s,@build_alias@,$build_alias,;t t
3570
s,@host_alias@,$host_alias,;t t
3571
s,@target_alias@,$target_alias,;t t
3573
s,@ECHO_C@,$ECHO_C,;t t
3574
s,@ECHO_N@,$ECHO_N,;t t
3575
s,@ECHO_T@,$ECHO_T,;t t
3577
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3578
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3579
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3580
s,@PACKAGE@,$PACKAGE,;t t
3581
s,@VERSION@,$VERSION,;t t
3582
s,@EXEEXT@,$EXEEXT,;t t
3583
s,@OBJEXT@,$OBJEXT,;t t
3584
s,@ACLOCAL@,$ACLOCAL,;t t
3585
s,@AUTOCONF@,$AUTOCONF,;t t
3586
s,@AUTOMAKE@,$AUTOMAKE,;t t
3587
s,@AUTOHEADER@,$AUTOHEADER,;t t
3588
s,@MAKEINFO@,$MAKEINFO,;t t
3589
s,@AMTAR@,$AMTAR,;t t
3590
s,@install_sh@,$install_sh,;t t
3591
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3593
s,@SET_MAKE@,$SET_MAKE,;t t
3594
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3595
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3596
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3597
s,@DEPDIR@,$DEPDIR,;t t
3599
s,@CXXFLAGS@,$CXXFLAGS,;t t
3600
s,@LDFLAGS@,$LDFLAGS,;t t
3601
s,@CPPFLAGS@,$CPPFLAGS,;t t
3602
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3603
s,@am__include@,$am__include,;t t
3604
s,@am__quote@,$am__quote,;t t
3605
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3606
s,@CXXCPP@,$CXXCPP,;t t
3611
cat >>$CONFIG_STATUS <<\_ACEOF
3612
# Split the substitutions into bite-sized pieces for seds with
3613
# small command number limits, like on Digital OSF/1 and HP-UX.
3615
ac_sed_frag=1 # Number of current file.
3616
ac_beg=1 # First line for current file.
3617
ac_end=$ac_max_sed_lines # Line after last line for current file.
3620
while $ac_more_lines; do
3621
if test $ac_beg -gt 1; then
3622
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3624
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3626
if test ! -s $tmp/subs.frag; then
3629
# The purpose of the label and of the branching condition is to
3630
# speed up the sed processing (if there are no `@' at all, there
3631
# is no need to browse any of the substitutions).
3632
# These are the two extra sed commands mentioned above.
3634
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3635
if test -z "$ac_sed_cmds"; then
3636
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3638
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3640
ac_sed_frag=`expr $ac_sed_frag + 1`
3642
ac_end=`expr $ac_end + $ac_max_sed_lines`
3645
if test -z "$ac_sed_cmds"; then
6443
echo "cat >conf$$subs.awk <<_ACEOF" &&
6444
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6447
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6448
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6450
for ac_last_try in false false false false false :; do
6451
. ./conf$$subs.sh ||
6452
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6454
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6455
if test $ac_delim_n = $ac_delim_num; then
6457
elif $ac_last_try; then
6458
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6460
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6465
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6466
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6470
s/^/S["/; s/!.*/"]=/
6480
s/\(.\{148\}\)..*/\1/
6482
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6487
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6494
s/\(.\{148\}\)..*/\1/
6496
s/["\\]/\\&/g; s/^/"/; s/$/"/
6500
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6505
' <conf$$subs.awk | sed '
6510
' >>$CONFIG_STATUS || ac_write_fail=1
6511
rm -f conf$$subs.awk
6512
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6514
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6515
for (key in S) S_is_set[key] = 1
6521
nfields = split(line, field, "@")
6523
len = length(field[1])
6524
for (i = 2; i < nfields; i++) {
6526
keylen = length(key)
6527
if (S_is_set[key]) {
6529
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6530
len += length(value) + length(field[++i])
6541
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6542
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6543
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6546
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6547
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6550
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6551
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6552
# trailing colons and then remove the whole line if VPATH becomes empty
6553
# (actually we leave an empty line to preserve line numbers).
6554
if test "x$srcdir" = x.; then
6555
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6573
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3648
6574
fi # test -n "$CONFIG_FILES"
3651
cat >>$CONFIG_STATUS <<\_ACEOF
3652
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3653
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3655
- | *:- | *:-:* ) # input from stdin
3657
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3658
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3659
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3660
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3661
* ) ac_file_in=$ac_file.in ;;
3664
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3665
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6576
# Set up the scripts for CONFIG_HEADERS section.
6577
# No need to generate them if there are no CONFIG_HEADERS.
6578
# This happens for instance with `./config.status Makefile'.
6579
if test -n "$CONFIG_HEADERS"; then
6580
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6584
# Transform confdefs.h into an awk script `defines.awk', embedded as
6585
# here-document in config.status, that substitutes the proper values into
6586
# config.h.in to produce config.h.
6588
# Create a delimiter string that does not exist in confdefs.h, to ease
6589
# handling of long lines.
6591
for ac_last_try in false false :; do
6592
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6593
if test -z "$ac_tt"; then
6595
elif $ac_last_try; then
6596
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6598
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6602
# For the awk script, D is an array of macro values keyed by name,
6603
# likewise P contains macro parameters if any. Preserve backslash
6604
# newline sequences.
6606
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6608
s/.\{148\}/&'"$ac_delim"'/g
6611
s/^[ ]*#[ ]*define[ ][ ]*/ /
6618
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6620
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6624
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6625
D["\1"]=" \3\\\\\\n"\\/p
6627
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6632
s/.\{148\}/&'"$ac_delim"'/g
6637
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6640
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6642
' <confdefs.h | sed '
6643
s/'"$ac_delim"'/"\\\
6644
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6646
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6647
for (key in D) D_is_set[key] = 1
6650
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6652
split(line, arg, " ")
6653
if (arg[1] == "#") {
6657
defundef = substr(arg[1], 2)
6660
split(mac1, mac2, "(") #)
6662
prefix = substr(line, 1, index(line, defundef) - 1)
6663
if (D_is_set[macro]) {
6664
# Preserve the white space surrounding the "#".
6665
print prefix "define", macro P[macro] D[macro]
6668
# Replace #undef with comments. This is necessary, for example,
6669
# in the case of _POSIX_SOURCE, which is predefined and required
6670
# on some systems where configure will not decide to define it.
6671
if (defundef == "undef") {
6672
print "/*", prefix defundef, macro, "*/"
6680
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6681
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6682
fi # test -n "$CONFIG_HEADERS"
6685
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6690
:[FHLC]) ac_mode=$ac_tag; continue;;
6692
case $ac_mode$ac_tag in
6694
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6695
:[FH]-) ac_tag=-:-;;
6696
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6713
-) ac_f="$ac_tmp/stdin";;
6714
*) # Look for the file first in the build tree, then in the source tree
6715
# (if the path is not absolute). The absolute path cannot be DOS-style,
6716
# because $ac_f cannot contain `:'.
6720
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6722
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6724
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6725
as_fn_append ac_file_inputs " '$ac_f'"
6728
# Let's still pretend it is `configure' which instantiates (i.e., don't
6729
# use $as_me), people would be surprised to read:
6730
# /* config.h. Generated by config.status. */
6731
configure_input='Generated from '`
6732
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6734
if test x"$ac_file" != x-; then
6735
configure_input="$ac_file. $configure_input"
6736
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6737
$as_echo "$as_me: creating $ac_file" >&6;}
6739
# Neutralize special characters interpreted by sed in replacement strings.
6740
case $configure_input in #(
6741
*\&* | *\|* | *\\* )
6742
ac_sed_conf_input=`$as_echo "$configure_input" |
6743
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6744
*) ac_sed_conf_input=$configure_input;;
6748
*:-:* | *:-) cat >"$ac_tmp/stdin" \
6749
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6754
ac_dir=`$as_dirname -- "$ac_file" ||
3666
6755
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3667
X"$ac_file" : 'X\(//\)[^/]' \| \
3668
X"$ac_file" : 'X\(//\)$' \| \
3669
X"$ac_file" : 'X\(/\)' \| \
3670
. : '\(.\)' 2>/dev/null ||
3672
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3673
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3674
/^X\(\/\/\)$/{ s//\1/; q; }
3675
/^X\(\/\).*/{ s//\1/; q; }
3678
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
3682
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3683
case $as_mkdir_dir in
3684
# Skip DOS drivespec
3685
?:) as_incr_dir=$as_mkdir_dir ;;
3687
as_incr_dir=$as_incr_dir/$as_mkdir_dir
3688
test -d "$as_incr_dir" ||
3689
mkdir "$as_incr_dir" ||
3690
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3691
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3692
{ (exit 1); exit 1; }; }
6756
X"$ac_file" : 'X\(//\)[^/]' \| \
6757
X"$ac_file" : 'X\(//\)$' \| \
6758
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6759
$as_echo X"$ac_file" |
6760
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6777
as_dir="$ac_dir"; as_fn_mkdir_p
3699
if test "$ac_dir" != .; then
3700
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3701
# A "../" for each directory in $ac_dir_suffix.
3702
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3704
ac_dir_suffix= ac_top_builddir=
6781
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6783
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6784
# A ".." for each directory in $ac_dir_suffix.
6785
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6786
case $ac_top_builddir_sub in
6787
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6788
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6791
ac_abs_top_builddir=$ac_pwd
6792
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6793
# for backward compatibility:
6794
ac_top_builddir=$ac_top_build_prefix
3707
6796
case $srcdir in
3708
.) # No --srcdir option. We are building in place.
6797
.) # We are building in place.
3710
if test -z "$ac_top_builddir"; then
3713
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3715
[\\/]* | ?:[\\/]* ) # Absolute path.
6799
ac_top_srcdir=$ac_top_builddir_sub
6800
ac_abs_top_srcdir=$ac_pwd ;;
6801
[\\/]* | ?:[\\/]* ) # Absolute name.
3716
6802
ac_srcdir=$srcdir$ac_dir_suffix;
3717
ac_top_srcdir=$srcdir ;;
3719
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3720
ac_top_srcdir=$ac_top_builddir$srcdir ;;
6803
ac_top_srcdir=$srcdir
6804
ac_abs_top_srcdir=$srcdir ;;
6806
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6807
ac_top_srcdir=$ac_top_build_prefix$srcdir
6808
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3722
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3724
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3725
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3726
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3727
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6810
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3730
6819
case $INSTALL in
3731
6820
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3732
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6821
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3735
if test x"$ac_file" != x-; then
3736
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3737
echo "$as_me: creating $ac_file" >&6;}
3740
# Let's still pretend it is `configure' which instantiates (i.e., don't
3741
# use $as_me), people would be surprised to read:
3742
# /* config.h. Generated by config.status. */
3743
if test x"$ac_file" = x-; then
3746
configure_input="$ac_file. "
3748
configure_input=$configure_input"Generated from `echo $ac_file_in |
3749
sed 's,.*/,,'` by configure."
3751
# First look for the input files in the build tree, otherwise in the
3753
ac_file_inputs=`IFS=:
3754
for f in $ac_file_in; do
3756
-) echo $tmp/stdin ;;
3758
# Absolute (can't be DOS-style, as IFS=:)
3759
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3760
echo "$as_me: error: cannot find input file: $f" >&2;}
3761
{ (exit 1); exit 1; }; }
3764
if test -f "$f"; then
3767
elif test -f "$srcdir/$f"; then
3772
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3773
echo "$as_me: error: cannot find input file: $f" >&2;}
3774
{ (exit 1); exit 1; }; }
3777
done` || { (exit 1); exit 1; }
3779
cat >>$CONFIG_STATUS <<_ACEOF
6825
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6826
# If the template does not know about datarootdir, expand it.
6827
# FIXME: This hack should be removed a few years after 2.60.
6828
ac_datarootdir_hack=; ac_datarootdir_seen=
6839
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6840
*datarootdir*) ac_datarootdir_seen=yes;;
6841
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6843
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6845
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6846
ac_datarootdir_hack='
6847
s&@datadir@&$datadir&g
6848
s&@docdir@&$docdir&g
6849
s&@infodir@&$infodir&g
6850
s&@localedir@&$localedir&g
6851
s&@mandir@&$mandir&g
6852
s&\\\${datarootdir}&$datarootdir&g' ;;
6856
# Neutralize VPATH when `$srcdir' = `.'.
6857
# Shell code in configure.ac might set extrasub.
6858
# FIXME: do we really want to maintain this feature?
6859
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6860
ac_sed_extra="$ac_vpsub
3783
cat >>$CONFIG_STATUS <<\_ACEOF
6863
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3785
6865
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3786
s,@configure_input@,$configure_input,;t t
3787
s,@srcdir@,$ac_srcdir,;t t
3788
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3789
s,@top_srcdir@,$ac_top_srcdir,;t t
3790
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3791
s,@builddir@,$ac_builddir,;t t
3792
s,@abs_builddir@,$ac_abs_builddir,;t t
3793
s,@top_builddir@,$ac_top_builddir,;t t
3794
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3795
s,@INSTALL@,$ac_INSTALL,;t t
3796
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3798
if test x"$ac_file" != x-; then
3799
mv $tmp/out $ac_file
3807
cat >>$CONFIG_STATUS <<\_ACEOF
3810
# CONFIG_HEADER section.
3813
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3814
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3816
# ac_d sets the value in "#define NAME VALUE" lines.
3817
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3818
ac_dB='[ ].*$,\1#\2'
3821
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3822
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3823
ac_uB='$,\1#\2define\3'
3827
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3828
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6866
s|@configure_input@|$ac_sed_conf_input|;t t
6867
s&@top_builddir@&$ac_top_builddir_sub&;t t
6868
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6869
s&@srcdir@&$ac_srcdir&;t t
6870
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6871
s&@top_srcdir@&$ac_top_srcdir&;t t
6872
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6873
s&@builddir@&$ac_builddir&;t t
6874
s&@abs_builddir@&$ac_abs_builddir&;t t
6875
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6876
s&@INSTALL@&$ac_INSTALL&;t t
6877
$ac_datarootdir_hack
6879
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6880
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6882
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6883
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6884
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6885
"$ac_tmp/out"`; test -z "$ac_out"; } &&
6886
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6887
which seems to be undefined. Please make sure it is defined" >&5
6888
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6889
which seems to be undefined. Please make sure it is defined" >&2;}
6891
rm -f "$ac_tmp/stdin"
3829
6892
case $ac_file in
3830
- | *:- | *:-:* ) # input from stdin
3832
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3833
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3834
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3835
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3836
* ) ac_file_in=$ac_file.in ;;
6893
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6894
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6896
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6902
if test x"$ac_file" != x-; then
6904
$as_echo "/* $configure_input */" \
6905
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6906
} >"$ac_tmp/config.h" \
6907
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6908
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6909
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6910
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6913
mv "$ac_tmp/config.h" "$ac_file" \
6914
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6917
$as_echo "/* $configure_input */" \
6918
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6919
|| as_fn_error $? "could not create -" "$LINENO" 5
6921
# Compute "$ac_file"'s index in $config_headers.
6923
for _am_header in $config_headers :; do
6925
"$ac_file" | "$ac_file":* )
6928
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
3839
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3840
echo "$as_me: creating $ac_file" >&6;}
3842
# First look for the input files in the build tree, otherwise in the
3844
ac_file_inputs=`IFS=:
3845
for f in $ac_file_in; do
3847
-) echo $tmp/stdin ;;
3849
# Absolute (can't be DOS-style, as IFS=:)
3850
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3851
echo "$as_me: error: cannot find input file: $f" >&2;}
3852
{ (exit 1); exit 1; }; }
3855
if test -f "$f"; then
3858
elif test -f "$srcdir/$f"; then
3863
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3864
echo "$as_me: error: cannot find input file: $f" >&2;}
3865
{ (exit 1); exit 1; }; }
3868
done` || { (exit 1); exit 1; }
3869
# Remove the trailing spaces.
3870
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3874
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3875
# `conftest.undefs', that substitutes the proper values into
3876
# config.h.in to produce config.h. The first handles `#define'
3877
# templates, and the second `#undef' templates.
3878
# And first: Protect against being on the right side of a sed subst in
3879
# config.status. Protect against being in an unquoted here document
3881
rm -f conftest.defines conftest.undefs
3882
# Using a here document instead of a string reduces the quoting nightmare.
3883
# Putting comments in sed scripts is not portable.
3885
# `end' is used to avoid that the second main sed command (meant for
3886
# 0-ary CPP macros) applies to n-ary macro definitions.
3887
# See the Autoconf documentation for `clear'.
3888
cat >confdef2sed.sed <<\_ACEOF
3893
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3895
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3898
# If some macros were called several times there might be several times
3899
# the same #defines, which is useless. Nevertheless, we may not want to
3900
# sort them, since we want the *last* AC-DEFINE to be honored.
3901
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3902
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3903
rm -f confdef2sed.sed
3905
# This sed command replaces #undef with comments. This is necessary, for
3906
# example, in the case of _POSIX_SOURCE, which is predefined and required
3907
# on some systems where configure will not decide to define it.
3908
cat >>conftest.undefs <<\_ACEOF
3909
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3912
# Break up conftest.defines because some shells have a limit on the size
3913
# of here documents, and old seds have small limits too (100 cmds).
3914
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3915
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3916
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3917
echo ' :' >>$CONFIG_STATUS
3919
while grep . conftest.defines >/dev/null
3921
# Write a limited-size here document to $tmp/defines.sed.
3922
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3923
# Speed up: don't consider the non `#define' lines.
3924
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3925
# Work around the forget-to-reset-the-flag bug.
3926
echo 't clr' >>$CONFIG_STATUS
3927
echo ': clr' >>$CONFIG_STATUS
3928
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3930
sed -f $tmp/defines.sed $tmp/in >$tmp/out
3934
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3935
rm -f conftest.defines
3936
mv conftest.tail conftest.defines
3938
rm -f conftest.defines
3939
echo ' fi # egrep' >>$CONFIG_STATUS
3940
echo >>$CONFIG_STATUS
3942
# Break up conftest.undefs because some shells have a limit on the size
3943
# of here documents, and old seds have small limits too (100 cmds).
3944
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3946
while grep . conftest.undefs >/dev/null
3948
# Write a limited-size here document to $tmp/undefs.sed.
3949
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3950
# Speed up: don't consider the non `#undef'
3951
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3952
# Work around the forget-to-reset-the-flag bug.
3953
echo 't clr' >>$CONFIG_STATUS
3954
echo ': clr' >>$CONFIG_STATUS
3955
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3957
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3961
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3962
rm -f conftest.undefs
3963
mv conftest.tail conftest.undefs
3965
rm -f conftest.undefs
3967
cat >>$CONFIG_STATUS <<\_ACEOF
3968
# Let's still pretend it is `configure' which instantiates (i.e., don't
3969
# use $as_me), people would be surprised to read:
3970
# /* config.h. Generated by config.status. */
3971
if test x"$ac_file" = x-; then
3972
echo "/* Generated by configure. */" >$tmp/config.h
3974
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3976
cat $tmp/in >>$tmp/config.h
3978
if test x"$ac_file" != x-; then
3979
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3980
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3981
echo "$as_me: $ac_file is unchanged" >&6;}
3983
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6931
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
3984
6932
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3985
X"$ac_file" : 'X\(//\)[^/]' \| \
3986
X"$ac_file" : 'X\(//\)$' \| \
3987
X"$ac_file" : 'X\(/\)' \| \
3988
. : '\(.\)' 2>/dev/null ||
3990
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3991
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3992
/^X\(\/\/\)$/{ s//\1/; q; }
3993
/^X\(\/\).*/{ s//\1/; q; }
3996
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
4000
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4001
case $as_mkdir_dir in
4002
# Skip DOS drivespec
4003
?:) as_incr_dir=$as_mkdir_dir ;;
4005
as_incr_dir=$as_incr_dir/$as_mkdir_dir
4006
test -d "$as_incr_dir" ||
4007
mkdir "$as_incr_dir" ||
4008
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4009
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4010
{ (exit 1); exit 1; }; }
6933
X"$ac_file" : 'X\(//\)[^/]' \| \
6934
X"$ac_file" : 'X\(//\)$' \| \
6935
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6936
$as_echo X"$ac_file" |
6937
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6953
s/.*/./; q'`/stamp-h$_am_stamp_count
6956
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6957
$as_echo "$as_me: executing $ac_file commands" >&6;}
4016
mv $tmp/config.h $ac_file
6962
case $ac_file$ac_mode in
6963
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6964
# Strip MF so we end up with the name of the file.
6965
mf=`echo "$mf" | sed -e 's/:.*$//'`
6966
# Check whether this is an Automake generated Makefile or not.
6967
# We used to match only the files named `Makefile.in', but
6968
# some people rename them; so instead we look at the file content.
6969
# Grep'ing the first line is not enough: some people post-process
6970
# each Makefile.in and add a new line on top of each file to say so.
6971
# So let's grep whole file.
6972
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6973
dirpart=`$as_dirname -- "$mf" ||
6974
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6975
X"$mf" : 'X\(//\)[^/]' \| \
6976
X"$mf" : 'X\(//\)$' \| \
6977
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6979
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4022
# Run the commands associated with the file.
4024
config.h ) # update the timestamp
4025
echo timestamp >"./stamp-h1"
4030
cat >>$CONFIG_STATUS <<\_ACEOF
4033
# CONFIG_COMMANDS section.
4035
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4036
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4037
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4038
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4039
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4040
X"$ac_dest" : 'X\(//\)[^/]' \| \
4041
X"$ac_dest" : 'X\(//\)$' \| \
4042
X"$ac_dest" : 'X\(/\)' \| \
4043
. : '\(.\)' 2>/dev/null ||
4045
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4046
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4047
/^X\(\/\/\)$/{ s//\1/; q; }
4048
/^X\(\/\).*/{ s//\1/; q; }
4052
if test "$ac_dir" != .; then
4053
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4054
# A "../" for each directory in $ac_dir_suffix.
4055
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4057
ac_dir_suffix= ac_top_builddir=
4061
.) # No --srcdir option. We are building in place.
4063
if test -z "$ac_top_builddir"; then
4066
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4068
[\\/]* | ?:[\\/]* ) # Absolute path.
4069
ac_srcdir=$srcdir$ac_dir_suffix;
4070
ac_top_srcdir=$srcdir ;;
4072
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4073
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4075
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4077
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4078
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4079
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4080
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4083
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4084
echo "$as_me: executing $ac_dest commands" >&6;}
4087
test x"$AMDEP_TRUE" != x"" ||
4088
for mf in $CONFIG_FILES; do
4090
Makefile) dirpart=.;;
4091
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
4094
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4095
# Extract the definition of DEP_FILES from the Makefile without
4097
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6999
# Extract the definition of DEPDIR, am__include, and am__quote
7000
# from the Makefile without running `make'.
7001
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4098
7002
test -z "$DEPDIR" && continue
7003
am__include=`sed -n 's/^am__include = //p' < "$mf"`
7004
test -z "am__include" && continue
7005
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4099
7006
# When using ansi2knr, U may be empty or an underscore; expand it
4100
U=`sed -n -e '/^U = / s///p' < "$mf"`
4101
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4102
# We invoke sed twice because it is the simplest approach to
4103
# changing $(DEPDIR) to its actual value in the expansion.
4104
for file in `sed -n -e '
4105
/^DEP_FILES = .*\\\\$/ {
4114
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7007
U=`sed -n 's/^U = //p' < "$mf"`
7008
# Find all dependency output files, they are included files with
7009
# $(DEPDIR) in their names. We invoke sed twice because it is the
7010
# simplest approach to changing $(DEPDIR) to its actual value in the
7012
for file in `sed -n "
7013
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4115
7014
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4116
7015
# Make sure the directory exists.
4117
7016
test -f "$dirpart/$file" && continue
4118
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
4119
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
7017
fdir=`$as_dirname -- "$file" ||
7018
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7019
X"$file" : 'X\(//\)[^/]' \| \
7020
X"$file" : 'X\(//\)$' \| \
7021
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7023
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7040
as_dir=$dirpart/$fdir; as_fn_mkdir_p
4120
7041
# echo "creating $dirpart/$file"
4121
7042
echo '# dummy' > "$dirpart/$file"
4129
cat >>$CONFIG_STATUS <<\_ACEOF
4131
{ (exit 0); exit 0; }
4133
chmod +x $CONFIG_STATUS
4134
7053
ac_clean_files=$ac_clean_files_save
7055
test $ac_write_fail = 0 ||
7056
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4137
7059
# configure is writing to config.log, and then calls config.status.
4138
7060
# config.status does its own redirection, appending to config.log.