~ubuntu-branches/debian/jessie/libxp/jessie

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois
  • Date: 2014-08-20 15:54:48 UTC
  • Revision ID: package-import@ubuntu.com-20140820155448-8ihp4l9piaznkvht
Tags: 1:1.0.2-2
Use dh-autoreconf to add support for new architectures (Closes: #751769).
Thanks, Breno Leitao!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
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.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
7
7
#
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
 
10
# Foundation, Inc.
9
11
#
10
12
#
11
13
# This configure script is free software; the Free Software Foundation
134
136
# CDPATH.
135
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
138
 
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.
145
 
BASH_ENV=/dev/null
146
 
ENV=/dev/null
147
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
 
case $- in # ((((
149
 
  *v*x* | *x*v* ) as_opts=-vx ;;
150
 
  *v* ) as_opts=-v ;;
151
 
  *x* ) as_opts=-x ;;
152
 
  * ) as_opts= ;;
153
 
esac
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
158
 
as_fn_exit 255
159
 
  fi
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 :
164
141
  emulate sh
192
169
else
193
170
  exitcode=1; echo positional parameters were not saved.
194
171
fi
195
 
test x\$exitcode = x0 || exit 1
196
 
test -x / || 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'\" &&
246
222
 
247
223
 
248
224
      if test "x$CONFIG_SHELL" != x; then :
249
 
  export CONFIG_SHELL
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.
254
 
BASH_ENV=/dev/null
255
 
ENV=/dev/null
256
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257
 
case $- in # ((((
258
 
  *v*x* | *x*v* ) as_opts=-vx ;;
259
 
  *v* ) as_opts=-v ;;
260
 
  *x* ) as_opts=-x ;;
261
 
  * ) as_opts= ;;
262
 
esac
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
267
 
exit 255
 
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.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
232
        export CONFIG_SHELL
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
268
240
fi
269
241
 
270
242
    if test x$as_have_required = xno; then :
368
340
 
369
341
 
370
342
} # as_fn_mkdir_p
371
 
 
372
 
# as_fn_executable_p FILE
373
 
# -----------------------
374
 
# Test if FILE is an executable regular file.
375
 
as_fn_executable_p ()
376
 
{
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; }
499
463
 
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 ||
540
 
      as_ln_s='cp -pR'
 
500
      as_ln_s='cp -p'
541
501
  elif ln conf$$.file conf$$ 2>/dev/null; then
542
502
    as_ln_s=ln
543
503
  else
544
 
    as_ln_s='cp -pR'
 
504
    as_ln_s='cp -p'
545
505
  fi
546
506
else
547
 
  as_ln_s='cp -pR'
 
507
  as_ln_s='cp -p'
548
508
fi
549
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
510
rmdir conf$$.dir 2>/dev/null
556
516
  as_mkdir_p=false
557
517
fi
558
518
 
559
 
as_test_x='test -x'
560
 
as_executable_p=as_fn_executable_p
 
519
if test -x / >/dev/null 2>&1; then
 
520
  as_test_x='test -x'
 
521
else
 
522
  if ls -dL / >/dev/null 2>&1; then
 
523
    as_ls_L_option=L
 
524
  else
 
525
    as_ls_L_option=
 
526
  fi
 
527
  as_test_x='
 
528
    eval sh -c '\''
 
529
      if test -d "$1"; then
 
530
        test -d "$1/.";
 
531
      else
 
532
        case $1 in #(
 
533
        -*)set "./$1";;
 
534
        esac;
 
535
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
536
        ???[sx]*):;;*)false;;esac;fi
 
537
    '\'' sh
 
538
  '
 
539
fi
 
540
as_executable_p=$as_test_x
561
541
 
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'"
657
637
LD
658
638
FGREP
659
639
LIBTOOL
660
 
AM_BACKSLASH
661
 
AM_DEFAULT_VERBOSITY
662
 
AM_DEFAULT_V
663
 
AM_V
664
640
MAN_SUBSTS
665
641
XORG_MAN_PAGE
666
642
ADMIN_MAN_DIR
685
661
build_cpu
686
662
build
687
663
INSTALL_CMD
688
 
PKG_CONFIG_LIBDIR
689
 
