2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for libXp 1.0.2.
3
# Generated by GNU Autoconf 2.68 for libXp 1.0.2.
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
13
# This configure script is free software; the Free Software Foundation
135
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
139
if test "x$CONFIG_SHELL" = x; then
163
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
193
170
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
172
test x\$exitcode = x0 || exit 1"
197
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
248
224
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
270
242
if test x$as_have_required = xno; then :
370
342
} # as_fn_mkdir_p
372
# as_fn_executable_p FILE
373
# -----------------------
374
# Test if FILE is an executable regular file.
375
as_fn_executable_p ()
377
test -f "$1" && test -x "$1"
378
} # as_fn_executable_p
379
343
# as_fn_append VAR VALUE
380
344
# ----------------------
381
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
497
461
chmod +x "$as_me.lineno" ||
498
462
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501
# already done that, so ensure we don't try to do so again and fall
502
# in an infinite loop. This has already happened in practice.
503
_as_can_reexec=no; export _as_can_reexec
504
464
# Don't try to exec as it changes $[0], causing all sort of problems
505
465
# (the dirname of $[0] is not the place where we might find the
506
466
# original and so on. Autoconf is especially sensitive to this).
535
495
# ... but there are two gotchas:
536
496
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537
497
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538
# In both cases, we have to default to `cp -pR'.
498
# In both cases, we have to default to `cp -p'.
539
499
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541
501
elif ln conf$$.file conf$$ 2>/dev/null; then
549
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
510
rmdir conf$$.dir 2>/dev/null
560
as_executable_p=as_fn_executable_p
519
if test -x / >/dev/null 2>&1; then
522
if ls -dL / >/dev/null 2>&1; then
529
if test -d "$1"; then
535
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536
???[sx]*):;;*)false;;esac;fi
540
as_executable_p=$as_test_x
562
542
# Sed expression to map a string onto a valid CPP name.
563
543
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1261
1237
if test "x$host_alias" != x; then
1262
1238
if test "x$build_alias" = x; then
1263
1239
cross_compiling=maybe
1240
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1241
If a cross compiler is detected then cross compile mode will be used" >&2
1264
1242
elif test "x$build_alias" != "x$host_alias"; then
1265
1243
cross_compiling=yes
1424
1402
--disable-option-checking ignore unrecognized --enable/--with options
1425
1403
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1426
1404
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1427
--enable-maintainer-mode enable make rules and dependencies not useful
1428
(and sometimes confusing) to the casual installer
1429
--disable-dependency-tracking speeds up one-time build
1430
--enable-dependency-tracking do not reject slow dependency extractors
1405
--enable-silent-rules less verbose build output (undo: "make V=1")
1406
--disable-silent-rules verbose build output (undo: "make V=0")
1407
--enable-maintainer-mode
1408
enable make rules and dependencies not useful (and
1409
sometimes confusing) to the casual installer
1410
--enable-dependency-tracking
1411
do not reject slow dependency extractors
1412
--disable-dependency-tracking
1413
speeds up one-time build
1431
1414
--disable-selective-werror
1432
1415
Turn off selective compiler errors. (default:
1434
1417
--enable-strict-compilation
1435
1418
Enable all warnings from compiler and make them
1436
1419
errors (default: disabled)
1437
--enable-silent-rules less verbose build output (undo: `make V=1')
1438
--disable-silent-rules verbose build output (undo: `make V=0')
1439
1420
--enable-shared[=PKGS] build shared libraries [default=yes]
1440
1421
--enable-static[=PKGS] build static libraries [default=yes]
1441
1422
--enable-fast-install[=PKGS]
1461
1442
you have headers in a nonstandard directory <include dir>
1462
1443
CPP C preprocessor
1463
1444
PKG_CONFIG path to pkg-config utility
1465
directories to add to pkg-config's search path
1467
path overriding pkg-config's built-in search path
1469
1446
C compiler flags for XPRINT, overriding pkg-config
1470
1447
XPRINT_LIBS linker flags for XPRINT, overriding pkg-config
1536
1513
if $ac_init_version; then
1538
1515
libXp configure 1.0.2
1539
generated by GNU Autoconf 2.69
1516
generated by GNU Autoconf 2.68
1541
Copyright (C) 2012 Free Software Foundation, Inc.
1518
Copyright (C) 2010 Free Software Foundation, Inc.
1542
1519
This configure script is free software; the Free Software Foundation
1543
1520
gives unlimited permission to copy, distribute and modify it.
1860
1837
running configure, to aid debugging if configure makes a mistake.
1862
1839
It was created by libXp $as_me 1.0.2, which was
1863
generated by GNU Autoconf 2.69. Invocation command line was
1840
generated by GNU Autoconf 2.68. Invocation command line was
2281
2258
for ac_prog in ginstall scoinst install; do
2282
2259
for ac_exec_ext in '' $ac_executable_extensions; do
2283
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2260
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2284
2261
if test $ac_prog = install &&
2285
2262
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2286
2263
# AIX install. It has an incompatible calling convention.
2339
2316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2340
2317
$as_echo_n "checking whether build environment is sane... " >&6; }
2343
echo timestamp > conftest.file
2344
2318
# Reject unsafe characters in $srcdir or the absolute working directory
2345
2319
# name. Accept space and tab only in the latter.
2352
2326
case $srcdir in
2353
2327
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2354
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2328
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2357
# Do `set' in a subshell so we don't clobber the current shell's
2331
# Do 'set' in a subshell so we don't clobber the current shell's
2358
2332
# arguments. Must try -L first in case configure is actually a
2359
2333
# symlink; some systems play weird games with the mod time of symlinks
2360
2334
# (eg FreeBSD returns the mod time of the symlink's containing
2363
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2364
if test "$*" = "X"; then
2366
set X `ls -t "$srcdir/configure" conftest.file`
2369
if test "$*" != "X $srcdir/configure conftest.file" \
2370
&& test "$*" != "X conftest.file $srcdir/configure"; then
2372
# If neither matched, then we have a broken ls. This can happen
2373
# if, for instance, CONFIG_SHELL is bash and it inherits a
2374
# broken ls alias from the environment. This has actually
2375
# happened. Such a system could not be considered "sane".
2376
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2377
alias in your environment" "$LINENO" 5
2338
for am_try in 1 2; do
2339
echo "timestamp, slept: $am_has_slept" > conftest.file
2340
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2341
if test "$*" = "X"; then
2343
set X `ls -t "$srcdir/configure" conftest.file`
2345
if test "$*" != "X $srcdir/configure conftest.file" \
2346
&& test "$*" != "X conftest.file $srcdir/configure"; then
2348
# If neither matched, then we have a broken ls. This can happen
2349
# if, for instance, CONFIG_SHELL is bash and it inherits a
2350
# broken ls alias from the environment. This has actually
2351
# happened. Such a system could not be considered "sane".
2352
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2353
alias in your environment" "$LINENO" 5
2355
if test "$2" = conftest.file || test $am_try -eq 2; then
2380
2362
test "$2" = conftest.file
2389
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2390
2372
$as_echo "yes" >&6; }
2373
# If we didn't sleep, we still need to ensure time stamps of config.status and
2374
# generated files are strictly newer.
2376
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2391
2383
test "$program_prefix" != NONE &&
2392
2384
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2393
2385
# Use a double $ so make ignores it.
2412
2404
# Use eval to expand $SHELL
2413
if eval "$MISSING --run true"; then
2414
am_missing_run="$MISSING --run "
2405
if eval "$MISSING --is-lightweight"; then
2406
am_missing_run="$MISSING "
2416
2408
am_missing_run=
2417
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2418
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2409
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2410
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2421
2413
if test x"${install_sh}" != xset; then
2430
# Installed binaries are usually stripped using `strip' when the user
2431
# run `make install-strip'. However `strip' might not be the right
2422
# Installed binaries are usually stripped using 'strip' when the user
2423
# run "make install-strip". However 'strip' might not be the right
2432
2424
# tool to use in cross-compilation environments, therefore Automake
2433
# will honor the `STRIP' environment variable to overrule this program.
2425
# will honor the 'STRIP' environment variable to overrule this program.
2434
2426
if test "$cross_compiling" != no; then
2435
2427
if test -n "$ac_tool_prefix"; then
2436
2428
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449
2441
IFS=$as_save_IFS
2450
2442
test -z "$as_dir" && as_dir=.
2451
2443
for ac_exec_ext in '' $ac_executable_extensions; do
2452
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2444
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453
2445
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2454
2446
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489
2481
IFS=$as_save_IFS
2490
2482
test -z "$as_dir" && as_dir=.
2491
2483
for ac_exec_ext in '' $ac_executable_extensions; do
2492
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2484
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493
2485
ac_cv_prog_ac_ct_STRIP="strip"
2494
2486
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540
2532
test -z "$as_dir" && as_dir=.
2541
2533
for ac_prog in mkdir gmkdir; do
2542
2534
for ac_exec_ext in '' $ac_executable_extensions; do
2543
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2535
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2544
2536
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2545
2537
'mkdir (GNU coreutils) '* | \
2546
2538
'mkdir (coreutils) '* | \
2569
2561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2570
2562
$as_echo "$MKDIR_P" >&6; }
2574
[\\/$]* | ?:[\\/]*) ;;
2575
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2578
2564
for ac_prog in gawk mawk nawk awk
2580
2566
# Extract the first word of "$ac_prog", so it can be a program name with args.
2593
2579
IFS=$as_save_IFS
2594
2580
test -z "$as_dir" && as_dir=.
2595
2581
for ac_exec_ext in '' $ac_executable_extensions; do
2596
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2582
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597
2583
ac_cv_prog_AWK="$ac_prog"
2598
2584
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658
2644
rmdir .tst 2>/dev/null
2646
# Check whether --enable-silent-rules was given.
2647
if test "${enable_silent_rules+set}" = set; then :
2648
enableval=$enable_silent_rules;
2651
case $enable_silent_rules in # (((
2652
yes) AM_DEFAULT_VERBOSITY=0;;
2653
no) AM_DEFAULT_VERBOSITY=1;;
2654
*) AM_DEFAULT_VERBOSITY=1;;
2656
am_make=${MAKE-make}
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2658
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2659
if ${am_cv_make_support_nested_variables+:} false; then :
2660
$as_echo_n "(cached) " >&6
2662
if $as_echo 'TRUE=$(BAR$(V))
2668
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2669
am_cv_make_support_nested_variables=yes
2671
am_cv_make_support_nested_variables=no
2674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2675
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2676
if test $am_cv_make_support_nested_variables = yes; then
2678
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2680
AM_V=$AM_DEFAULT_VERBOSITY
2681
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2660
2685
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2661
2686
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2662
2687
# is not polluted with repeated "-I."
2708
2733
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2735
# For better backward compatibility. To be removed once Automake 1.9.x
2736
# dies out for good. For more background, see:
2737
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2738
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2739
mkdir_p='$(MKDIR_P)'
2710
2741
# We need awk for the "check" target. The system "awk" is bad on
2711
2742
# some platforms.
2712
2743
# Always define AMTAR for backward compatibility. Yes, it's still used
2713
2744
# in the wild :-( We should find a proper way to deprecate it ...
2714
2745
AMTAR='$${TAR-tar}'
2748
# We'll loop over all known methods to create a tar archive until one works.
2749
_am_tools='gnutar pax cpio none'
2716
2751
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2774
2810
_am_result=none
2775
2811
# First try GNU make style include.
2776
2812
echo "include confinc" > confmf
2777
# Ignore all kinds of additional output from `make'.
2813
# Ignore all kinds of additional output from 'make'.
2778
2814
case `$am_make -s -f confmf 2> /dev/null` in #(
2779
2815
*the\ am__doit\ target*)
2780
2816
am__include=include
2840
2876
IFS=$as_save_IFS
2841
2877
test -z "$as_dir" && as_dir=.
2842
2878
for ac_exec_ext in '' $ac_executable_extensions; do
2843
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844
2880
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2845
2881
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880
2916
IFS=$as_save_IFS
2881
2917
test -z "$as_dir" && as_dir=.
2882
2918
for ac_exec_ext in '' $ac_executable_extensions; do
2883
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2919
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884
2920
ac_cv_prog_ac_ct_CC="gcc"
2885
2921
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933
2969
IFS=$as_save_IFS
2934
2970
test -z "$as_dir" && as_dir=.
2935
2971
for ac_exec_ext in '' $ac_executable_extensions; do
2936
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937
2973
ac_cv_prog_CC="${ac_tool_prefix}cc"
2938
2974
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974
3010
IFS=$as_save_IFS
2975
3011
test -z "$as_dir" && as_dir=.
2976
3012
for ac_exec_ext in '' $ac_executable_extensions; do
2977
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3013
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2978
3014
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2979
3015
ac_prog_rejected=yes
3032
3068
IFS=$as_save_IFS
3033
3069
test -z "$as_dir" && as_dir=.
3034
3070
for ac_exec_ext in '' $ac_executable_extensions; do
3035
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3071
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
3072
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3037
3073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076
3112
IFS=$as_save_IFS
3077
3113
test -z "$as_dir" && as_dir=.
3078
3114
for ac_exec_ext in '' $ac_executable_extensions; do
3079
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3115
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080
3116
ac_cv_prog_ac_ct_CC="$ac_prog"
3081
3117
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618
3655
# We make a subdir and do the tests there. Otherwise we can end up
3619
3656
# making bogus files that we don't know about and never remove. For
3620
3657
# instance it was reported that on HP-UX the gcc test will end up
3621
# making a dummy file named `D' -- because `-MD' means `put the output
3658
# making a dummy file named 'D' -- because '-MD' means "put the output
3623
3660
rm -rf conftest.dir
3624
3661
mkdir conftest.dir
3625
3662
# Copy depcomp to subdir because otherwise we won't find it if we're
3654
3691
: > sub/conftest.c
3655
3692
for i in 1 2 3 4 5 6; do
3656
3693
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3657
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3658
# Solaris 8's {/usr,}/bin/sh.
3659
touch sub/conftst$i.h
3694
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3695
# Solaris 10 /bin/sh.
3696
echo '/* dummy */' > sub/conftst$i.h
3661
3698
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3663
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3700
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3664
3701
# mode. It turns out that the SunPro C++ compiler does not properly
3665
# handle `-M -o', and we need to detect this. Also, some Intel
3666
# versions had trouble with output in subdirs
3702
# handle '-M -o', and we need to detect this. Also, some Intel
3703
# versions had trouble with output in subdirs.
3667
3704
am__obj=sub/conftest.${OBJEXT-o}
3668
3705
am__minus_obj="-o $am__obj"
3669
3706
case $depmode in
3672
3709
test "$am__universal" = false || continue
3675
# after this tag, mechanisms are not by side-effect, so they'll
3676
# only be used when explicitly requested
3712
# After this tag, mechanisms are not by side-effect, so they'll
3713
# only be used when explicitly requested.
3677
3714
if test "x$enable_dependency_tracking" = xyes; then
3683
3720
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3684
# This compiler won't grok `-c -o', but also, the minuso test has
3721
# This compiler won't grok '-c -o', but also, the minuso test has
3685
3722
# not run yet. These depmodes are late enough in the game, and
3686
3723
# so weak that their functioning should not be impacted.
3687
3724
am__obj=conftest.${OBJEXT-o}
4067
4104
for ac_prog in grep ggrep; do
4068
4105
for ac_exec_ext in '' $ac_executable_extensions; do
4069
4106
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4070
as_fn_executable_p "$ac_path_GREP" || continue
4107
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4071
4108
# Check for GNU ac_path_GREP and select it if it is found.
4072
4109
# Check for GNU $ac_path_GREP
4073
4110
case `"$ac_path_GREP" --version 2>&1` in
4133
4170
for ac_prog in egrep; do
4134
4171
for ac_exec_ext in '' $ac_executable_extensions; do
4135
4172
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4136
as_fn_executable_p "$ac_path_EGREP" || continue
4173
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4137
4174
# Check for GNU ac_path_EGREP and select it if it is found.
4138
4175
# Check for GNU $ac_path_EGREP
4139
4176
case `"$ac_path_EGREP" --version 2>&1` in
4363
4395
IFS=$as_save_IFS
4364
4396
test -z "$as_dir" && as_dir=.
4365
4397
for ac_exec_ext in '' $ac_executable_extensions; do
4366
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367
4399
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4368
4400
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406
4438
IFS=$as_save_IFS
4407
4439
test -z "$as_dir" && as_dir=.
4408
4440
for ac_exec_ext in '' $ac_executable_extensions; do
4409
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4410
4442
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4411
4443
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549
4582
for ac_prog in sed gsed; do
4550
4583
for ac_exec_ext in '' $ac_executable_extensions; do
4551
4584
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4552
as_fn_executable_p "$ac_path_SED" || continue
4585
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4553
4586
# Check for GNU ac_path_SED and select it if it is found.
4554
4587
# Check for GNU $ac_path_SED
4555
4588
case `"$ac_path_SED" --version 2>&1` in
4700
4733
CFLAGS="$CFLAGS -Wall"
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
4703
$as_echo_n "checking if $CC supports-Wall... " >&6; }
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
4736
$as_echo_n "checking if $CC supports -Wall... " >&6; }
4704
4737
cacheid=xorg_cv_cc_flag__Wall
4705
4738
if eval \${$cacheid+:} false; then :
4706
4739
$as_echo_n "(cached) " >&6
4818
4851
CFLAGS="$CFLAGS -Wpointer-arith"
4820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
4821
$as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
4853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
4854
$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
4822
4855
cacheid=xorg_cv_cc_flag__Wpointer_arith
4823
4856
if eval \${$cacheid+:} false; then :
4824
4857
$as_echo_n "(cached) " >&6
4936
4969
CFLAGS="$CFLAGS -Wmissing-declarations"
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
4939
$as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
4972
$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
4940
4973
cacheid=xorg_cv_cc_flag__Wmissing_declarations
4941
4974
if eval \${$cacheid+:} false; then :
4942
4975
$as_echo_n "(cached) " >&6
5054
5087
CFLAGS="$CFLAGS -Wformat=2"
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
5057
$as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
5058
cacheid=xorg_cv_cc_flag__Wformat_2
5089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5090
$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5091
cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
5059
5092
if eval \${$cacheid+:} false; then :
5060
5093
$as_echo_n "(cached) " >&6
5103
5136
CFLAGS="$CFLAGS -Wformat"
5105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
5106
$as_echo_n "checking if $CC supports-Wformat... " >&6; }
5138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5139
$as_echo_n "checking if $CC supports -Wformat... " >&6; }
5107
5140
cacheid=xorg_cv_cc_flag__Wformat
5108
5141
if eval \${$cacheid+:} false; then :
5109
5142
$as_echo_n "(cached) " >&6
5223
5256
CFLAGS="$CFLAGS -Wstrict-prototypes"
5225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
5226
$as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
5258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5259
$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
5227
5260
cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5228
5261
if eval \${$cacheid+:} false; then :
5229
5262
$as_echo_n "(cached) " >&6
5341
5374
CFLAGS="$CFLAGS -Wmissing-prototypes"
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
5344
$as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
5376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
5377
$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
5345
5378
cacheid=xorg_cv_cc_flag__Wmissing_prototypes
5346
5379
if eval \${$cacheid+:} false; then :
5347
5380
$as_echo_n "(cached) " >&6
5459
5492
CFLAGS="$CFLAGS -Wnested-externs"
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
5462
$as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
5494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
5495
$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
5463
5496
cacheid=xorg_cv_cc_flag__Wnested_externs
5464
5497
if eval \${$cacheid+:} false; then :
5465
5498
$as_echo_n "(cached) " >&6
5577
5610
CFLAGS="$CFLAGS -Wbad-function-cast"
5579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
5580
$as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5613
$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
5581
5614
cacheid=xorg_cv_cc_flag__Wbad_function_cast
5582
5615
if eval \${$cacheid+:} false; then :
5583
5616
$as_echo_n "(cached) " >&6
5695
5728
CFLAGS="$CFLAGS -Wold-style-definition"
5697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
5698
$as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
5731
$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
5699
5732
cacheid=xorg_cv_cc_flag__Wold_style_definition
5700
5733
if eval \${$cacheid+:} false; then :
5701
5734
$as_echo_n "(cached) " >&6
5813
5846
CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
5816
$as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
5848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5849
$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5817
5850
cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
5818
5851
if eval \${$cacheid+:} false; then :
5819
5852
$as_echo_n "(cached) " >&6
5935
5968
CFLAGS="$CFLAGS -Wunused"
5937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
5938
$as_echo_n "checking if $CC supports-Wunused... " >&6; }
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
5971
$as_echo_n "checking if $CC supports -Wunused... " >&6; }
5939
5972
cacheid=xorg_cv_cc_flag__Wunused
5940
5973
if eval \${$cacheid+:} false; then :
5941
5974
$as_echo_n "(cached) " >&6
6053
6086
CFLAGS="$CFLAGS -Wuninitialized"
6055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
6056
$as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6089
$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
6057
6090
cacheid=xorg_cv_cc_flag__Wuninitialized
6058
6091
if eval \${$cacheid+:} false; then :
6059
6092
$as_echo_n "(cached) " >&6
6171
6204
CFLAGS="$CFLAGS -Wshadow"
6173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
6174
$as_echo_n "checking if $CC supports-Wshadow... " >&6; }
6206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6207
$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
6175
6208
cacheid=xorg_cv_cc_flag__Wshadow
6176
6209
if eval \${$cacheid+:} false; then :
6177
6210
$as_echo_n "(cached) " >&6
6289
6322
CFLAGS="$CFLAGS -Wcast-qual"
6291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
6292
$as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
6325
$as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
6293
6326
cacheid=xorg_cv_cc_flag__Wcast_qual
6294
6327
if eval \${$cacheid+:} false; then :
6295
6328
$as_echo_n "(cached) " >&6
6407
6440
CFLAGS="$CFLAGS -Wmissing-noreturn"
6409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
6410
$as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
6442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
6443
$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
6411
6444
cacheid=xorg_cv_cc_flag__Wmissing_noreturn
6412
6445
if eval \${$cacheid+:} false; then :
6413
6446
$as_echo_n "(cached) " >&6
6525
6558
CFLAGS="$CFLAGS -Wmissing-format-attribute"
6527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
6528
$as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
6560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6561
$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6529
6562
cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
6530
6563
if eval \${$cacheid+:} false; then :
6531
6564
$as_echo_n "(cached) " >&6
6643
6676
CFLAGS="$CFLAGS -Wredundant-decls"
6645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
6646
$as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
6678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6679
$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6647
6680
cacheid=xorg_cv_cc_flag__Wredundant_decls
6648
6681
if eval \${$cacheid+:} false; then :
6649
6682
$as_echo_n "(cached) " >&6
6773
6806
CFLAGS="$CFLAGS -Werror=implicit"
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
6776
$as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
6777
cacheid=xorg_cv_cc_flag__Werror_implicit
6808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
6809
$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
6810
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
6778
6811
if eval \${$cacheid+:} false; then :
6779
6812
$as_echo_n "(cached) " >&6
6822
6855
CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
6825
$as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
6826
cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
6857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
6858
$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
6859
cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
6827
6860
if eval \${$cacheid+:} false; then :
6828
6861
$as_echo_n "(cached) " >&6
6940
6973
CFLAGS="$CFLAGS -Werror=nonnull"
6942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
6943
$as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
6944
cacheid=xorg_cv_cc_flag__Werror_nonnull
6975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
6976
$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
6977
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
6945
6978
if eval \${$cacheid+:} false; then :
6946
6979
$as_echo_n "(cached) " >&6
7058
7091
CFLAGS="$CFLAGS -Werror=init-self"
7060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
7061
$as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
7062
cacheid=xorg_cv_cc_flag__Werror_init_self
7093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7094
$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
7095
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
7063
7096
if eval \${$cacheid+:} false; then :
7064
7097
$as_echo_n "(cached) " >&6
7176
7209
CFLAGS="$CFLAGS -Werror=main"
7178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
7179
$as_echo_n "checking if $CC supports-Werror=main... " >&6; }
7180
cacheid=xorg_cv_cc_flag__Werror_main
7211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
7212
$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
7213
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
7181
7214
if eval \${$cacheid+:} false; then :
7182
7215
$as_echo_n "(cached) " >&6
7294
7327
CFLAGS="$CFLAGS -Werror=missing-braces"
7296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
7297
$as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
7298
cacheid=xorg_cv_cc_flag__Werror_missing_braces
7329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
7330
$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
7331
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
7299
7332
if eval \${$cacheid+:} false; then :
7300
7333
$as_echo_n "(cached) " >&6
7412
7445
CFLAGS="$CFLAGS -Werror=sequence-point"
7414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
7415
$as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
7416
cacheid=xorg_cv_cc_flag__Werror_sequence_point
7447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
7448
$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
7449
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
7417
7450
if eval \${$cacheid+:} false; then :
7418
7451
$as_echo_n "(cached) " >&6
7530
7563
CFLAGS="$CFLAGS -Werror=return-type"
7532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
7533
$as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
7534
cacheid=xorg_cv_cc_flag__Werror_return_type
7565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
7566
$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
7567
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
7535
7568
if eval \${$cacheid+:} false; then :
7536
7569
$as_echo_n "(cached) " >&6
7579
7612
CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
7582
$as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
7583
cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
7615
$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
7616
cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
7584
7617
if eval \${$cacheid+:} false; then :
7585
7618
$as_echo_n "(cached) " >&6
7697
7730
CFLAGS="$CFLAGS -Werror=trigraphs"
7699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
7700
$as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
7701
cacheid=xorg_cv_cc_flag__Werror_trigraphs
7732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
7733
$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
7734
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
7702
7735
if eval \${$cacheid+:} false; then :
7703
7736
$as_echo_n "(cached) " >&6
7815
7848
CFLAGS="$CFLAGS -Werror=array-bounds"
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
7818
$as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
7819
cacheid=xorg_cv_cc_flag__Werror_array_bounds
7850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
7851
$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
7852
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
7820
7853
if eval \${$cacheid+:} false; then :
7821
7854
$as_echo_n "(cached) " >&6
7933
7966
CFLAGS="$CFLAGS -Werror=write-strings"
7935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
7936
$as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
7937
cacheid=xorg_cv_cc_flag__Werror_write_strings
7968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
7969
$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
7970
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
7938
7971
if eval \${$cacheid+:} false; then :
7939
7972
$as_echo_n "(cached) " >&6
8051
8084
CFLAGS="$CFLAGS -Werror=address"
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
8054
$as_echo_n "checking if $CC supports-Werror=address... " >&6; }
8055
cacheid=xorg_cv_cc_flag__Werror_address
8086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
8087
$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
8088
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
8056
8089
if eval \${$cacheid+:} false; then :
8057
8090
$as_echo_n "(cached) " >&6
8169
8202
CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
8172
$as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
8173
cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
8204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
8205
$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
8206
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
8174
8207
if eval \${$cacheid+:} false; then :
8175
8208
$as_echo_n "(cached) " >&6
8218
8251
CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8221
$as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8222
cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
8253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8254
$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8255
cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
8223
8256
if eval \${$cacheid+:} false; then :
8224
8257
$as_echo_n "(cached) " >&6
8336
8369
CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
8339
$as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
8340
cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
8371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
8372
$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
8373
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
8341
8374
if eval \${$cacheid+:} false; then :
8342
8375
$as_echo_n "(cached) " >&6
8457
8490
CFLAGS="$CFLAGS -Wimplicit"
8459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
8460
$as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
8492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
8493
$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
8461
8494
cacheid=xorg_cv_cc_flag__Wimplicit
8462
8495
if eval \${$cacheid+:} false; then :
8463
8496
$as_echo_n "(cached) " >&6
8575
8608
CFLAGS="$CFLAGS -Wnonnull"
8577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
8578
$as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
8610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
8611
$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
8579
8612
cacheid=xorg_cv_cc_flag__Wnonnull
8580
8613
if eval \${$cacheid+:} false; then :
8581
8614
$as_echo_n "(cached) " >&6
8693
8726
CFLAGS="$CFLAGS -Winit-self"
8695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
8696
$as_echo_n "checking if $CC supports-Winit-self... " >&6; }
8728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
8729
$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
8697
8730
cacheid=xorg_cv_cc_flag__Winit_self
8698
8731
if eval \${$cacheid+:} false; then :
8699
8732
$as_echo_n "(cached) " >&6
8811
8844
CFLAGS="$CFLAGS -Wmain"
8813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
8814
$as_echo_n "checking if $CC supports-Wmain... " >&6; }
8846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
8847
$as_echo_n "checking if $CC supports -Wmain... " >&6; }
8815
8848
cacheid=xorg_cv_cc_flag__Wmain
8816
8849
if eval \${$cacheid+:} false; then :
8817
8850
$as_echo_n "(cached) " >&6
8929
8962
CFLAGS="$CFLAGS -Wmissing-braces"
8931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
8932
$as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
8964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
8965
$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
8933
8966
cacheid=xorg_cv_cc_flag__Wmissing_braces
8934
8967
if eval \${$cacheid+:} false; then :
8935
8968
$as_echo_n "(cached) " >&6
9047
9080
CFLAGS="$CFLAGS -Wsequence-point"
9049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
9050
$as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
9082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
9083
$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
9051
9084
cacheid=xorg_cv_cc_flag__Wsequence_point
9052
9085
if eval \${$cacheid+:} false; then :
9053
9086
$as_echo_n "(cached) " >&6
9165
9198
CFLAGS="$CFLAGS -Wreturn-type"
9167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
9168
$as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
9200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
9201
$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
9169
9202
cacheid=xorg_cv_cc_flag__Wreturn_type
9170
9203
if eval \${$cacheid+:} false; then :
9171
9204
$as_echo_n "(cached) " >&6
9283
9316
CFLAGS="$CFLAGS -Wtrigraphs"
9285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
9286
$as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
9318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
9319
$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
9287
9320
cacheid=xorg_cv_cc_flag__Wtrigraphs
9288
9321
if eval \${$cacheid+:} false; then :
9289
9322
$as_echo_n "(cached) " >&6
9401
9434
CFLAGS="$CFLAGS -Warray-bounds"
9403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
9404
$as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
9436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
9437
$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
9405
9438
cacheid=xorg_cv_cc_flag__Warray_bounds
9406
9439
if eval \${$cacheid+:} false; then :
9407
9440
$as_echo_n "(cached) " >&6
9519
9552
CFLAGS="$CFLAGS -Wwrite-strings"
9521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
9522
$as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
9554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
9555
$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
9523
9556
cacheid=xorg_cv_cc_flag__Wwrite_strings
9524
9557
if eval \${$cacheid+:} false; then :
9525
9558
$as_echo_n "(cached) " >&6
9637
9670
CFLAGS="$CFLAGS -Waddress"
9639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
9640
$as_echo_n "checking if $CC supports-Waddress... " >&6; }
9672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
9673
$as_echo_n "checking if $CC supports -Waddress... " >&6; }
9641
9674
cacheid=xorg_cv_cc_flag__Waddress
9642
9675
if eval \${$cacheid+:} false; then :
9643
9676
$as_echo_n "(cached) " >&6
9755
9788
CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
9758
$as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
9790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
9791
$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
9759
9792
cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
9760
9793
if eval \${$cacheid+:} false; then :
9761
9794
$as_echo_n "(cached) " >&6
9873
9906
CFLAGS="$CFLAGS -Wpointer-to-int-cast"
9875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
9876
$as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
9908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
9909
$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
9877
9910
cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
9878
9911
if eval \${$cacheid+:} false; then :
9879
9912
$as_echo_n "(cached) " >&6
10024
10057
CFLAGS="$CFLAGS -pedantic"
10026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
10027
$as_echo_n "checking if $CC supports-pedantic... " >&6; }
10059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
10060
$as_echo_n "checking if $CC supports -pedantic... " >&6; }
10028
10061
cacheid=xorg_cv_cc_flag__pedantic
10029
10062
if eval \${$cacheid+:} false; then :
10030
10063
$as_echo_n "(cached) " >&6
10142
10175
CFLAGS="$CFLAGS -Werror"
10144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
10145
$as_echo_n "checking if $CC supports-Werror... " >&6; }
10177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
10178
$as_echo_n "checking if $CC supports -Werror... " >&6; }
10146
10179
cacheid=xorg_cv_cc_flag__Werror
10147
10180
if eval \${$cacheid+:} false; then :
10148
10181
$as_echo_n "(cached) " >&6
10191
10224
CFLAGS="$CFLAGS -errwarn"
10193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
10194
$as_echo_n "checking if $CC supports-errwarn... " >&6; }
10226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
10227
$as_echo_n "checking if $CC supports -errwarn... " >&6; }
10195
10228
cacheid=xorg_cv_cc_flag__errwarn
10196
10229
if eval \${$cacheid+:} false; then :
10197
10230
$as_echo_n "(cached) " >&6
10312
10345
CFLAGS="$CFLAGS -Werror=attributes"
10314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
10315
$as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
10316
cacheid=xorg_cv_cc_flag__Werror_attributes
10347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
10348
$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
10349
cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
10317
10350
if eval \${$cacheid+:} false; then :
10318
10351
$as_echo_n "(cached) " >&6
10495
10528
enableval=$enable_silent_rules;
10498
case $enable_silent_rules in
10499
yes) AM_DEFAULT_VERBOSITY=0;;
10500
no) AM_DEFAULT_VERBOSITY=1;;
10501
*) AM_DEFAULT_VERBOSITY=0;;
10531
case $enable_silent_rules in # (((
10532
yes) AM_DEFAULT_VERBOSITY=0;;
10533
no) AM_DEFAULT_VERBOSITY=1;;
10534
*) AM_DEFAULT_VERBOSITY=0;;
10503
10536
am_make=${MAKE-make}
10504
10537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
10648
10681
for ac_prog in sed gsed; do
10649
10682
for ac_exec_ext in '' $ac_executable_extensions; do
10650
10683
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
10651
as_fn_executable_p "$ac_path_SED" || continue
10684
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
10652
10685
# Check for GNU ac_path_SED and select it if it is found.
10653
10686
# Check for GNU $ac_path_SED
10654
10687
case `"$ac_path_SED" --version 2>&1` in
10727
10760
for ac_prog in fgrep; do
10728
10761
for ac_exec_ext in '' $ac_executable_extensions; do
10729
10762
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
10730
as_fn_executable_p "$ac_path_FGREP" || continue
10763
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
10731
10764
# Check for GNU ac_path_FGREP and select it if it is found.
10732
10765
# Check for GNU $ac_path_FGREP
10733
10766
case `"$ac_path_FGREP" --version 2>&1` in
10983
11016
IFS=$as_save_IFS
10984
11017
test -z "$as_dir" && as_dir=.
10985
11018
for ac_exec_ext in '' $ac_executable_extensions; do
10986
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11019
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10987
11020
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
10988
11021
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11027
11060
IFS=$as_save_IFS
11028
11061
test -z "$as_dir" && as_dir=.
11029
11062
for ac_exec_ext in '' $ac_executable_extensions; do
11030
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11063
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031
11064
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
11032
11065
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11451
11484
IFS=$as_save_IFS
11452
11485
test -z "$as_dir" && as_dir=.
11453
11486
for ac_exec_ext in '' $ac_executable_extensions; do
11454
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11487
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11455
11488
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
11456
11489
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11491
11524
IFS=$as_save_IFS
11492
11525
test -z "$as_dir" && as_dir=.
11493
11526
for ac_exec_ext in '' $ac_executable_extensions; do
11494
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11527
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11495
11528
ac_cv_prog_ac_ct_OBJDUMP="objdump"
11496
11529
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11657
11694
# This must be glibc/ELF.
11658
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11695
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11659
11696
lt_cv_deplibs_check_method=pass_all
11662
netbsd* | netbsdelf*-gnu)
11663
11700
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11664
11701
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11793
11830
IFS=$as_save_IFS
11794
11831
test -z "$as_dir" && as_dir=.
11795
11832
for ac_exec_ext in '' $ac_executable_extensions; do
11796
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11833
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797
11834
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11798
11835
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11833
11870
IFS=$as_save_IFS
11834
11871
test -z "$as_dir" && as_dir=.
11835
11872
for ac_exec_ext in '' $ac_executable_extensions; do
11836
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11873
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11837
11874
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11838
11875
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11936
11973
IFS=$as_save_IFS
11937
11974
test -z "$as_dir" && as_dir=.
11938
11975
for ac_exec_ext in '' $ac_executable_extensions; do
11939
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11976
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11940
11977
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
11941
11978
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11980
12017
IFS=$as_save_IFS
11981
12018
test -z "$as_dir" && as_dir=.
11982
12019
for ac_exec_ext in '' $ac_executable_extensions; do
11983
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12020
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11984
12021
ac_cv_prog_ac_ct_AR="$ac_prog"
11985
12022
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12105
12142
IFS=$as_save_IFS
12106
12143
test -z "$as_dir" && as_dir=.
12107
12144
for ac_exec_ext in '' $ac_executable_extensions; do
12108
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12145
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12109
12146
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12110
12147
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12145
12182
IFS=$as_save_IFS
12146
12183
test -z "$as_dir" && as_dir=.
12147
12184
for ac_exec_ext in '' $ac_executable_extensions; do
12148
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12185
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149
12186
ac_cv_prog_ac_ct_STRIP="strip"
12150
12187
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12204
12241
IFS=$as_save_IFS
12205
12242
test -z "$as_dir" && as_dir=.
12206
12243
for ac_exec_ext in '' $ac_executable_extensions; do
12207
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12244
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12208
12245
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12209
12246
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12244
12281
IFS=$as_save_IFS
12245
12282
test -z "$as_dir" && as_dir=.
12246
12283
for ac_exec_ext in '' $ac_executable_extensions; do
12247
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12284
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12248
12285
ac_cv_prog_ac_ct_RANLIB="ranlib"
12249
12286
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12893
12930
IFS=$as_save_IFS
12894
12931
test -z "$as_dir" && as_dir=.
12895
12932
for ac_exec_ext in '' $ac_executable_extensions; do
12896
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12933
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12897
12934
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
12898
12935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12933
12970
IFS=$as_save_IFS
12934
12971
test -z "$as_dir" && as_dir=.
12935
12972
for ac_exec_ext in '' $ac_executable_extensions; do
12936
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12973
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12937
12974
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
12938
12975
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13013
13050
IFS=$as_save_IFS
13014
13051
test -z "$as_dir" && as_dir=.
13015
13052
for ac_exec_ext in '' $ac_executable_extensions; do
13016
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13053
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13017
13054
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
13018
13055
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13053
13090
IFS=$as_save_IFS
13054
13091
test -z "$as_dir" && as_dir=.
13055
13092
for ac_exec_ext in '' $ac_executable_extensions; do
13056
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13093
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13057
13094
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
13058
13095
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13105
13142
IFS=$as_save_IFS
13106
13143
test -z "$as_dir" && as_dir=.
13107
13144
for ac_exec_ext in '' $ac_executable_extensions; do
13108
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13145
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13109
13146
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
13110
13147
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13145
13182
IFS=$as_save_IFS
13146
13183
test -z "$as_dir" && as_dir=.
13147
13184
for ac_exec_ext in '' $ac_executable_extensions; do
13148
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13185
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13149
13186
ac_cv_prog_ac_ct_NMEDIT="nmedit"
13150
13187
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13197
13234
IFS=$as_save_IFS
13198
13235
test -z "$as_dir" && as_dir=.
13199
13236
for ac_exec_ext in '' $ac_executable_extensions; do
13200
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13237
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13201
13238
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
13202
13239
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13237
13274
IFS=$as_save_IFS
13238
13275
test -z "$as_dir" && as_dir=.
13239
13276
for ac_exec_ext in '' $ac_executable_extensions; do
13240
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13277
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13241
13278
ac_cv_prog_ac_ct_LIPO="lipo"
13242
13279
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13289
13326
IFS=$as_save_IFS
13290
13327
test -z "$as_dir" && as_dir=.
13291
13328
for ac_exec_ext in '' $ac_executable_extensions; do
13292
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13293
13330
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
13294
13331
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13329
13366
IFS=$as_save_IFS
13330
13367
test -z "$as_dir" && as_dir=.
13331
13368
for ac_exec_ext in '' $ac_executable_extensions; do
13332
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13369
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13333
13370
ac_cv_prog_ac_ct_OTOOL="otool"
13334
13371
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13381
13418
IFS=$as_save_IFS
13382
13419
test -z "$as_dir" && as_dir=.
13383
13420
for ac_exec_ext in '' $ac_executable_extensions; do
13384
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13421
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13385
13422
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
13386
13423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13421
13458
IFS=$as_save_IFS
13422
13459
test -z "$as_dir" && as_dir=.
13423
13460
for ac_exec_ext in '' $ac_executable_extensions; do
13424
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13461
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13425
13462
ac_cv_prog_ac_ct_OTOOL64="otool64"
13426
13463
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16517
version_type=linux # correct to gnu/linux during the next big refactor
16520
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16521
soname_spec='${libname}${release}${shared_ext}$major'
16522
shlibpath_var=LD_LIBRARY_PATH
16523
shlibpath_overrides_runpath=no
16524
hardcode_into_libs=yes
16484
16528
version_type=linux # correct to gnu/linux during the next big refactor
16485
16529
need_lib_prefix=no
16660
16704
dynamic_linker='GNU/Linux ld.so'
16667
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16668
soname_spec='${libname}${release}${shared_ext}$major'
16669
shlibpath_var=LD_LIBRARY_PATH
16670
shlibpath_overrides_runpath=no
16671
hardcode_into_libs=yes
16672
dynamic_linker='NetBSD ld.elf_so'
16676
16708
version_type=sunos
16677
16709
need_lib_prefix=no
17659
17691
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17660
17692
test $ac_status = 0; }; then
17661
17693
pkg_cv_XPRINT_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto xau printproto" 2>/dev/null`
17662
test "x$?" != "x0" && pkg_failed=yes
17664
17695
pkg_failed=yes
17676
17707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17677
17708
test $ac_status = 0; }; then
17678
17709
pkg_cv_XPRINT_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto xau printproto" 2>/dev/null`
17679
test "x$?" != "x0" && pkg_failed=yes
17681
17711
pkg_failed=yes
17696
17724
_pkg_short_errors_supported=no
17698
17726
if test $_pkg_short_errors_supported = yes; then
17699
XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xextproto xau printproto" 2>&1`
17727
XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xextproto xau printproto" 2>&1`
17701
XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xextproto xau printproto" 2>&1`
17729
XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xextproto xau printproto" 2>&1`
17703
17731
# Put the nasty error message in config.log where it belongs
17704
17732
echo "$XPRINT_PKG_ERRORS" >&5
17713
17741
Alternatively, you may set the environment variables XPRINT_CFLAGS
17714
17742
and XPRINT_LIBS to avoid the need to call pkg-config.
17715
See the pkg-config man page for more details." "$LINENO" 5
17743
See the pkg-config man page for more details.
17716
17745
elif test $pkg_failed = untried; then
17717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17718
$as_echo "no" >&6; }
17719
17746
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17720
17747
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17721
17748
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17863
17890
LTLIBOBJS=$ac_ltlibobjs
17893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17894
$as_echo_n "checking that generated files are newer than configure... " >&6; }
17895
if test -n "$am_sleep_pid"; then
17896
# Hide warnings about reused PIDs.
17897
wait $am_sleep_pid 2>/dev/null
17899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17900
$as_echo "done" >&6; }
17866
17901
if test -n "$EXEEXT"; then
17867
17902
am__EXEEXT_TRUE=
17868
17903
am__EXEEXT_FALSE='#'
18181
18216
# ... but there are two gotchas:
18182
18217
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18183
18218
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18184
# In both cases, we have to default to `cp -pR'.
18219
# In both cases, we have to default to `cp -p'.
18185
18220
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18187
18222
elif ln conf$$.file conf$$ 2>/dev/null; then
18195
18230
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18196
18231
rmdir conf$$.dir 2>/dev/null
18250
18285
as_mkdir_p=false
18254
# as_fn_executable_p FILE
18255
# -----------------------
18256
# Test if FILE is an executable regular file.
18257
as_fn_executable_p ()
18259
test -f "$1" && test -x "$1"
18260
} # as_fn_executable_p
18261
as_test_x='test -x'
18262
as_executable_p=as_fn_executable_p
18288
if test -x / >/dev/null 2>&1; then
18289
as_test_x='test -x'
18291
if ls -dL / >/dev/null 2>&1; then
18298
if test -d "$1"; then
18304
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18305
???[sx]*):;;*)false;;esac;fi
18309
as_executable_p=$as_test_x
18264
18311
# Sed expression to map a string onto a valid CPP name.
18265
18312
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18281
18328
# values after options handling.
18283
18330
This file was extended by libXp $as_me 1.0.2, which was
18284
generated by GNU Autoconf 2.69. Invocation command line was
18331
generated by GNU Autoconf 2.68. Invocation command line was
18286
18333
CONFIG_FILES = $CONFIG_FILES
18287
18334
CONFIG_HEADERS = $CONFIG_HEADERS
18347
18394
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18348
18395
ac_cs_version="\\
18349
18396
libXp config.status 1.0.2
18350
configured by $0, generated by GNU Autoconf 2.69,
18397
configured by $0, generated by GNU Autoconf 2.68,
18351
18398
with options \\"\$ac_cs_config\\"
18353
Copyright (C) 2012 Free Software Foundation, Inc.
18400
Copyright (C) 2010 Free Software Foundation, Inc.
18354
18401
This config.status script is free software; the Free Software Foundation
18355
18402
gives unlimited permission to copy, distribute and modify it."
18442
18489
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18443
18490
if \$ac_cs_recheck; then
18444
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18491
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18446
18493
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18447
18494
CONFIG_SHELL='$SHELL'
19356
19403
case $ac_file$ac_mode in
19357
19404
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19358
# Autoconf 2.62 quotes --file arguments for eval, but not when files
19405
# Older Autoconf quotes --file arguments for eval, but not when files
19359
19406
# are listed without --file. Let's play safe and only enable the eval
19360
19407
# if we detect the quoting.
19361
19408
case $CONFIG_FILES in
19368
19415
# Strip MF so we end up with the name of the file.
19369
19416
mf=`echo "$mf" | sed -e 's/:.*$//'`
19370
19417
# Check whether this is an Automake generated Makefile or not.
19371
# We used to match only the files named `Makefile.in', but
19418
# We used to match only the files named 'Makefile.in', but
19372
19419
# some people rename them; so instead we look at the file content.
19373
19420
# Grep'ing the first line is not enough: some people post-process
19374
19421
# each Makefile.in and add a new line on top of each file to say so.
19404
19451
# Extract the definition of DEPDIR, am__include, and am__quote
19405
# from the Makefile without running `make'.
19452
# from the Makefile without running 'make'.
19406
19453
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19407
19454
test -z "$DEPDIR" && continue
19408
19455
am__include=`sed -n 's/^am__include = //p' < "$mf"`
19409
test -z "am__include" && continue
19456
test -z "$am__include" && continue
19410
19457
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19411
# When using ansi2knr, U may be empty or an underscore; expand it
19412
U=`sed -n 's/^U = //p' < "$mf"`
19413
19458
# Find all dependency output files, they are included files with
19414
19459
# $(DEPDIR) in their names. We invoke sed twice because it is the
19415
19460
# simplest approach to changing $(DEPDIR) to its actual value in the
19417
19462
for file in `sed -n "
19418
19463
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19419
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19464
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19420
19465
# Make sure the directory exists.
19421
19466
test -f "$dirpart/$file" && continue
19422
19467
fdir=`$as_dirname -- "$file" ||