2
2
# From configure.ac Revision: 1.35 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.65 for gc 7.1.
4
# Generated by GNU Autoconf 2.67 for gc 7.1.
6
6
# Report bugs to <Hans.Boehm@hp.com>.
9
9
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14
14
# This configure script is free software; the Free Software Foundation
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
363
# as_fn_error STATUS ERROR [LINENO LOG_FD]
364
# ----------------------------------------
365
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
367
# script with STATUS, using 1 if that was 0.
370
as_status=$?; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370
as_status=$1; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375
$as_echo "$as_me: error: $1" >&2
375
$as_echo "$as_me: error: $2" >&2
376
376
as_fn_exit $as_status
2209
2210
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2210
2211
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2211
2212
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2213
## -------------------------------- ##
2213
( $as_echo "## -------------------------------- ##
2214
2214
## Report this to Hans.Boehm@hp.com ##
2215
## -------------------------------- ##
2215
## -------------------------------- ##"
2217
2216
) | sed "s/^/$as_me: WARNING: /" >&2
2220
2219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221
2220
$as_echo_n "checking for $2... " >&6; }
2222
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221
if eval "test \"\${$3+set}\"" = set; then :
2223
2222
$as_echo_n "(cached) " >&6
2225
2224
eval "$3=\$ac_header_compiler"
2588
2588
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2589
for ac_t in install-sh install.sh shtool; do
2590
if test -f "$ac_dir/$ac_t"; then
2592
ac_install_sh="$ac_aux_dir/$ac_t -c"
2589
if test -f "$ac_dir/install-sh"; then
2591
ac_install_sh="$ac_aux_dir/install-sh -c"
2593
elif test -f "$ac_dir/install.sh"; then
2595
ac_install_sh="$ac_aux_dir/install.sh -c"
2597
elif test -f "$ac_dir/shtool"; then
2599
ac_install_sh="$ac_aux_dir/shtool install -c"
2597
2603
if test -z "$ac_aux_dir"; then
2598
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2604
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2601
2607
# These three variables are undocumented and unsupported,
2620
2626
test "x$ac_build_alias" = x &&
2621
2627
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2622
2628
test "x$ac_build_alias" = x &&
2623
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2629
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2624
2630
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2625
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2631
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2628
2634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2629
2635
$as_echo "$ac_cv_build" >&6; }
2630
2636
case $ac_cv_build in
2632
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2638
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2634
2640
build=$ac_cv_build
2635
2641
ac_save_IFS=$IFS; IFS='-'
5690
5695
lt_cv_nm_interface="BSD nm"
5691
5696
echo "int some_variable = 0;" > conftest.$ac_ext
5692
(eval echo "\"\$as_me:5692: $ac_compile\"" >&5)
5697
(eval echo "\"\$as_me:5697: $ac_compile\"" >&5)
5693
5698
(eval "$ac_compile" 2>conftest.err)
5694
5699
cat conftest.err >&5
5695
(eval echo "\"\$as_me:5695: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5700
(eval echo "\"\$as_me:5700: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5696
5701
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5697
5702
cat conftest.err >&5
5698
(eval echo "\"\$as_me:5698: output\"" >&5)
5703
(eval echo "\"\$as_me:5703: output\"" >&5)
5699
5704
cat conftest.out >&5
5700
5705
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5701
5706
lt_cv_nm_interface="MS dumpbin"
7765
7770
ac_preproc_ok=:
7768
rm -f conftest.err conftest.$ac_ext
7773
rm -f conftest.err conftest.i conftest.$ac_ext
7771
7776
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7772
rm -f conftest.err conftest.$ac_ext
7777
rm -f conftest.i conftest.err conftest.$ac_ext
7773
7778
if $ac_preproc_ok; then :
7776
7781
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7777
7782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7778
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7779
See \`config.log' for more details." "$LINENO" 5; }
7783
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7784
See \`config.log' for more details" "$LINENO" 5 ; }
16183
16188
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16184
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
16189
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16185
16190
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16187
16192
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16188
as_fn_error "conditional \"AMDEP\" was never defined.
16193
as_fn_error $? "conditional \"AMDEP\" was never defined.
16189
16194
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16191
16196
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16192
as_fn_error "conditional \"am__fastdepCC\" was never defined.
16197
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16193
16198
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16195
16200
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16196
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16201
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16197
16202
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16199
16204
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
16200
as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
16205
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
16201
16206
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16203
16208
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16204
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16209
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16205
16210
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16207
16212
if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
16208
as_fn_error "conditional \"THREADS\" was never defined.
16213
as_fn_error $? "conditional \"THREADS\" was never defined.
16209
16214
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16211
16216
if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
16212
as_fn_error "conditional \"PTHREADS\" was never defined.
16217
as_fn_error $? "conditional \"PTHREADS\" was never defined.
16213
16218
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16215
16220
if test -z "${DARWIN_THREADS_TRUE}" && test -z "${DARWIN_THREADS_FALSE}"; then
16216
as_fn_error "conditional \"DARWIN_THREADS\" was never defined.
16221
as_fn_error $? "conditional \"DARWIN_THREADS\" was never defined.
16217
16222
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16219
16224
if test -z "${WIN32_THREADS_TRUE}" && test -z "${WIN32_THREADS_FALSE}"; then
16220
as_fn_error "conditional \"WIN32_THREADS\" was never defined.
16225
as_fn_error $? "conditional \"WIN32_THREADS\" was never defined.
16221
16226
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16223
16228
if test -z "${COMPILER_XLC_TRUE}" && test -z "${COMPILER_XLC_FALSE}"; then
16224
as_fn_error "conditional \"COMPILER_XLC\" was never defined.
16229
as_fn_error $? "conditional \"COMPILER_XLC\" was never defined.
16225
16230
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16227
16232
if test -z "${AVOID_CPP_LIB_TRUE}" && test -z "${AVOID_CPP_LIB_FALSE}"; then
16228
as_fn_error "conditional \"AVOID_CPP_LIB\" was never defined.
16233
as_fn_error $? "conditional \"AVOID_CPP_LIB\" was never defined.
16229
16234
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16231
16236
if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
16232
as_fn_error "conditional \"CPLUSPLUS\" was never defined.
16237
as_fn_error $? "conditional \"CPLUSPLUS\" was never defined.
16233
16238
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16235
16240
if test -z "${ENABLE_GCJ_SUPPORT_TRUE}" && test -z "${ENABLE_GCJ_SUPPORT_FALSE}"; then
16236
as_fn_error "conditional \"ENABLE_GCJ_SUPPORT\" was never defined.
16241
as_fn_error $? "conditional \"ENABLE_GCJ_SUPPORT\" was never defined.
16237
16242
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16239
16244
if test -z "${USE_LIBDIR_TRUE}" && test -z "${USE_LIBDIR_FALSE}"; then
16240
as_fn_error "conditional \"USE_LIBDIR\" was never defined.
16245
as_fn_error $? "conditional \"USE_LIBDIR\" was never defined.
16241
16246
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16243
16248
if test -z "${USE_INTERNAL_LIBATOMIC_OPS_TRUE}" && test -z "${USE_INTERNAL_LIBATOMIC_OPS_FALSE}"; then
16244
as_fn_error "conditional \"USE_INTERNAL_LIBATOMIC_OPS\" was never defined.
16249
as_fn_error $? "conditional \"USE_INTERNAL_LIBATOMIC_OPS\" was never defined.
16245
16250
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16247
16252
if test -z "${NEED_ATOMIC_OPS_ASM_TRUE}" && test -z "${NEED_ATOMIC_OPS_ASM_FALSE}"; then
16248
as_fn_error "conditional \"NEED_ATOMIC_OPS_ASM\" was never defined.
16253
as_fn_error $? "conditional \"NEED_ATOMIC_OPS_ASM\" was never defined.
16249
16254
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16395
16400
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16398
# as_fn_error ERROR [LINENO LOG_FD]
16399
# ---------------------------------
16403
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16404
# ----------------------------------------
16400
16405
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16401
16406
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16402
# script with status $?, using 1 if that was 0.
16407
# script with STATUS, using 1 if that was 0.
16403
16408
as_fn_error ()
16405
as_status=$?; test $as_status -eq 0 && as_status=1
16407
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16408
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16410
as_status=$1; test $as_status -eq 0 && as_status=1
16412
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16413
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16410
$as_echo "$as_me: error: $1" >&2
16415
$as_echo "$as_me: error: $2" >&2
16411
16416
as_fn_exit $as_status
16412
16417
} # as_fn_error
17277
17288
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17278
17289
echo "_ACEOF"
17279
17290
} >conf$$subs.sh ||
17280
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17281
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17291
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17292
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17282
17293
ac_delim='%!_!# '
17283
17294
for ac_last_try in false false false false false :; do
17284
17295
. ./conf$$subs.sh ||
17285
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17296
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17287
17298
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17288
17299
if test $ac_delim_n = $ac_delim_num; then
17290
17301
elif $ac_last_try; then
17291
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17302
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17293
17304
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17379
17390
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17380
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
17391
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17383
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17384
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17394
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17395
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17385
17396
# trailing colons and then remove the whole line if VPATH becomes empty
17386
17397
# (actually we leave an empty line to preserve line numbers).
17387
17398
if test "x$srcdir" = x.; then
17388
ac_vpsub='/^[ ]*VPATH[ ]*=/{
17389
s/:*\$(srcdir):*/:/
17390
s/:*\${srcdir}:*/:/
17392
s/^\([^=]*=[ ]*\):*/\1/
17399
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17394
17413
s/^[^=]*=[ ]*$//
17708
17727
$ac_datarootdir_hack
17710
17729
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17711
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17730
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17713
17732
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17714
17733
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17715
17734
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17716
17735
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17717
which seems to be undefined. Please make sure it is defined." >&5
17736
which seems to be undefined. Please make sure it is defined" >&5
17718
17737
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17719
which seems to be undefined. Please make sure it is defined." >&2;}
17738
which seems to be undefined. Please make sure it is defined" >&2;}
17721
17740
rm -f "$tmp/stdin"
17722
17741
case $ac_file in
17723
17742
-) cat "$tmp/out" && rm -f "$tmp/out";;
17724
17743
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17726
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17745
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17734
17753
$as_echo "/* $configure_input */" \
17735
17754
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17736
17755
} >"$tmp/config.h" \
17737
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17756
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17738
17757
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17739
17758
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17740
17759
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17742
17761
rm -f "$ac_file"
17743
17762
mv "$tmp/config.h" "$ac_file" \
17744
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17763
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17747
17766
$as_echo "/* $configure_input */" \
17748
17767
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17749
|| as_fn_error "could not create -" "$LINENO" 5
17768
|| as_fn_error $? "could not create -" "$LINENO" 5
17751
17770
# Compute "$ac_file"'s index in $config_headers.
17752
17771
_am_arg="$ac_file"