PKG_CONFIG_PATH
690
664
PKG_CONFIG
691
665
CHANGELOG_CMD
692
666
STRICT_CFLAGS
715
689
MAINT
716
690
MAINTAINER_MODE_FALSE
717
691
MAINTAINER_MODE_TRUE
 
692
AM_BACKSLASH
 
693
AM_DEFAULT_VERBOSITY
 
694
AM_DEFAULT_V
 
695
AM_V
718
696
am__untar
719
697
am__tar
720
698
AMTAR
779
757
ac_subst_files=''
780
758
ac_user_opts='
781
759
enable_option_checking
 
760
enable_silent_rules
782
761
enable_maintainer_mode
783
762
enable_dependency_tracking
784
763
enable_selective_werror
785
764
enable_strict_compilation
786
 
enable_silent_rules
787
765
enable_shared
788
766
enable_static
789
767
with_pic
802
780
CPPFLAGS
803
781
CPP
804
782
PKG_CONFIG
805
 
PKG_CONFIG_PATH
806
 
PKG_CONFIG_LIBDIR
807
783
XPRINT_CFLAGS
808
784
XPRINT_LIBS'
809
785
 
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
1266
1244
  fi
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:
1433
1416
                          enabled)
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
1464
 
  PKG_CONFIG_PATH
1465
 
              directories to add to pkg-config's search path
1466
 
  PKG_CONFIG_LIBDIR
1467
 
              path overriding pkg-config's built-in search path
1468
1445
  XPRINT_CFLAGS
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
1537
1514
  cat <<\_ACEOF
1538
1515
libXp configure 1.0.2
1539
 
generated by GNU Autoconf 2.69
 
1516
generated by GNU Autoconf 2.68
1540
1517
 
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.
1544
1521
_ACEOF
1770
1747
         test ! -s conftest.err
1771
1748
       } && test -s conftest$ac_exeext && {
1772
1749
         test "$cross_compiling" = yes ||
1773
 
         test -x conftest$ac_exeext
 
1750
         $as_test_x conftest$ac_exeext
1774
1751
       }; then :
1775
1752
  ac_retval=0
1776
1753
else
1860
1837
running configure, to aid debugging if configure makes a mistake.
1861
1838
 
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
1864
1841
 
1865
1842
  $ $0 $@
1866
1843
 
2212
2189
 
2213
2190
 
2214
2191
# Initialize Automake
2215
 
am__api_version='1.11'
 
2192
am__api_version='1.13'
2216
2193
 
2217
2194
ac_aux_dir=
2218
2195
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2280
2257
    # by default.
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.
2338
2315
 
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; }
2341
 
# Just in case
2342
 
sleep 1
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.
2346
2320
am_lf='
2351
2325
esac
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;;
2355
2329
esac
2356
2330
 
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
2361
2335
# directory).
2362
2336
if (
2363
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2364
 
   if test "$*" = "X"; then
2365
 
      # -L didn't work.
2366
 
      set X `ls -t "$srcdir/configure" conftest.file`
2367
 
   fi
2368
 
   rm -f conftest.file
2369
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2370
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2371
 
 
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
2378
 
   fi
2379
 
 
 
2337
   am_has_slept=no
 
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
 
2342
        # -L didn't work.
 
2343
        set X `ls -t "$srcdir/configure" conftest.file`
 
2344
     fi
 
2345
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2346
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2347
 
 
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
 
2354
     fi
 
2355
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2356
       break
 
2357
     fi
 
2358
     # Just in case.
 
2359
     sleep 1
 
2360
     am_has_slept=yes
 
2361
   done
2380
2362
   test "$2" = conftest.file
2381
2363
   )
2382
2364
then
2388
2370
fi
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.
 
2375
am_sleep_pid=
 
2376
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2377
  ( sleep 1 ) &
 
2378
  am_sleep_pid=$!
 
2379
fi
 
2380
 
 
2381
rm -f conftest.file
 
2382
 
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.
2410
2402
  esac
2411
2403
fi
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 "
2415
2407
else
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;}
2419
2411
fi
2420
2412
 
2421
2413
if test x"${install_sh}" != xset; then
2427
2419
  esac
2428
2420
fi
2429
2421
 
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
2455
2447
    break 2
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
2495
2487
    break 2
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; }
2571
2563
 
2572
 
mkdir_p="$MKDIR_P"
2573
 
case $mkdir_p in
2574
 
  [\\/$]* | ?:[\\/]*) ;;
