2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for xlsclients 1.1.0.
3
# Generated by GNU Autoconf 2.68 for xlsclients 1.1.1.
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
13
# This configure script is free software; the Free Software Foundation
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
372
# ----------------------------------------
365
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
375
# 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
378
as_status=$1; test $as_status -eq 0 && as_status=1
380
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375
$as_echo "$as_me: error: $1" >&2
383
$as_echo "$as_me: error: $2" >&2
376
384
as_fn_exit $as_status
1607
1610
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1608
1611
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1609
1612
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1611
## ---------------------------------------------------------------------- ##
1613
( $as_echo "## ---------------------------------------------------------------------- ##
1612
1614
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1613
## ---------------------------------------------------------------------- ##
1615
## ---------------------------------------------------------------------- ##"
1615
1616
) | sed "s/^/$as_me: WARNING: /" >&2
1618
1619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619
1620
$as_echo_n "checking for $2... " >&6; }
1620
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1621
if eval \${$3+:} false; then :
1621
1622
$as_echo_n "(cached) " >&6
1623
1624
eval "$3=\$ac_header_compiler"
1699
1700
eval ac_res=\$$3
1700
1701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701
1702
$as_echo "$ac_res" >&6; }
1702
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704
1705
} # ac_fn_c_check_header_compile
1706
# ac_fn_c_check_decl LINENO SYMBOL VAR
1707
# ------------------------------------
1708
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1707
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1708
# ---------------------------------------------
1709
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1709
1711
ac_fn_c_check_decl ()
1711
1713
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1713
$as_echo_n "checking whether $2 is declared... " >&6; }
1714
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1714
as_decl_name=`echo $2|sed 's/ *(.*//'`
1715
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1717
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1718
if eval \${$3+:} false; then :
1715
1719
$as_echo_n "(cached) " >&6
1717
1721
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098
2107
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2099
for ac_t in install-sh install.sh shtool; do
2100
if test -f "$ac_dir/$ac_t"; then
2102
ac_install_sh="$ac_aux_dir/$ac_t -c"
2108
if test -f "$ac_dir/install-sh"; then
2110
ac_install_sh="$ac_aux_dir/install-sh -c"
2112
elif test -f "$ac_dir/install.sh"; then
2114
ac_install_sh="$ac_aux_dir/install.sh -c"
2116
elif test -f "$ac_dir/shtool"; then
2118
ac_install_sh="$ac_aux_dir/shtool install -c"
2107
2122
if test -z "$ac_aux_dir"; then
2108
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2123
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2111
2126
# These three variables are undocumented and unsupported,
2633
2648
ac_config_headers="$ac_config_headers config.h"
2651
# Check for functional strnlen
2652
DEPDIR="${am__leading_dot}deps"
2654
ac_config_commands="$ac_config_commands depfiles"
2657
am_make=${MAKE-make}
2658
cat > confinc << 'END'
2660
@echo this is the am__doit target
2663
# If we don't find an include directive, just comment out the code.
2664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2665
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2669
# First try GNU make style include.
2670
echo "include confinc" > confmf
2671
# Ignore all kinds of additional output from `make'.
2672
case `$am_make -s -f confmf 2> /dev/null` in #(
2673
*the\ am__doit\ target*)
2679
# Now try BSD make style include.
2680
if test "$am__include" = "#"; then
2681
echo '.include "confinc"' > confmf
2682
case `$am_make -s -f confmf 2> /dev/null` in #(
2683
*the\ am__doit\ target*)
2684
am__include=.include
2692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2693
$as_echo "$_am_result" >&6; }
2694
rm -f confinc confmf
2696
# Check whether --enable-dependency-tracking was given.
2697
if test "${enable_dependency_tracking+set}" = set; then :
2698
enableval=$enable_dependency_tracking;
2701
if test "x$enable_dependency_tracking" != xno; then
2702
am_depcomp="$ac_aux_dir/depcomp"
2705
if test "x$enable_dependency_tracking" != xno; then
2637
2715
ac_cpp='$CPP $CPPFLAGS'
2638
2716
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423
3500
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424
3501
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425
3502
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426
DEPDIR="${am__leading_dot}deps"
3428
ac_config_commands="$ac_config_commands depfiles"
3431
am_make=${MAKE-make}
3432
cat > confinc << 'END'
3434
@echo this is the am__doit target
3437
# If we don't find an include directive, just comment out the code.
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3439
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3443
# First try GNU make style include.
3444
echo "include confinc" > confmf
3445
# Ignore all kinds of additional output from `make'.
3446
case `$am_make -s -f confmf 2> /dev/null` in #(
3447
*the\ am__doit\ target*)
3453
# Now try BSD make style include.
3454
if test "$am__include" = "#"; then
3455
echo '.include "confinc"' > confmf
3456
case `$am_make -s -f confmf 2> /dev/null` in #(
3457
*the\ am__doit\ target*)
3458
am__include=.include
3466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3467
$as_echo "$_am_result" >&6; }
3468
rm -f confinc confmf
3470
# Check whether --enable-dependency-tracking was given.
3471
if test "${enable_dependency_tracking+set}" = set; then :
3472
enableval=$enable_dependency_tracking;
3475
if test "x$enable_dependency_tracking" != xno; then
3476
am_depcomp="$ac_aux_dir/depcomp"
3479
if test "x$enable_dependency_tracking" != xno; then
3489
3504
depcc="$CC" am_compiler_list=
3491
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3492
3507
$as_echo_n "checking dependency style of $depcc... " >&6; }
3493
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3508
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3494
3509
$as_echo_n "(cached) " >&6
3496
3511
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3734
3746
ac_preproc_ok=:
3737
rm -f conftest.err conftest.$ac_ext
3749
rm -f conftest.err conftest.i conftest.$ac_ext
3740
3752
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3741
rm -f conftest.err conftest.$ac_ext
3753
rm -f conftest.i conftest.err conftest.$ac_ext
3742
3754
if $ac_preproc_ok; then :
3745
3757
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746
3758
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747
as_fn_error "C preprocessor \"$CPP\" fails sanity check
3748
See \`config.log' for more details." "$LINENO" 5; }
3759
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3760
See \`config.log' for more details" "$LINENO" 5; }
4076
4087
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
4090
# Make sure we can run config.sub.
4091
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4092
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4095
$as_echo_n "checking build system type... " >&6; }
4096
if ${ac_cv_build+:} false; then :
4097
$as_echo_n "(cached) " >&6
4099
ac_build_alias=$build_alias
4100
test "x$ac_build_alias" = x &&
4101
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4102
test "x$ac_build_alias" = x &&
4103
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4104
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4105
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4109
$as_echo "$ac_cv_build" >&6; }
4110
case $ac_cv_build in
4112
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4115
ac_save_IFS=$IFS; IFS='-'
4121
# Remember, the first character of IFS is used to create $*,
4122
# except with old shells:
4125
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4129
$as_echo_n "checking host system type... " >&6; }
4130
if ${ac_cv_host+:} false; then :
4131
$as_echo_n "(cached) " >&6
4133
if test "x$host_alias" = x; then
4134
ac_cv_host=$ac_cv_build
4136
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4137
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4142
$as_echo "$ac_cv_host" >&6; }
4145
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4148
ac_save_IFS=$IFS; IFS='-'
4154
# Remember, the first character of IFS is used to create $*,
4155
# except with old shells:
4158
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
4080
4162
$as_echo_n "checking for working strnlen... " >&6; }
4081
if test "${ac_cv_func_strnlen_working+set}" = set; then :
4163
if ${ac_cv_func_strnlen_working+:} false; then :
4082
4164
$as_echo_n "(cached) " >&6
4084
4166
if test "$cross_compiling" = yes; then :
4085
ac_cv_func_strnlen_working=no
4167
# Guess no on AIX systems, yes otherwise.
4169
aix*) ac_cv_func_strnlen_working=no;;
4170
*) ac_cv_func_strnlen_working=yes;;
4087
4173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088
4174
/* end confdefs.h. */
4431
# Make sure we can run config.sub.
4432
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4433
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4436
$as_echo_n "checking build system type... " >&6; }
4437
if test "${ac_cv_build+set}" = set; then :
4438
$as_echo_n "(cached) " >&6
4440
ac_build_alias=$build_alias
4441
test "x$ac_build_alias" = x &&
4442
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4443
test "x$ac_build_alias" = x &&
4444
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4445
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4446
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4450
$as_echo "$ac_cv_build" >&6; }
4451
case $ac_cv_build in
4453
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4456
ac_save_IFS=$IFS; IFS='-'
4462
# Remember, the first character of IFS is used to create $*,
4463
# except with old shells:
4466
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4470
$as_echo_n "checking host system type... " >&6; }
4471
if test "${ac_cv_host+set}" = set; then :
4472
$as_echo_n "(cached) " >&6
4474
if test "x$host_alias" = x; then
4475
ac_cv_host=$ac_cv_build
4477
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4478
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4483
$as_echo "$ac_cv_host" >&6; }
4486
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4489
ac_save_IFS=$IFS; IFS='-'
4495
# Remember, the first character of IFS is used to create $*,
4496
# except with old shells:
4499
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4518
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4519
if ${ac_cv_path_SED+:} false; then :
4520
$as_echo_n "(cached) " >&6
4522
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4523
for ac_i in 1 2 3 4 5 6 7; do
4524
ac_script="$ac_script$as_nl$ac_script"
4526
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4527
{ ac_script=; unset ac_script;}
4528
if test -z "$SED"; then
4529
ac_path_SED_found=false
4530
# Loop through the user's path and test for each of PROGNAME-LIST
4531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535
test -z "$as_dir" && as_dir=.
4536
for ac_prog in sed gsed; do
4537
for ac_exec_ext in '' $ac_executable_extensions; do
4538
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4539
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4540
# Check for GNU ac_path_SED and select it if it is found.
4541
# Check for GNU $ac_path_SED
4542
case `"$ac_path_SED" --version 2>&1` in
4544
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4547
$as_echo_n 0123456789 >"conftest.in"
4550
cat "conftest.in" "conftest.in" >"conftest.tmp"
4551
mv "conftest.tmp" "conftest.in"
4552
cp "conftest.in" "conftest.nl"
4553
$as_echo '' >> "conftest.nl"
4554
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4555
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4556
as_fn_arith $ac_count + 1 && ac_count=$as_val
4557
if test $ac_count -gt ${ac_path_SED_max-0}; then
4558
# Best one so far, save it but keep looking for a better one
4559
ac_cv_path_SED="$ac_path_SED"
4560
ac_path_SED_max=$ac_count
4562
# 10*(2^10) chars as input seems more than enough
4563
test $ac_count -gt 10 && break
4565
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568
$ac_path_SED_found && break 3
4573
if test -z "$ac_cv_path_SED"; then
4574
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4582
$as_echo "$ac_cv_path_SED" >&6; }
4583
SED="$ac_cv_path_SED"
4876
4947
:end' >>confcache
4877
4948
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4878
4949
if test -w "$cache_file"; then
4879
test "x$cache_file" != "x/dev/null" &&
4950
if test "x$cache_file" != "x/dev/null"; then
4880
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4881
4952
$as_echo "$as_me: updating cache $cache_file" >&6;}
4882
cat confcache >$cache_file
4953
if test ! -f "$cache_file" || test -h "$cache_file"; then
4954
cat confcache >"$cache_file"
4956
case $cache_file in #(
4958
mv -f confcache "$cache_file"$$ &&
4959
mv -f "$cache_file"$$ "$cache_file" ;; #(
4961
mv -f confcache "$cache_file" ;;
4884
4966
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4885
4967
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4920
5003
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4921
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5004
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4922
5005
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4924
5007
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4925
as_fn_error "conditional \"AMDEP\" was never defined.
5008
as_fn_error $? "conditional \"AMDEP\" was never defined.
4926
5009
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4928
5011
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4929
as_fn_error "conditional \"am__fastdepCC\" was never defined.
5012
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4930
5013
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4933
: ${CONFIG_STATUS=./config.status}
5016
: "${CONFIG_STATUS=./config.status}"
4934
5017
ac_write_fail=0
4935
5018
ac_clean_files_save=$ac_clean_files
4936
5019
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5076
5160
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5079
# as_fn_error ERROR [LINENO LOG_FD]
5080
# ---------------------------------
5163
# as_fn_error STATUS ERROR [LINENO LOG_FD]
5164
# ----------------------------------------
5081
5165
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5082
5166
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5083
# script with status $?, using 1 if that was 0.
5167
# script with STATUS, using 1 if that was 0.
5086
as_status=$?; test $as_status -eq 0 && as_status=1
5088
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5089
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5170
as_status=$1; test $as_status -eq 0 && as_status=1
5172
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5173
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5091
$as_echo "$as_me: error: $1" >&2
5175
$as_echo "$as_me: error: $2" >&2
5092
5176
as_fn_exit $as_status
5093
5177
} # as_fn_error
5403
5487
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5404
5488
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5405
5489
ac_cs_version="\\
5406
xlsclients config.status 1.1.0
5407
configured by $0, generated by GNU Autoconf 2.65,
5490
xlsclients config.status 1.1.1
5491
configured by $0, generated by GNU Autoconf 2.68,
5408
5492
with options \\"\$ac_cs_config\\"
5410
Copyright (C) 2009 Free Software Foundation, Inc.
5494
Copyright (C) 2010 Free Software Foundation, Inc.
5411
5495
This config.status script is free software; the Free Software Foundation
5412
5496
gives unlimited permission to copy, distribute and modify it."
5599
5691
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5601
5693
} >conf$$subs.sh ||
5602
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5603
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5694
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5695
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5604
5696
ac_delim='%!_!# '
5605
5697
for ac_last_try in false false false false false :; do
5606
5698
. ./conf$$subs.sh ||
5607
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5699
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5609
5701
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5610
5702
if test $ac_delim_n = $ac_delim_num; then
5612
5704
elif $ac_last_try; then
5613
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5705
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5615
5707
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5698
5790
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5701
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5702
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
5793
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5794
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5705
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5706
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5797
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5798
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5707
5799
# trailing colons and then remove the whole line if VPATH becomes empty
5708
5800
# (actually we leave an empty line to preserve line numbers).
5709
5801
if test "x$srcdir" = x.; then
5710
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5714
s/^\([^=]*=[ ]*\):*/\1/
5802
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5716
5816
s/^[^=]*=[ ]*$//
6029
6129
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6030
6130
$ac_datarootdir_hack
6032
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6033
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6132
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6133
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6035
6135
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6036
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6037
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6136
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6137
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6138
"$ac_tmp/out"`; test -z "$ac_out"; } &&
6038
6139
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6039
which seems to be undefined. Please make sure it is defined." >&5
6140
which seems to be undefined. Please make sure it is defined" >&5
6040
6141
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6041
which seems to be undefined. Please make sure it is defined." >&2;}
6142
which seems to be undefined. Please make sure it is defined" >&2;}
6144
rm -f "$ac_tmp/stdin"
6044
6145
case $ac_file in
6045
-) cat "$tmp/out" && rm -f "$tmp/out";;
6046
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6146
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6147
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6048
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6149
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6054
6155
if test x"$ac_file" != x-; then
6056
6157
$as_echo "/* $configure_input */" \
6057
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6058
} >"$tmp/config.h" \
6059
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6060
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6158
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6159
} >"$ac_tmp/config.h" \
6160
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6161
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6061
6162
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6062
6163
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6064
6165
rm -f "$ac_file"
6065
mv "$tmp/config.h" "$ac_file" \
6066
|| as_fn_error "could not create $ac_file" "$LINENO" 5
6166
mv "$ac_tmp/config.h" "$ac_file" \
6167
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6069
6170
$as_echo "/* $configure_input */" \
6070
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6071
|| as_fn_error "could not create -" "$LINENO" 5
6171
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6172
|| as_fn_error $? "could not create -" "$LINENO" 5
6073
6174
# Compute "$ac_file"'s index in $config_headers.
6074
6175
_am_arg="$ac_file"