2575
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2576
 
esac
2577
 
 
2578
2564
for ac_prog in gawk mawk nawk awk
2579
2565
do
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
2599
2585
    break 2
2657
2643
fi
2658
2644
rmdir .tst 2>/dev/null
2659
2645
 
 
2646
# Check whether --enable-silent-rules was given.
 
2647
if test "${enable_silent_rules+set}" = set; then :
 
2648
  enableval=$enable_silent_rules;
 
2649
fi
 
2650
 
 
2651
case $enable_silent_rules in # (((
 
2652
  yes) AM_DEFAULT_VERBOSITY=0;;
 
2653
   no) AM_DEFAULT_VERBOSITY=1;;
 
2654
    *) AM_DEFAULT_VERBOSITY=1;;
 
2655
esac
 
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
 
2661
else
 
2662
  if $as_echo 'TRUE=$(BAR$(V))
 
2663
BAR0=false
 
2664
BAR1=true
 
2665
V=1
 
2666
am__doit:
 
2667
        @$(TRUE)
 
2668
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2669
  am_cv_make_support_nested_variables=yes
 
2670
else
 
2671
  am_cv_make_support_nested_variables=no
 
2672
fi
 
2673
fi
 
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
 
2677
    AM_V='$(V)'
 
2678
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2679
else
 
2680
  AM_V=$AM_DEFAULT_VERBOSITY
 
2681
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2682
fi
 
2683
AM_BACKSLASH='\'
 
2684
 
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."
2707
2732
 
2708
2733
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2709
2734
 
 
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)'
 
2740
 
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}'
2715
2746
 
 
2747
 
 
2748
# We'll loop over all known methods to create a tar archive until one works.
 
2749
_am_tools='gnutar  pax cpio none'
 
2750
 
2716
2751
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2717
2752
 
2718
2753
 
2720
2755
 
2721
2756
 
2722
2757
 
 
2758
 
2723
2759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2724
2760
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2725
2761
    # Check whether --enable-maintainer-mode was given.
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
2846
2882
    break 2
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
2886
2922
    break 2
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
2939
2975
    break 2
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
2980
3016
       continue
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
3038
3074
    break 2
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
3082
3118
    break 2
3522
3558
/* end confdefs.h.  */
3523
3559
#include <stdarg.h>
3524
3560
#include <stdio.h>
3525
 
struct stat;
 
3561
#include <sys/types.h>
 
3562
#include <sys/stat.h>
3526
3563
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3527
3564
struct buf { int x; };
3528
3565
FILE * (*rcsopen) (struct buf *, struct stat *, int);
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
3622
 
  # in D'.
 
3658
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
3659
  # in D".
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
3660
3697
    done
3661
3698
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3662
3699
 
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
3673
3710
      ;;
3674
3711
    nosideeffect)
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
3678
3715
        continue
3679
3716
      else
3681
3718
      fi
3682
3719
      ;;
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}
3881
3918
  return 0;
3882
3919
}
3883
3920
_ACEOF
3884
 
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
 
3921
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3885
3922
do
3886
3923
  CC="$ac_save_CC $ac_arg"
3887
3924
  if ac_fn_c_try_compile "$LINENO"; then :
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
4338
4375
 
4339
4376
 
4340
4377
 
4341
 
 
4342
 
 
4343
 
 
4344
 
 
4345
 
 
4346
4378
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4347
4379
        if test -n "$ac_tool_prefix"; then
4348
4380
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
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
4369
4401
    break 2
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
4412
4444
    break 2
4455
4487
$as_echo "no" >&6; }
4456
4488
                PKG_CONFIG=""
4457
4489
        fi
 
4490
 
4458
4491
fi
4459
4492
# Make sure we can run config.sub.
4460
4493
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
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
4699
4732
 
4700
4733
                CFLAGS="$CFLAGS -Wall"
4701
4734
 
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
4817
4850
 
4818
4851
                CFLAGS="$CFLAGS -Wpointer-arith"
4819
4852
 
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
4935
4968
 
4936
4969
                CFLAGS="$CFLAGS -Wmissing-declarations"
4937
4970
 
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
5053
5086
 
5054
5087
                CFLAGS="$CFLAGS -Wformat=2"
5055
5088
 
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
5061
5094
else
5102
5135
 
5103
5136
                CFLAGS="$CFLAGS -Wformat"
5104
5137
 
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
5222
5255
 
5223
5256
                CFLAGS="$CFLAGS -Wstrict-prototypes"
5224
5257
 
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
5340
5373
 
5341
5374
                CFLAGS="$CFLAGS -Wmissing-prototypes"
5342
5375
 
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
5458
5491
 
5459
5492
                CFLAGS="$CFLAGS -Wnested-externs"
5460
5493
 
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
5576
5609
 
5577
5610
                CFLAGS="$CFLAGS -Wbad-function-cast"
5578
5611
 
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
5694
5727
 
5695
5728
                CFLAGS="$CFLAGS -Wold-style-definition"
5696
5729
 
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
5812
5845
 
5813
5846
                CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5814
5847
 
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
5934
5967
 
5935
5968
                CFLAGS="$CFLAGS -Wunused"
5936
5969
 
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
6052
6085
 
6053
6086
                CFLAGS="$CFLAGS -Wuninitialized"
6054
6087
 
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
6170
6203
 
6171
6204
                CFLAGS="$CFLAGS -Wshadow"
6172
6205
 
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
6288
6321
 
6289
6322
                CFLAGS="$CFLAGS -Wcast-qual"
6290
6323
 
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
6406
6439
 
6407
6440
                CFLAGS="$CFLAGS -Wmissing-noreturn"
6408
6441
 
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
6524
6557
 
6525
6558
                CFLAGS="$CFLAGS -Wmissing-format-attribute"
6526
6559
 
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
6642
6675
 
6643
6676
                CFLAGS="$CFLAGS -Wredundant-decls"
6644
6677
 
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
6772
6805
 
6773
6806
                CFLAGS="$CFLAGS -Werror=implicit"
6774
6807
 
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
6780
6813
else
6821
6854
 
6822
6855
                CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6823
6856
 
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
6829
6862
else
6939
6972
 
6940
6973
                CFLAGS="$CFLAGS -Werror=nonnull"
6941
6974
 
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
6947
6980
else
7057
7090
 
7058
7091
                CFLAGS="$CFLAGS -Werror=init-self"
7059
7092
 
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
7065
7098
else
7175
7208
 
7176
7209
                CFLAGS="$CFLAGS -Werror=main"
7177
7210
 
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
7183
7216
else
7293
7326
 
7294
7327
                CFLAGS="$CFLAGS -Werror=missing-braces"
7295
7328
 
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
7301
7334
else
7411
7444
 
7412
7445
                CFLAGS="$CFLAGS -Werror=sequence-point"
7413
7446
 
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
7419
7452
else
7529
7562
 
7530
7563
                CFLAGS="$CFLAGS -Werror=return-type"
7531
7564
 
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
7537
7570
else
7578
7611
 
7579
7612
                CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7580
7613
 
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
7586
7619
else
7696
7729
 
7697
7730
                CFLAGS="$CFLAGS -Werror=trigraphs"
7698
7731
 
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
7704
7737
else
7814
7847
 
7815
7848
                CFLAGS="$CFLAGS -Werror=array-bounds"
7816
7849
 
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
7822
7855
else
7932
7965
 
7933
7966
                CFLAGS="$CFLAGS -Werror=write-strings"
7934
7967
 
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
7940
7973
else
8050
8083
 
8051
8084
                CFLAGS="$CFLAGS -Werror=address"
8052
8085
 
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
8058
8091
else
8168
8201
 
8169
8202
                CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8170
8203
 
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
8176
8209
else
8217
8250
 
8218
8251
                CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8219
8252
 
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
8225
8258
else
8335
8368
 
8336
8369
                CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8337
8370
 
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
8343
8376
else
8456
8489
 
8457
8490
                CFLAGS="$CFLAGS -Wimplicit"
8458
8491
 
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
8574
8607
 
8575
8608
                CFLAGS="$CFLAGS -Wnonnull"
8576
8609
 
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
8692
8725
 
8693
8726
                CFLAGS="$CFLAGS -Winit-self"
8694
8727
 
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
8810
8843
 
8811
8844
                CFLAGS="$CFLAGS -Wmain"
8812
8845
 
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
8928
8961
 
8929
8962
                CFLAGS="$CFLAGS -Wmissing-braces"
8930
8963
 
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
9046
9079
 
9047
9080
                CFLAGS="$CFLAGS -Wsequence-point"
9048
9081
 
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
9164
9197
 
9165
9198
                CFLAGS="$CFLAGS -Wreturn-type"
9166
9199
 
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
9282
9315
 
9283
9316
                CFLAGS="$CFLAGS -Wtrigraphs"
9284
9317
 
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
9400
9433
 
9401
9434
                CFLAGS="$CFLAGS -Warray-bounds"
9402
9435
 
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
9518
9551
 
9519
9552
                CFLAGS="$CFLAGS -Wwrite-strings"
9520
9553
 
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
9636
9669
 
9637
9670
                CFLAGS="$CFLAGS -Waddress"
9638
9671
 
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
9754
9787
 
9755
9788
                CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9756
9789
 
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
9872
9905
 
9873
9906
                CFLAGS="$CFLAGS -Wpointer-to-int-cast"
9874
9907
 
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
10023
10056
 
10024
10057
                CFLAGS="$CFLAGS -pedantic"
10025
10058
 
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
10141
10174
 
10142
10175
                CFLAGS="$CFLAGS -Werror"
10143
10176
 
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
10190
10223
 
10191
10224
                CFLAGS="$CFLAGS -errwarn"
10192
10225
 
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
10311
10344
 
10312
10345
                CFLAGS="$CFLAGS -Werror=attributes"
10313
10346
 
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
10319
10352
else
10495
10528
  enableval=$enable_silent_rules;
10496
10529
fi
10497
10530
 
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;;
10502
10535
esac
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
10989
11022
    break 2
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
11033
11066
    break 2
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
11457
11490
    break 2
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
11497
11530
    break 2
11617
11650
  fi
11618
11651
  ;;
11619
11652
 
 
11653
gnu*)
 
11654
  lt_cv_deplibs_check_method=pass_all
 
11655
  ;;
 
11656
 
11620
11657
haiku*)
11621
11658
  lt_cv_deplibs_check_method=pass_all
11622
11659
  ;;
11655
11692
  ;;
11656
11693
 
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
11660
11697
  ;;
11661
11698
 
11662
 
netbsd* | netbsdelf*-gnu)
 
11699
netbsd*)
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)$'
11665
11702
  else
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
11799
11836
    break 2
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
11839
11876
    break 2
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
11942
11979
    break 2
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
11986
12023
    break 2
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
12111
12148
    break 2
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
12151
12188
    break 2
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
12210
12247
    break 2
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
12250
12287
    break 2
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
12899
12936
    break 2
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
12939
12976
    break 2
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
13019
13056
    break 2
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
13059
13096
    break 2
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
13111
13148
    break 2
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
13151
13188
    break 2
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
13203
13240
    break 2
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
13243
13280
    break 2
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
13295
13332
    break 2
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
13335
13372
    break 2
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
13387
13424
    break 2
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
13427
13464
    break 2
14310
14347
      lt_prog_compiler_static='-non_shared'
14311
14348
      ;;
14312
14349
 
14313
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
14350
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
14314
14351
      case $cc_basename in
14315
14352
      # old Intel for x86_64 which still supported -KPIC.
14316
14353
      ecc*)
14788
14825
  openbsd*)
14789
14826
    with_gnu_ld=no
14790
14827
    ;;
14791
 
  linux* | k*bsd*-gnu | gnu*)
14792
 
    link_all_deplibs=no
14793
 
    ;;
14794
14828
  esac
14795
14829
 
14796
14830
  ld_shlibs=yes
15012
15046
      fi
15013
15047
      ;;
15014
15048
 
15015
 
    netbsd* | netbsdelf*-gnu)
 
15049
    netbsd*)
15016
15050
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15017
15051
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15018
15052
        wlarc=
15189
15223
        if test "$aix_use_runtimelinking" = yes; then
15190
15224
          shared_flag="$shared_flag "'${wl}-G'
15191
15225
        fi
15192
 
        link_all_deplibs=no
15193
15226
      else
15194
15227
        # not using gcc
15195
15228
        if test "$host_cpu" = ia64; then
15643
15676
      link_all_deplibs=yes
15644
15677
      ;;
15645
15678
 
15646
 
    netbsd* | netbsdelf*-gnu)
 
15679
    netbsd*)
15647
15680
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15648
15681
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15649
15682
      else
16480
16513
  esac
16481
16514
  ;;
16482
16515
 
 
16516
gnu*)
 
16517
  version_type=linux # correct to gnu/linux during the next big refactor
 
16518
  need_lib_prefix=no
 
16519
  need_version=no
 
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
 
16525
  ;;
 
16526
 
16483
16527
haiku*)
16484
16528
  version_type=linux # correct to gnu/linux during the next big refactor
16485
16529
  need_lib_prefix=no
16596
16640
  ;;
16597
16641
 
16598
16642
# This must be glibc/ELF.
16599
 
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
16643
linux* | k*bsd*-gnu | kopensolaris*-gnu)
16600
16644
  version_type=linux # correct to gnu/linux during the next big refactor
16601
16645
  need_lib_prefix=no
16602
16646
  need_version=no
16660
16704
  dynamic_linker='GNU/Linux ld.so'
16661
16705
  ;;
16662
16706
 
16663
 
netbsdelf*-gnu)
16664
 
  version_type=linux
16665
 
  need_lib_prefix=no
16666
 
  need_version=no
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'
16673
 
  ;;
16674
 
 
16675
16707
netbsd*)
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
17663
17694
else
17664
17695
  pkg_failed=yes
17665
17696
fi
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
17680
17710
else
17681
17711
  pkg_failed=yes
17682
17712
fi
17687
17717
 
17688
17718
 
17689
17719
if test $pkg_failed = yes; then
17690
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17691
 
$as_echo "no" >&6; }
17692
17720
 
17693
17721
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17694
17722
        _pkg_short_errors_supported=yes
17696
17724
        _pkg_short_errors_supported=no
17697
17725
fi
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`
17700
17728
        else
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`
17702
17730
        fi
17703
17731
        # Put the nasty error message in config.log where it belongs
17704
17732
        echo "$XPRINT_PKG_ERRORS" >&5
17712
17740
 
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.
 
17744
" "$LINENO" 5
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
17733
17760
        XPRINT_LIBS=$pkg_cv_XPRINT_LIBS
17734
17761
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17735
17762
$as_echo "yes" >&6; }
17736
 
 
 
17763
        :
17737
17764
fi
17738
17765
 
17739
17766
# Check for _XEatDataWords function that may be patched into older Xlib release
17863
17890
LTLIBOBJS=$ac_ltlibobjs
17864
17891
 
17865
17892
 
 
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
 
17898
   fi
 
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 ||
18186
 
      as_ln_s='cp -pR'
 
18221
      as_ln_s='cp -p'
18187
18222
  elif ln conf$$.file conf$$ 2>/dev/null; then
18188
18223
    as_ln_s=ln
18189
18224
  else
18190
 
    as_ln_s='cp -pR'
 
18225
    as_ln_s='cp -p'
18191
18226
  fi
18192
18227
else
18193
 
  as_ln_s='cp -pR'
 
18228
  as_ln_s='cp -p'
18194
18229
fi
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
18251
18286
fi
18252
18287
 
18253
 
 
18254
 
# as_fn_executable_p FILE
18255
 
# -----------------------
18256
 
# Test if FILE is an executable regular file.
18257
 
as_fn_executable_p ()
18258
 
{
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'
 
18290
else
 
18291
  if ls -dL / >/dev/null 2>&1; then
 
18292
    as_ls_L_option=L
 
18293
  else
 
18294
    as_ls_L_option=
 
18295
  fi
 
18296
  as_test_x='
 
18297
    eval sh -c '\''
 
18298
      if test -d "$1"; then
 
18299
        test -d "$1/.";
 
18300
      else
 
18301
        case $1 in #(
 
18302
        -*)set "./$1";;
 
18303
        esac;
 
18304
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
18305
        ???[sx]*):;;*)false;;esac;fi
 
18306
    '\'' sh
 
18307
  '
 
18308
fi
 
18309
as_executable_p=$as_test_x
18263
18310
 
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.
18282
18329
ac_log="
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
18285
18332
 
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\\"
18352
18399
 
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."
18356
18403
 
18441
18488
_ACEOF
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
18445
18492
  shift
18446
18493
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18447
18494
  CONFIG_SHELL='$SHELL'
19355
19402
 
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.
19402
19449
      continue
19403
19450
    fi
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
19416
19461
    # expansion.
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" ||