2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xorg-server 1.15.1.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE
= GREP_OPTIONS
=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir
=.
/$as_dir;;
305 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
309 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs
="'$as_qdir' $as_dirs"
313 as_dir
=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
339 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
374 as_val
=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status
=$1; test $as_status -eq 0 && as_status
=1
388 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit
$as_status
395 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
402 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
414 as_me
=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits
='0123456789'
438 as_cr_alnum
=$as_cr_Letters$as_cr_digits
441 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
442 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x
"$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C
= ECHO_N
= ECHO_T
=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
485 rm -f conf$$ conf$$.exe conf$$.
file
486 if test -d conf$$.dir
; then
487 rm -f conf$$.dir
/conf$$.
file
490 mkdir conf$$.dir
2>/dev
/null
492 if (echo >conf$$.
file) 2>/dev
/null
; then
493 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
501 elif ln conf$$.
file conf$$
2>/dev
/null
; then
509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
510 rmdir conf$$.dir
2>/dev
/null
512 if mkdir
-p .
2>/dev
/null
; then
513 as_mkdir_p
='mkdir -p "$as_dir"'
515 test -d .
/-p && rmdir .
/-p
519 if test -x / >/dev
/null
2>&1; then
522 if ls -dL / >/dev
/null
2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p
=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549 # Use only awk features that work with 7th edition Unix awk (1978).
550 # My, what an old awk you have, Mr. Solaris!
552 while (length(v1) && length(v2)) {
553 # Set d1 to be the next thing to compare from v1, and likewise for d2.
554 # Normally this is a single character, but if v1 and v2 contain digits,
555 # compare them as integers and fractions as strverscmp does.
556 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
557 # Split v1 and v2 into their leading digit string components d1 and d2,
558 # and advance v1 and v2 past the leading digit strings.
559 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
560 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
561 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
562 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
565 # Compare two fractions.
566 while (d1 ~ /^0/ && d2 ~ /^0/) {
567 d1 = substr(d1, 2); len1--
568 d2 = substr(d2, 2); len2--
570 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
571 # The two components differ in length, and the common prefix
572 # contains only leading zeros. Consider the longer to be less.
576 # Otherwise, compare as strings.
581 # A fraction is less than an integer.
586 # An integer is greater than a fraction.
589 # Compare two integers.
595 # The normal case, without worrying about digits.
596 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
597 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
602 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
603 # which mishandles some comparisons of empty strings to integers.
604 if (length(v2)) exit 1
605 if (length(v1)) exit 2
608 SHELL
=${CONFIG_SHELL-/bin/sh}
611 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
616 # so uname gets run too.
617 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
622 ac_default_prefix
=/usr
/local
624 ac_config_libobj_dir
=.
631 # Identity of this package.
632 PACKAGE_NAME
='xorg-server'
633 PACKAGE_TARNAME
='xorg-server'
634 PACKAGE_VERSION
='1.15.1'
635 PACKAGE_STRING
='xorg-server 1.15.1'
636 PACKAGE_BUGREPORT
='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
639 ac_unique_file
="Makefile.am"
640 # Factoring default headers for most tests.
641 ac_includes_default
="\
643 #ifdef HAVE_SYS_TYPES_H
644 # include <sys/types.h>
646 #ifdef HAVE_SYS_STAT_H
647 # include <sys/stat.h>
653 # ifdef HAVE_STDLIB_H
658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
663 #ifdef HAVE_STRINGS_H
664 # include <strings.h>
666 #ifdef HAVE_INTTYPES_H
667 # include <inttypes.h>
676 ac_subst_vars
='am__EXEEXT_FALSE
686 BUILD_KDRIVEFBDEVLIB_FALSE
687 BUILD_KDRIVEFBDEVLIB_TRUE
720 X11EXAMPLES_DEP_CFLAGS
721 XRESEXAMPLES_DEP_LIBS
722 XRESEXAMPLES_DEP_CFLAGS
723 XTSTEXAMPLES_DEP_LIBS
724 XTSTEXAMPLES_DEP_CFLAGS
725 DMXXIEXAMPLES_DEP_LIBS
726 DMXXIEXAMPLES_DEP_CFLAGS
727 DMXXMUEXAMPLES_DEP_LIBS
728 DMXXMUEXAMPLES_DEP_CFLAGS
730 DMXEXAMPLES_DEP_CFLAGS
737 XDMXCONFIG_DEP_CFLAGS
740 STANDALONE_XPBPROXY_FALSE
741 STANDALONE_XPBPROXY_TRUE
742 XQUARTZ_SPARKLE_FALSE
746 am__fastdepOBJC_FALSE
764 XWIN_GLX_WINDOWS_FALSE
765 XWIN_GLX_WINDOWS_TRUE
768 XWIN_MULTIWINDOWEXTWM_FALSE
769 XWIN_MULTIWINDOWEXTWM_TRUE
770 XWIN_MULTIWINDOW_FALSE
771 XWIN_MULTIWINDOW_TRUE
775 KHRONOS_OPENGL_REGISTRY_LIBS
776 KHRONOS_OPENGL_REGISTRY_CFLAGS
788 XORG_BUS_PLATFORM_FALSE
789 XORG_BUS_PLATFORM_TRUE
804 XORG_BUS_BSDPCI_FALSE
859 LD_EXPORT_SYMBOLS_FLAG
885 SERVER_MISC_CONFIG_PATH
886 COMPILEDDEFAULTFONTPATH
930 AIGLX_DRI_LOADER_FALSE
931 AIGLX_DRI_LOADER_TRUE
978 CONFIG_NEED_DBUS_FALSE
979 CONFIG_NEED_DBUS_TRUE
984 CONFIG_DBUS_API_FALSE
990 CONFIG_UDEV_KMS_FALSE
999 INSTALL_LIBXF86CONFIG_FALSE
1000 INSTALL_LIBXF86CONFIG_TRUE
1009 INSTALL_SETUID_FALSE
1014 APPLE_APPLICATION_NAME
1015 APPLE_APPLICATIONS_DIR
1034 BSD_KQUEUE_APM_FALSE
1038 FREEBSD_KLDLOAD_FALSE
1039 FREEBSD_KLDLOAD_TRUE
1046 SPECIAL_DTRACE_OBJECTS_FALSE
1047 SPECIAL_DTRACE_OBJECTS_TRUE
1048 XSERVER_DTRACE_FALSE
1077 am__fastdepCCAS_FALSE
1078 am__fastdepCCAS_TRUE
1084 ENABLE_UNIT_TESTS_FALSE
1085 ENABLE_UNIT_TESTS_TRUE
1086 XORG_MALLOC_DEBUG_ENV
1095 HAVE_XMLTO_TEXT_FALSE
1096 HAVE_XMLTO_TEXT_TRUE
1098 ENABLE_DEVEL_DOCS_FALSE
1099 ENABLE_DEVEL_DOCS_TRUE
1102 HAVE_STYLESHEETS_FALSE
1103 HAVE_STYLESHEETS_TRUE
1115 AM_DEFAULT_VERBOSITY
1177 INSTALL_STRIP_PROGRAM
1219 program_transform_name
1232 enable_option_checking
1233 enable_dependency_tracking
1234 enable_selective_werror
1235 enable_strict_compilation
1255 enable_use_sigio_by_default
1258 with_vendor_name_short
1273 with_default_font_path
1276 with_default_xkb_rules
1277 with_default_xkb_model
1278 with_default_xkb_layout
1279 with_default_xkb_variant
1280 with_default_xkb_options
1281 with_serverconfig_path
1282 with_apple_applications_dir
1283 with_apple_application_name
1284 with_launchd_id_prefix
1285 with_bundle_id_prefix
1287 enable_install_libxf86config
1291 with_khronos_spec_dir
1318 enable_config_udev_kms
1321 enable_config_wscons
1322 enable_xfree86_utils
1337 enable_standalone_xpbproxy
1347 enable_install_setuid
1348 enable_unix_transport
1349 enable_tcp_transport
1351 enable_local_transport
1353 with_shared_memory_dir
1354 enable_xtrans_send_fds
1355 with_xkb_bin_directory
1358 ac_precious_vars
='build_alias
1375 XORG_MALLOC_DEBUG_ENV
1408 XSERVERCFLAGS_CFLAGS
1428 KHRONOS_OPENGL_REGISTRY_CFLAGS
1429 KHRONOS_OPENGL_REGISTRY_LIBS
1434 XDMXCONFIG_DEP_CFLAGS
1436 DMXEXAMPLES_DEP_CFLAGS
1437 DMXEXAMPLES_DEP_LIBS
1438 DMXXMUEXAMPLES_DEP_CFLAGS
1439 DMXXMUEXAMPLES_DEP_LIBS
1440 DMXXIEXAMPLES_DEP_CFLAGS
1441 DMXXIEXAMPLES_DEP_LIBS
1442 XTSTEXAMPLES_DEP_CFLAGS
1443 XTSTEXAMPLES_DEP_LIBS
1444 XRESEXAMPLES_DEP_CFLAGS
1445 XRESEXAMPLES_DEP_LIBS
1446 X11EXAMPLES_DEP_CFLAGS
1447 X11EXAMPLES_DEP_LIBS
1454 # Initialize some variables set by options.
1456 ac_init_version
=false
1457 ac_unrecognized_opts
=
1458 ac_unrecognized_sep
=
1459 # The variables have the same names as the options, with
1460 # dashes changed to underlines.
1461 cache_file
=/dev
/null
1468 program_transform_name
=s
,x
,x
,
1476 # Installation directory options.
1477 # These are left unexpanded so users can "make install exec_prefix=/foo"
1478 # and all the variables that are supposed to be based on exec_prefix
1479 # by default will actually change.
1480 # Use braces instead of parens because sh, perl, etc. also accept them.
1481 # (The list follows the same order as the GNU Coding Standards.)
1482 bindir
='${exec_prefix}/bin'
1483 sbindir
='${exec_prefix}/sbin'
1484 libexecdir
='${exec_prefix}/libexec'
1485 datarootdir
='${prefix}/share'
1486 datadir
='${datarootdir}'
1487 sysconfdir
='${prefix}/etc'
1488 sharedstatedir
='${prefix}/com'
1489 localstatedir
='${prefix}/var'
1490 includedir
='${prefix}/include'
1491 oldincludedir
='/usr/include'
1492 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1493 infodir
='${datarootdir}/info'
1498 libdir
='${exec_prefix}/lib'
1499 localedir
='${datarootdir}/locale'
1500 mandir
='${datarootdir}/man'
1506 # If the previous option needs an argument, assign it.
1507 if test -n "$ac_prev"; then
1508 eval $ac_prev=\
$ac_option
1514 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1519 # Accept the important Cygnus configure options, so we can diagnose typos.
1521 case $ac_dashdash$ac_option in
1525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1528 bindir
=$ac_optarg ;;
1530 -build |
--build |
--buil |
--bui |
--bu)
1531 ac_prev
=build_alias
;;
1532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1533 build_alias
=$ac_optarg ;;
1535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1537 ac_prev
=cache_file
;;
1538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1540 cache_file
=$ac_optarg ;;
1542 --config-cache |
-C)
1543 cache_file
=config.cache
;;
1545 -datadir |
--datadir |
--datadi |
--datad)
1547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1548 datadir
=$ac_optarg ;;
1550 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1551 |
--dataroo |
--dataro |
--datar)
1552 ac_prev
=datarootdir
;;
1553 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1554 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1555 datarootdir
=$ac_optarg ;;
1557 -disable-* |
--disable-*)
1558 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1559 # Reject names that are not valid shell variable names.
1560 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1561 as_fn_error $?
"invalid feature name: $ac_useropt"
1562 ac_useropt_orig
=$ac_useropt
1563 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1564 case $ac_user_opts in
1566 "enable_
$ac_useropt"
1568 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1569 ac_unrecognized_sep
=', ';;
1571 eval enable_
$ac_useropt=no
;;
1573 -docdir |
--docdir |
--docdi |
--doc |
--do)
1575 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1576 docdir
=$ac_optarg ;;
1578 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1580 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1581 dvidir
=$ac_optarg ;;
1583 -enable-* |
--enable-*)
1584 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1585 # Reject names that are not valid shell variable names.
1586 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1587 as_fn_error $?
"invalid feature name: $ac_useropt"
1588 ac_useropt_orig
=$ac_useropt
1589 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1590 case $ac_user_opts in
1592 "enable_
$ac_useropt"
1594 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1595 ac_unrecognized_sep
=', ';;
1597 eval enable_
$ac_useropt=\
$ac_optarg ;;
1599 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1600 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1601 |
--exec |
--exe |
--ex)
1602 ac_prev
=exec_prefix
;;
1603 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1604 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1605 |
--exec=* |
--exe=* |
--ex=*)
1606 exec_prefix
=$ac_optarg ;;
1608 -gas |
--gas |
--ga |
--g)
1609 # Obsolete; use --with-gas.
1612 -help |
--help |
--hel |
--he |
-h)
1613 ac_init_help
=long
;;
1614 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1615 ac_init_help
=recursive
;;
1616 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1617 ac_init_help
=short
;;
1619 -host |
--host |
--hos |
--ho)
1620 ac_prev
=host_alias
;;
1621 -host=* |
--host=* |
--hos=* |
--ho=*)
1622 host_alias
=$ac_optarg ;;
1624 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1626 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1628 htmldir
=$ac_optarg ;;
1630 -includedir |
--includedir |
--includedi |
--included |
--include \
1631 |
--includ |
--inclu |
--incl |
--inc)
1632 ac_prev
=includedir
;;
1633 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1634 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1635 includedir
=$ac_optarg ;;
1637 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1639 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1640 infodir
=$ac_optarg ;;
1642 -libdir |
--libdir |
--libdi |
--libd)
1644 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1645 libdir
=$ac_optarg ;;
1647 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1648 |
--libexe |
--libex |
--libe)
1649 ac_prev
=libexecdir
;;
1650 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1651 |
--libexe=* |
--libex=* |
--libe=*)
1652 libexecdir
=$ac_optarg ;;
1654 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1655 ac_prev
=localedir
;;
1656 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1657 localedir
=$ac_optarg ;;
1659 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1660 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1661 ac_prev
=localstatedir
;;
1662 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1663 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1664 localstatedir
=$ac_optarg ;;
1666 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1668 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1669 mandir
=$ac_optarg ;;
1671 -nfp |
--nfp |
--nf)
1672 # Obsolete; use --without-fp.
1675 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1676 |
--no-cr |
--no-c |
-n)
1679 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1680 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1683 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1684 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1685 |
--oldin |
--oldi |
--old |
--ol |
--o)
1686 ac_prev
=oldincludedir
;;
1687 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1688 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1689 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1690 oldincludedir
=$ac_optarg ;;
1692 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1694 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1695 prefix
=$ac_optarg ;;
1697 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1698 |
--program-pre |
--program-pr |
--program-p)
1699 ac_prev
=program_prefix
;;
1700 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1701 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1702 program_prefix
=$ac_optarg ;;
1704 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1705 |
--program-suf |
--program-su |
--program-s)
1706 ac_prev
=program_suffix
;;
1707 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1708 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1709 program_suffix
=$ac_optarg ;;
1711 -program-transform-name |
--program-transform-name \
1712 |
--program-transform-nam |
--program-transform-na \
1713 |
--program-transform-n |
--program-transform- \
1714 |
--program-transform |
--program-transfor \
1715 |
--program-transfo |
--program-transf \
1716 |
--program-trans |
--program-tran \
1717 |
--progr-tra |
--program-tr |
--program-t)
1718 ac_prev
=program_transform_name
;;
1719 -program-transform-name=* |
--program-transform-name=* \
1720 |
--program-transform-nam=* |
--program-transform-na=* \
1721 |
--program-transform-n=* |
--program-transform-=* \
1722 |
--program-transform=* |
--program-transfor=* \
1723 |
--program-transfo=* |
--program-transf=* \
1724 |
--program-trans=* |
--program-tran=* \
1725 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1726 program_transform_name
=$ac_optarg ;;
1728 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1730 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1731 pdfdir
=$ac_optarg ;;
1733 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1735 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1738 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1739 |
-silent |
--silent |
--silen |
--sile |
--sil)
1742 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1744 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1746 sbindir
=$ac_optarg ;;
1748 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1749 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1750 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1752 ac_prev
=sharedstatedir
;;
1753 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1754 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1755 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1757 sharedstatedir
=$ac_optarg ;;
1759 -site |
--site |
--sit)
1761 -site=* |
--site=* |
--sit=*)
1764 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1766 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1767 srcdir
=$ac_optarg ;;
1769 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1770 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1771 ac_prev
=sysconfdir
;;
1772 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1773 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1774 sysconfdir
=$ac_optarg ;;
1776 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1777 ac_prev
=target_alias
;;
1778 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1779 target_alias
=$ac_optarg ;;
1781 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1784 -version |
--version |
--versio |
--versi |
--vers |
-V)
1785 ac_init_version
=: ;;
1788 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1789 # Reject names that are not valid shell variable names.
1790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1791 as_fn_error $?
"invalid package name: $ac_useropt"
1792 ac_useropt_orig
=$ac_useropt
1793 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1794 case $ac_user_opts in
1798 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1799 ac_unrecognized_sep
=', ';;
1801 eval with_
$ac_useropt=\
$ac_optarg ;;
1803 -without-* |
--without-*)
1804 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1805 # Reject names that are not valid shell variable names.
1806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1807 as_fn_error $?
"invalid package name: $ac_useropt"
1808 ac_useropt_orig
=$ac_useropt
1809 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1810 case $ac_user_opts in
1814 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1815 ac_unrecognized_sep
=', ';;
1817 eval with_
$ac_useropt=no
;;
1820 # Obsolete; use --with-x.
1823 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1824 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1825 ac_prev
=x_includes
;;
1826 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1827 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1828 x_includes
=$ac_optarg ;;
1830 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1831 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1832 ac_prev
=x_libraries
;;
1833 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1834 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1835 x_libraries
=$ac_optarg ;;
1837 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1838 Try \`$0 --help' for more information"
1842 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1843 # Reject names that are not valid shell variable names.
1844 case $ac_envvar in #(
1845 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1846 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1848 eval $ac_envvar=\
$ac_optarg
1849 export $ac_envvar ;;
1852 # FIXME: should be removed in autoconf 3.0.
1853 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1854 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1855 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1856 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1862 if test -n "$ac_prev"; then
1863 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1864 as_fn_error $?
"missing argument to $ac_option"
1867 if test -n "$ac_unrecognized_opts"; then
1868 case $enable_option_checking in
1870 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1871 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1875 # Check all directory arguments for consistency.
1876 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1877 datadir sysconfdir sharedstatedir localstatedir includedir \
1878 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1879 libdir localedir mandir
1881 eval ac_val
=\$
$ac_var
1882 # Remove trailing slashes.
1885 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1886 eval $ac_var=\
$ac_val;;
1888 # Be sure to have absolute directory names.
1890 [\\/$
]* | ?
:[\\/]* ) continue;;
1891 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1893 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1896 # There might be people who depend on the old broken behavior: `$host'
1897 # used to hold the argument of --host etc.
1898 # FIXME: To remove some day.
1901 target
=$target_alias
1903 # FIXME: To remove some day.
1904 if test "x$host_alias" != x
; then
1905 if test "x$build_alias" = x
; then
1906 cross_compiling
=maybe
1907 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1908 If a cross compiler is detected then cross compile mode will be used" >&2
1909 elif test "x$build_alias" != "x$host_alias"; then
1915 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1917 test "$silent" = yes && exec 6>/dev
/null
1920 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1921 ac_ls_di
=`ls -di .` &&
1922 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1923 as_fn_error $?
"working directory cannot be determined"
1924 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1925 as_fn_error $?
"pwd does not report name of working directory"
1928 # Find the source files, if location was not specified.
1929 if test -z "$srcdir"; then
1930 ac_srcdir_defaulted
=yes
1931 # Try the directory containing this script, then the parent directory.
1932 ac_confdir
=`$as_dirname -- "$as_myself" ||
1933 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1934 X"$as_myself" : 'X\(//\)[^/]' \| \
1935 X"$as_myself" : 'X\(//\)$' \| \
1936 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1937 $as_echo X"$as_myself" |
1938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1956 if test ! -r "$srcdir/$ac_unique_file"; then
1960 ac_srcdir_defaulted
=no
1962 if test ! -r "$srcdir/$ac_unique_file"; then
1963 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1964 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1966 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1968 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1970 # When building in place, set srcdir=.
1971 if test "$ac_abs_confdir" = "$ac_pwd"; then
1974 # Remove unnecessary trailing slashes from srcdir.
1975 # Double slashes in file names in object file debugging info
1976 # mess up M-x gdb in Emacs.
1978 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1980 for ac_var
in $ac_precious_vars; do
1981 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1982 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1983 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1984 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1988 # Report the --help message.
1990 if test "$ac_init_help" = "long"; then
1991 # Omit some internal or obsolete options to make the list less imposing.
1992 # This message is too long to be a string in the A/UX 3.1 sh.
1994 \`configure' configures xorg-server 1.15.1 to adapt to many kinds of systems.
1996 Usage: $0 [OPTION]... [VAR=VALUE]...
1998 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1999 VAR=VALUE. See below for descriptions of some of the useful variables.
2001 Defaults for the options are specified in brackets.
2004 -h, --help display this help and exit
2005 --help=short display options specific to this package
2006 --help=recursive display the short help of all the included packages
2007 -V, --version display version information and exit
2008 -q, --quiet, --silent do not print \`checking ...' messages
2009 --cache-file=FILE cache test results in FILE [disabled]
2010 -C, --config-cache alias for \`--cache-file=config.cache'
2011 -n, --no-create do not create output files
2012 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2014 Installation directories:
2015 --prefix=PREFIX install architecture-independent files in PREFIX
2016 [$ac_default_prefix]
2017 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2020 By default, \`make install' will install all the files in
2021 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2022 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2023 for instance \`--prefix=\$HOME'.
2025 For better control, use the options below.
2027 Fine tuning of the installation directories:
2028 --bindir=DIR user executables [EPREFIX/bin]
2029 --sbindir=DIR system admin executables [EPREFIX/sbin]
2030 --libexecdir=DIR program executables [EPREFIX/libexec]
2031 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2032 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2033 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2034 --libdir=DIR object code libraries [EPREFIX/lib]
2035 --includedir=DIR C header files [PREFIX/include]
2036 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2037 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2038 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2039 --infodir=DIR info documentation [DATAROOTDIR/info]
2040 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2041 --mandir=DIR man documentation [DATAROOTDIR/man]
2042 --docdir=DIR documentation root [DATAROOTDIR/doc/xorg-server]
2043 --htmldir=DIR html documentation [DOCDIR]
2044 --dvidir=DIR dvi documentation [DOCDIR]
2045 --pdfdir=DIR pdf documentation [DOCDIR]
2046 --psdir=DIR ps documentation [DOCDIR]
2052 --program-prefix=PREFIX prepend PREFIX to installed program names
2053 --program-suffix=SUFFIX append SUFFIX to installed program names
2054 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
2057 --build=BUILD configure
for building on BUILD
[guessed
]
2058 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2062 if test -n "$ac_init_help"; then
2063 case $ac_init_help in
2064 short | recursive
) echo "Configuration of xorg-server 1.15.1:";;
2069 --disable-option-checking ignore unrecognized
--enable/--with options
2070 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2071 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2072 --disable-dependency-tracking speeds up one-time build
2073 --enable-dependency-tracking do not reject slow dependency extractors
2074 --disable-selective-werror
2075 Turn off selective compiler errors.
(default
:
2077 --enable-strict-compilation
2078 Enable all warnings from compiler and
make them
2079 errors
(default
: disabled
)
2080 --enable-silent-rules less verbose build output
(undo
: `make V=1')
2081 --disable-silent-rules verbose build output (undo: `make V
=0')
2082 --enable-docs Enable building the documentation (default: yes)
2083 --enable-devel-docs Enable building the developer documentation
2085 --enable-unit-tests Enable building unit test cases (default: auto)
2086 --enable-static[=PKGS] build static libraries [default=no]
2087 --enable-shared[=PKGS] build shared libraries [default=yes]
2088 --enable-fast-install[=PKGS]
2089 optimize for fast installation [default=yes]
2090 --disable-libtool-lock avoid locking (might break parallel builds)
2091 --disable-largefile omit support for large files
2092 --enable-werror Obsolete - use --enable-strict-compilation instead
2093 --enable-debug Enable debugging (default: disabled)
2094 --enable-use-sigio-by-default
2095 Enable SIGIO input handlers by default (default: $USE_SIGIO_BY_DEFAULT)
2097 --enable-sparkle Enable updating of X11.app using the Sparkle
2098 Framework (default: disabled)
2099 --enable-install-libxf86config
2100 Install libxf86config (default: disabled)
2101 --enable-visibility Enable symbol visibility (default: auto)
2102 --enable-aiglx Build accelerated indirect GLX (default: enabled)
2103 --enable-glx-tls Build GLX with TLS support (default: auto)
2104 --disable-registry Build string registry module (default: enabled)
2105 --disable-composite Build Composite extension (default: enabled)
2106 --disable-mitshm Build SHM extension (default: auto)
2107 --disable-xres Build XRes extension (default: enabled)
2108 --disable-record Build Record extension (default: enabled)
2109 --disable-xv Build Xv extension (default: enabled)
2110 --disable-xvmc Build XvMC extension (default: enabled)
2111 --disable-dga Build DGA extension (default: auto)
2112 --disable-screensaver Build ScreenSaver extension (default: enabled)
2113 --disable-xdmcp Build XDMCP extension (default: auto)
2114 --disable-xdm-auth-1 Build XDM-Auth-1 extension (default: auto)
2115 --disable-glx Build GLX extension (default: enabled)
2116 --enable-dri Build DRI extension (default: auto)
2117 --enable-dri2 Build DRI2 extension (default: auto)
2118 --enable-dri3 Build DRI3 extension (default: auto)
2119 --disable-present Build Present extension (default: enabled)
2120 --disable-xinerama Build Xinerama extension (default: enabled)
2121 --disable-xf86vidmode Build XF86VidMode extension (default: auto)
2122 --disable-xace Build X-ACE extension (default: enabled)
2123 --enable-xselinux Build SELinux extension (default: disabled)
2124 --enable-xcsecurity Build Security extension (default: disabled)
2125 --enable-tslib Build kdrive tslib touchscreen support (default:
2127 --disable-dbe Build DBE extension (default: enabled)
2128 --enable-xf86bigfont Build XF86 Big Font extension (default: disabled)
2129 --disable-dpms Build DPMS extension (default: enabled)
2130 --enable-config-udev Build udev support (default: auto)
2131 --enable-config-udev-kms
2132 Build udev kms support (default: auto)
2133 --enable-config-dbus Build D-BUS API support (default: no)
2134 --disable-config-hal Build HAL support (default: auto)
2135 --enable-config-wscons Build wscons config support (default: auto)
2136 --enable-xfree86-utils Build xfree86 DDX utilities (default: enabled)
2137 --enable-vgahw Build Xorg with vga access (default: enabled)
2138 --enable-vbe Build Xorg with VBE module (default: enabled)
2139 --enable-int10-module Build Xorg with int10 module (default: enabled)
2140 --enable-windowswm Build XWin with WindowsWM extension (default: no)
2141 --enable-libdrm Build Xorg with libdrm support (default: enabled)
2142 --disable-clientids Build Xorg with client ID tracking (default:
2144 --enable-pciaccess Build Xorg with pciaccess library (default: enabled)
2145 --disable-linux-acpi Disable building ACPI support on Linux (if
2147 --disable-linux-apm Disable building APM support on Linux (if
2149 --enable-xorg Build Xorg server (default: auto)
2150 --enable-dmx Build DMX server (default: auto)
2151 --enable-xvfb Build Xvfb server (default: yes)
2152 --enable-xnest Build Xnest server (default: auto)
2153 --enable-xquartz Build Xquartz server for OS-X (default: auto)
2154 --enable-standalone-xpbproxy
2155 Build a standalone xpbproxy (in addition to the one
2156 integrated into Xquartz as a separate thread)
2158 --enable-xwin Build XWin server (default: auto)
2159 --enable-kdrive Build kdrive servers (default: no)
2160 --enable-xephyr Build the kdrive Xephyr server (default: auto)
2161 --enable-xfake Build the kdrive 'fake
' server (default: auto)
2162 --enable-xfbdev Build the kdrive framebuffer device server (default:
2164 --enable-kdrive-kbd Build kbd driver for kdrive (default: auto)
2165 --enable-kdrive-mouse Build mouse driver for kdrive (default: auto)
2166 --enable-kdrive-evdev Build evdev driver for kdrive (default: auto)
2167 --enable-libunwind Use libunwind for backtracing (default: auto)
2168 --enable-install-setuid Install Xorg server as owned by root with setuid bit
2170 --enable-unix-transport Enable UNIX domain socket transport
2171 --enable-tcp-transport Enable TCP socket transport
2172 --enable-ipv6 Enable IPv6 support
2173 --enable-local-transport
2174 Enable os-specific local transport
2175 --enable-secure-rpc Enable Secure RPC
2176 --disable-xtrans-send-fds
2177 Use Xtrans support for fd passing (default: auto)
2180 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2181 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2182 --with-doxygen Use doxygen to regenerate documentation (default:
2184 --with-xmlto Use xmlto to regenerate documentation (default:
2186 --with-fop Use fop to regenerate documentation (default: auto)
2187 --with-xsltproc Use xsltproc for the transformation of XML documents
2189 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2191 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2192 --with-sysroot=DIR Search for dependent libraries within DIR
2193 (or the compiler's sysroot
if not specified
).
2194 --with-dtrace=PATH Enable dtrace probes
(default
: enabled
if dtrace
2196 --with-int10=BACKEND int10 backend
: vm86
, x86emu or stub
2197 --with-vendor-name=VENDOR
2198 Vendor string reported by the server
2199 --with-vendor-name-short=VENDOR
2200 Short version of vendor string reported by the
2202 --with-vendor-web=URL Vendor web address reported by the server
2203 --with-module-dir=DIR Directory where modules are installed
(default
:
2204 $libdir/xorg
/modules
)
2205 --with-log-dir=DIR Directory where log files are kept
(default
:
2207 --with-builder-addr=ADDRESS
2208 Builder address
(default
:
2209 xorg@lists.freedesktop.org
)
2210 --with-os-name=OSNAME Name of OS
(default
: output of
"uname -srm")
2211 --with-os-vendor=OSVENDOR
2213 --with-builderstring=BUILDERSTRING
2214 Additional builder string
2215 --with-fontrootdir=DIR Path to root directory
for font files
2216 --with-fontmiscdir=DIR Path to misc files
[FONTROOTDIR
/misc
]
2217 --with-fontotfdir=DIR Path to OTF files
[FONTROOTDIR
/OTF
]
2218 --with-fontttfdir=DIR Path to TTF files
[FONTROOTDIR
/TTF
]
2219 --with-fonttype1dir=DIR Path to Type1 files
[FONTROOTDIR
/Type1
]
2220 --with-font75dpidir=DIR Path to
75dpi files
[FONTROOTDIR
/75dpi
]
2221 --with-font100dpidir=DIR
2222 Path to
100dpi files
[FONTROOTDIR
/100dpi
]
2223 --with-default-font-path=PATH
2224 Comma separated list of font
dirs
2225 --with-xkb-path=PATH Path to XKB base dir
(default
: ${datadir}/X11
/xkb
)
2226 --with-xkb-output=PATH Path to XKB output dir
(default
:
2227 ${datadir}/X11
/xkb
/compiled
)
2228 --with-default-xkb-rules=RULES
2229 Keyboard ruleset
(default
: base
/evdev
)
2230 --with-default-xkb-model=MODEL
2231 Keyboard model
(default
: pc105
)
2232 --with-default-xkb-layout=LAYOUT
2233 Keyboard layout
(default
: us
)
2234 --with-default-xkb-variant=VARIANT
2235 Keyboard variant
(default
: (none
))
2236 --with-default-xkb-options=OPTIONS
2237 Keyboard layout options
(default
: (none
))
2238 --with-serverconfig-path=PATH
2239 Directory where ancillary server config files are
2240 installed
(default
: ${libdir}/xorg
)
2241 --with-apple-applications-dir=PATH
2242 Path to the Applications directory
(default
:
2243 /Applications
/Utilities
)
2244 --with-apple-application-name=NAME
2245 Name
for the .app
(default
: X11
)
2246 --with-launchd-id-prefix=PATH
2247 Deprecated
: Use
--with-bundle-id-prefix.
2248 --with-bundle-id-prefix=PATH
2249 Prefix to use
for bundle identifiers
(default
:
2251 --with-khronos-spec-dir=PATH
2252 Path to Khronos OpenGL registry database files
2254 --with-shared-memory-dir=PATH
2255 Path to directory
in a world-writable temporary
2256 directory
for anonymous shared memory
(default
:
2258 --with-xkb-bin-directory=DIR
2259 Directory containing xkbcomp program
2260 --with-sha1=libc|libmd|libnettle|libgcrypt|libcrypto|libsha1|CommonCrypto|CryptoAPI
2261 choose SHA1 implementation
2263 Some influential environment variables
:
2264 CC C compiler
command
2265 CFLAGS C compiler flags
2266 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
2267 nonstandard directory
<lib dir
>
2268 LIBS libraries to pass to the linker
, e.g.
-l<library
>
2269 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
2270 you have headers
in a nonstandard directory
<include dir
>
2272 PKG_CONFIG path to pkg-config utility
2274 directories to add to pkg-config
's search path
2276 path overriding pkg-config's built-in search path
2277 DOXYGEN Path to doxygen
command
2278 DOT Path to the dot graphics utility
2279 XMLTO Path to xmlto
command
2280 FOP Path to fop
command
2281 XSLTPROC Path to xsltproc
command
2282 XORG_MALLOC_DEBUG_ENV
2283 Environment variables to
enable memory checking
in tests
2284 CCAS assembler compiler
command (defaults to CC
)
2285 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
2286 YACC The
`Yet Another Compiler Compiler' implementation to use.
2287 Defaults to the first program found out of: `bison
-y', `byacc',
2289 YFLAGS The list of arguments that will be passed by default to $YACC.
2290 This script will default YFLAGS to the empty string to avoid a
2291 default value of `-d' given by some make applications.
2293 C compiler flags for PIXMAN, overriding pkg-config
2294 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2295 UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
2296 UDEV_LIBS linker flags for UDEV, overriding pkg-config
2297 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2298 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2299 HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
2300 HAL_LIBS linker flags for HAL, overriding pkg-config
2302 C compiler flags for DRI2PROTO, overriding pkg-config
2304 linker flags for DRI2PROTO, overriding pkg-config
2306 C compiler flags for DRI3PROTO, overriding pkg-config
2308 linker flags for DRI3PROTO, overriding pkg-config
2310 C compiler flags for XSHMFENCE, overriding pkg-config
2312 linker flags for XSHMFENCE, overriding pkg-config
2314 C compiler flags for LIBDRM, overriding pkg-config
2315 LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
2316 XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
2317 XLIB_LIBS linker flags for XLIB, overriding pkg-config
2318 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2319 GL_LIBS linker flags for GL, overriding pkg-config
2321 C compiler flags for SELINUX, overriding pkg-config
2323 linker flags for SELINUX, overriding pkg-config
2325 C compiler flags for XDMCP, overriding pkg-config
2326 XDMCP_LIBS linker flags for XDMCP, overriding pkg-config
2328 C compiler flags for LIBSHA1, overriding pkg-config
2330 linker flags for LIBSHA1, overriding pkg-config
2332 C compiler flags for OPENSSL, overriding pkg-config
2334 linker flags for OPENSSL, overriding pkg-config
2335 XSERVERCFLAGS_CFLAGS
2336 C compiler flags for XSERVERCFLAGS, overriding pkg-config
2338 linker flags for XSERVERCFLAGS, overriding pkg-config
2340 C compiler flags for XSERVERLIBS, overriding pkg-config
2342 linker flags for XSERVERLIBS, overriding pkg-config
2344 C compiler flags for LIBUNWIND, overriding pkg-config
2346 linker flags for LIBUNWIND, overriding pkg-config
2348 C compiler flags for XNESTMODULES, overriding pkg-config
2350 linker flags for XNESTMODULES, overriding pkg-config
2352 C compiler flags for PCIACCESS, overriding pkg-config
2354 linker flags for PCIACCESS, overriding pkg-config
2355 DGA_CFLAGS C compiler flags for DGA, overriding pkg-config
2356 DGA_LIBS linker flags for DGA, overriding pkg-config
2358 C compiler flags for XF86VIDMODE, overriding pkg-config
2360 linker flags for XF86VIDMODE, overriding pkg-config
2362 C compiler flags for XORG_MODULES, overriding pkg-config
2364 linker flags for XORG_MODULES, overriding pkg-config
2366 C compiler flags for XWINMODULES, overriding pkg-config
2368 linker flags for XWINMODULES, overriding pkg-config
2370 C compiler flags for WINDOWSWM, overriding pkg-config
2372 linker flags for WINDOWSWM, overriding pkg-config
2373 KHRONOS_OPENGL_REGISTRY_CFLAGS
2374 C compiler flags for KHRONOS_OPENGL_REGISTRY, overriding
2376 KHRONOS_OPENGL_REGISTRY_LIBS
2377 linker flags for KHRONOS_OPENGL_REGISTRY, overriding pkg-config
2379 C compiler flags for XPBPROXY, overriding pkg-config
2381 linker flags for XPBPROXY, overriding pkg-config
2383 C compiler flags for DMXMODULES, overriding pkg-config
2385 linker flags for DMXMODULES, overriding pkg-config
2386 XDMXCONFIG_DEP_CFLAGS
2387 C compiler flags for XDMXCONFIG_DEP, overriding pkg-config
2389 linker flags for XDMXCONFIG_DEP, overriding pkg-config
2390 DMXEXAMPLES_DEP_CFLAGS
2391 C compiler flags for DMXEXAMPLES_DEP, overriding pkg-config
2392 DMXEXAMPLES_DEP_LIBS
2393 linker flags for DMXEXAMPLES_DEP, overriding pkg-config
2394 DMXXMUEXAMPLES_DEP_CFLAGS
2395 C compiler flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
2396 DMXXMUEXAMPLES_DEP_LIBS
2397 linker flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
2398 DMXXIEXAMPLES_DEP_CFLAGS
2399 C compiler flags for DMXXIEXAMPLES_DEP, overriding pkg-config
2400 DMXXIEXAMPLES_DEP_LIBS
2401 linker flags for DMXXIEXAMPLES_DEP, overriding pkg-config
2402 XTSTEXAMPLES_DEP_CFLAGS
2403 C compiler flags for XTSTEXAMPLES_DEP, overriding pkg-config
2404 XTSTEXAMPLES_DEP_LIBS
2405 linker flags for XTSTEXAMPLES_DEP, overriding pkg-config
2406 XRESEXAMPLES_DEP_CFLAGS
2407 C compiler flags for XRESEXAMPLES_DEP, overriding pkg-config
2408 XRESEXAMPLES_DEP_LIBS
2409 linker flags for XRESEXAMPLES_DEP, overriding pkg-config
2410 X11EXAMPLES_DEP_CFLAGS
2411 C compiler flags for X11EXAMPLES_DEP, overriding pkg-config
2412 X11EXAMPLES_DEP_LIBS
2413 linker flags for X11EXAMPLES_DEP, overriding pkg-config
2415 C compiler flags for TSLIB, overriding pkg-config
2416 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
2418 C compiler flags for XEPHYR, overriding pkg-config
2419 XEPHYR_LIBS linker flags for XEPHYR, overriding pkg-config
2421 Use these variables to override the choices made by `configure' or to
help
2422 it to
find libraries and programs with nonstandard names
/locations.
2424 Report bugs to
<https
://bugs.freedesktop.org
/enter_bug.cgi?product
=xorg
>.
2429 if test "$ac_init_help" = "recursive"; then
2430 # If there are subdirs, report their specific --help.
2431 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2432 test -d "$ac_dir" ||
2433 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2438 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2440 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2441 # A ".." for each directory in $ac_dir_suffix.
2442 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2443 case $ac_top_builddir_sub in
2444 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2445 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2448 ac_abs_top_builddir
=$ac_pwd
2449 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2450 # for backward compatibility:
2451 ac_top_builddir
=$ac_top_build_prefix
2454 .
) # We are building in place.
2456 ac_top_srcdir
=$ac_top_builddir_sub
2457 ac_abs_top_srcdir
=$ac_pwd ;;
2458 [\\/]* | ?
:[\\/]* ) # Absolute name.
2459 ac_srcdir
=$srcdir$ac_dir_suffix;
2460 ac_top_srcdir
=$srcdir
2461 ac_abs_top_srcdir
=$srcdir ;;
2463 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2464 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2465 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2467 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2469 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2470 # Check for guested configure.
2471 if test -f "$ac_srcdir/configure.gnu"; then
2473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2474 elif test -f "$ac_srcdir/configure"; then
2476 $SHELL "$ac_srcdir/configure" --help=recursive
2478 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2480 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2484 test -n "$ac_init_help" && exit $ac_status
2485 if $ac_init_version; then
2487 xorg-server configure
1.15.1
2488 generated by GNU Autoconf
2.68
2490 Copyright
(C
) 2010 Free Software Foundation
, Inc.
2491 This configure
script is free software
; the Free Software Foundation
2492 gives unlimited permission to copy
, distribute and modify it.
2497 ## ------------------------ ##
2498 ## Autoconf initialization. ##
2499 ## ------------------------ ##
2501 # ac_fn_c_try_compile LINENO
2502 # --------------------------
2503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_c_try_compile
()
2506 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2507 rm -f conftest.
$ac_objext
2508 if { { ac_try
="$ac_compile"
2510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_compile") 2>conftest.err
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_c_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest.$ac_objext; then :
2529 $as_echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 as_fn_set_status $ac_retval
2537 } # ac_fn_c_try_compile
2539 # ac_fn_c_try_cpp LINENO
2540 # ----------------------
2541 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2545 if { { ac_try="$ac_cpp conftest.$ac_ext"
2547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2548 *) ac_try_echo
=$ac_try;;
2550 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2551 $as_echo "$ac_try_echo"; } >&5
2552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2554 if test -s conftest.err
; then
2555 grep -v '^ *+' conftest.err
>conftest.er1
2556 cat conftest.er1
>&5
2557 mv -f conftest.er1 conftest.err
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; } > conftest.i
&& {
2561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2562 test ! -s conftest.err
2566 $as_echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 as_fn_set_status
$ac_retval
2576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2577 # -------------------------------------------------------
2578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2579 # the include files in INCLUDES and setting the cache variable VAR
2581 ac_fn_c_check_header_mongrel
()
2583 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2584 if eval \
${$3+:} false
; then :
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2586 $as_echo_n "checking for $2... " >&6; }
2587 if eval \
${$3+:} false
; then :
2588 $as_echo_n "(cached) " >&6
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2594 # Is the header compilable?
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2596 $as_echo_n "checking $2 usability... " >&6; }
2597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2602 if ac_fn_c_try_compile
"$LINENO"; then :
2603 ac_header_compiler
=yes
2605 ac_header_compiler
=no
2607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2609 $as_echo "$ac_header_compiler" >&6; }
2611 # Is the header present?
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2613 $as_echo_n "checking $2 presence... " >&6; }
2614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2618 if ac_fn_c_try_cpp
"$LINENO"; then :
2619 ac_header_preproc
=yes
2621 ac_header_preproc
=no
2623 rm -f conftest.err conftest.i conftest.
$ac_ext
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2625 $as_echo "$ac_header_preproc" >&6; }
2627 # So? What about this header?
2628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2639 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2643 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2646 ( $as_echo "## ---------------------------------------------------------------------- ##
2647 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
2648 ## ---------------------------------------------------------------------- ##"
2649 ) |
sed "s/^/$as_me: WARNING: /" >&2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2653 $as_echo_n "checking for $2... " >&6; }
2654 if eval \
${$3+:} false
; then :
2655 $as_echo_n "(cached) " >&6
2657 eval "$3=\$ac_header_compiler"
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2661 $as_echo "$ac_res" >&6; }
2663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 } # ac_fn_c_check_header_mongrel
2667 # ac_fn_c_try_run LINENO
2668 # ----------------------
2669 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2670 # that executables *can* be run.
2673 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2674 if { { ac_try
="$ac_link"
2676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681 (eval "$ac_link") 2>&5
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2685 { { case "(($ac_try" in
2686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2687 *) ac_try_echo
=$ac_try;;
2689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_try") 2>&5
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; }; then :
2697 $as_echo "$as_me: program exited with status $ac_status" >&5
2698 $as_echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.
$ac_ext >&5
2701 ac_retval
=$ac_status
2703 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2705 as_fn_set_status
$ac_retval
2709 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2710 # -------------------------------------------------------
2711 # Tests whether HEADER exists and can be compiled using the include files in
2712 # INCLUDES, setting the cache variable VAR accordingly.
2713 ac_fn_c_check_header_compile
()
2715 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2717 $as_echo_n "checking for $2... " >&6; }
2718 if eval \
${$3+:} false
; then :
2719 $as_echo_n "(cached) " >&6
2721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2726 if ac_fn_c_try_compile
"$LINENO"; then :
2731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2735 $as_echo "$ac_res" >&6; }
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 } # ac_fn_c_check_header_compile
2740 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2741 # ---------------------------------------------
2742 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2744 ac_fn_c_check_decl
()
2746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2747 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2748 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2750 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2751 if eval \
${$3+:} false
; then :
2752 $as_echo_n "(cached) " >&6
2754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2760 #ifndef $as_decl_name
2762 (void) $as_decl_use;
2764 (void) $as_decl_name;
2772 if ac_fn_c_try_compile
"$LINENO"; then :
2777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2781 $as_echo "$ac_res" >&6; }
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 } # ac_fn_c_check_decl
2786 # ac_fn_c_try_link LINENO
2787 # -----------------------
2788 # Try to link conftest.$ac_ext, and return whether this succeeded.
2791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2792 rm -f conftest.
$ac_objext conftest
$ac_exeext
2793 if { { ac_try
="$ac_link"
2795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_link") 2>conftest.err
2802 if test -s conftest.err; then
2803 grep -v '^ *+' conftest.err >conftest.er1
2804 cat conftest.er1 >&5
2805 mv -f conftest.er1 conftest.err
2807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808 test $ac_status = 0; } && {
2809 test -z "$ac_c_werror_flag" ||
2810 test ! -s conftest.err
2811 } && test -s conftest$ac_exeext && {
2812 test "$cross_compiling" = yes ||
2813 $as_test_x conftest$ac_exeext
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.$ac_ext >&5
2822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2824 # interfere with the next link command; also delete a directory that is
2825 # left behind by Apple's compiler. We do this before executing the actions.
2826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 as_fn_set_status $ac_retval
2830 } # ac_fn_c_try_link
2832 # ac_fn_c_check_func LINENO FUNC VAR
2833 # ----------------------------------
2834 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2835 ac_fn_c_check_func ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2839 $as_echo_n "checking for $2... " >&6; }
2840 if eval \${$3+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2847 #define $2 innocuous_$2
2849 /* System header to define __stub macros and hopefully few prototypes,
2850 which can conflict with char $2 (); below.
2851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2852 <limits.h> exists even on freestanding compilers. */
2855 # include <limits.h>
2857 # include <assert.h>
2862 /* Override any GCC internal prototype to avoid an error.
2863 Use char because int might match the return type of a GCC
2864 builtin and then its argument prototype would still apply. */
2869 /* The GNU C library defines this for functions which it implements
2870 to always fail with ENOSYS. Some functions are actually named
2871 something starting with __ and the normal name is an alias. */
2872 #if defined __stub_$2 || defined __stub___$2
2884 if ac_fn_c_try_link "$LINENO"; then :
2889 rm -f core conftest.err conftest.$ac_objext \
2890 conftest$ac_exeext conftest.$ac_ext
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2894 $as_echo "$ac_res" >&6; }
2895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897 } # ac_fn_c_check_func
2899 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2900 # --------------------------------------------
2901 # Tries to find the compile-time value of EXPR in a program that includes
2902 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2904 ac_fn_c_compute_int ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 if test "$cross_compiling" = yes; then
2908 # Depending upon the size, compute the lo and hi bounds.
2909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2910 /* end confdefs.h. */
2915 static int test_array [1 - 2 * !(($2) >= 0)];
2922 if ac_fn_c_try_compile "$LINENO"; then :
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2931 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2938 if ac_fn_c_try_compile "$LINENO"; then :
2939 ac_hi=$ac_mid; break
2941 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2942 if test $ac_lo -le $ac_mid; then
2946 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2957 static int test_array [1 - 2 * !(($2) < 0)];
2964 if ac_fn_c_try_compile "$LINENO"; then :
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2973 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2980 if ac_fn_c_try_compile "$LINENO"; then :
2981 ac_lo=$ac_mid; break
2983 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2984 if test $ac_mid -le $ac_hi; then
2988 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 # Binary search between lo and hi bounds.
2999 while test "x$ac_lo" != "x$ac_hi"; do
3000 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3007 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3014 if ac_fn_c_try_compile "$LINENO"; then :
3017 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3029 static long int longval () { return $2; }
3030 static unsigned long int ulongval () { return $2; }
3037 FILE *f = fopen ("conftest.val", "w");
3042 long int i = longval ();
3045 fprintf (f, "%ld", i);
3049 unsigned long int i = ulongval ();
3052 fprintf (f, "%lu", i);
3054 /* Do not output a trailing newline, as this causes \r\n confusion
3055 on some platforms. */
3056 return ferror (f) || fclose (f) != 0;
3062 if ac_fn_c_try_run "$LINENO"; then :
3063 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3068 conftest.$ac_objext conftest.beam conftest.$ac_ext
3072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3073 as_fn_set_status $ac_retval
3075 } # ac_fn_c_compute_int
3077 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3078 # -------------------------------------------
3079 # Tests whether TYPE exists after having included INCLUDES, setting cache
3080 # variable VAR accordingly.
3081 ac_fn_c_check_type ()
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3085 $as_echo_n "checking for $2... " >&6; }
3086 if eval \${$3+:} false; then :
3087 $as_echo_n "(cached) " >&6
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3102 if ac_fn_c_try_compile "$LINENO"; then :
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3115 if ac_fn_c_try_compile "$LINENO"; then :
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3126 $as_echo "$ac_res" >&6; }
3127 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3129 } # ac_fn_c_check_type
3131 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3132 # ----------------------------------------------------
3133 # Tries to find if the field MEMBER exists in type AGGR, after including
3134 # INCLUDES, setting cache variable VAR accordingly.
3135 ac_fn_c_check_member ()
3137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3139 $as_echo_n "checking for $2.$3... " >&6; }
3140 if eval \${$4+:} false; then :
3141 $as_echo_n "(cached) " >&6
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3156 if ac_fn_c_try_compile "$LINENO"; then :
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3166 if (sizeof ac_aggr.$3)
3172 if ac_fn_c_try_compile "$LINENO"; then :
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3183 $as_echo "$ac_res" >&6; }
3184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3186 } # ac_fn_c_check_member
3187 cat >config.log <<_ACEOF
3188 This file contains any messages produced by compilers while
3189 running configure, to aid debugging if configure makes a mistake.
3191 It was created by xorg-server $as_me 1.15.1, which was
3192 generated by GNU Autoconf 2.68. Invocation command line was
3204 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
3205 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
3206 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
3207 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
3208 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
3210 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
3211 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
3213 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
3214 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
3215 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
3216 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
3217 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
3218 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
3219 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 $as_echo "PATH: $as_dir"
3244 # Keep a trace of the command line.
3245 # Strip out --no-create and --no-recursion so they do not pile up.
3246 # Strip out --silent because we don't want to record it for future runs.
3247 # Also quote any args containing shell meta-characters.
3248 # Make two passes to allow for proper duplicate-argument suppression.
3252 ac_must_keep_next=false
3258 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3260 | -silent | --silent | --silen | --sile | --sil)
3263 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
3266 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3268 as_fn_append ac_configure_args1 " '$ac_arg'"
3269 if test $ac_must_keep_next = true; then
3270 ac_must_keep_next=false # Got value, back to normal.
3273 *=* | --config-cache | -C | -disable-* | --disable-* \
3274 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3275 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3276 | -with-* | --with-* | -without-* | --without-* | --x)
3277 case "$ac_configure_args0 " in
3278 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3281 -* ) ac_must_keep_next=true ;;
3284 as_fn_append ac_configure_args " '$ac_arg'"
3289 { ac_configure_args0=; unset ac_configure_args0;}
3290 { ac_configure_args1=; unset ac_configure_args1;}
3292 # When interrupted or exit'd, cleanup temporary files, and complete
3293 # config.log. We remove comments because anyway the quotes in there
3294 # would cause problems or look ugly.
3295 # WARNING: Use '\'' to represent an apostrophe within the trap.
3296 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3297 trap 'exit_status=$?
3298 # Save into config.log some information that might help in debugging.
3302 $as_echo "## ---------------- ##
3303 ## Cache variables. ##
3304 ## ---------------- ##"
3306 # The following way of writing the cache mishandles newlines in values,
3308 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
3309 eval ac_val=\$$ac_var
3313 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3314 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3317 _ | IFS | as_nl) ;; #(
3318 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3319 *) { eval $ac_var=; unset $ac_var;} ;;
3324 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
3325 *${as_nl}ac_space=\ *)
3327 "s/'\''/'\''\\\\'\'''\''/g;
3328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3338 $as_echo "## ----------------- ##
3339 ## Output variables. ##
3340 ## ----------------- ##"
3342 for ac_var in $ac_subst_vars
3344 eval ac_val=\$$ac_var
3346 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3348 $as_echo "$ac_var='\''$ac_val'\''"
3352 if test -n "$ac_subst_files"; then
3353 $as_echo "## ------------------- ##
3354 ## File substitutions. ##
3355 ## ------------------- ##"
3357 for ac_var in $ac_subst_files
3359 eval ac_val=\$$ac_var
3361 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3363 $as_echo "$ac_var='\''$ac_val'\''"
3368 if test -s confdefs.h; then
3369 $as_echo "## ----------- ##
3376 test "$ac_signal" != 0 &&
3377 $as_echo "$as_me: caught signal $ac_signal"
3378 $as_echo "$as_me: exit $exit_status"
3380 rm -f core *.core core.conftest.* &&
3381 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3384 for ac_signal in 1 2 13 15; do
3385 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3390 rm -f -r conftest* confdefs.h
3392 $as_echo "/* confdefs.h */" > confdefs.h
3394 # Predefined preprocessor variables.
3396 cat >>confdefs.h <<_ACEOF
3397 #define PACKAGE_NAME "$PACKAGE_NAME"
3400 cat >>confdefs.h <<_ACEOF
3401 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3404 cat >>confdefs.h <<_ACEOF
3405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3408 cat >>confdefs.h <<_ACEOF
3409 #define PACKAGE_STRING "$PACKAGE_STRING"
3412 cat >>confdefs.h <<_ACEOF
3413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3416 cat >>confdefs.h <<_ACEOF
3417 #define PACKAGE_URL "$PACKAGE_URL"
3421 # Let the site file select an alternate cache file if it wants to.
3422 # Prefer an explicitly selected file to automatically selected ones.
3425 if test -n "$CONFIG_SITE"; then
3426 # We do not want a PATH search for config.site.
3427 case $CONFIG_SITE in #((
3428 -*) ac_site_file1=./$CONFIG_SITE;;
3429 */*) ac_site_file1=$CONFIG_SITE;;
3430 *) ac_site_file1=./$CONFIG_SITE;;
3432 elif test "x$prefix" != xNONE; then
3433 ac_site_file1=$prefix/share/config.site
3434 ac_site_file2=$prefix/etc/config.site
3436 ac_site_file1=$ac_default_prefix/share/config.site
3437 ac_site_file2=$ac_default_prefix/etc/config.site
3439 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3441 test "x$ac_site_file" = xNONE && continue
3442 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3444 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3445 sed 's/^/| /' "$ac_site_file" >&5
3447 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "failed to load site
script $ac_site_file
3450 See \
`config.log' for more details" "$LINENO" 5; }
3454 if test -r "$cache_file"; then
3455 # Some versions of bash will fail to source /dev/null (special files
3456 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3457 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3459 $as_echo "$as_me: loading cache $cache_file" >&6;}
3461 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3462 *) . "./$cache_file";;
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3467 $as_echo "$as_me: creating cache $cache_file" >&6;}
3471 # Check that the precious variables saved in the cache have kept the same
3473 ac_cache_corrupted=false
3474 for ac_var in $ac_precious_vars; do
3475 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3476 eval ac_new_set=\$ac_env_${ac_var}_set
3477 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3478 eval ac_new_val=\$ac_env_${ac_var}_value
3479 case $ac_old_set,$ac_new_set in
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
3482 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3483 ac_cache_corrupted=: ;;
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
3486 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
3487 ac_cache_corrupted=: ;;
3490 if test "x$ac_old_val" != "x$ac_new_val"; then
3491 # differences in whitespace do not lead to failure.
3492 ac_old_val_w=`echo x
$ac_old_val`
3493 ac_new_val_w=`echo x
$ac_new_val`
3494 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3496 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
3497 ac_cache_corrupted=:
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
3500 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3501 eval $ac_var=\$ac_old_val
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3504 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3506 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3509 # Pass precious variables to config.status.
3510 if test "$ac_new_set" = set; then
3512 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3513 *) ac_arg=$ac_var=$ac_new_val ;;
3515 case " $ac_configure_args " in
3516 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3517 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3521 if $ac_cache_corrupted; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3525 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3526 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
3528 ## -------------------- ##
3529 ## Main body of script. ##
3530 ## -------------------- ##
3533 ac_cpp='$CPP $CPPFLAGS'
3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 RELEASE_DATE="2014-04-13"
3540 RELEASE_NAME="Heart Candy"
3542 am__api_version='1.11'
3545 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3546 if test -f "$ac_dir/install-sh"; then
3548 ac_install_sh="$ac_aux_dir/install-sh -c"
3550 elif test -f "$ac_dir/install.sh"; then
3552 ac_install_sh="$ac_aux_dir/install.sh -c"
3554 elif test -f "$ac_dir/shtool"; then
3556 ac_install_sh="$ac_aux_dir/shtool install -c"
3560 if test -z "$ac_aux_dir"; then
3561 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3564 # These three variables are undocumented and unsupported,
3565 # and are intended to be withdrawn in a future Autoconf release.
3566 # They can cause serious problems if a builder's source tree is in a directory
3567 # whose full name contains unusual characters.
3568 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3569 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3570 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3573 # Find a good install program. We prefer a C program (faster),
3574 # so one script is as good as another. But avoid the broken or
3575 # incompatible versions:
3576 # SysV /etc/install, /usr/sbin/install
3577 # SunOS /usr/etc/install
3578 # IRIX /sbin/install
3580 # AmigaOS /C/install, which installs bootblocks on floppy discs
3581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3584 # OS/2's system install, which has a completely different semantic
3585 # ./install, which can be erroneously created by make from ./install.sh.
3586 # Reject install programs that cannot install multiple files.
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3588 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3589 if test -z "$INSTALL"; then
3590 if ${ac_cv_path_install+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir=.
3598 # Account for people who put trailing slashes in PATH elements.
3599 case $as_dir/ in #((
3600 ./ | .// | /[cC]/* | \
3601 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3602 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3605 # OSF1 and SCO ODT 3.0 have their own names for install.
3606 # Don't use installbsd from OSF since it installs stuff as root
3608 for ac_prog in ginstall scoinst install; do
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3611 if test $ac_prog = install &&
3612 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3613 # AIX install. It has an incompatible calling convention.
3615 elif test $ac_prog = install &&
3616 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3617 # program-specific install script used by HP pwplus--don't use.
3620 rm -rf conftest.one conftest.two conftest.dir
3621 echo one > conftest.one
3622 echo two > conftest.two
3624 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3625 test -s conftest.one && test -s conftest.two &&
3626 test -s conftest.dir/conftest.one &&
3627 test -s conftest.dir/conftest.two
3629 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3642 rm -rf conftest.one conftest.two conftest.dir
3645 if test "${ac_cv_path_install+set}" = set; then
3646 INSTALL=$ac_cv_path_install
3648 # As a last resort, use the slow shell script. Don't cache a
3649 # value for INSTALL within a source directory, because that will
3650 # break other packages using the cache if that directory is
3651 # removed, or if the value is a relative name.
3652 INSTALL=$ac_install_sh
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3656 $as_echo "$INSTALL" >&6; }
3658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3659 # It thinks the first close brace ends the variable substitution.
3660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3667 $as_echo_n "checking whether build environment is sane... " >&6; }
3670 echo timestamp > conftest.file
3671 # Reject unsafe characters in $srcdir or the absolute working directory
3672 # name. Accept space and tab only in the latter.
3676 *[\\\"\#\$\&\'\`$am_lf]*)
3677 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3680 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3681 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3684 # Do `set' in a subshell so we don't clobber the current shell's
3685 # arguments. Must try -L first in case configure is actually a
3686 # symlink; some systems play weird games with the mod time of symlinks
3687 # (eg FreeBSD returns the mod time of the symlink's containing
3690 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3691 if test "$*" = "X"; then
3693 set X
`ls -t "$srcdir/configure" conftest.file`
3696 if test "$*" != "X $srcdir/configure conftest.file" \
3697 && test "$*" != "X conftest.file $srcdir/configure"; then
3699 # If neither matched, then we have a broken ls. This can happen
3700 # if, for instance, CONFIG_SHELL is bash and it inherits a
3701 # broken ls alias from the environment. This has actually
3702 # happened. Such a system could not be considered "sane".
3703 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3704 alias in your environment" "$LINENO" 5
3707 test "$2" = conftest.
file
3713 as_fn_error $?
"newly created file is older than distributed files!
3714 Check your system clock" "$LINENO" 5
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3717 $as_echo "yes" >&6; }
3718 test "$program_prefix" != NONE
&&
3719 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3720 # Use a double $ so make ignores it.
3721 test "$program_suffix" != NONE
&&
3722 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3723 # Double any \ or $.
3724 # By default was `s,x,x', remove it if useless.
3725 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3726 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3728 # expand $ac_aux_dir to an absolute path
3729 am_aux_dir
=`cd $ac_aux_dir && pwd`
3731 if test x
"${MISSING+set}" != xset
; then
3734 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3736 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3739 # Use eval to expand $SHELL
3740 if eval "$MISSING --run true"; then
3741 am_missing_run
="$MISSING --run "
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3745 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3748 if test x
"${install_sh}" != xset
; then
3751 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3753 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3757 # Installed binaries are usually stripped using `strip' when the user
3758 # run `make install-strip'. However `strip' might not be the right
3759 # tool to use in cross-compilation environments, therefore Automake
3760 # will honor the `STRIP' environment variable to overrule this program.
3761 if test "$cross_compiling" != no
; then
3762 if test -n "$ac_tool_prefix"; then
3763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3764 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_STRIP+:} false
; then :
3768 $as_echo_n "(cached) " >&6
3770 if test -n "$STRIP"; then
3771 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_exec_ext
in '' $ac_executable_extensions; do
3779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 STRIP
=$ac_cv_prog_STRIP
3791 if test -n "$STRIP"; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3793 $as_echo "$STRIP" >&6; }
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3801 if test -z "$ac_cv_prog_STRIP"; then
3803 # Extract the first word of "strip", so it can be a program name with args.
3804 set dummy strip
; ac_word
=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$ac_ct_STRIP"; then
3811 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3820 ac_cv_prog_ac_ct_STRIP
="strip"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3831 if test -n "$ac_ct_STRIP"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3833 $as_echo "$ac_ct_STRIP" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3839 if test "x$ac_ct_STRIP" = x
; then
3842 case $cross_compiling:$ac_tool_warned in
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3846 ac_tool_warned
=yes ;;
3851 STRIP
="$ac_cv_prog_STRIP"
3855 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3859 if test -z "$MKDIR_P"; then
3860 if ${ac_cv_path_mkdir+:} false
; then :
3861 $as_echo_n "(cached) " >&6
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_prog
in mkdir gmkdir
; do
3869 for ac_exec_ext
in '' $ac_executable_extensions; do
3870 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3871 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3872 'mkdir (GNU coreutils) '* | \
3873 'mkdir (coreutils) '* | \
3874 'mkdir (fileutils) '4.1*)
3875 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3885 test -d .
/--version && rmdir .
/--version
3886 if test "${ac_cv_path_mkdir+set}" = set; then
3887 MKDIR_P
="$ac_cv_path_mkdir -p"
3889 # As a last resort, use the slow shell script. Don't cache a
3890 # value for MKDIR_P within a source directory, because that will
3891 # break other packages using the cache if that directory is
3892 # removed, or if the value is a relative name.
3893 MKDIR_P
="$ac_install_sh -d"
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3897 $as_echo "$MKDIR_P" >&6; }
3901 [\\/$
]* | ?
:[\\/]*) ;;
3902 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3905 for ac_prog
in gawk mawk nawk
awk
3907 # Extract the first word of "$ac_prog", so it can be a program name with args.
3908 set dummy
$ac_prog; ac_word
=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_AWK+:} false
; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -n "$AWK"; then
3915 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3924 ac_cv_prog_AWK
="$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 if test -n "$AWK"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3937 $as_echo "$AWK" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$AWK" && break
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3950 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3951 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3952 $as_echo_n "(cached) " >&6
3954 cat >conftest.
make <<\_ACEOF
3957 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3959 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3962 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3964 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3968 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3970 $as_echo "yes" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3974 $as_echo "no" >&6; }
3975 SET_MAKE
="MAKE=${MAKE-make}"
3978 rm -rf .tst
2>/dev
/null
3979 mkdir .tst
2>/dev
/null
3980 if test -d .tst
; then
3985 rmdir .tst
2>/dev
/null
3987 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3988 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3989 # is not polluted with repeated "-I."
3990 am__isrc
=' -I$(srcdir)'
3991 # test to see if srcdir already configured
3992 if test -f $srcdir/config.status
; then
3993 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3997 # test whether we have cygpath
3998 if test -z "$CYGPATH_W"; then
3999 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4000 CYGPATH_W
='cygpath -w'
4007 # Define the identity of the package.
4008 PACKAGE
='xorg-server'
4012 cat >>confdefs.h
<<_ACEOF
4013 #define PACKAGE "$PACKAGE"
4017 cat >>confdefs.h
<<_ACEOF
4018 #define VERSION "$VERSION"
4021 # Some tools Automake needs.
4023 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4026 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4029 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4032 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4035 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4037 # We need awk for the "check" target. The system "awk" is bad on
4039 # Always define AMTAR for backward compatibility. Yes, it's still used
4040 # in the wild :-( We should find a proper way to deprecate it ...
4043 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4049 DEPDIR
="${am__leading_dot}deps"
4051 ac_config_commands
="$ac_config_commands depfiles"
4054 am_make
=${MAKE-make}
4055 cat > confinc
<< 'END'
4057 @
echo this is the am__doit target
4060 # If we don't find an include directive, just comment out the code.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4062 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4066 # First try GNU make style include.
4067 echo "include confinc" > confmf
4068 # Ignore all kinds of additional output from `make'.
4069 case `$am_make -s -f confmf 2> /dev/null` in #(
4070 *the\ am__doit\ target
*)
4076 # Now try BSD make style include.
4077 if test "$am__include" = "#"; then
4078 echo '.include "confinc"' > confmf
4079 case `$am_make -s -f confmf 2> /dev/null` in #(
4080 *the\ am__doit\ target
*)
4081 am__include
=.include
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4090 $as_echo "$_am_result" >&6; }
4091 rm -f confinc confmf
4093 # Check whether --enable-dependency-tracking was given.
4094 if test "${enable_dependency_tracking+set}" = set; then :
4095 enableval
=$enable_dependency_tracking;
4098 if test "x$enable_dependency_tracking" != xno
; then
4099 am_depcomp
="$ac_aux_dir/depcomp"
4103 if test "x$enable_dependency_tracking" != xno; then
4113 ac_cpp
='$CPP $CPPFLAGS'
4114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4117 if test -n "$ac_tool_prefix"; then
4118 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4119 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if ${ac_cv_prog_CC+:} false
; then :
4123 $as_echo_n "(cached) " >&6
4125 if test -n "$CC"; then
4126 ac_cv_prog_CC
="$CC" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4135 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 if test -n "$CC"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4148 $as_echo "$CC" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4156 if test -z "$ac_cv_prog_CC"; then
4158 # Extract the first word of "gcc", so it can be a program name with args.
4159 set dummy gcc
; ac_word
=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4163 $as_echo_n "(cached) " >&6
4165 if test -n "$ac_ct_CC"; then
4166 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175 ac_cv_prog_ac_ct_CC
="gcc"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4186 if test -n "$ac_ct_CC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4188 $as_echo "$ac_ct_CC" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4194 if test "x$ac_ct_CC" = x
; then
4197 case $cross_compiling:$ac_tool_warned in
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4201 ac_tool_warned
=yes ;;
4209 if test -z "$CC"; then
4210 if test -n "$ac_tool_prefix"; then
4211 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4212 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214 $as_echo_n "checking for $ac_word... " >&6; }
4215 if ${ac_cv_prog_CC+:} false
; then :
4216 $as_echo_n "(cached) " >&6
4218 if test -n "$CC"; then
4219 ac_cv_prog_CC
="$CC" # Let the user override the test.
4221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4225 test -z "$as_dir" && as_dir
=.
4226 for ac_exec_ext
in '' $ac_executable_extensions; do
4227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 if test -n "$CC"; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4241 $as_echo "$CC" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4250 if test -z "$CC"; then
4251 # Extract the first word of "cc", so it can be a program name with args.
4252 set dummy cc
; ac_word
=$2
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 $as_echo_n "checking for $ac_word... " >&6; }
4255 if ${ac_cv_prog_CC+:} false
; then :
4256 $as_echo_n "(cached) " >&6
4258 if test -n "$CC"; then
4259 ac_cv_prog_CC
="$CC" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4270 ac_prog_rejected
=yes
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 if test $ac_prog_rejected = yes; then
4282 # We found a bogon in the path, so make sure we never use it.
4283 set dummy
$ac_cv_prog_CC
4285 if test $# != 0; then
4286 # We chose a different compiler from the bogus one.
4287 # However, it has the same basename, so the bogon will be chosen
4288 # first if we set CC to just the basename; use the full file name.
4290 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4296 if test -n "$CC"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4298 $as_echo "$CC" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4306 if test -z "$CC"; then
4307 if test -n "$ac_tool_prefix"; then
4308 for ac_prog
in cl.exe
4310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_CC+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$CC"; then
4318 ac_cv_prog_CC
="$CC" # Let the user override the test.
4320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir
=.
4325 for ac_exec_ext
in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 if test -n "$CC"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4340 $as_echo "$CC" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4347 test -n "$CC" && break
4350 if test -z "$CC"; then
4352 for ac_prog
in cl.exe
4354 # Extract the first word of "$ac_prog", so it can be a program name with args.
4355 set dummy
$ac_prog; ac_word
=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4359 $as_echo_n "(cached) " >&6
4361 if test -n "$ac_ct_CC"; then
4362 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir
=.
4369 for ac_exec_ext
in '' $ac_executable_extensions; do
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 ac_cv_prog_ac_ct_CC
="$ac_prog"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4382 if test -n "$ac_ct_CC"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4384 $as_echo "$ac_ct_CC" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 test -n "$ac_ct_CC" && break
4394 if test "x$ac_ct_CC" = x
; then
4397 case $cross_compiling:$ac_tool_warned in
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4401 ac_tool_warned
=yes ;;
4410 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4412 as_fn_error $?
"no acceptable C compiler found in \$PATH
4413 See \`config.log' for more details" "$LINENO" 5; }
4415 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4419 for ac_option
in --version -v -V -qversion; do
4420 { { ac_try
="$ac_compiler $ac_option >&5"
4422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4429 if test -s conftest.err; then
4431 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5
4435 rm -f conftest.er1 conftest.err
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4451 ac_clean_files_save=$ac_clean_files
4452 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4453 # Try to create an executable without -o first, disregard a.out.
4454 # It will help us diagnose broken compilers, and finding out an intuition
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4457 $as_echo_n "checking whether the C compiler works... " >&6; }
4458 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4460 # The possible output files:
4461 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4464 for ac_file in $ac_files
4467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4468 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4473 if { { ac_try="$ac_link_default"
4475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4476 *) ac_try_echo
=$ac_try;;
4478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_link_default") 2>&5
4482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4483 test $ac_status = 0; }; then :
4484 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4485 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4486 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4487 # so that the user can short-circuit this test for compilers unknown to
4489 for ac_file
in $ac_files ''
4491 test -f "$ac_file" ||
continue
4493 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4496 # We found the default executable, but exeext='' is most
4500 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4502 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4504 # We set ac_cv_exeext here because the later test for it is not
4505 # safe: cross compilers may not add the suffix if given an `-o'
4506 # argument, so we may need to know it at that point already.
4507 # Even if this section looks crufty: it has the advantage of
4514 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4519 if test -z "$ac_file"; then :
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4522 $as_echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.
$ac_ext >&5
4525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4527 as_fn_error
77 "C compiler cannot create executables
4528 See \`config.log' for more details" "$LINENO" 5; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4531 $as_echo "yes" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4534 $as_echo_n "checking for C compiler default output file name... " >&6; }
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4536 $as_echo "$ac_file" >&6; }
4537 ac_exeext
=$ac_cv_exeext
4539 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4540 ac_clean_files
=$ac_clean_files_save
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4542 $as_echo_n "checking for suffix of executables... " >&6; }
4543 if { { ac_try
="$ac_link"
4545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550 (eval "$ac_link") 2>&5
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }; then :
4554 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4555 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4556 # work properly (i.e., refer to `conftest.exe'), while it won't with
4558 for ac_file
in conftest.exe conftest conftest.
*; do
4559 test -f "$ac_file" ||
continue
4561 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4562 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4570 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4571 See \`config.log' for more details" "$LINENO" 5; }
4573 rm -f conftest conftest
$ac_cv_exeext
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4575 $as_echo "$ac_cv_exeext" >&6; }
4577 rm -f conftest.
$ac_ext
4578 EXEEXT
=$ac_cv_exeext
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4586 FILE *f = fopen ("conftest.out", "w");
4587 return ferror (f) || fclose (f) != 0;
4593 ac_clean_files
="$ac_clean_files conftest.out"
4594 # Check that the compiler produces executables we can run. If not, either
4595 # the compiler is broken, or we cross compile.
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4597 $as_echo_n "checking whether we are cross compiling... " >&6; }
4598 if test "$cross_compiling" != yes; then
4599 { { ac_try
="$ac_link"
4601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4605 $as_echo "$ac_try_echo"; } >&5
4606 (eval "$ac_link") 2>&5
4608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4609 test $ac_status = 0; }
4610 if { ac_try='./conftest$ac_cv_exeext'
4611 { { case "(($ac_try" in
4612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4613 *) ac_try_echo
=$ac_try;;
4615 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4616 $as_echo "$ac_try_echo"; } >&5
4617 (eval "$ac_try") 2>&5
4619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4620 test $ac_status = 0; }; }; then
4623 if test "$cross_compiling" = maybe
; then
4626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4628 as_fn_error $?
"cannot run C compiled programs.
4629 If you meant to cross compile, use \`--host'.
4630 See \`config.log' for more details" "$LINENO" 5; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4635 $as_echo "$cross_compiling" >&6; }
4637 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4638 ac_clean_files
=$ac_clean_files_save
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4640 $as_echo_n "checking for suffix of object files... " >&6; }
4641 if ${ac_cv_objext+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4655 rm -f conftest.o conftest.obj
4656 if { { ac_try
="$ac_compile"
4658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4659 *) ac_try_echo=$ac_try;;
4661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4662 $as_echo "$ac_try_echo"; } >&5
4663 (eval "$ac_compile") 2>&5
4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4666 test $ac_status = 0; }; then :
4667 for ac_file in conftest.o conftest.obj conftest.*; do
4668 test -f "$ac_file" || continue;
4670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4671 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4676 $as_echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4681 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4682 See \
`config.log' for more details" "$LINENO" 5; }
4684 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4687 $as_echo "$ac_cv_objext" >&6; }
4688 OBJEXT=$ac_cv_objext
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4691 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4692 if ${ac_cv_c_compiler_gnu+:} false; then :
4693 $as_echo_n "(cached) " >&6
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4709 if ac_fn_c_try_compile "$LINENO"; then :
4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4719 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4720 if test $ac_compiler_gnu = yes; then
4725 ac_test_CFLAGS=${CFLAGS+set}
4726 ac_save_CFLAGS=$CFLAGS
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4728 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4729 if ${ac_cv_prog_cc_g+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 ac_save_c_werror_flag=$ac_c_werror_flag
4733 ac_c_werror_flag=yes
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4747 if ac_fn_c_try_compile "$LINENO"; then :
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4762 if ac_fn_c_try_compile "$LINENO"; then :
4765 ac_c_werror_flag=$ac_save_c_werror_flag
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_c_try_compile "$LINENO"; then :
4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 ac_c_werror_flag=$ac_save_c_werror_flag
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4789 $as_echo "$ac_cv_prog_cc_g" >&6; }
4790 if test "$ac_test_CFLAGS" = set; then
4791 CFLAGS=$ac_save_CFLAGS
4792 elif test $ac_cv_prog_cc_g = yes; then
4793 if test "$GCC" = yes; then
4799 if test "$GCC" = yes; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4806 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4807 if ${ac_cv_prog_cc_c89+:} false; then :
4808 $as_echo_n "(cached) " >&6
4810 ac_cv_prog_cc_c89=no
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813 /* end confdefs.h. */
4816 #include <sys/types.h>
4817 #include <sys/stat.h>
4818 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4819 struct buf { int x; };
4820 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4821 static char *e (p, i)
4827 static char *f (char * (*g) (char **, int), char **p, ...)
4832 s = g (p, va_arg (v,int));
4837 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4838 function prototypes and stuff, but not '\xHH' hex character constants.
4839 These don't provoke an error unfortunately, instead are silently treated
4840 as 'x'. The following induces an error, until -std is added to get
4841 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4842 array size at least. It's necessary to write '\x00'==0 to get something
4843 that's true only with -std. */
4844 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4846 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4847 inside strings and character constants. */
4849 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4851 int test (int i, double x);
4852 struct s1 {int (*f) (int a);};
4853 struct s2 {int (*f) (double a);};
4854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4865 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4866 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4868 CC="$ac_save_CC $ac_arg"
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 ac_cv_prog_cc_c89=$ac_arg
4872 rm -f core conftest.err conftest.$ac_objext
4873 test "x$ac_cv_prog_cc_c89" != "xno" && break
4875 rm -f conftest.$ac_ext
4880 case "x$ac_cv_prog_cc_c89" in
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4883 $as_echo "none needed" >&6; } ;;
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4886 $as_echo "unsupported" >&6; } ;;
4888 CC="$CC $ac_cv_prog_cc_c89"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4890 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4892 if test "x$ac_cv_prog_cc_c89" != xno; then :
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4902 depcc="$CC" am_compiler_list=
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4905 $as_echo_n "checking dependency style of $depcc... " >&6; }
4906 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4910 # We make a subdir and do the tests there. Otherwise we can end up
4911 # making bogus files that we don't know about and never remove. For
4912 # instance it was reported that on HP-UX the gcc test will end up
4913 # making a dummy file named `D
' -- because `-MD' means
`put the output
4917 # Copy depcomp to subdir because otherwise we won't find it if we're
4918 # using a relative directory.
4919 cp "$am_depcomp" conftest.dir
4921 # We will build objects and dependencies in a subdirectory because
4922 # it helps to detect inapplicable dependency modes. For instance
4923 # both Tru64's cc and ICC support -MD to output dependencies as a
4924 # side effect of compilation, but ICC will put the dependencies in
4925 # the current directory while Tru64 will put them in the object
4929 am_cv_CC_dependencies_compiler_type=none
4930 if test "$am_compiler_list" = ""; then
4931 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4934 case " $depcc " in #(
4935 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4938 for depmode in $am_compiler_list; do
4939 # Setup a source with many dependencies, because some compilers
4940 # like to wrap large dependency lists on column 80 (with \), and
4941 # we should not choose a depcomp mode which is confused by this.
4943 # We need to recreate these files for each test, as the compiler may
4944 # overwrite some of them when testing with obscure command lines.
4945 # This happens at least with the AIX C compiler.
4947 for i in 1 2 3 4 5 6; do
4948 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4949 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4950 # Solaris 8's
{/usr
,}/bin
/sh.
4951 touch sub
/conftst
$i.h
4953 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4955 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4956 # mode. It turns out that the SunPro C++ compiler does not properly
4957 # handle `-M -o', and we need to detect this. Also, some Intel
4958 # versions had trouble with output in subdirs
4959 am__obj
=sub
/conftest.
${OBJEXT-o}
4960 am__minus_obj
="-o $am__obj"
4963 # This depmode causes a compiler race in universal mode.
4964 test "$am__universal" = false ||
continue
4967 # after this tag, mechanisms are not by side-effect, so they'll
4968 # only be used when explicitly requested
4969 if test "x$enable_dependency_tracking" = xyes
; then
4975 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4976 # This compiler won't grok `-c -o', but also, the minuso test has
4977 # not run yet. These depmodes are late enough in the game, and
4978 # so weak that their functioning should not be impacted.
4979 am__obj
=conftest.
${OBJEXT-o}
4984 if depmode
=$depmode \
4985 source=sub
/conftest.c object
=$am__obj \
4986 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4987 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4988 >/dev
/null
2>conftest.err
&&
4989 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4990 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4991 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4992 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4993 # icc doesn't choke on unknown options, it will just issue warnings
4994 # or remarks (even with -Werror). So we grep stderr for any message
4995 # that says an option was ignored or not supported.
4996 # When given -MP, icc 7.0 and 7.1 complain thusly:
4997 # icc: Command line warning: ignoring option '-M'; no argument required
4998 # The diagnosis changed in icc 8.0:
4999 # icc: Command line remark: option '-MP' not supported
5000 if (grep 'ignoring option' conftest.err ||
5001 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5002 am_cv_CC_dependencies_compiler_type
=$depmode
5011 am_cv_CC_dependencies_compiler_type
=none
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5016 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5017 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5020 test "x$enable_dependency_tracking" != xno \
5021 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5023 am__fastdepCC_FALSE
='#'
5025 am__fastdepCC_TRUE
='#'
5026 am__fastdepCC_FALSE
=
5032 ac_cpp
='$CPP $CPPFLAGS'
5033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5037 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5038 # On Suns, sometimes $CPP names a directory.
5039 if test -n "$CPP" && test -d "$CPP"; then
5042 if test -z "$CPP"; then
5043 if ${ac_cv_prog_CPP+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5046 # Double quotes because CPP needs to be expanded
5047 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5050 for ac_c_preproc_warn_flag
in '' yes
5052 # Use a header file that comes with gcc, so configuring glibc
5053 # with a fresh cross-compiler works.
5054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5055 # <limits.h> exists even on freestanding compilers.
5056 # On the NeXT, cc -E runs the code through the compiler's parser,
5057 # not just through cpp. "Syntax error" is here to catch this case.
5058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5061 # include <limits.h>
5063 # include <assert.h>
5067 if ac_fn_c_try_cpp
"$LINENO"; then :
5070 # Broken: fails on valid input.
5073 rm -f conftest.err conftest.i conftest.
$ac_ext
5075 # OK, works on sane cases. Now check whether nonexistent headers
5076 # can be detected and how.
5077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5079 #include <ac_nonexistent.h>
5081 if ac_fn_c_try_cpp
"$LINENO"; then :
5082 # Broken: success on invalid input.
5085 # Passes both tests.
5089 rm -f conftest.err conftest.i conftest.
$ac_ext
5092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5093 rm -f conftest.i conftest.err conftest.
$ac_ext
5094 if $ac_preproc_ok; then :
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5107 $as_echo "$CPP" >&6; }
5109 for ac_c_preproc_warn_flag
in '' yes
5111 # Use a header file that comes with gcc, so configuring glibc
5112 # with a fresh cross-compiler works.
5113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5114 # <limits.h> exists even on freestanding compilers.
5115 # On the NeXT, cc -E runs the code through the compiler's parser,
5116 # not just through cpp. "Syntax error" is here to catch this case.
5117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5120 # include <limits.h>
5122 # include <assert.h>
5126 if ac_fn_c_try_cpp
"$LINENO"; then :
5129 # Broken: fails on valid input.
5132 rm -f conftest.err conftest.i conftest.
$ac_ext
5134 # OK, works on sane cases. Now check whether nonexistent headers
5135 # can be detected and how.
5136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5138 #include <ac_nonexistent.h>
5140 if ac_fn_c_try_cpp
"$LINENO"; then :
5141 # Broken: success on invalid input.
5144 # Passes both tests.
5148 rm -f conftest.err conftest.i conftest.
$ac_ext
5151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5152 rm -f conftest.i conftest.err conftest.
$ac_ext
5153 if $ac_preproc_ok; then :
5156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5158 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5159 See \`config.log' for more details" "$LINENO" 5; }
5163 ac_cpp
='$CPP $CPPFLAGS'
5164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5171 if ${ac_cv_path_GREP+:} false
; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -z "$GREP"; then
5175 ac_path_GREP_found
=false
5176 # Loop through the user's path and test for each of PROGNAME-LIST
5177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5181 test -z "$as_dir" && as_dir
=.
5182 for ac_prog
in grep ggrep
; do
5183 for ac_exec_ext
in '' $ac_executable_extensions; do
5184 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5185 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5186 # Check for GNU ac_path_GREP and select it if it is found.
5187 # Check for GNU $ac_path_GREP
5188 case `"$ac_path_GREP" --version 2>&1` in
5190 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5193 $as_echo_n 0123456789 >"conftest.in"
5196 cat "conftest.in" "conftest.in" >"conftest.tmp"
5197 mv "conftest.tmp" "conftest.in"
5198 cp "conftest.in" "conftest.nl"
5199 $as_echo 'GREP' >> "conftest.nl"
5200 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5201 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5202 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5203 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5204 # Best one so far, save it but keep looking for a better one
5205 ac_cv_path_GREP
="$ac_path_GREP"
5206 ac_path_GREP_max
=$ac_count
5208 # 10*(2^10) chars as input seems more than enough
5209 test $ac_count -gt 10 && break
5211 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5214 $ac_path_GREP_found && break 3
5219 if test -z "$ac_cv_path_GREP"; then
5220 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5223 ac_cv_path_GREP
=$GREP
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5228 $as_echo "$ac_cv_path_GREP" >&6; }
5229 GREP
="$ac_cv_path_GREP"
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5233 $as_echo_n "checking for egrep... " >&6; }
5234 if ${ac_cv_path_EGREP+:} false
; then :
5235 $as_echo_n "(cached) " >&6
5237 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5238 then ac_cv_path_EGREP
="$GREP -E"
5240 if test -z "$EGREP"; then
5241 ac_path_EGREP_found
=false
5242 # Loop through the user's path and test for each of PROGNAME-LIST
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_prog
in egrep; do
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5251 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5252 # Check for GNU ac_path_EGREP and select it if it is found.
5253 # Check for GNU $ac_path_EGREP
5254 case `"$ac_path_EGREP" --version 2>&1` in
5256 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5259 $as_echo_n 0123456789 >"conftest.in"
5262 cat "conftest.in" "conftest.in" >"conftest.tmp"
5263 mv "conftest.tmp" "conftest.in"
5264 cp "conftest.in" "conftest.nl"
5265 $as_echo 'EGREP' >> "conftest.nl"
5266 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5267 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5268 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5269 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5270 # Best one so far, save it but keep looking for a better one
5271 ac_cv_path_EGREP
="$ac_path_EGREP"
5272 ac_path_EGREP_max
=$ac_count
5274 # 10*(2^10) chars as input seems more than enough
5275 test $ac_count -gt 10 && break
5277 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5280 $ac_path_EGREP_found && break 3
5285 if test -z "$ac_cv_path_EGREP"; then
5286 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5289 ac_cv_path_EGREP
=$EGREP
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5295 $as_echo "$ac_cv_path_EGREP" >&6; }
5296 EGREP
="$ac_cv_path_EGREP"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5300 $as_echo_n "checking for ANSI C header files... " >&6; }
5301 if ${ac_cv_header_stdc+:} false
; then :
5302 $as_echo_n "(cached) " >&6
5304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5319 if ac_fn_c_try_compile
"$LINENO"; then :
5320 ac_cv_header_stdc
=yes
5322 ac_cv_header_stdc
=no
5324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5326 if test $ac_cv_header_stdc = yes; then
5327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5334 $EGREP "memchr" >/dev
/null
2>&1; then :
5337 ac_cv_header_stdc
=no
5343 if test $ac_cv_header_stdc = yes; then
5344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5351 $EGREP "free" >/dev
/null
2>&1; then :
5354 ac_cv_header_stdc
=no
5360 if test $ac_cv_header_stdc = yes; then
5361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5362 if test "$cross_compiling" = yes; then :
5365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5369 #if ((' ' & 0x0FF) == 0x020)
5370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5373 # define ISLOWER(c) \
5374 (('a' <= (c) && (c) <= 'i') \
5375 || ('j' <= (c) && (c) <= 'r') \
5376 || ('s' <= (c) && (c) <= 'z'))
5377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5385 for (i = 0; i < 256; i++)
5386 if (XOR (islower (i), ISLOWER (i))
5387 || toupper (i) != TOUPPER (i))
5392 if ac_fn_c_try_run
"$LINENO"; then :
5395 ac_cv_header_stdc
=no
5397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5398 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5404 $as_echo "$ac_cv_header_stdc" >&6; }
5405 if test $ac_cv_header_stdc = yes; then
5407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5412 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5413 inttypes.h stdint.h unistd.h
5415 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5416 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5418 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5419 cat >>confdefs.h
<<_ACEOF
5420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5429 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5430 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5437 if test "$MINIX" = yes; then
5439 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5442 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5445 $as_echo "#define _MINIX 1" >>confdefs.h
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5451 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5452 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5453 $as_echo_n "(cached) " >&6
5455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5458 # define __EXTENSIONS__ 1
5459 $ac_includes_default
5468 if ac_fn_c_try_compile
"$LINENO"; then :
5469 ac_cv_safe_to_define___extensions__
=yes
5471 ac_cv_safe_to_define___extensions__
=no
5473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5476 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5477 test $ac_cv_safe_to_define___extensions__ = yes &&
5478 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5480 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5482 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5484 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5486 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5490 # Require xorg-macros minimum of 1.14 for XORG_COMPILER_BRAND in XORG_DEFAULT_OPTIONS
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5503 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5504 if ${ac_cv_prog_cc_c99+:} false
; then :
5505 $as_echo_n "(cached) " >&6
5507 ac_cv_prog_cc_c99
=no
5509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5510 /* end confdefs.h. */
5512 #include <stdbool.h>
5517 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5518 #define debug(...) fprintf (stderr, __VA_ARGS__)
5519 #define showlist(...) puts (#__VA_ARGS__)
5520 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5522 test_varargs_macros (void)
5527 debug ("X = %d\n", x);
5528 showlist (The first, second, and third items.);
5529 report (x>y, "x is %d but y is %d", x, y);
5532 // Check long long types.
5533 #define BIG64 18446744073709551615ull
5534 #define BIG32 4294967295ul
5535 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5537 your preprocessor is broken;
5541 your preprocessor is broken;
5543 static long long int bignum = -9223372036854775807LL;
5544 static unsigned long long int ubignum = BIG64;
5546 struct incomplete_array
5554 const wchar_t *name;
5558 typedef const char *ccp;
5561 test_restrict (ccp restrict text)
5563 // See if C++-style comments work.
5564 // Iterate through items via the restricted pointer.
5565 // Also check for declarations in for loops.
5566 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5571 // Check varargs and va_copy.
5573 test_varargs (const char *format, ...)
5576 va_start (args, format);
5578 va_copy (args_copy, args);
5589 str = va_arg (args_copy, const char *);
5592 number = va_arg (args_copy, int);
5595 fnumber = va_arg (args_copy, double);
5610 _Bool success = false;
5613 if (test_restrict ("String literal") == 0)
5615 char *restrict newvar = "Another string";
5618 test_varargs ("s, d' f .", "string", 65, 34.234);
5619 test_varargs_macros ();
5621 // Check flexible array members.
5622 struct incomplete_array *ia =
5623 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5625 for (int i = 0; i < ia->datasize; ++i)
5626 ia->data[i] = i * 1.234;
5628 // Check named initializers.
5629 struct named_init ni = {
5631 .name = L"Test wide string",
5632 .average = 543.34343,
5637 int dynamic_array[ni.number];
5638 dynamic_array[ni.number - 1] = 543;
5640 // work around unused variable warnings
5641 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5642 || dynamic_array[ni.number - 1] != 543);
5648 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
5650 CC
="$ac_save_CC $ac_arg"
5651 if ac_fn_c_try_compile
"$LINENO"; then :
5652 ac_cv_prog_cc_c99
=$ac_arg
5654 rm -f core conftest.err conftest.
$ac_objext
5655 test "x$ac_cv_prog_cc_c99" != "xno" && break
5657 rm -f conftest.
$ac_ext
5662 case "x$ac_cv_prog_cc_c99" in
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5665 $as_echo "none needed" >&6; } ;;
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5668 $as_echo "unsupported" >&6; } ;;
5670 CC
="$CC $ac_cv_prog_cc_c99"
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5672 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5674 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5683 ac_fn_c_check_decl
"$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
5684 if test "x$ac_cv_have_decl___clang__" = xyes
; then :
5690 ac_fn_c_check_decl
"$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
5691 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
; then :
5697 ac_fn_c_check_decl
"$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
5698 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
; then :
5711 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5712 if test -n "$ac_tool_prefix"; then
5713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5714 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
5718 $as_echo_n "(cached) " >&6
5722 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5744 if test -n "$PKG_CONFIG"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5746 $as_echo "$PKG_CONFIG" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5754 if test -z "$ac_cv_path_PKG_CONFIG"; then
5755 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5756 # Extract the first word of "pkg-config", so it can be a program name with args.
5757 set dummy pkg-config
; ac_word
=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
5761 $as_echo_n "(cached) " >&6
5763 case $ac_pt_PKG_CONFIG in
5765 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5787 if test -n "$ac_pt_PKG_CONFIG"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5789 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5795 if test "x$ac_pt_PKG_CONFIG" = x
; then
5798 case $cross_compiling:$ac_tool_warned in
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802 ac_tool_warned
=yes ;;
5804 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5807 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5811 if test -n "$PKG_CONFIG"; then
5812 _pkg_min_version
=0.9.0
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5814 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5815 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5817 $as_echo "yes" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5824 # Make sure we can run config.sub.
5825 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5826 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5829 $as_echo_n "checking build system type... " >&6; }
5830 if ${ac_cv_build+:} false
; then :
5831 $as_echo_n "(cached) " >&6
5833 ac_build_alias
=$build_alias
5834 test "x$ac_build_alias" = x
&&
5835 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5836 test "x$ac_build_alias" = x
&&
5837 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5838 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5839 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5843 $as_echo "$ac_cv_build" >&6; }
5844 case $ac_cv_build in
5846 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5849 ac_save_IFS
=$IFS; IFS
='-'
5855 # Remember, the first character of IFS is used to create $*,
5856 # except with old shells:
5859 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5863 $as_echo_n "checking host system type... " >&6; }
5864 if ${ac_cv_host+:} false
; then :
5865 $as_echo_n "(cached) " >&6
5867 if test "x$host_alias" = x
; then
5868 ac_cv_host
=$ac_cv_build
5870 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5871 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5876 $as_echo "$ac_cv_host" >&6; }
5879 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5882 ac_save_IFS
=$IFS; IFS
='-'
5888 # Remember, the first character of IFS is used to create $*,
5889 # except with old shells:
5892 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5896 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5897 if ${ac_cv_path_SED+:} false
; then :
5898 $as_echo_n "(cached) " >&6
5900 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5901 for ac_i
in 1 2 3 4 5 6 7; do
5902 ac_script
="$ac_script$as_nl$ac_script"
5904 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5905 { ac_script
=; unset ac_script
;}
5906 if test -z "$SED"; then
5907 ac_path_SED_found
=false
5908 # Loop through the user's path and test for each of PROGNAME-LIST
5909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir
=.
5914 for ac_prog
in sed gsed
; do
5915 for ac_exec_ext
in '' $ac_executable_extensions; do
5916 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5917 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5918 # Check for GNU ac_path_SED and select it if it is found.
5919 # Check for GNU $ac_path_SED
5920 case `"$ac_path_SED" --version 2>&1` in
5922 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5925 $as_echo_n 0123456789 >"conftest.in"
5928 cat "conftest.in" "conftest.in" >"conftest.tmp"
5929 mv "conftest.tmp" "conftest.in"
5930 cp "conftest.in" "conftest.nl"
5931 $as_echo '' >> "conftest.nl"
5932 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5933 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5934 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5935 if test $ac_count -gt ${ac_path_SED_max-0}; then
5936 # Best one so far, save it but keep looking for a better one
5937 ac_cv_path_SED
="$ac_path_SED"
5938 ac_path_SED_max
=$ac_count
5940 # 10*(2^10) chars as input seems more than enough
5941 test $ac_count -gt 10 && break
5943 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5946 $ac_path_SED_found && break 3
5951 if test -z "$ac_cv_path_SED"; then
5952 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5960 $as_echo "$ac_cv_path_SED" >&6; }
5961 SED
="$ac_cv_path_SED"
5969 # Check whether --enable-selective-werror was given.
5970 if test "${enable_selective_werror+set}" = set; then :
5971 enableval
=$enable_selective_werror; SELECTIVE_WERROR
=$enableval
5973 SELECTIVE_WERROR
=yes
5980 # -v is too short to test reliably with XORG_TESTSET_CFLAG
5981 if test "x$SUNCC" = "xyes"; then
5987 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
6001 xorg_testset_save_CFLAGS
="$CFLAGS"
6003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6004 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6006 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6007 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6008 $as_echo_n "(cached) " >&6
6010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6014 if ac_fn_c_try_compile
"$LINENO"; then :
6015 xorg_cv_cc_flag_unknown_warning_option
=yes
6017 xorg_cv_cc_flag_unknown_warning_option
=no
6019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6022 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6023 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6024 CFLAGS
="$xorg_testset_save_CFLAGS"
6027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6028 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6029 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6031 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6033 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6034 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6035 $as_echo_n "(cached) " >&6
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6041 if ac_fn_c_try_compile
"$LINENO"; then :
6042 xorg_cv_cc_flag_unused_command_line_argument
=yes
6044 xorg_cv_cc_flag_unused_command_line_argument
=no
6046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6049 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6050 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6051 CFLAGS
="$xorg_testset_save_CFLAGS"
6056 if test $found = "no" ; then
6057 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6058 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6061 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6062 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6065 CFLAGS
="$CFLAGS -Wall"
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
6068 $as_echo_n "checking if $CC supports -Wall... " >&6; }
6069 cacheid
=xorg_cv_cc_flag__Wall
6070 if eval \
${$cacheid+:} false
; then :
6071 $as_echo_n "(cached) " >&6
6073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6074 /* end confdefs.h. */
6084 if ac_fn_c_try_link
"$LINENO"; then :
6089 rm -f core conftest.err conftest.
$ac_objext \
6090 conftest
$ac_exeext conftest.
$ac_ext
6094 CFLAGS
="$xorg_testset_save_CFLAGS"
6096 eval supported
=\$
$cacheid
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6098 $as_echo "$supported" >&6; }
6099 if test "$supported" = "yes" ; then
6100 BASE_CFLAGS
="$BASE_CFLAGS -Wall"
6119 xorg_testset_save_CFLAGS
="$CFLAGS"
6121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6122 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6126 $as_echo_n "(cached) " >&6
6128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6132 if ac_fn_c_try_compile
"$LINENO"; then :
6133 xorg_cv_cc_flag_unknown_warning_option
=yes
6135 xorg_cv_cc_flag_unknown_warning_option
=no
6137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6141 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6142 CFLAGS
="$xorg_testset_save_CFLAGS"
6145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6146 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6147 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6149 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6159 if ac_fn_c_try_compile
"$LINENO"; then :
6160 xorg_cv_cc_flag_unused_command_line_argument
=yes
6162 xorg_cv_cc_flag_unused_command_line_argument
=no
6164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6168 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6169 CFLAGS
="$xorg_testset_save_CFLAGS"
6174 if test $found = "no" ; then
6175 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6176 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6179 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6180 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6183 CFLAGS
="$CFLAGS -Wpointer-arith"
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
6186 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
6187 cacheid
=xorg_cv_cc_flag__Wpointer_arith
6188 if eval \
${$cacheid+:} false
; then :
6189 $as_echo_n "(cached) " >&6
6191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6202 if ac_fn_c_try_link
"$LINENO"; then :
6207 rm -f core conftest.err conftest.
$ac_objext \
6208 conftest
$ac_exeext conftest.
$ac_ext
6212 CFLAGS
="$xorg_testset_save_CFLAGS"
6214 eval supported
=\$
$cacheid
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6216 $as_echo "$supported" >&6; }
6217 if test "$supported" = "yes" ; then
6218 BASE_CFLAGS
="$BASE_CFLAGS -Wpointer-arith"
6237 xorg_testset_save_CFLAGS
="$CFLAGS"
6239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6240 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6242 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6243 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6244 $as_echo_n "(cached) " >&6
6246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6250 if ac_fn_c_try_compile
"$LINENO"; then :
6251 xorg_cv_cc_flag_unknown_warning_option
=yes
6253 xorg_cv_cc_flag_unknown_warning_option
=no
6255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6258 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6259 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6260 CFLAGS
="$xorg_testset_save_CFLAGS"
6263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6264 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6265 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6267 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6269 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6270 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6271 $as_echo_n "(cached) " >&6
6273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6274 /* end confdefs.h. */
6277 if ac_fn_c_try_compile
"$LINENO"; then :
6278 xorg_cv_cc_flag_unused_command_line_argument
=yes
6280 xorg_cv_cc_flag_unused_command_line_argument
=no
6282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6285 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6286 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6287 CFLAGS
="$xorg_testset_save_CFLAGS"
6292 if test $found = "no" ; then
6293 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6294 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6297 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6298 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6301 CFLAGS
="$CFLAGS -Wmissing-declarations"
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
6304 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
6305 cacheid
=xorg_cv_cc_flag__Wmissing_declarations
6306 if eval \
${$cacheid+:} false
; then :
6307 $as_echo_n "(cached) " >&6
6309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6320 if ac_fn_c_try_link
"$LINENO"; then :
6325 rm -f core conftest.err conftest.
$ac_objext \
6326 conftest
$ac_exeext conftest.
$ac_ext
6330 CFLAGS
="$xorg_testset_save_CFLAGS"
6332 eval supported
=\$
$cacheid
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6334 $as_echo "$supported" >&6; }
6335 if test "$supported" = "yes" ; then
6336 BASE_CFLAGS
="$BASE_CFLAGS -Wmissing-declarations"
6355 xorg_testset_save_CFLAGS
="$CFLAGS"
6357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6358 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6360 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6361 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6362 $as_echo_n "(cached) " >&6
6364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6368 if ac_fn_c_try_compile
"$LINENO"; then :
6369 xorg_cv_cc_flag_unknown_warning_option
=yes
6371 xorg_cv_cc_flag_unknown_warning_option
=no
6373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6376 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6377 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6378 CFLAGS
="$xorg_testset_save_CFLAGS"
6381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6382 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6383 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6385 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6387 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6388 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6389 $as_echo_n "(cached) " >&6
6391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6395 if ac_fn_c_try_compile
"$LINENO"; then :
6396 xorg_cv_cc_flag_unused_command_line_argument
=yes
6398 xorg_cv_cc_flag_unused_command_line_argument
=no
6400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6403 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6404 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6405 CFLAGS
="$xorg_testset_save_CFLAGS"
6410 if test $found = "no" ; then
6411 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6412 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6415 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6416 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6419 CFLAGS
="$CFLAGS -Wformat=2"
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
6422 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
6423 cacheid
=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
6424 if eval \
${$cacheid+:} false
; then :
6425 $as_echo_n "(cached) " >&6
6427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6438 if ac_fn_c_try_link
"$LINENO"; then :
6443 rm -f core conftest.err conftest.
$ac_objext \
6444 conftest
$ac_exeext conftest.
$ac_ext
6448 CFLAGS
="$xorg_testset_save_CFLAGS"
6450 eval supported
=\$
$cacheid
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6452 $as_echo "$supported" >&6; }
6453 if test "$supported" = "yes" ; then
6454 BASE_CFLAGS
="$BASE_CFLAGS -Wformat=2"
6459 if test $found = "no" ; then
6460 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6461 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6464 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6465 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6468 CFLAGS
="$CFLAGS -Wformat"
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
6471 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
6472 cacheid
=xorg_cv_cc_flag__Wformat
6473 if eval \
${$cacheid+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6487 if ac_fn_c_try_link
"$LINENO"; then :
6492 rm -f core conftest.err conftest.
$ac_objext \
6493 conftest
$ac_exeext conftest.
$ac_ext
6497 CFLAGS
="$xorg_testset_save_CFLAGS"
6499 eval supported
=\$
$cacheid
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6501 $as_echo "$supported" >&6; }
6502 if test "$supported" = "yes" ; then
6503 BASE_CFLAGS
="$BASE_CFLAGS -Wformat"
6524 xorg_testset_save_CFLAGS
="$CFLAGS"
6526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6527 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6531 $as_echo_n "(cached) " >&6
6533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6537 if ac_fn_c_try_compile
"$LINENO"; then :
6538 xorg_cv_cc_flag_unknown_warning_option
=yes
6540 xorg_cv_cc_flag_unknown_warning_option
=no
6542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6546 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6547 CFLAGS
="$xorg_testset_save_CFLAGS"
6550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6551 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6552 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6554 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6558 $as_echo_n "(cached) " >&6
6560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6564 if ac_fn_c_try_compile
"$LINENO"; then :
6565 xorg_cv_cc_flag_unused_command_line_argument
=yes
6567 xorg_cv_cc_flag_unused_command_line_argument
=no
6569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6573 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6574 CFLAGS
="$xorg_testset_save_CFLAGS"
6579 if test $found = "no" ; then
6580 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6581 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6584 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6585 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6588 CFLAGS
="$CFLAGS -Wstrict-prototypes"
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
6591 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
6592 cacheid
=xorg_cv_cc_flag__Wstrict_prototypes
6593 if eval \
${$cacheid+:} false
; then :
6594 $as_echo_n "(cached) " >&6
6596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6607 if ac_fn_c_try_link
"$LINENO"; then :
6612 rm -f core conftest.err conftest.
$ac_objext \
6613 conftest
$ac_exeext conftest.
$ac_ext
6617 CFLAGS
="$xorg_testset_save_CFLAGS"
6619 eval supported
=\$
$cacheid
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6621 $as_echo "$supported" >&6; }
6622 if test "$supported" = "yes" ; then
6623 BASE_CFLAGS
="$BASE_CFLAGS -Wstrict-prototypes"
6642 xorg_testset_save_CFLAGS
="$CFLAGS"
6644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6645 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6649 $as_echo_n "(cached) " >&6
6651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6655 if ac_fn_c_try_compile
"$LINENO"; then :
6656 xorg_cv_cc_flag_unknown_warning_option
=yes
6658 xorg_cv_cc_flag_unknown_warning_option
=no
6660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6664 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6665 CFLAGS
="$xorg_testset_save_CFLAGS"
6668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6669 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6670 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6672 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6676 $as_echo_n "(cached) " >&6
6678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6679 /* end confdefs.h. */
6682 if ac_fn_c_try_compile
"$LINENO"; then :
6683 xorg_cv_cc_flag_unused_command_line_argument
=yes
6685 xorg_cv_cc_flag_unused_command_line_argument
=no
6687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6691 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6692 CFLAGS
="$xorg_testset_save_CFLAGS"
6697 if test $found = "no" ; then
6698 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6699 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6702 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6703 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6706 CFLAGS
="$CFLAGS -Wmissing-prototypes"
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
6709 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
6710 cacheid
=xorg_cv_cc_flag__Wmissing_prototypes
6711 if eval \
${$cacheid+:} false
; then :
6712 $as_echo_n "(cached) " >&6
6714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6725 if ac_fn_c_try_link
"$LINENO"; then :
6730 rm -f core conftest.err conftest.
$ac_objext \
6731 conftest
$ac_exeext conftest.
$ac_ext
6735 CFLAGS
="$xorg_testset_save_CFLAGS"
6737 eval supported
=\$
$cacheid
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6739 $as_echo "$supported" >&6; }
6740 if test "$supported" = "yes" ; then
6741 BASE_CFLAGS
="$BASE_CFLAGS -Wmissing-prototypes"
6760 xorg_testset_save_CFLAGS
="$CFLAGS"
6762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6763 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6765 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6766 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6767 $as_echo_n "(cached) " >&6
6769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6773 if ac_fn_c_try_compile
"$LINENO"; then :
6774 xorg_cv_cc_flag_unknown_warning_option
=yes
6776 xorg_cv_cc_flag_unknown_warning_option
=no
6778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6781 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6782 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6783 CFLAGS
="$xorg_testset_save_CFLAGS"
6786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6787 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6788 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6790 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6792 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6793 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6794 $as_echo_n "(cached) " >&6
6796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6800 if ac_fn_c_try_compile
"$LINENO"; then :
6801 xorg_cv_cc_flag_unused_command_line_argument
=yes
6803 xorg_cv_cc_flag_unused_command_line_argument
=no
6805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6808 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6809 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6810 CFLAGS
="$xorg_testset_save_CFLAGS"
6815 if test $found = "no" ; then
6816 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6817 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6820 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6821 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6824 CFLAGS
="$CFLAGS -Wnested-externs"
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
6827 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
6828 cacheid
=xorg_cv_cc_flag__Wnested_externs
6829 if eval \
${$cacheid+:} false
; then :
6830 $as_echo_n "(cached) " >&6
6832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6833 /* end confdefs.h. */
6843 if ac_fn_c_try_link
"$LINENO"; then :
6848 rm -f core conftest.err conftest.
$ac_objext \
6849 conftest
$ac_exeext conftest.
$ac_ext
6853 CFLAGS
="$xorg_testset_save_CFLAGS"
6855 eval supported
=\$
$cacheid
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6857 $as_echo "$supported" >&6; }
6858 if test "$supported" = "yes" ; then
6859 BASE_CFLAGS
="$BASE_CFLAGS -Wnested-externs"
6878 xorg_testset_save_CFLAGS
="$CFLAGS"
6880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6881 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6883 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6884 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
6885 $as_echo_n "(cached) " >&6
6887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6888 /* end confdefs.h. */
6891 if ac_fn_c_try_compile
"$LINENO"; then :
6892 xorg_cv_cc_flag_unknown_warning_option
=yes
6894 xorg_cv_cc_flag_unknown_warning_option
=no
6896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6899 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6900 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
6901 CFLAGS
="$xorg_testset_save_CFLAGS"
6904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6905 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6906 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6908 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6910 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6911 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
6912 $as_echo_n "(cached) " >&6
6914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6918 if ac_fn_c_try_compile
"$LINENO"; then :
6919 xorg_cv_cc_flag_unused_command_line_argument
=yes
6921 xorg_cv_cc_flag_unused_command_line_argument
=no
6923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6926 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6927 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
6928 CFLAGS
="$xorg_testset_save_CFLAGS"
6933 if test $found = "no" ; then
6934 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6935 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
6938 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6939 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
6942 CFLAGS
="$CFLAGS -Wbad-function-cast"
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
6945 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
6946 cacheid
=xorg_cv_cc_flag__Wbad_function_cast
6947 if eval \
${$cacheid+:} false
; then :
6948 $as_echo_n "(cached) " >&6
6950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h. */
6961 if ac_fn_c_try_link
"$LINENO"; then :
6966 rm -f core conftest.err conftest.
$ac_objext \
6967 conftest
$ac_exeext conftest.
$ac_ext
6971 CFLAGS
="$xorg_testset_save_CFLAGS"
6973 eval supported
=\$
$cacheid
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6975 $as_echo "$supported" >&6; }
6976 if test "$supported" = "yes" ; then
6977 BASE_CFLAGS
="$BASE_CFLAGS -Wbad-function-cast"
6996 xorg_testset_save_CFLAGS
="$CFLAGS"
6998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6999 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7002 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7003 $as_echo_n "(cached) " >&6
7005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7006 /* end confdefs.h. */
7009 if ac_fn_c_try_compile
"$LINENO"; then :
7010 xorg_cv_cc_flag_unknown_warning_option
=yes
7012 xorg_cv_cc_flag_unknown_warning_option
=no
7014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7017 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7018 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7019 CFLAGS
="$xorg_testset_save_CFLAGS"
7022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7023 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7024 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7026 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7028 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7029 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7030 $as_echo_n "(cached) " >&6
7032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7036 if ac_fn_c_try_compile
"$LINENO"; then :
7037 xorg_cv_cc_flag_unused_command_line_argument
=yes
7039 xorg_cv_cc_flag_unused_command_line_argument
=no
7041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7044 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7045 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7046 CFLAGS
="$xorg_testset_save_CFLAGS"
7051 if test $found = "no" ; then
7052 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7053 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7056 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7057 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7060 CFLAGS
="$CFLAGS -Wold-style-definition"
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
7063 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
7064 cacheid
=xorg_cv_cc_flag__Wold_style_definition
7065 if eval \
${$cacheid+:} false
; then :
7066 $as_echo_n "(cached) " >&6
7068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7079 if ac_fn_c_try_link
"$LINENO"; then :
7084 rm -f core conftest.err conftest.
$ac_objext \
7085 conftest
$ac_exeext conftest.
$ac_ext
7089 CFLAGS
="$xorg_testset_save_CFLAGS"
7091 eval supported
=\$
$cacheid
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7093 $as_echo "$supported" >&6; }
7094 if test "$supported" = "yes" ; then
7095 BASE_CFLAGS
="$BASE_CFLAGS -Wold-style-definition"
7100 if test $found = "no" ; then
7101 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7102 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7105 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7106 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7109 CFLAGS
="$CFLAGS -fd"
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
7112 $as_echo_n "checking if $CC supports -fd... " >&6; }
7113 cacheid
=xorg_cv_cc_flag__fd
7114 if eval \
${$cacheid+:} false
; then :
7115 $as_echo_n "(cached) " >&6
7117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7128 if ac_fn_c_try_link
"$LINENO"; then :
7133 rm -f core conftest.err conftest.
$ac_objext \
7134 conftest
$ac_exeext conftest.
$ac_ext
7138 CFLAGS
="$xorg_testset_save_CFLAGS"
7140 eval supported
=\$
$cacheid
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7142 $as_echo "$supported" >&6; }
7143 if test "$supported" = "yes" ; then
7144 BASE_CFLAGS
="$BASE_CFLAGS -fd"
7163 xorg_testset_save_CFLAGS
="$CFLAGS"
7165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7166 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7168 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7169 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7170 $as_echo_n "(cached) " >&6
7172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7176 if ac_fn_c_try_compile
"$LINENO"; then :
7177 xorg_cv_cc_flag_unknown_warning_option
=yes
7179 xorg_cv_cc_flag_unknown_warning_option
=no
7181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7184 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7185 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7186 CFLAGS
="$xorg_testset_save_CFLAGS"
7189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7190 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7191 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7193 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7195 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7196 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7203 if ac_fn_c_try_compile
"$LINENO"; then :
7204 xorg_cv_cc_flag_unused_command_line_argument
=yes
7206 xorg_cv_cc_flag_unused_command_line_argument
=no
7208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7211 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7212 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7213 CFLAGS
="$xorg_testset_save_CFLAGS"
7218 if test $found = "no" ; then
7219 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7220 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7223 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7224 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7227 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
7230 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
7231 cacheid
=xorg_cv_cc_flag__Wdeclaration_after_statement
7232 if eval \
${$cacheid+:} false
; then :
7233 $as_echo_n "(cached) " >&6
7235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7236 /* end confdefs.h. */
7246 if ac_fn_c_try_link
"$LINENO"; then :
7251 rm -f core conftest.err conftest.
$ac_objext \
7252 conftest
$ac_exeext conftest.
$ac_ext
7256 CFLAGS
="$xorg_testset_save_CFLAGS"
7258 eval supported
=\$
$cacheid
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7260 $as_echo "$supported" >&6; }
7261 if test "$supported" = "yes" ; then
7262 BASE_CFLAGS
="$BASE_CFLAGS -Wdeclaration-after-statement"
7271 # This chunk adds additional warnings that could catch undesired effects.
7285 xorg_testset_save_CFLAGS
="$CFLAGS"
7287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7288 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7290 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7291 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7292 $as_echo_n "(cached) " >&6
7294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h. */
7298 if ac_fn_c_try_compile
"$LINENO"; then :
7299 xorg_cv_cc_flag_unknown_warning_option
=yes
7301 xorg_cv_cc_flag_unknown_warning_option
=no
7303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7306 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7307 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7308 CFLAGS
="$xorg_testset_save_CFLAGS"
7311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7312 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7313 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7315 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7317 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7318 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7319 $as_echo_n "(cached) " >&6
7321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7325 if ac_fn_c_try_compile
"$LINENO"; then :
7326 xorg_cv_cc_flag_unused_command_line_argument
=yes
7328 xorg_cv_cc_flag_unused_command_line_argument
=no
7330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7333 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7334 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7335 CFLAGS
="$xorg_testset_save_CFLAGS"
7340 if test $found = "no" ; then
7341 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7342 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7345 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7346 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7349 CFLAGS
="$CFLAGS -Wunused"
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
7352 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
7353 cacheid
=xorg_cv_cc_flag__Wunused
7354 if eval \
${$cacheid+:} false
; then :
7355 $as_echo_n "(cached) " >&6
7357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7368 if ac_fn_c_try_link
"$LINENO"; then :
7373 rm -f core conftest.err conftest.
$ac_objext \
7374 conftest
$ac_exeext conftest.
$ac_ext
7378 CFLAGS
="$xorg_testset_save_CFLAGS"
7380 eval supported
=\$
$cacheid
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7382 $as_echo "$supported" >&6; }
7383 if test "$supported" = "yes" ; then
7384 BASE_CFLAGS
="$BASE_CFLAGS -Wunused"
7403 xorg_testset_save_CFLAGS
="$CFLAGS"
7405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7406 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7408 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7409 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7410 $as_echo_n "(cached) " >&6
7412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7413 /* end confdefs.h. */
7416 if ac_fn_c_try_compile
"$LINENO"; then :
7417 xorg_cv_cc_flag_unknown_warning_option
=yes
7419 xorg_cv_cc_flag_unknown_warning_option
=no
7421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7424 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7425 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7426 CFLAGS
="$xorg_testset_save_CFLAGS"
7429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7430 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7431 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7433 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7435 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7436 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7437 $as_echo_n "(cached) " >&6
7439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7440 /* end confdefs.h. */
7443 if ac_fn_c_try_compile
"$LINENO"; then :
7444 xorg_cv_cc_flag_unused_command_line_argument
=yes
7446 xorg_cv_cc_flag_unused_command_line_argument
=no
7448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7451 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7452 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7453 CFLAGS
="$xorg_testset_save_CFLAGS"
7458 if test $found = "no" ; then
7459 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7460 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7463 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7464 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7467 CFLAGS
="$CFLAGS -Wuninitialized"
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
7470 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
7471 cacheid
=xorg_cv_cc_flag__Wuninitialized
7472 if eval \
${$cacheid+:} false
; then :
7473 $as_echo_n "(cached) " >&6
7475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7486 if ac_fn_c_try_link
"$LINENO"; then :
7491 rm -f core conftest.err conftest.
$ac_objext \
7492 conftest
$ac_exeext conftest.
$ac_ext
7496 CFLAGS
="$xorg_testset_save_CFLAGS"
7498 eval supported
=\$
$cacheid
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7500 $as_echo "$supported" >&6; }
7501 if test "$supported" = "yes" ; then
7502 BASE_CFLAGS
="$BASE_CFLAGS -Wuninitialized"
7521 xorg_testset_save_CFLAGS
="$CFLAGS"
7523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7524 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7526 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7527 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7528 $as_echo_n "(cached) " >&6
7530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7534 if ac_fn_c_try_compile
"$LINENO"; then :
7535 xorg_cv_cc_flag_unknown_warning_option
=yes
7537 xorg_cv_cc_flag_unknown_warning_option
=no
7539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7542 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7543 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7544 CFLAGS
="$xorg_testset_save_CFLAGS"
7547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7548 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7549 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7551 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7553 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7554 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7555 $as_echo_n "(cached) " >&6
7557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7561 if ac_fn_c_try_compile
"$LINENO"; then :
7562 xorg_cv_cc_flag_unused_command_line_argument
=yes
7564 xorg_cv_cc_flag_unused_command_line_argument
=no
7566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7569 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7570 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7571 CFLAGS
="$xorg_testset_save_CFLAGS"
7576 if test $found = "no" ; then
7577 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7578 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7581 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7582 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7585 CFLAGS
="$CFLAGS -Wshadow"
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
7588 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
7589 cacheid
=xorg_cv_cc_flag__Wshadow
7590 if eval \
${$cacheid+:} false
; then :
7591 $as_echo_n "(cached) " >&6
7593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h. */
7604 if ac_fn_c_try_link
"$LINENO"; then :
7609 rm -f core conftest.err conftest.
$ac_objext \
7610 conftest
$ac_exeext conftest.
$ac_ext
7614 CFLAGS
="$xorg_testset_save_CFLAGS"
7616 eval supported
=\$
$cacheid
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7618 $as_echo "$supported" >&6; }
7619 if test "$supported" = "yes" ; then
7620 BASE_CFLAGS
="$BASE_CFLAGS -Wshadow"
7639 xorg_testset_save_CFLAGS
="$CFLAGS"
7641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7642 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7644 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7645 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7646 $as_echo_n "(cached) " >&6
7648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7652 if ac_fn_c_try_compile
"$LINENO"; then :
7653 xorg_cv_cc_flag_unknown_warning_option
=yes
7655 xorg_cv_cc_flag_unknown_warning_option
=no
7657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7660 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7661 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7662 CFLAGS
="$xorg_testset_save_CFLAGS"
7665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7666 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7667 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7669 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7671 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7672 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7673 $as_echo_n "(cached) " >&6
7675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7679 if ac_fn_c_try_compile
"$LINENO"; then :
7680 xorg_cv_cc_flag_unused_command_line_argument
=yes
7682 xorg_cv_cc_flag_unused_command_line_argument
=no
7684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7687 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7688 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7689 CFLAGS
="$xorg_testset_save_CFLAGS"
7694 if test $found = "no" ; then
7695 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7696 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7699 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7700 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7703 CFLAGS
="$CFLAGS -Wmissing-noreturn"
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
7706 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
7707 cacheid
=xorg_cv_cc_flag__Wmissing_noreturn
7708 if eval \
${$cacheid+:} false
; then :
7709 $as_echo_n "(cached) " >&6
7711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7722 if ac_fn_c_try_link
"$LINENO"; then :
7727 rm -f core conftest.err conftest.
$ac_objext \
7728 conftest
$ac_exeext conftest.
$ac_ext
7732 CFLAGS
="$xorg_testset_save_CFLAGS"
7734 eval supported
=\$
$cacheid
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7736 $as_echo "$supported" >&6; }
7737 if test "$supported" = "yes" ; then
7738 BASE_CFLAGS
="$BASE_CFLAGS -Wmissing-noreturn"
7757 xorg_testset_save_CFLAGS
="$CFLAGS"
7759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7760 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7762 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7763 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7764 $as_echo_n "(cached) " >&6
7766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7770 if ac_fn_c_try_compile
"$LINENO"; then :
7771 xorg_cv_cc_flag_unknown_warning_option
=yes
7773 xorg_cv_cc_flag_unknown_warning_option
=no
7775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7778 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7779 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7780 CFLAGS
="$xorg_testset_save_CFLAGS"
7783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7784 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7785 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7787 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7789 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7790 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7791 $as_echo_n "(cached) " >&6
7793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7794 /* end confdefs.h. */
7797 if ac_fn_c_try_compile
"$LINENO"; then :
7798 xorg_cv_cc_flag_unused_command_line_argument
=yes
7800 xorg_cv_cc_flag_unused_command_line_argument
=no
7802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7805 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7806 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7807 CFLAGS
="$xorg_testset_save_CFLAGS"
7812 if test $found = "no" ; then
7813 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7814 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7817 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7818 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7821 CFLAGS
="$CFLAGS -Wmissing-format-attribute"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
7824 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
7825 cacheid
=xorg_cv_cc_flag__Wmissing_format_attribute
7826 if eval \
${$cacheid+:} false
; then :
7827 $as_echo_n "(cached) " >&6
7829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7840 if ac_fn_c_try_link
"$LINENO"; then :
7845 rm -f core conftest.err conftest.
$ac_objext \
7846 conftest
$ac_exeext conftest.
$ac_ext
7850 CFLAGS
="$xorg_testset_save_CFLAGS"
7852 eval supported
=\$
$cacheid
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7854 $as_echo "$supported" >&6; }
7855 if test "$supported" = "yes" ; then
7856 BASE_CFLAGS
="$BASE_CFLAGS -Wmissing-format-attribute"
7875 xorg_testset_save_CFLAGS
="$CFLAGS"
7877 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7878 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7880 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7881 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7888 if ac_fn_c_try_compile
"$LINENO"; then :
7889 xorg_cv_cc_flag_unknown_warning_option
=yes
7891 xorg_cv_cc_flag_unknown_warning_option
=no
7893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7896 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7897 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
7898 CFLAGS
="$xorg_testset_save_CFLAGS"
7901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7902 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7903 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7905 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7907 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7908 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
7909 $as_echo_n "(cached) " >&6
7911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7915 if ac_fn_c_try_compile
"$LINENO"; then :
7916 xorg_cv_cc_flag_unused_command_line_argument
=yes
7918 xorg_cv_cc_flag_unused_command_line_argument
=no
7920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7923 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7924 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
7925 CFLAGS
="$xorg_testset_save_CFLAGS"
7930 if test $found = "no" ; then
7931 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7932 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7935 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7936 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
7939 CFLAGS
="$CFLAGS -Wredundant-decls"
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
7942 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
7943 cacheid
=xorg_cv_cc_flag__Wredundant_decls
7944 if eval \
${$cacheid+:} false
; then :
7945 $as_echo_n "(cached) " >&6
7947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7948 /* end confdefs.h. */
7958 if ac_fn_c_try_link
"$LINENO"; then :
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7968 CFLAGS
="$xorg_testset_save_CFLAGS"
7970 eval supported
=\$
$cacheid
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7972 $as_echo "$supported" >&6; }
7973 if test "$supported" = "yes" ; then
7974 BASE_CFLAGS
="$BASE_CFLAGS -Wredundant-decls"
7993 xorg_testset_save_CFLAGS
="$CFLAGS"
7995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7996 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7998 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7999 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8006 if ac_fn_c_try_compile
"$LINENO"; then :
8007 xorg_cv_cc_flag_unknown_warning_option
=yes
8009 xorg_cv_cc_flag_unknown_warning_option
=no
8011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8014 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8015 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8016 CFLAGS
="$xorg_testset_save_CFLAGS"
8019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8020 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8021 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8023 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8025 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8026 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8027 $as_echo_n "(cached) " >&6
8029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8030 /* end confdefs.h. */
8033 if ac_fn_c_try_compile
"$LINENO"; then :
8034 xorg_cv_cc_flag_unused_command_line_argument
=yes
8036 xorg_cv_cc_flag_unused_command_line_argument
=no
8038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8041 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8042 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8043 CFLAGS
="$xorg_testset_save_CFLAGS"
8048 if test $found = "no" ; then
8049 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8050 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8053 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8054 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8057 CFLAGS
="$CFLAGS -Wlogical-op"
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
8060 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
8061 cacheid
=xorg_cv_cc_flag__Wlogical_op
8062 if eval \
${$cacheid+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8066 /* end confdefs.h. */
8076 if ac_fn_c_try_link
"$LINENO"; then :
8081 rm -f core conftest.err conftest.
$ac_objext \
8082 conftest
$ac_exeext conftest.
$ac_ext
8086 CFLAGS
="$xorg_testset_save_CFLAGS"
8088 eval supported
=\$
$cacheid
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8090 $as_echo "$supported" >&6; }
8091 if test "$supported" = "yes" ; then
8092 BASE_CFLAGS
="$BASE_CFLAGS -Wlogical-op"
8099 # These are currently disabled because they are noisy. They will be enabled
8100 # in the future once the codebase is sufficiently modernized to silence
8101 # them. For now, I don't want them to drown out the other warnings.
8102 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
8103 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
8104 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
8106 # Turn some warnings into errors, so we don't accidently get successful builds
8107 # when there are problems that should be fixed.
8109 if test "x$SELECTIVE_WERROR" = "xyes" ; then
8123 xorg_testset_save_CFLAGS
="$CFLAGS"
8125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8126 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8130 $as_echo_n "(cached) " >&6
8132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8136 if ac_fn_c_try_compile
"$LINENO"; then :
8137 xorg_cv_cc_flag_unknown_warning_option
=yes
8139 xorg_cv_cc_flag_unknown_warning_option
=no
8141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8145 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8146 CFLAGS
="$xorg_testset_save_CFLAGS"
8149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8150 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8151 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8153 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8157 $as_echo_n "(cached) " >&6
8159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8163 if ac_fn_c_try_compile
"$LINENO"; then :
8164 xorg_cv_cc_flag_unused_command_line_argument
=yes
8166 xorg_cv_cc_flag_unused_command_line_argument
=no
8168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8172 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8173 CFLAGS
="$xorg_testset_save_CFLAGS"
8178 if test $found = "no" ; then
8179 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8180 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8183 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8184 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8187 CFLAGS
="$CFLAGS -Werror=implicit"
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
8190 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
8191 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
8192 if eval \
${$cacheid+:} false
; then :
8193 $as_echo_n "(cached) " >&6
8195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8206 if ac_fn_c_try_link
"$LINENO"; then :
8211 rm -f core conftest.err conftest.
$ac_objext \
8212 conftest
$ac_exeext conftest.
$ac_ext
8216 CFLAGS
="$xorg_testset_save_CFLAGS"
8218 eval supported
=\$
$cacheid
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8220 $as_echo "$supported" >&6; }
8221 if test "$supported" = "yes" ; then
8222 BASE_CFLAGS
="$BASE_CFLAGS -Werror=implicit"
8227 if test $found = "no" ; then
8228 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8229 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8232 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8233 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8236 CFLAGS
="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
8239 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
8240 cacheid
=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
8241 if eval \
${$cacheid+:} false
; then :
8242 $as_echo_n "(cached) " >&6
8244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8255 if ac_fn_c_try_link
"$LINENO"; then :
8260 rm -f core conftest.err conftest.
$ac_objext \
8261 conftest
$ac_exeext conftest.
$ac_ext
8265 CFLAGS
="$xorg_testset_save_CFLAGS"
8267 eval supported
=\$
$cacheid
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8269 $as_echo "$supported" >&6; }
8270 if test "$supported" = "yes" ; then
8271 BASE_CFLAGS
="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
8290 xorg_testset_save_CFLAGS
="$CFLAGS"
8292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8293 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8297 $as_echo_n "(cached) " >&6
8299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8303 if ac_fn_c_try_compile
"$LINENO"; then :
8304 xorg_cv_cc_flag_unknown_warning_option
=yes
8306 xorg_cv_cc_flag_unknown_warning_option
=no
8308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8312 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8313 CFLAGS
="$xorg_testset_save_CFLAGS"
8316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8317 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8318 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8320 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8324 $as_echo_n "(cached) " >&6
8326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8330 if ac_fn_c_try_compile
"$LINENO"; then :
8331 xorg_cv_cc_flag_unused_command_line_argument
=yes
8333 xorg_cv_cc_flag_unused_command_line_argument
=no
8335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8339 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8340 CFLAGS
="$xorg_testset_save_CFLAGS"
8345 if test $found = "no" ; then
8346 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8347 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8350 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8351 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8354 CFLAGS
="$CFLAGS -Werror=nonnull"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
8357 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
8358 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
8359 if eval \
${$cacheid+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8373 if ac_fn_c_try_link
"$LINENO"; then :
8378 rm -f core conftest.err conftest.
$ac_objext \
8379 conftest
$ac_exeext conftest.
$ac_ext
8383 CFLAGS
="$xorg_testset_save_CFLAGS"
8385 eval supported
=\$
$cacheid
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8387 $as_echo "$supported" >&6; }
8388 if test "$supported" = "yes" ; then
8389 BASE_CFLAGS
="$BASE_CFLAGS -Werror=nonnull"
8408 xorg_testset_save_CFLAGS
="$CFLAGS"
8410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8411 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8415 $as_echo_n "(cached) " >&6
8417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8421 if ac_fn_c_try_compile
"$LINENO"; then :
8422 xorg_cv_cc_flag_unknown_warning_option
=yes
8424 xorg_cv_cc_flag_unknown_warning_option
=no
8426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8430 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8431 CFLAGS
="$xorg_testset_save_CFLAGS"
8434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8435 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8436 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8438 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8442 $as_echo_n "(cached) " >&6
8444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8448 if ac_fn_c_try_compile
"$LINENO"; then :
8449 xorg_cv_cc_flag_unused_command_line_argument
=yes
8451 xorg_cv_cc_flag_unused_command_line_argument
=no
8453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8457 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8458 CFLAGS
="$xorg_testset_save_CFLAGS"
8463 if test $found = "no" ; then
8464 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8465 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8468 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8469 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8472 CFLAGS
="$CFLAGS -Werror=init-self"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
8475 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
8476 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
8477 if eval \
${$cacheid+:} false
; then :
8478 $as_echo_n "(cached) " >&6
8480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8491 if ac_fn_c_try_link
"$LINENO"; then :
8496 rm -f core conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8501 CFLAGS
="$xorg_testset_save_CFLAGS"
8503 eval supported
=\$
$cacheid
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8505 $as_echo "$supported" >&6; }
8506 if test "$supported" = "yes" ; then
8507 BASE_CFLAGS
="$BASE_CFLAGS -Werror=init-self"
8526 xorg_testset_save_CFLAGS
="$CFLAGS"
8528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8529 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8533 $as_echo_n "(cached) " >&6
8535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8539 if ac_fn_c_try_compile
"$LINENO"; then :
8540 xorg_cv_cc_flag_unknown_warning_option
=yes
8542 xorg_cv_cc_flag_unknown_warning_option
=no
8544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8548 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8549 CFLAGS
="$xorg_testset_save_CFLAGS"
8552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8553 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8554 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8556 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8560 $as_echo_n "(cached) " >&6
8562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8566 if ac_fn_c_try_compile
"$LINENO"; then :
8567 xorg_cv_cc_flag_unused_command_line_argument
=yes
8569 xorg_cv_cc_flag_unused_command_line_argument
=no
8571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8575 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8576 CFLAGS
="$xorg_testset_save_CFLAGS"
8581 if test $found = "no" ; then
8582 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8583 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8586 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8587 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8590 CFLAGS
="$CFLAGS -Werror=main"
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
8593 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
8594 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
8595 if eval \
${$cacheid+:} false
; then :
8596 $as_echo_n "(cached) " >&6
8598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8609 if ac_fn_c_try_link
"$LINENO"; then :
8614 rm -f core conftest.err conftest.
$ac_objext \
8615 conftest
$ac_exeext conftest.
$ac_ext
8619 CFLAGS
="$xorg_testset_save_CFLAGS"
8621 eval supported
=\$
$cacheid
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8623 $as_echo "$supported" >&6; }
8624 if test "$supported" = "yes" ; then
8625 BASE_CFLAGS
="$BASE_CFLAGS -Werror=main"
8644 xorg_testset_save_CFLAGS
="$CFLAGS"
8646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8647 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8651 $as_echo_n "(cached) " >&6
8653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8657 if ac_fn_c_try_compile
"$LINENO"; then :
8658 xorg_cv_cc_flag_unknown_warning_option
=yes
8660 xorg_cv_cc_flag_unknown_warning_option
=no
8662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8666 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8667 CFLAGS
="$xorg_testset_save_CFLAGS"
8670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8671 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8672 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8674 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8678 $as_echo_n "(cached) " >&6
8680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8684 if ac_fn_c_try_compile
"$LINENO"; then :
8685 xorg_cv_cc_flag_unused_command_line_argument
=yes
8687 xorg_cv_cc_flag_unused_command_line_argument
=no
8689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8693 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8694 CFLAGS
="$xorg_testset_save_CFLAGS"
8699 if test $found = "no" ; then
8700 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8701 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8704 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8705 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8708 CFLAGS
="$CFLAGS -Werror=missing-braces"
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
8711 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
8712 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
8713 if eval \
${$cacheid+:} false
; then :
8714 $as_echo_n "(cached) " >&6
8716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8717 /* end confdefs.h. */
8727 if ac_fn_c_try_link
"$LINENO"; then :
8732 rm -f core conftest.err conftest.
$ac_objext \
8733 conftest
$ac_exeext conftest.
$ac_ext
8737 CFLAGS
="$xorg_testset_save_CFLAGS"
8739 eval supported
=\$
$cacheid
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8741 $as_echo "$supported" >&6; }
8742 if test "$supported" = "yes" ; then
8743 BASE_CFLAGS
="$BASE_CFLAGS -Werror=missing-braces"
8762 xorg_testset_save_CFLAGS
="$CFLAGS"
8764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8765 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8769 $as_echo_n "(cached) " >&6
8771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8775 if ac_fn_c_try_compile
"$LINENO"; then :
8776 xorg_cv_cc_flag_unknown_warning_option
=yes
8778 xorg_cv_cc_flag_unknown_warning_option
=no
8780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8784 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8785 CFLAGS
="$xorg_testset_save_CFLAGS"
8788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8789 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8790 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8792 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8796 $as_echo_n "(cached) " >&6
8798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8802 if ac_fn_c_try_compile
"$LINENO"; then :
8803 xorg_cv_cc_flag_unused_command_line_argument
=yes
8805 xorg_cv_cc_flag_unused_command_line_argument
=no
8807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8811 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8812 CFLAGS
="$xorg_testset_save_CFLAGS"
8817 if test $found = "no" ; then
8818 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8819 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8822 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8823 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8826 CFLAGS
="$CFLAGS -Werror=sequence-point"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
8829 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
8830 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
8831 if eval \
${$cacheid+:} false
; then :
8832 $as_echo_n "(cached) " >&6
8834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8845 if ac_fn_c_try_link
"$LINENO"; then :
8850 rm -f core conftest.err conftest.
$ac_objext \
8851 conftest
$ac_exeext conftest.
$ac_ext
8855 CFLAGS
="$xorg_testset_save_CFLAGS"
8857 eval supported
=\$
$cacheid
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8859 $as_echo "$supported" >&6; }
8860 if test "$supported" = "yes" ; then
8861 BASE_CFLAGS
="$BASE_CFLAGS -Werror=sequence-point"
8880 xorg_testset_save_CFLAGS
="$CFLAGS"
8882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8883 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8885 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8886 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
8887 $as_echo_n "(cached) " >&6
8889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8893 if ac_fn_c_try_compile
"$LINENO"; then :
8894 xorg_cv_cc_flag_unknown_warning_option
=yes
8896 xorg_cv_cc_flag_unknown_warning_option
=no
8898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8901 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8902 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
8903 CFLAGS
="$xorg_testset_save_CFLAGS"
8906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8907 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8908 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8910 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8912 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8913 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
8914 $as_echo_n "(cached) " >&6
8916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8920 if ac_fn_c_try_compile
"$LINENO"; then :
8921 xorg_cv_cc_flag_unused_command_line_argument
=yes
8923 xorg_cv_cc_flag_unused_command_line_argument
=no
8925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8928 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8929 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
8930 CFLAGS
="$xorg_testset_save_CFLAGS"
8935 if test $found = "no" ; then
8936 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8937 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8940 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8941 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8944 CFLAGS
="$CFLAGS -Werror=return-type"
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
8947 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
8948 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
8949 if eval \
${$cacheid+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8953 /* end confdefs.h. */
8963 if ac_fn_c_try_link
"$LINENO"; then :
8968 rm -f core conftest.err conftest.
$ac_objext \
8969 conftest
$ac_exeext conftest.
$ac_ext
8973 CFLAGS
="$xorg_testset_save_CFLAGS"
8975 eval supported
=\$
$cacheid
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8977 $as_echo "$supported" >&6; }
8978 if test "$supported" = "yes" ; then
8979 BASE_CFLAGS
="$BASE_CFLAGS -Werror=return-type"
8984 if test $found = "no" ; then
8985 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8986 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
8989 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8990 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
8993 CFLAGS
="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
8996 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
8997 cacheid
=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
8998 if eval \
${$cacheid+:} false
; then :
8999 $as_echo_n "(cached) " >&6
9001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9012 if ac_fn_c_try_link
"$LINENO"; then :
9017 rm -f core conftest.err conftest.
$ac_objext \
9018 conftest
$ac_exeext conftest.
$ac_ext
9022 CFLAGS
="$xorg_testset_save_CFLAGS"
9024 eval supported
=\$
$cacheid
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9026 $as_echo "$supported" >&6; }
9027 if test "$supported" = "yes" ; then
9028 BASE_CFLAGS
="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
9047 xorg_testset_save_CFLAGS
="$CFLAGS"
9049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9050 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9054 $as_echo_n "(cached) " >&6
9056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9057 /* end confdefs.h. */
9060 if ac_fn_c_try_compile
"$LINENO"; then :
9061 xorg_cv_cc_flag_unknown_warning_option
=yes
9063 xorg_cv_cc_flag_unknown_warning_option
=no
9065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9069 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9070 CFLAGS
="$xorg_testset_save_CFLAGS"
9073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9074 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9075 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9077 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9087 if ac_fn_c_try_compile
"$LINENO"; then :
9088 xorg_cv_cc_flag_unused_command_line_argument
=yes
9090 xorg_cv_cc_flag_unused_command_line_argument
=no
9092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9096 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9097 CFLAGS
="$xorg_testset_save_CFLAGS"
9102 if test $found = "no" ; then
9103 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9104 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9107 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9108 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9111 CFLAGS
="$CFLAGS -Werror=trigraphs"
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
9114 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
9115 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
9116 if eval \
${$cacheid+:} false
; then :
9117 $as_echo_n "(cached) " >&6
9119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9130 if ac_fn_c_try_link
"$LINENO"; then :
9135 rm -f core conftest.err conftest.
$ac_objext \
9136 conftest
$ac_exeext conftest.
$ac_ext
9140 CFLAGS
="$xorg_testset_save_CFLAGS"
9142 eval supported
=\$
$cacheid
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9144 $as_echo "$supported" >&6; }
9145 if test "$supported" = "yes" ; then
9146 BASE_CFLAGS
="$BASE_CFLAGS -Werror=trigraphs"
9165 xorg_testset_save_CFLAGS
="$CFLAGS"
9167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9168 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9170 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9171 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9178 if ac_fn_c_try_compile
"$LINENO"; then :
9179 xorg_cv_cc_flag_unknown_warning_option
=yes
9181 xorg_cv_cc_flag_unknown_warning_option
=no
9183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9186 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9187 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9188 CFLAGS
="$xorg_testset_save_CFLAGS"
9191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9192 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9193 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9195 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9197 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9198 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9199 $as_echo_n "(cached) " >&6
9201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9205 if ac_fn_c_try_compile
"$LINENO"; then :
9206 xorg_cv_cc_flag_unused_command_line_argument
=yes
9208 xorg_cv_cc_flag_unused_command_line_argument
=no
9210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9213 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9214 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9215 CFLAGS
="$xorg_testset_save_CFLAGS"
9220 if test $found = "no" ; then
9221 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9222 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9225 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9226 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9229 CFLAGS
="$CFLAGS -Werror=array-bounds"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
9232 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
9233 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
9234 if eval \
${$cacheid+:} false
; then :
9235 $as_echo_n "(cached) " >&6
9237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9248 if ac_fn_c_try_link
"$LINENO"; then :
9253 rm -f core conftest.err conftest.
$ac_objext \
9254 conftest
$ac_exeext conftest.
$ac_ext
9258 CFLAGS
="$xorg_testset_save_CFLAGS"
9260 eval supported
=\$
$cacheid
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9262 $as_echo "$supported" >&6; }
9263 if test "$supported" = "yes" ; then
9264 BASE_CFLAGS
="$BASE_CFLAGS -Werror=array-bounds"
9283 xorg_testset_save_CFLAGS
="$CFLAGS"
9285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9286 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9288 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9289 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9290 $as_echo_n "(cached) " >&6
9292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9293 /* end confdefs.h. */
9296 if ac_fn_c_try_compile
"$LINENO"; then :
9297 xorg_cv_cc_flag_unknown_warning_option
=yes
9299 xorg_cv_cc_flag_unknown_warning_option
=no
9301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9304 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9305 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9306 CFLAGS
="$xorg_testset_save_CFLAGS"
9309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9310 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9311 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9313 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9315 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9316 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9317 $as_echo_n "(cached) " >&6
9319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9323 if ac_fn_c_try_compile
"$LINENO"; then :
9324 xorg_cv_cc_flag_unused_command_line_argument
=yes
9326 xorg_cv_cc_flag_unused_command_line_argument
=no
9328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9331 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9332 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9333 CFLAGS
="$xorg_testset_save_CFLAGS"
9338 if test $found = "no" ; then
9339 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9340 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9343 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9344 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9347 CFLAGS
="$CFLAGS -Werror=write-strings"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
9350 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
9351 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
9352 if eval \
${$cacheid+:} false
; then :
9353 $as_echo_n "(cached) " >&6
9355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9366 if ac_fn_c_try_link
"$LINENO"; then :
9371 rm -f core conftest.err conftest.
$ac_objext \
9372 conftest
$ac_exeext conftest.
$ac_ext
9376 CFLAGS
="$xorg_testset_save_CFLAGS"
9378 eval supported
=\$
$cacheid
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9380 $as_echo "$supported" >&6; }
9381 if test "$supported" = "yes" ; then
9382 BASE_CFLAGS
="$BASE_CFLAGS -Werror=write-strings"
9401 xorg_testset_save_CFLAGS
="$CFLAGS"
9403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9404 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9406 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9407 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9408 $as_echo_n "(cached) " >&6
9410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9414 if ac_fn_c_try_compile
"$LINENO"; then :
9415 xorg_cv_cc_flag_unknown_warning_option
=yes
9417 xorg_cv_cc_flag_unknown_warning_option
=no
9419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9422 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9423 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9424 CFLAGS
="$xorg_testset_save_CFLAGS"
9427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9428 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9429 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9431 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9433 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9434 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9435 $as_echo_n "(cached) " >&6
9437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9441 if ac_fn_c_try_compile
"$LINENO"; then :
9442 xorg_cv_cc_flag_unused_command_line_argument
=yes
9444 xorg_cv_cc_flag_unused_command_line_argument
=no
9446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9449 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9450 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9451 CFLAGS
="$xorg_testset_save_CFLAGS"
9456 if test $found = "no" ; then
9457 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9458 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9461 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9462 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9465 CFLAGS
="$CFLAGS -Werror=address"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
9468 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
9469 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
9470 if eval \
${$cacheid+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9484 if ac_fn_c_try_link
"$LINENO"; then :
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9494 CFLAGS
="$xorg_testset_save_CFLAGS"
9496 eval supported
=\$
$cacheid
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9498 $as_echo "$supported" >&6; }
9499 if test "$supported" = "yes" ; then
9500 BASE_CFLAGS
="$BASE_CFLAGS -Werror=address"
9519 xorg_testset_save_CFLAGS
="$CFLAGS"
9521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9522 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9524 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9525 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9526 $as_echo_n "(cached) " >&6
9528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9532 if ac_fn_c_try_compile
"$LINENO"; then :
9533 xorg_cv_cc_flag_unknown_warning_option
=yes
9535 xorg_cv_cc_flag_unknown_warning_option
=no
9537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9540 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9541 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9542 CFLAGS
="$xorg_testset_save_CFLAGS"
9545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9546 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9547 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9549 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9551 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9552 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9553 $as_echo_n "(cached) " >&6
9555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9559 if ac_fn_c_try_compile
"$LINENO"; then :
9560 xorg_cv_cc_flag_unused_command_line_argument
=yes
9562 xorg_cv_cc_flag_unused_command_line_argument
=no
9564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9567 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9568 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9569 CFLAGS
="$xorg_testset_save_CFLAGS"
9574 if test $found = "no" ; then
9575 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9576 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9579 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9580 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9583 CFLAGS
="$CFLAGS -Werror=int-to-pointer-cast"
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
9586 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
9587 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
9588 if eval \
${$cacheid+:} false
; then :
9589 $as_echo_n "(cached) " >&6
9591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9602 if ac_fn_c_try_link
"$LINENO"; then :
9607 rm -f core conftest.err conftest.
$ac_objext \
9608 conftest
$ac_exeext conftest.
$ac_ext
9612 CFLAGS
="$xorg_testset_save_CFLAGS"
9614 eval supported
=\$
$cacheid
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9616 $as_echo "$supported" >&6; }
9617 if test "$supported" = "yes" ; then
9618 BASE_CFLAGS
="$BASE_CFLAGS -Werror=int-to-pointer-cast"
9623 if test $found = "no" ; then
9624 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9625 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9628 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9629 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9632 CFLAGS
="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
9635 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
9636 cacheid
=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
9637 if eval \
${$cacheid+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9651 if ac_fn_c_try_link
"$LINENO"; then :
9656 rm -f core conftest.err conftest.
$ac_objext \
9657 conftest
$ac_exeext conftest.
$ac_ext
9661 CFLAGS
="$xorg_testset_save_CFLAGS"
9663 eval supported
=\$
$cacheid
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9665 $as_echo "$supported" >&6; }
9666 if test "$supported" = "yes" ; then
9667 BASE_CFLAGS
="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
9686 xorg_testset_save_CFLAGS
="$CFLAGS"
9688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9689 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9691 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9692 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9693 $as_echo_n "(cached) " >&6
9695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9699 if ac_fn_c_try_compile
"$LINENO"; then :
9700 xorg_cv_cc_flag_unknown_warning_option
=yes
9702 xorg_cv_cc_flag_unknown_warning_option
=no
9704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9707 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9708 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9709 CFLAGS
="$xorg_testset_save_CFLAGS"
9712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9713 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9714 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9716 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9718 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9719 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9720 $as_echo_n "(cached) " >&6
9722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9726 if ac_fn_c_try_compile
"$LINENO"; then :
9727 xorg_cv_cc_flag_unused_command_line_argument
=yes
9729 xorg_cv_cc_flag_unused_command_line_argument
=no
9731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9734 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9735 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9736 CFLAGS
="$xorg_testset_save_CFLAGS"
9741 if test $found = "no" ; then
9742 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9743 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9746 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9747 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9750 CFLAGS
="$CFLAGS -Werror=pointer-to-int-cast"
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
9753 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
9754 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
9755 if eval \
${$cacheid+:} false
; then :
9756 $as_echo_n "(cached) " >&6
9758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9759 /* end confdefs.h. */
9769 if ac_fn_c_try_link
"$LINENO"; then :
9774 rm -f core conftest.err conftest.
$ac_objext \
9775 conftest
$ac_exeext conftest.
$ac_ext
9779 CFLAGS
="$xorg_testset_save_CFLAGS"
9781 eval supported
=\$
$cacheid
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9783 $as_echo "$supported" >&6; }
9784 if test "$supported" = "yes" ; then
9785 BASE_CFLAGS
="$BASE_CFLAGS -Werror=pointer-to-int-cast"
9790 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
9793 $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
9807 xorg_testset_save_CFLAGS
="$CFLAGS"
9809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9810 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9813 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9814 $as_echo_n "(cached) " >&6
9816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9820 if ac_fn_c_try_compile
"$LINENO"; then :
9821 xorg_cv_cc_flag_unknown_warning_option
=yes
9823 xorg_cv_cc_flag_unknown_warning_option
=no
9825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9828 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9829 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9830 CFLAGS
="$xorg_testset_save_CFLAGS"
9833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9834 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9835 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9837 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9840 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9841 $as_echo_n "(cached) " >&6
9843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9847 if ac_fn_c_try_compile
"$LINENO"; then :
9848 xorg_cv_cc_flag_unused_command_line_argument
=yes
9850 xorg_cv_cc_flag_unused_command_line_argument
=no
9852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9855 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9856 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9857 CFLAGS
="$xorg_testset_save_CFLAGS"
9862 if test $found = "no" ; then
9863 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9864 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9867 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9868 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9871 CFLAGS
="$CFLAGS -Wimplicit"
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
9874 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
9875 cacheid
=xorg_cv_cc_flag__Wimplicit
9876 if eval \
${$cacheid+:} false
; then :
9877 $as_echo_n "(cached) " >&6
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9890 if ac_fn_c_try_link
"$LINENO"; then :
9895 rm -f core conftest.err conftest.
$ac_objext \
9896 conftest
$ac_exeext conftest.
$ac_ext
9900 CFLAGS
="$xorg_testset_save_CFLAGS"
9902 eval supported
=\$
$cacheid
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9904 $as_echo "$supported" >&6; }
9905 if test "$supported" = "yes" ; then
9906 BASE_CFLAGS
="$BASE_CFLAGS -Wimplicit"
9925 xorg_testset_save_CFLAGS
="$CFLAGS"
9927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9928 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9930 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9931 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
9932 $as_echo_n "(cached) " >&6
9934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9938 if ac_fn_c_try_compile
"$LINENO"; then :
9939 xorg_cv_cc_flag_unknown_warning_option
=yes
9941 xorg_cv_cc_flag_unknown_warning_option
=no
9943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9946 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9947 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
9948 CFLAGS
="$xorg_testset_save_CFLAGS"
9951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9952 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9953 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9955 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9957 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9958 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
9959 $as_echo_n "(cached) " >&6
9961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9965 if ac_fn_c_try_compile
"$LINENO"; then :
9966 xorg_cv_cc_flag_unused_command_line_argument
=yes
9968 xorg_cv_cc_flag_unused_command_line_argument
=no
9970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9973 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9974 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
9975 CFLAGS
="$xorg_testset_save_CFLAGS"
9980 if test $found = "no" ; then
9981 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9982 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
9985 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9986 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
9989 CFLAGS
="$CFLAGS -Wnonnull"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
9992 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
9993 cacheid
=xorg_cv_cc_flag__Wnonnull
9994 if eval \
${$cacheid+:} false
; then :
9995 $as_echo_n "(cached) " >&6
9997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10008 if ac_fn_c_try_link
"$LINENO"; then :
10013 rm -f core conftest.err conftest.
$ac_objext \
10014 conftest
$ac_exeext conftest.
$ac_ext
10018 CFLAGS
="$xorg_testset_save_CFLAGS"
10020 eval supported
=\$
$cacheid
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10022 $as_echo "$supported" >&6; }
10023 if test "$supported" = "yes" ; then
10024 BASE_CFLAGS
="$BASE_CFLAGS -Wnonnull"
10043 xorg_testset_save_CFLAGS
="$CFLAGS"
10045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10046 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10050 $as_echo_n "(cached) " >&6
10052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10056 if ac_fn_c_try_compile
"$LINENO"; then :
10057 xorg_cv_cc_flag_unknown_warning_option
=yes
10059 xorg_cv_cc_flag_unknown_warning_option
=no
10061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10065 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10066 CFLAGS
="$xorg_testset_save_CFLAGS"
10069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10070 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10071 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10073 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10077 $as_echo_n "(cached) " >&6
10079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10083 if ac_fn_c_try_compile
"$LINENO"; then :
10084 xorg_cv_cc_flag_unused_command_line_argument
=yes
10086 xorg_cv_cc_flag_unused_command_line_argument
=no
10088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10092 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10093 CFLAGS
="$xorg_testset_save_CFLAGS"
10098 if test $found = "no" ; then
10099 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10100 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10103 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10104 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10107 CFLAGS
="$CFLAGS -Winit-self"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
10110 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
10111 cacheid
=xorg_cv_cc_flag__Winit_self
10112 if eval \
${$cacheid+:} false
; then :
10113 $as_echo_n "(cached) " >&6
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10126 if ac_fn_c_try_link
"$LINENO"; then :
10131 rm -f core conftest.err conftest.
$ac_objext \
10132 conftest
$ac_exeext conftest.
$ac_ext
10136 CFLAGS
="$xorg_testset_save_CFLAGS"
10138 eval supported
=\$
$cacheid
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10140 $as_echo "$supported" >&6; }
10141 if test "$supported" = "yes" ; then
10142 BASE_CFLAGS
="$BASE_CFLAGS -Winit-self"
10161 xorg_testset_save_CFLAGS
="$CFLAGS"
10163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10164 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10166 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10167 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10168 $as_echo_n "(cached) " >&6
10170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10174 if ac_fn_c_try_compile
"$LINENO"; then :
10175 xorg_cv_cc_flag_unknown_warning_option
=yes
10177 xorg_cv_cc_flag_unknown_warning_option
=no
10179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10182 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10183 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10184 CFLAGS
="$xorg_testset_save_CFLAGS"
10187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10188 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10189 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10191 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10193 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10194 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10201 if ac_fn_c_try_compile
"$LINENO"; then :
10202 xorg_cv_cc_flag_unused_command_line_argument
=yes
10204 xorg_cv_cc_flag_unused_command_line_argument
=no
10206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10209 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10210 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10211 CFLAGS
="$xorg_testset_save_CFLAGS"
10216 if test $found = "no" ; then
10217 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10218 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10221 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10222 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10225 CFLAGS
="$CFLAGS -Wmain"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
10228 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
10229 cacheid
=xorg_cv_cc_flag__Wmain
10230 if eval \
${$cacheid+:} false
; then :
10231 $as_echo_n "(cached) " >&6
10233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10244 if ac_fn_c_try_link
"$LINENO"; then :
10249 rm -f core conftest.err conftest.
$ac_objext \
10250 conftest
$ac_exeext conftest.
$ac_ext
10254 CFLAGS
="$xorg_testset_save_CFLAGS"
10256 eval supported
=\$
$cacheid
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10258 $as_echo "$supported" >&6; }
10259 if test "$supported" = "yes" ; then
10260 BASE_CFLAGS
="$BASE_CFLAGS -Wmain"
10279 xorg_testset_save_CFLAGS
="$CFLAGS"
10281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10282 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10286 $as_echo_n "(cached) " >&6
10288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10292 if ac_fn_c_try_compile
"$LINENO"; then :
10293 xorg_cv_cc_flag_unknown_warning_option
=yes
10295 xorg_cv_cc_flag_unknown_warning_option
=no
10297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10301 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10302 CFLAGS
="$xorg_testset_save_CFLAGS"
10305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10306 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10307 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10309 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10319 if ac_fn_c_try_compile
"$LINENO"; then :
10320 xorg_cv_cc_flag_unused_command_line_argument
=yes
10322 xorg_cv_cc_flag_unused_command_line_argument
=no
10324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10328 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10329 CFLAGS
="$xorg_testset_save_CFLAGS"
10334 if test $found = "no" ; then
10335 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10336 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10339 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10340 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10343 CFLAGS
="$CFLAGS -Wmissing-braces"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
10346 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
10347 cacheid
=xorg_cv_cc_flag__Wmissing_braces
10348 if eval \
${$cacheid+:} false
; then :
10349 $as_echo_n "(cached) " >&6
10351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10362 if ac_fn_c_try_link
"$LINENO"; then :
10367 rm -f core conftest.err conftest.
$ac_objext \
10368 conftest
$ac_exeext conftest.
$ac_ext
10372 CFLAGS
="$xorg_testset_save_CFLAGS"
10374 eval supported
=\$
$cacheid
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10376 $as_echo "$supported" >&6; }
10377 if test "$supported" = "yes" ; then
10378 BASE_CFLAGS
="$BASE_CFLAGS -Wmissing-braces"
10397 xorg_testset_save_CFLAGS
="$CFLAGS"
10399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10400 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10402 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10403 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10404 $as_echo_n "(cached) " >&6
10406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10410 if ac_fn_c_try_compile
"$LINENO"; then :
10411 xorg_cv_cc_flag_unknown_warning_option
=yes
10413 xorg_cv_cc_flag_unknown_warning_option
=no
10415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10418 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10419 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10420 CFLAGS
="$xorg_testset_save_CFLAGS"
10423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10424 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10425 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10427 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10429 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10430 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10431 $as_echo_n "(cached) " >&6
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10437 if ac_fn_c_try_compile
"$LINENO"; then :
10438 xorg_cv_cc_flag_unused_command_line_argument
=yes
10440 xorg_cv_cc_flag_unused_command_line_argument
=no
10442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10445 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10446 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10447 CFLAGS
="$xorg_testset_save_CFLAGS"
10452 if test $found = "no" ; then
10453 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10454 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10457 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10458 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10461 CFLAGS
="$CFLAGS -Wsequence-point"
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
10464 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
10465 cacheid
=xorg_cv_cc_flag__Wsequence_point
10466 if eval \
${$cacheid+:} false
; then :
10467 $as_echo_n "(cached) " >&6
10469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10480 if ac_fn_c_try_link
"$LINENO"; then :
10485 rm -f core conftest.err conftest.
$ac_objext \
10486 conftest
$ac_exeext conftest.
$ac_ext
10490 CFLAGS
="$xorg_testset_save_CFLAGS"
10492 eval supported
=\$
$cacheid
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10494 $as_echo "$supported" >&6; }
10495 if test "$supported" = "yes" ; then
10496 BASE_CFLAGS
="$BASE_CFLAGS -Wsequence-point"
10515 xorg_testset_save_CFLAGS
="$CFLAGS"
10517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10518 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10522 $as_echo_n "(cached) " >&6
10524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10528 if ac_fn_c_try_compile
"$LINENO"; then :
10529 xorg_cv_cc_flag_unknown_warning_option
=yes
10531 xorg_cv_cc_flag_unknown_warning_option
=no
10533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10537 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10538 CFLAGS
="$xorg_testset_save_CFLAGS"
10541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10542 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10543 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10545 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10549 $as_echo_n "(cached) " >&6
10551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10552 /* end confdefs.h. */
10555 if ac_fn_c_try_compile
"$LINENO"; then :
10556 xorg_cv_cc_flag_unused_command_line_argument
=yes
10558 xorg_cv_cc_flag_unused_command_line_argument
=no
10560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10564 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10565 CFLAGS
="$xorg_testset_save_CFLAGS"
10570 if test $found = "no" ; then
10571 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10572 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10575 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10576 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10579 CFLAGS
="$CFLAGS -Wreturn-type"
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
10582 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
10583 cacheid
=xorg_cv_cc_flag__Wreturn_type
10584 if eval \
${$cacheid+:} false
; then :
10585 $as_echo_n "(cached) " >&6
10587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10588 /* end confdefs.h. */
10598 if ac_fn_c_try_link
"$LINENO"; then :
10603 rm -f core conftest.err conftest.
$ac_objext \
10604 conftest
$ac_exeext conftest.
$ac_ext
10608 CFLAGS
="$xorg_testset_save_CFLAGS"
10610 eval supported
=\$
$cacheid
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10612 $as_echo "$supported" >&6; }
10613 if test "$supported" = "yes" ; then
10614 BASE_CFLAGS
="$BASE_CFLAGS -Wreturn-type"
10633 xorg_testset_save_CFLAGS
="$CFLAGS"
10635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10636 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10640 $as_echo_n "(cached) " >&6
10642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10646 if ac_fn_c_try_compile
"$LINENO"; then :
10647 xorg_cv_cc_flag_unknown_warning_option
=yes
10649 xorg_cv_cc_flag_unknown_warning_option
=no
10651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10655 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10656 CFLAGS
="$xorg_testset_save_CFLAGS"
10659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10660 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10661 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10663 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10667 $as_echo_n "(cached) " >&6
10669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10673 if ac_fn_c_try_compile
"$LINENO"; then :
10674 xorg_cv_cc_flag_unused_command_line_argument
=yes
10676 xorg_cv_cc_flag_unused_command_line_argument
=no
10678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10682 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10683 CFLAGS
="$xorg_testset_save_CFLAGS"
10688 if test $found = "no" ; then
10689 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10690 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10693 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10694 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10697 CFLAGS
="$CFLAGS -Wtrigraphs"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
10700 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
10701 cacheid
=xorg_cv_cc_flag__Wtrigraphs
10702 if eval \
${$cacheid+:} false
; then :
10703 $as_echo_n "(cached) " >&6
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10716 if ac_fn_c_try_link
"$LINENO"; then :
10721 rm -f core conftest.err conftest.
$ac_objext \
10722 conftest
$ac_exeext conftest.
$ac_ext
10726 CFLAGS
="$xorg_testset_save_CFLAGS"
10728 eval supported
=\$
$cacheid
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10730 $as_echo "$supported" >&6; }
10731 if test "$supported" = "yes" ; then
10732 BASE_CFLAGS
="$BASE_CFLAGS -Wtrigraphs"
10751 xorg_testset_save_CFLAGS
="$CFLAGS"
10753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10754 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10758 $as_echo_n "(cached) " >&6
10760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10764 if ac_fn_c_try_compile
"$LINENO"; then :
10765 xorg_cv_cc_flag_unknown_warning_option
=yes
10767 xorg_cv_cc_flag_unknown_warning_option
=no
10769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10773 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10774 CFLAGS
="$xorg_testset_save_CFLAGS"
10777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10778 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10779 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10781 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10785 $as_echo_n "(cached) " >&6
10787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10791 if ac_fn_c_try_compile
"$LINENO"; then :
10792 xorg_cv_cc_flag_unused_command_line_argument
=yes
10794 xorg_cv_cc_flag_unused_command_line_argument
=no
10796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10800 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10801 CFLAGS
="$xorg_testset_save_CFLAGS"
10806 if test $found = "no" ; then
10807 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10808 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10811 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10812 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10815 CFLAGS
="$CFLAGS -Warray-bounds"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
10818 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
10819 cacheid
=xorg_cv_cc_flag__Warray_bounds
10820 if eval \
${$cacheid+:} false
; then :
10821 $as_echo_n "(cached) " >&6
10823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10834 if ac_fn_c_try_link
"$LINENO"; then :
10839 rm -f core conftest.err conftest.
$ac_objext \
10840 conftest
$ac_exeext conftest.
$ac_ext
10844 CFLAGS
="$xorg_testset_save_CFLAGS"
10846 eval supported
=\$
$cacheid
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10848 $as_echo "$supported" >&6; }
10849 if test "$supported" = "yes" ; then
10850 BASE_CFLAGS
="$BASE_CFLAGS -Warray-bounds"
10869 xorg_testset_save_CFLAGS
="$CFLAGS"
10871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10872 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10874 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10875 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10876 $as_echo_n "(cached) " >&6
10878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10882 if ac_fn_c_try_compile
"$LINENO"; then :
10883 xorg_cv_cc_flag_unknown_warning_option
=yes
10885 xorg_cv_cc_flag_unknown_warning_option
=no
10887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10890 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10891 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
10892 CFLAGS
="$xorg_testset_save_CFLAGS"
10895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10896 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10897 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10899 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10901 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10902 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
10903 $as_echo_n "(cached) " >&6
10905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10909 if ac_fn_c_try_compile
"$LINENO"; then :
10910 xorg_cv_cc_flag_unused_command_line_argument
=yes
10912 xorg_cv_cc_flag_unused_command_line_argument
=no
10914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10917 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10918 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
10919 CFLAGS
="$xorg_testset_save_CFLAGS"
10924 if test $found = "no" ; then
10925 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10926 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10929 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10930 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
10933 CFLAGS
="$CFLAGS -Wwrite-strings"
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
10936 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
10937 cacheid
=xorg_cv_cc_flag__Wwrite_strings
10938 if eval \
${$cacheid+:} false
; then :
10939 $as_echo_n "(cached) " >&6
10941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10952 if ac_fn_c_try_link
"$LINENO"; then :
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10962 CFLAGS
="$xorg_testset_save_CFLAGS"
10964 eval supported
=\$
$cacheid
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10966 $as_echo "$supported" >&6; }
10967 if test "$supported" = "yes" ; then
10968 BASE_CFLAGS
="$BASE_CFLAGS -Wwrite-strings"
10987 xorg_testset_save_CFLAGS
="$CFLAGS"
10989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10990 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
10994 $as_echo_n "(cached) " >&6
10996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
11000 if ac_fn_c_try_compile
"$LINENO"; then :
11001 xorg_cv_cc_flag_unknown_warning_option
=yes
11003 xorg_cv_cc_flag_unknown_warning_option
=no
11005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11009 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
11010 CFLAGS
="$xorg_testset_save_CFLAGS"
11013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11014 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11015 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11017 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
11021 $as_echo_n "(cached) " >&6
11023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11027 if ac_fn_c_try_compile
"$LINENO"; then :
11028 xorg_cv_cc_flag_unused_command_line_argument
=yes
11030 xorg_cv_cc_flag_unused_command_line_argument
=no
11032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11036 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
11037 CFLAGS
="$xorg_testset_save_CFLAGS"
11042 if test $found = "no" ; then
11043 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11044 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11047 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11048 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11051 CFLAGS
="$CFLAGS -Waddress"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
11054 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
11055 cacheid
=xorg_cv_cc_flag__Waddress
11056 if eval \
${$cacheid+:} false
; then :
11057 $as_echo_n "(cached) " >&6
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11070 if ac_fn_c_try_link
"$LINENO"; then :
11075 rm -f core conftest.err conftest.
$ac_objext \
11076 conftest
$ac_exeext conftest.
$ac_ext
11080 CFLAGS
="$xorg_testset_save_CFLAGS"
11082 eval supported
=\$
$cacheid
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11084 $as_echo "$supported" >&6; }
11085 if test "$supported" = "yes" ; then
11086 BASE_CFLAGS
="$BASE_CFLAGS -Waddress"
11105 xorg_testset_save_CFLAGS
="$CFLAGS"
11107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11108 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
11112 $as_echo_n "(cached) " >&6
11114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11118 if ac_fn_c_try_compile
"$LINENO"; then :
11119 xorg_cv_cc_flag_unknown_warning_option
=yes
11121 xorg_cv_cc_flag_unknown_warning_option
=no
11123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11127 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
11128 CFLAGS
="$xorg_testset_save_CFLAGS"
11131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11132 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11133 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11135 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11145 if ac_fn_c_try_compile
"$LINENO"; then :
11146 xorg_cv_cc_flag_unused_command_line_argument
=yes
11148 xorg_cv_cc_flag_unused_command_line_argument
=no
11150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11154 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
11155 CFLAGS
="$xorg_testset_save_CFLAGS"
11160 if test $found = "no" ; then
11161 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11162 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11165 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11166 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11169 CFLAGS
="$CFLAGS -Wint-to-pointer-cast"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
11172 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
11173 cacheid
=xorg_cv_cc_flag__Wint_to_pointer_cast
11174 if eval \
${$cacheid+:} false
; then :
11175 $as_echo_n "(cached) " >&6
11177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11188 if ac_fn_c_try_link
"$LINENO"; then :
11193 rm -f core conftest.err conftest.
$ac_objext \
11194 conftest
$ac_exeext conftest.
$ac_ext
11198 CFLAGS
="$xorg_testset_save_CFLAGS"
11200 eval supported
=\$
$cacheid
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11202 $as_echo "$supported" >&6; }
11203 if test "$supported" = "yes" ; then
11204 BASE_CFLAGS
="$BASE_CFLAGS -Wint-to-pointer-cast"
11223 xorg_testset_save_CFLAGS
="$CFLAGS"
11225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11226 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11228 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11229 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
11230 $as_echo_n "(cached) " >&6
11232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11236 if ac_fn_c_try_compile
"$LINENO"; then :
11237 xorg_cv_cc_flag_unknown_warning_option
=yes
11239 xorg_cv_cc_flag_unknown_warning_option
=no
11241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11244 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11245 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
11246 CFLAGS
="$xorg_testset_save_CFLAGS"
11249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11250 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11251 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11253 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11255 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11256 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
11257 $as_echo_n "(cached) " >&6
11259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11263 if ac_fn_c_try_compile
"$LINENO"; then :
11264 xorg_cv_cc_flag_unused_command_line_argument
=yes
11266 xorg_cv_cc_flag_unused_command_line_argument
=no
11268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11271 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11272 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
11273 CFLAGS
="$xorg_testset_save_CFLAGS"
11278 if test $found = "no" ; then
11279 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11280 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11283 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11284 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11287 CFLAGS
="$CFLAGS -Wpointer-to-int-cast"
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
11290 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
11291 cacheid
=xorg_cv_cc_flag__Wpointer_to_int_cast
11292 if eval \
${$cacheid+:} false
; then :
11293 $as_echo_n "(cached) " >&6
11295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11306 if ac_fn_c_try_link
"$LINENO"; then :
11311 rm -f core conftest.err conftest.
$ac_objext \
11312 conftest
$ac_exeext conftest.
$ac_ext
11316 CFLAGS
="$xorg_testset_save_CFLAGS"
11318 eval supported
=\$
$cacheid
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11320 $as_echo "$supported" >&6; }
11321 if test "$supported" = "yes" ; then
11322 BASE_CFLAGS
="$BASE_CFLAGS -Wpointer-to-int-cast"
11336 CWARNFLAGS
="$BASE_CFLAGS"
11337 if test "x$GCC" = xyes
; then
11338 CWARNFLAGS
="$CWARNFLAGS -fno-strict-aliasing"
11348 # Check whether --enable-strict-compilation was given.
11349 if test "${enable_strict_compilation+set}" = set; then :
11350 enableval
=$enable_strict_compilation; STRICT_COMPILE
=$enableval
11374 xorg_testset_save_CFLAGS
="$CFLAGS"
11376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11377 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11379 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11380 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
11381 $as_echo_n "(cached) " >&6
11383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11387 if ac_fn_c_try_compile
"$LINENO"; then :
11388 xorg_cv_cc_flag_unknown_warning_option
=yes
11390 xorg_cv_cc_flag_unknown_warning_option
=no
11392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11395 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11396 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
11397 CFLAGS
="$xorg_testset_save_CFLAGS"
11400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11401 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11402 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11404 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11406 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11407 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
11408 $as_echo_n "(cached) " >&6
11410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11414 if ac_fn_c_try_compile
"$LINENO"; then :
11415 xorg_cv_cc_flag_unused_command_line_argument
=yes
11417 xorg_cv_cc_flag_unused_command_line_argument
=no
11419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11422 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11423 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
11424 CFLAGS
="$xorg_testset_save_CFLAGS"
11429 if test $found = "no" ; then
11430 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11431 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11434 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11435 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11438 CFLAGS
="$CFLAGS -pedantic"
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
11441 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
11442 cacheid
=xorg_cv_cc_flag__pedantic
11443 if eval \
${$cacheid+:} false
; then :
11444 $as_echo_n "(cached) " >&6
11446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11457 if ac_fn_c_try_link
"$LINENO"; then :
11462 rm -f core conftest.err conftest.
$ac_objext \
11463 conftest
$ac_exeext conftest.
$ac_ext
11467 CFLAGS
="$xorg_testset_save_CFLAGS"
11469 eval supported
=\$
$cacheid
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11471 $as_echo "$supported" >&6; }
11472 if test "$supported" = "yes" ; then
11473 STRICT_CFLAGS
="$STRICT_CFLAGS -pedantic"
11492 xorg_testset_save_CFLAGS
="$CFLAGS"
11494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11495 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11497 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11498 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
11499 $as_echo_n "(cached) " >&6
11501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11505 if ac_fn_c_try_compile
"$LINENO"; then :
11506 xorg_cv_cc_flag_unknown_warning_option
=yes
11508 xorg_cv_cc_flag_unknown_warning_option
=no
11510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11513 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11514 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
11515 CFLAGS
="$xorg_testset_save_CFLAGS"
11518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11519 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11520 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11522 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11524 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11525 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
11526 $as_echo_n "(cached) " >&6
11528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11532 if ac_fn_c_try_compile
"$LINENO"; then :
11533 xorg_cv_cc_flag_unused_command_line_argument
=yes
11535 xorg_cv_cc_flag_unused_command_line_argument
=no
11537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11540 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11541 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
11542 CFLAGS
="$xorg_testset_save_CFLAGS"
11547 if test $found = "no" ; then
11548 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11549 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11552 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11553 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11556 CFLAGS
="$CFLAGS -Werror"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
11559 $as_echo_n "checking if $CC supports -Werror... " >&6; }
11560 cacheid
=xorg_cv_cc_flag__Werror
11561 if eval \
${$cacheid+:} false
; then :
11562 $as_echo_n "(cached) " >&6
11564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11575 if ac_fn_c_try_link
"$LINENO"; then :
11580 rm -f core conftest.err conftest.
$ac_objext \
11581 conftest
$ac_exeext conftest.
$ac_ext
11585 CFLAGS
="$xorg_testset_save_CFLAGS"
11587 eval supported
=\$
$cacheid
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11589 $as_echo "$supported" >&6; }
11590 if test "$supported" = "yes" ; then
11591 STRICT_CFLAGS
="$STRICT_CFLAGS -Werror"
11596 if test $found = "no" ; then
11597 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11598 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11601 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11602 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11605 CFLAGS
="$CFLAGS -errwarn"
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
11608 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
11609 cacheid
=xorg_cv_cc_flag__errwarn
11610 if eval \
${$cacheid+:} false
; then :
11611 $as_echo_n "(cached) " >&6
11613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11624 if ac_fn_c_try_link
"$LINENO"; then :
11629 rm -f core conftest.err conftest.
$ac_objext \
11630 conftest
$ac_exeext conftest.
$ac_ext
11634 CFLAGS
="$xorg_testset_save_CFLAGS"
11636 eval supported
=\$
$cacheid
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11638 $as_echo "$supported" >&6; }
11639 if test "$supported" = "yes" ; then
11640 STRICT_CFLAGS
="$STRICT_CFLAGS -errwarn"
11647 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
11648 # activate it with -Werror, so we add it here explicitly.
11662 xorg_testset_save_CFLAGS
="$CFLAGS"
11664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
11665 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
11667 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
11668 if ${xorg_cv_cc_flag_unknown_warning_option+:} false
; then :
11669 $as_echo_n "(cached) " >&6
11671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11675 if ac_fn_c_try_compile
"$LINENO"; then :
11676 xorg_cv_cc_flag_unknown_warning_option
=yes
11678 xorg_cv_cc_flag_unknown_warning_option
=no
11680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
11683 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
11684 xorg_testset_cc_unknown_warning_option
=$xorg_cv_cc_flag_unknown_warning_option
11685 CFLAGS
="$xorg_testset_save_CFLAGS"
11688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
11689 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11690 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11692 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
11694 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
11695 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false
; then :
11696 $as_echo_n "(cached) " >&6
11698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11699 /* end confdefs.h. */
11702 if ac_fn_c_try_compile
"$LINENO"; then :
11703 xorg_cv_cc_flag_unused_command_line_argument
=yes
11705 xorg_cv_cc_flag_unused_command_line_argument
=no
11707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
11710 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
11711 xorg_testset_cc_unused_command_line_argument
=$xorg_cv_cc_flag_unused_command_line_argument
11712 CFLAGS
="$xorg_testset_save_CFLAGS"
11717 if test $found = "no" ; then
11718 if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
11719 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
11722 if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
11723 CFLAGS
="$CFLAGS -Werror=unused-command-line-argument"
11726 CFLAGS
="$CFLAGS -Werror=attributes"
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
11729 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
11730 cacheid
=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
11731 if eval \
${$cacheid+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11745 if ac_fn_c_try_link
"$LINENO"; then :
11750 rm -f core conftest.err conftest.
$ac_objext \
11751 conftest
$ac_exeext conftest.
$ac_ext
11755 CFLAGS
="$xorg_testset_save_CFLAGS"
11757 eval supported
=\$
$cacheid
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
11759 $as_echo "$supported" >&6; }
11760 if test "$supported" = "yes" ; then
11761 STRICT_CFLAGS
="$STRICT_CFLAGS -Werror=attributes"
11768 if test "x$STRICT_COMPILE" = "xyes"; then
11769 BASE_CFLAGS
="$BASE_CFLAGS $STRICT_CFLAGS"
11770 CWARNFLAGS
="$CWARNFLAGS $STRICT_CFLAGS"
11778 cat >>confdefs.h
<<_ACEOF
11779 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
11782 PVM
=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
11783 if test "x$PVM" = "x"; then
11787 cat >>confdefs.h
<<_ACEOF
11788 #define PACKAGE_VERSION_MINOR $PVM
11791 PVP
=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
11792 if test "x$PVP" = "x"; then
11796 cat >>confdefs.h
<<_ACEOF
11797 #define PACKAGE_VERSION_PATCHLEVEL $PVP
11802 CHANGELOG_CMD
="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
11803 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
11804 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
11805 echo 'git directory not found: installing possibly empty changelog.' >&2)"
11810 macros_datadir
=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
11811 INSTALL_CMD
="(cp -f "$macros_datadir/INSTALL
" \$(top_srcdir)/.INSTALL.tmp && \
11812 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
11813 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
11814 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
11821 if test x
$APP_MAN_SUFFIX = x
; then
11824 if test x
$APP_MAN_DIR = x
; then
11825 APP_MAN_DIR
='$(mandir)/man$(APP_MAN_SUFFIX)'
11828 if test x
$LIB_MAN_SUFFIX = x
; then
11831 if test x
$LIB_MAN_DIR = x
; then
11832 LIB_MAN_DIR
='$(mandir)/man$(LIB_MAN_SUFFIX)'
11835 if test x
$FILE_MAN_SUFFIX = x
; then
11837 solaris
*) FILE_MAN_SUFFIX
=4 ;;
11838 *) FILE_MAN_SUFFIX
=5 ;;
11841 if test x
$FILE_MAN_DIR = x
; then
11842 FILE_MAN_DIR
='$(mandir)/man$(FILE_MAN_SUFFIX)'
11845 if test x
$MISC_MAN_SUFFIX = x
; then
11847 solaris
*) MISC_MAN_SUFFIX
=5 ;;
11848 *) MISC_MAN_SUFFIX
=7 ;;
11851 if test x
$MISC_MAN_DIR = x
; then
11852 MISC_MAN_DIR
='$(mandir)/man$(MISC_MAN_SUFFIX)'
11855 if test x
$DRIVER_MAN_SUFFIX = x
; then
11857 solaris
*) DRIVER_MAN_SUFFIX
=7 ;;
11858 *) DRIVER_MAN_SUFFIX
=4 ;;
11861 if test x
$DRIVER_MAN_DIR = x
; then
11862 DRIVER_MAN_DIR
='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
11865 if test x
$ADMIN_MAN_SUFFIX = x
; then
11867 solaris
*) ADMIN_MAN_SUFFIX
=1m
;;
11868 *) ADMIN_MAN_SUFFIX
=8 ;;
11871 if test x
$ADMIN_MAN_DIR = x
; then
11872 ADMIN_MAN_DIR
='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
11889 XORG_MAN_PAGE
="X Version 11"
11892 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11893 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11894 -e 's|__xservername__|Xorg|g' \
11895 -e 's|__xconfigfile__|xorg.conf|g' \
11896 -e 's|__projectroot__|\$(prefix)|g' \
11897 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
11898 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
11899 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
11900 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
11901 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
11902 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
11903 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
11907 # Check whether --enable-silent-rules was given.
11908 if test "${enable_silent_rules+set}" = set; then :
11909 enableval
=$enable_silent_rules;
11912 case $enable_silent_rules in
11913 yes) AM_DEFAULT_VERBOSITY
=0;;
11914 no
) AM_DEFAULT_VERBOSITY
=1;;
11915 *) AM_DEFAULT_VERBOSITY
=0;;
11917 am_make
=${MAKE-make}
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
11919 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
11920 if ${am_cv_make_support_nested_variables+:} false
; then :
11921 $as_echo_n "(cached) " >&6
11923 if $as_echo 'TRUE=$(BAR$(V))
11929 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
11930 am_cv_make_support_nested_variables
=yes
11932 am_cv_make_support_nested_variables
=no
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
11936 $as_echo "$am_cv_make_support_nested_variables" >&6; }
11937 if test $am_cv_make_support_nested_variables = yes; then
11939 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
11941 AM_V
=$AM_DEFAULT_VERBOSITY
11942 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
11952 # Check whether --with-doxygen was given.
11953 if test "${with_doxygen+set}" = set; then :
11954 withval=$with_doxygen; use_doxygen=$withval
11961 if test "x$use_doxygen" = x"auto"; then
11962 # Extract the first word of "doxygen", so it can be a program name with args.
11963 set dummy doxygen; ac_word=$2
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11965 $as_echo_n "checking for $ac_word... " >&6; }
11966 if ${ac_cv_path_DOXYGEN+:} false; then :
11967 $as_echo_n "(cached) " >&6
11971 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
11974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11975 for as_dir in $PATH
11978 test -z "$as_dir" && as_dir=.
11979 for ac_exec_ext in '' $ac_executable_extensions; do
11980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11981 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 DOXYGEN=$ac_cv_path_DOXYGEN
11993 if test -n "$DOXYGEN"; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11995 $as_echo "$DOXYGEN" >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11998 $as_echo "no" >&6; }
12002 if test "x$DOXYGEN" = "x"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
12004 $as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
12009 elif test "x$use_doxygen" = x"yes" ; then
12010 # Extract the first word of "doxygen", so it can be a program name with args.
12011 set dummy doxygen; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12013 $as_echo_n "checking for $ac_word... " >&6; }
12014 if ${ac_cv_path_DOXYGEN+:} false; then :
12015 $as_echo_n "(cached) " >&6
12019 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
12022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $PATH
12026 test -z "$as_dir" && as_dir=.
12027 for ac_exec_ext in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12040 DOXYGEN=$ac_cv_path_DOXYGEN
12041 if test -n "$DOXYGEN"; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
12043 $as_echo "$DOXYGEN" >&6; }
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12050 if test "x$DOXYGEN" = "x"; then
12051 as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
12054 elif test "x$use_doxygen" = x"no" ; then
12055 if test "x$DOXYGEN" != "x"; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
12057 $as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
12061 as_fn_error $? "--with-doxygen expects 'yes' or 'no
'" "$LINENO" 5
12063 if test "$have_doxygen" = yes; then
12064 # scrape the doxygen version
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the doxygen version" >&5
12066 $as_echo_n "checking the doxygen version... " >&6; }
12067 doxygen_version=`$DOXYGEN --version 2>/dev/null`
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doxygen_version" >&5
12069 $as_echo "$doxygen_version" >&6; }
12070 as_arg_v1=$doxygen_version
12072 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12075 if test "x$use_doxygen" = xauto; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen version $doxygen_version found, but 1.6.1 needed" >&5
12077 $as_echo "$as_me: WARNING: doxygen version $doxygen_version found, but 1.6.1 needed" >&2;}
12080 as_fn_error $? "doxygen version $doxygen_version found, but 1.6.1 needed" "$LINENO" 5
12092 if test "x$have_doxygen" = "xyes"; then
12093 # Extract the first word of "dot", so it can be a program name with args.
12094 set dummy dot; ac_word=$2
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12096 $as_echo_n "checking for $ac_word... " >&6; }
12097 if ${ac_cv_path_DOT+:} false; then :
12098 $as_echo_n "(cached) " >&6
12102 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 test -z "$as_dir" && as_dir=.
12110 for ac_exec_ext in '' $ac_executable_extensions; do
12111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12112 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
12113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12123 DOT=$ac_cv_path_DOT
12124 if test -n "$DOT"; then
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
12126 $as_echo "$DOT" >&6; }
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 $as_echo "no" >&6; }
12133 if test "x$DOT" != "x"; then
12139 if test "$HAVE_DOT" = "yes"; then
12147 if test "$have_doxygen" = yes; then
12149 HAVE_DOXYGEN_FALSE
='#'
12151 HAVE_DOXYGEN_TRUE
='#'
12152 HAVE_DOXYGEN_FALSE
=
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
12158 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
12160 if test -n "$PKG_CONFIG" && \
12161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
12162 ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
12164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12165 test $ac_status = 0; }; then
12166 XORG_SGML_PATH
=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
12172 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
12173 # the path and the name of the doc stylesheet
12174 if test "x$XORG_SGML_PATH" != "x" ; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
12176 $as_echo "$XORG_SGML_PATH" >&6; }
12177 STYLESHEET_SRCDIR
=$XORG_SGML_PATH/X11
12178 XSL_STYLESHEET
=$STYLESHEET_SRCDIR/xorg.xsl
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12181 $as_echo "no" >&6; }
12187 if test "x$XSL_STYLESHEET" != "x"; then
12188 HAVE_STYLESHEETS_TRUE
=
12189 HAVE_STYLESHEETS_FALSE
='#'
12191 HAVE_STYLESHEETS_TRUE
='#'
12192 HAVE_STYLESHEETS_FALSE
=
12198 # Check whether --enable-docs was given.
12199 if test "${enable_docs+set}" = set; then :
12200 enableval
=$enable_docs; build_docs
=$enableval
12206 if test x
$build_docs = xyes
; then
12208 ENABLE_DOCS_FALSE
='#'
12210 ENABLE_DOCS_TRUE
='#'
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12215 $as_echo_n "checking whether to build documentation... " >&6; }
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
12217 $as_echo "$build_docs" >&6; }
12221 # Check whether --enable-devel-docs was given.
12222 if test "${enable_devel_docs+set}" = set; then :
12223 enableval
=$enable_devel_docs; build_devel_docs
=$enableval
12225 build_devel_docs
=yes
12229 if test x
$build_devel_docs = xyes
; then
12230 ENABLE_DEVEL_DOCS_TRUE
=
12231 ENABLE_DEVEL_DOCS_FALSE
='#'
12233 ENABLE_DEVEL_DOCS_TRUE
='#'
12234 ENABLE_DEVEL_DOCS_FALSE
=
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
12238 $as_echo_n "checking whether to build developer documentation... " >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
12240 $as_echo "$build_devel_docs" >&6; }
12246 # Check whether --with-xmlto was given.
12247 if test "${with_xmlto+set}" = set; then :
12248 withval
=$with_xmlto; use_xmlto
=$withval
12255 if test "x$use_xmlto" = x
"auto"; then
12256 # Extract the first word of "xmlto", so it can be a program name with args.
12257 set dummy xmlto
; ac_word
=$2
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12259 $as_echo_n "checking for $ac_word... " >&6; }
12260 if ${ac_cv_path_XMLTO+:} false
; then :
12261 $as_echo_n "(cached) " >&6
12265 ac_cv_path_XMLTO
="$XMLTO" # Let the user override the test with a path.
12268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12269 for as_dir
in $PATH
12272 test -z "$as_dir" && as_dir
=.
12273 for ac_exec_ext
in '' $ac_executable_extensions; do
12274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12275 ac_cv_path_XMLTO
="$as_dir/$ac_word$ac_exec_ext"
12276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12286 XMLTO
=$ac_cv_path_XMLTO
12287 if test -n "$XMLTO"; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
12289 $as_echo "$XMLTO" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12296 if test "x$XMLTO" = "x"; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
12298 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
12303 elif test "x$use_xmlto" = x
"yes" ; then
12304 # Extract the first word of "xmlto", so it can be a program name with args.
12305 set dummy xmlto
; ac_word
=$2
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12307 $as_echo_n "checking for $ac_word... " >&6; }
12308 if ${ac_cv_path_XMLTO+:} false
; then :
12309 $as_echo_n "(cached) " >&6
12313 ac_cv_path_XMLTO
="$XMLTO" # Let the user override the test with a path.
12316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12317 for as_dir
in $PATH
12320 test -z "$as_dir" && as_dir
=.
12321 for ac_exec_ext
in '' $ac_executable_extensions; do
12322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12323 ac_cv_path_XMLTO
="$as_dir/$ac_word$ac_exec_ext"
12324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12334 XMLTO
=$ac_cv_path_XMLTO
12335 if test -n "$XMLTO"; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
12337 $as_echo "$XMLTO" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12340 $as_echo "no" >&6; }
12344 if test "x$XMLTO" = "x"; then
12345 as_fn_error $?
"--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
12348 elif test "x$use_xmlto" = x
"no" ; then
12349 if test "x$XMLTO" != "x"; then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
12351 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
12355 as_fn_error $?
"--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
12358 # Test for a minimum version of xmlto, if provided.
12359 if test "$have_xmlto" = yes; then
12360 # scrape the xmlto version
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
12362 $as_echo_n "checking the xmlto version... " >&6; }
12363 xmlto_version
=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
12365 $as_echo "$xmlto_version" >&6; }
12366 as_arg_v1
=$xmlto_version
12368 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
12371 if test "x$use_xmlto" = xauto
; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
12373 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
12376 as_fn_error $?
"xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
12387 # Test for the ability of xmlto to generate a text target
12389 cat > conftest.xml
<< "EOF"
12391 if test "$have_xmlto" = yes; then :
12392 if $XMLTO --skip-validation txt conftest.xml
>/dev
/null
2>&1; then :
12393 have_xmlto_text
=yes
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
12396 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
12400 if test $have_xmlto_text = yes; then
12401 HAVE_XMLTO_TEXT_TRUE
=
12402 HAVE_XMLTO_TEXT_FALSE
='#'
12404 HAVE_XMLTO_TEXT_TRUE
='#'
12405 HAVE_XMLTO_TEXT_FALSE
=
12408 if test "$have_xmlto" = yes; then
12410 HAVE_XMLTO_FALSE
='#'
12412 HAVE_XMLTO_TRUE
='#'
12421 # Check whether --with-fop was given.
12422 if test "${with_fop+set}" = set; then :
12423 withval
=$with_fop; use_fop
=$withval
12430 if test "x$use_fop" = x
"auto"; then
12431 # Extract the first word of "fop", so it can be a program name with args.
12432 set dummy fop
; ac_word
=$2
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12434 $as_echo_n "checking for $ac_word... " >&6; }
12435 if ${ac_cv_path_FOP+:} false
; then :
12436 $as_echo_n "(cached) " >&6
12440 ac_cv_path_FOP
="$FOP" # Let the user override the test with a path.
12443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12444 for as_dir
in $PATH
12447 test -z "$as_dir" && as_dir
=.
12448 for ac_exec_ext
in '' $ac_executable_extensions; do
12449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12450 ac_cv_path_FOP
="$as_dir/$ac_word$ac_exec_ext"
12451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12461 FOP
=$ac_cv_path_FOP
12462 if test -n "$FOP"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
12464 $as_echo "$FOP" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12471 if test "x$FOP" = "x"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
12473 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
12478 elif test "x$use_fop" = x
"yes" ; then
12479 # Extract the first word of "fop", so it can be a program name with args.
12480 set dummy fop
; ac_word
=$2
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12482 $as_echo_n "checking for $ac_word... " >&6; }
12483 if ${ac_cv_path_FOP+:} false
; then :
12484 $as_echo_n "(cached) " >&6
12488 ac_cv_path_FOP
="$FOP" # Let the user override the test with a path.
12491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12492 for as_dir
in $PATH
12495 test -z "$as_dir" && as_dir
=.
12496 for ac_exec_ext
in '' $ac_executable_extensions; do
12497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12498 ac_cv_path_FOP
="$as_dir/$ac_word$ac_exec_ext"
12499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12509 FOP
=$ac_cv_path_FOP
12510 if test -n "$FOP"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
12512 $as_echo "$FOP" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515 $as_echo "no" >&6; }
12519 if test "x$FOP" = "x"; then
12520 as_fn_error $?
"--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
12523 elif test "x$use_fop" = x
"no" ; then
12524 if test "x$FOP" != "x"; then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
12526 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
12530 as_fn_error $?
"--with-fop expects 'yes' or 'no'" "$LINENO" 5
12533 # Test for a minimum version of fop, if provided.
12535 if test "$have_fop" = yes; then
12546 # Preserves the interface, should it be implemented later
12550 # Check whether --with-xsltproc was given.
12551 if test "${with_xsltproc+set}" = set; then :
12552 withval
=$with_xsltproc; use_xsltproc
=$withval
12559 if test "x$use_xsltproc" = x
"auto"; then
12560 # Extract the first word of "xsltproc", so it can be a program name with args.
12561 set dummy xsltproc
; ac_word
=$2
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12563 $as_echo_n "checking for $ac_word... " >&6; }
12564 if ${ac_cv_path_XSLTPROC+:} false
; then :
12565 $as_echo_n "(cached) " >&6
12569 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
12572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12573 for as_dir
in $PATH
12576 test -z "$as_dir" && as_dir
=.
12577 for ac_exec_ext
in '' $ac_executable_extensions; do
12578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12579 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
12580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12590 XSLTPROC
=$ac_cv_path_XSLTPROC
12591 if test -n "$XSLTPROC"; then
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
12593 $as_echo "$XSLTPROC" >&6; }
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596 $as_echo "no" >&6; }
12600 if test "x$XSLTPROC" = "x"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
12602 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
12607 elif test "x$use_xsltproc" = x
"yes" ; then
12608 # Extract the first word of "xsltproc", so it can be a program name with args.
12609 set dummy xsltproc
; ac_word
=$2
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12611 $as_echo_n "checking for $ac_word... " >&6; }
12612 if ${ac_cv_path_XSLTPROC+:} false
; then :
12613 $as_echo_n "(cached) " >&6
12617 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
12620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12621 for as_dir
in $PATH
12624 test -z "$as_dir" && as_dir
=.
12625 for ac_exec_ext
in '' $ac_executable_extensions; do
12626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12627 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
12628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12638 XSLTPROC
=$ac_cv_path_XSLTPROC
12639 if test -n "$XSLTPROC"; then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
12641 $as_echo "$XSLTPROC" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12648 if test "x$XSLTPROC" = "x"; then
12649 as_fn_error $?
"--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
12652 elif test "x$use_xsltproc" = x
"no" ; then
12653 if test "x$XSLTPROC" != "x"; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
12655 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
12659 as_fn_error $?
"--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
12662 if test "$have_xsltproc" = yes; then
12663 HAVE_XSLTPROC_TRUE
=
12664 HAVE_XSLTPROC_FALSE
='#'
12666 HAVE_XSLTPROC_TRUE
='#'
12667 HAVE_XSLTPROC_FALSE
=
12676 # Check for different types of support on different platforms
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
12680 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
12681 if ${ac_cv_lib_umem_umem_alloc+:} false
; then :
12682 $as_echo_n "(cached) " >&6
12684 ac_check_lib_save_LIBS
=$LIBS
12685 LIBS
="-lumem $LIBS"
12686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12695 char umem_alloc ();
12699 return umem_alloc ();
12704 if ac_fn_c_try_link
"$LINENO"; then :
12705 ac_cv_lib_umem_umem_alloc
=yes
12707 ac_cv_lib_umem_umem_alloc
=no
12709 rm -f core conftest.err conftest.
$ac_objext \
12710 conftest
$ac_exeext conftest.
$ac_ext
12711 LIBS
=$ac_check_lib_save_LIBS
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
12714 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
12715 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
; then :
12716 malloc_debug_env
='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
12720 *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
12721 # both directly and inverted, so should not be 0 or 255.
12722 malloc_debug_env
='MALLOC_PERTURB_=15'
12725 malloc_debug_env
='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
12728 malloc_debug_env
='MallocPreScribble=1 MallocScribble=1'
12732 # User supplied flags override default flags
12733 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
12734 malloc_debug_env
="$XORG_MALLOC_DEBUG_ENV"
12737 XORG_MALLOC_DEBUG_ENV
=$malloc_debug_env
12745 # Check whether --enable-unit-tests was given.
12746 if test "${enable_unit_tests+set}" = set; then :
12747 enableval
=$enable_unit_tests; enable_unit_tests
=$enableval
12749 enable_unit_tests
=auto
12753 if test "x$enable_unit_tests" != xno
; then
12754 ENABLE_UNIT_TESTS_TRUE
=
12755 ENABLE_UNIT_TESTS_FALSE
='#'
12757 ENABLE_UNIT_TESTS_TRUE
='#'
12758 ENABLE_UNIT_TESTS_FALSE
=
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
12762 $as_echo_n "checking whether to build unit test cases... " >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
12764 $as_echo "$enable_unit_tests" >&6; }
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-wrap,exit" >&5
12768 $as_echo_n "checking whether the linker accepts -Wl,-wrap,exit... " >&6; }
12769 if ${xorg_cv_linker_flags__Wl__wrap_exit+:} false
; then :
12770 $as_echo_n "(cached) " >&6
12773 ax_save_FLAGS
=$LDFLAGS
12774 LDFLAGS
="-Wl,-wrap,exit"
12775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12777 #include <stdlib.h>
12778 void __wrap_exit(int status) { return; }
12787 if ac_fn_c_try_link
"$LINENO"; then :
12788 xorg_cv_linker_flags__Wl__wrap_exit
=yes
12790 xorg_cv_linker_flags__Wl__wrap_exit
=no
12792 rm -f core conftest.err conftest.
$ac_objext \
12793 conftest
$ac_exeext conftest.
$ac_ext
12794 LDFLAGS
=$ax_save_FLAGS
12797 eval xorg_check_linker_flags
=$xorg_cv_linker_flags__Wl__wrap_exit
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_check_linker_flags" >&5
12799 $as_echo "$xorg_check_linker_flags" >&6; }
12800 if test "x$xorg_check_linker_flags" = xyes
; then
12806 # Not having ld wrap when unit testing has been explicitly requested is an error
12807 if test "x$enable_unit_tests" = x
"yes" -a "xoptional" != "xoptional"; then
12808 if test "x$have_ld_wrap" = x
"no"; then
12809 as_fn_error $?
"--enable-unit-tests=yes specified but ld -wrap support is not available" "$LINENO" 5
12812 if test "$have_ld_wrap" = yes; then
12814 HAVE_LD_WRAP_FALSE
='#'
12816 HAVE_LD_WRAP_TRUE
='#'
12817 HAVE_LD_WRAP_FALSE
=
12835 ac_config_headers
="$ac_config_headers include/do-not-use-config.h"
12837 ac_config_headers
="$ac_config_headers include/xorg-server.h"
12839 ac_config_headers
="$ac_config_headers include/dix-config.h"
12841 ac_config_headers
="$ac_config_headers include/xorg-config.h"
12843 ac_config_headers
="$ac_config_headers include/xkb-config.h"
12845 ac_config_headers
="$ac_config_headers include/xwin-config.h"
12847 ac_config_headers
="$ac_config_headers include/kdrive-config.h"
12849 ac_config_headers
="$ac_config_headers include/version-config.h"
12852 # By default we simply use the C compiler to build assembly code.
12854 test "${CCAS+set}" = set || CCAS
=$CC
12855 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
12859 depcc
="$CCAS" am_compiler_list
=
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12862 $as_echo_n "checking dependency style of $depcc... " >&6; }
12863 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
12864 $as_echo_n "(cached) " >&6
12866 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12867 # We make a subdir and do the tests there. Otherwise we can end up
12868 # making bogus files that we don't know about and never remove. For
12869 # instance it was reported that on HP-UX the gcc test will end up
12870 # making a dummy file named `D' -- because `-MD' means `put the output
12872 rm -rf conftest.dir
12874 # Copy depcomp to subdir because otherwise we won't find it if we're
12875 # using a relative directory.
12876 cp "$am_depcomp" conftest.dir
12878 # We will build objects and dependencies in a subdirectory because
12879 # it helps to detect inapplicable dependency modes. For instance
12880 # both Tru64's cc and ICC support -MD to output dependencies as a
12881 # side effect of compilation, but ICC will put the dependencies in
12882 # the current directory while Tru64 will put them in the object
12886 am_cv_CCAS_dependencies_compiler_type
=none
12887 if test "$am_compiler_list" = ""; then
12888 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12890 am__universal
=false
12893 for depmode
in $am_compiler_list; do
12894 # Setup a source with many dependencies, because some compilers
12895 # like to wrap large dependency lists on column 80 (with \), and
12896 # we should not choose a depcomp mode which is confused by this.
12898 # We need to recreate these files for each test, as the compiler may
12899 # overwrite some of them when testing with obscure command lines.
12900 # This happens at least with the AIX C compiler.
12902 for i
in 1 2 3 4 5 6; do
12903 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
12904 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12905 # Solaris 8's {/usr,}/bin/sh.
12906 touch sub
/conftst
$i.h
12908 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12911 # mode. It turns out that the SunPro C++ compiler does not properly
12912 # handle `-M -o', and we need to detect this. Also, some Intel
12913 # versions had trouble with output in subdirs
12914 am__obj
=sub
/conftest.
${OBJEXT-o}
12915 am__minus_obj
="-o $am__obj"
12918 # This depmode causes a compiler race in universal mode.
12919 test "$am__universal" = false ||
continue
12922 # after this tag, mechanisms are not by side-effect, so they'll
12923 # only be used when explicitly requested
12924 if test "x$enable_dependency_tracking" = xyes
; then
12930 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
12931 # This compiler won't grok `-c -o', but also, the minuso test has
12932 # not run yet. These depmodes are late enough in the game, and
12933 # so weak that their functioning should not be impacted.
12934 am__obj
=conftest.
${OBJEXT-o}
12939 if depmode
=$depmode \
12940 source=sub
/conftest.c object
=$am__obj \
12941 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12942 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12943 >/dev
/null
2>conftest.err
&&
12944 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12945 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12946 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12947 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12948 # icc doesn't choke on unknown options, it will just issue warnings
12949 # or remarks (even with -Werror). So we grep stderr for any message
12950 # that says an option was ignored or not supported.
12951 # When given -MP, icc 7.0 and 7.1 complain thusly:
12952 # icc: Command line warning: ignoring option '-M'; no argument required
12953 # The diagnosis changed in icc 8.0:
12954 # icc: Command line remark: option '-MP' not supported
12955 if (grep 'ignoring option' conftest.err ||
12956 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12957 am_cv_CCAS_dependencies_compiler_type
=$depmode
12964 rm -rf conftest.dir
12966 am_cv_CCAS_dependencies_compiler_type
=none
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
12971 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
12972 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
12975 test "x$enable_dependency_tracking" != xno \
12976 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
12977 am__fastdepCCAS_TRUE
=
12978 am__fastdepCCAS_FALSE
='#'
12980 am__fastdepCCAS_TRUE
='#'
12981 am__fastdepCCAS_FALSE
=
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12986 $as_echo_n "checking whether ln -s works... " >&6; }
12988 if test "$LN_S" = "ln -s"; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12990 $as_echo "yes" >&6; }
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12993 $as_echo "no, using $LN_S" >&6; }
12996 enable_win32_dll
=yes
12999 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
13000 if test -n "$ac_tool_prefix"; then
13001 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
13002 set dummy
${ac_tool_prefix}as
; ac_word
=$2
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13004 $as_echo_n "checking for $ac_word... " >&6; }
13005 if ${ac_cv_prog_AS+:} false
; then :
13006 $as_echo_n "(cached) " >&6
13008 if test -n "$AS"; then
13009 ac_cv_prog_AS
="$AS" # Let the user override the test.
13011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13012 for as_dir
in $PATH
13015 test -z "$as_dir" && as_dir
=.
13016 for ac_exec_ext
in '' $ac_executable_extensions; do
13017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13018 ac_cv_prog_AS
="${ac_tool_prefix}as"
13019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13029 if test -n "$AS"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
13031 $as_echo "$AS" >&6; }
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13034 $as_echo "no" >&6; }
13039 if test -z "$ac_cv_prog_AS"; then
13041 # Extract the first word of "as", so it can be a program name with args.
13042 set dummy as
; ac_word
=$2
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13044 $as_echo_n "checking for $ac_word... " >&6; }
13045 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
13046 $as_echo_n "(cached) " >&6
13048 if test -n "$ac_ct_AS"; then
13049 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
13051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13052 for as_dir
in $PATH
13055 test -z "$as_dir" && as_dir
=.
13056 for ac_exec_ext
in '' $ac_executable_extensions; do
13057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13058 ac_cv_prog_ac_ct_AS
="as"
13059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13068 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
13069 if test -n "$ac_ct_AS"; then
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
13071 $as_echo "$ac_ct_AS" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13074 $as_echo "no" >&6; }
13077 if test "x$ac_ct_AS" = x
; then
13080 case $cross_compiling:$ac_tool_warned in
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13084 ac_tool_warned
=yes ;;
13089 AS
="$ac_cv_prog_AS"
13092 if test -n "$ac_tool_prefix"; then
13093 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13094 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13096 $as_echo_n "checking for $ac_word... " >&6; }
13097 if ${ac_cv_prog_DLLTOOL+:} false
; then :
13098 $as_echo_n "(cached) " >&6
13100 if test -n "$DLLTOOL"; then
13101 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13104 for as_dir
in $PATH
13107 test -z "$as_dir" && as_dir
=.
13108 for ac_exec_ext
in '' $ac_executable_extensions; do
13109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13110 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13120 DLLTOOL
=$ac_cv_prog_DLLTOOL
13121 if test -n "$DLLTOOL"; then
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
13123 $as_echo "$DLLTOOL" >&6; }
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13126 $as_echo "no" >&6; }
13131 if test -z "$ac_cv_prog_DLLTOOL"; then
13132 ac_ct_DLLTOOL
=$DLLTOOL
13133 # Extract the first word of "dlltool", so it can be a program name with args.
13134 set dummy dlltool
; ac_word
=$2
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13136 $as_echo_n "checking for $ac_word... " >&6; }
13137 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
13138 $as_echo_n "(cached) " >&6
13140 if test -n "$ac_ct_DLLTOOL"; then
13141 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13144 for as_dir
in $PATH
13147 test -z "$as_dir" && as_dir
=.
13148 for ac_exec_ext
in '' $ac_executable_extensions; do
13149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13150 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13160 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13161 if test -n "$ac_ct_DLLTOOL"; then
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
13163 $as_echo "$ac_ct_DLLTOOL" >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166 $as_echo "no" >&6; }
13169 if test "x$ac_ct_DLLTOOL" = x
; then
13172 case $cross_compiling:$ac_tool_warned in
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13176 ac_tool_warned
=yes ;;
13178 DLLTOOL
=$ac_ct_DLLTOOL
13181 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13184 if test -n "$ac_tool_prefix"; then
13185 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
13186 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13188 $as_echo_n "checking for $ac_word... " >&6; }
13189 if ${ac_cv_prog_OBJDUMP+:} false
; then :
13190 $as_echo_n "(cached) " >&6
13192 if test -n "$OBJDUMP"; then
13193 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
13195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13196 for as_dir
in $PATH
13199 test -z "$as_dir" && as_dir
=.
13200 for ac_exec_ext
in '' $ac_executable_extensions; do
13201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13202 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
13203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13212 OBJDUMP
=$ac_cv_prog_OBJDUMP
13213 if test -n "$OBJDUMP"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
13215 $as_echo "$OBJDUMP" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218 $as_echo "no" >&6; }
13223 if test -z "$ac_cv_prog_OBJDUMP"; then
13224 ac_ct_OBJDUMP
=$OBJDUMP
13225 # Extract the first word of "objdump", so it can be a program name with args.
13226 set dummy objdump
; ac_word
=$2
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13228 $as_echo_n "checking for $ac_word... " >&6; }
13229 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 if test -n "$ac_ct_OBJDUMP"; then
13233 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
13235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13236 for as_dir
in $PATH
13239 test -z "$as_dir" && as_dir
=.
13240 for ac_exec_ext
in '' $ac_executable_extensions; do
13241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13242 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
13243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13252 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
13253 if test -n "$ac_ct_OBJDUMP"; then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
13255 $as_echo "$ac_ct_OBJDUMP" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13258 $as_echo "no" >&6; }
13261 if test "x$ac_ct_OBJDUMP" = x
; then
13264 case $cross_compiling:$ac_tool_warned in
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13268 ac_tool_warned
=yes ;;
13270 OBJDUMP
=$ac_ct_OBJDUMP
13273 OBJDUMP
="$ac_cv_prog_OBJDUMP"
13279 test -z "$AS" && AS
=as
13285 test -z "$DLLTOOL" && DLLTOOL
=dlltool
13291 test -z "$OBJDUMP" && OBJDUMP
=objdump
13299 # Check whether --enable-static was given.
13300 if test "${enable_static+set}" = set; then :
13301 enableval
=$enable_static; p
=${PACKAGE-default}
13303 yes) enable_static
=yes ;;
13304 no
) enable_static
=no
;;
13307 # Look at the argument we got. We use all the common list separators.
13308 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
13309 for pkg
in $enableval; do
13311 if test "X$pkg" = "X$p"; then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
13333 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
13338 macro_version
='2.4.2'
13339 macro_revision
='1.3337'
13353 ltmain
="$ac_aux_dir/ltmain.sh"
13355 # Backslashify metacharacters that are still active within
13356 # double-quoted strings.
13357 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
13359 # Same as above, but do not quote variable references.
13360 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
13362 # Sed substitution to delay expansion of an escaped shell variable in a
13363 # double_quote_subst'ed string.
13364 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
13366 # Sed substitution to delay expansion of an escaped single quote.
13367 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
13369 # Sed substitution to avoid accidental globbing in evaled expressions
13370 no_glob_subst
='s/\*/\\\*/g'
13372 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13373 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
13374 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
13377 $as_echo_n "checking how to print strings... " >&6; }
13378 # Test print first, because it will be a builtin if present.
13379 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
13380 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
13382 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
13385 # Use this function as a fallback that always works.
13386 func_fallback_echo ()
13388 eval 'cat <<_LTECHO_EOF
13392 ECHO='func_fallback_echo
'
13395 # func_echo_all arg...
13396 # Invoke $ECHO with all args, space-separated.
13403 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
13404 $as_echo "printf" >&6; } ;;
13405 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
13406 $as_echo "print -r" >&6; } ;;
13407 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
13408 $as_echo "cat" >&6; } ;;
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
13425 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
13426 if ${ac_cv_path_SED+:} false; then :
13427 $as_echo_n "(cached) " >&6
13429 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
13430 for ac_i in 1 2 3 4 5 6 7; do
13431 ac_script="$ac_script$as_nl$ac_script"
13433 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
13434 { ac_script=; unset ac_script;}
13435 if test -z "$SED"; then
13436 ac_path_SED_found=false
13437 # Loop through the user's path and
test for each of PROGNAME-LIST
13438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13439 for as_dir
in $PATH
13442 test -z "$as_dir" && as_dir
=.
13443 for ac_prog
in sed gsed
; do
13444 for ac_exec_ext
in '' $ac_executable_extensions; do
13445 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
13446 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
13447 # Check for GNU ac_path_SED and select it if it is found.
13448 # Check for GNU $ac_path_SED
13449 case `"$ac_path_SED" --version 2>&1` in
13451 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
13454 $as_echo_n 0123456789 >"conftest.in"
13457 cat "conftest.in" "conftest.in" >"conftest.tmp"
13458 mv "conftest.tmp" "conftest.in"
13459 cp "conftest.in" "conftest.nl"
13460 $as_echo '' >> "conftest.nl"
13461 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
13462 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
13463 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
13464 if test $ac_count -gt ${ac_path_SED_max-0}; then
13465 # Best one so far, save it but keep looking for a better one
13466 ac_cv_path_SED
="$ac_path_SED"
13467 ac_path_SED_max
=$ac_count
13469 # 10*(2^10) chars as input seems more than enough
13470 test $ac_count -gt 10 && break
13472 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
13475 $ac_path_SED_found && break 3
13480 if test -z "$ac_cv_path_SED"; then
13481 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
13484 ac_cv_path_SED
=$SED
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
13489 $as_echo "$ac_cv_path_SED" >&6; }
13490 SED
="$ac_cv_path_SED"
13493 test -z "$SED" && SED
=sed
13494 Xsed
="$SED -e 1s/^X//"
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
13507 $as_echo_n "checking for fgrep... " >&6; }
13508 if ${ac_cv_path_FGREP+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
13512 then ac_cv_path_FGREP
="$GREP -F"
13514 if test -z "$FGREP"; then
13515 ac_path_FGREP_found
=false
13516 # Loop through the user's path and test for each of PROGNAME-LIST
13517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13518 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
13521 test -z "$as_dir" && as_dir
=.
13522 for ac_prog
in fgrep
; do
13523 for ac_exec_ext
in '' $ac_executable_extensions; do
13524 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
13525 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
13526 # Check for GNU ac_path_FGREP and select it if it is found.
13527 # Check for GNU $ac_path_FGREP
13528 case `"$ac_path_FGREP" --version 2>&1` in
13530 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
13533 $as_echo_n 0123456789 >"conftest.in"
13536 cat "conftest.in" "conftest.in" >"conftest.tmp"
13537 mv "conftest.tmp" "conftest.in"
13538 cp "conftest.in" "conftest.nl"
13539 $as_echo 'FGREP' >> "conftest.nl"
13540 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
13541 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
13542 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
13543 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
13544 # Best one so far, save it but keep looking for a better one
13545 ac_cv_path_FGREP
="$ac_path_FGREP"
13546 ac_path_FGREP_max
=$ac_count
13548 # 10*(2^10) chars as input seems more than enough
13549 test $ac_count -gt 10 && break
13551 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
13554 $ac_path_FGREP_found && break 3
13559 if test -z "$ac_cv_path_FGREP"; then
13560 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
13563 ac_cv_path_FGREP
=$FGREP
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
13569 $as_echo "$ac_cv_path_FGREP" >&6; }
13570 FGREP
="$ac_cv_path_FGREP"
13573 test -z "$GREP" && GREP
=grep
13593 # Check whether --with-gnu-ld was given.
13594 if test "${with_gnu_ld+set}" = set; then :
13595 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13601 if test "$GCC" = yes; then
13602 # Check if gcc -print-prog-name=ld gives a path.
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13604 $as_echo_n "checking for ld used by $CC... " >&6; }
13607 # gcc leaves a trailing carriage return which upsets mingw
13608 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13610 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13613 # Accept absolute paths.
13615 re_direlt
='/[^/][^/]*/\.\./'
13616 # Canonicalize the pathname of ld
13617 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13618 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13619 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13621 test -z "$LD" && LD
="$ac_prog"
13624 # If it fails, then pretend we aren't using GCC.
13628 # If it is relative, then search for the first ld in PATH.
13629 with_gnu_ld
=unknown
13632 elif test "$with_gnu_ld" = yes; then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13634 $as_echo_n "checking for GNU ld... " >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13637 $as_echo_n "checking for non-GNU ld... " >&6; }
13639 if ${lt_cv_path_LD+:} false
; then :
13640 $as_echo_n "(cached) " >&6
13642 if test -z "$LD"; then
13643 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13644 for ac_dir
in $PATH; do
13646 test -z "$ac_dir" && ac_dir
=.
13647 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13648 lt_cv_path_LD
="$ac_dir/$ac_prog"
13649 # Check to see if the program is GNU ld. I'd rather use --version,
13650 # but apparently some variants of GNU ld only accept -v.
13651 # Break only if it was the GNU/non-GNU ld that we prefer.
13652 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13653 *GNU
* |
*'with BFD'*)
13654 test "$with_gnu_ld" != no
&& break
13657 test "$with_gnu_ld" != yes && break
13664 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13668 LD
="$lt_cv_path_LD"
13669 if test -n "$LD"; then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13671 $as_echo "$LD" >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674 $as_echo "no" >&6; }
13676 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13678 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13679 if ${lt_cv_prog_gnu_ld+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13683 case `$LD -v 2>&1 </dev/null` in
13684 *GNU
* |
*'with BFD'*)
13685 lt_cv_prog_gnu_ld
=yes
13688 lt_cv_prog_gnu_ld
=no
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13693 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13694 with_gnu_ld
=$lt_cv_prog_gnu_ld
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
13705 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
13706 if ${lt_cv_path_NM+:} false
; then :
13707 $as_echo_n "(cached) " >&6
13709 if test -n "$NM"; then
13710 # Let the user override the test.
13711 lt_cv_path_NM
="$NM"
13713 lt_nm_to_check
="${ac_tool_prefix}nm"
13714 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
13715 lt_nm_to_check
="$lt_nm_to_check nm"
13717 for lt_tmp_nm
in $lt_nm_to_check; do
13718 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13719 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
13721 test -z "$ac_dir" && ac_dir
=.
13722 tmp_nm
="$ac_dir/$lt_tmp_nm"
13723 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
13724 # Check to see if the nm accepts a BSD-compat flag.
13725 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
13726 # nm: unknown option "B" ignored
13727 # Tru64's nm complains that /dev/null is an invalid object file
13728 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
13729 */dev
/null
* |
*'Invalid file or object type'*)
13730 lt_cv_path_NM
="$tmp_nm -B"
13734 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
13736 lt_cv_path_NM
="$tmp_nm -p"
13740 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
13741 continue # so that we can try to find one that supports BSD flags
13750 : ${lt_cv_path_NM=no}
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
13754 $as_echo "$lt_cv_path_NM" >&6; }
13755 if test "$lt_cv_path_NM" != "no"; then
13756 NM
="$lt_cv_path_NM"
13758 # Didn't find any BSD compatible name lister, look for dumpbin.
13759 if test -n "$DUMPBIN"; then :
13760 # Let the user override the test.
13762 if test -n "$ac_tool_prefix"; then
13763 for ac_prog
in dumpbin
"link -dump"
13765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13766 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13768 $as_echo_n "checking for $ac_word... " >&6; }
13769 if ${ac_cv_prog_DUMPBIN+:} false
; then :
13770 $as_echo_n "(cached) " >&6
13772 if test -n "$DUMPBIN"; then
13773 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
13775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13776 for as_dir
in $PATH
13779 test -z "$as_dir" && as_dir
=.
13780 for ac_exec_ext
in '' $ac_executable_extensions; do
13781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13782 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
13783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13792 DUMPBIN
=$ac_cv_prog_DUMPBIN
13793 if test -n "$DUMPBIN"; then
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
13795 $as_echo "$DUMPBIN" >&6; }
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13798 $as_echo "no" >&6; }
13802 test -n "$DUMPBIN" && break
13805 if test -z "$DUMPBIN"; then
13806 ac_ct_DUMPBIN
=$DUMPBIN
13807 for ac_prog
in dumpbin
"link -dump"
13809 # Extract the first word of "$ac_prog", so it can be a program name with args.
13810 set dummy
$ac_prog; ac_word
=$2
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13812 $as_echo_n "checking for $ac_word... " >&6; }
13813 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
13814 $as_echo_n "(cached) " >&6
13816 if test -n "$ac_ct_DUMPBIN"; then
13817 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
13819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13820 for as_dir
in $PATH
13823 test -z "$as_dir" && as_dir
=.
13824 for ac_exec_ext
in '' $ac_executable_extensions; do
13825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13826 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
13827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13836 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
13837 if test -n "$ac_ct_DUMPBIN"; then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
13839 $as_echo "$ac_ct_DUMPBIN" >&6; }
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13842 $as_echo "no" >&6; }
13846 test -n "$ac_ct_DUMPBIN" && break
13849 if test "x$ac_ct_DUMPBIN" = x
; then
13852 case $cross_compiling:$ac_tool_warned in
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13856 ac_tool_warned
=yes ;;
13858 DUMPBIN
=$ac_ct_DUMPBIN
13862 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
13864 DUMPBIN
="$DUMPBIN -symbols"
13872 if test "$DUMPBIN" != ":"; then
13876 test -z "$NM" && NM
=nm
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
13884 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
13885 if ${lt_cv_nm_interface+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 lt_cv_nm_interface
="BSD nm"
13889 echo "int some_variable = 0;" > conftest.
$ac_ext
13890 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
13891 (eval "$ac_compile" 2>conftest.err
)
13892 cat conftest.err
>&5
13893 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
13894 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
13895 cat conftest.err
>&5
13896 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
13897 cat conftest.out
>&5
13898 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
13899 lt_cv_nm_interface
="MS dumpbin"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
13904 $as_echo "$lt_cv_nm_interface" >&6; }
13906 # find the maximum length of command line arguments
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
13908 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
13909 if ${lt_cv_sys_max_cmd_len+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13917 # On DJGPP, this test can blow up pretty badly due to problems in libc
13918 # (any single argument exceeding 2000 bytes causes a buffer overrun
13919 # during glob expansion). Even if it were fixed, the result of this
13920 # check would be larger than it should be.
13921 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
13925 # Under GNU Hurd, this test is not required because there is
13926 # no limit to the length of command line arguments.
13927 # Libtool will interpret -1 as no limit whatsoever
13928 lt_cv_sys_max_cmd_len
=-1;
13931 cygwin
* | mingw
* | cegcc
*)
13932 # On Win9x/ME, this test blows up -- it succeeds, but takes
13933 # about 5 minutes as the teststring grows exponentially.
13934 # Worse, since 9x/ME are not pre-emptively multitasking,
13935 # you end up with a "frozen" computer, even though with patience
13936 # the test eventually succeeds (with a max line length of 256k).
13937 # Instead, let's just punt: use the minimum linelength reported by
13938 # all of the supported platforms: 8192 (on NT/2K/XP).
13939 lt_cv_sys_max_cmd_len
=8192;
13943 # On MiNT this can take a long time and run out of memory.
13944 lt_cv_sys_max_cmd_len
=8192;
13948 # On AmigaOS with pdksh, this test takes hours, literally.
13949 # So we just punt and use a minimum line length of 8192.
13950 lt_cv_sys_max_cmd_len
=8192;
13953 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
13954 # This has been around since 386BSD, at least. Likely further.
13955 if test -x /sbin
/sysctl
; then
13956 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
13957 elif test -x /usr
/sbin
/sysctl
; then
13958 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
13960 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
13962 # And add a safety zone
13963 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
13964 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
13968 # We know the value 262144 and hardcode it with a safety zone (like BSD)
13969 lt_cv_sys_max_cmd_len
=196608
13973 # The test takes a long time on OS/2.
13974 lt_cv_sys_max_cmd_len
=8192
13978 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
13979 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
13980 # nice to cause kernel panics so lets avoid the loop below.
13981 # First set a reasonable default.
13982 lt_cv_sys_max_cmd_len
=16384
13984 if test -x /sbin
/sysconfig
; then
13985 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
13986 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
13991 lt_cv_sys_max_cmd_len
=102400
13993 sysv5
* | sco5v6
* | sysv4.2uw2
*)
13994 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
13995 if test -n "$kargmax"; then
13996 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
13998 lt_cv_sys_max_cmd_len
=32768
14002 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
14003 if test -n "$lt_cv_sys_max_cmd_len"; then
14004 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
14005 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
14007 # Make teststring a little bigger before we do anything with it.
14008 # a 1K string should be a reasonable start.
14009 for i
in 1 2 3 4 5 6 7 8 ; do
14010 teststring
=$teststring$teststring
14012 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
14013 # If test is not a shell built-in, we'll probably end up computing a
14014 # maximum length that is only half of the actual maximum length, but
14016 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
14017 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
14018 test $i != 17 # 1/2 MB should be enough
14021 teststring
=$teststring$teststring
14023 # Only check the string length outside the loop.
14024 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
14026 # Add a significant safety factor because C++ compilers can tack on
14027 # massive amounts of additional arguments before passing them to the
14028 # linker. It appears as though 1/2 is a usable value.
14029 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
14036 if test -n $lt_cv_sys_max_cmd_len ; then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
14038 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
14041 $as_echo "none" >&6; }
14043 max_cmd_len
=$lt_cv_sys_max_cmd_len
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
14055 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
14056 # Try some XSI features
14058 ( _lt_dummy
="a/b/c"
14059 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
14061 && eval 'test $(( 1 + 1 )) -eq 2 \
14062 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
14065 $as_echo "$xsi_shell" >&6; }
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
14069 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
14071 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
14073 && lt_shell_append=yes
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
14075 $as_echo "$lt_shell_append" >&6; }
14078 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14088 # test EBCDIC or ASCII
14089 case `echo X|tr X '\101'` in
14090 A) # ASCII based system
14091 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
14092 lt_SP2NL='tr \040 \012'
14093 lt_NL2SP='tr \015\012 \040\040'
14095 *) # EBCDIC based system
14096 lt_SP2NL='tr \100 \n'
14097 lt_NL2SP='tr \r\n \100\100'
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
14110 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
14111 if ${lt_cv_to_host_file_cmd+:} false; then :
14112 $as_echo_n "(cached
) " >&6
14117 *-*-mingw* ) # actually msys
14118 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
14121 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
14123 * ) # otherwise, assume *nix
14124 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
14130 *-*-mingw* ) # actually msys
14131 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
14134 lt_cv_to_host_file_cmd=func_convert_file_noop
14136 * ) # otherwise, assume *nix
14137 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
14141 * ) # unhandled hosts (and "normal
" native builds)
14142 lt_cv_to_host_file_cmd=func_convert_file_noop
14148 to_host_file_cmd=$lt_cv_to_host_file_cmd
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
14150 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
14157 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
14158 if ${lt_cv_to_tool_file_cmd+:} false; then :
14159 $as_echo_n "(cached
) " >&6
14161 #assume ordinary cross tools, or native build.
14162 lt_cv_to_tool_file_cmd=func_convert_file_noop
14166 *-*-mingw* ) # actually msys
14167 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
14175 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
14177 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
14184 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
14185 if ${lt_cv_ld_reload_flag+:} false; then :
14186 $as_echo_n "(cached
) " >&6
14188 lt_cv_ld_reload_flag='-r'
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
14191 $as_echo "$lt_cv_ld_reload_flag" >&6; }
14192 reload_flag=$lt_cv_ld_reload_flag
14193 case $reload_flag in
14195 *) reload_flag=" $reload_flag" ;;
14197 reload_cmds='$LD$reload_flag -o $output$reload_objs'
14199 cygwin* | mingw* | pw32* | cegcc*)
14200 if test "$GCC" != yes; then
14205 if test "$GCC" = yes; then
14206 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
14208 reload_cmds='$LD$reload_flag -o $output$reload_objs'
14221 if test -n "$ac_tool_prefix"; then
14222 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
14223 set dummy ${ac_tool_prefix}objdump; ac_word=$2
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14225 $as_echo_n "checking
for $ac_word...
" >&6; }
14226 if ${ac_cv_prog_OBJDUMP+:} false; then :
14227 $as_echo_n "(cached
) " >&6
14229 if test -n "$OBJDUMP"; then
14230 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
14232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14233 for as_dir in $PATH
14236 test -z "$as_dir" && as_dir=.
14237 for ac_exec_ext in '' $ac_executable_extensions; do
14238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14239 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
14240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14249 OBJDUMP=$ac_cv_prog_OBJDUMP
14250 if test -n "$OBJDUMP"; then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
14252 $as_echo "$OBJDUMP" >&6; }
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14255 $as_echo "no
" >&6; }
14260 if test -z "$ac_cv_prog_OBJDUMP"; then
14261 ac_ct_OBJDUMP=$OBJDUMP
14262 # Extract the first word of "objdump
", so it can be a program name with args.
14263 set dummy objdump; ac_word=$2
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14265 $as_echo_n "checking
for $ac_word...
" >&6; }
14266 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
14267 $as_echo_n "(cached
) " >&6
14269 if test -n "$ac_ct_OBJDUMP"; then
14270 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
14272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14273 for as_dir in $PATH
14276 test -z "$as_dir" && as_dir=.
14277 for ac_exec_ext in '' $ac_executable_extensions; do
14278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14279 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
14280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14289 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
14290 if test -n "$ac_ct_OBJDUMP"; then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
14292 $as_echo "$ac_ct_OBJDUMP" >&6; }
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14295 $as_echo "no
" >&6; }
14298 if test "x
$ac_ct_OBJDUMP" = x; then
14301 case $cross_compiling:$ac_tool_warned in
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
14304 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
14305 ac_tool_warned=yes ;;
14307 OBJDUMP=$ac_ct_OBJDUMP
14310 OBJDUMP="$ac_cv_prog_OBJDUMP"
14313 test -z "$OBJDUMP" && OBJDUMP=objdump
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
14321 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
14322 if ${lt_cv_deplibs_check_method+:} false; then :
14323 $as_echo_n "(cached
) " >&6
14325 lt_cv_file_magic_cmd='$MAGIC_CMD'
14326 lt_cv_file_magic_test_file=
14327 lt_cv_deplibs_check_method='unknown'
14328 # Need to set the preceding variable on all platforms that support
14329 # interlibrary dependencies.
14330 # 'none' -- dependencies not supported.
14331 # `unknown' -- same as none, but documents that we really don't know.
14332 # 'pass_all' -- all dependencies passed with no checks.
14333 # 'test_compile' -- check by making test program.
14334 # 'file_magic [[regex]]' -- check by looking for files in library path
14335 # which responds to the $file_magic_cmd with a given extended regex.
14336 # If you have `file' or equivalent on your system and you're not sure
14337 # whether `pass_all' will *always* work, you probably want this one.
14341 lt_cv_deplibs_check_method=pass_all
14345 lt_cv_deplibs_check_method=pass_all
14349 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
14350 lt_cv_file_magic_cmd='/usr/bin/file -L'
14351 lt_cv_file_magic_test_file=/shlib/libc.so
14355 # func_win32_libid is a shell function defined in ltmain.sh
14356 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
14357 lt_cv_file_magic_cmd='func_win32_libid'
14361 # Base MSYS/MinGW do not provide the 'file' command needed by
14362 # func_win32_libid shell function, so use a weaker test based on 'objdump',
14363 # unless we find 'file', for example because we are cross-compiling.
14364 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
14365 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
14366 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
14367 lt_cv_file_magic_cmd='func_win32_libid'
14369 # Keep this pattern in sync with the one in func_win32_libid.
14370 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
14371 lt_cv_file_magic_cmd='$OBJDUMP -f'
14376 # use the weaker test based on 'objdump'. See mingw*.
14377 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
14378 lt_cv_file_magic_cmd='$OBJDUMP -f'
14381 darwin* | rhapsody*)
14382 lt_cv_deplibs_check_method=pass_all
14385 freebsd* | dragonfly*)
14386 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
14389 # Not sure whether the presence of OpenBSD here was a mistake.
14390 # Let's accept both of them until this is cleared up.
14391 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
14392 lt_cv_file_magic_cmd=/usr/bin/file
14393 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
14397 lt_cv_deplibs_check_method=pass_all
14402 lt_cv_deplibs_check_method=pass_all
14406 lt_cv_deplibs_check_method=pass_all
14409 hpux10.20* | hpux11*)
14410 lt_cv_file_magic_cmd=/usr/bin/file
14413 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
14414 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
14417 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
14418 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
14421 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
14422 lt_cv_file_magic_test_file=/usr/lib/libc.sl
14428 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
14429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
14432 irix5* | irix6* | nonstopux*)
14434 *-32|*"-32 ") libmagic=32-bit;;
14435 *-n32|*"-n32 ") libmagic=N32;;
14436 *-64|*"-64 ") libmagic=64-bit;;
14437 *) libmagic=never-match;;
14439 lt_cv_deplibs_check_method=pass_all
14442 # This must be glibc/ELF.
14443 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14444 lt_cv_deplibs_check_method=pass_all
14448 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
14449 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
14451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
14456 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
14457 lt_cv_file_magic_cmd=/usr/bin/file
14458 lt_cv_file_magic_test_file=/usr/lib/libnls.so
14462 lt_cv_deplibs_check_method=pass_all
14466 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
14467 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
14469 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
14473 osf3* | osf4* | osf5*)
14474 lt_cv_deplibs_check_method=pass_all
14478 lt_cv_deplibs_check_method=pass_all
14482 lt_cv_deplibs_check_method=pass_all
14485 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14486 lt_cv_deplibs_check_method=pass_all
14490 case $host_vendor in
14492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
14493 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
14496 lt_cv_deplibs_check_method=pass_all
14499 lt_cv_file_magic_cmd='/bin/file'
14500 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
14503 lt_cv_file_magic_cmd='/bin/file'
14504 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
14505 lt_cv_file_magic_test_file=/lib/libc.so
14508 lt_cv_deplibs_check_method=pass_all
14511 lt_cv_deplibs_check_method=pass_all
14517 lt_cv_deplibs_check_method=pass_all
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
14523 $as_echo "$lt_cv_deplibs_check_method" >&6; }
14527 if test "$build" = "$host"; then
14530 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
14531 want_nocaseglob=yes
14533 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
14539 file_magic_cmd=$lt_cv_file_magic_cmd
14540 deplibs_check_method=$lt_cv_deplibs_check_method
14541 test -z "$deplibs_check_method" && deplibs_check_method=unknown
14564 if test -n "$ac_tool_prefix"; then
14565 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
14566 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14568 $as_echo_n "checking
for $ac_word...
" >&6; }
14569 if ${ac_cv_prog_DLLTOOL+:} false; then :
14570 $as_echo_n "(cached
) " >&6
14572 if test -n "$DLLTOOL"; then
14573 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14576 for as_dir in $PATH
14579 test -z "$as_dir" && as_dir=.
14580 for ac_exec_ext in '' $ac_executable_extensions; do
14581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14582 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
14583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14592 DLLTOOL=$ac_cv_prog_DLLTOOL
14593 if test -n "$DLLTOOL"; then
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
14595 $as_echo "$DLLTOOL" >&6; }
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14598 $as_echo "no
" >&6; }
14603 if test -z "$ac_cv_prog_DLLTOOL"; then
14604 ac_ct_DLLTOOL=$DLLTOOL
14605 # Extract the first word of "dlltool
", so it can be a program name with args.
14606 set dummy dlltool; ac_word=$2
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14608 $as_echo_n "checking
for $ac_word...
" >&6; }
14609 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
14610 $as_echo_n "(cached
) " >&6
14612 if test -n "$ac_ct_DLLTOOL"; then
14613 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14616 for as_dir in $PATH
14619 test -z "$as_dir" && as_dir=.
14620 for ac_exec_ext in '' $ac_executable_extensions; do
14621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14622 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
14623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14632 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14633 if test -n "$ac_ct_DLLTOOL"; then
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
14635 $as_echo "$ac_ct_DLLTOOL" >&6; }
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14638 $as_echo "no
" >&6; }
14641 if test "x
$ac_ct_DLLTOOL" = x; then
14644 case $cross_compiling:$ac_tool_warned in
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
14647 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
14648 ac_tool_warned=yes ;;
14650 DLLTOOL=$ac_ct_DLLTOOL
14653 DLLTOOL="$ac_cv_prog_DLLTOOL"
14656 test -z "$DLLTOOL" && DLLTOOL=dlltool
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
14665 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
14666 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
14667 $as_echo_n "(cached
) " >&6
14669 lt_cv_sharedlib_from_linklib_cmd='unknown'
14672 cygwin* | mingw* | pw32* | cegcc*)
14673 # two different shell functions defined in ltmain.sh
14674 # decide which to use based on capabilities of $DLLTOOL
14675 case `$DLLTOOL --help 2>&1` in
14676 *--identify-strict*)
14677 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
14680 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
14685 # fallback: assume linklib IS sharedlib
14686 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
14692 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
14693 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
14694 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
14702 if test -n "$ac_tool_prefix"; then
14705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14708 $as_echo_n "checking
for $ac_word...
" >&6; }
14709 if ${ac_cv_prog_AR+:} false; then :
14710 $as_echo_n "(cached
) " >&6
14712 if test -n "$AR"; then
14713 ac_cv_prog_AR="$AR" # Let the user override the test.
14715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14716 for as_dir in $PATH
14719 test -z "$as_dir" && as_dir=.
14720 for ac_exec_ext in '' $ac_executable_extensions; do
14721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14722 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
14723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14733 if test -n "$AR"; then
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
14735 $as_echo "$AR" >&6; }
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14738 $as_echo "no
" >&6; }
14742 test -n "$AR" && break
14745 if test -z "$AR"; then
14749 # Extract the first word of "$ac_prog", so it can be a program name with args.
14750 set dummy $ac_prog; ac_word=$2
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14752 $as_echo_n "checking
for $ac_word...
" >&6; }
14753 if ${ac_cv_prog_ac_ct_AR+:} false; then :
14754 $as_echo_n "(cached
) " >&6
14756 if test -n "$ac_ct_AR"; then
14757 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14760 for as_dir in $PATH
14763 test -z "$as_dir" && as_dir=.
14764 for ac_exec_ext in '' $ac_executable_extensions; do
14765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14766 ac_cv_prog_ac_ct_AR="$ac_prog"
14767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14776 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14777 if test -n "$ac_ct_AR"; then
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
14779 $as_echo "$ac_ct_AR" >&6; }
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14782 $as_echo "no
" >&6; }
14786 test -n "$ac_ct_AR" && break
14789 if test "x
$ac_ct_AR" = x; then
14792 case $cross_compiling:$ac_tool_warned in
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
14795 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
14796 ac_tool_warned=yes ;;
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
14816 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
14817 if ${lt_cv_ar_at_file+:} false; then :
14818 $as_echo_n "(cached
) " >&6
14820 lt_cv_ar_at_file=no
14821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14832 if ac_fn_c_try_compile "$LINENO"; then :
14833 echo conftest.$ac_objext > conftest.lst
14834 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
14835 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
14836 (eval $lt_ar_try) 2>&5
14838 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
14839 test $ac_status = 0; }
14840 if test "$ac_status" -eq 0; then
14841 # Ensure the archiver fails upon bogus file names.
14842 rm -f conftest.$ac_objext libconftest.a
14843 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
14844 (eval $lt_ar_try) 2>&5
14846 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
14847 test $ac_status = 0; }
14848 if test "$ac_status" -ne 0; then
14852 rm -f conftest.* libconftest.a
14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
14859 $as_echo "$lt_cv_ar_at_file" >&6; }
14861 if test "x
$lt_cv_ar_at_file" = xno; then
14862 archiver_list_spec=
14864 archiver_list_spec=$lt_cv_ar_at_file
14873 if test -n "$ac_tool_prefix"; then
14874 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
14875 set dummy ${ac_tool_prefix}strip; ac_word=$2
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14877 $as_echo_n "checking
for $ac_word...
" >&6; }
14878 if ${ac_cv_prog_STRIP+:} false; then :
14879 $as_echo_n "(cached
) " >&6
14881 if test -n "$STRIP"; then
14882 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14885 for as_dir in $PATH
14888 test -z "$as_dir" && as_dir=.
14889 for ac_exec_ext in '' $ac_executable_extensions; do
14890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14891 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
14892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14901 STRIP=$ac_cv_prog_STRIP
14902 if test -n "$STRIP"; then
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
14904 $as_echo "$STRIP" >&6; }
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14907 $as_echo "no
" >&6; }
14912 if test -z "$ac_cv_prog_STRIP"; then
14914 # Extract the first word of "strip
", so it can be a program name with args.
14915 set dummy strip; ac_word=$2
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14917 $as_echo_n "checking
for $ac_word...
" >&6; }
14918 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
14919 $as_echo_n "(cached
) " >&6
14921 if test -n "$ac_ct_STRIP"; then
14922 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14925 for as_dir in $PATH
14928 test -z "$as_dir" && as_dir=.
14929 for ac_exec_ext in '' $ac_executable_extensions; do
14930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14931 ac_cv_prog_ac_ct_STRIP="strip
"
14932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14941 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14942 if test -n "$ac_ct_STRIP"; then
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
14944 $as_echo "$ac_ct_STRIP" >&6; }
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14947 $as_echo "no
" >&6; }
14950 if test "x
$ac_ct_STRIP" = x; then
14953 case $cross_compiling:$ac_tool_warned in
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
14956 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
14957 ac_tool_warned=yes ;;
14962 STRIP="$ac_cv_prog_STRIP"
14965 test -z "$STRIP" && STRIP=:
14972 if test -n "$ac_tool_prefix"; then
14973 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
14974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14976 $as_echo_n "checking
for $ac_word...
" >&6; }
14977 if ${ac_cv_prog_RANLIB+:} false; then :
14978 $as_echo_n "(cached
) " >&6
14980 if test -n "$RANLIB"; then
14981 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14984 for as_dir in $PATH
14987 test -z "$as_dir" && as_dir=.
14988 for ac_exec_ext in '' $ac_executable_extensions; do
14989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14990 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
14991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15000 RANLIB=$ac_cv_prog_RANLIB
15001 if test -n "$RANLIB"; then
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
15003 $as_echo "$RANLIB" >&6; }
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15006 $as_echo "no
" >&6; }
15011 if test -z "$ac_cv_prog_RANLIB"; then
15012 ac_ct_RANLIB=$RANLIB
15013 # Extract the first word of "ranlib
", so it can be a program name with args.
15014 set dummy ranlib; ac_word=$2
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15016 $as_echo_n "checking
for $ac_word...
" >&6; }
15017 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
15018 $as_echo_n "(cached
) " >&6
15020 if test -n "$ac_ct_RANLIB"; then
15021 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15024 for as_dir in $PATH
15027 test -z "$as_dir" && as_dir=.
15028 for ac_exec_ext in '' $ac_executable_extensions; do
15029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15030 ac_cv_prog_ac_ct_RANLIB="ranlib
"
15031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15040 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15041 if test -n "$ac_ct_RANLIB"; then
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
15043 $as_echo "$ac_ct_RANLIB" >&6; }
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15046 $as_echo "no
" >&6; }
15049 if test "x
$ac_ct_RANLIB" = x; then
15052 case $cross_compiling:$ac_tool_warned in
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
15055 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
15056 ac_tool_warned=yes ;;
15058 RANLIB=$ac_ct_RANLIB
15061 RANLIB="$ac_cv_prog_RANLIB"
15064 test -z "$RANLIB" && RANLIB=:
15071 # Determine commands to create old-style static archives.
15072 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
15073 old_postinstall_cmds='chmod 644 $oldlib'
15074 old_postuninstall_cmds=
15076 if test -n "$RANLIB"; then
15079 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
15082 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
15085 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
15090 lock_old_archive_extraction=yes ;;
15092 lock_old_archive_extraction=no ;;
15133 # If no C compiler was specified, use CC.
15136 # If no C compiler flags were specified, use CFLAGS.
15137 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15139 # Allow CC to be a program name with arguments.
15143 # Check for command to grab the raw symbol name followed by C symbol from nm.
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
15145 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
15146 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
15147 $as_echo_n "(cached
) " >&6
15150 # These are sane defaults that work on at least a few old systems.
15151 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
15153 # Character class describing NM global symbol codes.
15154 symcode='[BCDEGRST]'
15156 # Regexp to match symbols that can be accessed directly from C.
15157 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
15159 # Define system-specific variables.
15164 cygwin* | mingw* | pw32* | cegcc*)
15165 symcode='[ABCDGISTW]'
15168 if test "$host_cpu" = ia64; then
15169 symcode='[ABCDEGRST]'
15172 irix* | nonstopux*)
15173 symcode='[BCDEGRST]'
15176 symcode='[BCDEGQRST]'
15187 sysv5* | sco5v6* | unixware* | OpenUNIX*)
15195 # If we're using GNU nm, then use its standard symbol codes.
15196 case `$NM -V 2>&1` in
15197 *GNU* | *'with BFD'*)
15198 symcode='[ABCDGIRSTW]' ;;
15201 # Transform an extracted symbol line into a proper C declaration.
15202 # Some systems (esp. on ia64) link data and code symbols differently,
15203 # so use this general approach.
15204 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
15206 # Transform an extracted symbol line into symbol name and symbol address
15207 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
15208 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
15210 # Handle CRLF in mingw tool chain
15214 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
15218 # Try without a prefix underscore, then with it.
15219 for ac_symprfx in "" "_
"; do
15221 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
15222 symxfrm="\\1 $ac_symprfx\\2 \\2"
15224 # Write the raw and C identifiers.
15225 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
15226 # Fake it for dumpbin and say T for any non-static function
15227 # and D for any global variable.
15228 # Also find C++ and __fastcall symbols from MSVC++,
15229 # which start with @ or ?.
15230 lt_cv_sys_global_symbol_pipe="$AWK '"\
15231 " {last_section=section; section=\$ 3};"\
15232 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
15233 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
15234 " \$ 0!~/External *\|/{next};"\
15235 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
15236 " {if(hide[section]) next};"\
15237 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
15238 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
15239 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
15240 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
15241 " ' prfx
=^
$ac_symprfx"
15243 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
15245 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
15247 # Check to see that the pipe works correctly.
15251 cat > conftest.$ac_ext <<_LT_EOF
15256 void nm_test_func(void);
15257 void nm_test_func(void){}
15261 int main(){nm_test_var='a';nm_test_func();return(0);}
15264 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15265 (eval $ac_compile) 2>&5
15267 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15268 test $ac_status = 0; }; then
15269 # Now try to grab the symbols.
15271 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
15272 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
15274 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15275 test $ac_status = 0; } && test -s "$nlist"; then
15276 # Try sorting and uniquifying the output.
15277 if sort "$nlist" | uniq > "$nlist"T; then
15278 mv -f "$nlist"T "$nlist"
15283 # Make sure that we snagged all the symbols we need.
15284 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
15285 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
15286 cat <<_LT_EOF > conftest.$ac_ext
15287 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
15288 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
15289 /* DATA imports from DLLs on WIN32 con't be const, because runtime
15290 relocations are performed -- see ld's documentation on pseudo-relocs. */
15291 # define LT_DLSYM_CONST
15292 #elif defined(__osf__)
15293 /* This system does not cope well with relocations in const data. */
15294 # define LT_DLSYM_CONST
15296 # define LT_DLSYM_CONST const
15304 # Now generate the symbol file.
15305 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
15307 cat <<_LT_EOF >> conftest.$ac_ext
15309 /* The mapping between symbol names and symbols. */
15310 LT_DLSYM_CONST struct {
15314 lt__PROGRAM__LTX_preloaded_symbols[] =
15316 { "@PROGRAM@
", (void *) 0 },
15318 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
15319 cat <<\_LT_EOF >> conftest.$ac_ext
15323 /* This works around a problem in FreeBSD linker */
15324 #ifdef FREEBSD_WORKAROUND
15325 static const void *lt_preloaded_setup() {
15326 return lt__PROGRAM__LTX_preloaded_symbols;
15334 # Now try linking the two files.
15335 mv conftest.$ac_objext conftstm.$ac_objext
15336 lt_globsym_save_LIBS=$LIBS
15337 lt_globsym_save_CFLAGS=$CFLAGS
15338 LIBS="conftstm.
$ac_objext"
15339 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
15340 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15341 (eval $ac_link) 2>&5
15343 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15344 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
15347 LIBS=$lt_globsym_save_LIBS
15348 CFLAGS=$lt_globsym_save_CFLAGS
15350 echo "cannot
find nm_test_func
in $nlist" >&5
15353 echo "cannot
find nm_test_var
in $nlist" >&5
15356 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
15359 echo "$progname: failed program was
:" >&5
15360 cat conftest.$ac_ext >&5
15362 rm -rf conftest* conftst*
15364 # Do not use the global_symbol_pipe unless it works.
15365 if test "$pipe_works" = yes; then
15368 lt_cv_sys_global_symbol_pipe=
15374 if test -z "$lt_cv_sys_global_symbol_pipe"; then
15375 lt_cv_sys_global_symbol_to_cdecl=
15377 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
15379 $as_echo "failed
" >&6; }
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
15382 $as_echo "ok
" >&6; }
15385 # Response file support.
15386 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
15387 nm_file_list_spec='@'
15388 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
15389 nm_file_list_spec='@'
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
15419 $as_echo_n "checking
for sysroot...
" >&6; }
15421 # Check whether --with-sysroot was given.
15422 if test "${with_sysroot+set}" = set; then :
15423 withval=$with_sysroot;
15430 case ${with_sysroot} in #(
15432 if test "$GCC" = yes; then
15433 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
15437 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
15443 $as_echo "${with_sysroot}" >&6; }
15444 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
15449 $as_echo "${lt_sysroot:-no}" >&6; }
15455 # Check whether --enable-libtool-lock was given.
15456 if test "${enable_libtool_lock+set}" = set; then :
15457 enableval=$enable_libtool_lock;
15460 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
15462 # Some flags need to be propagated to the compiler or linker for good
15466 # Find out which ABI we are using.
15467 echo 'int i;' > conftest.$ac_ext
15468 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15469 (eval $ac_compile) 2>&5
15471 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15472 test $ac_status = 0; }; then
15473 case `/usr/bin/file conftest.$ac_objext` in
15475 HPUX_IA64_MODE="32"
15478 HPUX_IA64_MODE="64"
15485 # Find out which ABI we are using.
15486 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
15487 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15488 (eval $ac_compile) 2>&5
15490 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15491 test $ac_status = 0; }; then
15492 if test "$lt_cv_prog_gnu_ld" = yes; then
15493 case `/usr/bin/file conftest.$ac_objext` in
15495 LD="${LD-ld} -melf32bsmip"
15498 LD="${LD-ld} -melf32bmipn32"
15501 LD="${LD-ld} -melf64bmip"
15505 case `/usr/bin/file conftest.$ac_objext` in
15521 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
15522 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
15523 # Find out which ABI we are using.
15524 echo 'int i;' > conftest.$ac_ext
15525 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15526 (eval $ac_compile) 2>&5
15528 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15529 test $ac_status = 0; }; then
15530 case `/usr/bin/file conftest.o` in
15533 x86_64-*kfreebsd*-gnu)
15534 LD="${LD-ld} -m elf_i386_fbsd
"
15537 LD="${LD-ld} -m elf_i386
"
15539 ppc64-*linux*|powerpc64-*linux*)
15540 LD="${LD-ld} -m elf32ppclinux
"
15543 LD="${LD-ld} -m elf_s390
"
15546 LD="${LD-ld} -m elf32_sparc
"
15552 x86_64-*kfreebsd*-gnu)
15553 LD="${LD-ld} -m elf_x86_64_fbsd
"
15556 LD="${LD-ld} -m elf_x86_64
"
15558 ppc*-*linux*|powerpc*-*linux*)
15559 LD="${LD-ld} -m elf64ppc
"
15561 s390*-*linux*|s390*-*tpf*)
15562 LD="${LD-ld} -m elf64_s390
"
15565 LD="${LD-ld} -m elf64_sparc
"
15575 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
15576 SAVE_CFLAGS="$CFLAGS"
15577 CFLAGS="$CFLAGS -belf"
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
15579 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
15580 if ${lt_cv_cc_needs_belf+:} false; then :
15581 $as_echo_n "(cached
) " >&6
15584 ac_cpp='$CPP $CPPFLAGS'
15585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 lt_cv_cc_needs_belf=yes
15603 lt_cv_cc_needs_belf=no
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
15615 $as_echo "$lt_cv_cc_needs_belf" >&6; }
15616 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
15617 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
15618 CFLAGS="$SAVE_CFLAGS"
15622 # Find out which ABI we are using.
15623 echo 'int i;' > conftest.$ac_ext
15624 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15625 (eval $ac_compile) 2>&5
15627 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
15628 test $ac_status = 0; }; then
15629 case `/usr/bin/file conftest.o` in
15631 case $lt_cv_prog_gnu_ld in
15635 LD="${LD-ld} -m elf_x86_64
"
15638 LD="${LD-ld} -m elf64_sparc
"
15641 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
15642 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
15647 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
15659 need_locks="$enable_libtool_lock"
15661 if test -n "$ac_tool_prefix"; then
15662 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
15663 set dummy ${ac_tool_prefix}mt; ac_word=$2
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15665 $as_echo_n "checking
for $ac_word...
" >&6; }
15666 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
15667 $as_echo_n "(cached
) " >&6
15669 if test -n "$MANIFEST_TOOL"; then
15670 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
15672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15673 for as_dir in $PATH
15676 test -z "$as_dir" && as_dir=.
15677 for ac_exec_ext in '' $ac_executable_extensions; do
15678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15679 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
15680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15689 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
15690 if test -n "$MANIFEST_TOOL"; then
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
15692 $as_echo "$MANIFEST_TOOL" >&6; }
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15695 $as_echo "no
" >&6; }
15700 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
15701 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
15702 # Extract the first word of "mt
", so it can be a program name with args.
15703 set dummy mt; ac_word=$2
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15705 $as_echo_n "checking
for $ac_word...
" >&6; }
15706 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
15707 $as_echo_n "(cached
) " >&6
15709 if test -n "$ac_ct_MANIFEST_TOOL"; then
15710 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
15712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15713 for as_dir in $PATH
15716 test -z "$as_dir" && as_dir=.
15717 for ac_exec_ext in '' $ac_executable_extensions; do
15718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15719 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
15720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15729 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
15730 if test -n "$ac_ct_MANIFEST_TOOL"; then
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
15732 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15735 $as_echo "no
" >&6; }
15738 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
15741 case $cross_compiling:$ac_tool_warned in
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
15744 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
15745 ac_tool_warned=yes ;;
15747 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
15750 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
15753 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
15755 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
15756 if ${lt_cv_path_mainfest_tool+:} false; then :
15757 $as_echo_n "(cached
) " >&6
15759 lt_cv_path_mainfest_tool=no
15760 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
15761 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
15762 cat conftest.err >&5
15763 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
15764 lt_cv_path_mainfest_tool=yes
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
15769 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
15770 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
15780 rhapsody* | darwin*)
15781 if test -n "$ac_tool_prefix"; then
15782 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
15783 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15785 $as_echo_n "checking
for $ac_word...
" >&6; }
15786 if ${ac_cv_prog_DSYMUTIL+:} false; then :
15787 $as_echo_n "(cached
) " >&6
15789 if test -n "$DSYMUTIL"; then
15790 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
15792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15793 for as_dir in $PATH
15796 test -z "$as_dir" && as_dir=.
15797 for ac_exec_ext in '' $ac_executable_extensions; do
15798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15799 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
15800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15809 DSYMUTIL=$ac_cv_prog_DSYMUTIL
15810 if test -n "$DSYMUTIL"; then
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
15812 $as_echo "$DSYMUTIL" >&6; }
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15815 $as_echo "no
" >&6; }
15820 if test -z "$ac_cv_prog_DSYMUTIL"; then
15821 ac_ct_DSYMUTIL=$DSYMUTIL
15822 # Extract the first word of "dsymutil
", so it can be a program name with args.
15823 set dummy dsymutil; ac_word=$2
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15825 $as_echo_n "checking
for $ac_word...
" >&6; }
15826 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
15827 $as_echo_n "(cached
) " >&6
15829 if test -n "$ac_ct_DSYMUTIL"; then
15830 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
15832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15833 for as_dir in $PATH
15836 test -z "$as_dir" && as_dir=.
15837 for ac_exec_ext in '' $ac_executable_extensions; do
15838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15839 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
15840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15849 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
15850 if test -n "$ac_ct_DSYMUTIL"; then
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
15852 $as_echo "$ac_ct_DSYMUTIL" >&6; }
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15855 $as_echo "no
" >&6; }
15858 if test "x
$ac_ct_DSYMUTIL" = x; then
15861 case $cross_compiling:$ac_tool_warned in
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
15864 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
15865 ac_tool_warned=yes ;;
15867 DSYMUTIL=$ac_ct_DSYMUTIL
15870 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
15873 if test -n "$ac_tool_prefix"; then
15874 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
15875 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15877 $as_echo_n "checking
for $ac_word...
" >&6; }
15878 if ${ac_cv_prog_NMEDIT+:} false; then :
15879 $as_echo_n "(cached
) " >&6
15881 if test -n "$NMEDIT"; then
15882 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
15884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15885 for as_dir in $PATH
15888 test -z "$as_dir" && as_dir=.
15889 for ac_exec_ext in '' $ac_executable_extensions; do
15890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15891 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
15892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15901 NMEDIT=$ac_cv_prog_NMEDIT
15902 if test -n "$NMEDIT"; then
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
15904 $as_echo "$NMEDIT" >&6; }
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15907 $as_echo "no
" >&6; }
15912 if test -z "$ac_cv_prog_NMEDIT"; then
15913 ac_ct_NMEDIT=$NMEDIT
15914 # Extract the first word of "nmedit
", so it can be a program name with args.
15915 set dummy nmedit; ac_word=$2
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15917 $as_echo_n "checking
for $ac_word...
" >&6; }
15918 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
15919 $as_echo_n "(cached
) " >&6
15921 if test -n "$ac_ct_NMEDIT"; then
15922 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
15924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15925 for as_dir in $PATH
15928 test -z "$as_dir" && as_dir=.
15929 for ac_exec_ext in '' $ac_executable_extensions; do
15930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15931 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
15932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15941 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
15942 if test -n "$ac_ct_NMEDIT"; then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
15944 $as_echo "$ac_ct_NMEDIT" >&6; }
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15947 $as_echo "no
" >&6; }
15950 if test "x
$ac_ct_NMEDIT" = x; then
15953 case $cross_compiling:$ac_tool_warned in
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
15956 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
15957 ac_tool_warned=yes ;;
15959 NMEDIT=$ac_ct_NMEDIT
15962 NMEDIT="$ac_cv_prog_NMEDIT"
15965 if test -n "$ac_tool_prefix"; then
15966 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
15967 set dummy ${ac_tool_prefix}lipo; ac_word=$2
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15969 $as_echo_n "checking
for $ac_word...
" >&6; }
15970 if ${ac_cv_prog_LIPO+:} false; then :
15971 $as_echo_n "(cached
) " >&6
15973 if test -n "$LIPO"; then
15974 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
15976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15977 for as_dir in $PATH
15980 test -z "$as_dir" && as_dir=.
15981 for ac_exec_ext in '' $ac_executable_extensions; do
15982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15983 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
15984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15993 LIPO=$ac_cv_prog_LIPO
15994 if test -n "$LIPO"; then
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
15996 $as_echo "$LIPO" >&6; }
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15999 $as_echo "no
" >&6; }
16004 if test -z "$ac_cv_prog_LIPO"; then
16006 # Extract the first word of "lipo
", so it can be a program name with args.
16007 set dummy lipo; ac_word=$2
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16009 $as_echo_n "checking
for $ac_word...
" >&6; }
16010 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
16011 $as_echo_n "(cached
) " >&6
16013 if test -n "$ac_ct_LIPO"; then
16014 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
16016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16017 for as_dir in $PATH
16020 test -z "$as_dir" && as_dir=.
16021 for ac_exec_ext in '' $ac_executable_extensions; do
16022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16023 ac_cv_prog_ac_ct_LIPO="lipo
"
16024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16033 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
16034 if test -n "$ac_ct_LIPO"; then
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
16036 $as_echo "$ac_ct_LIPO" >&6; }
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16039 $as_echo "no
" >&6; }
16042 if test "x
$ac_ct_LIPO" = x; then
16045 case $cross_compiling:$ac_tool_warned in
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16048 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16049 ac_tool_warned=yes ;;
16054 LIPO="$ac_cv_prog_LIPO"
16057 if test -n "$ac_tool_prefix"; then
16058 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
16059 set dummy ${ac_tool_prefix}otool; ac_word=$2
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16061 $as_echo_n "checking
for $ac_word...
" >&6; }
16062 if ${ac_cv_prog_OTOOL+:} false; then :
16063 $as_echo_n "(cached
) " >&6
16065 if test -n "$OTOOL"; then
16066 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
16068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16069 for as_dir in $PATH
16072 test -z "$as_dir" && as_dir=.
16073 for ac_exec_ext in '' $ac_executable_extensions; do
16074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16075 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
16076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16085 OTOOL=$ac_cv_prog_OTOOL
16086 if test -n "$OTOOL"; then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
16088 $as_echo "$OTOOL" >&6; }
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16091 $as_echo "no
" >&6; }
16096 if test -z "$ac_cv_prog_OTOOL"; then
16098 # Extract the first word of "otool
", so it can be a program name with args.
16099 set dummy otool; ac_word=$2
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16101 $as_echo_n "checking
for $ac_word...
" >&6; }
16102 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
16103 $as_echo_n "(cached
) " >&6
16105 if test -n "$ac_ct_OTOOL"; then
16106 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
16108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16109 for as_dir in $PATH
16112 test -z "$as_dir" && as_dir=.
16113 for ac_exec_ext in '' $ac_executable_extensions; do
16114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16115 ac_cv_prog_ac_ct_OTOOL="otool
"
16116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16125 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
16126 if test -n "$ac_ct_OTOOL"; then
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
16128 $as_echo "$ac_ct_OTOOL" >&6; }
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16131 $as_echo "no
" >&6; }
16134 if test "x
$ac_ct_OTOOL" = x; then
16137 case $cross_compiling:$ac_tool_warned in
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16140 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16141 ac_tool_warned=yes ;;
16146 OTOOL="$ac_cv_prog_OTOOL"
16149 if test -n "$ac_tool_prefix"; then
16150 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
16151 set dummy ${ac_tool_prefix}otool64; ac_word=$2
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16153 $as_echo_n "checking
for $ac_word...
" >&6; }
16154 if ${ac_cv_prog_OTOOL64+:} false; then :
16155 $as_echo_n "(cached
) " >&6
16157 if test -n "$OTOOL64"; then
16158 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
16160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16161 for as_dir in $PATH
16164 test -z "$as_dir" && as_dir=.
16165 for ac_exec_ext in '' $ac_executable_extensions; do
16166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16167 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
16168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16177 OTOOL64=$ac_cv_prog_OTOOL64
16178 if test -n "$OTOOL64"; then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
16180 $as_echo "$OTOOL64" >&6; }
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16183 $as_echo "no
" >&6; }
16188 if test -z "$ac_cv_prog_OTOOL64"; then
16189 ac_ct_OTOOL64=$OTOOL64
16190 # Extract the first word of "otool64
", so it can be a program name with args.
16191 set dummy otool64; ac_word=$2
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16193 $as_echo_n "checking
for $ac_word...
" >&6; }
16194 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
16195 $as_echo_n "(cached
) " >&6
16197 if test -n "$ac_ct_OTOOL64"; then
16198 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
16200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16201 for as_dir in $PATH
16204 test -z "$as_dir" && as_dir=.
16205 for ac_exec_ext in '' $ac_executable_extensions; do
16206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16207 ac_cv_prog_ac_ct_OTOOL64="otool64
"
16208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16217 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
16218 if test -n "$ac_ct_OTOOL64"; then
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
16220 $as_echo "$ac_ct_OTOOL64" >&6; }
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16223 $as_echo "no
" >&6; }
16226 if test "x
$ac_ct_OTOOL64" = x; then
16229 case $cross_compiling:$ac_tool_warned in
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16232 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16233 ac_tool_warned=yes ;;
16235 OTOOL64=$ac_ct_OTOOL64
16238 OTOOL64="$ac_cv_prog_OTOOL64"
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
16268 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
16269 if ${lt_cv_apple_cc_single_mod+:} false; then :
16270 $as_echo_n "(cached
) " >&6
16272 lt_cv_apple_cc_single_mod=no
16273 if test -z "${LT_MULTI_MODULE}"; then
16274 # By default we will add the -single_module flag. You can override
16275 # by either setting the environment variable LT_MULTI_MODULE
16276 # non-empty at configure time, or by adding -multi_module to the
16278 rm -rf libconftest.dylib*
16279 echo "int foo
(void
){return 1;}" > conftest.c
16280 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16281 -dynamiclib -Wl,-single_module conftest.c
" >&5
16282 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16283 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
16285 # If there is a non-empty error log, and "single_module
"
16286 # appears in it, assume the flag caused a linker warning
16287 if test -s conftest.err && $GREP single_module conftest.err; then
16288 cat conftest.err >&5
16289 # Otherwise, if the output was created with a 0 exit code from
16290 # the compiler, it worked.
16291 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
16292 lt_cv_apple_cc_single_mod=yes
16294 cat conftest.err >&5
16296 rm -rf libconftest.dylib*
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
16301 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
16304 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
16305 if ${lt_cv_ld_exported_symbols_list+:} false; then :
16306 $as_echo_n "(cached
) " >&6
16308 lt_cv_ld_exported_symbols_list=no
16309 save_LDFLAGS=$LDFLAGS
16310 echo "_main
" > conftest.sym
16311 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16323 if ac_fn_c_try_link "$LINENO"; then :
16324 lt_cv_ld_exported_symbols_list=yes
16326 lt_cv_ld_exported_symbols_list=no
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16330 LDFLAGS="$save_LDFLAGS"
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
16334 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
16337 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
16338 if ${lt_cv_ld_force_load+:} false; then :
16339 $as_echo_n "(cached
) " >&6
16341 lt_cv_ld_force_load=no
16342 cat > conftest.c << _LT_EOF
16343 int forced_loaded() { return 2;}
16345 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
16346 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
16347 echo "$AR cru libconftest.a conftest.o
" >&5
16348 $AR cru libconftest.a conftest.o 2>&5
16349 echo "$RANLIB libconftest.a
" >&5
16350 $RANLIB libconftest.a 2>&5
16351 cat > conftest.c << _LT_EOF
16352 int main() { return 0;}
16354 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
16355 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
16357 if test -s conftest.err && $GREP force_load conftest.err; then
16358 cat conftest.err >&5
16359 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
16360 lt_cv_ld_force_load=yes
16362 cat conftest.err >&5
16364 rm -f conftest.err libconftest.a conftest conftest.c
16365 rm -rf conftest.dSYM
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
16369 $as_echo "$lt_cv_ld_force_load" >&6; }
16371 rhapsody* | darwin1.[012])
16372 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
16374 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16375 darwin*) # darwin 5.x on
16376 # if running on 10.5 or later, the deployment target defaults
16377 # to the OS version, if on x86, and 10.4, the deployment
16378 # target defaults to 10.4. Don't you love it?
16379 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
16380 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
16381 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16383 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16385 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16389 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
16390 _lt_dar_single_mod='$single_module'
16392 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
16393 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
16395 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
16397 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
16398 _lt_dsymutil='~$DSYMUTIL $lib || :'
16405 for ac_header in dlfcn.h
16407 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
16409 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_DLFCN_H 1
16430 # Check whether --enable-shared was given.
16431 if test "${enable_shared+set}" = set; then :
16432 enableval=$enable_shared; p=${PACKAGE-default}
16434 yes) enable_shared=yes ;;
16435 no) enable_shared=no ;;
16438 # Look at the argument we got. We use all the common list separators.
16439 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16440 for pkg in $enableval; do
16442 if test "X
$pkg" = "X
$p"; then
16463 # Check whether --with-pic was given.
16464 if test "${with_pic+set}" = set; then :
16465 withval=$with_pic; lt_p=${PACKAGE-default}
16467 yes|no) pic_mode=$withval ;;
16470 # Look at the argument we got. We use all the common list separators.
16471 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16472 for lt_pkg in $withval; do
16474 if test "X
$lt_pkg" = "X
$lt_p"; then
16486 test -z "$pic_mode" && pic_mode=default
16494 # Check whether --enable-fast-install was given.
16495 if test "${enable_fast_install+set}" = set; then :
16496 enableval=$enable_fast_install; p=${PACKAGE-default}
16498 yes) enable_fast_install=yes ;;
16499 no) enable_fast_install=no ;;
16501 enable_fast_install=no
16502 # Look at the argument we got. We use all the common list separators.
16503 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
16504 for pkg in $enableval; do
16506 if test "X
$pkg" = "X
$p"; then
16507 enable_fast_install=yes
16514 enable_fast_install=yes
16527 # This can be used to rebuild libtool when needed
16528 LIBTOOL_DEPS="$ltmain"
16530 # Always use our own libtool.
16531 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
16562 test -z "$LN_S" && LN_S="ln -s"
16577 if test -n "${ZSH_VERSION+set}" ; then
16578 setopt NO_GLOB_SUBST
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
16582 $as_echo_n "checking
for objdir...
" >&6; }
16583 if ${lt_cv_objdir+:} false; then :
16584 $as_echo_n "(cached
) " >&6
16586 rm -f .libs 2>/dev/null
16587 mkdir .libs 2>/dev/null
16588 if test -d .libs; then
16591 # MS-DOS does not allow filenames that begin with a dot.
16594 rmdir .libs 2>/dev/null
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
16597 $as_echo "$lt_cv_objdir" >&6; }
16598 objdir=$lt_cv_objdir
16604 cat >>confdefs.h <<_ACEOF
16605 #define LT_OBJDIR "$lt_cv_objdir/"
16613 # AIX sometimes has problems with the GCC collect2 program. For some
16614 # reason, if we set the COLLECT_NAMES environment variable, the problems
16615 # vanish in a puff of smoke.
16616 if test "X
${COLLECT_NAMES+set}" != Xset; then
16618 export COLLECT_NAMES
16623 # Global variables:
16625 can_build_shared=yes
16627 # All known linkers require a `.a' archive for static linking (except MSVC,
16628 # which needs '.lib').
16631 with_gnu_ld="$lt_cv_prog_gnu_ld"
16634 old_CFLAGS="$CFLAGS"
16636 # Set sane defaults for various variables
16637 test -z "$CC" && CC=cc
16638 test -z "$LTCC" && LTCC=$CC
16639 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
16640 test -z "$LD" && LD=ld
16641 test -z "$ac_objext" && ac_objext=o
16643 for cc_temp in $compiler""; do
16645 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16646 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16651 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
16654 # Only perform the check for file, if the check method requires it
16655 test -z "$MAGIC_CMD" && MAGIC_CMD=file
16656 case $deplibs_check_method in
16658 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
16660 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
16661 if ${lt_cv_path_MAGIC_CMD+:} false; then :
16662 $as_echo_n "(cached
) " >&6
16666 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16669 lt_save_MAGIC_CMD="$MAGIC_CMD"
16670 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16671 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
16672 for ac_dir in $ac_dummy; do
16674 test -z "$ac_dir" && ac_dir=.
16675 if test -f $ac_dir/${ac_tool_prefix}file; then
16676 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
16677 if test -n "$file_magic_test_file"; then
16678 case $deplibs_check_method in
16680 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
16681 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16682 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16683 $EGREP "$file_magic_regex" > /dev/null; then
16688 *** Warning: the command libtool uses to detect shared libraries,
16689 *** $file_magic_cmd, produces output that libtool cannot recognize.
16690 *** The result is that libtool may fail to recognize shared libraries
16691 *** as such. This will affect the creation of libtool libraries that
16692 *** depend on shared libraries, but programs linked with such libtool
16693 *** libraries will work regardless of this problem. Nevertheless, you
16694 *** may want to report the problem to your system manager and/or to
16695 *** bug-libtool@gnu.org
16705 MAGIC_CMD="$lt_save_MAGIC_CMD"
16710 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16711 if test -n "$MAGIC_CMD"; then
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
16713 $as_echo "$MAGIC_CMD" >&6; }
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16716 $as_echo "no
" >&6; }
16723 if test -z "$lt_cv_path_MAGIC_CMD"; then
16724 if test -n "$ac_tool_prefix"; then
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
16726 $as_echo_n "checking
for file...
" >&6; }
16727 if ${lt_cv_path_MAGIC_CMD+:} false; then :
16728 $as_echo_n "(cached
) " >&6
16732 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
16735 lt_save_MAGIC_CMD="$MAGIC_CMD"
16736 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16737 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
16738 for ac_dir in $ac_dummy; do
16740 test -z "$ac_dir" && ac_dir=.
16741 if test -f $ac_dir/file; then
16742 lt_cv_path_MAGIC_CMD="$ac_dir/file"
16743 if test -n "$file_magic_test_file"; then
16744 case $deplibs_check_method in
16746 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
16747 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16748 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
16749 $EGREP "$file_magic_regex" > /dev/null; then
16754 *** Warning: the command libtool uses to detect shared libraries,
16755 *** $file_magic_cmd, produces output that libtool cannot recognize.
16756 *** The result is that libtool may fail to recognize shared libraries
16757 *** as such. This will affect the creation of libtool libraries that
16758 *** depend on shared libraries, but programs linked with such libtool
16759 *** libraries will work regardless of this problem. Nevertheless, you
16760 *** may want to report the problem to your system manager and/or to
16761 *** bug-libtool@gnu.org
16771 MAGIC_CMD="$lt_save_MAGIC_CMD"
16776 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
16777 if test -n "$MAGIC_CMD"; then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
16779 $as_echo "$MAGIC_CMD" >&6; }
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16782 $as_echo "no
" >&6; }
16795 # Use C for the default configuration in the libtool script
16799 ac_cpp='$CPP $CPPFLAGS'
16800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16805 # Source file extension for C test sources.
16808 # Object file extension for compiled C test sources.
16812 # Code to be used in simple compile tests
16813 lt_simple_compile_test_code="int some_variable
= 0;"
16815 # Code to be used in simple link tests
16816 lt_simple_link_test_code='int main(){return(0);}'
16824 # If no C compiler was specified, use CC.
16827 # If no C compiler flags were specified, use CFLAGS.
16828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16830 # Allow CC to be a program name with arguments.
16833 # Save the default compiler, since it gets overwritten when the other
16834 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
16835 compiler_DEFAULT=$CC
16837 # save warnings/boilerplate of simple test code
16838 ac_outfile=conftest.$ac_objext
16839 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16840 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16841 _lt_compiler_boilerplate=`cat conftest.err`
16844 ac_outfile=conftest.$ac_objext
16845 echo "$lt_simple_link_test_code" >conftest.$ac_ext
16846 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16847 _lt_linker_boilerplate=`cat conftest.err`
16852 ## There is no encapsulation within the following macros, do not change
16853 ## the running order or otherwise move them around unless you know exactly
16854 ## what you are doing...
16855 if test -n "$compiler"; then
16857 lt_prog_compiler_no_builtin_flag=
16859 if test "$GCC" = yes; then
16860 case $cc_basename in
16862 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
16864 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
16868 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
16869 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
16870 $as_echo_n "(cached
) " >&6
16872 lt_cv_prog_compiler_rtti_exceptions=no
16873 ac_outfile=conftest.$ac_objext
16874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16875 lt_compiler_flag="-fno-rtti -fno-exceptions"
16876 # Insert the option either (1) after the last *FLAGS variable, or
16877 # (2) before a word containing "conftest.
", or (3) at the end.
16878 # Note that $ac_compile itself does not contain backslashes and begins
16879 # with a dollar sign (not a hyphen), so the echo should work correctly.
16880 # The option is referenced via a variable to avoid confusing sed.
16881 lt_compile=`echo "$ac_compile" | $SED \
16882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16884 -e 's:$: $lt_compiler_flag:'`
16885 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
16886 (eval "$lt_compile" 2>conftest.err)
16888 cat conftest.err >&5
16889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16890 if (exit $ac_status) && test -s "$ac_outfile"; then
16891 # The compiler can only warn and ignore the option if not recognized
16892 # So say no if there are warnings other than the usual output.
16893 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16894 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16895 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16896 lt_cv_prog_compiler_rtti_exceptions=yes
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
16903 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16905 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16906 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
16918 lt_prog_compiler_wl=
16919 lt_prog_compiler_pic=
16920 lt_prog_compiler_static=
16923 if test "$GCC" = yes; then
16924 lt_prog_compiler_wl='-Wl,'
16925 lt_prog_compiler_static='-static'
16929 # All AIX code is PIC.
16930 if test "$host_cpu" = ia64; then
16931 # AIX 5 now supports IA64 processor
16932 lt_prog_compiler_static='-Bstatic'
16939 # see comment about AmigaOS4 .so support
16940 lt_prog_compiler_pic='-fPIC'
16943 # FIXME: we need at least 68020 code to build shared libraries, but
16944 # adding the `-m68020' flag to GCC prevents building anything better,
16946 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
16951 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16952 # PIC is the default for these OSes.
16955 mingw* | cygwin* | pw32* | os2* | cegcc*)
16956 # This hack is so that the source file can tell whether it is being
16957 # built for inclusion in a dll (and should export symbols for example).
16958 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16959 # (--disable-auto-import) libraries
16960 lt_prog_compiler_pic='-DDLL_EXPORT'
16963 darwin* | rhapsody*)
16964 # PIC is the default on this platform
16965 # Common symbols not allowed in MH_DYLIB files
16966 lt_prog_compiler_pic='-fno-common'
16970 # PIC is the default for Haiku.
16971 # The "-static" flag exists, but is broken.
16972 lt_prog_compiler_static=
16976 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16977 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16978 # sets the default TLS model and affects inlining.
16984 lt_prog_compiler_pic='-fPIC'
16990 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16991 # Instead, we relocate shared libraries at runtime.
16995 # Just because we use GCC doesn't mean we suddenly get shared libraries
16996 # on systems that don't support them.
16997 lt_prog_compiler_can_build_shared=no
17002 # QNX uses GNU C++, but need to define -shared option too, otherwise
17003 # it will coredump.
17004 lt_prog_compiler_pic='-fPIC -shared'
17008 if test -d /usr/nec; then
17009 lt_prog_compiler_pic=-Kconform_pic
17014 lt_prog_compiler_pic='-fPIC'
17018 case $cc_basename in
17019 nvcc*) # Cuda Compiler Driver 2.2
17020 lt_prog_compiler_wl='-Xlinker '
17021 if test -n "$lt_prog_compiler_pic"; then
17022 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
17027 # PORTME Check for flag to pass linker flags through the system compiler.
17030 lt_prog_compiler_wl='-Wl,'
17031 if test "$host_cpu" = ia64; then
17032 # AIX 5 now supports IA64 processor
17033 lt_prog_compiler_static='-Bstatic'
17035 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
17039 mingw* | cygwin* | pw32* | os2* | cegcc*)
17040 # This hack is so that the source file can tell whether it is being
17041 # built for inclusion in a dll (and should export symbols for example).
17042 lt_prog_compiler_pic='-DDLL_EXPORT'
17045 hpux9* | hpux10* | hpux11*)
17046 lt_prog_compiler_wl='-Wl,'
17047 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17048 # not for PA HP-UX.
17054 lt_prog_compiler_pic='+Z'
17057 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17058 lt_prog_compiler_static='${wl}-a ${wl}archive'
17061 irix5* | irix6* | nonstopux*)
17062 lt_prog_compiler_wl='-Wl,'
17063 # PIC (with -KPIC) is the default.
17064 lt_prog_compiler_static='-non_shared'
17067 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17068 case $cc_basename in
17069 # old Intel for x86_64 which still supported -KPIC.
17071 lt_prog_compiler_wl='-Wl,'
17072 lt_prog_compiler_pic='-KPIC'
17073 lt_prog_compiler_static='-static'
17075 # icc used to be incompatible with GCC.
17076 # ICC 10 doesn't accept -KPIC any more.
17078 lt_prog_compiler_wl='-Wl,'
17079 lt_prog_compiler_pic='-fPIC'
17080 lt_prog_compiler_static='-static'
17082 # Lahey Fortran 8.1.
17084 lt_prog_compiler_wl='-Wl,'
17085 lt_prog_compiler_pic='--shared'
17086 lt_prog_compiler_static='--static'
17089 # NAG Fortran compiler
17090 lt_prog_compiler_wl='-Wl,-Wl,,'
17091 lt_prog_compiler_pic='-PIC'
17092 lt_prog_compiler_static='-Bstatic'
17094 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17095 # Portland Group compilers (*not* the Pentium gcc compiler,
17096 # which looks to be a dead project)
17097 lt_prog_compiler_wl='-Wl,'
17098 lt_prog_compiler_pic='-fpic'
17099 lt_prog_compiler_static='-Bstatic'
17102 lt_prog_compiler_wl='-Wl,'
17103 # All Alpha code is PIC.
17104 lt_prog_compiler_static='-non_shared'
17106 xl* | bgxl* | bgf* | mpixl*)
17107 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17108 lt_prog_compiler_wl='-Wl,'
17109 lt_prog_compiler_pic='-qpic'
17110 lt_prog_compiler_static='-qstaticlink'
17113 case `$CC -V 2>&1 | sed 5q` in
17114 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
17115 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17116 lt_prog_compiler_pic='-KPIC'
17117 lt_prog_compiler_static='-Bstatic'
17118 lt_prog_compiler_wl=''
17120 *Sun\ F* | *Sun*Fortran*)
17121 lt_prog_compiler_pic='-KPIC'
17122 lt_prog_compiler_static='-Bstatic'
17123 lt_prog_compiler_wl='-Qoption ld '
17127 lt_prog_compiler_pic='-KPIC'
17128 lt_prog_compiler_static='-Bstatic'
17129 lt_prog_compiler_wl='-Wl,'
17131 *Intel*\ [CF]*Compiler*)
17132 lt_prog_compiler_wl='-Wl,'
17133 lt_prog_compiler_pic='-fPIC'
17134 lt_prog_compiler_static='-static'
17137 lt_prog_compiler_wl='-Wl,'
17138 lt_prog_compiler_pic='-fpic'
17139 lt_prog_compiler_static='-Bstatic'
17147 lt_prog_compiler_pic='-KPIC'
17148 lt_prog_compiler_static='-Bstatic'
17152 # QNX uses GNU C++, but need to define -shared option too, otherwise
17153 # it will coredump.
17154 lt_prog_compiler_pic='-fPIC -shared'
17157 osf3* | osf4* | osf5*)
17158 lt_prog_compiler_wl='-Wl,'
17159 # All OSF/1 code is PIC.
17160 lt_prog_compiler_static='-non_shared'
17164 lt_prog_compiler_static='-non_shared'
17168 lt_prog_compiler_pic='-KPIC'
17169 lt_prog_compiler_static='-Bstatic'
17170 case $cc_basename in
17171 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
17172 lt_prog_compiler_wl='-Qoption ld ';;
17174 lt_prog_compiler_wl='-Wl,';;
17179 lt_prog_compiler_wl='-Qoption ld '
17180 lt_prog_compiler_pic='-PIC'
17181 lt_prog_compiler_static='-Bstatic'
17184 sysv4 | sysv4.2uw2* | sysv4.3*)
17185 lt_prog_compiler_wl='-Wl,'
17186 lt_prog_compiler_pic='-KPIC'
17187 lt_prog_compiler_static='-Bstatic'
17191 if test -d /usr/nec ;then
17192 lt_prog_compiler_pic='-Kconform_pic'
17193 lt_prog_compiler_static='-Bstatic'
17197 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17198 lt_prog_compiler_wl='-Wl,'
17199 lt_prog_compiler_pic='-KPIC'
17200 lt_prog_compiler_static='-Bstatic'
17204 lt_prog_compiler_wl='-Wl,'
17205 lt_prog_compiler_can_build_shared=no
17209 lt_prog_compiler_pic='-pic'
17210 lt_prog_compiler_static='-Bstatic'
17214 lt_prog_compiler_can_build_shared=no
17220 # For platforms which do not support PIC, -DPIC is meaningless:
17222 lt_prog_compiler_pic=
17225 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
17230 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
17231 if ${lt_cv_prog_compiler_pic+:} false; then :
17232 $as_echo_n "(cached
) " >&6
17234 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
17237 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
17238 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
17241 # Check to make sure the PIC flag actually works.
17243 if test -n "$lt_prog_compiler_pic"; then
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
17245 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
17246 if ${lt_cv_prog_compiler_pic_works+:} false; then :
17247 $as_echo_n "(cached
) " >&6
17249 lt_cv_prog_compiler_pic_works=no
17250 ac_outfile=conftest.$ac_objext
17251 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17252 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
17253 # Insert the option either (1) after the last *FLAGS variable, or
17254 # (2) before a word containing "conftest.
", or (3) at the end.
17255 # Note that $ac_compile itself does not contain backslashes and begins
17256 # with a dollar sign (not a hyphen), so the echo should work correctly.
17257 # The option is referenced via a variable to avoid confusing sed.
17258 lt_compile=`echo "$ac_compile" | $SED \
17259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17261 -e 's:$: $lt_compiler_flag:'`
17262 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
17263 (eval "$lt_compile" 2>conftest.err)
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17267 if (exit $ac_status) && test -s "$ac_outfile"; then
17268 # The compiler can only warn and ignore the option if not recognized
17269 # So say no if there are warnings other than the usual output.
17270 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17271 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17272 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17273 lt_cv_prog_compiler_pic_works=yes
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
17280 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
17282 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
17283 case $lt_prog_compiler_pic in
17285 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
17288 lt_prog_compiler_pic=
17289 lt_prog_compiler_can_build_shared=no
17305 # Check to make sure the static flag actually works.
17307 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
17309 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
17310 if ${lt_cv_prog_compiler_static_works+:} false; then :
17311 $as_echo_n "(cached
) " >&6
17313 lt_cv_prog_compiler_static_works=no
17314 save_LDFLAGS="$LDFLAGS"
17315 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17316 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17317 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17318 # The linker can only warn and ignore the option if not recognized
17319 # So say no if there are warnings
17320 if test -s conftest.err; then
17321 # Append any errors to the config.log.
17322 cat conftest.err 1>&5
17323 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17324 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17325 if diff conftest.exp conftest.er2 >/dev/null; then
17326 lt_cv_prog_compiler_static_works=yes
17329 lt_cv_prog_compiler_static_works=yes
17333 LDFLAGS="$save_LDFLAGS"
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
17337 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
17339 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
17342 lt_prog_compiler_static=
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
17352 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
17353 if ${lt_cv_prog_compiler_c_o+:} false; then :
17354 $as_echo_n "(cached
) " >&6
17356 lt_cv_prog_compiler_c_o=no
17357 $RM -r conftest 2>/dev/null
17361 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17363 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
17364 # Insert the option either (1) after the last *FLAGS variable, or
17365 # (2) before a word containing "conftest.
", or (3) at the end.
17366 # Note that $ac_compile itself does not contain backslashes and begins
17367 # with a dollar sign (not a hyphen), so the echo should work correctly.
17368 lt_compile=`echo "$ac_compile" | $SED \
17369 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17370 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17371 -e 's:$: $lt_compiler_flag:'`
17372 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
17373 (eval "$lt_compile" 2>out/conftest.err)
17375 cat out/conftest.err >&5
17376 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17377 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17379 # The compiler can only warn and ignore the option if not recognized
17380 # So say no if there are warnings
17381 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17382 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17383 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17384 lt_cv_prog_compiler_c_o=yes
17389 # SGI C++ compiler will create directory out/ii_files/ for
17390 # template instantiation
17391 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17392 $RM out/* && rmdir out
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
17399 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
17407 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
17408 if ${lt_cv_prog_compiler_c_o+:} false; then :
17409 $as_echo_n "(cached
) " >&6
17411 lt_cv_prog_compiler_c_o=no
17412 $RM -r conftest 2>/dev/null
17416 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17418 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
17419 # Insert the option either (1) after the last *FLAGS variable, or
17420 # (2) before a word containing "conftest.
", or (3) at the end.
17421 # Note that $ac_compile itself does not contain backslashes and begins
17422 # with a dollar sign (not a hyphen), so the echo should work correctly.
17423 lt_compile=`echo "$ac_compile" | $SED \
17424 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17425 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17426 -e 's:$: $lt_compiler_flag:'`
17427 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
17428 (eval "$lt_compile" 2>out/conftest.err)
17430 cat out/conftest.err >&5
17431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17432 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17434 # The compiler can only warn and ignore the option if not recognized
17435 # So say no if there are warnings
17436 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17437 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17438 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17439 lt_cv_prog_compiler_c_o=yes
17444 # SGI C++ compiler will create directory out/ii_files/ for
17445 # template instantiation
17446 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17447 $RM out/* && rmdir out
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
17454 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
17459 hard_links="nottested
"
17460 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
17461 # do not overwrite the value of need_locks provided by the user
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
17463 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
17466 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17468 ln conftest.a conftest.b 2>&5 || hard_links=no
17469 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
17471 $as_echo "$hard_links" >&6; }
17472 if test "$hard_links" = no; then
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
17474 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
17487 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
17490 allow_undefined_flag=
17491 always_export_symbols=no
17493 archive_expsym_cmds=
17494 compiler_needs_object=no
17495 enable_shared_with_static_runtimes=no
17496 export_dynamic_flag_spec=
17497 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17498 hardcode_automatic=no
17500 hardcode_direct_absolute=no
17501 hardcode_libdir_flag_spec=
17502 hardcode_libdir_separator=
17503 hardcode_minus_L=no
17504 hardcode_shlibpath_var=unsupported
17506 link_all_deplibs=unknown
17508 module_expsym_cmds=
17509 old_archive_from_new_cmds=
17510 old_archive_from_expsyms_cmds=
17511 thread_safe_flag_spec=
17512 whole_archive_flag_spec=
17513 # include_expsyms should be a list of space-separated symbols to be *always*
17514 # included in the symbol list
17516 # exclude_expsyms can be an extended regexp of symbols to exclude
17517 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17518 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17519 # as well as any symbol that contains `d'.
17520 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17521 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17522 # platforms (ab)use it in PIC code, but their linkers get confused if
17523 # the symbol is explicitly referenced. Since portable code cannot
17524 # rely on this symbol name, it's probably fine to never include it in
17525 # preloaded symbol tables.
17526 # Exclude shared library initialization/finalization symbols.
17527 extract_expsyms_cmds=
17530 cygwin* | mingw* | pw32* | cegcc*)
17531 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17532 # When not using gcc, we currently assume that we are using
17533 # Microsoft Visual C++.
17534 if test "$GCC" != yes; then
17539 # we just hope/assume this is gcc and not c89 (= MSVC++)
17549 # On some targets, GNU ld is compatible enough with the native linker
17550 # that we're better off using the native interface for both.
17551 lt_use_gnu_ld_interface=no
17552 if test "$with_gnu_ld" = yes; then
17555 # The AIX port of GNU ld has always aspired to compatibility
17556 # with the native linker. However, as the warning in the GNU ld
17557 # block says, versions before 2.19.5* couldn't really create working
17558 # shared libraries, regardless of the interface used.
17559 case `$LD -v 2>&1` in
17560 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
17561 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
17562 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
17564 lt_use_gnu_ld_interface=yes
17569 lt_use_gnu_ld_interface=yes
17574 if test "$lt_use_gnu_ld_interface" = yes; then
17575 # If archive_cmds runs LD, not CC, wlarc should be empty
17578 # Set some defaults for GNU ld with shared library support. These
17579 # are reset later if shared libraries are not supported. Putting them
17580 # here allows them to be overridden if necessary.
17581 runpath_var=LD_RUN_PATH
17582 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17583 export_dynamic_flag_spec='${wl}--export-dynamic'
17584 # ancient GNU ld didn't support --whole-archive et. al.
17585 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
17586 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17588 whole_archive_flag_spec=
17590 supports_anon_versioning=no
17591 case `$LD -v 2>&1` in
17592 *GNU\ gold*) supports_anon_versioning=yes ;;
17593 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17594 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17595 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17596 *\ 2.11.*) ;; # other 2.11 versions
17597 *) supports_anon_versioning=yes ;;
17600 # See if GNU ld supports shared libraries.
17603 # On AIX/PPC, the GNU linker is very broken
17604 if test "$host_cpu" != ia64; then
17608 *** Warning: the GNU linker, at least up to release 2.19, is reported
17609 *** to be unable to reliably create shared libraries on AIX.
17610 *** Therefore, libtool is disabling shared libraries support. If you
17611 *** really care for shared libraries, you may want to install binutils
17612 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
17613 *** You will then need to restart the configuration process.
17622 # see comment about AmigaOS4 .so support
17623 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17624 archive_expsym_cmds=''
17627 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17628 hardcode_libdir_flag_spec
='-L$libdir'
17629 hardcode_minus_L
=yes
17635 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17636 allow_undefined_flag
=unsupported
17637 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17638 # support --undefined. This deserves some investigation. FIXME
17639 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17645 cygwin
* | mingw
* | pw32
* | cegcc
*)
17646 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
17647 # as there is no search path for DLLs.
17648 hardcode_libdir_flag_spec
='-L$libdir'
17649 export_dynamic_flag_spec
='${wl}--export-all-symbols'
17650 allow_undefined_flag
=unsupported
17651 always_export_symbols
=no
17652 enable_shared_with_static_runtimes
=yes
17653 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17654 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17656 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
17657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17658 # If the export-symbols file already is a .def file (1st line
17659 # is EXPORTS), use it as is; otherwise, prepend...
17660 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17661 cp $export_symbols $output_objdir/$soname.def;
17663 echo EXPORTS > $output_objdir/$soname.def;
17664 cat $export_symbols >> $output_objdir/$soname.def;
17666 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17674 link_all_deplibs
=yes
17679 hardcode_shlibpath_var
=no
17680 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
17681 export_dynamic_flag_spec
='${wl}-E'
17682 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17683 # Instead, shared libraries are loaded at an image base (0x10000000 by
17684 # default) and relocated if they conflict, which is a slow very memory
17685 # consuming and fragmenting process. To avoid this, we pick a random,
17686 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17687 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17688 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17689 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17692 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17694 if test "$host_os" = linux-dietlibc
; then
17695 case $cc_basename in
17696 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
17699 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
17700 && test "$tmp_diet" = no
17702 tmp_addflag
=' $pic_flag'
17703 tmp_sharedflag
='-shared'
17704 case $cc_basename,$host_cpu in
17705 pgcc
*) # Portland Group C compiler
17706 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17707 tmp_addflag
=' $pic_flag'
17709 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
17710 # Portland Group f77 and f90 compilers
17711 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17712 tmp_addflag
=' $pic_flag -Mnomain' ;;
17713 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17714 tmp_addflag
=' -i_dynamic' ;;
17715 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17716 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17717 ifc
* | ifort
*) # Intel Fortran compiler
17718 tmp_addflag
=' -nofor_main' ;;
17719 lf95
*) # Lahey Fortran 8.1
17720 whole_archive_flag_spec
=
17721 tmp_sharedflag
='--shared' ;;
17722 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17723 tmp_sharedflag
='-qmkshrobj'
17725 nvcc
*) # Cuda Compiler Driver 2.2
17726 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17727 compiler_needs_object
=yes
17730 case `$CC -V 2>&1 | sed 5q` in
17731 *Sun\ C
*) # Sun C 5.9
17732 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
17733 compiler_needs_object
=yes
17734 tmp_sharedflag
='-G' ;;
17735 *Sun\ F
*) # Sun Fortran 8.3
17736 tmp_sharedflag
='-G' ;;
17738 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17740 if test "x$supports_anon_versioning" = xyes
; then
17741 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
17742 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17743 echo "local: *; };" >> $output_objdir/$libname.ver~
17744 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17747 case $cc_basename in
17748 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
17749 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17750 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
17751 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
17752 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
17753 if test "x$supports_anon_versioning" = xyes
; then
17754 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
17755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17756 echo "local: *; };" >> $output_objdir/$libname.ver~
17757 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17767 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17768 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17771 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17772 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17777 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
17781 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17782 *** create shared libraries on Solaris systems. Therefore, libtool
17783 *** is disabling shared libraries support. We urge you to upgrade GNU
17784 *** binutils to release 2.9.1 or newer. Another option is to modify
17785 *** your PATH or compiler configuration so that the native linker is
17786 *** used, and then restart.
17789 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17790 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17791 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17797 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17798 case `$LD -v 2>&1` in
17799 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17803 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17804 *** reliably create shared libraries on SCO systems. Therefore, libtool
17805 *** is disabling shared libraries support. We urge you to upgrade GNU
17806 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17807 *** your PATH or compiler configuration so that the native linker is
17808 *** used, and then restart.
17813 # For security reasons, it is highly recommended that you always
17814 # use absolute paths for naming shared libraries, and exclude the
17815 # DT_RUNPATH tag from executables and libraries. But doing so
17816 # requires that you compile everything twice, which is a pain.
17817 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17818 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
17819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17820 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17829 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17831 hardcode_direct
=yes
17832 hardcode_shlibpath_var
=no
17836 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17837 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17838 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17845 if test "$ld_shlibs" = no
; then
17847 hardcode_libdir_flag_spec
=
17848 export_dynamic_flag_spec
=
17849 whole_archive_flag_spec
=
17852 # PORTME fill in a description of your system's linker (not GNU ld)
17855 allow_undefined_flag
=unsupported
17856 always_export_symbols
=yes
17857 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17858 # Note: this linker hardcodes the directories in LIBPATH if there
17859 # are no directories specified by -L.
17860 hardcode_minus_L
=yes
17861 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17862 # Neither direct hardcoding nor static linking is supported with a
17864 hardcode_direct
=unsupported
17869 if test "$host_cpu" = ia64
; then
17870 # On IA64, the linker does run time linking by default, so we don't
17871 # have to do anything special.
17872 aix_use_runtimelinking
=no
17873 exp_sym_flag
='-Bexport'
17876 # If we're using GNU nm, then we don't want the "-C" option.
17877 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17878 # Also, AIX nm treats weak defined symbols like other global
17879 # defined symbols, whereas GNU nm marks them as "W".
17880 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17881 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17883 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17885 aix_use_runtimelinking
=no
17887 # Test if we are trying to use run time linking or normal
17888 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17889 # need to do runtime linking.
17890 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17891 for ld_flag
in $LDFLAGS; do
17892 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17893 aix_use_runtimelinking
=yes
17900 exp_sym_flag
='-bexport'
17901 no_entry_flag
='-bnoentry'
17904 # When large executables or shared objects are built, AIX ld can
17905 # have problems creating the table of contents. If linking a library
17906 # or program results in "error TOC overflow" add -mminimal-toc to
17907 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17908 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17911 hardcode_direct
=yes
17912 hardcode_direct_absolute
=yes
17913 hardcode_libdir_separator
=':'
17914 link_all_deplibs
=yes
17915 file_list_spec
='${wl}-f,'
17917 if test "$GCC" = yes; then
17918 case $host_os in aix4.
[012]|aix4.
[012].
*)
17919 # We only want to do this on AIX 4.2 and lower, the check
17920 # below for broken collect2 doesn't work under 4.3+
17921 collect2name
=`${CC} -print-prog-name=collect2`
17922 if test -f "$collect2name" &&
17923 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
17925 # We have reworked collect2
17928 # We have old collect2
17929 hardcode_direct
=unsupported
17930 # It fails to find uninstalled libraries when the uninstalled
17931 # path is not listed in the libpath. Setting hardcode_minus_L
17932 # to unsupported forces relinking
17933 hardcode_minus_L
=yes
17934 hardcode_libdir_flag_spec
='-L$libdir'
17935 hardcode_libdir_separator
=
17939 shared_flag
='-shared'
17940 if test "$aix_use_runtimelinking" = yes; then
17941 shared_flag
="$shared_flag "'${wl}-G'
17945 if test "$host_cpu" = ia64
; then
17946 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17947 # chokes on -Wl,-G. The following line is correct:
17950 if test "$aix_use_runtimelinking" = yes; then
17951 shared_flag
='${wl}-G'
17953 shared_flag
='${wl}-bM:SRE'
17958 export_dynamic_flag_spec
='${wl}-bexpall'
17959 # It seems that -bexpall does not export symbols beginning with
17960 # underscore (_), so it is better to generate a list of symbols to export.
17961 always_export_symbols
=yes
17962 if test "$aix_use_runtimelinking" = yes; then
17963 # Warning - without using the other runtime loading flags (-brtl),
17964 # -berok will link without error, but may produce a broken library.
17965 allow_undefined_flag
='-berok'
17966 # Determine the default libpath from the value encoded in an
17967 # empty executable.
17968 if test "${lt_cv_aix_libpath+set}" = set; then
17969 aix_libpath
=$lt_cv_aix_libpath
17971 if ${lt_cv_aix_libpath_+:} false
; then :
17972 $as_echo_n "(cached) " >&6
17974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17985 if ac_fn_c_try_link
"$LINENO"; then :
17987 lt_aix_libpath_sed
='
17988 /Import File Strings/,/^$/ {
17990 s/^0 *\([^ ]*\) *$/\1/
17994 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17995 # Check for a 64-bit object if we didn't find anything.
17996 if test -z "$lt_cv_aix_libpath_"; then
17997 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18000 rm -f core conftest.err conftest.
$ac_objext \
18001 conftest
$ac_exeext conftest.
$ac_ext
18002 if test -z "$lt_cv_aix_libpath_"; then
18003 lt_cv_aix_libpath_
="/usr/lib:/lib"
18008 aix_libpath
=$lt_cv_aix_libpath_
18011 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
18012 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18014 if test "$host_cpu" = ia64
; then
18015 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
18016 allow_undefined_flag
="-z nodefs"
18017 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18019 # Determine the default libpath from the value encoded in an
18020 # empty executable.
18021 if test "${lt_cv_aix_libpath+set}" = set; then
18022 aix_libpath
=$lt_cv_aix_libpath
18024 if ${lt_cv_aix_libpath_+:} false
; then :
18025 $as_echo_n "(cached) " >&6
18027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18038 if ac_fn_c_try_link
"$LINENO"; then :
18040 lt_aix_libpath_sed
='
18041 /Import File Strings/,/^$/ {
18043 s/^0 *\([^ ]*\) *$/\1/
18047 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18048 # Check for a 64-bit object if we didn't find anything.
18049 if test -z "$lt_cv_aix_libpath_"; then
18050 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18053 rm -f core conftest.err conftest.
$ac_objext \
18054 conftest
$ac_exeext conftest.
$ac_ext
18055 if test -z "$lt_cv_aix_libpath_"; then
18056 lt_cv_aix_libpath_
="/usr/lib:/lib"
18061 aix_libpath
=$lt_cv_aix_libpath_
18064 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
18065 # Warning - without using the other run time loading flags,
18066 # -berok will link without error, but may produce a broken library.
18067 no_undefined_flag
=' ${wl}-bernotok'
18068 allow_undefined_flag
=' ${wl}-berok'
18069 if test "$with_gnu_ld" = yes; then
18070 # We only use this code for GNU lds that support --whole-archive.
18071 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18073 # Exported symbols can be pulled into shared objects from archives
18074 whole_archive_flag_spec
='$convenience'
18076 archive_cmds_need_lc
=yes
18077 # This is similar to how AIX traditionally builds its shared libraries.
18078 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18086 # see comment about AmigaOS4 .so support
18087 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18088 archive_expsym_cmds
=''
18091 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18092 hardcode_libdir_flag_spec
='-L$libdir'
18093 hardcode_minus_L
=yes
18099 export_dynamic_flag_spec
=-rdynamic
18102 cygwin
* | mingw
* | pw32
* | cegcc
*)
18103 # When not using gcc, we currently assume that we are using
18104 # Microsoft Visual C++.
18105 # hardcode_libdir_flag_spec is actually meaningless, as there is
18106 # no search path for DLLs.
18107 case $cc_basename in
18110 hardcode_libdir_flag_spec
=' '
18111 allow_undefined_flag
=unsupported
18112 always_export_symbols
=yes
18114 # Tell ltmain to make .lib files, not .a files.
18116 # Tell ltmain to make .dll files, not .so files.
18118 # FIXME: Setting linknames here is a bad hack.
18119 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18120 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18121 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
18123 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
18125 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18127 # The linker will not automatically build a static lib if we build a DLL.
18128 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
18129 enable_shared_with_static_runtimes
=yes
18130 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
18131 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18133 old_postinstall_cmds
='chmod 644 $oldlib'
18134 postlink_cmds
='lt_outputfile="@OUTPUT@"~
18135 lt_tool_outputfile="@TOOL_OUTPUT@"~
18136 case $lt_outputfile in
18139 lt_outputfile="$lt_outputfile.exe"
18140 lt_tool_outputfile="$lt_tool_outputfile.exe"
18143 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18144 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18145 $RM "$lt_outputfile.manifest";
18149 # Assume MSVC wrapper
18150 hardcode_libdir_flag_spec
=' '
18151 allow_undefined_flag
=unsupported
18152 # Tell ltmain to make .lib files, not .a files.
18154 # Tell ltmain to make .dll files, not .so files.
18156 # FIXME: Setting linknames here is a bad hack.
18157 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18158 # The linker will automatically build a .lib file if we build a DLL.
18159 old_archive_from_new_cmds
='true'
18160 # FIXME: Should let the user specify the lib program.
18161 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18162 enable_shared_with_static_runtimes
=yes
18167 darwin
* | rhapsody
*)
18170 archive_cmds_need_lc
=no
18172 hardcode_automatic
=yes
18173 hardcode_shlibpath_var
=unsupported
18174 if test "$lt_cv_ld_force_load" = "yes"; then
18175 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
18178 whole_archive_flag_spec
=''
18180 link_all_deplibs
=yes
18181 allow_undefined_flag
="$_lt_dar_allow_undefined"
18182 case $cc_basename in
18183 ifort
*) _lt_dar_can_shared
=yes ;;
18184 *) _lt_dar_can_shared
=$GCC ;;
18186 if test "$_lt_dar_can_shared" = "yes"; then
18187 output_verbose_link_cmd
=func_echo_all
18188 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18189 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18190 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18191 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18200 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18201 hardcode_libdir_flag_spec
='-L$libdir'
18202 hardcode_shlibpath_var
=no
18205 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18206 # support. Future versions do this automatically, but an explicit c++rt0.o
18207 # does not break anything, and helps significantly (at the cost of a little
18210 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18211 hardcode_libdir_flag_spec
='-R$libdir'
18212 hardcode_direct
=yes
18213 hardcode_shlibpath_var
=no
18216 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18218 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18219 hardcode_direct
=yes
18220 hardcode_minus_L
=yes
18221 hardcode_shlibpath_var
=no
18224 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18225 freebsd
* | dragonfly
*)
18226 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18227 hardcode_libdir_flag_spec
='-R$libdir'
18228 hardcode_direct
=yes
18229 hardcode_shlibpath_var
=no
18233 if test "$GCC" = yes; then
18234 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18236 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18238 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
18239 hardcode_libdir_separator
=:
18240 hardcode_direct
=yes
18242 # hardcode_minus_L: Not really in the search PATH,
18243 # but as the default location of the library.
18244 hardcode_minus_L
=yes
18245 export_dynamic_flag_spec
='${wl}-E'
18249 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18250 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18252 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18254 if test "$with_gnu_ld" = no
; then
18255 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
18256 hardcode_libdir_separator
=:
18257 hardcode_direct
=yes
18258 hardcode_direct_absolute
=yes
18259 export_dynamic_flag_spec
='${wl}-E'
18260 # hardcode_minus_L: Not really in the search PATH,
18261 # but as the default location of the library.
18262 hardcode_minus_L
=yes
18267 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18270 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18273 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18276 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18282 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18285 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18289 # Older versions of the 11.00 compiler do not understand -b yet
18290 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
18292 $as_echo_n "checking if $CC understands -b... " >&6; }
18293 if ${lt_cv_prog_compiler__b+:} false
; then :
18294 $as_echo_n "(cached) " >&6
18296 lt_cv_prog_compiler__b
=no
18297 save_LDFLAGS
="$LDFLAGS"
18298 LDFLAGS
="$LDFLAGS -b"
18299 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
18300 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
18301 # The linker can only warn and ignore the option if not recognized
18302 # So say no if there are warnings
18303 if test -s conftest.err
; then
18304 # Append any errors to the config.log.
18305 cat conftest.err
1>&5
18306 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
18307 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
18308 if diff conftest.exp conftest.er2
>/dev
/null
; then
18309 lt_cv_prog_compiler__b
=yes
18312 lt_cv_prog_compiler__b
=yes
18316 LDFLAGS
="$save_LDFLAGS"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
18320 $as_echo "$lt_cv_prog_compiler__b" >&6; }
18322 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
18323 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18325 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18331 if test "$with_gnu_ld" = no
; then
18332 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
18333 hardcode_libdir_separator
=:
18338 hardcode_shlibpath_var
=no
18341 hardcode_direct
=yes
18342 hardcode_direct_absolute
=yes
18343 export_dynamic_flag_spec
='${wl}-E'
18345 # hardcode_minus_L: Not really in the search PATH,
18346 # but as the default location of the library.
18347 hardcode_minus_L
=yes
18353 irix5
* | irix6
* | nonstopux
*)
18354 if test "$GCC" = yes; then
18355 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18356 # Try to use the -exported_symbol ld option, if it does not
18357 # work, assume that -exports_file does not work either and
18358 # implicitly export all symbols.
18359 # This should be the same for all languages, so no per-tag cache variable.
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
18361 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
18362 if ${lt_cv_irix_exported_symbol+:} false
; then :
18363 $as_echo_n "(cached) " >&6
18365 save_LDFLAGS
="$LDFLAGS"
18366 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18369 int foo (void) { return 0; }
18371 if ac_fn_c_try_link
"$LINENO"; then :
18372 lt_cv_irix_exported_symbol
=yes
18374 lt_cv_irix_exported_symbol
=no
18376 rm -f core conftest.err conftest.
$ac_objext \
18377 conftest
$ac_exeext conftest.
$ac_ext
18378 LDFLAGS
="$save_LDFLAGS"
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
18381 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
18382 if test "$lt_cv_irix_exported_symbol" = yes; then
18383 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
18386 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18387 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
18389 archive_cmds_need_lc
='no'
18390 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
18391 hardcode_libdir_separator
=:
18393 link_all_deplibs
=yes
18397 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18398 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18400 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18402 hardcode_libdir_flag_spec
='-R$libdir'
18403 hardcode_direct
=yes
18404 hardcode_shlibpath_var
=no
18408 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18409 hardcode_direct
=yes
18410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
18411 hardcode_libdir_separator
=:
18412 hardcode_shlibpath_var
=no
18419 if test -f /usr
/libexec
/ld.so
; then
18420 hardcode_direct
=yes
18421 hardcode_shlibpath_var
=no
18422 hardcode_direct_absolute
=yes
18423 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18424 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18425 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18426 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
18427 export_dynamic_flag_spec
='${wl}-E'
18430 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18431 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18432 hardcode_libdir_flag_spec
='-R$libdir'
18435 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18436 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
18446 hardcode_libdir_flag_spec
='-L$libdir'
18447 hardcode_minus_L
=yes
18448 allow_undefined_flag
=unsupported
18449 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18450 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18454 if test "$GCC" = yes; then
18455 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
18456 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18458 allow_undefined_flag
=' -expect_unresolved \*'
18459 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18461 archive_cmds_need_lc
='no'
18462 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
18463 hardcode_libdir_separator
=:
18466 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18467 if test "$GCC" = yes; then
18468 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
18469 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
18472 allow_undefined_flag
=' -expect_unresolved \*'
18473 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18474 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
18475 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
18477 # Both c and cxx compiler support -rpath directly
18478 hardcode_libdir_flag_spec
='-rpath $libdir'
18480 archive_cmds_need_lc
='no'
18481 hardcode_libdir_separator
=:
18485 no_undefined_flag
=' -z defs'
18486 if test "$GCC" = yes; then
18488 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18489 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18490 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18492 case `$CC -V 2>&1` in
18495 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18496 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18497 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18501 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18502 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18503 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18507 hardcode_libdir_flag_spec
='-R$libdir'
18508 hardcode_shlibpath_var
=no
18510 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18512 # The compiler driver will combine and reorder linker options,
18513 # but understands `-z linker_flag'. GCC discards it without `$wl',
18514 # but is careful enough not to reorder.
18515 # Supported since Solaris 2.6 (maybe 2.5.1?)
18516 if test "$GCC" = yes; then
18517 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18519 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
18523 link_all_deplibs
=yes
18527 if test "x$host_vendor" = xsequent
; then
18528 # Use $CC to link under sequent, because it throws in some extra .o
18529 # files that make .init and .fini sections work.
18530 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18532 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18534 hardcode_libdir_flag_spec
='-L$libdir'
18535 hardcode_direct
=yes
18536 hardcode_minus_L
=yes
18537 hardcode_shlibpath_var
=no
18541 case $host_vendor in
18543 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18544 hardcode_direct
=yes # is this really true???
18547 ## LD is ld it makes a PLAMLIB
18548 ## CC just makes a GrossModule.
18549 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18550 reload_cmds
='$CC -r -o $output$reload_objs'
18554 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18555 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
18558 runpath_var
='LD_RUN_PATH'
18559 hardcode_shlibpath_var
=no
18563 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18564 hardcode_shlibpath_var
=no
18565 export_dynamic_flag_spec
='-Bexport'
18569 if test -d /usr
/nec
; then
18570 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18571 hardcode_shlibpath_var
=no
18572 runpath_var
=LD_RUN_PATH
18573 hardcode_runpath_var
=yes
18578 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18579 no_undefined_flag
='${wl}-z,text'
18580 archive_cmds_need_lc
=no
18581 hardcode_shlibpath_var
=no
18582 runpath_var
='LD_RUN_PATH'
18584 if test "$GCC" = yes; then
18585 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18586 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18588 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18589 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18593 sysv5
* | sco3.2v5
* | sco5v6
*)
18594 # Note: We can NOT use -z defs as we might desire, because we do not
18595 # link with -lc, and that would cause any symbols used from libc to
18596 # always be unresolved, which means just about no library would
18597 # ever link correctly. If we're not using GNU ld we use -z text
18598 # though, which does catch some bad symbols but isn't as heavy-handed
18600 no_undefined_flag
='${wl}-z,text'
18601 allow_undefined_flag
='${wl}-z,nodefs'
18602 archive_cmds_need_lc
=no
18603 hardcode_shlibpath_var
=no
18604 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
18605 hardcode_libdir_separator
=':'
18606 link_all_deplibs
=yes
18607 export_dynamic_flag_spec
='${wl}-Bexport'
18608 runpath_var
='LD_RUN_PATH'
18610 if test "$GCC" = yes; then
18611 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18612 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18614 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18615 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18620 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18621 hardcode_libdir_flag_spec
='-L$libdir'
18622 hardcode_shlibpath_var
=no
18630 if test x
$host_vendor = xsni
; then
18632 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18633 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
18640 $as_echo "$ld_shlibs" >&6; }
18641 test "$ld_shlibs" = no
&& can_build_shared
=no
18643 with_gnu_ld
=$with_gnu_ld
18660 # Do we need to explicitly link libc?
18662 case "x$archive_cmds_need_lc" in
18664 # Assume -lc should be added
18665 archive_cmds_need_lc
=yes
18667 if test "$enable_shared" = yes && test "$GCC" = yes; then
18668 case $archive_cmds in
18670 # FIXME: we may have to deal with multi-command sequences.
18673 # Test whether the compiler implicitly links with -lc since on some
18674 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18675 # to ld, don't add -lc before -lgcc.
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18677 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18678 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
18679 $as_echo_n "(cached) " >&6
18682 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18685 (eval $ac_compile) 2>&5
18687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18688 test $ac_status = 0; } 2>conftest.err
; then
18691 libobjs
=conftest.
$ac_objext
18693 wl
=$lt_prog_compiler_wl
18694 pic_flag
=$lt_prog_compiler_pic
18700 lt_save_allow_undefined_flag
=$allow_undefined_flag
18701 allow_undefined_flag
=
18702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18703 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18706 test $ac_status = 0; }
18708 lt_cv_archive_cmds_need_lc
=no
18710 lt_cv_archive_cmds_need_lc
=yes
18712 allow_undefined_flag
=$lt_save_allow_undefined_flag
18714 cat conftest.err
1>&5
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
18720 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
18721 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18880 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18882 if test "$GCC" = yes; then
18884 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
18885 *) lt_awk_arg
="/^libraries:/" ;;
18888 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
18889 *) lt_sed_strip_eq
="s,=/,/,g" ;;
18891 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
18892 case $lt_search_path_spec in
18894 # if the path contains ";" then we assume it to be the separator
18895 # otherwise default to the standard path separator (i.e. ":") - it is
18896 # assumed that no part of a normal pathname contains ";" but that should
18897 # okay in the real world where ";" in dirpaths is itself problematic.
18898 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
18901 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
18904 # Ok, now we have the path, separated by spaces, we can step through it
18905 # and add multilib dir if necessary.
18906 lt_tmp_lt_search_path_spec
=
18907 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
18908 for lt_sys_path
in $lt_search_path_spec; do
18909 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
18910 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
18912 test -d "$lt_sys_path" && \
18913 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
18916 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
18917 BEGIN {RS=" "; FS="/|\n";} {
18920 for (lt_i = NF; lt_i > 0; lt_i--) {
18921 if ($lt_i != "" && $lt_i != ".") {
18922 if ($lt_i == "..") {
18925 if (lt_count == 0) {
18926 lt_foo="/" $lt_i lt_foo;
18933 if (lt_foo != "") { lt_freq[lt_foo]++; }
18934 if (lt_freq[lt_foo] == 1) { print lt_foo; }
18936 # AWK program above erroneously prepends '/' to C:/dos/paths
18939 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
18940 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
18942 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
18944 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18946 library_names_spec
=
18947 libname_spec
='lib$name'
18951 postuninstall_cmds
=
18955 shlibpath_overrides_runpath
=unknown
18957 dynamic_linker
="$host_os ld.so"
18958 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18959 need_lib_prefix
=unknown
18960 hardcode_into_libs
=no
18962 # when you set need_version to no, make sure it does not cause -set_version
18963 # flags to be left without arguments
18964 need_version
=unknown
18968 version_type
=linux
# correct to gnu/linux during the next big refactor
18969 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18970 shlibpath_var
=LIBPATH
18972 # AIX 3 has no versioning support, so we append a major version to the name.
18973 soname_spec
='${libname}${release}${shared_ext}$major'
18977 version_type
=linux
# correct to gnu/linux during the next big refactor
18980 hardcode_into_libs
=yes
18981 if test "$host_cpu" = ia64
; then
18982 # AIX 5 supports IA64
18983 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18984 shlibpath_var
=LD_LIBRARY_PATH
18986 # With GCC up to 2.95.x, collect2 would create an import file
18987 # for dependence libraries. The import file would start with
18988 # the line `#! .'. This would cause the generated library to
18989 # depend on `.', always an invalid library. This was fixed in
18990 # development snapshots of GCC prior to 3.0.
18992 aix4 | aix4.
[01] | aix4.
[01].
*)
18993 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18995 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
18998 can_build_shared
=no
19002 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19003 # soname into executable. Probably we can add versioning support to
19004 # collect2, so additional links can be useful in future.
19005 if test "$aix_use_runtimelinking" = yes; then
19006 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19007 # instead of lib<name>.a to let people know that these are not
19008 # typical AIX shared libraries.
19009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19011 # We preserve .a as extension for shared libraries through AIX4.2
19012 # and later when we are not doing run time linking.
19013 library_names_spec
='${libname}${release}.a $libname.a'
19014 soname_spec
='${libname}${release}${shared_ext}$major'
19016 shlibpath_var
=LIBPATH
19023 # Since July 2007 AmigaOS4 officially supports .so libraries.
19024 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19028 library_names_spec
='$libname.ixlibrary $libname.a'
19029 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19030 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19036 library_names_spec
='${libname}${shared_ext}'
19037 dynamic_linker
="$host_os ld.so"
19038 shlibpath_var
=LIBRARY_PATH
19042 version_type
=linux
# correct to gnu/linux during the next big refactor
19044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19045 soname_spec
='${libname}${release}${shared_ext}$major'
19046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
19047 shlibpath_var
=LD_LIBRARY_PATH
19048 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19049 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
19050 # the default ld.so.conf also contains /usr/contrib/lib and
19051 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19052 # libtool to hard-code these into programs
19055 cygwin
* | mingw
* | pw32
* | cegcc
*)
19056 version_type
=windows
19061 case $GCC,$cc_basename in
19064 library_names_spec
='$libname.dll.a'
19065 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19066 postinstall_cmds
='base_file=`basename \${file}`~
19067 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19068 dldir=$destdir/`dirname \$dlpath`~
19069 test -d \$dldir || mkdir -p \$dldir~
19070 $install_prog $dir/$dlname \$dldir/$dlname~
19071 chmod a+x \$dldir/$dlname~
19072 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19073 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19075 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19076 dlpath=$dir/\$dldll~
19078 shlibpath_overrides_runpath
=yes
19082 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19083 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19085 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
19088 # MinGW DLLs use traditional 'lib' prefix
19089 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19092 # pw32 DLLs use 'pw' prefix rather than 'lib'
19093 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19096 dynamic_linker
='Win32 ld.exe'
19101 libname_spec
='$name'
19102 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19103 library_names_spec
='${libname}.dll.lib'
19107 sys_lib_search_path_spec
=
19110 for lt_path
in $LIB
19113 # Let DOS variable expansion print the short 8.3 style file name.
19114 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19115 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
19118 # Convert to MSYS style.
19119 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19122 # Convert to unix form, then to dos form, then back to unix form
19123 # but this time dos style (no spaces!) so that the unix form looks
19124 # like /cygdrive/c/PROGRA~1:/cygdr...
19125 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
19126 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19127 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19130 sys_lib_search_path_spec
="$LIB"
19131 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
19132 # It is most probably a Windows format PATH.
19133 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19135 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19137 # FIXME: find the short name or the path components, as spaces are
19138 # common. (e.g. "Program Files" -> "PROGRA~1")
19142 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19143 postinstall_cmds
='base_file=`basename \${file}`~
19144 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19145 dldir=$destdir/`dirname \$dlpath`~
19146 test -d \$dldir || mkdir -p \$dldir~
19147 $install_prog $dir/$dlname \$dldir/$dlname'
19148 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19149 dlpath=$dir/\$dldll~
19151 shlibpath_overrides_runpath
=yes
19152 dynamic_linker
='Win32 link.exe'
19156 # Assume MSVC wrapper
19157 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19158 dynamic_linker
='Win32 ld.exe'
19161 # FIXME: first we should search . and the directory the executable is in
19165 darwin
* | rhapsody
*)
19166 dynamic_linker
="$host_os dyld"
19167 version_type
=darwin
19170 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19171 soname_spec
='${libname}${release}${major}$shared_ext'
19172 shlibpath_overrides_runpath
=yes
19173 shlibpath_var
=DYLD_LIBRARY_PATH
19174 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19176 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
19177 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19181 version_type
=linux
# correct to gnu/linux during the next big refactor
19184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19185 soname_spec
='${libname}${release}${shared_ext}$major'
19186 shlibpath_var
=LD_LIBRARY_PATH
19189 freebsd
* | dragonfly
*)
19190 # DragonFly does not have aout. When/if they implement a new
19191 # versioning mechanism, adjust this.
19192 if test -x /usr
/bin
/objformat
; then
19193 objformat
=`/usr/bin/objformat`
19196 freebsd
[23].
*) objformat
=aout
;;
19197 *) objformat
=elf
;;
19200 version_type
=freebsd-
$objformat
19201 case $version_type in
19203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19208 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19212 shlibpath_var
=LD_LIBRARY_PATH
19215 shlibpath_overrides_runpath
=yes
19217 freebsd3.
[01]* | freebsdelf3.
[01]*)
19218 shlibpath_overrides_runpath
=yes
19219 hardcode_into_libs
=yes
19221 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19222 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19223 shlibpath_overrides_runpath
=no
19224 hardcode_into_libs
=yes
19226 *) # from 4.6 on, and DragonFly
19227 shlibpath_overrides_runpath
=yes
19228 hardcode_into_libs
=yes
19234 version_type
=linux
# correct to gnu/linux during the next big refactor
19237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19238 soname_spec
='${libname}${release}${shared_ext}$major'
19239 shlibpath_var
=LD_LIBRARY_PATH
19240 shlibpath_overrides_runpath
=no
19241 hardcode_into_libs
=yes
19245 version_type
=linux
# correct to gnu/linux during the next big refactor
19248 dynamic_linker
="$host_os runtime_loader"
19249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19250 soname_spec
='${libname}${release}${shared_ext}$major'
19251 shlibpath_var
=LIBRARY_PATH
19252 shlibpath_overrides_runpath
=yes
19253 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
19254 hardcode_into_libs
=yes
19257 hpux9
* | hpux10
* | hpux11
*)
19258 # Give a soname corresponding to the major version so that dld.sl refuses to
19259 # link against other versions.
19266 hardcode_into_libs
=yes
19267 dynamic_linker
="$host_os dld.so"
19268 shlibpath_var
=LD_LIBRARY_PATH
19269 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19271 soname_spec
='${libname}${release}${shared_ext}$major'
19272 if test "X$HPUX_IA64_MODE" = X32
; then
19273 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19275 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19277 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19281 hardcode_into_libs
=yes
19282 dynamic_linker
="$host_os dld.sl"
19283 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19284 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19286 soname_spec
='${libname}${release}${shared_ext}$major'
19287 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19288 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19292 dynamic_linker
="$host_os dld.sl"
19293 shlibpath_var
=SHLIB_PATH
19294 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19296 soname_spec
='${libname}${release}${shared_ext}$major'
19299 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
19300 postinstall_cmds
='chmod 555 $lib'
19301 # or fails outright, so override atomically:
19302 install_override_mode
=555
19306 version_type
=linux
# correct to gnu/linux during the next big refactor
19309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19310 soname_spec
='${libname}${release}${shared_ext}$major'
19311 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19312 shlibpath_var
=LD_LIBRARY_PATH
19313 shlibpath_overrides_runpath
=no
19314 hardcode_into_libs
=yes
19317 irix5
* | irix6
* | nonstopux
*)
19319 nonstopux
*) version_type
=nonstopux
;;
19321 if test "$lt_cv_prog_gnu_ld" = yes; then
19322 version_type
=linux
# correct to gnu/linux during the next big refactor
19329 soname_spec
='${libname}${release}${shared_ext}$major'
19330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19332 irix5
* | nonstopux
*)
19333 libsuff
= shlibsuff
=
19336 case $LD in # libtool.m4 will add one of these switches to LD
19337 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19338 libsuff
= shlibsuff
= libmagic
=32-bit;;
19339 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19340 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19341 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19342 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19343 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19347 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19348 shlibpath_overrides_runpath
=no
19349 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19350 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19351 hardcode_into_libs
=yes
19354 # No shared lib support for Linux oldld, aout, or coff.
19355 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19359 # This must be glibc/ELF.
19360 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
19361 version_type
=linux
# correct to gnu/linux during the next big refactor
19364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19365 soname_spec
='${libname}${release}${shared_ext}$major'
19366 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19367 shlibpath_var
=LD_LIBRARY_PATH
19368 shlibpath_overrides_runpath
=no
19370 # Some binutils ld are patched to set DT_RUNPATH
19371 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
19372 $as_echo_n "(cached) " >&6
19374 lt_cv_shlibpath_overrides_runpath
=no
19375 save_LDFLAGS
=$LDFLAGS
19376 save_libdir
=$libdir
19377 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
19378 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
19379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19390 if ac_fn_c_try_link
"$LINENO"; then :
19391 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
19392 lt_cv_shlibpath_overrides_runpath
=yes
19395 rm -f core conftest.err conftest.
$ac_objext \
19396 conftest
$ac_exeext conftest.
$ac_ext
19397 LDFLAGS
=$save_LDFLAGS
19398 libdir
=$save_libdir
19402 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
19404 # This implies no fast_install, which is unacceptable.
19405 # Some rework will be needed to allow for fast_install
19406 # before this can be enabled.
19407 hardcode_into_libs
=yes
19409 # Add ABI-specific directories to the system library path.
19410 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
19412 # Append ld.so.conf contents to the search path
19413 if test -f /etc
/ld.so.conf
; then
19414 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
19415 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19419 # We used to test for /lib/ld.so.1 and disable shared libraries on
19420 # powerpc, because MkLinux only supported shared libraries with the
19421 # GNU dynamic linker. Since this was broken with cross compilers,
19422 # most powerpc-linux boxes support dynamic linking these days and
19423 # people can always --disable-shared, the test was removed, and we
19424 # assume the GNU/Linux dynamic linker is in use.
19425 dynamic_linker
='GNU/Linux ld.so'
19432 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
19433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19435 dynamic_linker
='NetBSD (a.out) ld.so'
19437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19438 soname_spec
='${libname}${release}${shared_ext}$major'
19439 dynamic_linker
='NetBSD ld.elf_so'
19441 shlibpath_var
=LD_LIBRARY_PATH
19442 shlibpath_overrides_runpath
=yes
19443 hardcode_into_libs
=yes
19447 version_type
=linux
# correct to gnu/linux during the next big refactor
19448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19449 shlibpath_var
=LD_LIBRARY_PATH
19450 shlibpath_overrides_runpath
=yes
19457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19458 soname_spec
='${libname}${release}${shared_ext}$major'
19459 shlibpath_var
=LD_LIBRARY_PATH
19460 shlibpath_overrides_runpath
=no
19461 hardcode_into_libs
=yes
19462 dynamic_linker
='ldqnx.so'
19467 sys_lib_dlsearch_path_spec
="/usr/lib"
19469 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19471 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19472 *) need_version
=no
;;
19474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19475 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19476 shlibpath_var
=LD_LIBRARY_PATH
19477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19479 openbsd2.
[89] | openbsd2.
[89].
*)
19480 shlibpath_overrides_runpath
=no
19483 shlibpath_overrides_runpath
=yes
19487 shlibpath_overrides_runpath
=yes
19492 libname_spec
='$name'
19495 library_names_spec
='$libname${shared_ext} $libname.a'
19496 dynamic_linker
='OS/2 ld.exe'
19497 shlibpath_var
=LIBPATH
19500 osf3
* | osf4
* | osf5
*)
19504 soname_spec
='${libname}${release}${shared_ext}$major'
19505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19506 shlibpath_var
=LD_LIBRARY_PATH
19507 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19508 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19516 version_type
=linux
# correct to gnu/linux during the next big refactor
19519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19520 soname_spec
='${libname}${release}${shared_ext}$major'
19521 shlibpath_var
=LD_LIBRARY_PATH
19522 shlibpath_overrides_runpath
=yes
19523 hardcode_into_libs
=yes
19524 # ldd complains unless libraries are executable
19525 postinstall_cmds
='chmod +x $lib'
19530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19531 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19532 shlibpath_var
=LD_LIBRARY_PATH
19533 shlibpath_overrides_runpath
=yes
19534 if test "$with_gnu_ld" = yes; then
19541 version_type
=linux
# correct to gnu/linux during the next big refactor
19542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19543 soname_spec
='${libname}${release}${shared_ext}$major'
19544 shlibpath_var
=LD_LIBRARY_PATH
19545 case $host_vendor in
19547 shlibpath_overrides_runpath
=no
19549 runpath_var
=LD_RUN_PATH
19557 shlibpath_overrides_runpath
=no
19558 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19564 if test -d /usr
/nec
;then
19565 version_type
=linux
# correct to gnu/linux during the next big refactor
19566 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19567 soname_spec
='$libname${shared_ext}.$major'
19568 shlibpath_var
=LD_LIBRARY_PATH
19572 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19573 version_type
=freebsd-elf
19576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19577 soname_spec
='${libname}${release}${shared_ext}$major'
19578 shlibpath_var
=LD_LIBRARY_PATH
19579 shlibpath_overrides_runpath
=yes
19580 hardcode_into_libs
=yes
19581 if test "$with_gnu_ld" = yes; then
19582 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19584 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19587 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19591 sys_lib_dlsearch_path_spec
='/usr/lib'
19595 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
19596 version_type
=linux
# correct to gnu/linux during the next big refactor
19599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19600 shlibpath_var
=LD_LIBRARY_PATH
19601 shlibpath_overrides_runpath
=no
19602 hardcode_into_libs
=yes
19606 version_type
=linux
# correct to gnu/linux during the next big refactor
19607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19608 soname_spec
='${libname}${release}${shared_ext}$major'
19609 shlibpath_var
=LD_LIBRARY_PATH
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
19617 $as_echo "$dynamic_linker" >&6; }
19618 test "$dynamic_linker" = no
&& can_build_shared
=no
19620 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19621 if test "$GCC" = yes; then
19622 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19625 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19626 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19628 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19629 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19724 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19726 if test -n "$hardcode_libdir_flag_spec" ||
19727 test -n "$runpath_var" ||
19728 test "X$hardcode_automatic" = "Xyes" ; then
19730 # We can hardcode non-existent directories.
19731 if test "$hardcode_direct" != no
&&
19732 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19733 # have to relink, otherwise we might link with an installed library
19734 # when we should be linking with a yet-to-be-installed one
19735 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
19736 test "$hardcode_minus_L" != no
; then
19737 # Linking always hardcodes the temporary library directory.
19738 hardcode_action
=relink
19740 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19741 hardcode_action
=immediate
19744 # We cannot hardcode anything, or else we can only hardcode existing
19746 hardcode_action
=unsupported
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
19749 $as_echo "$hardcode_action" >&6; }
19751 if test "$hardcode_action" = relink ||
19752 test "$inherit_rpath" = yes; then
19753 # Fast installation is not supported
19754 enable_fast_install
=no
19755 elif test "$shlibpath_overrides_runpath" = yes ||
19756 test "$enable_shared" = no
; then
19757 # Fast installation is not necessary
19758 enable_fast_install
=needless
19766 if test "x$enable_dlopen" != xyes
; then
19767 enable_dlopen
=unknown
19768 enable_dlopen_self
=unknown
19769 enable_dlopen_self_static
=unknown
19776 lt_cv_dlopen
="load_add_on"
19778 lt_cv_dlopen_self
=yes
19781 mingw
* | pw32
* | cegcc
*)
19782 lt_cv_dlopen
="LoadLibrary"
19787 lt_cv_dlopen
="dlopen"
19792 # if libdl is installed we need to link against it
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19794 $as_echo_n "checking for dlopen in -ldl... " >&6; }
19795 if ${ac_cv_lib_dl_dlopen+:} false
; then :
19796 $as_echo_n "(cached) " >&6
19798 ac_check_lib_save_LIBS
=$LIBS
19800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19803 /* Override any GCC internal prototype to avoid an error.
19804 Use char because int might match the return type of a GCC
19805 builtin and then its argument prototype would still apply. */
19818 if ac_fn_c_try_link
"$LINENO"; then :
19819 ac_cv_lib_dl_dlopen
=yes
19821 ac_cv_lib_dl_dlopen
=no
19823 rm -f core conftest.err conftest.
$ac_objext \
19824 conftest
$ac_exeext conftest.
$ac_ext
19825 LIBS
=$ac_check_lib_save_LIBS
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19828 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19829 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
19830 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
19833 lt_cv_dlopen
="dyld"
19835 lt_cv_dlopen_self
=yes
19842 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
19843 if test "x$ac_cv_func_shl_load" = xyes
; then :
19844 lt_cv_dlopen
="shl_load"
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
19847 $as_echo_n "checking for shl_load in -ldld... " >&6; }
19848 if ${ac_cv_lib_dld_shl_load+:} false
; then :
19849 $as_echo_n "(cached) " >&6
19851 ac_check_lib_save_LIBS
=$LIBS
19853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19856 /* Override any GCC internal prototype to avoid an error.
19857 Use char because int might match the return type of a GCC
19858 builtin and then its argument prototype would still apply. */
19866 return shl_load ();
19871 if ac_fn_c_try_link
"$LINENO"; then :
19872 ac_cv_lib_dld_shl_load
=yes
19874 ac_cv_lib_dld_shl_load
=no
19876 rm -f core conftest.err conftest.
$ac_objext \
19877 conftest
$ac_exeext conftest.
$ac_ext
19878 LIBS
=$ac_check_lib_save_LIBS
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
19881 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
19882 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
19883 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
19885 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
19886 if test "x$ac_cv_func_dlopen" = xyes
; then :
19887 lt_cv_dlopen
="dlopen"
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
19891 if ${ac_cv_lib_dl_dlopen+:} false
; then :
19892 $as_echo_n "(cached) " >&6
19894 ac_check_lib_save_LIBS
=$LIBS
19896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19899 /* Override any GCC internal prototype to avoid an error.
19900 Use char because int might match the return type of a GCC
19901 builtin and then its argument prototype would still apply. */
19914 if ac_fn_c_try_link
"$LINENO"; then :
19915 ac_cv_lib_dl_dlopen
=yes
19917 ac_cv_lib_dl_dlopen
=no
19919 rm -f core conftest.err conftest.
$ac_objext \
19920 conftest
$ac_exeext conftest.
$ac_ext
19921 LIBS
=$ac_check_lib_save_LIBS
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19924 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
19925 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
19926 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
19929 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
19930 if ${ac_cv_lib_svld_dlopen+:} false
; then :
19931 $as_echo_n "(cached) " >&6
19933 ac_check_lib_save_LIBS
=$LIBS
19934 LIBS
="-lsvld $LIBS"
19935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19936 /* end confdefs.h. */
19938 /* Override any GCC internal prototype to avoid an error.
19939 Use char because int might match the return type of a GCC
19940 builtin and then its argument prototype would still apply. */
19953 if ac_fn_c_try_link
"$LINENO"; then :
19954 ac_cv_lib_svld_dlopen
=yes
19956 ac_cv_lib_svld_dlopen
=no
19958 rm -f core conftest.err conftest.
$ac_objext \
19959 conftest
$ac_exeext conftest.
$ac_ext
19960 LIBS
=$ac_check_lib_save_LIBS
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
19963 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
19964 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
19965 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
19968 $as_echo_n "checking for dld_link in -ldld... " >&6; }
19969 if ${ac_cv_lib_dld_dld_link+:} false
; then :
19970 $as_echo_n "(cached) " >&6
19972 ac_check_lib_save_LIBS
=$LIBS
19974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h. */
19977 /* Override any GCC internal prototype to avoid an error.
19978 Use char because int might match the return type of a GCC
19979 builtin and then its argument prototype would still apply. */
19987 return dld_link ();
19992 if ac_fn_c_try_link
"$LINENO"; then :
19993 ac_cv_lib_dld_dld_link
=yes
19995 ac_cv_lib_dld_dld_link
=no
19997 rm -f core conftest.err conftest.
$ac_objext \
19998 conftest
$ac_exeext conftest.
$ac_ext
19999 LIBS
=$ac_check_lib_save_LIBS
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
20002 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
20003 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
20004 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
20025 if test "x$lt_cv_dlopen" != xno
; then
20031 case $lt_cv_dlopen in
20033 save_CPPFLAGS
="$CPPFLAGS"
20034 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
20036 save_LDFLAGS
="$LDFLAGS"
20037 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
20040 LIBS
="$lt_cv_dlopen_libs $LIBS"
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
20043 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
20044 if ${lt_cv_dlopen_self+:} false
; then :
20045 $as_echo_n "(cached) " >&6
20047 if test "$cross_compiling" = yes; then :
20048 lt_cv_dlopen_self
=cross
20050 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20051 lt_status
=$lt_dlunknown
20052 cat > conftest.
$ac_ext <<_LT_EOF
20053 #line $LINENO "configure"
20054 #include "confdefs.h"
20063 # define LT_DLGLOBAL RTLD_GLOBAL
20066 # define LT_DLGLOBAL DL_GLOBAL
20068 # define LT_DLGLOBAL 0
20072 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20073 find out it does not work in some platform. */
20074 #ifndef LT_DLLAZY_OR_NOW
20076 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20079 # define LT_DLLAZY_OR_NOW DL_LAZY
20082 # define LT_DLLAZY_OR_NOW RTLD_NOW
20085 # define LT_DLLAZY_OR_NOW DL_NOW
20087 # define LT_DLLAZY_OR_NOW 0
20094 /* When -fvisbility=hidden is used, assume the code has been annotated
20095 correspondingly for the symbols needed. */
20096 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
20097 int fnord () __attribute__((visibility("default")));
20100 int fnord () { return 42; }
20103 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20104 int status = $lt_dlunknown;
20108 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20111 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20112 else puts (dlerror ());
20114 /* dlclose (self); */
20122 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
20123 (eval $ac_link) 2>&5
20125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20126 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20127 (.
/conftest
; exit; ) >&5 2>/dev
/null
20129 case x
$lt_status in
20130 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
20131 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
20132 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
20135 # compilation failed
20136 lt_cv_dlopen_self
=no
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
20144 $as_echo "$lt_cv_dlopen_self" >&6; }
20146 if test "x$lt_cv_dlopen_self" = xyes
; then
20147 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
20149 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
20150 if ${lt_cv_dlopen_self_static+:} false
; then :
20151 $as_echo_n "(cached) " >&6
20153 if test "$cross_compiling" = yes; then :
20154 lt_cv_dlopen_self_static
=cross
20156 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20157 lt_status
=$lt_dlunknown
20158 cat > conftest.
$ac_ext <<_LT_EOF
20159 #line $LINENO "configure"
20160 #include "confdefs.h"
20169 # define LT_DLGLOBAL RTLD_GLOBAL
20172 # define LT_DLGLOBAL DL_GLOBAL
20174 # define LT_DLGLOBAL 0
20178 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20179 find out it does not work in some platform. */
20180 #ifndef LT_DLLAZY_OR_NOW
20182 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20185 # define LT_DLLAZY_OR_NOW DL_LAZY
20188 # define LT_DLLAZY_OR_NOW RTLD_NOW
20191 # define LT_DLLAZY_OR_NOW DL_NOW
20193 # define LT_DLLAZY_OR_NOW 0
20200 /* When -fvisbility=hidden is used, assume the code has been annotated
20201 correspondingly for the symbols needed. */
20202 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
20203 int fnord () __attribute__((visibility("default")));
20206 int fnord () { return 42; }
20209 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20210 int status = $lt_dlunknown;
20214 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20217 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20218 else puts (dlerror ());
20220 /* dlclose (self); */
20228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
20229 (eval $ac_link) 2>&5
20231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20232 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20233 (.
/conftest
; exit; ) >&5 2>/dev
/null
20235 case x
$lt_status in
20236 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
20237 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
20238 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
20241 # compilation failed
20242 lt_cv_dlopen_self_static
=no
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
20250 $as_echo "$lt_cv_dlopen_self_static" >&6; }
20253 CPPFLAGS
="$save_CPPFLAGS"
20254 LDFLAGS
="$save_LDFLAGS"
20259 case $lt_cv_dlopen_self in
20260 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
20261 *) enable_dlopen_self
=unknown
;;
20264 case $lt_cv_dlopen_self_static in
20265 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
20266 *) enable_dlopen_self_static
=unknown
;;
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
20289 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
20290 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
20291 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
20292 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20294 $as_echo "yes" >&6; }
20296 # FIXME - insert some real tests, host_os isn't really good enough
20299 if test -n "$STRIP" ; then
20300 striplib
="$STRIP -x"
20301 old_striplib
="$STRIP -S"
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20303 $as_echo "yes" >&6; }
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20306 $as_echo "no" >&6; }
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20311 $as_echo "no" >&6; }
20327 # Report which library types will actually be built
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
20329 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
20331 $as_echo "$can_build_shared" >&6; }
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
20334 $as_echo_n "checking whether to build shared libraries... " >&6; }
20335 test "$can_build_shared" = "no" && enable_shared
=no
20337 # On AIX, shared libraries and static libraries use the same namespace, and
20338 # are all built from PIC.
20341 test "$enable_shared" = yes && enable_static
=no
20342 if test -n "$RANLIB"; then
20343 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
20344 postinstall_cmds
='$RANLIB $lib'
20349 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
20350 test "$enable_shared" = yes && enable_static
=no
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
20355 $as_echo "$enable_shared" >&6; }
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
20358 $as_echo_n "checking whether to build static libraries... " >&6; }
20359 # Make sure either enable_shared or enable_static is yes.
20360 test "$enable_shared" = yes || enable_static
=yes
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
20362 $as_echo "$enable_static" >&6; }
20369 ac_cpp
='$CPP $CPPFLAGS'
20370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20390 ac_config_commands
="$ac_config_commands libtool"
20395 # Only expand once:
20404 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20405 if test -n "$ac_tool_prefix"; then
20406 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20407 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20409 $as_echo_n "checking for $ac_word... " >&6; }
20410 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
20411 $as_echo_n "(cached) " >&6
20413 case $PKG_CONFIG in
20415 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20419 for as_dir
in $PATH
20422 test -z "$as_dir" && as_dir
=.
20423 for ac_exec_ext
in '' $ac_executable_extensions; do
20424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20425 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20436 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20437 if test -n "$PKG_CONFIG"; then
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
20439 $as_echo "$PKG_CONFIG" >&6; }
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20442 $as_echo "no" >&6; }
20447 if test -z "$ac_cv_path_PKG_CONFIG"; then
20448 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20449 # Extract the first word of "pkg-config", so it can be a program name with args.
20450 set dummy pkg-config
; ac_word
=$2
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20452 $as_echo_n "checking for $ac_word... " >&6; }
20453 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
20454 $as_echo_n "(cached) " >&6
20456 case $ac_pt_PKG_CONFIG in
20458 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20462 for as_dir
in $PATH
20465 test -z "$as_dir" && as_dir
=.
20466 for ac_exec_ext
in '' $ac_executable_extensions; do
20467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20468 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20479 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20480 if test -n "$ac_pt_PKG_CONFIG"; then
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
20482 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20485 $as_echo "no" >&6; }
20488 if test "x$ac_pt_PKG_CONFIG" = x
; then
20491 case $cross_compiling:$ac_tool_warned in
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20495 ac_tool_warned
=yes ;;
20497 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20500 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20504 if test -n "$PKG_CONFIG"; then
20505 _pkg_min_version
=0.9.0
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
20507 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
20508 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20510 $as_echo "yes" >&6; }
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20513 $as_echo "no" >&6; }
20517 for ac_prog
in flex
lex
20519 # Extract the first word of "$ac_prog", so it can be a program name with args.
20520 set dummy
$ac_prog; ac_word
=$2
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20522 $as_echo_n "checking for $ac_word... " >&6; }
20523 if ${ac_cv_prog_LEX+:} false
; then :
20524 $as_echo_n "(cached) " >&6
20526 if test -n "$LEX"; then
20527 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
20529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20530 for as_dir
in $PATH
20533 test -z "$as_dir" && as_dir
=.
20534 for ac_exec_ext
in '' $ac_executable_extensions; do
20535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20536 ac_cv_prog_LEX
="$ac_prog"
20537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20546 LEX
=$ac_cv_prog_LEX
20547 if test -n "$LEX"; then
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
20549 $as_echo "$LEX" >&6; }
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20552 $as_echo "no" >&6; }
20556 test -n "$LEX" && break
20558 test -n "$LEX" || LEX
=":"
20560 if test "x$LEX" != "x:"; then
20561 cat >conftest.l
<<_ACEOF
20567 e { yyless (input () != 0); }
20568 f { unput (yytext[0]); }
20569 . { BEGIN INITIAL; }
20571 #ifdef YYTEXT_POINTER
20572 extern char *yytext;
20577 return ! yylex () + ! yywrap ();
20580 { { ac_try
="$LEX conftest.l"
20581 case "(($ac_try" in
20582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20583 *) ac_try_echo=$ac_try;;
20585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20586 $as_echo "$ac_try_echo"; } >&5
20587 (eval "$LEX conftest.l") 2>&5
20589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20590 test $ac_status = 0; }
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
20592 $as_echo_n "checking lex output file root... " >&6; }
20593 if ${ac_cv_prog_lex_root+:} false; then :
20594 $as_echo_n "(cached) " >&6
20597 if test -f lex.yy.c; then
20598 ac_cv_prog_lex_root=lex.yy
20599 elif test -f lexyy.c; then
20600 ac_cv_prog_lex_root=lexyy
20602 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
20606 $as_echo "$ac_cv_prog_lex_root" >&6; }
20607 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
20609 if test -z "${LEXLIB+set}"; then
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
20611 $as_echo_n "checking lex library... " >&6; }
20612 if ${ac_cv_lib_lex+:} false; then :
20613 $as_echo_n "(cached) " >&6
20617 ac_cv_lib_lex='none needed'
20618 for ac_lib in '' -lfl -ll; do
20619 LIBS="$ac_lib $ac_save_LIBS"
20620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20621 /* end confdefs.h. */
20622 `cat $LEX_OUTPUT_ROOT.c
`
20624 if ac_fn_c_try_link "$LINENO"; then :
20625 ac_cv_lib_lex=$ac_lib
20627 rm -f core conftest.err conftest.$ac_objext \
20628 conftest$ac_exeext conftest.$ac_ext
20629 test "$ac_cv_lib_lex" != 'none needed' && break
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
20635 $as_echo "$ac_cv_lib_lex" >&6; }
20636 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
20641 $as_echo_n "checking whether yytext is a pointer... " >&6; }
20642 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
20643 $as_echo_n "(cached) " >&6
20645 # POSIX says lex can declare yytext either as a pointer or an array; the
20646 # default is implementation-dependent. Figure out which it is, since
20647 # not all implementations provide the %pointer and %array declarations.
20648 ac_cv_prog_lex_yytext_pointer=no
20650 LIBS="$LEXLIB $ac_save_LIBS"
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 #define YYTEXT_POINTER 1
20655 `cat $LEX_OUTPUT_ROOT.c
`
20657 if ac_fn_c_try_link "$LINENO"; then :
20658 ac_cv_prog_lex_yytext_pointer=yes
20660 rm -f core conftest.err conftest.$ac_objext \
20661 conftest$ac_exeext conftest.$ac_ext
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
20666 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
20667 if test $ac_cv_prog_lex_yytext_pointer = yes; then
20669 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
20672 rm -f conftest.l $LEX_OUTPUT_ROOT.c
20675 for ac_prog in 'bison -y' byacc
20677 # Extract the first word of "$ac_prog", so it can be a program name with args.
20678 set dummy $ac_prog; ac_word=$2
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20680 $as_echo_n "checking for $ac_word... " >&6; }
20681 if ${ac_cv_prog_YACC+:} false; then :
20682 $as_echo_n "(cached) " >&6
20684 if test -n "$YACC"; then
20685 ac_cv_prog_YACC="$YACC" # Let the user override the test.
20687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20688 for as_dir in $PATH
20691 test -z "$as_dir" && as_dir=.
20692 for ac_exec_ext in '' $ac_executable_extensions; do
20693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20694 ac_cv_prog_YACC="$ac_prog"
20695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20704 YACC=$ac_cv_prog_YACC
20705 if test -n "$YACC"; then
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
20707 $as_echo "$YACC" >&6; }
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20710 $as_echo "no" >&6; }
20714 test -n "$YACC" && break
20716 test -n "$YACC" || YACC="yacc"
20718 # Check whether --enable-largefile was given.
20719 if test "${enable_largefile+set}" = set; then :
20720 enableval=$enable_largefile;
20723 if test "$enable_largefile" != no; then
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
20726 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
20727 if ${ac_cv_sys_largefile_CC+:} false; then :
20728 $as_echo_n "(cached) " >&6
20730 ac_cv_sys_largefile_CC=no
20731 if test "$GCC" != yes; then
20734 # IRIX 6.2 and later do not support large files by default,
20735 # so use the C compiler's -n32 option if that helps.
20736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20737 /* end confdefs.h. */
20738 #include <sys/types.h>
20739 /* Check that off_t can represent 2**63 - 1 correctly.
20740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20741 since some C++ compilers masquerading as C compilers
20742 incorrectly reject 9223372036854775807. */
20743 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20745 && LARGE_OFF_T % 2147483647 == 1)
20755 if ac_fn_c_try_compile "$LINENO"; then :
20758 rm -f core conftest.err conftest.$ac_objext
20760 if ac_fn_c_try_compile "$LINENO"; then :
20761 ac_cv_sys_largefile_CC=' -n32'; break
20763 rm -f core conftest.err conftest.$ac_objext
20767 rm -f conftest.$ac_ext
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
20771 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
20772 if test "$ac_cv_sys_largefile_CC" != no; then
20773 CC=$CC$ac_cv_sys_largefile_CC
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20777 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20778 if ${ac_cv_sys_file_offset_bits+:} false; then :
20779 $as_echo_n "(cached) " >&6
20782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20783 /* end confdefs.h. */
20784 #include <sys/types.h>
20785 /* Check that off_t can represent 2**63 - 1 correctly.
20786 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20787 since some C++ compilers masquerading as C compilers
20788 incorrectly reject 9223372036854775807. */
20789 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20790 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20791 && LARGE_OFF_T % 2147483647 == 1)
20801 if ac_fn_c_try_compile "$LINENO"; then :
20802 ac_cv_sys_file_offset_bits=no; break
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20807 #define _FILE_OFFSET_BITS 64
20808 #include <sys/types.h>
20809 /* Check that off_t can represent 2**63 - 1 correctly.
20810 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20811 since some C++ compilers masquerading as C compilers
20812 incorrectly reject 9223372036854775807. */
20813 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20814 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20815 && LARGE_OFF_T % 2147483647 == 1)
20825 if ac_fn_c_try_compile "$LINENO"; then :
20826 ac_cv_sys_file_offset_bits=64; break
20828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20829 ac_cv_sys_file_offset_bits=unknown
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20834 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20835 case $ac_cv_sys_file_offset_bits in #(
20838 cat >>confdefs.h <<_ACEOF
20839 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20844 if test $ac_cv_sys_file_offset_bits = unknown; then
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20846 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20847 if ${ac_cv_sys_large_files+:} false; then :
20848 $as_echo_n "(cached) " >&6
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #include <sys/types.h>
20854 /* Check that off_t can represent 2**63 - 1 correctly.
20855 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20856 since some C++ compilers masquerading as C compilers
20857 incorrectly reject 9223372036854775807. */
20858 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20859 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20860 && LARGE_OFF_T % 2147483647 == 1)
20870 if ac_fn_c_try_compile "$LINENO"; then :
20871 ac_cv_sys_large_files=no; break
20873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #define _LARGE_FILES 1
20877 #include <sys/types.h>
20878 /* Check that off_t can represent 2**63 - 1 correctly.
20879 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20880 since some C++ compilers masquerading as C compilers
20881 incorrectly reject 9223372036854775807. */
20882 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20883 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20884 && LARGE_OFF_T % 2147483647 == 1)
20894 if ac_fn_c_try_compile "$LINENO"; then :
20895 ac_cv_sys_large_files=1; break
20897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 ac_cv_sys_large_files=unknown
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20903 $as_echo "$ac_cv_sys_large_files" >&6; }
20904 case $ac_cv_sys_large_files in #(
20907 cat >>confdefs.h <<_ACEOF
20908 #define _LARGE_FILES $ac_cv_sys_large_files
20920 # Extract the first word of "$ac_prog", so it can be a program name with args.
20921 set dummy $ac_prog; ac_word=$2
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20923 $as_echo_n "checking for $ac_word... " >&6; }
20924 if ${ac_cv_path_RAWCPP+:} false; then :
20925 $as_echo_n "(cached) " >&6
20929 ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
20932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20933 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
20934 for as_dir in $as_dummy
20937 test -z "$as_dir" && as_dir=.
20938 for ac_exec_ext in '' $ac_executable_extensions; do
20939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20940 ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
20941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20951 RAWCPP=$ac_cv_path_RAWCPP
20952 if test -n "$RAWCPP"; then
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
20954 $as_echo "$RAWCPP" >&6; }
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20957 $as_echo "no" >&6; }
20961 test -n "$RAWCPP" && break
20963 test -n "$RAWCPP" || RAWCPP="${CPP}"
20966 # Check for flag to avoid builtin definitions - assumes unix is predefined,
20967 # which is not the best choice for supporting other OS'es, but covers most
20968 # of the ones we need for now.
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
20970 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973 Does cpp redefine unix ?
20975 if test `${RAWCPP} < conftest.
$ac_ext |
grep -c 'unix'` -eq 1 ; then
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20977 $as_echo "no" >&6; }
20979 if test `${RAWCPP} -undef < conftest.
$ac_ext |
grep -c 'unix'` -eq 1 ; then
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20982 $as_echo "yes" >&6; }
20983 # under Cygwin unix is still defined even with -undef
20984 elif test `${RAWCPP} -undef -ansi < conftest.
$ac_ext |
grep -c 'unix'` -eq 1 ; then
20985 RAWCPPFLAGS="-undef -ansi"
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
20987 $as_echo "yes, with -ansi" >&6; }
20989 as_fn_error $? "${RAWCPP} defines unix with or without -undef. I don't know what to do." "$LINENO" 5
20992 rm -f conftest.$ac_ext
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
20995 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
20996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20997 /* end confdefs.h. */
20998 Does cpp preserve "whitespace"?
21000 if test `${RAWCPP} < conftest.
$ac_ext |
grep -c 'preserve \"'` -eq 1 ; then
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21002 $as_echo "no" >&6; }
21004 if test `${RAWCPP} -traditional < conftest.
$ac_ext |
grep -c 'preserve \"'` -eq 1 ; then
21005 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21007 $as_echo "yes" >&6; }
21009 as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." "$LINENO" 5
21012 rm -f conftest.$ac_ext
21016 # Quoted so that make will expand $(CWARNFLAGS) in makefiles to allow
21017 # easier overrides at build time.
21018 XSERVER_CFLAGS='$(CWARNFLAGS)'
21020 if test "x$GCC" = xyes ; then
21021 XSERVER_CFLAGS="$XSERVER_CFLAGS -fno-strict-aliasing"
21025 # Check whether --with-dtrace was given.
21026 if test "${with_dtrace+set}" = set; then :
21027 withval=$with_dtrace; WDTRACE=$withval
21032 if test "x$WDTRACE" = "xyes" -o "x$WDTRACE" = "xauto" ; then
21033 # Extract the first word of "dtrace", so it can be a program name with args.
21034 set dummy dtrace; ac_word=$2
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21036 $as_echo_n "checking for $ac_word... " >&6; }
21037 if ${ac_cv_path_DTRACE+:} false; then :
21038 $as_echo_n "(cached) " >&6
21042 ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
21045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21046 as_dummy="$PATH:/usr/sbin"
21047 for as_dir in $as_dummy
21050 test -z "$as_dir" && as_dir=.
21051 for ac_exec_ext in '' $ac_executable_extensions; do
21052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21053 ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
21054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21061 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not_found"
21065 DTRACE=$ac_cv_path_DTRACE
21066 if test -n "$DTRACE"; then
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
21068 $as_echo "$DTRACE" >&6; }
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21071 $as_echo "no" >&6; }
21075 if test "x$DTRACE" = "xnot_found" ; then
21076 if test "x$WDTRACE" = "xyes" ; then
21077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21079 as_fn_error $? "dtrace requested but not found
21080 See \
`config.log' for more details" "$LINENO" 5; }
21084 ac_fn_c_check_header_mongrel "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default"
21085 if test "x$ac_cv_header_sys_sdt_h" = xyes; then :
21092 if test "x$WDTRACE" = "xauto" -a "x$HAS_SDT_H" = "xno" ; then
21097 if test "x$WDTRACE" != "xno" ; then
21099 $as_echo "#define XSERVER_DTRACE 1" >>confdefs.h
21102 # Solaris/OpenSolaris require dtrace -G to build dtrace probe information into
21103 # object files, and require linking with those as relocatable objects, not .a
21104 # archives. MacOS X handles all this in the normal compiler toolchain, and on
21105 # some releases (like Tiger), will error out on dtrace -G. For now, other
21106 # platforms with Dtrace ports are assumed to support -G (the FreeBSD and Linux
21107 # ports appear to, based on my web searches, but have not yet been tested).
21109 darwin*) SPECIAL_DTRACE_OBJECTS=no ;;
21110 *) SPECIAL_DTRACE_OBJECTS=yes ;;
21113 if test "x$WDTRACE" != "xno"; then
21114 XSERVER_DTRACE_TRUE=
21115 XSERVER_DTRACE_FALSE='#'
21117 XSERVER_DTRACE_TRUE='#'
21118 XSERVER_DTRACE_FALSE=
21121 if test "x$SPECIAL_DTRACE_OBJECTS" = "xyes"; then
21122 SPECIAL_DTRACE_OBJECTS_TRUE=
21123 SPECIAL_DTRACE_OBJECTS_FALSE='#'
21125 SPECIAL_DTRACE_OBJECTS_TRUE='#'
21126 SPECIAL_DTRACE_OBJECTS_FALSE=
21130 ac_header_dirent=no
21131 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
21132 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
21134 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
21135 if eval \${$as_ac_Header+:} false; then :
21136 $as_echo_n "(cached) " >&6
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140 #include <sys/types.h>
21152 if ac_fn_c_try_compile "$LINENO"; then :
21153 eval "$as_ac_Header=yes"
21155 eval "$as_ac_Header=no"
21157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21159 eval ac_res=\$$as_ac_Header
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21161 $as_echo "$ac_res" >&6; }
21162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21163 cat >>confdefs.h <<_ACEOF
21164 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
21167 ac_header_dirent=$ac_hdr; break
21171 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21172 if test $ac_header_dirent = dirent.h; then
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21174 $as_echo_n "checking for library containing opendir... " >&6; }
21175 if ${ac_cv_search_opendir+:} false; then :
21176 $as_echo_n "(cached) " >&6
21178 ac_func_search_save_LIBS=$LIBS
21179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21182 /* Override any GCC internal prototype to avoid an error.
21183 Use char because int might match the return type of a GCC
21184 builtin and then its argument prototype would still apply. */
21197 for ac_lib in '' dir; do
21198 if test -z "$ac_lib"; then
21199 ac_res="none required"
21202 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21204 if ac_fn_c_try_link "$LINENO"; then :
21205 ac_cv_search_opendir=$ac_res
21207 rm -f core conftest.err conftest.$ac_objext \
21209 if ${ac_cv_search_opendir+:} false; then :
21213 if ${ac_cv_search_opendir+:} false; then :
21216 ac_cv_search_opendir=no
21218 rm conftest.$ac_ext
21219 LIBS=$ac_func_search_save_LIBS
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21222 $as_echo "$ac_cv_search_opendir" >&6; }
21223 ac_res=$ac_cv_search_opendir
21224 if test "$ac_res" != no; then :
21225 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21231 $as_echo_n "checking for library containing opendir... " >&6; }
21232 if ${ac_cv_search_opendir+:} false; then :
21233 $as_echo_n "(cached) " >&6
21235 ac_func_search_save_LIBS=$LIBS
21236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21239 /* Override any GCC internal prototype to avoid an error.
21240 Use char because int might match the return type of a GCC
21241 builtin and then its argument prototype would still apply. */
21254 for ac_lib in '' x; do
21255 if test -z "$ac_lib"; then
21256 ac_res="none required"
21259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21261 if ac_fn_c_try_link "$LINENO"; then :
21262 ac_cv_search_opendir=$ac_res
21264 rm -f core conftest.err conftest.$ac_objext \
21266 if ${ac_cv_search_opendir+:} false; then :
21270 if ${ac_cv_search_opendir+:} false; then :
21273 ac_cv_search_opendir=no
21275 rm conftest.$ac_ext
21276 LIBS=$ac_func_search_save_LIBS
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21279 $as_echo "$ac_cv_search_opendir" >&6; }
21280 ac_res=$ac_cv_search_opendir
21281 if test "$ac_res" != no; then :
21282 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21289 $as_echo_n "checking for ANSI C header files... " >&6; }
21290 if ${ac_cv_header_stdc+:} false; then :
21291 $as_echo_n "(cached) " >&6
21293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21295 #include <stdlib.h>
21296 #include <stdarg.h>
21297 #include <string.h>
21308 if ac_fn_c_try_compile "$LINENO"; then :
21309 ac_cv_header_stdc=yes
21311 ac_cv_header_stdc=no
21313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315 if test $ac_cv_header_stdc = yes; then
21316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21319 #include <string.h>
21322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21323 $EGREP "memchr" >/dev/null 2>&1; then :
21326 ac_cv_header_stdc=no
21332 if test $ac_cv_header_stdc = yes; then
21333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h. */
21336 #include <stdlib.h>
21339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21340 $EGREP "free" >/dev/null 2>&1; then :
21343 ac_cv_header_stdc=no
21349 if test $ac_cv_header_stdc = yes; then
21350 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21351 if test "$cross_compiling" = yes; then :
21354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21357 #include <stdlib.h>
21358 #if ((' ' & 0x0FF) == 0x020)
21359 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21360 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21362 # define ISLOWER(c) \
21363 (('a' <= (c) && (c) <= 'i') \
21364 || ('j' <= (c) && (c) <= 'r') \
21365 || ('s' <= (c) && (c) <= 'z'))
21366 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21369 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21374 for (i = 0; i < 256; i++)
21375 if (XOR (islower (i), ISLOWER (i))
21376 || toupper (i) != TOUPPER (i))
21381 if ac_fn_c_try_run "$LINENO"; then :
21384 ac_cv_header_stdc=no
21386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21387 conftest.$ac_objext conftest.beam conftest.$ac_ext
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21393 $as_echo "$ac_cv_header_stdc" >&6; }
21394 if test $ac_cv_header_stdc = yes; then
21396 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21400 for ac_header in fcntl.h stdlib.h string.h unistd.h dlfcn.h stropts.h fnmatch.h sys/utsname.h
21402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
21403 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21405 cat >>confdefs.h <<_ACEOF
21406 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
21415 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21416 if ${ac_cv_c_const+:} false; then :
21417 $as_echo_n "(cached) " >&6
21419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21420 /* end confdefs.h. */
21425 /* FIXME: Include the comments suggested by Paul. */
21426 #ifndef __cplusplus
21427 /* Ultrix mips cc rejects this. */
21428 typedef int charset[2];
21430 /* SunOS 4.1.1 cc rejects this. */
21431 char const *const *pcpcc;
21433 /* NEC SVR4.0.2 mips cc rejects this. */
21434 struct point {int x, y;};
21435 static struct point const zero = {0,0};
21436 /* AIX XL C 1.02.0.0 rejects this.
21437 It does not let you subtract one const X* pointer from another in
21438 an arm of an if-expression whose if-part is not a constant
21440 const char *g = "string";
21441 pcpcc = &g + (g ? g-g : 0);
21442 /* HPUX 7.0 cc rejects these. */
21444 ppc = (char**) pcpcc;
21445 pcpcc = (char const *const *) ppc;
21446 { /* SCO 3.2v4 cc rejects this. */
21448 char const *s = 0 ? (char *) 0 : (char const *) 0;
21453 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21454 int x[] = {25, 17};
21455 const int *foo = &x[0];
21458 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21459 typedef const int *iptr;
21463 { /* AIX XL C 1.02.0.0 rejects this saying
21464 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21465 struct s { int j; const int *ap[3]; };
21466 struct s *b; b->j = 5;
21468 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21469 const int foo = 10;
21470 if (!foo) return 0;
21472 return !cs[0] && !zero.x;
21479 if ac_fn_c_try_compile "$LINENO"; then :
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
21487 $as_echo "$ac_cv_c_const" >&6; }
21488 if test $ac_cv_c_const = no; then
21490 $as_echo "#define const /**/" >>confdefs.h
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5
21496 $as_echo_n "checking for typeof syntax and keyword spelling... " >&6; }
21497 if ${ac_cv_c_typeof+:} false; then :
21498 $as_echo_n "(cached) " >&6
21501 for ac_kw in typeof __typeof__ no; do
21502 test $ac_kw = no && break
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21513 + ! (($ac_kw (value))
21514 (($ac_kw (value)) 0 < ($ac_kw (value)) -1
21515 ? ($ac_kw (value)) - 1
21516 : ~ (~ ($ac_kw (value)) 0
21517 << sizeof ($ac_kw (value)))))]; }
21520 (! ((void) ((ac__typeof_type_ *) 0), 0));
21526 if ac_fn_c_try_compile "$LINENO"; then :
21527 ac_cv_c_typeof=$ac_kw
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 test $ac_cv_c_typeof != no && break
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5
21534 $as_echo "$ac_cv_c_typeof" >&6; }
21535 if test $ac_cv_c_typeof != no; then
21537 $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
21539 if test $ac_cv_c_typeof != typeof; then
21541 cat >>confdefs.h <<_ACEOF
21542 #define typeof $ac_cv_c_typeof
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21549 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21550 if ${ac_cv_c_bigendian+:} false; then :
21551 $as_echo_n "(cached) " >&6
21553 ac_cv_c_bigendian=unknown
21554 # See if we're dealing with a universal compiler.
21555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h. */
21557 #ifndef __APPLE_CC__
21558 not a universal capable compiler
21563 if ac_fn_c_try_compile "$LINENO"; then :
21565 # Check for potential -arch flags. It is not universal unless
21566 # there are at least two -arch flags with different values.
21569 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
21570 if test -n "$ac_prev"; then
21572 i?86 | x86_64 | ppc | ppc64)
21573 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
21576 ac_cv_c_bigendian=universal
21582 elif test "x$ac_word" = "x-arch"; then
21587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21588 if test $ac_cv_c_bigendian = unknown; then
21589 # See if sys/param.h defines the BYTE_ORDER macro.
21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21592 #include <sys/types.h>
21593 #include <sys/param.h>
21598 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
21599 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
21601 bogus endian macros
21608 if ac_fn_c_try_compile "$LINENO"; then :
21609 # It does; now see whether it defined to BIG_ENDIAN or not.
21610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21611 /* end confdefs.h. */
21612 #include <sys/types.h>
21613 #include <sys/param.h>
21618 #if BYTE_ORDER != BIG_ENDIAN
21626 if ac_fn_c_try_compile "$LINENO"; then :
21627 ac_cv_c_bigendian=yes
21629 ac_cv_c_bigendian=no
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635 if test $ac_cv_c_bigendian = unknown; then
21636 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
21637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21638 /* end confdefs.h. */
21639 #include <limits.h>
21644 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
21645 bogus endian macros
21652 if ac_fn_c_try_compile "$LINENO"; then :
21653 # It does; now see whether it defined to _BIG_ENDIAN or not.
21654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21655 /* end confdefs.h. */
21656 #include <limits.h>
21661 #ifndef _BIG_ENDIAN
21669 if ac_fn_c_try_compile "$LINENO"; then :
21670 ac_cv_c_bigendian=yes
21672 ac_cv_c_bigendian=no
21674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678 if test $ac_cv_c_bigendian = unknown; then
21679 # Compile a test program.
21680 if test "$cross_compiling" = yes; then :
21681 # Try to guess by grepping values from an object file.
21682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21683 /* end confdefs.h. */
21684 short int ascii_mm[] =
21685 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
21686 short int ascii_ii[] =
21687 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
21688 int use_ascii (int i) {
21689 return ascii_mm[i] + ascii_ii[i];
21691 short int ebcdic_ii[] =
21692 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
21693 short int ebcdic_mm[] =
21694 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
21695 int use_ebcdic (int i) {
21696 return ebcdic_mm[i] + ebcdic_ii[i];
21703 return use_ascii (foo) == use_ebcdic (foo);
21708 if ac_fn_c_try_compile "$LINENO"; then :
21709 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
21710 ac_cv_c_bigendian=yes
21712 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
21713 if test "$ac_cv_c_bigendian" = unknown; then
21714 ac_cv_c_bigendian=no
21716 # finding both strings is unlikely to happen, but who knows?
21717 ac_cv_c_bigendian=unknown
21721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724 /* end confdefs.h. */
21725 $ac_includes_default
21730 /* Are we little or big endian? From Harbison&Steele. */
21734 char c[sizeof (long int)];
21737 return u.c[sizeof (long int) - 1] == 1;
21743 if ac_fn_c_try_run "$LINENO"; then :
21744 ac_cv_c_bigendian=no
21746 ac_cv_c_bigendian=yes
21748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21749 conftest.$ac_objext conftest.beam conftest.$ac_ext
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21755 $as_echo "$ac_cv_c_bigendian" >&6; }
21756 case $ac_cv_c_bigendian in #(
21758 ENDIAN="X_BIG_ENDIAN";; #(
21760 ENDIAN="X_LITTLE_ENDIAN" ;; #(
21763 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
21767 as_fn_error $? "unknown endianness
21768 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
21772 # The cast to long int works around a bug in the HP C Compiler
21773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21774 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
21775 # This bug is HP SR number 8606223364.
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
21777 $as_echo_n "checking size of unsigned long... " >&6; }
21778 if ${ac_cv_sizeof_unsigned_long+:} false; then :
21779 $as_echo_n "(cached) " >&6
21781 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
21784 if test "$ac_cv_type_unsigned_long" = yes; then
21785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21786 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
21787 as_fn_error 77 "cannot compute sizeof (unsigned long)
21788 See \`config.log
' for more details" "$LINENO" 5; }
21790 ac_cv_sizeof_unsigned_long=0
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
21796 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
21800 cat >>confdefs.h <<_ACEOF
21801 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
21805 if test "$ac_cv_sizeof_unsigned_long" = 8; then
21807 $as_echo "#define _XSERVER64 1" >>confdefs.h
21811 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
21812 if test "x$ac_cv_type_pid_t" = xyes; then :
21816 cat >>confdefs.h <<_ACEOF
21823 # Checks for headers/macros for byte swapping
21825 # <byteswap.h> bswap_16, bswap_32, bswap_64 (glibc)
21826 # <sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
21827 # <sys/endian.h> bswap16, bswap32, bswap64 (other BSD's
)
21828 # and a fallback to local macros if none of the above are found
21830 # if <byteswap.h> is found, assume it's the correct version
21831 for ac_header
in byteswap.h
21833 ac_fn_c_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
21834 if test "x$ac_cv_header_byteswap_h" = xyes
; then :
21835 cat >>confdefs.h
<<_ACEOF
21836 #define HAVE_BYTESWAP_H 1
21844 # if <sys/endian.h> is found, have to check which version
21845 ac_fn_c_check_header_mongrel
"$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
21846 if test "x$ac_cv_header_sys_endian_h" = xyes
; then :
21847 HAVE_SYS_ENDIAN_H
="yes"
21849 HAVE_SYS_ENDIAN_H
="no"
21854 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
21856 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
21857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21860 #include <sys/types.h>
21861 #include <sys/endian.h>
21875 if ac_fn_c_try_link
"$LINENO"; then :
21876 SYS_ENDIAN__SWAP
='yes'
21878 SYS_ENDIAN__SWAP
='no'
21880 rm -f core conftest.err conftest.
$ac_objext \
21881 conftest
$ac_exeext conftest.
$ac_ext
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
21883 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
21886 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
21887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21888 /* end confdefs.h. */
21890 #include <sys/types.h>
21891 #include <sys/endian.h>
21905 if ac_fn_c_try_link
"$LINENO"; then :
21906 SYS_ENDIAN_BSWAP
='yes'
21908 SYS_ENDIAN_BSWAP
='no'
21910 rm -f core conftest.err conftest.
$ac_objext \
21911 conftest
$ac_exeext conftest.
$ac_ext
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
21913 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
21915 if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
21916 USE_SYS_ENDIAN_H
=yes
21919 if test "$SYS_ENDIAN__SWAP" = "yes" ; then
21920 USE_SYS_ENDIAN_H
=yes
21923 USE_SYS_ENDIAN_H
=no
21927 if test "$USE_SYS_ENDIAN_H" = "yes" ; then
21929 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
21932 cat >>confdefs.h
<<_ACEOF
21933 #define bswap_16 ${BSWAP}16
21937 cat >>confdefs.h
<<_ACEOF
21938 #define bswap_32 ${BSWAP}32
21942 cat >>confdefs.h
<<_ACEOF
21943 #define bswap_64 ${BSWAP}64
21949 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
21950 if test "x$ac_cv_func_dlopen" = xyes
; then :
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
21954 $as_echo_n "checking for dlopen in -ldl... " >&6; }
21955 if ${ac_cv_lib_dl_dlopen+:} false
; then :
21956 $as_echo_n "(cached) " >&6
21958 ac_check_lib_save_LIBS
=$LIBS
21960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h. */
21963 /* Override any GCC internal prototype to avoid an error.
21964 Use char because int might match the return type of a GCC
21965 builtin and then its argument prototype would still apply. */
21978 if ac_fn_c_try_link
"$LINENO"; then :
21979 ac_cv_lib_dl_dlopen
=yes
21981 ac_cv_lib_dl_dlopen
=no
21983 rm -f core conftest.err conftest.
$ac_objext \
21984 conftest
$ac_exeext conftest.
$ac_ext
21985 LIBS
=$ac_check_lib_save_LIBS
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
21988 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
21989 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
21997 for ac_func
in backtrace ffs geteuid getuid issetugid getresuid \
21998 getdtablesize getifaddrs getpeereid getpeerucred getzoneid \
21999 mmap seteuid shmctl64 strncasecmp vasprintf vsnprintf walkcontext
22001 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22002 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22003 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22004 cat >>confdefs.h
<<_ACEOF
22005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22011 ac_fn_c_check_func
"$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
22012 if test "x$ac_cv_func_strcasecmp" = xyes
; then :
22013 $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
22016 case " $LIBOBJS " in
22017 *" strcasecmp.$ac_objext "* ) ;;
22018 *) LIBOBJS
="$LIBOBJS strcasecmp.$ac_objext"
22024 ac_fn_c_check_func
"$LINENO" "strcasestr" "ac_cv_func_strcasestr"
22025 if test "x$ac_cv_func_strcasestr" = xyes
; then :
22026 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
22029 case " $LIBOBJS " in
22030 *" strcasestr.$ac_objext "* ) ;;
22031 *) LIBOBJS
="$LIBOBJS strcasestr.$ac_objext"
22037 ac_fn_c_check_func
"$LINENO" "strlcat" "ac_cv_func_strlcat"
22038 if test "x$ac_cv_func_strlcat" = xyes
; then :
22039 $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
22042 case " $LIBOBJS " in
22043 *" strlcat.$ac_objext "* ) ;;
22044 *) LIBOBJS
="$LIBOBJS strlcat.$ac_objext"
22050 ac_fn_c_check_func
"$LINENO" "strlcpy" "ac_cv_func_strlcpy"
22051 if test "x$ac_cv_func_strlcpy" = xyes
; then :
22052 $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
22055 case " $LIBOBJS " in
22056 *" strlcpy.$ac_objext "* ) ;;
22057 *) LIBOBJS
="$LIBOBJS strlcpy.$ac_objext"
22063 ac_fn_c_check_func
"$LINENO" "strndup" "ac_cv_func_strndup"
22064 if test "x$ac_cv_func_strndup" = xyes
; then :
22065 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
22068 case " $LIBOBJS " in
22069 *" strndup.$ac_objext "* ) ;;
22070 *) LIBOBJS
="$LIBOBJS strndup.$ac_objext"
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
22079 $as_echo_n "checking for sqrt in -lm... " >&6; }
22080 if ${ac_cv_lib_m_sqrt+:} false
; then :
22081 $as_echo_n "(cached) " >&6
22083 ac_check_lib_save_LIBS
=$LIBS
22085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22086 /* end confdefs.h. */
22088 /* Override any GCC internal prototype to avoid an error.
22089 Use char because int might match the return type of a GCC
22090 builtin and then its argument prototype would still apply. */
22103 if ac_fn_c_try_link
"$LINENO"; then :
22104 ac_cv_lib_m_sqrt
=yes
22106 ac_cv_lib_m_sqrt
=no
22108 rm -f core conftest.err conftest.
$ac_objext \
22109 conftest
$ac_exeext conftest.
$ac_ext
22110 LIBS
=$ac_check_lib_save_LIBS
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
22113 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
22114 if test "x$ac_cv_lib_m_sqrt" = xyes
; then :
22115 cat >>confdefs.h
<<_ACEOF
22116 #define HAVE_LIBM 1
22123 for ac_func
in cbrt
22125 ac_fn_c_check_func
"$LINENO" "cbrt" "ac_cv_func_cbrt"
22126 if test "x$ac_cv_func_cbrt" = xyes
; then :
22127 cat >>confdefs.h
<<_ACEOF
22128 #define HAVE_CBRT 1
22135 for ac_header
in ndbm.h dbm.h rpcsvc
/dbm.h
22137 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22138 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22139 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22140 cat >>confdefs.h
<<_ACEOF
22141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22149 for ac_header
in linux
/agpgart.h sys
/agpio.h sys
/agpgart.h
22151 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22152 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22153 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22154 cat >>confdefs.h
<<_ACEOF
22155 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22162 if test "x$AGP" = xyes
; then
22171 for ac_header
in linux
/fb.h
22173 ac_fn_c_check_header_mongrel
"$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
22174 if test "x$ac_cv_header_linux_fb_h" = xyes
; then :
22175 cat >>confdefs.h
<<_ACEOF
22176 #define HAVE_LINUX_FB_H 1
22183 if test "x$FBDEV" = xyes
; then
22192 for ac_header
in asm
/mtrr.h
22194 ac_fn_c_check_header_mongrel
"$LINENO" "asm/mtrr.h" "ac_cv_header_asm_mtrr_h" "$ac_includes_default"
22195 if test "x$ac_cv_header_asm_mtrr_h" = xyes
; then :
22196 cat >>confdefs.h
<<_ACEOF
22197 #define HAVE_ASM_MTRR_H 1
22199 ac_cv_asm_mtrr_h
=yes
22204 if test "x$ac_cv_asm_mtrr_h" = xyes
; then
22208 for ac_header
in sys
/memrange.h
22210 ac_fn_c_check_header_mongrel
"$LINENO" "sys/memrange.h" "ac_cv_header_sys_memrange_h" "$ac_includes_default"
22211 if test "x$ac_cv_header_sys_memrange_h" = xyes
; then :
22212 cat >>confdefs.h
<<_ACEOF
22213 #define HAVE_SYS_MEMRANGE_H 1
22215 ac_cv_memrange_h
=yes
22220 if test "x$ac_cv_memrange_h" = xyes
; then
22224 if test "x$HAVE_MTRR" = xyes
; then
22226 $as_echo "#define HAS_MTRR_SUPPORT 1" >>confdefs.h
22230 for ac_header
in machine
/mtrr.h
22232 ac_fn_c_check_header_mongrel
"$LINENO" "machine/mtrr.h" "ac_cv_header_machine_mtrr_h" "$ac_includes_default"
22233 if test "x$ac_cv_header_machine_mtrr_h" = xyes
; then :
22234 cat >>confdefs.h
<<_ACEOF
22235 #define HAVE_MACHINE_MTRR_H 1
22237 ac_cv_machine_mtrr_h
=yes
22242 if test "x$ac_cv_machine_mtrr_h" = xyes
; then
22244 $as_echo "#define HAS_MTRR_BUILTIN 1" >>confdefs.h
22248 for ac_header
in sys
/linker.h
22250 ac_fn_c_check_header_compile
"$LINENO" "sys/linker.h" "ac_cv_header_sys_linker_h" "#include <sys/param.h>
22252 if test "x$ac_cv_header_sys_linker_h" = xyes
; then :
22253 cat >>confdefs.h
<<_ACEOF
22254 #define HAVE_SYS_LINKER_H 1
22256 ac_cv_sys_linker_h
=yes
22258 ac_cv_sys_linker_h
=no
22263 if test "x$ac_cv_sys_linker_h" = xyes
; then
22264 FREEBSD_KLDLOAD_TRUE
=
22265 FREEBSD_KLDLOAD_FALSE
='#'
22267 FREEBSD_KLDLOAD_TRUE
='#'
22268 FREEBSD_KLDLOAD_FALSE
=
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSV IPC" >&5
22273 $as_echo_n "checking for SYSV IPC... " >&6; }
22274 if ${ac_cv_sysv_ipc+:} false
; then :
22275 $as_echo_n "(cached) " >&6
22277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22280 #include <sys/types.h>
22281 #include <sys/ipc.h>
22282 #include <sys/shm.h>
22283 #include <sys/stat.h>
22291 id = shmget(IPC_PRIVATE, 512, S_IRUSR | S_IWUSR);
22292 if (id < 0) return -1;
22293 return shmctl(id, IPC_RMID, 0);
22299 if ac_fn_c_try_link
"$LINENO"; then :
22304 rm -f core conftest.err conftest.
$ac_objext \
22305 conftest
$ac_exeext conftest.
$ac_ext
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_ipc" >&5
22308 $as_echo "$ac_cv_sysv_ipc" >&6; }
22309 if test "x$ac_cv_sysv_ipc" = xyes
; then
22311 $as_echo "#define HAVE_SYSV_IPC 1" >>confdefs.h
22315 if test -c /dev
/xf86
; then
22317 $as_echo "#define HAS_APERTURE_DRV 1" >>confdefs.h
22321 ac_fn_c_check_header_mongrel
"$LINENO" "machine/apmvar.h" "ac_cv_header_machine_apmvar_h" "$ac_includes_default"
22322 if test "x$ac_cv_header_machine_apmvar_h" = xyes
; then :
22324 ac_fn_c_check_header_mongrel
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
22325 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
22326 ac_cv_BSD_KQUEUE_APM
=yes
22336 if test "x$ac_cv_BSD_APM" = xyes
; then
22344 if test "x$ac_cv_BSD_KQUEUE_APM" = xyes
; then
22345 BSD_KQUEUE_APM_TRUE
=
22346 BSD_KQUEUE_APM_FALSE
='#'
22348 BSD_KQUEUE_APM_TRUE
='#'
22349 BSD_KQUEUE_APM_FALSE
=
22353 ac_fn_c_check_header_mongrel
"$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
22354 if test "x$ac_cv_header_execinfo_h" = xyes
; then :
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lc" >&5
22357 $as_echo_n "checking for backtrace in -lc... " >&6; }
22358 if ${ac_cv_lib_c_backtrace+:} false
; then :
22359 $as_echo_n "(cached) " >&6
22361 ac_check_lib_save_LIBS
=$LIBS
22363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22366 /* Override any GCC internal prototype to avoid an error.
22367 Use char because int might match the return type of a GCC
22368 builtin and then its argument prototype would still apply. */
22376 return backtrace ();
22381 if ac_fn_c_try_link
"$LINENO"; then :
22382 ac_cv_lib_c_backtrace
=yes
22384 ac_cv_lib_c_backtrace
=no
22386 rm -f core conftest.err conftest.
$ac_objext \
22387 conftest
$ac_exeext conftest.
$ac_ext
22388 LIBS
=$ac_check_lib_save_LIBS
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_backtrace" >&5
22391 $as_echo "$ac_cv_lib_c_backtrace" >&6; }
22392 if test "x$ac_cv_lib_c_backtrace" = xyes
; then :
22395 $as_echo "#define HAVE_BACKTRACE 1" >>confdefs.h
22398 $as_echo "#define HAVE_EXECINFO_H 1" >>confdefs.h
22408 DEFAULT_INT10
="x86emu"
22415 *freebsd
*) SYS_LIBS
=-lio ;;
22417 $as_echo "#define USE_ALPHA_PIO 1" >>confdefs.h
22420 GLX_ARCH_DEFINES
="-D__GLX_ALIGN64 -mieee"
22428 *freebsd
*) $as_echo "#define USE_DEV_IO 1" >>confdefs.h
22430 *dragonfly
*) $as_echo "#define USE_DEV_IO 1" >>confdefs.h
22432 *netbsd
*) $as_echo "#define USE_I386_IOPL 1" >>confdefs.h
22436 *openbsd
*) $as_echo "#define USE_I386_IOPL 1" >>confdefs.h
22445 *freebsd
*) DEFAULT_INT10
=stub
;;
22450 BSD_ARCH_SOURCES
="sparc64_video.c ioperm_noop.c"
22451 GLX_ARCH_DEFINES
="-D__GLX_ALIGN64"
22457 $as_echo "#define USE_DEV_IO 1" >>confdefs.h
22460 $as_echo "#define USE_DEV_IO 1" >>confdefs.h
22463 $as_echo "#define USE_I386_IOPL 1" >>confdefs.h
22468 $as_echo "#define USE_AMD64_IOPL 1" >>confdefs.h
22473 GLX_ARCH_DEFINES
="-D__GLX_ALIGN64"
22476 GLX_ARCH_DEFINES
="-D__GLX_ALIGN64"
22479 GLX_ARCH_DEFINES
="-D__GLX_ALIGN64"
22484 if test "x$ALPHA_VIDEO" = xyes
; then
22486 ALPHA_VIDEO_FALSE
='#'
22488 ALPHA_VIDEO_TRUE
='#'
22492 if test "x$ARM_VIDEO" = xyes
; then
22494 ARM_VIDEO_FALSE
='#'
22500 if test "x$I386_VIDEO" = xyes
; then
22502 I386_VIDEO_FALSE
='#'
22504 I386_VIDEO_TRUE
='#'
22508 if test "x$PPC_VIDEO" = xyes
; then
22510 PPC_VIDEO_FALSE
='#'
22516 if test "x$SPARC64_VIDEO" = xyes
; then
22517 SPARC64_VIDEO_TRUE
=
22518 SPARC64_VIDEO_FALSE
='#'
22520 SPARC64_VIDEO_TRUE
='#'
22521 SPARC64_VIDEO_FALSE
=
22526 USE_SIGIO_BY_DEFAULT
="yes"
22528 *freebsd
* |
*dragonfly
*)
22532 $as_echo "#define CSRG_BASED 1" >>confdefs.h
22536 $as_echo "#define PCCONS_SUPPORT 1" >>confdefs.h
22539 $as_echo "#define PCVT_SUPPORT 1" >>confdefs.h
22542 $as_echo "#define SYSCONS_SUPPORT 1" >>confdefs.h
22548 $as_echo "#define CSRG_BASED 1" >>confdefs.h
22551 $as_echo "#define PCCONS_SUPPORT 1" >>confdefs.h
22554 $as_echo "#define PCVT_SUPPORT 1" >>confdefs.h
22557 $as_echo "#define WSCONS_SUPPORT 1" >>confdefs.h
22563 $as_echo "#define CSRG_BASED 1" >>confdefs.h
22566 $as_echo "#define PCVT_SUPPORT 1" >>confdefs.h
22569 $as_echo "#define WSCONS_SUPPORT 1" >>confdefs.h
22576 if test -n "$PKG_CONFIG" && \
22577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm\""; } >&5
22578 ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5
22580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22581 test $ac_status = 0; }; then
22586 # Disable use of SIGIO by default until some system bugs are
22587 # fixed - see Sun/OpenSolaris bug id 6879897
22588 USE_SIGIO_BY_DEFAULT
="no"
22592 $as_echo "#define CSRG_BASED 1" >>confdefs.h
22596 CFLAGS
="$CFLAGS -DFD_SETSIZE=256"
22600 PVMAJOR
=`echo $PACKAGE_VERSION | cut -d . -f 1`
22601 PVS
=`echo $PACKAGE_VERSION | cut -d . -f 4 | cut -d - -f 1`
22602 if test "x$PVS" = "x"; then
22606 VENDOR_RELEASE
="((($PVMAJOR) * 10000000) + (($PVM) * 100000) + (($PVP) * 1000) + $PVS)"
22607 VENDOR_MAN_VERSION
="Version ${PACKAGE_VERSION}"
22609 VENDOR_NAME
="The X.Org Foundation"
22610 VENDOR_NAME_SHORT
="X.Org"
22611 VENDOR_WEB
="http://wiki.x.org"
22615 # Check whether --enable-werror was given.
22616 if test "${enable_werror+set}" = set; then :
22617 enableval
=$enable_werror; as_fn_error $?
"--enable-werror has been replaced by --enable-strict-compilation" "$LINENO" 5
22621 # Check whether --enable-debug was given.
22622 if test "${enable_debug+set}" = set; then :
22623 enableval
=$enable_debug; DEBUGGING
=$enableval
22628 # Check whether --enable-use-sigio-by-default was given.
22629 if test "${enable_use_sigio_by_default+set}" = set; then :
22630 enableval
=$enable_use_sigio_by_default; USE_SIGIO_BY_DEFAULT
=$enableval
22634 # Check whether --with-int10 was given.
22635 if test "${with_int10+set}" = set; then :
22636 withval
=$with_int10; INT10
="$withval"
22638 INT10
="$DEFAULT_INT10"
22642 # Check whether --with-vendor-name was given.
22643 if test "${with_vendor_name+set}" = set; then :
22644 withval
=$with_vendor_name; VENDOR_NAME
="$withval"
22648 # Check whether --with-vendor-name-short was given.
22649 if test "${with_vendor_name_short+set}" = set; then :
22650 withval
=$with_vendor_name_short; VENDOR_NAME_SHORT
="$withval"
22654 # Check whether --with-vendor-web was given.
22655 if test "${with_vendor_web+set}" = set; then :
22656 withval
=$with_vendor_web; VENDOR_WEB
="$withval"
22660 # Check whether --with-module-dir was given.
22661 if test "${with_module_dir+set}" = set; then :
22662 withval
=$with_module_dir; moduledir
="$withval"
22664 moduledir
="${libdir}/xorg/modules"
22668 # Check whether --with-log-dir was given.
22669 if test "${with_log_dir+set}" = set; then :
22670 withval
=$with_log_dir; logdir
="$withval"
22672 logdir
="$localstatedir/log"
22676 # Check whether --with-builder-addr was given.
22677 if test "${with_builder_addr+set}" = set; then :
22678 withval
=$with_builder_addr; BUILDERADDR
="$withval"
22680 BUILDERADDR
="xorg@lists.freedesktop.org"
22684 # Check whether --with-os-name was given.
22685 if test "${with_os_name+set}" = set; then :
22686 withval
=$with_os_name; OSNAME
="$withval"
22688 OSNAME
=`uname -srm`
22692 # Check whether --with-os-vendor was given.
22693 if test "${with_os_vendor+set}" = set; then :
22694 withval
=$with_os_vendor; OSVENDOR
="$withval"
22700 # Check whether --with-builderstring was given.
22701 if test "${with_builderstring+set}" = set; then :
22702 withval
=$with_builderstring; BUILDERSTRING
="$withval"
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
22711 $as_echo_n "checking for root directory for font files... " >&6; }
22713 # Check whether --with-fontrootdir was given.
22714 if test "${with_fontrootdir+set}" = set; then :
22715 withval
=$with_fontrootdir; FONTROOTDIR
="$withval"
22718 # if --with-fontrootdir not specified...
22719 if test "x${FONTROOTDIR}" = "x"; then
22720 FONTROOTDIR
=`$PKG_CONFIG --variable=fontrootdir fontutil`
22722 # ...and if pkg-config didn't find fontdir in fontutil.pc...
22723 if test "x${FONTROOTDIR}" = "x"; then
22724 FONTROOTDIR
="${datadir}/fonts/X11"
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
22728 $as_echo "${FONTROOTDIR}" >&6; }
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
22734 $as_echo_n "checking for directory for misc files... " >&6; }
22736 # Check whether --with-fontmiscdir was given.
22737 if test "${with_fontmiscdir+set}" = set; then :
22738 withval
=$with_fontmiscdir; FONTMISCDIR
="${withval}"
22740 FONTMISCDIR
='${FONTROOTDIR}/misc'
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTMISCDIR}" >&5
22745 $as_echo "${FONTMISCDIR}" >&6; }
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for OTF files" >&5
22751 $as_echo_n "checking for directory for OTF files... " >&6; }
22753 # Check whether --with-fontotfdir was given.
22754 if test "${with_fontotfdir+set}" = set; then :
22755 withval
=$with_fontotfdir; FONTOTFDIR
="${withval}"
22757 FONTOTFDIR
='${FONTROOTDIR}/OTF'
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTOTFDIR}" >&5
22762 $as_echo "${FONTOTFDIR}" >&6; }
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5
22768 $as_echo_n "checking for directory for TTF files... " >&6; }
22770 # Check whether --with-fontttfdir was given.
22771 if test "${with_fontttfdir+set}" = set; then :
22772 withval
=$with_fontttfdir; FONTTTFDIR
="${withval}"
22774 FONTTTFDIR
='${FONTROOTDIR}/TTF'
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTTFDIR}" >&5
22779 $as_echo "${FONTTTFDIR}" >&6; }
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for Type1 files" >&5
22785 $as_echo_n "checking for directory for Type1 files... " >&6; }
22787 # Check whether --with-fonttype1dir was given.
22788 if test "${with_fonttype1dir+set}" = set; then :
22789 withval
=$with_fonttype1dir; FONTTYPE1DIR
="${withval}"
22791 FONTTYPE1DIR
='${FONTROOTDIR}/Type1'
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTYPE1DIR}" >&5
22796 $as_echo "${FONTTYPE1DIR}" >&6; }
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5
22802 $as_echo_n "checking for directory for 75dpi files... " >&6; }
22804 # Check whether --with-font75dpidir was given.
22805 if test "${with_font75dpidir+set}" = set; then :
22806 withval
=$with_font75dpidir; FONT75DPIDIR
="${withval}"
22808 FONT75DPIDIR
='${FONTROOTDIR}/75dpi'
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT75DPIDIR}" >&5
22813 $as_echo "${FONT75DPIDIR}" >&6; }
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
22819 $as_echo_n "checking for directory for 100dpi files... " >&6; }
22821 # Check whether --with-font100dpidir was given.
22822 if test "${with_font100dpidir+set}" = set; then :
22823 withval
=$with_font100dpidir; FONT100DPIDIR
="${withval}"
22825 FONT100DPIDIR
='${FONTROOTDIR}/100dpi'
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT100DPIDIR}" >&5
22830 $as_echo "${FONT100DPIDIR}" >&6; }
22833 DEFAULT_FONT_PATH
="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
22834 if test "$cross_compiling" != yes; then
22835 as_ac_File
=`$as_echo "ac_cv_file_${sysconfdir}/X11/fontpath.d" | $as_tr_sh`
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sysconfdir}/X11/fontpath.d" >&5
22837 $as_echo_n "checking for ${sysconfdir}/X11/fontpath.d... " >&6; }
22838 if eval \
${$as_ac_File+:} false
; then :
22839 $as_echo_n "(cached) " >&6
22841 test "$cross_compiling" = yes &&
22842 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
22843 if test -r "${sysconfdir}/X11/fontpath.d"; then
22844 eval "$as_ac_File=yes"
22846 eval "$as_ac_File=no"
22849 eval ac_res
=\$
$as_ac_File
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22851 $as_echo "$ac_res" >&6; }
22852 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
22853 DEFAULT_FONT_PATH
='catalogue:${sysconfdir}/X11/fontpath.d'
22856 darwin
*) DEFAULT_FONT_PATH
="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
22862 # Check whether --with-default-font-path was given.
22863 if test "${with_default_font_path+set}" = set; then :
22864 withval
=$with_default_font_path; FONTPATH
="$withval"
22866 FONTPATH
="${DEFAULT_FONT_PATH}"
22870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default font path" >&5
22871 $as_echo_n "checking for default font path... " >&6; }
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTPATH" >&5
22873 $as_echo "$FONTPATH" >&6; }
22876 # Check whether --with-xkb-path was given.
22877 if test "${with_xkb_path+set}" = set; then :
22878 withval
=$with_xkb_path; XKBPATH
="$withval"
22880 XKBPATH
="${datadir}/X11/xkb"
22884 # Check whether --with-xkb-output was given.
22885 if test "${with_xkb_output+set}" = set; then :
22886 withval
=$with_xkb_output; XKBOUTPUT
="$withval"
22888 XKBOUTPUT
="compiled"
22892 # Check whether --with-default-xkb-rules was given.
22893 if test "${with_default_xkb_rules+set}" = set; then :
22894 withval
=$with_default_xkb_rules; XKB_DFLT_RULES
="$withval"
22900 # Check whether --with-default-xkb-model was given.
22901 if test "${with_default_xkb_model+set}" = set; then :
22902 withval
=$with_default_xkb_model; XKB_DFLT_MODEL
="$withval"
22904 XKB_DFLT_MODEL
="pc105"
22908 # Check whether --with-default-xkb-layout was given.
22909 if test "${with_default_xkb_layout+set}" = set; then :
22910 withval
=$with_default_xkb_layout; XKB_DFLT_LAYOUT
="$withval"
22912 XKB_DFLT_LAYOUT
="us"
22916 # Check whether --with-default-xkb-variant was given.
22917 if test "${with_default_xkb_variant+set}" = set; then :
22918 withval
=$with_default_xkb_variant; XKB_DFLT_VARIANT
="$withval"
22920 XKB_DFLT_VARIANT
=""
22924 # Check whether --with-default-xkb-options was given.
22925 if test "${with_default_xkb_options+set}" = set; then :
22926 withval
=$with_default_xkb_options; XKB_DFLT_OPTIONS
="$withval"
22928 XKB_DFLT_OPTIONS
=""
22932 # Check whether --with-serverconfig-path was given.
22933 if test "${with_serverconfig_path+set}" = set; then :
22934 withval
=$with_serverconfig_path; SERVERCONFIG
="$withval"
22936 SERVERCONFIG
="${libdir}/xorg"
22940 # Check whether --with-apple-applications-dir was given.
22941 if test "${with_apple_applications_dir+set}" = set; then :
22942 withval
=$with_apple_applications_dir; APPLE_APPLICATIONS_DIR
="${withval}"
22944 APPLE_APPLICATIONS_DIR
="/Applications/Utilities"
22949 # Check whether --with-apple-application-name was given.
22950 if test "${with_apple_application_name+set}" = set; then :
22951 withval
=$with_apple_application_name; APPLE_APPLICATION_NAME
="${withval}"
22953 APPLE_APPLICATION_NAME
="X11"
22958 # Check whether --with-launchd-id-prefix was given.
22959 if test "${with_launchd_id_prefix+set}" = set; then :
22960 withval
=$with_launchd_id_prefix; BUNDLE_ID_PREFIX
="${withval}"
22962 BUNDLE_ID_PREFIX
="org.x"
22966 # Check whether --with-bundle-id-prefix was given.
22967 if test "${with_bundle_id_prefix+set}" = set; then :
22968 withval
=$with_bundle_id_prefix; BUNDLE_ID_PREFIX
="${withval}"
22973 cat >>confdefs.h
<<_ACEOF
22974 #define BUNDLE_ID_PREFIX "$BUNDLE_ID_PREFIX"
22977 # Check whether --enable-sparkle was given.
22978 if test "${enable_sparkle+set}" = set; then :
22979 enableval
=$enable_sparkle; XQUARTZ_SPARKLE
="${enableval}"
22981 XQUARTZ_SPARKLE
="no"
22985 # Check whether --enable-install-libxf86config was given.
22986 if test "${enable_install_libxf86config+set}" = set; then :
22987 enableval
=$enable_install_libxf86config; INSTALL_LIBXF86CONFIG
=$enableval
22989 INSTALL_LIBXF86CONFIG
=no
22992 # Check whether --enable-visibility was given.
22993 if test "${enable_visibility+set}" = set; then :
22994 enableval
=$enable_visibility; SYMBOL_VISIBILITY
=$enableval
22996 SYMBOL_VISIBILITY
=auto
23000 # Check whether --enable-aiglx was given.
23001 if test "${enable_aiglx+set}" = set; then :
23002 enableval
=$enable_aiglx; AIGLX
=$enableval
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) support" >&5
23010 $as_echo_n "checking for thread local storage (TLS) support... " >&6; }
23011 if ${ac_cv_tls+:} false
; then :
23012 $as_echo_n "(cached) " >&6
23016 keywords
="__thread __declspec(thread)"
23017 for kw
in $keywords ; do
23018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23029 if ac_fn_c_try_compile
"$LINENO"; then :
23030 ac_cv_tls
=$kw ; break ;
23032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
23038 $as_echo "$ac_cv_tls" >&6; }
23040 if test "$ac_cv_tls" != "none"; then
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tls_model attribute support" >&5
23042 $as_echo_n "checking for tls_model attribute support... " >&6; }
23043 if ${ac_cv_tls_model+:} false
; then :
23044 $as_echo_n "(cached) " >&6
23047 save_CFLAGS
="$CFLAGS"
23048 CFLAGS
="$CFLAGS $STRICT_CFLAGS"
23049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23050 /* end confdefs.h. */
23051 int $ac_cv_tls __attribute__((tls_model("initial-exec"))) test;
23060 if ac_fn_c_try_compile
"$LINENO"; then :
23061 ac_cv_tls_model
=yes
23065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23066 CFLAGS
="$save_CFLAGS"
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls_model" >&5
23071 $as_echo "$ac_cv_tls_model" >&6; }
23073 if test "x$ac_cv_tls_model" = "xyes" ; then
23074 xorg_tls
=$ac_cv_tls' __attribute__((tls_model("initial-exec")))'
23076 xorg_tls
=$ac_cv_tls
23080 cat >>confdefs.h
<<_ACEOF
23081 #define TLS $xorg_tls
23086 # Check whether --enable-glx-tls was given.
23087 if test "${enable_glx_tls+set}" = set; then :
23088 enableval
=$enable_glx_tls; GLX_USE_TLS
=$enableval
23089 if test "x$GLX_USE_TLS" = "xyes" && test "${ac_cv_tls}" = "none" ; then
23090 as_fn_error $?
"GLX with TLS support requested, but the compiler does not support it." "$LINENO" 5
23094 if test "${ac_cv_tls}" != "none" ; then
23099 GLX_TLS
=${GLX_USE_TLS}
23102 # Check whether --with-khronos-spec-dir was given.
23103 if test "${with_khronos_spec_dir+set}" = set; then :
23104 withval
=$with_khronos_spec_dir; KHRONOS_SPEC_DIR
="${withval}"
23106 KHRONOS_SPEC_DIR
=auto
23110 # Check whether --enable-registry was given.
23111 if test "${enable_registry+set}" = set; then :
23112 enableval
=$enable_registry; XREGISTRY
=$enableval
23117 # Check whether --enable-composite was given.
23118 if test "${enable_composite+set}" = set; then :
23119 enableval
=$enable_composite; COMPOSITE
=$enableval
23124 # Check whether --enable-mitshm was given.
23125 if test "${enable_mitshm+set}" = set; then :
23126 enableval
=$enable_mitshm; MITSHM
=$enableval
23131 # Check whether --enable-xres was given.
23132 if test "${enable_xres+set}" = set; then :
23133 enableval
=$enable_xres; RES
=$enableval
23138 # Check whether --enable-record was given.
23139 if test "${enable_record+set}" = set; then :
23140 enableval
=$enable_record; RECORD
=$enableval
23145 # Check whether --enable-xv was given.
23146 if test "${enable_xv+set}" = set; then :
23147 enableval
=$enable_xv; XV
=$enableval
23152 # Check whether --enable-xvmc was given.
23153 if test "${enable_xvmc+set}" = set; then :
23154 enableval
=$enable_xvmc; XVMC
=$enableval
23159 # Check whether --enable-dga was given.
23160 if test "${enable_dga+set}" = set; then :
23161 enableval
=$enable_dga; DGA
=$enableval
23166 # Check whether --enable-screensaver was given.
23167 if test "${enable_screensaver+set}" = set; then :
23168 enableval
=$enable_screensaver; SCREENSAVER
=$enableval
23173 # Check whether --enable-xdmcp was given.
23174 if test "${enable_xdmcp+set}" = set; then :
23175 enableval
=$enable_xdmcp; XDMCP
=$enableval
23180 # Check whether --enable-xdm-auth-1 was given.
23181 if test "${enable_xdm_auth_1+set}" = set; then :
23182 enableval
=$enable_xdm_auth_1; XDMAUTH
=$enableval
23187 # Check whether --enable-glx was given.
23188 if test "${enable_glx+set}" = set; then :
23189 enableval
=$enable_glx; GLX
=$enableval
23194 # Check whether --enable-dri was given.
23195 if test "${enable_dri+set}" = set; then :
23196 enableval
=$enable_dri; DRI
=$enableval
23199 # Check whether --enable-dri2 was given.
23200 if test "${enable_dri2+set}" = set; then :
23201 enableval
=$enable_dri2; DRI2
=$enableval
23206 # Check whether --enable-dri3 was given.
23207 if test "${enable_dri3+set}" = set; then :
23208 enableval
=$enable_dri3; DRI3
=$enableval
23213 # Check whether --enable-present was given.
23214 if test "${enable_present+set}" = set; then :
23215 enableval
=$enable_present; PRESENT
=$enableval
23220 # Check whether --enable-xinerama was given.
23221 if test "${enable_xinerama+set}" = set; then :
23222 enableval
=$enable_xinerama; XINERAMA
=$enableval
23227 # Check whether --enable-xf86vidmode was given.
23228 if test "${enable_xf86vidmode+set}" = set; then :
23229 enableval
=$enable_xf86vidmode; XF86VIDMODE
=$enableval
23234 # Check whether --enable-xace was given.
23235 if test "${enable_xace+set}" = set; then :
23236 enableval
=$enable_xace; XACE
=$enableval
23241 # Check whether --enable-xselinux was given.
23242 if test "${enable_xselinux+set}" = set; then :
23243 enableval
=$enable_xselinux; XSELINUX
=$enableval
23248 # Check whether --enable-xcsecurity was given.
23249 if test "${enable_xcsecurity+set}" = set; then :
23250 enableval
=$enable_xcsecurity; XCSECURITY
=$enableval
23255 # Check whether --enable-tslib was given.
23256 if test "${enable_tslib+set}" = set; then :
23257 enableval
=$enable_tslib; TSLIB
=$enableval
23262 # Check whether --enable-dbe was given.
23263 if test "${enable_dbe+set}" = set; then :
23264 enableval
=$enable_dbe; DBE
=$enableval
23269 # Check whether --enable-xf86bigfont was given.
23270 if test "${enable_xf86bigfont+set}" = set; then :
23271 enableval
=$enable_xf86bigfont; XF86BIGFONT
=$enableval
23276 # Check whether --enable-dpms was given.
23277 if test "${enable_dpms+set}" = set; then :
23278 enableval
=$enable_dpms; DPMSExtension
=$enableval
23283 # Check whether --enable-config-udev was given.
23284 if test "${enable_config_udev+set}" = set; then :
23285 enableval
=$enable_config_udev; CONFIG_UDEV
=$enableval
23290 # Check whether --enable-config-udev-kms was given.
23291 if test "${enable_config_udev_kms+set}" = set; then :
23292 enableval
=$enable_config_udev_kms; CONFIG_UDEV_KMS
=$enableval
23294 CONFIG_UDEV_KMS
=auto
23297 # Check whether --enable-config-dbus was given.
23298 if test "${enable_config_dbus+set}" = set; then :
23299 enableval
=$enable_config_dbus; CONFIG_DBUS_API
=$enableval
23304 # Check whether --enable-config-hal was given.
23305 if test "${enable_config_hal+set}" = set; then :
23306 enableval
=$enable_config_hal; CONFIG_HAL
=$enableval
23311 # Check whether --enable-config-wscons was given.
23312 if test "${enable_config_wscons+set}" = set; then :
23313 enableval
=$enable_config_wscons; CONFIG_WSCONS
=$enableval
23318 # Check whether --enable-xfree86-utils was given.
23319 if test "${enable_xfree86_utils+set}" = set; then :
23320 enableval
=$enable_xfree86_utils; XF86UTILS
=$enableval
23325 # Check whether --enable-vgahw was given.
23326 if test "${enable_vgahw+set}" = set; then :
23327 enableval
=$enable_vgahw; VGAHW
=$enableval
23332 # Check whether --enable-vbe was given.
23333 if test "${enable_vbe+set}" = set; then :
23334 enableval
=$enable_vbe; VBE
=$enableval
23339 # Check whether --enable-int10-module was given.
23340 if test "${enable_int10_module+set}" = set; then :
23341 enableval
=$enable_int10_module; INT10MODULE
=$enableval
23346 # Check whether --enable-windowswm was given.
23347 if test "${enable_windowswm+set}" = set; then :
23348 enableval
=$enable_windowswm; WINDOWSWM
=$enableval
23353 # Check whether --enable-libdrm was given.
23354 if test "${enable_libdrm+set}" = set; then :
23355 enableval
=$enable_libdrm; DRM
=$enableval
23360 # Check whether --enable-clientids was given.
23361 if test "${enable_clientids+set}" = set; then :
23362 enableval
=$enable_clientids; CLIENTIDS
=$enableval
23367 # Check whether --enable-pciaccess was given.
23368 if test "${enable_pciaccess+set}" = set; then :
23369 enableval
=$enable_pciaccess; PCI
=$enableval
23374 # Check whether --enable-linux_acpi was given.
23375 if test "${enable_linux_acpi+set}" = set; then :
23376 enableval
=$enable_linux_acpi; enable_linux_acpi
=$enableval
23378 enable_linux_acpi
=yes
23381 # Check whether --enable-linux_apm was given.
23382 if test "${enable_linux_apm+set}" = set; then :
23383 enableval
=$enable_linux_apm; enable_linux_apm
=$enableval
23385 enable_linux_apm
=yes
23389 # Check whether --enable-xorg was given.
23390 if test "${enable_xorg+set}" = set; then :
23391 enableval
=$enable_xorg; XORG
=$enableval
23396 # Check whether --enable-dmx was given.
23397 if test "${enable_dmx+set}" = set; then :
23398 enableval
=$enable_dmx; DMX
=$enableval
23403 # Check whether --enable-xvfb was given.
23404 if test "${enable_xvfb+set}" = set; then :
23405 enableval
=$enable_xvfb; XVFB
=$enableval
23410 # Check whether --enable-xnest was given.
23411 if test "${enable_xnest+set}" = set; then :
23412 enableval
=$enable_xnest; XNEST
=$enableval
23417 # Check whether --enable-xquartz was given.
23418 if test "${enable_xquartz+set}" = set; then :
23419 enableval
=$enable_xquartz; XQUARTZ
=$enableval
23424 # Check whether --enable-standalone-xpbproxy was given.
23425 if test "${enable_standalone_xpbproxy+set}" = set; then :
23426 enableval
=$enable_standalone_xpbproxy; STANDALONE_XPBPROXY
=$enableval
23428 STANDALONE_XPBPROXY
=no
23431 # Check whether --enable-xwin was given.
23432 if test "${enable_xwin+set}" = set; then :
23433 enableval
=$enable_xwin; XWIN
=$enableval
23438 # Check whether --enable-kdrive was given.
23439 if test "${enable_kdrive+set}" = set; then :
23440 enableval
=$enable_kdrive; KDRIVE
=$enableval
23445 # Check whether --enable-xephyr was given.
23446 if test "${enable_xephyr+set}" = set; then :
23447 enableval
=$enable_xephyr; XEPHYR
=$enableval
23452 # Check whether --enable-xfake was given.
23453 if test "${enable_xfake+set}" = set; then :
23454 enableval
=$enable_xfake; XFAKE
=$enableval
23459 # Check whether --enable-xfbdev was given.
23460 if test "${enable_xfbdev+set}" = set; then :
23461 enableval
=$enable_xfbdev; XFBDEV
=$enableval
23466 # Check whether --enable-kdrive-kbd was given.
23467 if test "${enable_kdrive_kbd+set}" = set; then :
23468 enableval
=$enable_kdrive_kbd; KDRIVE_KBD
=$enableval
23473 # Check whether --enable-kdrive-mouse was given.
23474 if test "${enable_kdrive_mouse+set}" = set; then :
23475 enableval
=$enable_kdrive_mouse; KDRIVE_MOUSE
=$enableval
23480 # Check whether --enable-kdrive-evdev was given.
23481 if test "${enable_kdrive_evdev+set}" = set; then :
23482 enableval
=$enable_kdrive_evdev; KDRIVE_EVDEV
=$enableval
23487 # Check whether --enable-libunwind was given.
23488 if test "${enable_libunwind+set}" = set; then :
23489 enableval
=$enable_libunwind; LIBUNWIND
="$enableval"
23496 # Check whether --enable-install-setuid was given.
23497 if test "${enable_install_setuid+set}" = set; then :
23498 enableval
=$enable_install_setuid; SETUID
=$enableval
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if we can install the Xorg server as root" >&5
23504 $as_echo_n "checking to see if we can install the Xorg server as root... " >&6; }
23505 if test "x$SETUID" = "xauto" ; then
23507 cygwin
*) SETUID
="no" ;;
23508 mingw
*) SETUID
="no" ;;
23509 darwin
*) SETUID
="no" ;;
23512 sparc
) SETUID
="no" ;;
23516 if test "x$SETUID" = xyes
; then
23518 chown root testfile
> /dev
/null
2>&1 || SETUID
="no"
23522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETUID" >&5
23523 $as_echo "$SETUID" >&6; }
23524 if test "x$SETUID" = "xyes"; then
23525 INSTALL_SETUID_TRUE
=
23526 INSTALL_SETUID_FALSE
='#'
23528 INSTALL_SETUID_TRUE
='#'
23529 INSTALL_SETUID_FALSE
=
23535 # Transport selection macro from xtrans.m4
23539 mingw
*) unixdef
="no" ;;
23540 *) unixdef
="yes" ;;
23542 # Check whether --enable-unix-transport was given.
23543 if test "${enable_unix_transport+set}" = set; then :
23544 enableval
=$enable_unix_transport; UNIXCONN
=$enableval
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
23550 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
23551 if test "$UNIXCONN" = "yes"; then
23553 $as_echo "#define UNIXCONN 1" >>confdefs.h
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
23557 $as_echo "$UNIXCONN" >&6; }
23558 # Check whether --enable-tcp-transport was given.
23559 if test "${enable_tcp_transport+set}" = set; then :
23560 enableval
=$enable_tcp_transport; TCPCONN
=$enableval
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
23566 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
23568 $as_echo "$TCPCONN" >&6; }
23569 if test "$TCPCONN" = "yes"; then
23571 $as_echo "#define TCPCONN 1" >>confdefs.h
23574 # SVR4 hides these in libraries other than libc
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
23576 $as_echo_n "checking for library containing socket... " >&6; }
23577 if ${ac_cv_search_socket+:} false
; then :
23578 $as_echo_n "(cached) " >&6
23580 ac_func_search_save_LIBS
=$LIBS
23581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23584 /* Override any GCC internal prototype to avoid an error.
23585 Use char because int might match the return type of a GCC
23586 builtin and then its argument prototype would still apply. */
23599 for ac_lib
in '' socket
; do
23600 if test -z "$ac_lib"; then
23601 ac_res
="none required"
23604 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23606 if ac_fn_c_try_link
"$LINENO"; then :
23607 ac_cv_search_socket
=$ac_res
23609 rm -f core conftest.err conftest.
$ac_objext \
23611 if ${ac_cv_search_socket+:} false
; then :
23615 if ${ac_cv_search_socket+:} false
; then :
23618 ac_cv_search_socket
=no
23620 rm conftest.
$ac_ext
23621 LIBS
=$ac_func_search_save_LIBS
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
23624 $as_echo "$ac_cv_search_socket" >&6; }
23625 ac_res
=$ac_cv_search_socket
23626 if test "$ac_res" != no
; then :
23627 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
23632 $as_echo_n "checking for library containing gethostbyname... " >&6; }
23633 if ${ac_cv_search_gethostbyname+:} false
; then :
23634 $as_echo_n "(cached) " >&6
23636 ac_func_search_save_LIBS
=$LIBS
23637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23638 /* end confdefs.h. */
23640 /* Override any GCC internal prototype to avoid an error.
23641 Use char because int might match the return type of a GCC
23642 builtin and then its argument prototype would still apply. */
23646 char gethostbyname ();
23650 return gethostbyname ();
23655 for ac_lib
in '' nsl
; do
23656 if test -z "$ac_lib"; then
23657 ac_res
="none required"
23660 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23662 if ac_fn_c_try_link
"$LINENO"; then :
23663 ac_cv_search_gethostbyname
=$ac_res
23665 rm -f core conftest.err conftest.
$ac_objext \
23667 if ${ac_cv_search_gethostbyname+:} false
; then :
23671 if ${ac_cv_search_gethostbyname+:} false
; then :
23674 ac_cv_search_gethostbyname
=no
23676 rm conftest.
$ac_ext
23677 LIBS
=$ac_func_search_save_LIBS
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
23680 $as_echo "$ac_cv_search_gethostbyname" >&6; }
23681 ac_res
=$ac_cv_search_gethostbyname
23682 if test "$ac_res" != no
; then :
23683 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23687 if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
23688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
23689 $as_echo_n "checking for main in -lws2_32... " >&6; }
23690 if ${ac_cv_lib_ws2_32_main+:} false
; then :
23691 $as_echo_n "(cached) " >&6
23693 ac_check_lib_save_LIBS
=$LIBS
23694 LIBS
="-lws2_32 $LIBS"
23695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23696 /* end confdefs.h. */
23707 if ac_fn_c_try_link
"$LINENO"; then :
23708 ac_cv_lib_ws2_32_main
=yes
23710 ac_cv_lib_ws2_32_main
=no
23712 rm -f core conftest.err conftest.
$ac_objext \
23713 conftest
$ac_exeext conftest.
$ac_ext
23714 LIBS
=$ac_check_lib_save_LIBS
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
23717 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
23718 if test "x$ac_cv_lib_ws2_32_main" = xyes
; then :
23719 cat >>confdefs.h
<<_ACEOF
23720 #define HAVE_LIBWS2_32 1
23723 LIBS
="-lws2_32 $LIBS"
23729 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
23730 # Check whether --enable-ipv6 was given.
23731 if test "${enable_ipv6+set}" = set; then :
23732 enableval
=$enable_ipv6; IPV6CONN
=$enableval
23734 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
23735 if test "x$ac_cv_func_getaddrinfo" = xyes
; then :
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
23744 $as_echo_n "checking if IPv6 support should be built... " >&6; }
23745 if test "$IPV6CONN" = "yes"; then
23747 $as_echo "#define IPv6 1" >>confdefs.h
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
23751 $as_echo "$IPV6CONN" >&6; }
23753 # 4.3BSD-Reno added a new member to struct sockaddr_in
23754 ac_fn_c_check_member
"$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
23755 #include <sys/types.h>
23756 #include <sys/socket.h>
23757 #include <netinet/in.h>
23760 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
; then :
23762 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
23767 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
23768 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
23769 $ac_includes_default
23770 #include <sys/socket.h>
23772 if test "x$ac_cv_type_socklen_t" = xyes
; then :
23774 cat >>confdefs.h
<<_ACEOF
23775 #define HAVE_SOCKLEN_T 1
23782 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
23783 # _XOPEN_SOURCE to get it (such as on Solaris)
23784 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
23785 $ac_includes_default
23786 #include <sys/socket.h>
23789 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
23793 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
23794 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno
; then
23795 unset ac_cv_member_struct_msghdr_msg_control
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
23797 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
23798 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
23799 #define _XOPEN_SOURCE 600
23800 $ac_includes_default
23801 #include <sys/socket.h>
23804 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
23806 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
23812 # If that didn't work, fall back to XPG5/UNIX98 with C89
23813 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno
; then
23814 unset ac_cv_member_struct_msghdr_msg_control
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
23816 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
23817 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
23818 #define _XOPEN_SOURCE 500
23819 $ac_includes_default
23820 #include <sys/socket.h>
23823 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
; then :
23825 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
23836 solaris
*|sco
*|sysv4
*) localdef
="yes" ;;
23837 *) localdef
="no" ;;
23839 # Check whether --enable-local-transport was given.
23840 if test "${enable_local_transport+set}" = set; then :
23841 enableval
=$enable_local_transport; LOCALCONN
=$enableval
23843 LOCALCONN
=$localdef
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
23847 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
23848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
23849 $as_echo "$LOCALCONN" >&6; }
23850 if test "$LOCALCONN" = "yes"; then
23852 $as_echo "#define LOCALCONN 1" >>confdefs.h
23858 # Secure RPC detection macro from xtrans.m4
23860 # Check whether --enable-secure-rpc was given.
23861 if test "${enable_secure_rpc+set}" = set; then :
23862 enableval
=$enable_secure_rpc; SECURE_RPC
=$enableval
23868 if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
23869 FOUND_SECURE_RPC
="no"
23870 for ac_func
in authdes_seccreate authdes_create
23872 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23873 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
23874 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
23875 cat >>confdefs.h
<<_ACEOF
23876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23878 FOUND_SECURE_RPC
="yes"
23882 if test "x$FOUND_SECURE_RPC" = "xno" ; then
23883 if test "x$SECURE_RPC" = "xyes" ; then
23884 as_fn_error $?
"Secure RPC requested, but required functions not found" "$LINENO" 5
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
23889 $as_echo_n "checking for library containing getsecretkey... " >&6; }
23890 if ${ac_cv_search_getsecretkey+:} false
; then :
23891 $as_echo_n "(cached) " >&6
23893 ac_func_search_save_LIBS
=$LIBS
23894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23897 /* Override any GCC internal prototype to avoid an error.
23898 Use char because int might match the return type of a GCC
23899 builtin and then its argument prototype would still apply. */
23903 char getsecretkey ();
23907 return getsecretkey ();
23912 for ac_lib
in '' rpcsvc
; do
23913 if test -z "$ac_lib"; then
23914 ac_res
="none required"
23917 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
23919 if ac_fn_c_try_link
"$LINENO"; then :
23920 ac_cv_search_getsecretkey
=$ac_res
23922 rm -f core conftest.err conftest.
$ac_objext \
23924 if ${ac_cv_search_getsecretkey+:} false
; then :
23928 if ${ac_cv_search_getsecretkey+:} false
; then :
23931 ac_cv_search_getsecretkey
=no
23933 rm conftest.
$ac_ext
23934 LIBS
=$ac_func_search_save_LIBS
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
23937 $as_echo "$ac_cv_search_getsecretkey" >&6; }
23938 ac_res
=$ac_cv_search_getsecretkey
23939 if test "$ac_res" != no
; then :
23940 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
23948 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
23949 if test "x$SECURE_RPC" = "xyes" ; then
23951 $as_echo "#define SECURE_RPC 1" >>confdefs.h
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
23955 $as_echo "$SECURE_RPC" >&6; }
23957 if test "x$SECURE_RPC" = xyes
; then
23959 SECURE_RPC_FALSE
='#'
23961 SECURE_RPC_TRUE
='#'
23966 if test "x$INT10" = xvm86
; then
23968 INT10_VM86_FALSE
='#'
23970 INT10_VM86_TRUE
='#'
23974 if test "x$INT10" = xx86emu
; then
23976 INT10_X86EMU_FALSE
='#'
23978 INT10_X86EMU_TRUE
='#'
23979 INT10_X86EMU_FALSE
=
23982 if test "x$INT10" = xstub
; then
23984 INT10_STUB_FALSE
='#'
23986 INT10_STUB_TRUE
='#'
23991 if test "x$INSTALL_LIBXF86CONFIG" = xyes
; then
23992 INSTALL_LIBXF86CONFIG_TRUE
=
23993 INSTALL_LIBXF86CONFIG_FALSE
='#'
23995 INSTALL_LIBXF86CONFIG_TRUE
='#'
23996 INSTALL_LIBXF86CONFIG_FALSE
=
24017 SYMBOL_VISIBILITY
=no
24028 if test x
$XQUARTZ = xauto
; then
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xquartz" >&5
24030 $as_echo_n "checking whether to build Xquartz... " >&6; }
24031 if ${xorg_cv_Carbon_framework+:} false
; then :
24032 $as_echo_n "(cached) " >&6
24035 save_LDFLAGS
=$LDFLAGS
24036 LDFLAGS
="$LDFLAGS -framework Carbon"
24037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24039 char FSFindFolder(); int main() { FSFindFolder(); return 0;}
24041 if ac_fn_c_try_link
"$LINENO"; then :
24042 xorg_cv_Carbon_framework
=yes
24044 xorg_cv_Carbon_framework
=no
24046 rm -f core conftest.err conftest.
$ac_objext \
24047 conftest
$ac_exeext conftest.
$ac_ext
24048 LDFLAGS
=$save_LDFLAGS
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_Carbon_framework" >&5
24051 $as_echo "$xorg_cv_Carbon_framework" >&6; }
24053 if test "X$xorg_cv_Carbon_framework" = Xyes
; then
24060 ac_fn_c_check_func
"$LINENO" "dispatch_async" "ac_cv_func_dispatch_async"
24061 if test "x$ac_cv_func_dispatch_async" = xyes
; then :
24063 $as_echo "#define HAVE_LIBDISPATCH 1" >>confdefs.h
24068 if test "x$XQUARTZ" = xyes
; then
24082 XEXT_INC
='-I$(top_srcdir)/Xext'
24083 XEXT_LIB
='$(top_builddir)/Xext/libXext.la'
24085 VIDEOPROTO
="videoproto"
24086 COMPOSITEPROTO
="compositeproto >= 0.4"
24087 RECORDPROTO
="recordproto >= 1.13.99.1"
24088 SCRNSAVERPROTO
="scrnsaverproto >= 1.1"
24089 RESOURCEPROTO
="resourceproto >= 1.2.0"
24090 DRIPROTO
="xf86driproto >= 2.1.0"
24091 DRI2PROTO
="dri2proto >= 2.8"
24092 DRI3PROTO
="dri3proto >= 1.0"
24093 XINERAMAPROTO
="xineramaproto"
24094 BIGFONTPROTO
="xf86bigfontproto >= 1.2.0"
24095 DGAPROTO
="xf86dgaproto >= 2.0.99.1"
24096 GLPROTO
="glproto >= 1.4.17"
24097 DMXPROTO
="dmxproto >= 2.2.99.1"
24098 VIDMODEPROTO
="xf86vidmodeproto >= 2.2.99.1"
24099 WINDOWSWMPROTO
="windowswmproto"
24100 APPLEWMPROTO
="applewmproto >= 1.4"
24101 XSHMFENCE
="xshmfence >= 1.1"
24103 XPROTO
="xproto >= 7.0.22"
24104 RANDRPROTO
="randrproto >= 1.4.0"
24105 RENDERPROTO
="renderproto >= 0.11"
24106 XEXTPROTO
="xextproto >= 7.2.99.901"
24107 INPUTPROTO
="inputproto >= 2.3"
24108 KBPROTO
="kbproto >= 1.0.3"
24109 FONTSPROTO
="fontsproto"
24110 FIXESPROTO
="fixesproto >= 5.0"
24111 DAMAGEPROTO
="damageproto >= 1.1"
24112 XCMISCPROTO
="xcmiscproto >= 1.2.0"
24113 BIGREQSPROTO
="bigreqsproto >= 1.1.0"
24114 XTRANS
="xtrans >= 1.3.2"
24115 PRESENTPROTO
="presentproto >= 1.0"
24117 LIBAPPLEWM
="applewm >= 1.4"
24118 LIBDMX
="dmx >= 1.0.99.1"
24119 LIBDRI
="dri >= 7.8.0"
24120 LIBDRM
="libdrm >= 2.3.0"
24121 LIBGL
="gl >= 7.1.0"
24122 LIBXEXT
="xext >= 1.0.99.4"
24123 LIBXFONT
="xfont >= 1.4.2"
24124 LIBXI
="xi >= 1.2.99.1"
24125 LIBXTST
="xtst >= 1.0.99.2"
24126 LIBPCIACCESS
="pciaccess >= 0.12.901"
24127 LIBUDEV
="libudev >= 143"
24128 LIBSELINUX
="libselinux >= 2.0.86"
24129 LIBDBUS
="dbus-1 >= 1.0"
24130 LIBPIXMAN
="pixman-1 >= 0.27.2"
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
24135 $as_echo_n "checking for PIXMAN... " >&6; }
24137 if test -n "$PIXMAN_CFLAGS"; then
24138 pkg_cv_PIXMAN_CFLAGS
="$PIXMAN_CFLAGS"
24139 elif test -n "$PKG_CONFIG"; then
24140 if test -n "$PKG_CONFIG" && \
24141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPIXMAN\""; } >&5
24142 ($PKG_CONFIG --exists --print-errors "$LIBPIXMAN") 2>&5
24144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24145 test $ac_status = 0; }; then
24146 pkg_cv_PIXMAN_CFLAGS
=`$PKG_CONFIG --cflags "$LIBPIXMAN" 2>/dev/null`
24153 if test -n "$PIXMAN_LIBS"; then
24154 pkg_cv_PIXMAN_LIBS
="$PIXMAN_LIBS"
24155 elif test -n "$PKG_CONFIG"; then
24156 if test -n "$PKG_CONFIG" && \
24157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPIXMAN\""; } >&5
24158 ($PKG_CONFIG --exists --print-errors "$LIBPIXMAN") 2>&5
24160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24161 test $ac_status = 0; }; then
24162 pkg_cv_PIXMAN_LIBS
=`$PKG_CONFIG --libs "$LIBPIXMAN" 2>/dev/null`
24172 if test $pkg_failed = yes; then
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24174 $as_echo "no" >&6; }
24176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24177 _pkg_short_errors_supported
=yes
24179 _pkg_short_errors_supported
=no
24181 if test $_pkg_short_errors_supported = yes; then
24182 PIXMAN_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBPIXMAN" 2>&1`
24184 PIXMAN_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBPIXMAN" 2>&1`
24186 # Put the nasty error message in config.log where it belongs
24187 echo "$PIXMAN_PKG_ERRORS" >&5
24189 as_fn_error $?
"Package requirements ($LIBPIXMAN) were not met:
24193 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24194 installed software in a non-standard prefix.
24196 Alternatively, you may set the environment variables PIXMAN_CFLAGS
24197 and PIXMAN_LIBS to avoid the need to call pkg-config.
24198 See the pkg-config man page for more details." "$LINENO" 5
24200 elif test $pkg_failed = untried
; then
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24202 $as_echo "no" >&6; }
24203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24205 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
24206 is in your PATH or set the PKG_CONFIG environment variable to the full
24207 path to pkg-config.
24209 Alternatively, you may set the environment variables PIXMAN_CFLAGS
24210 and PIXMAN_LIBS to avoid the need to call pkg-config.
24211 See the pkg-config man page for more details.
24213 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24214 See \`config.log' for more details" "$LINENO" 5; }
24217 PIXMAN_CFLAGS
=$pkg_cv_PIXMAN_CFLAGS
24218 PIXMAN_LIBS
=$pkg_cv_PIXMAN_LIBS
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24220 $as_echo "yes" >&6; }
24223 REQUIRED_LIBS
="$REQUIRED_LIBS $LIBPIXMAN $LIBXFONT xau"
24225 SDK_REQUIRED_MODULES
="$XPROTO $RANDRPROTO $RENDERPROTO $XEXTPROTO $INPUTPROTO $KBPROTO $FONTSPROTO $LIBPIXMAN"
24226 # Make SDK_REQUIRED_MODULES available for inclusion in xorg-server.pc
24229 REQUIRED_MODULES
="$FIXESPROTO $DAMAGEPROTO $XCMISCPROTO $XTRANS $BIGREQSPROTO $SDK_REQUIRED_MODULES"
24231 if test "x$CONFIG_UDEV" = xyes
&&
24232 { test "x$CONFIG_DBUS_API" = xyes ||
test "x$CONFIG_HAL" = xyes
; }; then
24233 as_fn_error $?
"Hotplugging through both libudev and dbus/hal not allowed" "$LINENO" 5
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
24239 $as_echo_n "checking for UDEV... " >&6; }
24241 if test -n "$UDEV_CFLAGS"; then
24242 pkg_cv_UDEV_CFLAGS
="$UDEV_CFLAGS"
24243 elif test -n "$PKG_CONFIG"; then
24244 if test -n "$PKG_CONFIG" && \
24245 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBUDEV\""; } >&5
24246 ($PKG_CONFIG --exists --print-errors "$LIBUDEV") 2>&5
24248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24249 test $ac_status = 0; }; then
24250 pkg_cv_UDEV_CFLAGS
=`$PKG_CONFIG --cflags "$LIBUDEV" 2>/dev/null`
24257 if test -n "$UDEV_LIBS"; then
24258 pkg_cv_UDEV_LIBS
="$UDEV_LIBS"
24259 elif test -n "$PKG_CONFIG"; then
24260 if test -n "$PKG_CONFIG" && \
24261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBUDEV\""; } >&5
24262 ($PKG_CONFIG --exists --print-errors "$LIBUDEV") 2>&5
24264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24265 test $ac_status = 0; }; then
24266 pkg_cv_UDEV_LIBS
=`$PKG_CONFIG --libs "$LIBUDEV" 2>/dev/null`
24276 if test $pkg_failed = yes; then
24277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24278 $as_echo "no" >&6; }
24280 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24281 _pkg_short_errors_supported
=yes
24283 _pkg_short_errors_supported
=no
24285 if test $_pkg_short_errors_supported = yes; then
24286 UDEV_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBUDEV" 2>&1`
24288 UDEV_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBUDEV" 2>&1`
24290 # Put the nasty error message in config.log where it belongs
24291 echo "$UDEV_PKG_ERRORS" >&5
24294 elif test $pkg_failed = untried
; then
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24296 $as_echo "no" >&6; }
24299 UDEV_CFLAGS
=$pkg_cv_UDEV_CFLAGS
24300 UDEV_LIBS
=$pkg_cv_UDEV_LIBS
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24302 $as_echo "yes" >&6; }
24305 if test "x$CONFIG_UDEV" = xauto
; then
24306 CONFIG_UDEV
="$HAVE_LIBUDEV"
24308 if test "x$CONFIG_UDEV" = xyes
; then
24310 CONFIG_UDEV_FALSE
='#'
24312 CONFIG_UDEV_TRUE
='#'
24316 if test "x$CONFIG_UDEV" = xyes
; then
24319 if test "x$CONFIG_UDEV_KMS" = xauto
; then
24320 CONFIG_UDEV_KMS
="$HAVE_LIBUDEV"
24322 if ! test "x$HAVE_LIBUDEV" = xyes
; then
24323 as_fn_error $?
"udev configuration API requested, but libudev is not installed" "$LINENO" 5
24326 $as_echo "#define CONFIG_UDEV 1" >>confdefs.h
24328 if test "x$CONFIG_UDEV_KMS" = xyes
; then
24330 $as_echo "#define CONFIG_UDEV_KMS 1" >>confdefs.h
24334 SAVE_CFLAGS
=$CFLAGS
24335 CFLAGS
=$UDEV_CFLAGS
24337 for ac_func
in udev_monitor_filter_add_match_tag
24339 ac_fn_c_check_func
"$LINENO" "udev_monitor_filter_add_match_tag" "ac_cv_func_udev_monitor_filter_add_match_tag"
24340 if test "x$ac_cv_func_udev_monitor_filter_add_match_tag" = xyes
; then :
24341 cat >>confdefs.h
<<_ACEOF
24342 #define HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG 1
24348 for ac_func
in udev_enumerate_add_match_tag
24350 ac_fn_c_check_func
"$LINENO" "udev_enumerate_add_match_tag" "ac_cv_func_udev_enumerate_add_match_tag"
24351 if test "x$ac_cv_func_udev_enumerate_add_match_tag" = xyes
; then :
24352 cat >>confdefs.h
<<_ACEOF
24353 #define HAVE_UDEV_ENUMERATE_ADD_MATCH_TAG 1
24360 CFLAGS
=$SAVE_CFLAGS
24362 if test "x$CONFIG_UDEV_KMS" = xyes
; then
24363 CONFIG_UDEV_KMS_TRUE
=
24364 CONFIG_UDEV_KMS_FALSE
='#'
24366 CONFIG_UDEV_KMS_TRUE
='#'
24367 CONFIG_UDEV_KMS_FALSE
=
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
24374 $as_echo_n "checking for DBUS... " >&6; }
24376 if test -n "$DBUS_CFLAGS"; then
24377 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
24378 elif test -n "$PKG_CONFIG"; then
24379 if test -n "$PKG_CONFIG" && \
24380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDBUS\""; } >&5
24381 ($PKG_CONFIG --exists --print-errors "$LIBDBUS") 2>&5
24383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24384 test $ac_status = 0; }; then
24385 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "$LIBDBUS" 2>/dev/null`
24392 if test -n "$DBUS_LIBS"; then
24393 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
24394 elif test -n "$PKG_CONFIG"; then
24395 if test -n "$PKG_CONFIG" && \
24396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDBUS\""; } >&5
24397 ($PKG_CONFIG --exists --print-errors "$LIBDBUS") 2>&5
24399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24400 test $ac_status = 0; }; then
24401 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "$LIBDBUS" 2>/dev/null`
24411 if test $pkg_failed = yes; then
24412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24413 $as_echo "no" >&6; }
24415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24416 _pkg_short_errors_supported
=yes
24418 _pkg_short_errors_supported
=no
24420 if test $_pkg_short_errors_supported = yes; then
24421 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBDBUS" 2>&1`
24423 DBUS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBDBUS" 2>&1`
24425 # Put the nasty error message in config.log where it belongs
24426 echo "$DBUS_PKG_ERRORS" >&5
24429 elif test $pkg_failed = untried
; then
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24431 $as_echo "no" >&6; }
24434 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
24435 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24437 $as_echo "yes" >&6; }
24440 if test "x$HAVE_DBUS" = xyes
; then
24442 $as_echo "#define HAVE_DBUS 1" >>confdefs.h
24445 if test "x$HAVE_DBUS" = xyes
; then
24447 HAVE_DBUS_FALSE
='#'
24454 if test "x$CONFIG_DBUS_API" = xauto
; then
24455 CONFIG_DBUS_API
="$HAVE_DBUS"
24457 if test "x$CONFIG_DBUS_API" = xyes
; then
24458 if ! test "x$HAVE_DBUS" = xyes
; then
24459 as_fn_error $?
"D-Bus configuration API requested, but D-Bus is not installed." "$LINENO" 5
24463 $as_echo "#define CONFIG_DBUS_API 1" >>confdefs.h
24465 CONFIG_NEED_DBUS
="yes"
24467 if test "x$CONFIG_DBUS_API" = xyes
; then
24468 CONFIG_DBUS_API_TRUE
=
24469 CONFIG_DBUS_API_FALSE
='#'
24471 CONFIG_DBUS_API_TRUE
='#'
24472 CONFIG_DBUS_API_FALSE
=
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
24479 $as_echo_n "checking for HAL... " >&6; }
24481 if test -n "$HAL_CFLAGS"; then
24482 pkg_cv_HAL_CFLAGS
="$HAL_CFLAGS"
24483 elif test -n "$PKG_CONFIG"; then
24484 if test -n "$PKG_CONFIG" && \
24485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
24486 ($PKG_CONFIG --exists --print-errors "hal") 2>&5
24488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24489 test $ac_status = 0; }; then
24490 pkg_cv_HAL_CFLAGS
=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
24497 if test -n "$HAL_LIBS"; then
24498 pkg_cv_HAL_LIBS
="$HAL_LIBS"
24499 elif test -n "$PKG_CONFIG"; then
24500 if test -n "$PKG_CONFIG" && \
24501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
24502 ($PKG_CONFIG --exists --print-errors "hal") 2>&5
24504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24505 test $ac_status = 0; }; then
24506 pkg_cv_HAL_LIBS
=`$PKG_CONFIG --libs "hal" 2>/dev/null`
24516 if test $pkg_failed = yes; then
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24518 $as_echo "no" >&6; }
24520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24521 _pkg_short_errors_supported
=yes
24523 _pkg_short_errors_supported
=no
24525 if test $_pkg_short_errors_supported = yes; then
24526 HAL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "hal" 2>&1`
24528 HAL_PKG_ERRORS
=`$PKG_CONFIG --print-errors "hal" 2>&1`
24530 # Put the nasty error message in config.log where it belongs
24531 echo "$HAL_PKG_ERRORS" >&5
24534 elif test $pkg_failed = untried
; then
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24536 $as_echo "no" >&6; }
24539 HAL_CFLAGS
=$pkg_cv_HAL_CFLAGS
24540 HAL_LIBS
=$pkg_cv_HAL_LIBS
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24542 $as_echo "yes" >&6; }
24545 if test "x$CONFIG_HAL" = xauto
; then
24546 CONFIG_HAL
="$HAVE_HAL"
24548 if test "x$CONFIG_HAL" = xyes
; then
24549 if ! test "x$HAVE_HAL" = xyes
; then
24550 as_fn_error $?
"HAL hotplug API requested, but HAL is not installed." "$LINENO" 5
24554 $as_echo "#define CONFIG_HAL 1" >>confdefs.h
24556 CONFIG_NEED_DBUS
="yes"
24558 if test "x$CONFIG_HAL" = xyes
; then
24560 CONFIG_HAL_FALSE
='#'
24562 CONFIG_HAL_TRUE
='#'
24567 if test "x$CONFIG_NEED_DBUS" = xyes
; then
24569 $as_echo "#define CONFIG_NEED_DBUS 1" >>confdefs.h
24572 if test "x$CONFIG_NEED_DBUS" = xyes
; then
24573 CONFIG_NEED_DBUS_TRUE
=
24574 CONFIG_NEED_DBUS_FALSE
='#'
24576 CONFIG_NEED_DBUS_TRUE
='#'
24577 CONFIG_NEED_DBUS_FALSE
=
24581 if test "x$CONFIG_WSCONS" = xauto
; then
24591 if test "x$CONFIG_WSCONS" = xyes
; then
24592 CONFIG_WSCONS_TRUE
=
24593 CONFIG_WSCONS_FALSE
='#'
24595 CONFIG_WSCONS_TRUE
='#'
24596 CONFIG_WSCONS_FALSE
=
24599 if test "x$CONFIG_WSCONS" = xyes
; then
24601 $as_echo "#define CONFIG_WSCONS 1" >>confdefs.h
24605 if test "x$USE_SIGIO_BY_DEFAULT" = xyes
; then
24606 USE_SIGIO_BY_DEFAULT_VALUE
=TRUE
24608 USE_SIGIO_BY_DEFAULT_VALUE
=FALSE
24611 cat >>confdefs.h
<<_ACEOF
24612 #define USE_SIGIO_BY_DEFAULT $USE_SIGIO_BY_DEFAULT_VALUE
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc..." >&5
24617 $as_echo_n "checking for glibc...... " >&6; }
24618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24619 /* end confdefs.h. */
24621 #include <features.h>
24627 if ac_fn_c_try_cpp
"$LINENO"; then :
24632 rm -f conftest.err conftest.i conftest.
$ac_ext
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc" >&5
24634 $as_echo "$glibc" >&6; }
24636 for ac_func
in clock_gettime
24638 ac_fn_c_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
24639 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
24640 cat >>confdefs.h
<<_ACEOF
24641 #define HAVE_CLOCK_GETTIME 1
24643 have_clock_gettime
=yes
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
24646 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
24647 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
24648 $as_echo_n "(cached) " >&6
24650 ac_check_lib_save_LIBS
=$LIBS
24652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h. */
24655 /* Override any GCC internal prototype to avoid an error.
24656 Use char because int might match the return type of a GCC
24657 builtin and then its argument prototype would still apply. */
24661 char clock_gettime ();
24665 return clock_gettime ();
24670 if ac_fn_c_try_link
"$LINENO"; then :
24671 ac_cv_lib_rt_clock_gettime
=yes
24673 ac_cv_lib_rt_clock_gettime
=no
24675 rm -f core conftest.err conftest.
$ac_objext \
24676 conftest
$ac_exeext conftest.
$ac_ext
24677 LIBS
=$ac_check_lib_save_LIBS
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
24680 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
24681 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
24682 have_clock_gettime
=-lrt
24684 have_clock_gettime
=no
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a useful monotonic clock ..." >&5
24692 $as_echo_n "checking for a useful monotonic clock ...... " >&6; }
24694 if ! test "x$have_clock_gettime" = xno
; then
24695 if ! test "x$have_clock_gettime" = xyes
; then
24696 CLOCK_LIBS
="$have_clock_gettime"
24703 CPPFLAGS_SAVE
="$CPPFLAGS"
24705 if test x
"$glibc" = xyes
; then
24706 CPPFLAGS
="$CPPFLAGS -D_POSIX_C_SOURCE=200112L"
24709 if test "$cross_compiling" = yes; then :
24710 MONOTONIC_CLOCK
="cross compiling"
24712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24717 int main(int argc, char *argv[]) {
24718 struct timespec tp;
24720 if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
24727 if ac_fn_c_try_run
"$LINENO"; then :
24728 MONOTONIC_CLOCK
=yes
24732 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24733 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24738 CPPFLAGS
="$CPPFLAGS_SAVE"
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONOTONIC_CLOCK" >&5
24744 $as_echo "$MONOTONIC_CLOCK" >&6; }
24746 if test "x$MONOTONIC_CLOCK" = xyes
; then
24748 $as_echo "#define MONOTONIC_CLOCK 1" >>confdefs.h
24750 LIBS
="$LIBS $CLOCK_LIBS"
24753 if test "x$XV" = xyes
; then
24761 if test "x$XV" = xyes
; then
24763 $as_echo "#define XV 1" >>confdefs.h
24766 $as_echo "#define XvExtension 1" >>confdefs.h
24768 REQUIRED_MODULES
="$REQUIRED_MODULES $VIDEOPROTO"
24769 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $VIDEOPROTO"
24774 if test "x$XVMC" = xyes
; then
24782 if test "x$XVMC" = xyes
; then
24784 $as_echo "#define XvMCExtension 1" >>confdefs.h
24788 if test "x$XREGISTRY" = xyes
; then
24790 XREGISTRY_FALSE
='#'
24796 if test "x$XREGISTRY" = xyes
; then
24798 $as_echo "#define XREGISTRY 1" >>confdefs.h
24802 if test "x$COMPOSITE" = xyes
; then
24804 COMPOSITE_FALSE
='#'
24810 if test "x$COMPOSITE" = xyes
; then
24812 $as_echo "#define COMPOSITE 1" >>confdefs.h
24814 REQUIRED_MODULES
="$REQUIRED_MODULES $COMPOSITEPROTO"
24815 COMPOSITE_LIB
='$(top_builddir)/composite/libcomposite.la'
24816 COMPOSITE_INC
='-I$(top_srcdir)/composite'
24819 if test "x$MITSHM" = xauto
; then
24820 MITSHM
="$ac_cv_sysv_ipc"
24822 if test "x$MITSHM" = xyes
; then
24830 if test "x$MITSHM" = xyes
; then
24832 $as_echo "#define MITSHM 1" >>confdefs.h
24835 $as_echo "#define HAS_SHM 1" >>confdefs.h
24839 if test "x$RECORD" = xyes
; then
24847 if test "x$RECORD" = xyes
; then
24849 $as_echo "#define XRECORD 1" >>confdefs.h
24851 REQUIRED_MODULES
="$REQUIRED_MODULES $RECORDPROTO"
24852 RECORD_LIB
='$(top_builddir)/record/librecord.la'
24855 if test "x$SCREENSAVER" = xyes
; then
24857 SCREENSAVER_FALSE
='#'
24859 SCREENSAVER_TRUE
='#'
24863 if test "x$SCREENSAVER" = xyes
; then
24865 $as_echo "#define SCREENSAVER 1" >>confdefs.h
24867 REQUIRED_MODULES
="$REQUIRED_MODULES $SCRNSAVERPROTO"
24868 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $SCRNSAVERPROTO"
24871 if test "x$RES" = xyes
; then
24879 if test "x$RES" = xyes
; then
24881 $as_echo "#define RES 1" >>confdefs.h
24883 REQUIRED_MODULES
="$REQUIRED_MODULES $RESOURCEPROTO"
24884 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $RESOURCEPROTO"
24887 # The XRes extension may support client ID tracking only if it has
24888 # been specifically enabled. Client ID tracking is implicitly not
24889 # supported if XRes extension is disabled.
24890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to track client ids" >&5
24891 $as_echo_n "checking whether to track client ids... " >&6; }
24892 if test "x$RES" = xyes
&& test "x$CLIENTIDS" = xyes
; then
24894 $as_echo "#define CLIENTIDS 1" >>confdefs.h
24899 if test "x$CLIENTIDS" = xyes
; then
24902 SYS_LIBS
="$SYS_LIBS -lkvm"
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLIENTIDS" >&5
24907 $as_echo "$CLIENTIDS" >&6; }
24908 if test "x$CLIENTIDS" = xyes
; then
24910 CLIENTIDS_FALSE
='#'
24917 if test "x$DRI" = xyes
; then
24925 if test "x$DRI" = xyes
; then
24927 $as_echo "#define XF86DRI 1" >>confdefs.h
24929 REQUIRED_MODULES
="$REQUIRED_MODULES $DRIPROTO $GLPROTO $LIBDRI"
24930 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $DRIPROTO $GLPROTO $LIBDRI"
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI2PROTO" >&5
24936 $as_echo_n "checking for DRI2PROTO... " >&6; }
24938 if test -n "$DRI2PROTO_CFLAGS"; then
24939 pkg_cv_DRI2PROTO_CFLAGS
="$DRI2PROTO_CFLAGS"
24940 elif test -n "$PKG_CONFIG"; then
24941 if test -n "$PKG_CONFIG" && \
24942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRI2PROTO\""; } >&5
24943 ($PKG_CONFIG --exists --print-errors "$DRI2PROTO") 2>&5
24945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24946 test $ac_status = 0; }; then
24947 pkg_cv_DRI2PROTO_CFLAGS
=`$PKG_CONFIG --cflags "$DRI2PROTO" 2>/dev/null`
24954 if test -n "$DRI2PROTO_LIBS"; then
24955 pkg_cv_DRI2PROTO_LIBS
="$DRI2PROTO_LIBS"
24956 elif test -n "$PKG_CONFIG"; then
24957 if test -n "$PKG_CONFIG" && \
24958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRI2PROTO\""; } >&5
24959 ($PKG_CONFIG --exists --print-errors "$DRI2PROTO") 2>&5
24961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24962 test $ac_status = 0; }; then
24963 pkg_cv_DRI2PROTO_LIBS
=`$PKG_CONFIG --libs "$DRI2PROTO" 2>/dev/null`
24973 if test $pkg_failed = yes; then
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24975 $as_echo "no" >&6; }
24977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24978 _pkg_short_errors_supported
=yes
24980 _pkg_short_errors_supported
=no
24982 if test $_pkg_short_errors_supported = yes; then
24983 DRI2PROTO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$DRI2PROTO" 2>&1`
24985 DRI2PROTO_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$DRI2PROTO" 2>&1`
24987 # Put the nasty error message in config.log where it belongs
24988 echo "$DRI2PROTO_PKG_ERRORS" >&5
24991 elif test $pkg_failed = untried
; then
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24993 $as_echo "no" >&6; }
24996 DRI2PROTO_CFLAGS
=$pkg_cv_DRI2PROTO_CFLAGS
24997 DRI2PROTO_LIBS
=$pkg_cv_DRI2PROTO_LIBS
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24999 $as_echo "yes" >&6; }
25002 case "$DRI2,$HAVE_DRI2PROTO" in
25004 as_fn_error $?
"DRI2 requested, but dri2proto not found." "$LINENO" 5
25006 yes,yes | auto
,yes)
25008 $as_echo "#define DRI2 1" >>confdefs.h
25011 LIBGL
="gl >= 9.2.0"
25012 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $DRI2PROTO"
25015 if test "x$DRI2" = xyes
; then
25026 # Check whether --with-shared-memory-dir was given.
25027 if test "${with_shared_memory_dir+set}" = set; then :
25028 withval
=$with_shared_memory_dir;
25030 with_shared_memory_dir
=yes
25034 shmdirs
="/run/shm /var/tmp /tmp"
25036 case x
"$with_shared_memory_dir" in
25038 for dir
in $shmdirs; do
25039 case x
"$with_shared_memory_dir" in
25041 echo Checking temp dir
"$dir"
25042 if test -d "$dir"; then
25043 with_shared_memory_dir
="$dir"
25054 as_fn_error $?
"Invalid directory specified for --with-shared-memory-dir: $with_shared_memory_dir" "$LINENO" 5
25058 case x
"$with_shared_memory_dir" in
25060 as_fn_error $?
"No directory found for shared memory temp files." "$LINENO" 5
25066 cat >>confdefs.h
<<_ACEOF
25067 #define SHMDIR "$with_shared_memory_dir"
25073 # Check whether --enable-xtrans-send-fds was given.
25074 if test "${enable_xtrans_send_fds+set}" = set; then :
25075 enableval
=$enable_xtrans_send_fds; XTRANS_SEND_FDS
=$enableval
25077 XTRANS_SEND_FDS
=auto
25081 case "x$XTRANS_SEND_FDS" in
25085 XTRANS_SEND_FDS
=yes
25093 case "x$XTRANS_SEND_FDS" in
25096 $as_echo "#define XTRANS_SEND_FDS 1" >>confdefs.h
25101 case "$DRI3,$XTRANS_SEND_FDS" in
25102 yes,yes | auto
,yes)
25105 as_fn_error $?
"DRI3 requested, but xtrans fd passing support not found." "$LINENO" 5
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: DRI3 disabled because xtrans fd passing support not found." >&5
25112 $as_echo "$as_me: DRI3 disabled because xtrans fd passing support not found." >&6;}
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI3PROTO" >&5
25120 $as_echo_n "checking for DRI3PROTO... " >&6; }
25122 if test -n "$DRI3PROTO_CFLAGS"; then
25123 pkg_cv_DRI3PROTO_CFLAGS
="$DRI3PROTO_CFLAGS"
25124 elif test -n "$PKG_CONFIG"; then
25125 if test -n "$PKG_CONFIG" && \
25126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRI3PROTO\""; } >&5
25127 ($PKG_CONFIG --exists --print-errors "$DRI3PROTO") 2>&5
25129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25130 test $ac_status = 0; }; then
25131 pkg_cv_DRI3PROTO_CFLAGS
=`$PKG_CONFIG --cflags "$DRI3PROTO" 2>/dev/null`
25138 if test -n "$DRI3PROTO_LIBS"; then
25139 pkg_cv_DRI3PROTO_LIBS
="$DRI3PROTO_LIBS"
25140 elif test -n "$PKG_CONFIG"; then
25141 if test -n "$PKG_CONFIG" && \
25142 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRI3PROTO\""; } >&5
25143 ($PKG_CONFIG --exists --print-errors "$DRI3PROTO") 2>&5
25145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25146 test $ac_status = 0; }; then
25147 pkg_cv_DRI3PROTO_LIBS
=`$PKG_CONFIG --libs "$DRI3PROTO" 2>/dev/null`
25157 if test $pkg_failed = yes; then
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25159 $as_echo "no" >&6; }
25161 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25162 _pkg_short_errors_supported
=yes
25164 _pkg_short_errors_supported
=no
25166 if test $_pkg_short_errors_supported = yes; then
25167 DRI3PROTO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$DRI3PROTO" 2>&1`
25169 DRI3PROTO_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$DRI3PROTO" 2>&1`
25171 # Put the nasty error message in config.log where it belongs
25172 echo "$DRI3PROTO_PKG_ERRORS" >&5
25175 elif test $pkg_failed = untried
; then
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25177 $as_echo "no" >&6; }
25180 DRI3PROTO_CFLAGS
=$pkg_cv_DRI3PROTO_CFLAGS
25181 DRI3PROTO_LIBS
=$pkg_cv_DRI3PROTO_LIBS
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25183 $as_echo "yes" >&6; }
25187 case "$DRI3,$HAVE_DRI3PROTO" in
25188 yes,yes | auto
,yes)
25191 as_fn_error $?
"DRI3 requested, but dri3proto not found." "$LINENO" 5
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: DRI3 disabled because dri3proto not found." >&5
25198 $as_echo "$as_me: DRI3 disabled because dri3proto not found." >&6;}
25203 for ac_func
in sigaction
25205 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
25206 if test "x$ac_cv_func_sigaction" = xyes
; then :
25207 cat >>confdefs.h
<<_ACEOF
25208 #define HAVE_SIGACTION 1
25217 case x
"$ac_cv_func_sigaction" in
25220 $as_echo "#define HAVE_SIGACTION 1" >>confdefs.h
25226 case x
"$BUSFAULT" in
25229 $as_echo "#define BUSFAULT 1" >>confdefs.h
25234 if test x
"$BUSFAULT" = xyes
; then
25245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSHMFENCE" >&5
25246 $as_echo_n "checking for XSHMFENCE... " >&6; }
25248 if test -n "$XSHMFENCE_CFLAGS"; then
25249 pkg_cv_XSHMFENCE_CFLAGS
="$XSHMFENCE_CFLAGS"
25250 elif test -n "$PKG_CONFIG"; then
25251 if test -n "$PKG_CONFIG" && \
25252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XSHMFENCE\""; } >&5
25253 ($PKG_CONFIG --exists --print-errors "$XSHMFENCE") 2>&5
25255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25256 test $ac_status = 0; }; then
25257 pkg_cv_XSHMFENCE_CFLAGS
=`$PKG_CONFIG --cflags "$XSHMFENCE" 2>/dev/null`
25264 if test -n "$XSHMFENCE_LIBS"; then
25265 pkg_cv_XSHMFENCE_LIBS
="$XSHMFENCE_LIBS"
25266 elif test -n "$PKG_CONFIG"; then
25267 if test -n "$PKG_CONFIG" && \
25268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XSHMFENCE\""; } >&5
25269 ($PKG_CONFIG --exists --print-errors "$XSHMFENCE") 2>&5
25271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25272 test $ac_status = 0; }; then
25273 pkg_cv_XSHMFENCE_LIBS
=`$PKG_CONFIG --libs "$XSHMFENCE" 2>/dev/null`
25283 if test $pkg_failed = yes; then
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25285 $as_echo "no" >&6; }
25287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25288 _pkg_short_errors_supported
=yes
25290 _pkg_short_errors_supported
=no
25292 if test $_pkg_short_errors_supported = yes; then
25293 XSHMFENCE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$XSHMFENCE" 2>&1`
25295 XSHMFENCE_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$XSHMFENCE" 2>&1`
25297 # Put the nasty error message in config.log where it belongs
25298 echo "$XSHMFENCE_PKG_ERRORS" >&5
25301 elif test $pkg_failed = untried
; then
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25303 $as_echo "no" >&6; }
25306 XSHMFENCE_CFLAGS
=$pkg_cv_XSHMFENCE_CFLAGS
25307 XSHMFENCE_LIBS
=$pkg_cv_XSHMFENCE_LIBS
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25309 $as_echo "yes" >&6; }
25313 if test "x$HAVE_XSHMFENCE" = xyes
; then
25315 XSHMFENCE_FALSE
='#'
25322 case x
"$HAVE_XSHMFENCE" in
25325 $as_echo "#define HAVE_XSHMFENCE 1" >>confdefs.h
25327 REQUIRED_LIBS
="$REQUIRED_LIBS xshmfence"
25332 case "$DRI3,$HAVE_XSHMFENCE" in
25333 yes,yes | auto
,yes)
25336 as_fn_error $?
"DRI3 requested, but xshmfence not found." "$LINENO" 5
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: DRI3 disabled because xshmfence not found." >&5
25343 $as_echo "$as_me: DRI3 disabled because xshmfence not found." >&6;}
25352 $as_echo "#define DRI3 1" >>confdefs.h
25354 DRI3_LIB
='$(top_builddir)/dri3/libdri3.la'
25355 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $DRI3PROTO"
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: DRI3 enabled" >&5
25357 $as_echo "$as_me: DRI3 enabled" >&6;};
25361 if test "x$DRI3" = xyes
; then
25370 if test "x$DRI" = xyes ||
test "x$DRI2" = xyes ||
test "x$DRI3" = xyes ||
test "x$CONFIG_UDEV_KMS" = xyes
; then
25371 if test "x$DRM" = xyes
; then
25373 $as_echo "#define WITH_LIBDRM 1" >>confdefs.h
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM" >&5
25378 $as_echo_n "checking for LIBDRM... " >&6; }
25380 if test -n "$LIBDRM_CFLAGS"; then
25381 pkg_cv_LIBDRM_CFLAGS
="$LIBDRM_CFLAGS"
25382 elif test -n "$PKG_CONFIG"; then
25383 if test -n "$PKG_CONFIG" && \
25384 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDRM\""; } >&5
25385 ($PKG_CONFIG --exists --print-errors "$LIBDRM") 2>&5
25387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25388 test $ac_status = 0; }; then
25389 pkg_cv_LIBDRM_CFLAGS
=`$PKG_CONFIG --cflags "$LIBDRM" 2>/dev/null`
25396 if test -n "$LIBDRM_LIBS"; then
25397 pkg_cv_LIBDRM_LIBS
="$LIBDRM_LIBS"
25398 elif test -n "$PKG_CONFIG"; then
25399 if test -n "$PKG_CONFIG" && \
25400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDRM\""; } >&5
25401 ($PKG_CONFIG --exists --print-errors "$LIBDRM") 2>&5
25403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25404 test $ac_status = 0; }; then
25405 pkg_cv_LIBDRM_LIBS
=`$PKG_CONFIG --libs "$LIBDRM" 2>/dev/null`
25415 if test $pkg_failed = yes; then
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25417 $as_echo "no" >&6; }
25419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25420 _pkg_short_errors_supported
=yes
25422 _pkg_short_errors_supported
=no
25424 if test $_pkg_short_errors_supported = yes; then
25425 LIBDRM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBDRM" 2>&1`
25427 LIBDRM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBDRM" 2>&1`
25429 # Put the nasty error message in config.log where it belongs
25430 echo "$LIBDRM_PKG_ERRORS" >&5
25432 as_fn_error $?
"Package requirements ($LIBDRM) were not met:
25436 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25437 installed software in a non-standard prefix.
25439 Alternatively, you may set the environment variables LIBDRM_CFLAGS
25440 and LIBDRM_LIBS to avoid the need to call pkg-config.
25441 See the pkg-config man page for more details." "$LINENO" 5
25443 elif test $pkg_failed = untried
; then
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25445 $as_echo "no" >&6; }
25446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25448 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
25449 is in your PATH or set the PKG_CONFIG environment variable to the full
25450 path to pkg-config.
25452 Alternatively, you may set the environment variables LIBDRM_CFLAGS
25453 and LIBDRM_LIBS to avoid the need to call pkg-config.
25454 See the pkg-config man page for more details.
25456 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25457 See \`config.log' for more details" "$LINENO" 5; }
25460 LIBDRM_CFLAGS
=$pkg_cv_LIBDRM_CFLAGS
25461 LIBDRM_LIBS
=$pkg_cv_LIBDRM_LIBS
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25463 $as_echo "yes" >&6; }
25469 if test "x$DRI2" = xyes
; then
25470 save_CFLAGS
=$CFLAGS
25471 CFLAGS
="$GL_CFLAGS $LIBDRM_CFLAGS"
25472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25473 /* end confdefs.h. */
25475 #include <GL/internal/dri_interface.h>
25477 #error DRI2 extension not available.
25480 if ac_fn_c_try_compile
"$LINENO"; then :
25481 HAVE_DRI2EXTENSION
=yes
25483 HAVE_DRI2EXTENSION
=no
25485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25486 CFLAGS
=$save_CFLAGS
25487 if test "x$HAVE_DRI2EXTENSION" = xyes
; then
25489 $as_echo "#define DRI2_AIGLX 1" >>confdefs.h
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h." >&5
25494 $as_echo "$as_me: DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h." >&6;}
25498 if test "x$DRI2_AIGLX" = xyes
; then
25500 DRI2_AIGLX_FALSE
='#'
25502 DRI2_AIGLX_TRUE
='#'
25507 if test "x$GLX" = xyes
; then
25510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
25511 $as_echo_n "checking for XLIB... " >&6; }
25513 if test -n "$XLIB_CFLAGS"; then
25514 pkg_cv_XLIB_CFLAGS
="$XLIB_CFLAGS"
25515 elif test -n "$PKG_CONFIG"; then
25516 if test -n "$PKG_CONFIG" && \
25517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
25518 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
25520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25521 test $ac_status = 0; }; then
25522 pkg_cv_XLIB_CFLAGS
=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
25529 if test -n "$XLIB_LIBS"; then
25530 pkg_cv_XLIB_LIBS
="$XLIB_LIBS"
25531 elif test -n "$PKG_CONFIG"; then
25532 if test -n "$PKG_CONFIG" && \
25533 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
25534 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
25536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25537 test $ac_status = 0; }; then
25538 pkg_cv_XLIB_LIBS
=`$PKG_CONFIG --libs "x11" 2>/dev/null`
25548 if test $pkg_failed = yes; then
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25550 $as_echo "no" >&6; }
25552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25553 _pkg_short_errors_supported
=yes
25555 _pkg_short_errors_supported
=no
25557 if test $_pkg_short_errors_supported = yes; then
25558 XLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
25560 XLIB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "x11" 2>&1`
25562 # Put the nasty error message in config.log where it belongs
25563 echo "$XLIB_PKG_ERRORS" >&5
25565 as_fn_error $?
"Package requirements (x11) were not met:
25569 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25570 installed software in a non-standard prefix.
25572 Alternatively, you may set the environment variables XLIB_CFLAGS
25573 and XLIB_LIBS to avoid the need to call pkg-config.
25574 See the pkg-config man page for more details." "$LINENO" 5
25576 elif test $pkg_failed = untried
; then
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25578 $as_echo "no" >&6; }
25579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25581 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
25582 is in your PATH or set the PKG_CONFIG environment variable to the full
25583 path to pkg-config.
25585 Alternatively, you may set the environment variables XLIB_CFLAGS
25586 and XLIB_LIBS to avoid the need to call pkg-config.
25587 See the pkg-config man page for more details.
25589 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25590 See \`config.log' for more details" "$LINENO" 5; }
25593 XLIB_CFLAGS
=$pkg_cv_XLIB_CFLAGS
25594 XLIB_LIBS
=$pkg_cv_XLIB_LIBS
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25596 $as_echo "yes" >&6; }
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
25602 $as_echo_n "checking for GL... " >&6; }
25604 if test -n "$GL_CFLAGS"; then
25605 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
25606 elif test -n "$PKG_CONFIG"; then
25607 if test -n "$PKG_CONFIG" && \
25608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLPROTO \$LIBGL\""; } >&5
25609 ($PKG_CONFIG --exists --print-errors "$GLPROTO $LIBGL") 2>&5
25611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25612 test $ac_status = 0; }; then
25613 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$GLPROTO $LIBGL" 2>/dev/null`
25620 if test -n "$GL_LIBS"; then
25621 pkg_cv_GL_LIBS
="$GL_LIBS"
25622 elif test -n "$PKG_CONFIG"; then
25623 if test -n "$PKG_CONFIG" && \
25624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLPROTO \$LIBGL\""; } >&5
25625 ($PKG_CONFIG --exists --print-errors "$GLPROTO $LIBGL") 2>&5
25627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25628 test $ac_status = 0; }; then
25629 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$GLPROTO $LIBGL" 2>/dev/null`
25639 if test $pkg_failed = yes; then
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25641 $as_echo "no" >&6; }
25643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25644 _pkg_short_errors_supported
=yes
25646 _pkg_short_errors_supported
=no
25648 if test $_pkg_short_errors_supported = yes; then
25649 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$GLPROTO $LIBGL" 2>&1`
25651 GL_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$GLPROTO $LIBGL" 2>&1`
25653 # Put the nasty error message in config.log where it belongs
25654 echo "$GL_PKG_ERRORS" >&5
25656 as_fn_error $?
"Package requirements ($GLPROTO $LIBGL) were not met:
25660 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25661 installed software in a non-standard prefix.
25663 Alternatively, you may set the environment variables GL_CFLAGS
25664 and GL_LIBS to avoid the need to call pkg-config.
25665 See the pkg-config man page for more details." "$LINENO" 5
25667 elif test $pkg_failed = untried
; then
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25669 $as_echo "no" >&6; }
25670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25672 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
25673 is in your PATH or set the PKG_CONFIG environment variable to the full
25674 path to pkg-config.
25676 Alternatively, you may set the environment variables GL_CFLAGS
25677 and GL_LIBS to avoid the need to call pkg-config.
25678 See the pkg-config man page for more details.
25680 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25681 See \`config.log' for more details" "$LINENO" 5; }
25684 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
25685 GL_LIBS
=$pkg_cv_GL_LIBS
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25687 $as_echo "yes" >&6; }
25692 $as_echo "#define GLXEXT 1" >>confdefs.h
25694 GLX_LIBS
='$(top_builddir)/glx/libglx.la'
25695 GLX_SYS_LIBS
="$GLX_SYS_LIBS $GL_LIBS"
25699 if test "x$GLX" = xyes
; then
25708 if test "x$GLX" = xno
; then
25712 if test "x$AIGLX" = xyes
-a \
( "x$DRI2" = xyes \
); then
25714 $as_echo "#define AIGLX 1" >>confdefs.h
25717 if { test "x$DRI2" = xyes
; } && test "x$AIGLX" = xyes
; then
25718 AIGLX_DRI_LOADER_TRUE
=
25719 AIGLX_DRI_LOADER_FALSE
='#'
25721 AIGLX_DRI_LOADER_TRUE
='#'
25722 AIGLX_DRI_LOADER_FALSE
=
25726 if test "x$GLX_USE_TLS" = xyes
; then
25727 GLX_DEFINES
="-DGLX_USE_TLS -DPTHREADS"
25728 GLX_SYS_LIBS
="$GLX_SYS_LIBS -lpthread"
25733 if test "x$PRESENT" = xyes
; then
25741 if test "x$PRESENT" = xyes
; then
25743 $as_echo "#define PRESENT 1" >>confdefs.h
25745 REQUIRED_MODULES
="$REQUIRED_MODULES $PRESENTPROTO"
25746 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $PRESENTPROTO"
25747 PRESENT_INC
='-I$(top_srcdir)/present'
25748 PRESENT_LIB
='$(top_builddir)/present/libpresent.la'
25751 if test "x$XINERAMA" = xyes
; then
25759 if test "x$XINERAMA" = xyes
; then
25761 $as_echo "#define XINERAMA 1" >>confdefs.h
25764 $as_echo "#define PANORAMIX 1" >>confdefs.h
25766 REQUIRED_MODULES
="$REQUIRED_MODULES $XINERAMAPROTO"
25767 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $XINERAMAPROTO"
25770 if test "x$XACE" = xyes
; then
25778 if test "x$XACE" = xyes
; then
25780 $as_echo "#define XACE 1" >>confdefs.h
25784 if test "x$XSELINUX" = xyes
; then
25792 if test "x$XSELINUX" = xyes
; then
25793 if test "x$XACE" != xyes
; then
25794 as_fn_error $?
"cannot build SELinux extension without X-ACE" "$LINENO" 5
25796 for ac_header
in libaudit.h
25798 ac_fn_c_check_header_mongrel
"$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
25799 if test "x$ac_cv_header_libaudit_h" = xyes
; then :
25800 cat >>confdefs.h
<<_ACEOF
25801 #define HAVE_LIBAUDIT_H 1
25805 as_fn_error $?
"SELinux extension requires audit system headers" "$LINENO" 5
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
25811 $as_echo_n "checking for audit_open in -laudit... " >&6; }
25812 if ${ac_cv_lib_audit_audit_open+:} false
; then :
25813 $as_echo_n "(cached) " >&6
25815 ac_check_lib_save_LIBS
=$LIBS
25816 LIBS
="-laudit $LIBS"
25817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25820 /* Override any GCC internal prototype to avoid an error.
25821 Use char because int might match the return type of a GCC
25822 builtin and then its argument prototype would still apply. */
25826 char audit_open ();
25830 return audit_open ();
25835 if ac_fn_c_try_link
"$LINENO"; then :
25836 ac_cv_lib_audit_audit_open
=yes
25838 ac_cv_lib_audit_audit_open
=no
25840 rm -f core conftest.err conftest.
$ac_objext \
25841 conftest
$ac_exeext conftest.
$ac_ext
25842 LIBS
=$ac_check_lib_save_LIBS
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
25845 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
25846 if test "x$ac_cv_lib_audit_audit_open" = xyes
; then :
25847 cat >>confdefs.h
<<_ACEOF
25848 #define HAVE_LIBAUDIT 1
25851 LIBS
="-laudit $LIBS"
25854 as_fn_error $?
"SELinux extension requires audit system library" "$LINENO" 5
25859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
25860 $as_echo_n "checking for SELINUX... " >&6; }
25862 if test -n "$SELINUX_CFLAGS"; then
25863 pkg_cv_SELINUX_CFLAGS
="$SELINUX_CFLAGS"
25864 elif test -n "$PKG_CONFIG"; then
25865 if test -n "$PKG_CONFIG" && \
25866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBSELINUX\""; } >&5
25867 ($PKG_CONFIG --exists --print-errors "$LIBSELINUX") 2>&5
25869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25870 test $ac_status = 0; }; then
25871 pkg_cv_SELINUX_CFLAGS
=`$PKG_CONFIG --cflags "$LIBSELINUX" 2>/dev/null`
25878 if test -n "$SELINUX_LIBS"; then
25879 pkg_cv_SELINUX_LIBS
="$SELINUX_LIBS"
25880 elif test -n "$PKG_CONFIG"; then
25881 if test -n "$PKG_CONFIG" && \
25882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBSELINUX\""; } >&5
25883 ($PKG_CONFIG --exists --print-errors "$LIBSELINUX") 2>&5
25885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25886 test $ac_status = 0; }; then
25887 pkg_cv_SELINUX_LIBS
=`$PKG_CONFIG --libs "$LIBSELINUX" 2>/dev/null`
25897 if test $pkg_failed = yes; then
25898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25899 $as_echo "no" >&6; }
25901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25902 _pkg_short_errors_supported
=yes
25904 _pkg_short_errors_supported
=no
25906 if test $_pkg_short_errors_supported = yes; then
25907 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBSELINUX" 2>&1`
25909 SELINUX_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBSELINUX" 2>&1`
25911 # Put the nasty error message in config.log where it belongs
25912 echo "$SELINUX_PKG_ERRORS" >&5
25914 as_fn_error $?
"Package requirements ($LIBSELINUX) were not met:
25916 $SELINUX_PKG_ERRORS
25918 Consider adjusting the PKG_CONFIG_PATH environment variable if you
25919 installed software in a non-standard prefix.
25921 Alternatively, you may set the environment variables SELINUX_CFLAGS
25922 and SELINUX_LIBS to avoid the need to call pkg-config.
25923 See the pkg-config man page for more details." "$LINENO" 5
25925 elif test $pkg_failed = untried
; then
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25927 $as_echo "no" >&6; }
25928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25930 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
25931 is in your PATH or set the PKG_CONFIG environment variable to the full
25932 path to pkg-config.
25934 Alternatively, you may set the environment variables SELINUX_CFLAGS
25935 and SELINUX_LIBS to avoid the need to call pkg-config.
25936 See the pkg-config man page for more details.
25938 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25939 See \`config.log' for more details" "$LINENO" 5; }
25942 SELINUX_CFLAGS
=$pkg_cv_SELINUX_CFLAGS
25943 SELINUX_LIBS
=$pkg_cv_SELINUX_LIBS
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25945 $as_echo "yes" >&6; }
25948 SELINUX_LIBS
="$SELINUX_LIBS -laudit"
25950 $as_echo "#define XSELINUX 1" >>confdefs.h
25954 if test "x$XCSECURITY" = xyes
; then
25956 XCSECURITY_FALSE
='#'
25958 XCSECURITY_TRUE
='#'
25962 if test "x$XCSECURITY" = xyes
; then
25963 if test "x$XACE" != xyes
; then
25964 as_fn_error $?
"cannot build Security extension without X-ACE" "$LINENO" 5
25967 $as_echo "#define XCSECURITY 1" >>confdefs.h
25971 if test "x$DBE" = xyes
; then
25979 if test "x$DBE" = xyes
; then
25981 $as_echo "#define DBE 1" >>confdefs.h
25983 DBE_LIB
='$(top_builddir)/dbe/libdbe.la'
25984 DBE_INC
='-I$(top_srcdir)/dbe'
25987 if test "x$XF86BIGFONT" = xyes
; then
25989 XF86BIGFONT_FALSE
='#'
25991 XF86BIGFONT_TRUE
='#'
25995 if test "x$XF86BIGFONT" = xyes
; then
25997 $as_echo "#define XF86BIGFONT 1" >>confdefs.h
25999 REQUIRED_MODULES
="$REQUIRED_MODULES $BIGFONTPROTO"
26000 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $BIGFONTPROTO"
26003 if test "x$DPMSExtension" = xyes
; then
26004 DPMSExtension_TRUE
=
26005 DPMSExtension_FALSE
='#'
26007 DPMSExtension_TRUE
='#'
26008 DPMSExtension_FALSE
=
26011 if test "x$DPMSExtension" = xyes
; then
26013 $as_echo "#define DPMSExtension 1" >>confdefs.h
26018 $as_echo "#define RENDER 1" >>confdefs.h
26020 RENDER_LIB
='$(top_builddir)/render/librender.la'
26021 RENDER_INC
='-I$(top_srcdir)/render'
26024 $as_echo "#define RANDR 1" >>confdefs.h
26026 RANDR_LIB
='$(top_builddir)/randr/librandr.la'
26027 RANDR_INC
='-I$(top_srcdir)/randr'
26030 $as_echo "#define XFIXES 1" >>confdefs.h
26032 FIXES_LIB
='$(top_builddir)/xfixes/libxfixes.la'
26033 FIXES_INC
='-I$(top_srcdir)/xfixes'
26036 $as_echo "#define DAMAGE 1" >>confdefs.h
26038 DAMAGE_LIB
='$(top_builddir)/damageext/libdamageext.la'
26039 DAMAGE_INC
='-I$(top_srcdir)/damageext'
26040 MIEXT_DAMAGE_LIB
='$(top_builddir)/miext/damage/libdamage.la'
26041 MIEXT_DAMAGE_INC
='-I$(top_srcdir)/miext/damage'
26043 # XINPUT extension is integral part of the server
26045 $as_echo "#define XINPUT 1" >>confdefs.h
26047 XI_LIB
='$(top_builddir)/Xi/libXi.la'
26048 XI_INC
='-I$(top_srcdir)/Xi'
26050 if test "x$XF86UTILS" = xyes
; then
26052 XF86UTILS_FALSE
='#'
26058 if test "x$VGAHW" = xyes
; then
26066 if test "x$VBE" = xyes
; then
26074 if test "x$INT10MODULE" = xyes
; then
26076 INT10MODULE_FALSE
='#'
26078 INT10MODULE_TRUE
='#'
26084 $as_echo "#define SHAPE 1" >>confdefs.h
26090 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26091 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26092 eval ac_define_dir
="\"$XKBPATH\""
26093 eval ac_define_dir
="\"$ac_define_dir\""
26094 XKB_BASE_DIRECTORY
="$ac_define_dir"
26097 cat >>confdefs.h
<<_ACEOF
26098 #define XKB_BASE_DIRECTORY "$ac_define_dir"
26101 test "$prefix_NONE" && prefix
=NONE
26102 test "$exec_prefix_NONE" && exec_prefix
=NONE
26105 # Check whether --with-xkb-bin-directory was given.
26106 if test "${with_xkb_bin_directory+set}" = set; then :
26107 withval
=$with_xkb_bin_directory; XKB_BIN_DIRECTORY
="$withval"
26109 XKB_BIN_DIRECTORY
="$bindir"
26116 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26117 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26118 eval ac_define_dir
="\"$XKB_BIN_DIRECTORY\""
26119 eval ac_define_dir
="\"$ac_define_dir\""
26120 XKB_BIN_DIRECTORY
="$ac_define_dir"
26123 cat >>confdefs.h
<<_ACEOF
26124 #define XKB_BIN_DIRECTORY "$ac_define_dir"
26127 test "$prefix_NONE" && prefix
=NONE
26128 test "$exec_prefix_NONE" && exec_prefix
=NONE
26131 XKBOUTPUT_FIRSTCHAR
=`echo $XKBOUTPUT | cut -b 1`
26132 if [ x
$XKBOUTPUT_FIRSTCHAR != x
/ -a x
$XKBOUTPUT_FIRSTCHAR != 'x$' ] ; then
26133 XKBOUTPUT
="$XKB_BASE_DIRECTORY/$XKBOUTPUT"
26137 XKBOUTPUT
=`echo $XKBOUTPUT/ | $SED 's|/*$|/|'`
26138 XKB_COMPILED_DIR
=`echo $XKBOUTPUT | $SED 's|/*$||'`
26142 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26143 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26144 eval ac_define_dir
="\"$XKBOUTPUT\""
26145 eval ac_define_dir
="\"$ac_define_dir\""
26146 XKM_OUTPUT_DIR
="$ac_define_dir"
26149 cat >>confdefs.h
<<_ACEOF
26150 #define XKM_OUTPUT_DIR "$ac_define_dir"
26153 test "$prefix_NONE" && prefix
=NONE
26154 test "$exec_prefix_NONE" && exec_prefix
=NONE
26158 if test "x$XKB_DFLT_RULES" = x
; then
26161 XKB_DFLT_RULES
="evdev"
26164 XKB_DFLT_RULES
="base"
26169 cat >>confdefs.h
<<_ACEOF
26170 #define XKB_DFLT_RULES "$XKB_DFLT_RULES"
26174 cat >>confdefs.h
<<_ACEOF
26175 #define XKB_DFLT_MODEL "$XKB_DFLT_MODEL"
26179 cat >>confdefs.h
<<_ACEOF
26180 #define XKB_DFLT_LAYOUT "$XKB_DFLT_LAYOUT"
26184 cat >>confdefs.h
<<_ACEOF
26185 #define XKB_DFLT_VARIANT "$XKB_DFLT_VARIANT"
26189 cat >>confdefs.h
<<_ACEOF
26190 #define XKB_DFLT_OPTIONS "$XKB_DFLT_OPTIONS"
26199 XKB_LIB
='$(top_builddir)/xkb/libxkb.la'
26200 XKB_STUB_LIB
='$(top_builddir)/xkb/libxkbstubs.la'
26201 REQUIRED_MODULES
="$REQUIRED_MODULES xkbfile"
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
26206 $as_echo_n "checking for XDMCP... " >&6; }
26208 if test -n "$XDMCP_CFLAGS"; then
26209 pkg_cv_XDMCP_CFLAGS
="$XDMCP_CFLAGS"
26210 elif test -n "$PKG_CONFIG"; then
26211 if test -n "$PKG_CONFIG" && \
26212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
26213 ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
26215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26216 test $ac_status = 0; }; then
26217 pkg_cv_XDMCP_CFLAGS
=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
26224 if test -n "$XDMCP_LIBS"; then
26225 pkg_cv_XDMCP_LIBS
="$XDMCP_LIBS"
26226 elif test -n "$PKG_CONFIG"; then
26227 if test -n "$PKG_CONFIG" && \
26228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
26229 ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
26231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26232 test $ac_status = 0; }; then
26233 pkg_cv_XDMCP_LIBS
=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
26243 if test $pkg_failed = yes; then
26244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26245 $as_echo "no" >&6; }
26247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26248 _pkg_short_errors_supported
=yes
26250 _pkg_short_errors_supported
=no
26252 if test $_pkg_short_errors_supported = yes; then
26253 XDMCP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "xdmcp" 2>&1`
26255 XDMCP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "xdmcp" 2>&1`
26257 # Put the nasty error message in config.log where it belongs
26258 echo "$XDMCP_PKG_ERRORS" >&5
26261 elif test $pkg_failed = untried
; then
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26263 $as_echo "no" >&6; }
26266 XDMCP_CFLAGS
=$pkg_cv_XDMCP_CFLAGS
26267 XDMCP_LIBS
=$pkg_cv_XDMCP_LIBS
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26269 $as_echo "yes" >&6; }
26270 have_libxdmcp
="yes"
26272 if test "x$have_libxdmcp" = xyes
; then
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
26274 $as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
26275 if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false
; then :
26276 $as_echo_n "(cached) " >&6
26278 ac_check_lib_save_LIBS
=$LIBS
26279 LIBS
="-lXdmcp $XDMCP_LIBS $LIBS"
26280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26281 /* end confdefs.h. */
26283 /* Override any GCC internal prototype to avoid an error.
26284 Use char because int might match the return type of a GCC
26285 builtin and then its argument prototype would still apply. */
26293 return XdmcpWrap ();
26298 if ac_fn_c_try_link
"$LINENO"; then :
26299 ac_cv_lib_Xdmcp_XdmcpWrap
=yes
26301 ac_cv_lib_Xdmcp_XdmcpWrap
=no
26303 rm -f core conftest.err conftest.
$ac_objext \
26304 conftest
$ac_exeext conftest.
$ac_ext
26305 LIBS
=$ac_check_lib_save_LIBS
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
26308 $as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
26309 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes
; then :
26310 have_xdmcpwrap
="yes"
26312 have_xdmcpwrap
="no"
26316 if test "x$XDMCP" = xauto
; then
26317 if test "x$have_libxdmcp" = xyes
; then
26323 if test "x$XDMAUTH" = xauto
; then
26324 if test "x$have_libxdmcp" = xyes
&& test "x$have_xdmcpwrap" = xyes
; then
26331 if test "x$XDMCP" = xyes
; then
26339 if test "x$XDMCP" = xyes
; then
26341 $as_echo "#define XDMCP 1" >>confdefs.h
26343 REQUIRED_LIBS
="$REQUIRED_LIBS xdmcp"
26344 XDMCP_MODULES
="xdmcp"
26347 if test "x$XDMAUTH" = xyes
; then
26355 if test "x$XDMAUTH" = xyes
; then
26357 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
26359 if ! test "x$XDMCP" = xyes
; then
26360 REQUIRED_LIBS
="$REQUIRED_LIBS xdmcp"
26361 XDMCP_MODULES
="xdmcp"
26368 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26369 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26370 eval ac_define_dir
="\"$FONTPATH\""
26371 eval ac_define_dir
="\"$ac_define_dir\""
26372 COMPILEDDEFAULTFONTPATH
="$ac_define_dir"
26375 cat >>confdefs.h
<<_ACEOF
26376 #define COMPILEDDEFAULTFONTPATH "$ac_define_dir"
26379 test "$prefix_NONE" && prefix
=NONE
26380 test "$exec_prefix_NONE" && exec_prefix
=NONE
26385 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26386 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26387 eval ac_define_dir
="\"$SERVERCONFIG\""
26388 eval ac_define_dir
="\"$ac_define_dir\""
26389 SERVER_MISC_CONFIG_PATH
="$ac_define_dir"
26392 cat >>confdefs.h
<<_ACEOF
26393 #define SERVER_MISC_CONFIG_PATH "$ac_define_dir"
26396 test "$prefix_NONE" && prefix
=NONE
26397 test "$exec_prefix_NONE" && exec_prefix
=NONE
26402 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26403 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26404 eval ac_define_dir
="\"$FONTROOTDIR\""
26405 eval ac_define_dir
="\"$ac_define_dir\""
26406 BASE_FONT_PATH
="$ac_define_dir"
26409 cat >>confdefs.h
<<_ACEOF
26410 #define BASE_FONT_PATH "$ac_define_dir"
26413 test "$prefix_NONE" && prefix
=NONE
26414 test "$exec_prefix_NONE" && exec_prefix
=NONE
26416 dridriverdir
=`$PKG_CONFIG --variable=dridriverdir dri`
26420 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
26421 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
26422 eval ac_define_dir
="\"$dridriverdir\""
26423 eval ac_define_dir
="\"$ac_define_dir\""
26424 DRI_DRIVER_PATH
="$ac_define_dir"
26427 cat >>confdefs.h
<<_ACEOF
26428 #define DRI_DRIVER_PATH "$ac_define_dir"
26431 test "$prefix_NONE" && prefix
=NONE
26432 test "$exec_prefix_NONE" && exec_prefix
=NONE
26435 cat >>confdefs.h
<<_ACEOF
26436 #define XVENDORNAME "$VENDOR_NAME"
26440 cat >>confdefs.h
<<_ACEOF
26441 #define XVENDORNAMESHORT "$VENDOR_NAME_SHORT"
26445 cat >>confdefs.h
<<_ACEOF
26446 #define XORG_DATE "$RELEASE_DATE"
26450 cat >>confdefs.h
<<_ACEOF
26451 #define XORG_MAN_VERSION "$VENDOR_MAN_VERSION"
26455 cat >>confdefs.h
<<_ACEOF
26456 #define BUILDERADDR "$BUILDERADDR"
26460 if test -z "$OSNAME"; then
26465 cat >>confdefs.h
<<_ACEOF
26466 #define OSNAME "$OSNAME"
26470 cat >>confdefs.h
<<_ACEOF
26471 #define OSVENDOR "$OSVENDOR"
26475 cat >>confdefs.h
<<_ACEOF
26476 #define BUILDERSTRING "$BUILDERSTRING"
26482 cat >>confdefs.h
<<_ACEOF
26483 #define VENDOR_NAME "$VENDOR_NAME"
26487 cat >>confdefs.h
<<_ACEOF
26488 #define VENDOR_NAME_SHORT "$VENDOR_NAME_SHORT"
26492 cat >>confdefs.h
<<_ACEOF
26493 #define VENDOR_RELEASE $VENDOR_RELEASE
26497 cat >>confdefs.h
<<_ACEOF
26498 #define VENDOR_MAN_VERSION "$VENDOR_MAN_VERSION"
26503 $as_echo "#define NO_LIBCWRAPPER 1" >>confdefs.h
26506 if test "x$DEBUGGING" = xyes
; then
26508 $as_echo "#define DEBUG 1" >>confdefs.h
26511 if test "x$DEBUGGING" = xyes
; then
26521 $as_echo "#define XTEST 1" >>confdefs.h
26524 $as_echo "#define XSYNC 1" >>confdefs.h
26527 $as_echo "#define XCMISC 1" >>confdefs.h
26530 $as_echo "#define BIGREQS 1" >>confdefs.h
26533 if test "x$SPECIAL_DTRACE_OBJECTS" = "xyes" ; then
26534 DIX_LIB
='$(top_builddir)/dix/dix.O'
26535 OS_LIB
='$(top_builddir)/os/os.O $(SHA1_LIBS) $(DLOPEN_LIBS) $(LIBUNWIND_LIBS)'
26537 DIX_LIB
='$(top_builddir)/dix/libdix.la'
26538 OS_LIB
='$(top_builddir)/os/libos.la'
26543 MAIN_LIB
='$(top_builddir)/dix/libmain.la'
26546 MI_LIB
='$(top_builddir)/mi/libmi.la'
26547 MI_EXT_LIB
='$(top_builddir)/mi/libmiext.la'
26548 MI_INC
='-I$(top_srcdir)/mi'
26549 FB_LIB
='$(top_builddir)/fb/libfb.la'
26550 FB_INC
='-I$(top_srcdir)/fb'
26551 MIEXT_SHADOW_INC
='-I$(top_srcdir)/miext/shadow'
26552 MIEXT_SHADOW_LIB
='$(top_builddir)/miext/shadow/libshadow.la'
26553 MIEXT_SYNC_INC
='-I$(top_srcdir)/miext/sync'
26554 MIEXT_SYNC_LIB
='$(top_builddir)/miext/sync/libsync.la'
26555 CORE_INCS
='-I$(top_srcdir)/include -I$(top_builddir)/include'
26559 # Check whether --with-sha1 was given.
26560 if test "${with_sha1+set}" = set; then :
26561 withval
=$with_sha1;
26564 ac_fn_c_check_func
"$LINENO" "SHA1Init" "ac_cv_func_SHA1Init"
26565 if test "x$ac_cv_func_SHA1Init" = xyes
; then :
26566 HAVE_SHA1_IN_LIBC
=yes
26569 if test "x$with_sha1" = x
&& test "x$HAVE_SHA1_IN_LIBC" = xyes
; then
26572 if test "x$with_sha1" = xlibc
&& test "x$HAVE_SHA1_IN_LIBC" != xyes
; then
26573 as_fn_error $?
"libc requested but not found" "$LINENO" 5
26575 if test "x$with_sha1" = xlibc
; then
26577 $as_echo "#define HAVE_SHA1_IN_LIBC 1" >>confdefs.h
26581 ac_fn_c_check_func
"$LINENO" "CC_SHA1_Init" "ac_cv_func_CC_SHA1_Init"
26582 if test "x$ac_cv_func_CC_SHA1_Init" = xyes
; then :
26583 HAVE_SHA1_IN_COMMONCRYPTO
=yes
26586 if test "x$with_sha1" = x
&& test "x$HAVE_SHA1_IN_COMMONCRYPTO" = xyes
; then
26587 with_sha1
=CommonCrypto
26589 if test "x$with_sha1" = xCommonCrypto
&& test "x$HAVE_SHA1_IN_COMMONCRYPTO" != xyes
; then
26590 as_fn_error $?
"CommonCrypto requested but not found" "$LINENO" 5
26592 if test "x$with_sha1" = xCommonCrypto
; then
26594 $as_echo "#define HAVE_SHA1_IN_COMMONCRYPTO 1" >>confdefs.h
26598 ac_fn_c_check_header_compile
"$LINENO" "wincrypt.h" "ac_cv_header_wincrypt_h" "#include <windows.h>
26600 if test "x$ac_cv_header_wincrypt_h" = xyes
; then :
26601 HAVE_SHA1_IN_CRYPTOAPI
=yes
26605 if test "x$with_sha1" = x
&& test "x$HAVE_SHA1_IN_CRYPTOAPI" = xyes
; then
26606 with_sha1
=CryptoAPI
26608 if test "x$with_sha1" = xCryptoAPI
&& test "x$HAVE_SHA1_IN_CRYPTOAPI" != xyes
; then
26609 as_fn_error $?
"CryptoAPI requested but not found" "$LINENO" 5
26611 if test "x$with_sha1" = xCryptoAPI
; then
26613 $as_echo "#define HAVE_SHA1_IN_CRYPTOAPI 1" >>confdefs.h
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1Init in -lmd" >&5
26618 $as_echo_n "checking for SHA1Init in -lmd... " >&6; }
26619 if ${ac_cv_lib_md_SHA1Init+:} false
; then :
26620 $as_echo_n "(cached) " >&6
26622 ac_check_lib_save_LIBS
=$LIBS
26624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26625 /* end confdefs.h. */
26627 /* Override any GCC internal prototype to avoid an error.
26628 Use char because int might match the return type of a GCC
26629 builtin and then its argument prototype would still apply. */
26637 return SHA1Init ();
26642 if ac_fn_c_try_link
"$LINENO"; then :
26643 ac_cv_lib_md_SHA1Init
=yes
26645 ac_cv_lib_md_SHA1Init
=no
26647 rm -f core conftest.err conftest.
$ac_objext \
26648 conftest
$ac_exeext conftest.
$ac_ext
26649 LIBS
=$ac_check_lib_save_LIBS
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md_SHA1Init" >&5
26652 $as_echo "$ac_cv_lib_md_SHA1Init" >&6; }
26653 if test "x$ac_cv_lib_md_SHA1Init" = xyes
; then :
26657 if test "x$with_sha1" = x
&& test "x$HAVE_LIBMD" = xyes
; then
26660 if test "x$with_sha1" = xlibmd
&& test "x$HAVE_LIBMD" != xyes
; then
26661 as_fn_error $?
"libmd requested but not found" "$LINENO" 5
26663 if test "x$with_sha1" = xlibmd
; then
26665 $as_echo "#define HAVE_SHA1_IN_LIBMD 1" >>confdefs.h
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSHA1" >&5
26672 $as_echo_n "checking for LIBSHA1... " >&6; }
26674 if test -n "$LIBSHA1_CFLAGS"; then
26675 pkg_cv_LIBSHA1_CFLAGS
="$LIBSHA1_CFLAGS"
26676 elif test -n "$PKG_CONFIG"; then
26677 if test -n "$PKG_CONFIG" && \
26678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsha1\""; } >&5
26679 ($PKG_CONFIG --exists --print-errors "libsha1") 2>&5
26681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26682 test $ac_status = 0; }; then
26683 pkg_cv_LIBSHA1_CFLAGS
=`$PKG_CONFIG --cflags "libsha1" 2>/dev/null`
26690 if test -n "$LIBSHA1_LIBS"; then
26691 pkg_cv_LIBSHA1_LIBS
="$LIBSHA1_LIBS"
26692 elif test -n "$PKG_CONFIG"; then
26693 if test -n "$PKG_CONFIG" && \
26694 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsha1\""; } >&5
26695 ($PKG_CONFIG --exists --print-errors "libsha1") 2>&5
26697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26698 test $ac_status = 0; }; then
26699 pkg_cv_LIBSHA1_LIBS
=`$PKG_CONFIG --libs "libsha1" 2>/dev/null`
26709 if test $pkg_failed = yes; then
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26711 $as_echo "no" >&6; }
26713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26714 _pkg_short_errors_supported
=yes
26716 _pkg_short_errors_supported
=no
26718 if test $_pkg_short_errors_supported = yes; then
26719 LIBSHA1_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libsha1" 2>&1`
26721 LIBSHA1_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libsha1" 2>&1`
26723 # Put the nasty error message in config.log where it belongs
26724 echo "$LIBSHA1_PKG_ERRORS" >&5
26727 elif test $pkg_failed = untried
; then
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26729 $as_echo "no" >&6; }
26732 LIBSHA1_CFLAGS
=$pkg_cv_LIBSHA1_CFLAGS
26733 LIBSHA1_LIBS
=$pkg_cv_LIBSHA1_LIBS
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26735 $as_echo "yes" >&6; }
26738 if test "x$with_sha1" = x
&& test "x$HAVE_LIBSHA1" = xyes
; then
26741 if test "x$with_sha1" = xlibsha1
&& test "x$HAVE_LIBSHA1" != xyes
; then
26742 as_fn_error $?
"libsha1 requested but not found" "$LINENO" 5
26744 if test "x$with_sha1" = xlibsha1
; then
26746 $as_echo "#define HAVE_SHA1_IN_LIBSHA1 1" >>confdefs.h
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_sha1_init in -lnettle" >&5
26751 $as_echo_n "checking for nettle_sha1_init in -lnettle... " >&6; }
26752 if ${ac_cv_lib_nettle_nettle_sha1_init+:} false
; then :
26753 $as_echo_n "(cached) " >&6
26755 ac_check_lib_save_LIBS
=$LIBS
26756 LIBS
="-lnettle $LIBS"
26757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h. */
26760 /* Override any GCC internal prototype to avoid an error.
26761 Use char because int might match the return type of a GCC
26762 builtin and then its argument prototype would still apply. */
26766 char nettle_sha1_init ();
26770 return nettle_sha1_init ();
26775 if ac_fn_c_try_link
"$LINENO"; then :
26776 ac_cv_lib_nettle_nettle_sha1_init
=yes
26778 ac_cv_lib_nettle_nettle_sha1_init
=no
26780 rm -f core conftest.err conftest.
$ac_objext \
26781 conftest
$ac_exeext conftest.
$ac_ext
26782 LIBS
=$ac_check_lib_save_LIBS
26784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_sha1_init" >&5
26785 $as_echo "$ac_cv_lib_nettle_nettle_sha1_init" >&6; }
26786 if test "x$ac_cv_lib_nettle_nettle_sha1_init" = xyes
; then :
26790 if test "x$with_sha1" = x
&& test "x$HAVE_LIBNETTLE" = xyes
; then
26791 with_sha1
=libnettle
26793 if test "x$with_sha1" = xlibnettle
&& test "x$HAVE_LIBNETTLE" != xyes
; then
26794 as_fn_error $?
"libnettle requested but not found" "$LINENO" 5
26796 if test "x$with_sha1" = xlibnettle
; then
26798 $as_echo "#define HAVE_SHA1_IN_LIBNETTLE 1" >>confdefs.h
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_md_open in -lgcrypt" >&5
26803 $as_echo_n "checking for gcry_md_open in -lgcrypt... " >&6; }
26804 if ${ac_cv_lib_gcrypt_gcry_md_open+:} false
; then :
26805 $as_echo_n "(cached) " >&6
26807 ac_check_lib_save_LIBS
=$LIBS
26808 LIBS
="-lgcrypt $LIBS"
26809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26812 /* Override any GCC internal prototype to avoid an error.
26813 Use char because int might match the return type of a GCC
26814 builtin and then its argument prototype would still apply. */
26818 char gcry_md_open ();
26822 return gcry_md_open ();
26827 if ac_fn_c_try_link
"$LINENO"; then :
26828 ac_cv_lib_gcrypt_gcry_md_open
=yes
26830 ac_cv_lib_gcrypt_gcry_md_open
=no
26832 rm -f core conftest.err conftest.
$ac_objext \
26833 conftest
$ac_exeext conftest.
$ac_ext
26834 LIBS
=$ac_check_lib_save_LIBS
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_md_open" >&5
26837 $as_echo "$ac_cv_lib_gcrypt_gcry_md_open" >&6; }
26838 if test "x$ac_cv_lib_gcrypt_gcry_md_open" = xyes
; then :
26842 if test "x$with_sha1" = x
&& test "x$HAVE_LIBGCRYPT" = xyes
; then
26843 with_sha1
=libgcrypt
26845 if test "x$with_sha1" = xlibgcrypt
&& test "x$HAVE_LIBGCRYPT" != xyes
; then
26846 as_fn_error $?
"libgcrypt requested but not found" "$LINENO" 5
26848 if test "x$with_sha1" = xlibgcrypt
; then
26850 $as_echo "#define HAVE_SHA1_IN_LIBGCRYPT 1" >>confdefs.h
26854 # We don't need all of the OpenSSL libraries, just libcrypto
26855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
26856 $as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
26857 if ${ac_cv_lib_crypto_SHA1_Init+:} false
; then :
26858 $as_echo_n "(cached) " >&6
26860 ac_check_lib_save_LIBS
=$LIBS
26861 LIBS
="-lcrypto $LIBS"
26862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26863 /* end confdefs.h. */
26865 /* Override any GCC internal prototype to avoid an error.
26866 Use char because int might match the return type of a GCC
26867 builtin and then its argument prototype would still apply. */
26875 return SHA1_Init ();
26880 if ac_fn_c_try_link
"$LINENO"; then :
26881 ac_cv_lib_crypto_SHA1_Init
=yes
26883 ac_cv_lib_crypto_SHA1_Init
=no
26885 rm -f core conftest.err conftest.
$ac_objext \
26886 conftest
$ac_exeext conftest.
$ac_ext
26887 LIBS
=$ac_check_lib_save_LIBS
26889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
26890 $as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
26891 if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes
; then :
26897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
26898 $as_echo_n "checking for OPENSSL... " >&6; }
26900 if test -n "$OPENSSL_CFLAGS"; then
26901 pkg_cv_OPENSSL_CFLAGS
="$OPENSSL_CFLAGS"
26902 elif test -n "$PKG_CONFIG"; then
26903 if test -n "$PKG_CONFIG" && \
26904 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
26905 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
26907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26908 test $ac_status = 0; }; then
26909 pkg_cv_OPENSSL_CFLAGS
=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
26916 if test -n "$OPENSSL_LIBS"; then
26917 pkg_cv_OPENSSL_LIBS
="$OPENSSL_LIBS"
26918 elif test -n "$PKG_CONFIG"; then
26919 if test -n "$PKG_CONFIG" && \
26920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
26921 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
26923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26924 test $ac_status = 0; }; then
26925 pkg_cv_OPENSSL_LIBS
=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
26935 if test $pkg_failed = yes; then
26936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26937 $as_echo "no" >&6; }
26939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26940 _pkg_short_errors_supported
=yes
26942 _pkg_short_errors_supported
=no
26944 if test $_pkg_short_errors_supported = yes; then
26945 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
26947 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --print-errors "openssl" 2>&1`
26949 # Put the nasty error message in config.log where it belongs
26950 echo "$OPENSSL_PKG_ERRORS" >&5
26952 HAVE_OPENSSL_PKC
=no
26953 elif test $pkg_failed = untried
; then
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26955 $as_echo "no" >&6; }
26956 HAVE_OPENSSL_PKC
=no
26958 OPENSSL_CFLAGS
=$pkg_cv_OPENSSL_CFLAGS
26959 OPENSSL_LIBS
=$pkg_cv_OPENSSL_LIBS
26960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26961 $as_echo "yes" >&6; }
26962 HAVE_OPENSSL_PKC
=yes
26964 if test "x$HAVE_LIBCRYPTO" = xyes ||
test "x$HAVE_OPENSSL_PKC" = xyes
; then
26965 if test "x$with_sha1" = x
; then
26966 with_sha1
=libcrypto
26969 if test "x$with_sha1" = xlibcrypto
; then
26970 as_fn_error $?
"OpenSSL libcrypto requested but not found" "$LINENO" 5
26973 if test "x$with_sha1" = xlibcrypto
; then
26974 if test "x$HAVE_LIBCRYPTO" = xyes
; then
26977 SHA1_LIBS
="$OPENSSL_LIBS"
26978 SHA1_CFLAGS
="$OPENSSL_CFLAGS"
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1 implementation" >&5
26982 $as_echo_n "checking for SHA1 implementation... " >&6; }
26983 if test "x$with_sha1" = x
; then
26984 as_fn_error $?
"No suitable SHA1 implementation found" "$LINENO" 5
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sha1" >&5
26987 $as_echo "$with_sha1" >&6; }
26993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSERVERCFLAGS" >&5
26994 $as_echo_n "checking for XSERVERCFLAGS... " >&6; }
26996 if test -n "$XSERVERCFLAGS_CFLAGS"; then
26997 pkg_cv_XSERVERCFLAGS_CFLAGS
="$XSERVERCFLAGS_CFLAGS"
26998 elif test -n "$PKG_CONFIG"; then
26999 if test -n "$PKG_CONFIG" && \
27000 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\""; } >&5
27001 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5
27003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27004 test $ac_status = 0; }; then
27005 pkg_cv_XSERVERCFLAGS_CFLAGS
=`$PKG_CONFIG --cflags "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null`
27012 if test -n "$XSERVERCFLAGS_LIBS"; then
27013 pkg_cv_XSERVERCFLAGS_LIBS
="$XSERVERCFLAGS_LIBS"
27014 elif test -n "$PKG_CONFIG"; then
27015 if test -n "$PKG_CONFIG" && \
27016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\""; } >&5
27017 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5
27019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27020 test $ac_status = 0; }; then
27021 pkg_cv_XSERVERCFLAGS_LIBS
=`$PKG_CONFIG --libs "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null`
27031 if test $pkg_failed = yes; then
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27033 $as_echo "no" >&6; }
27035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27036 _pkg_short_errors_supported
=yes
27038 _pkg_short_errors_supported
=no
27040 if test $_pkg_short_errors_supported = yes; then
27041 XSERVERCFLAGS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS" 2>&1`
27043 XSERVERCFLAGS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS" 2>&1`
27045 # Put the nasty error message in config.log where it belongs
27046 echo "$XSERVERCFLAGS_PKG_ERRORS" >&5
27048 as_fn_error $?
"Package requirements ($REQUIRED_MODULES $REQUIRED_LIBS) were not met:
27050 $XSERVERCFLAGS_PKG_ERRORS
27052 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27053 installed software in a non-standard prefix.
27055 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
27056 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
27057 See the pkg-config man page for more details." "$LINENO" 5
27059 elif test $pkg_failed = untried
; then
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27061 $as_echo "no" >&6; }
27062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27064 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
27065 is in your PATH or set the PKG_CONFIG environment variable to the full
27066 path to pkg-config.
27068 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
27069 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
27070 See the pkg-config man page for more details.
27072 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27073 See \`config.log' for more details" "$LINENO" 5; }
27076 XSERVERCFLAGS_CFLAGS
=$pkg_cv_XSERVERCFLAGS_CFLAGS
27077 XSERVERCFLAGS_LIBS
=$pkg_cv_XSERVERCFLAGS_LIBS
27078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27079 $as_echo "yes" >&6; }
27084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSERVERLIBS" >&5
27085 $as_echo_n "checking for XSERVERLIBS... " >&6; }
27087 if test -n "$XSERVERLIBS_CFLAGS"; then
27088 pkg_cv_XSERVERLIBS_CFLAGS
="$XSERVERLIBS_CFLAGS"
27089 elif test -n "$PKG_CONFIG"; then
27090 if test -n "$PKG_CONFIG" && \
27091 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\""; } >&5
27092 ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5
27094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27095 test $ac_status = 0; }; then
27096 pkg_cv_XSERVERLIBS_CFLAGS
=`$PKG_CONFIG --cflags "$REQUIRED_LIBS" 2>/dev/null`
27103 if test -n "$XSERVERLIBS_LIBS"; then
27104 pkg_cv_XSERVERLIBS_LIBS
="$XSERVERLIBS_LIBS"
27105 elif test -n "$PKG_CONFIG"; then
27106 if test -n "$PKG_CONFIG" && \
27107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\""; } >&5
27108 ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5
27110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27111 test $ac_status = 0; }; then
27112 pkg_cv_XSERVERLIBS_LIBS
=`$PKG_CONFIG --libs "$REQUIRED_LIBS" 2>/dev/null`
27122 if test $pkg_failed = yes; then
27123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27124 $as_echo "no" >&6; }
27126 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27127 _pkg_short_errors_supported
=yes
27129 _pkg_short_errors_supported
=no
27131 if test $_pkg_short_errors_supported = yes; then
27132 XSERVERLIBS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$REQUIRED_LIBS" 2>&1`
27134 XSERVERLIBS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$REQUIRED_LIBS" 2>&1`
27136 # Put the nasty error message in config.log where it belongs
27137 echo "$XSERVERLIBS_PKG_ERRORS" >&5
27139 as_fn_error $?
"Package requirements ($REQUIRED_LIBS) were not met:
27141 $XSERVERLIBS_PKG_ERRORS
27143 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27144 installed software in a non-standard prefix.
27146 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
27147 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
27148 See the pkg-config man page for more details." "$LINENO" 5
27150 elif test $pkg_failed = untried
; then
27151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27152 $as_echo "no" >&6; }
27153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27155 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
27156 is in your PATH or set the PKG_CONFIG environment variable to the full
27157 path to pkg-config.
27159 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
27160 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
27161 See the pkg-config man page for more details.
27163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27164 See \`config.log' for more details" "$LINENO" 5; }
27167 XSERVERLIBS_CFLAGS
=$pkg_cv_XSERVERLIBS_CFLAGS
27168 XSERVERLIBS_LIBS
=$pkg_cv_XSERVERLIBS_LIBS
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27170 $as_echo "yes" >&6; }
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUNWIND" >&5
27177 $as_echo_n "checking for LIBUNWIND... " >&6; }
27179 if test -n "$LIBUNWIND_CFLAGS"; then
27180 pkg_cv_LIBUNWIND_CFLAGS
="$LIBUNWIND_CFLAGS"
27181 elif test -n "$PKG_CONFIG"; then
27182 if test -n "$PKG_CONFIG" && \
27183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libunwind\""; } >&5
27184 ($PKG_CONFIG --exists --print-errors "libunwind") 2>&5
27186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27187 test $ac_status = 0; }; then
27188 pkg_cv_LIBUNWIND_CFLAGS
=`$PKG_CONFIG --cflags "libunwind" 2>/dev/null`
27195 if test -n "$LIBUNWIND_LIBS"; then
27196 pkg_cv_LIBUNWIND_LIBS
="$LIBUNWIND_LIBS"
27197 elif test -n "$PKG_CONFIG"; then
27198 if test -n "$PKG_CONFIG" && \
27199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libunwind\""; } >&5
27200 ($PKG_CONFIG --exists --print-errors "libunwind") 2>&5
27202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27203 test $ac_status = 0; }; then
27204 pkg_cv_LIBUNWIND_LIBS
=`$PKG_CONFIG --libs "libunwind" 2>/dev/null`
27214 if test $pkg_failed = yes; then
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27216 $as_echo "no" >&6; }
27218 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27219 _pkg_short_errors_supported
=yes
27221 _pkg_short_errors_supported
=no
27223 if test $_pkg_short_errors_supported = yes; then
27224 LIBUNWIND_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libunwind" 2>&1`
27226 LIBUNWIND_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libunwind" 2>&1`
27228 # Put the nasty error message in config.log where it belongs
27229 echo "$LIBUNWIND_PKG_ERRORS" >&5
27232 elif test $pkg_failed = untried
; then
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27234 $as_echo "no" >&6; }
27237 LIBUNWIND_CFLAGS
=$pkg_cv_LIBUNWIND_CFLAGS
27238 LIBUNWIND_LIBS
=$pkg_cv_LIBUNWIND_LIBS
27239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27240 $as_echo "yes" >&6; }
27243 if test "x$LIBUNWIND" = "xauto"; then
27244 LIBUNWIND
="$HAVE_LIBUNWIND"
27247 if test "x$LIBUNWIND" = "xyes"; then
27248 if test "x$HAVE_LIBUNWIND" != "xyes"; then
27249 as_fn_error $?
"libunwind requested but not installed." "$LINENO" 5
27252 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
27256 if test "x$LIBUNWIND" = xyes
; then
27257 HAVE_LIBUNWIND_TRUE
=
27258 HAVE_LIBUNWIND_FALSE
='#'
27260 HAVE_LIBUNWIND_TRUE
='#'
27261 HAVE_LIBUNWIND_FALSE
=
27265 # Autotools has some unfortunate issues with library handling. In order to
27266 # get a server to rebuild when a dependency in the tree is changed, it must
27267 # be listed in SERVERNAME_DEPENDENCIES. However, no system libraries may be
27268 # listed there, or some versions of autotools will break (especially if a -L
27269 # is required to find the library). So, we keep two sets of libraries
27270 # detected: NAMESPACE_LIBS for in-tree libraries to be linked against, which
27271 # will go into the _DEPENDENCIES and _LDADD of the server, and
27272 # NAMESPACE_SYS_LIBS which will go into only the _LDADD. The
27273 # NAMESPACEMODULES_LIBS detected from pkgconfig should always go in
27274 # NAMESPACE_SYS_LIBS.
27276 # XSERVER_LIBS is the set of in-tree libraries which all servers require.
27277 # XSERVER_SYS_LIBS is the set of out-of-tree libraries which all servers
27280 XSERVER_CFLAGS
="${XSERVER_CFLAGS} ${XSERVERCFLAGS_CFLAGS}"
27281 XSERVER_LIBS
="$DIX_LIB $MI_LIB $OS_LIB"
27282 XSERVER_SYS_LIBS
="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS}"
27286 UTILS_SYS_LIBS
="${SYS_LIBS}"
27289 # The Xorg binary needs to export symbols so that they can be used from modules
27290 # Some platforms require extra flags to do this. libtool should set the
27291 # necessary flags for each platform when -export-dynamic is passed to it.
27292 LD_EXPORT_SYMBOLS_FLAG
="-export-dynamic"
27293 LD_NO_UNDEFINED_FLAG
=
27297 LD_EXPORT_SYMBOLS_FLAG
="-Wl,--export-all,--out-implib,lib\$@.a"
27298 LD_NO_UNDEFINED_FLAG
="-no-undefined -Wl,\$(top_builddir)/hw/xfree86/libXorg.exe.a"
27299 XORG_DRIVER_LIBS
="-lXorg.exe -L\${moduledir} -lshadow -lfb -no-undefined"
27303 # We use AC_LINK_IFELSE to generate a temporary program conftest$EXEEXT
27304 # that we can link against for testing if the system linker is new
27305 # enough to support -z parent=<program> for verifying loadable modules
27306 # are only calling functions defined in either the loading program or
27307 # the libraries they're linked with.
27308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27309 /* end confdefs.h. */
27310 int main(int argc, char **argv) { return 0; }
27312 if ac_fn_c_try_link
"$LINENO"; then :
27313 mv conftest
$EXEEXT conftest.parent
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,parent=conftest.parent -G" >&5
27315 $as_echo_n "checking whether the linker accepts -Wl,-z,parent=conftest.parent -G... " >&6; }
27316 ax_save_FLAGS
=$LDFLAGS
27317 LDFLAGS
="-Wl,-z,parent=conftest.parent -G"
27318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27319 /* end confdefs.h. */
27329 if ac_fn_c_try_link
"$LINENO"; then :
27330 eval `$as_echo "xorg_cv_linker_flags_-Wl,-z,parent=conftest.parent -G" | $as_tr_sh`=yes
27332 eval `$as_echo "xorg_cv_linker_flags_-Wl,-z,parent=conftest.parent -G" | $as_tr_sh`=no
27334 rm -f core conftest.err conftest.
$ac_objext \
27335 conftest
$ac_exeext conftest.
$ac_ext
27336 LDFLAGS
=$ax_save_FLAGS
27337 eval xorg_check_linker_flags
=$
`$as_echo "xorg_cv_linker_flags_-Wl,-z,parent=conftest.parent -G" | $as_tr_sh`
27338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_check_linker_flags" >&5
27339 $as_echo "$xorg_check_linker_flags" >&6; }
27340 if test "x$xorg_check_linker_flags" = xyes
; then
27341 LD_NO_UNDEFINED_FLAG
="-Wl,-z,defs -Wl,-z,parent=\$(top_builddir)/hw/xfree86/Xorg"
27342 # Not set yet, since this gets exported in xorg-server.pc to all the drivers,
27343 # and they're not all fixed to build correctly with it yet.
27344 # XORG_DRIVER_LIBS="-Wl,-z,defs -Wl,-z,parent=${bindir}/Xorg"
27350 rm -f conftest.parent
27353 rm -f core conftest.err conftest.
$ac_objext \
27354 conftest
$ac_exeext conftest.
$ac_ext
27360 if test x
"$CYGWIN" = xyes
; then
27368 if test x
"$LD_NO_UNDEFINED_FLAG" != x
; then
27370 NO_UNDEFINED_FALSE
='#'
27372 NO_UNDEFINED_TRUE
='#'
27373 NO_UNDEFINED_FALSE
=
27377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SVR4 needs to be defined" >&5
27378 $as_echo_n "checking if SVR4 needs to be defined... " >&6; }
27379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27380 /* end confdefs.h. */
27382 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4)
27387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27388 $EGREP "I_AM_SVR4" >/dev
/null
2>&1; then :
27391 $as_echo "#define SVR4 1" >>confdefs.h
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27394 $as_echo "yes" >&6; }
27396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27397 $as_echo "no" >&6; }
27402 XSERVER_CFLAGS
="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SYNC_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC $DBE_INC $PRESENT_INC"
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xvfb DDX" >&5
27407 $as_echo_n "checking whether to build Xvfb DDX... " >&6; }
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XVFB" >&5
27409 $as_echo "$XVFB" >&6; }
27410 if test "x$XVFB" = xyes
; then
27419 if test "x$XVFB" = xyes
; then
27420 XVFB_LIBS
="$FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB"
27421 XVFB_SYS_LIBS
="$XVFBMODULES_LIBS $GLX_SYS_LIBS"
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNESTMODULES" >&5
27431 $as_echo_n "checking for XNESTMODULES... " >&6; }
27433 if test -n "$XNESTMODULES_CFLAGS"; then
27434 pkg_cv_XNESTMODULES_CFLAGS
="$XNESTMODULES_CFLAGS"
27435 elif test -n "$PKG_CONFIG"; then
27436 if test -n "$PKG_CONFIG" && \
27437 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11 xau \$XDMCP_MODULES\""; } >&5
27438 ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11 xau $XDMCP_MODULES") 2>&5
27440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27441 test $ac_status = 0; }; then
27442 pkg_cv_XNESTMODULES_CFLAGS
=`$PKG_CONFIG --cflags "$LIBXEXT x11 xau $XDMCP_MODULES" 2>/dev/null`
27449 if test -n "$XNESTMODULES_LIBS"; then
27450 pkg_cv_XNESTMODULES_LIBS
="$XNESTMODULES_LIBS"
27451 elif test -n "$PKG_CONFIG"; then
27452 if test -n "$PKG_CONFIG" && \
27453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11 xau \$XDMCP_MODULES\""; } >&5
27454 ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11 xau $XDMCP_MODULES") 2>&5
27456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27457 test $ac_status = 0; }; then
27458 pkg_cv_XNESTMODULES_LIBS
=`$PKG_CONFIG --libs "$LIBXEXT x11 xau $XDMCP_MODULES" 2>/dev/null`
27468 if test $pkg_failed = yes; then
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27470 $as_echo "no" >&6; }
27472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27473 _pkg_short_errors_supported
=yes
27475 _pkg_short_errors_supported
=no
27477 if test $_pkg_short_errors_supported = yes; then
27478 XNESTMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBXEXT x11 xau $XDMCP_MODULES" 2>&1`
27480 XNESTMODULES_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBXEXT x11 xau $XDMCP_MODULES" 2>&1`
27482 # Put the nasty error message in config.log where it belongs
27483 echo "$XNESTMODULES_PKG_ERRORS" >&5
27486 elif test $pkg_failed = untried
; then
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27488 $as_echo "no" >&6; }
27491 XNESTMODULES_CFLAGS
=$pkg_cv_XNESTMODULES_CFLAGS
27492 XNESTMODULES_LIBS
=$pkg_cv_XNESTMODULES_LIBS
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27494 $as_echo "yes" >&6; }
27497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xnest DDX" >&5
27498 $as_echo_n "checking whether to build Xnest DDX... " >&6; }
27499 if test "x$XNEST" = xauto
; then
27500 XNEST
="$have_xnest"
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XNEST" >&5
27503 $as_echo "$XNEST" >&6; }
27504 if test "x$XNEST" = xyes
; then
27513 if test "x$XNEST" = xyes
; then
27514 if test "x$have_xnest" = xno
; then
27515 as_fn_error $?
"Xnest build explicitly requested, but required modules not found." "$LINENO" 5
27517 XNEST_LIBS
="$FB_LIB $FIXES_LIB $MI_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $MAIN_LIB $DIX_LIB $OS_LIB"
27518 XNEST_SYS_LIBS
="$XNESTMODULES_LIBS $GLX_SYS_LIBS"
27525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xorg DDX" >&5
27526 $as_echo_n "checking whether to build Xorg DDX... " >&6; }
27527 if test "x$XORG" = xauto
; then
27530 cygwin
*) XORG
="no" ;;
27531 mingw
*) XORG
="no" ;;
27532 darwin
*) XORG
="no" ;;
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG" >&5
27536 $as_echo "$XORG" >&6; }
27538 if test "x$XORG" = xyes
; then
27539 XORG_DDXINCS
='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common'
27540 XORG_OSINCS
='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
27541 XORG_INCS
="$XORG_DDXINCS $XORG_OSINCS"
27542 XORG_CFLAGS
="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H"
27543 XORG_LIBS
="$COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $XI_LIB $XKB_LIB"
27546 have_visibility
=disabled
27547 if test x
$SYMBOL_VISIBILITY != xno
; then
27548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol visibility support" >&5
27549 $as_echo_n "checking for symbol visibility support... " >&6; }
27550 if test x
$GCC = xyes
; then
27551 VISIBILITY_CFLAGS
="-fvisibility=hidden"
27553 if test x
$SUNCC = xyes
; then
27554 VISIBILITY_CFLAGS
="-xldscope=hidden"
27559 if test x
$have_visibility != xno
; then
27560 save_CFLAGS
="$CFLAGS"
27561 proto_inc
=`$PKG_CONFIG --cflags xproto`
27562 CFLAGS
="$CFLAGS $VISIBILITY_CFLAGS $proto_inc"
27563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27564 /* end confdefs.h. */
27565 #include <X11/Xfuncproto.h>
27566 extern _X_HIDDEN int hidden_int;
27567 extern _X_EXPORT int public_int;
27568 extern _X_HIDDEN int hidden_int_func(void);
27569 extern _X_EXPORT int public_int_func(void);
27578 if ac_fn_c_try_compile
"$LINENO"; then :
27579 have_visibility
=yes
27583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27584 CFLAGS
=$save_CFLAGS
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_visibility" >&5
27587 $as_echo "$have_visibility" >&6; }
27588 if test x
$have_visibility != xno
; then
27589 symbol_visibility
=$VISIBILITY_CFLAGS
27590 XORG_CFLAGS
="$XORG_CFLAGS $VISIBILITY_CFLAGS"
27591 XSERVER_CFLAGS
="$XSERVER_CFLAGS $VISIBILITY_CFLAGS"
27599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xorg PCI functions" >&5
27600 $as_echo_n "checking whether to build Xorg PCI functions... " >&6; }
27601 if test "x$PCI" = xyes
; then
27604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
27605 $as_echo_n "checking for PCIACCESS... " >&6; }
27607 if test -n "$PCIACCESS_CFLAGS"; then
27608 pkg_cv_PCIACCESS_CFLAGS
="$PCIACCESS_CFLAGS"
27609 elif test -n "$PKG_CONFIG"; then
27610 if test -n "$PKG_CONFIG" && \
27611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPCIACCESS\""; } >&5
27612 ($PKG_CONFIG --exists --print-errors "$LIBPCIACCESS") 2>&5
27614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27615 test $ac_status = 0; }; then
27616 pkg_cv_PCIACCESS_CFLAGS
=`$PKG_CONFIG --cflags "$LIBPCIACCESS" 2>/dev/null`
27623 if test -n "$PCIACCESS_LIBS"; then
27624 pkg_cv_PCIACCESS_LIBS
="$PCIACCESS_LIBS"
27625 elif test -n "$PKG_CONFIG"; then
27626 if test -n "$PKG_CONFIG" && \
27627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPCIACCESS\""; } >&5
27628 ($PKG_CONFIG --exists --print-errors "$LIBPCIACCESS") 2>&5
27630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27631 test $ac_status = 0; }; then
27632 pkg_cv_PCIACCESS_LIBS
=`$PKG_CONFIG --libs "$LIBPCIACCESS" 2>/dev/null`
27642 if test $pkg_failed = yes; then
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27644 $as_echo "no" >&6; }
27646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27647 _pkg_short_errors_supported
=yes
27649 _pkg_short_errors_supported
=no
27651 if test $_pkg_short_errors_supported = yes; then
27652 PCIACCESS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBPCIACCESS" 2>&1`
27654 PCIACCESS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBPCIACCESS" 2>&1`
27656 # Put the nasty error message in config.log where it belongs
27657 echo "$PCIACCESS_PKG_ERRORS" >&5
27659 as_fn_error $?
"Package requirements ($LIBPCIACCESS) were not met:
27661 $PCIACCESS_PKG_ERRORS
27663 Consider adjusting the PKG_CONFIG_PATH environment variable if you
27664 installed software in a non-standard prefix.
27666 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
27667 and PCIACCESS_LIBS to avoid the need to call pkg-config.
27668 See the pkg-config man page for more details." "$LINENO" 5
27670 elif test $pkg_failed = untried
; then
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27672 $as_echo "no" >&6; }
27673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27675 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
27676 is in your PATH or set the PKG_CONFIG environment variable to the full
27677 path to pkg-config.
27679 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
27680 and PCIACCESS_LIBS to avoid the need to call pkg-config.
27681 See the pkg-config man page for more details.
27683 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
27684 See \`config.log' for more details" "$LINENO" 5; }
27687 PCIACCESS_CFLAGS
=$pkg_cv_PCIACCESS_CFLAGS
27688 PCIACCESS_LIBS
=$pkg_cv_PCIACCESS_LIBS
27689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27690 $as_echo "yes" >&6; }
27693 SDK_REQUIRED_MODULES
="$SDK_REQUIRED_MODULES $LIBPCIACCESS"
27694 XORG_SYS_LIBS
="$XORG_SYS_LIBS $PCIACCESS_LIBS $GLX_SYS_LIBS $LIBDRM_LIBS"
27695 XORG_CFLAGS
="$XORG_CFLAGS $PCIACCESS_CFLAGS $LIBDRM_CFLAGS"
27698 $as_echo "#define XSERVER_LIBPCIACCESS 1" >>confdefs.h
27703 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
27704 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
27705 eval ac_define_dir
="\"$PCI_TXT_IDS_DIR\""
27706 eval ac_define_dir
="\"$ac_define_dir\""
27707 PCI_TXT_IDS_PATH
="$ac_define_dir"
27710 cat >>confdefs.h
<<_ACEOF
27711 #define PCI_TXT_IDS_PATH "$ac_define_dir"
27714 test "$prefix_NONE" && prefix
=NONE
27715 test "$exec_prefix_NONE" && exec_prefix
=NONE
27718 gnu
* | freebsd
* | kfreebsd
*-gnu | netbsd
* | openbsd
* | solaris
* | dragonfly
*)
27719 xorg_bus_bsdpci
="yes"
27724 xorg_bus_sparc
="yes"
27728 if test "x$CONFIG_UDEV_KMS" = xyes
; then
27729 as_fn_error $?
"Platform device enumeration requires libpciaccess" "$LINENO" 5
27731 if test "x$INT10MODULE" = xyes
&& test "x$INT10" != xstub
; then
27732 as_fn_error $?
"Cannot build int10 without libpciaccess" "$LINENO" 5
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCI" >&5
27736 $as_echo "$PCI" >&6; }
27738 if test "x$CONFIG_UDEV_KMS" = xyes
; then
27740 $as_echo "#define XSERVER_PLATFORM_BUS 1" >>confdefs.h
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSERVER_PLATFORM_BUS" >&5
27744 $as_echo "$XSERVER_PLATFORM_BUS" >&6; }
27748 XORG_OS_SUBDIR
="linux"
27754 i
*86|amd64
*|x86_64
*|ia64
*)
27755 linux_acpi
=$enable_linux_acpi
27760 for ac_header
in linux
/apm_bios.h
27762 ac_fn_c_check_header_mongrel
"$LINENO" "linux/apm_bios.h" "ac_cv_header_linux_apm_bios_h" "$ac_includes_default"
27763 if test "x$ac_cv_header_linux_apm_bios_h" = xyes
; then :
27764 cat >>confdefs.h
<<_ACEOF
27765 #define HAVE_LINUX_APM_BIOS_H 1
27767 linux_apm
=$enable_linux_apm
27772 if test "x$linux_apm" = xyes
-o "x$linux_acpi" = xyes
; then
27774 $as_echo "#define XF86PM 1" >>confdefs.h
27778 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
27779 XORG_OS_SUBDIR
="bsd"
27782 XORG_OS_SUBDIR
="bsd"
27785 if test "x$ac_cv_BSD_APM" = xyes \
27786 -o "x$ac_cv_BSD_KQUEUE_APM" = xyes
; then
27787 XORG_CFLAGS
="$XORG_CFLAGS -DXF86PM"
27789 XORG_OS_SUBDIR
="bsd"
27792 XORG_OS_SUBDIR
="solaris"
27793 XORG_CFLAGS
="$XORG_CFLAGS -DXF86PM"
27794 for ac_header
in sys
/kd.h
27796 ac_fn_c_check_header_mongrel
"$LINENO" "sys/kd.h" "ac_cv_header_sys_kd_h" "$ac_includes_default"
27797 if test "x$ac_cv_header_sys_kd_h" = xyes
; then :
27798 cat >>confdefs.h
<<_ACEOF
27799 #define HAVE_SYS_KD_H 1
27806 for ac_header
in sys
/vt.h
27808 ac_fn_c_check_header_mongrel
"$LINENO" "sys/vt.h" "ac_cv_header_sys_vt_h" "$ac_includes_default"
27809 if test "x$ac_cv_header_sys_vt_h" = xyes
; then :
27810 cat >>confdefs.h
<<_ACEOF
27811 #define HAVE_SYS_VT_H 1
27820 # Check for minimum supported release
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Solaris version" >&5
27822 $as_echo_n "checking Solaris version... " >&6; }
27823 OS_MINOR
=`echo ${host_os}|$SED -e 's/^.*solaris2\.//' -e s'/\..*$//'`
27824 if test "${OS_MINOR}" -ge 7 ; then
27825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris ${OS_MINOR}" >&5
27826 $as_echo "Solaris ${OS_MINOR}" >&6; }
27828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris \`echo ${host_os}|$SED -e 's/^.*solaris//\`" >&5
27829 $as_echo "Solaris \`echo ${host_os}|$SED -e 's/^.*solaris//\`" >&6; }
27831 if test "${OS_MINOR}" -lt 8 ; then
27832 as_fn_error $?
"This release no longer supports Solaris versions older than Solaris 8." "$LINENO" 5
27834 ac_fn_c_check_decl
"$LINENO" "_LP64" "ac_cv_have_decl__LP64" "$ac_includes_default"
27835 if test "x$ac_cv_have_decl__LP64" = xyes
; then :
27844 SOLARIS_INOUT_ARCH
="sparcv8plus"
27847 if test x
$SOLARIS_64 = xyes
; then
27848 SOLARIS_INOUT_ARCH
="amd64"
27850 SOLARIS_INOUT_ARCH
="ia32"
27854 as_fn_error $?
"Unsupported Solaris platform. Only SPARC & x86 \
27855 are supported on Solaris in this release. If you are \
27856 interested in porting Xorg to your platform, please email \
27857 xorg@lists.freedesktop.org." "$LINENO" 5 ;;
27862 XORG_OS_SUBDIR
="hurd"
27865 XORG_OS_SUBDIR
="stub"
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: Your OS is unknown. Xorg currently only supports Linux,
27867 Free/Open/Net/DragonFlyBSD, Solaris/OpenSolaris, & GNU Hurd. If you are
27868 interested in porting Xorg to your platform, please email
27869 xorg@lists.freedesktop.org." >&5
27870 $as_echo "$as_me: Your OS is unknown. Xorg currently only supports Linux,
27871 Free/Open/Net/DragonFlyBSD, Solaris/OpenSolaris, & GNU Hurd. If you are
27872 interested in porting Xorg to your platform, please email
27873 xorg@lists.freedesktop.org." >&6;}
27882 if test "x$DGA" = xauto
; then
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGA" >&5
27886 $as_echo_n "checking for DGA... " >&6; }
27888 if test -n "$DGA_CFLAGS"; then
27889 pkg_cv_DGA_CFLAGS
="$DGA_CFLAGS"
27890 elif test -n "$PKG_CONFIG"; then
27891 if test -n "$PKG_CONFIG" && \
27892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
27893 ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
27895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27896 test $ac_status = 0; }; then
27897 pkg_cv_DGA_CFLAGS
=`$PKG_CONFIG --cflags "$DGAPROTO" 2>/dev/null`
27904 if test -n "$DGA_LIBS"; then
27905 pkg_cv_DGA_LIBS
="$DGA_LIBS"
27906 elif test -n "$PKG_CONFIG"; then
27907 if test -n "$PKG_CONFIG" && \
27908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
27909 ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
27911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27912 test $ac_status = 0; }; then
27913 pkg_cv_DGA_LIBS
=`$PKG_CONFIG --libs "$DGAPROTO" 2>/dev/null`
27923 if test $pkg_failed = yes; then
27924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27925 $as_echo "no" >&6; }
27927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27928 _pkg_short_errors_supported
=yes
27930 _pkg_short_errors_supported
=no
27932 if test $_pkg_short_errors_supported = yes; then
27933 DGA_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$DGAPROTO" 2>&1`
27935 DGA_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$DGAPROTO" 2>&1`
27937 # Put the nasty error message in config.log where it belongs
27938 echo "$DGA_PKG_ERRORS" >&5
27941 elif test $pkg_failed = untried
; then
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27943 $as_echo "no" >&6; }
27946 DGA_CFLAGS
=$pkg_cv_DGA_CFLAGS
27947 DGA_LIBS
=$pkg_cv_DGA_LIBS
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27949 $as_echo "yes" >&6; }
27953 if test "x$DGA" = xyes
; then
27954 XORG_MODULES
="$XORG_MODULES $DGAPROTO"
27957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGA" >&5
27958 $as_echo_n "checking for DGA... " >&6; }
27960 if test -n "$DGA_CFLAGS"; then
27961 pkg_cv_DGA_CFLAGS
="$DGA_CFLAGS"
27962 elif test -n "$PKG_CONFIG"; then
27963 if test -n "$PKG_CONFIG" && \
27964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
27965 ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
27967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27968 test $ac_status = 0; }; then
27969 pkg_cv_DGA_CFLAGS
=`$PKG_CONFIG --cflags "$DGAPROTO" 2>/dev/null`
27976 if test -n "$DGA_LIBS"; then
27977 pkg_cv_DGA_LIBS
="$DGA_LIBS"
27978 elif test -n "$PKG_CONFIG"; then
27979 if test -n "$PKG_CONFIG" && \
27980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
27981 ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
27983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27984 test $ac_status = 0; }; then
27985 pkg_cv_DGA_LIBS
=`$PKG_CONFIG --libs "$DGAPROTO" 2>/dev/null`
27995 if test $pkg_failed = yes; then
27996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27997 $as_echo "no" >&6; }
27999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28000 _pkg_short_errors_supported
=yes
28002 _pkg_short_errors_supported
=no
28004 if test $_pkg_short_errors_supported = yes; then
28005 DGA_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$DGAPROTO" 2>&1`
28007 DGA_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$DGAPROTO" 2>&1`
28009 # Put the nasty error message in config.log where it belongs
28010 echo "$DGA_PKG_ERRORS" >&5
28012 as_fn_error $?
"Package requirements ($DGAPROTO) were not met:
28016 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28017 installed software in a non-standard prefix.
28019 Alternatively, you may set the environment variables DGA_CFLAGS
28020 and DGA_LIBS to avoid the need to call pkg-config.
28021 See the pkg-config man page for more details." "$LINENO" 5
28023 elif test $pkg_failed = untried
; then
28024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28025 $as_echo "no" >&6; }
28026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28028 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
28029 is in your PATH or set the PKG_CONFIG environment variable to the full
28030 path to pkg-config.
28032 Alternatively, you may set the environment variables DGA_CFLAGS
28033 and DGA_LIBS to avoid the need to call pkg-config.
28034 See the pkg-config man page for more details.
28036 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28037 See \`config.log' for more details" "$LINENO" 5; }
28040 DGA_CFLAGS
=$pkg_cv_DGA_CFLAGS
28041 DGA_LIBS
=$pkg_cv_DGA_LIBS
28042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28043 $as_echo "yes" >&6; }
28047 $as_echo "#define DGA 1" >>confdefs.h
28050 $as_echo "#define XFreeXDGA 1" >>confdefs.h
28054 if test "x$XF86VIDMODE" = xauto
; then
28057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VIDMODE" >&5
28058 $as_echo_n "checking for XF86VIDMODE... " >&6; }
28060 if test -n "$XF86VIDMODE_CFLAGS"; then
28061 pkg_cv_XF86VIDMODE_CFLAGS
="$XF86VIDMODE_CFLAGS"
28062 elif test -n "$PKG_CONFIG"; then
28063 if test -n "$PKG_CONFIG" && \
28064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
28065 ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
28067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28068 test $ac_status = 0; }; then
28069 pkg_cv_XF86VIDMODE_CFLAGS
=`$PKG_CONFIG --cflags "$VIDMODEPROTO" 2>/dev/null`
28076 if test -n "$XF86VIDMODE_LIBS"; then
28077 pkg_cv_XF86VIDMODE_LIBS
="$XF86VIDMODE_LIBS"
28078 elif test -n "$PKG_CONFIG"; then
28079 if test -n "$PKG_CONFIG" && \
28080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
28081 ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
28083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28084 test $ac_status = 0; }; then
28085 pkg_cv_XF86VIDMODE_LIBS
=`$PKG_CONFIG --libs "$VIDMODEPROTO" 2>/dev/null`
28095 if test $pkg_failed = yes; then
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28097 $as_echo "no" >&6; }
28099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28100 _pkg_short_errors_supported
=yes
28102 _pkg_short_errors_supported
=no
28104 if test $_pkg_short_errors_supported = yes; then
28105 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$VIDMODEPROTO" 2>&1`
28107 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$VIDMODEPROTO" 2>&1`
28109 # Put the nasty error message in config.log where it belongs
28110 echo "$XF86VIDMODE_PKG_ERRORS" >&5
28113 elif test $pkg_failed = untried
; then
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28115 $as_echo "no" >&6; }
28118 XF86VIDMODE_CFLAGS
=$pkg_cv_XF86VIDMODE_CFLAGS
28119 XF86VIDMODE_LIBS
=$pkg_cv_XF86VIDMODE_LIBS
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28121 $as_echo "yes" >&6; }
28125 if test "x$XF86VIDMODE" = xyes
; then
28126 XORG_MODULES
="$XORG_MODULES $VIDMODEPROTO"
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VIDMODE" >&5
28130 $as_echo_n "checking for XF86VIDMODE... " >&6; }
28132 if test -n "$XF86VIDMODE_CFLAGS"; then
28133 pkg_cv_XF86VIDMODE_CFLAGS
="$XF86VIDMODE_CFLAGS"
28134 elif test -n "$PKG_CONFIG"; then
28135 if test -n "$PKG_CONFIG" && \
28136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
28137 ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
28139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28140 test $ac_status = 0; }; then
28141 pkg_cv_XF86VIDMODE_CFLAGS
=`$PKG_CONFIG --cflags "$VIDMODEPROTO" 2>/dev/null`
28148 if test -n "$XF86VIDMODE_LIBS"; then
28149 pkg_cv_XF86VIDMODE_LIBS
="$XF86VIDMODE_LIBS"
28150 elif test -n "$PKG_CONFIG"; then
28151 if test -n "$PKG_CONFIG" && \
28152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
28153 ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
28155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28156 test $ac_status = 0; }; then
28157 pkg_cv_XF86VIDMODE_LIBS
=`$PKG_CONFIG --libs "$VIDMODEPROTO" 2>/dev/null`
28167 if test $pkg_failed = yes; then
28168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28169 $as_echo "no" >&6; }
28171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28172 _pkg_short_errors_supported
=yes
28174 _pkg_short_errors_supported
=no
28176 if test $_pkg_short_errors_supported = yes; then
28177 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$VIDMODEPROTO" 2>&1`
28179 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$VIDMODEPROTO" 2>&1`
28181 # Put the nasty error message in config.log where it belongs
28182 echo "$XF86VIDMODE_PKG_ERRORS" >&5
28184 as_fn_error $?
"Package requirements ($VIDMODEPROTO) were not met:
28186 $XF86VIDMODE_PKG_ERRORS
28188 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28189 installed software in a non-standard prefix.
28191 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
28192 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
28193 See the pkg-config man page for more details." "$LINENO" 5
28195 elif test $pkg_failed = untried
; then
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28197 $as_echo "no" >&6; }
28198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28200 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
28201 is in your PATH or set the PKG_CONFIG environment variable to the full
28202 path to pkg-config.
28204 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
28205 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
28206 See the pkg-config man page for more details.
28208 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28209 See \`config.log' for more details" "$LINENO" 5; }
28212 XF86VIDMODE_CFLAGS
=$pkg_cv_XF86VIDMODE_CFLAGS
28213 XF86VIDMODE_LIBS
=$pkg_cv_XF86VIDMODE_LIBS
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28215 $as_echo "yes" >&6; }
28219 $as_echo "#define XF86VIDMODE 1" >>confdefs.h
28223 if test -n "$XORG_MODULES"; then
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG_MODULES" >&5
28227 $as_echo_n "checking for XORG_MODULES... " >&6; }
28229 if test -n "$XORG_MODULES_CFLAGS"; then
28230 pkg_cv_XORG_MODULES_CFLAGS
="$XORG_MODULES_CFLAGS"
28231 elif test -n "$PKG_CONFIG"; then
28232 if test -n "$PKG_CONFIG" && \
28233 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\""; } >&5
28234 ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5
28236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28237 test $ac_status = 0; }; then
28238 pkg_cv_XORG_MODULES_CFLAGS
=`$PKG_CONFIG --cflags "$XORG_MODULES" 2>/dev/null`
28245 if test -n "$XORG_MODULES_LIBS"; then
28246 pkg_cv_XORG_MODULES_LIBS
="$XORG_MODULES_LIBS"
28247 elif test -n "$PKG_CONFIG"; then
28248 if test -n "$PKG_CONFIG" && \
28249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\""; } >&5
28250 ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5
28252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28253 test $ac_status = 0; }; then
28254 pkg_cv_XORG_MODULES_LIBS
=`$PKG_CONFIG --libs "$XORG_MODULES" 2>/dev/null`
28264 if test $pkg_failed = yes; then
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28266 $as_echo "no" >&6; }
28268 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28269 _pkg_short_errors_supported
=yes
28271 _pkg_short_errors_supported
=no
28273 if test $_pkg_short_errors_supported = yes; then
28274 XORG_MODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$XORG_MODULES" 2>&1`
28276 XORG_MODULES_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$XORG_MODULES" 2>&1`
28278 # Put the nasty error message in config.log where it belongs
28279 echo "$XORG_MODULES_PKG_ERRORS" >&5
28281 as_fn_error $?
"Package requirements ($XORG_MODULES) were not met:
28283 $XORG_MODULES_PKG_ERRORS
28285 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28286 installed software in a non-standard prefix.
28288 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
28289 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
28290 See the pkg-config man page for more details." "$LINENO" 5
28292 elif test $pkg_failed = untried
; then
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28294 $as_echo "no" >&6; }
28295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28297 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
28298 is in your PATH or set the PKG_CONFIG environment variable to the full
28299 path to pkg-config.
28301 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
28302 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
28303 See the pkg-config man page for more details.
28305 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28306 See \`config.log' for more details" "$LINENO" 5; }
28309 XORG_MODULES_CFLAGS
=$pkg_cv_XORG_MODULES_CFLAGS
28310 XORG_MODULES_LIBS
=$pkg_cv_XORG_MODULES_LIBS
28311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28312 $as_echo "yes" >&6; }
28315 XORG_CFLAGS
="$XORG_CFLAGS $XORG_MODULES_CFLAGS"
28316 XORG_SYS_LIBS
="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
28325 XF86CONFIGFILE
="xorg.conf"
28326 XF86CONFIGDIR
="xorg.conf.d"
28328 CONFIGFILE
="$sysconfdir/$XF86CONFIGFILE"
28329 LOGPREFIX
="$logdir/Xorg."
28331 $as_echo "#define XORG_SERVER 1" >>confdefs.h
28334 $as_echo "#define XORGSERVER 1" >>confdefs.h
28337 $as_echo "#define XFree86Server 1" >>confdefs.h
28340 cat >>confdefs.h
<<_ACEOF
28341 #define XORG_VERSION_CURRENT $VENDOR_RELEASE
28345 $as_echo "#define NEED_XF86_TYPES 1" >>confdefs.h
28348 $as_echo "#define NEED_XF86_PROTOTYPES 1" >>confdefs.h
28351 $as_echo "#define __XSERVERNAME__ \"Xorg\"" >>confdefs.h
28356 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28357 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28358 eval ac_define_dir
="\"$XF86CONFIGFILE\""
28359 eval ac_define_dir
="\"$ac_define_dir\""
28360 __XCONFIGFILE__
="$ac_define_dir"
28363 cat >>confdefs.h
<<_ACEOF
28364 #define __XCONFIGFILE__ "$ac_define_dir"
28367 test "$prefix_NONE" && prefix
=NONE
28368 test "$exec_prefix_NONE" && exec_prefix
=NONE
28373 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28374 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28375 eval ac_define_dir
="\"$XF86CONFIGFILE\""
28376 eval ac_define_dir
="\"$ac_define_dir\""
28377 XF86CONFIGFILE
="$ac_define_dir"
28380 cat >>confdefs.h
<<_ACEOF
28381 #define XF86CONFIGFILE "$ac_define_dir"
28384 test "$prefix_NONE" && prefix
=NONE
28385 test "$exec_prefix_NONE" && exec_prefix
=NONE
28390 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28391 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28392 eval ac_define_dir
="\"$XF86CONFIGDIR\""
28393 eval ac_define_dir
="\"$ac_define_dir\""
28394 __XCONFIGDIR__
="$ac_define_dir"
28397 cat >>confdefs.h
<<_ACEOF
28398 #define __XCONFIGDIR__ "$ac_define_dir"
28401 test "$prefix_NONE" && prefix
=NONE
28402 test "$exec_prefix_NONE" && exec_prefix
=NONE
28407 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28408 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28409 eval ac_define_dir
="\"$moduledir\""
28410 eval ac_define_dir
="\"$ac_define_dir\""
28411 DEFAULT_MODULE_PATH
="$ac_define_dir"
28414 cat >>confdefs.h
<<_ACEOF
28415 #define DEFAULT_MODULE_PATH "$ac_define_dir"
28418 test "$prefix_NONE" && prefix
=NONE
28419 test "$exec_prefix_NONE" && exec_prefix
=NONE
28424 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28425 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28426 eval ac_define_dir
="\"$libdir\""
28427 eval ac_define_dir
="\"$ac_define_dir\""
28428 DEFAULT_LIBRARY_PATH
="$ac_define_dir"
28431 cat >>confdefs.h
<<_ACEOF
28432 #define DEFAULT_LIBRARY_PATH "$ac_define_dir"
28435 test "$prefix_NONE" && prefix
=NONE
28436 test "$exec_prefix_NONE" && exec_prefix
=NONE
28441 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28442 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28443 eval ac_define_dir
="\"$LOGPREFIX\""
28444 eval ac_define_dir
="\"$ac_define_dir\""
28445 DEFAULT_LOGPREFIX
="$ac_define_dir"
28448 cat >>confdefs.h
<<_ACEOF
28449 #define DEFAULT_LOGPREFIX "$ac_define_dir"
28452 test "$prefix_NONE" && prefix
=NONE
28453 test "$exec_prefix_NONE" && exec_prefix
=NONE
28456 cat >>confdefs.h
<<_ACEOF
28457 #define __VENDORDWEBSUPPORT__ "$VENDOR_WEB"
28460 if test "x$VGAHW" = xyes
; then
28462 $as_echo "#define WITH_VGAHW 1" >>confdefs.h
28466 driverdir
="$moduledir/drivers"
28469 sdkdir
="$includedir/xorg"
28470 extdir
="$includedir/X11/extensions"
28471 sysconfigdir
="$datadir/X11/$XF86CONFIGDIR"
28477 # stuff the ABI versions into the pc file too
28479 grep ^.define.
*${1}_VERSION ${srcdir}/hw/xfree86/common/xf86Module.h | tr '(),' ' .' | awk '{ print $4$5 }'
28481 abi_ansic=`extract_abi ANSIC`
28482 abi_videodrv=`extract_abi VIDEODRV`
28483 abi_xinput=`extract_abi XINPUT`
28484 abi_extension=`extract_abi EXTENSION`
28490 if test "x$XORG" = xyes; then
28498 if test "x$PCI" = xyes
; then
28500 XORG_BUS_PCI_FALSE
='#'
28502 XORG_BUS_PCI_TRUE
='#'
28503 XORG_BUS_PCI_FALSE
=
28506 if test "x$xorg_bus_bsdpci" = xyes
; then
28507 XORG_BUS_BSDPCI_TRUE
=
28508 XORG_BUS_BSDPCI_FALSE
='#'
28510 XORG_BUS_BSDPCI_TRUE
='#'
28511 XORG_BUS_BSDPCI_FALSE
=
28514 if test "x$xorg_bus_sparc" = xyes
; then
28515 XORG_BUS_SPARC_TRUE
=
28516 XORG_BUS_SPARC_FALSE
='#'
28518 XORG_BUS_SPARC_TRUE
='#'
28519 XORG_BUS_SPARC_FALSE
=
28522 if test "x$linux_alpha" = xyes
; then
28524 LINUX_ALPHA_FALSE
='#'
28526 LINUX_ALPHA_TRUE
='#'
28530 if test "x$linux_acpi" = xyes
; then
28538 if test "x$linux_apm" = xyes
; then
28546 if test "x$solaris_vt" = xyes
; then
28548 SOLARIS_VT_FALSE
='#'
28550 SOLARIS_VT_TRUE
='#'
28554 if test "x$DGA" = xyes
; then
28562 if test "x$XF86VIDMODE" = xyes
; then
28564 XF86VIDMODE_FALSE
='#'
28566 XF86VIDMODE_TRUE
='#'
28570 if test "x$CONFIG_UDEV_KMS" = xyes
; then
28571 XORG_BUS_PLATFORM_TRUE
=
28572 XORG_BUS_PLATFORM_FALSE
='#'
28574 XORG_BUS_PLATFORM_TRUE
='#'
28575 XORG_BUS_PLATFORM_FALSE
=
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build XWin DDX" >&5
28580 $as_echo_n "checking whether to build XWin DDX... " >&6; }
28581 if test "x$XWIN" = xauto
; then
28583 cygwin
*) XWIN
="yes" ;;
28584 mingw
*) XWIN
="yes" ;;
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XWIN" >&5
28589 $as_echo "$XWIN" >&6; }
28591 if test "x$XWIN" = xyes
; then
28595 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28596 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28597 eval ac_define_dir
="\"$sysconfdir\""
28598 eval ac_define_dir
="\"$ac_define_dir\""
28599 SYSCONFDIR
="$ac_define_dir"
28602 cat >>confdefs.h
<<_ACEOF
28603 #define SYSCONFDIR "$ac_define_dir"
28606 test "$prefix_NONE" && prefix
=NONE
28607 test "$exec_prefix_NONE" && exec_prefix
=NONE
28612 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
28613 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
28614 eval ac_define_dir
="\"$logdir\""
28615 eval ac_define_dir
="\"$ac_define_dir\""
28616 DEFAULT_LOGDIR
="$ac_define_dir"
28619 cat >>confdefs.h
<<_ACEOF
28620 #define DEFAULT_LOGDIR "$ac_define_dir"
28623 test "$prefix_NONE" && prefix
=NONE
28624 test "$exec_prefix_NONE" && exec_prefix
=NONE
28627 cat >>confdefs.h
<<_ACEOF
28628 #define XORG_VERSION_CURRENT $VENDOR_RELEASE
28632 cat >>confdefs.h
<<_ACEOF
28633 #define __VENDORDWEBSUPPORT__ "$VENDOR_WEB"
28636 if test -n "$ac_tool_prefix"; then
28637 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
28638 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
28639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28640 $as_echo_n "checking for $ac_word... " >&6; }
28641 if ${ac_cv_prog_WINDRES+:} false
; then :
28642 $as_echo_n "(cached) " >&6
28644 if test -n "$WINDRES"; then
28645 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
28647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28648 for as_dir
in $PATH
28651 test -z "$as_dir" && as_dir
=.
28652 for ac_exec_ext
in '' $ac_executable_extensions; do
28653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28654 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
28655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28664 WINDRES
=$ac_cv_prog_WINDRES
28665 if test -n "$WINDRES"; then
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
28667 $as_echo "$WINDRES" >&6; }
28669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28670 $as_echo "no" >&6; }
28675 if test -z "$ac_cv_prog_WINDRES"; then
28676 ac_ct_WINDRES
=$WINDRES
28677 # Extract the first word of "windres", so it can be a program name with args.
28678 set dummy windres
; ac_word
=$2
28679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28680 $as_echo_n "checking for $ac_word... " >&6; }
28681 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
28682 $as_echo_n "(cached) " >&6
28684 if test -n "$ac_ct_WINDRES"; then
28685 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
28687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28688 for as_dir
in $PATH
28691 test -z "$as_dir" && as_dir
=.
28692 for ac_exec_ext
in '' $ac_executable_extensions; do
28693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28694 ac_cv_prog_ac_ct_WINDRES
="windres"
28695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28704 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
28705 if test -n "$ac_ct_WINDRES"; then
28706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
28707 $as_echo "$ac_ct_WINDRES" >&6; }
28709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28710 $as_echo "no" >&6; }
28713 if test "x$ac_ct_WINDRES" = x
; then
28716 case $cross_compiling:$ac_tool_warned in
28718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28720 ac_tool_warned
=yes ;;
28722 WINDRES
=$ac_ct_WINDRES
28725 WINDRES
="$ac_cv_prog_WINDRES"
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XWINMODULES" >&5
28732 $as_echo_n "checking for XWINMODULES... " >&6; }
28734 if test -n "$XWINMODULES_CFLAGS"; then
28735 pkg_cv_XWINMODULES_CFLAGS
="$XWINMODULES_CFLAGS"
28736 elif test -n "$PKG_CONFIG"; then
28737 if test -n "$PKG_CONFIG" && \
28738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau\""; } >&5
28739 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau") 2>&5
28741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742 test $ac_status = 0; }; then
28743 pkg_cv_XWINMODULES_CFLAGS
=`$PKG_CONFIG --cflags "x11 xdmcp xau" 2>/dev/null`
28750 if test -n "$XWINMODULES_LIBS"; then
28751 pkg_cv_XWINMODULES_LIBS
="$XWINMODULES_LIBS"
28752 elif test -n "$PKG_CONFIG"; then
28753 if test -n "$PKG_CONFIG" && \
28754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau\""; } >&5
28755 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau") 2>&5
28757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28758 test $ac_status = 0; }; then
28759 pkg_cv_XWINMODULES_LIBS
=`$PKG_CONFIG --libs "x11 xdmcp xau" 2>/dev/null`
28769 if test $pkg_failed = yes; then
28770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28771 $as_echo "no" >&6; }
28773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28774 _pkg_short_errors_supported
=yes
28776 _pkg_short_errors_supported
=no
28778 if test $_pkg_short_errors_supported = yes; then
28779 XWINMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "x11 xdmcp xau" 2>&1`
28781 XWINMODULES_PKG_ERRORS
=`$PKG_CONFIG --print-errors "x11 xdmcp xau" 2>&1`
28783 # Put the nasty error message in config.log where it belongs
28784 echo "$XWINMODULES_PKG_ERRORS" >&5
28786 as_fn_error $?
"Package requirements (x11 xdmcp xau) were not met:
28788 $XWINMODULES_PKG_ERRORS
28790 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28791 installed software in a non-standard prefix.
28793 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
28794 and XWINMODULES_LIBS to avoid the need to call pkg-config.
28795 See the pkg-config man page for more details." "$LINENO" 5
28797 elif test $pkg_failed = untried
; then
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28799 $as_echo "no" >&6; }
28800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28802 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
28803 is in your PATH or set the PKG_CONFIG environment variable to the full
28804 path to pkg-config.
28806 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
28807 and XWINMODULES_LIBS to avoid the need to call pkg-config.
28808 See the pkg-config man page for more details.
28810 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28811 See \`config.log' for more details" "$LINENO" 5; }
28814 XWINMODULES_CFLAGS
=$pkg_cv_XWINMODULES_CFLAGS
28815 XWINMODULES_LIBS
=$pkg_cv_XWINMODULES_LIBS
28816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28817 $as_echo "yes" >&6; }
28821 if test "x$WINDOWSWM" = xauto
; then
28822 if test -n "$PKG_CONFIG" && \
28823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WINDOWSWMPROTO\""; } >&5
28824 ($PKG_CONFIG --exists --print-errors "$WINDOWSWMPROTO") 2>&5
28826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28827 test $ac_status = 0; }; then
28833 if test "x$WINDOWSWM" = xyes
; then
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WINDOWSWM" >&5
28837 $as_echo_n "checking for WINDOWSWM... " >&6; }
28839 if test -n "$WINDOWSWM_CFLAGS"; then
28840 pkg_cv_WINDOWSWM_CFLAGS
="$WINDOWSWM_CFLAGS"
28841 elif test -n "$PKG_CONFIG"; then
28842 if test -n "$PKG_CONFIG" && \
28843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WINDOWSWMPROTO\""; } >&5
28844 ($PKG_CONFIG --exists --print-errors "$WINDOWSWMPROTO") 2>&5
28846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28847 test $ac_status = 0; }; then
28848 pkg_cv_WINDOWSWM_CFLAGS
=`$PKG_CONFIG --cflags "$WINDOWSWMPROTO" 2>/dev/null`
28855 if test -n "$WINDOWSWM_LIBS"; then
28856 pkg_cv_WINDOWSWM_LIBS
="$WINDOWSWM_LIBS"
28857 elif test -n "$PKG_CONFIG"; then
28858 if test -n "$PKG_CONFIG" && \
28859 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WINDOWSWMPROTO\""; } >&5
28860 ($PKG_CONFIG --exists --print-errors "$WINDOWSWMPROTO") 2>&5
28862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28863 test $ac_status = 0; }; then
28864 pkg_cv_WINDOWSWM_LIBS
=`$PKG_CONFIG --libs "$WINDOWSWMPROTO" 2>/dev/null`
28874 if test $pkg_failed = yes; then
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28876 $as_echo "no" >&6; }
28878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28879 _pkg_short_errors_supported
=yes
28881 _pkg_short_errors_supported
=no
28883 if test $_pkg_short_errors_supported = yes; then
28884 WINDOWSWM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$WINDOWSWMPROTO" 2>&1`
28886 WINDOWSWM_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$WINDOWSWMPROTO" 2>&1`
28888 # Put the nasty error message in config.log where it belongs
28889 echo "$WINDOWSWM_PKG_ERRORS" >&5
28891 as_fn_error $?
"Package requirements ($WINDOWSWMPROTO) were not met:
28893 $WINDOWSWM_PKG_ERRORS
28895 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28896 installed software in a non-standard prefix.
28898 Alternatively, you may set the environment variables WINDOWSWM_CFLAGS
28899 and WINDOWSWM_LIBS to avoid the need to call pkg-config.
28900 See the pkg-config man page for more details." "$LINENO" 5
28902 elif test $pkg_failed = untried
; then
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28904 $as_echo "no" >&6; }
28905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28907 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
28908 is in your PATH or set the PKG_CONFIG environment variable to the full
28909 path to pkg-config.
28911 Alternatively, you may set the environment variables WINDOWSWM_CFLAGS
28912 and WINDOWSWM_LIBS to avoid the need to call pkg-config.
28913 See the pkg-config man page for more details.
28915 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
28916 See \`config.log' for more details" "$LINENO" 5; }
28919 WINDOWSWM_CFLAGS
=$pkg_cv_WINDOWSWM_CFLAGS
28920 WINDOWSWM_LIBS
=$pkg_cv_WINDOWSWM_LIBS
28921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28922 $as_echo "yes" >&6; }
28925 XWINMODULES_CFLAGS
="$XWINMODULES_CFLAGS $WINDOWSWM_CFLAGS"
28927 $as_echo "#define ROOTLESS 1" >>confdefs.h
28933 XWIN_SERVER_NAME
=XWin
28935 $as_echo "#define HAS_DEVWINDOWS 1" >>confdefs.h
28939 XWIN_SERVER_NAME
=Xming
28941 $as_echo "#define RELOCATE_PROJECTROOT 1" >>confdefs.h
28944 $as_echo "#define HAS_WINSOCK 1" >>confdefs.h
28946 XWIN_SYS_LIBS
="-lpthread -lws2_32"
28950 XWIN_LIBS
="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $RANDR_LIB $RENDER_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $DAMAGE_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $OS_LIB"
28951 XWIN_SYS_LIBS
="$XWIN_SYS_LIBS $XWINMODULES_LIBS"
28956 if test "x$DEBUGGING" = xyes
; then
28958 $as_echo "#define CYGDEBUG 1" >>confdefs.h
28961 $as_echo "#define CYGWINDOWING_DEBUG 1" >>confdefs.h
28964 $as_echo "#define CYGMULTIWINDOW_DEBUG 1" >>confdefs.h
28969 $as_echo "#define DDXOSVERRORF 1" >>confdefs.h
28972 $as_echo "#define DDXBEFORERESET 1" >>confdefs.h
28975 if test "x$XWIN" = xyes
&& test "x$AIGLX" = xyes
; then
28976 # Extract the first word of "python3", so it can be a program name with args.
28977 set dummy python3
; ac_word
=$2
28978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28979 $as_echo_n "checking for $ac_word... " >&6; }
28980 if ${ac_cv_prog_PYTHON3+:} false
; then :
28981 $as_echo_n "(cached) " >&6
28983 if test -n "$PYTHON3"; then
28984 ac_cv_prog_PYTHON3
="$PYTHON3" # Let the user override the test.
28986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28987 for as_dir
in $PATH
28990 test -z "$as_dir" && as_dir
=.
28991 for ac_exec_ext
in '' $ac_executable_extensions; do
28992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28993 ac_cv_prog_PYTHON3
="python3"
28994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29003 PYTHON3
=$ac_cv_prog_PYTHON3
29004 if test -n "$PYTHON3"; then
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5
29006 $as_echo "$PYTHON3" >&6; }
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29009 $as_echo "no" >&6; }
29013 if test -z "$PYTHON3"; then
29014 as_fn_error $?
"python3 not found" "$LINENO" 5
29016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module lxml" >&5
29017 $as_echo_n "checking for python module lxml... " >&6; }
29018 $PYTHON3 -c "import lxml;"
29019 if test $?
-ne 0 ; then
29020 as_fn_error $?
"not found" "$LINENO" 5
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29023 $as_echo "yes" >&6; }
29024 if test "x$KHRONOS_SPEC_DIR" = "xauto" ; then
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KHRONOS_OPENGL_REGISTRY" >&5
29028 $as_echo_n "checking for KHRONOS_OPENGL_REGISTRY... " >&6; }
29030 if test -n "$KHRONOS_OPENGL_REGISTRY_CFLAGS"; then
29031 pkg_cv_KHRONOS_OPENGL_REGISTRY_CFLAGS
="$KHRONOS_OPENGL_REGISTRY_CFLAGS"
29032 elif test -n "$PKG_CONFIG"; then
29033 if test -n "$PKG_CONFIG" && \
29034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"khronos-opengl-registry\""; } >&5
29035 ($PKG_CONFIG --exists --print-errors "khronos-opengl-registry") 2>&5
29037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29038 test $ac_status = 0; }; then
29039 pkg_cv_KHRONOS_OPENGL_REGISTRY_CFLAGS
=`$PKG_CONFIG --cflags "khronos-opengl-registry" 2>/dev/null`
29046 if test -n "$KHRONOS_OPENGL_REGISTRY_LIBS"; then
29047 pkg_cv_KHRONOS_OPENGL_REGISTRY_LIBS
="$KHRONOS_OPENGL_REGISTRY_LIBS"
29048 elif test -n "$PKG_CONFIG"; then
29049 if test -n "$PKG_CONFIG" && \
29050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"khronos-opengl-registry\""; } >&5
29051 ($PKG_CONFIG --exists --print-errors "khronos-opengl-registry") 2>&5
29053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29054 test $ac_status = 0; }; then
29055 pkg_cv_KHRONOS_OPENGL_REGISTRY_LIBS
=`$PKG_CONFIG --libs "khronos-opengl-registry" 2>/dev/null`
29065 if test $pkg_failed = yes; then
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29067 $as_echo "no" >&6; }
29069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29070 _pkg_short_errors_supported
=yes
29072 _pkg_short_errors_supported
=no
29074 if test $_pkg_short_errors_supported = yes; then
29075 KHRONOS_OPENGL_REGISTRY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "khronos-opengl-registry" 2>&1`
29077 KHRONOS_OPENGL_REGISTRY_PKG_ERRORS
=`$PKG_CONFIG --print-errors "khronos-opengl-registry" 2>&1`
29079 # Put the nasty error message in config.log where it belongs
29080 echo "$KHRONOS_OPENGL_REGISTRY_PKG_ERRORS" >&5
29082 as_fn_error $?
"Package requirements (khronos-opengl-registry) were not met:
29084 $KHRONOS_OPENGL_REGISTRY_PKG_ERRORS
29086 Consider adjusting the PKG_CONFIG_PATH environment variable if you
29087 installed software in a non-standard prefix.
29089 Alternatively, you may set the environment variables KHRONOS_OPENGL_REGISTRY_CFLAGS
29090 and KHRONOS_OPENGL_REGISTRY_LIBS to avoid the need to call pkg-config.
29091 See the pkg-config man page for more details." "$LINENO" 5
29093 elif test $pkg_failed = untried
; then
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29095 $as_echo "no" >&6; }
29096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29098 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
29099 is in your PATH or set the PKG_CONFIG environment variable to the full
29100 path to pkg-config.
29102 Alternatively, you may set the environment variables KHRONOS_OPENGL_REGISTRY_CFLAGS
29103 and KHRONOS_OPENGL_REGISTRY_LIBS to avoid the need to call pkg-config.
29104 See the pkg-config man page for more details.
29106 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
29107 See \`config.log' for more details" "$LINENO" 5; }
29110 KHRONOS_OPENGL_REGISTRY_CFLAGS
=$pkg_cv_KHRONOS_OPENGL_REGISTRY_CFLAGS
29111 KHRONOS_OPENGL_REGISTRY_LIBS
=$pkg_cv_KHRONOS_OPENGL_REGISTRY_LIBS
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29113 $as_echo "yes" >&6; }
29116 KHRONOS_SPEC_DIR
=`pkg-config khronos-opengl-registry --variable=specdir`
29122 if test "x$XWIN" = xyes
; then
29130 if test "x$XWIN" = xyes
; then
29131 XWIN_MULTIWINDOW_TRUE
=
29132 XWIN_MULTIWINDOW_FALSE
='#'
29134 XWIN_MULTIWINDOW_TRUE
='#'
29135 XWIN_MULTIWINDOW_FALSE
=
29138 if test "x$XWIN" = xyes
&& test "x$WINDOWSWM" = xyes
; then
29139 XWIN_MULTIWINDOWEXTWM_TRUE
=
29140 XWIN_MULTIWINDOWEXTWM_FALSE
='#'
29142 XWIN_MULTIWINDOWEXTWM_TRUE
='#'
29143 XWIN_MULTIWINDOWEXTWM_FALSE
=
29146 if test "x$XWIN" = xyes
; then
29147 XWIN_CLIPBOARD_TRUE
=
29148 XWIN_CLIPBOARD_FALSE
='#'
29150 XWIN_CLIPBOARD_TRUE
='#'
29151 XWIN_CLIPBOARD_FALSE
=
29154 if test "x$XWIN" = xyes
&& test "x$AIGLX" = xyes
; then
29155 XWIN_GLX_WINDOWS_TRUE
=
29156 XWIN_GLX_WINDOWS_FALSE
='#'
29158 XWIN_GLX_WINDOWS_TRUE
='#'
29159 XWIN_GLX_WINDOWS_FALSE
=
29162 if test "x$XWIN" = xyes
; then
29163 XWIN_NATIVEGDI_TRUE
=
29164 XWIN_NATIVEGDI_FALSE
='#'
29166 XWIN_NATIVEGDI_TRUE
='#'
29167 XWIN_NATIVEGDI_FALSE
=
29170 if test "x$XWIN" = xyes
; then
29171 XWIN_PRIMARYFB_TRUE
=
29172 XWIN_PRIMARYFB_FALSE
='#'
29174 XWIN_PRIMARYFB_TRUE
='#'
29175 XWIN_PRIMARYFB_FALSE
=
29178 if test "x$XWIN" = xyes
; then
29180 XWIN_RANDR_FALSE
='#'
29182 XWIN_RANDR_TRUE
='#'
29186 if test "x$XWIN" = xyes
&& test "x$XV" = xyes
; then
29195 if test "x$XQUARTZ" = xyes
; then
29197 $as_echo "#define XQUARTZ 1" >>confdefs.h
29200 $as_echo "#define ROOTLESS 1" >>confdefs.h
29203 XQUARTZ_LIBS
="$FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $PRESENT_LIB"
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xp_init in -lXplugin" >&5
29207 $as_echo_n "checking for xp_init in -lXplugin... " >&6; }
29208 if ${ac_cv_lib_Xplugin_xp_init+:} false
; then :
29209 $as_echo_n "(cached) " >&6
29211 ac_check_lib_save_LIBS
=$LIBS
29212 LIBS
="-lXplugin $LIBS"
29213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29214 /* end confdefs.h. */
29216 /* Override any GCC internal prototype to avoid an error.
29217 Use char because int might match the return type of a GCC
29218 builtin and then its argument prototype would still apply. */
29231 if ac_fn_c_try_link
"$LINENO"; then :
29232 ac_cv_lib_Xplugin_xp_init
=yes
29234 ac_cv_lib_Xplugin_xp_init
=no
29236 rm -f core conftest.err conftest.
$ac_objext \
29237 conftest
$ac_exeext conftest.
$ac_ext
29238 LIBS
=$ac_check_lib_save_LIBS
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xplugin_xp_init" >&5
29241 $as_echo "$ac_cv_lib_Xplugin_xp_init" >&6; }
29242 if test "x$ac_cv_lib_Xplugin_xp_init" = xyes
; then :
29247 CFLAGS
="${CFLAGS} -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
29251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPBPROXY" >&5
29252 $as_echo_n "checking for XPBPROXY... " >&6; }
29254 if test -n "$XPBPROXY_CFLAGS"; then
29255 pkg_cv_XPBPROXY_CFLAGS
="$XPBPROXY_CFLAGS"
29256 elif test -n "$PKG_CONFIG"; then
29257 if test -n "$PKG_CONFIG" && \
29258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$APPLEWMPROTO \$LIBAPPLEWM xfixes x11\""; } >&5
29259 ($PKG_CONFIG --exists --print-errors "$APPLEWMPROTO $LIBAPPLEWM xfixes x11") 2>&5
29261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29262 test $ac_status = 0; }; then
29263 pkg_cv_XPBPROXY_CFLAGS
=`$PKG_CONFIG --cflags "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>/dev/null`
29270 if test -n "$XPBPROXY_LIBS"; then
29271 pkg_cv_XPBPROXY_LIBS
="$XPBPROXY_LIBS"
29272 elif test -n "$PKG_CONFIG"; then
29273 if test -n "$PKG_CONFIG" && \
29274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$APPLEWMPROTO \$LIBAPPLEWM xfixes x11\""; } >&5
29275 ($PKG_CONFIG --exists --print-errors "$APPLEWMPROTO $LIBAPPLEWM xfixes x11") 2>&5
29277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29278 test $ac_status = 0; }; then
29279 pkg_cv_XPBPROXY_LIBS
=`$PKG_CONFIG --libs "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>/dev/null`
29289 if test $pkg_failed = yes; then
29290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29291 $as_echo "no" >&6; }
29293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29294 _pkg_short_errors_supported
=yes
29296 _pkg_short_errors_supported
=no
29298 if test $_pkg_short_errors_supported = yes; then
29299 XPBPROXY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>&1`
29301 XPBPROXY_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>&1`
29303 # Put the nasty error message in config.log where it belongs
29304 echo "$XPBPROXY_PKG_ERRORS" >&5
29306 as_fn_error $?
"Package requirements ($APPLEWMPROTO $LIBAPPLEWM xfixes x11) were not met:
29308 $XPBPROXY_PKG_ERRORS
29310 Consider adjusting the PKG_CONFIG_PATH environment variable if you
29311 installed software in a non-standard prefix.
29313 Alternatively, you may set the environment variables XPBPROXY_CFLAGS
29314 and XPBPROXY_LIBS to avoid the need to call pkg-config.
29315 See the pkg-config man page for more details." "$LINENO" 5
29317 elif test $pkg_failed = untried
; then
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29319 $as_echo "no" >&6; }
29320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29322 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
29323 is in your PATH or set the PKG_CONFIG environment variable to the full
29324 path to pkg-config.
29326 Alternatively, you may set the environment variables XPBPROXY_CFLAGS
29327 and XPBPROXY_LIBS to avoid the need to call pkg-config.
29328 See the pkg-config man page for more details.
29330 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
29331 See \`config.log' for more details" "$LINENO" 5; }
29334 XPBPROXY_CFLAGS
=$pkg_cv_XPBPROXY_CFLAGS
29335 XPBPROXY_LIBS
=$pkg_cv_XPBPROXY_LIBS
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29337 $as_echo "yes" >&6; }
29341 if test "x$XQUARTZ_SPARKLE" = xyes
; then
29343 $as_echo "#define XQUARTZ_SPARKLE 1" >>confdefs.h
29347 if test "x$STANDALONE_XPBPROXY" = xyes
; then
29349 $as_echo "#define STANDALONE_XPBPROXY 1" >>confdefs.h
29354 # Support for objc in autotools is minimal and not documented.
29358 OBJCFLAGS
='$(CFLAGS)'
29363 # internal, undocumented automake func follows :(
29365 depcc
="$OBJC" am_compiler_list
='gcc3 gcc'
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
29368 $as_echo_n "checking dependency style of $depcc... " >&6; }
29369 if ${am_cv_OBJC_dependencies_compiler_type+:} false
; then :
29370 $as_echo_n "(cached) " >&6
29372 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
29373 # We make a subdir and do the tests there. Otherwise we can end up
29374 # making bogus files that we don't know about and never remove. For
29375 # instance it was reported that on HP-UX the gcc test will end up
29376 # making a dummy file named `D' -- because `-MD' means `put the output
29378 rm -rf conftest.dir
29380 # Copy depcomp to subdir because otherwise we won't find it if we're
29381 # using a relative directory.
29382 cp "$am_depcomp" conftest.dir
29384 # We will build objects and dependencies in a subdirectory because
29385 # it helps to detect inapplicable dependency modes. For instance
29386 # both Tru64's cc and ICC support -MD to output dependencies as a
29387 # side effect of compilation, but ICC will put the dependencies in
29388 # the current directory while Tru64 will put them in the object
29392 am_cv_OBJC_dependencies_compiler_type
=none
29393 if test "$am_compiler_list" = ""; then
29394 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
29396 am__universal
=false
29399 for depmode
in $am_compiler_list; do
29400 # Setup a source with many dependencies, because some compilers
29401 # like to wrap large dependency lists on column 80 (with \), and
29402 # we should not choose a depcomp mode which is confused by this.
29404 # We need to recreate these files for each test, as the compiler may
29405 # overwrite some of them when testing with obscure command lines.
29406 # This happens at least with the AIX C compiler.
29408 for i
in 1 2 3 4 5 6; do
29409 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
29410 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
29411 # Solaris 8's {/usr,}/bin/sh.
29412 touch sub
/conftst
$i.h
29414 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
29416 # We check with `-c' and `-o' for the sake of the "dashmstdout"
29417 # mode. It turns out that the SunPro C++ compiler does not properly
29418 # handle `-M -o', and we need to detect this. Also, some Intel
29419 # versions had trouble with output in subdirs
29420 am__obj
=sub
/conftest.
${OBJEXT-o}
29421 am__minus_obj
="-o $am__obj"
29424 # This depmode causes a compiler race in universal mode.
29425 test "$am__universal" = false ||
continue
29428 # after this tag, mechanisms are not by side-effect, so they'll
29429 # only be used when explicitly requested
29430 if test "x$enable_dependency_tracking" = xyes
; then
29436 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
29437 # This compiler won't grok `-c -o', but also, the minuso test has
29438 # not run yet. These depmodes are late enough in the game, and
29439 # so weak that their functioning should not be impacted.
29440 am__obj
=conftest.
${OBJEXT-o}
29445 if depmode
=$depmode \
29446 source=sub
/conftest.c object
=$am__obj \
29447 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
29448 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
29449 >/dev
/null
2>conftest.err
&&
29450 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
29451 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
29452 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
29453 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
29454 # icc doesn't choke on unknown options, it will just issue warnings
29455 # or remarks (even with -Werror). So we grep stderr for any message
29456 # that says an option was ignored or not supported.
29457 # When given -MP, icc 7.0 and 7.1 complain thusly:
29458 # icc: Command line warning: ignoring option '-M'; no argument required
29459 # The diagnosis changed in icc 8.0:
29460 # icc: Command line remark: option '-MP' not supported
29461 if (grep 'ignoring option' conftest.err ||
29462 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
29463 am_cv_OBJC_dependencies_compiler_type
=$depmode
29470 rm -rf conftest.dir
29472 am_cv_OBJC_dependencies_compiler_type
=none
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
29477 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
29478 OBJCDEPMODE
=depmode
=$am_cv_OBJC_dependencies_compiler_type
29481 test "x$enable_dependency_tracking" != xno \
29482 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3
; then
29483 am__fastdepOBJC_TRUE
=
29484 am__fastdepOBJC_FALSE
='#'
29486 am__fastdepOBJC_TRUE
='#'
29487 am__fastdepOBJC_FALSE
=
29491 if test "x$XQUARTZ" = xyes
; then
29499 if test "x$XQUARTZ_SPARKLE" != "xno"; then
29500 XQUARTZ_SPARKLE_TRUE
=
29501 XQUARTZ_SPARKLE_FALSE
='#'
29503 XQUARTZ_SPARKLE_TRUE
='#'
29504 XQUARTZ_SPARKLE_FALSE
=
29507 if test "x$STANDALONE_XPBPROXY" = xyes
; then
29508 STANDALONE_XPBPROXY_TRUE
=
29509 STANDALONE_XPBPROXY_FALSE
='#'
29511 STANDALONE_XPBPROXY_TRUE
='#'
29512 STANDALONE_XPBPROXY_FALSE
=
29518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXMODULES" >&5
29519 $as_echo_n "checking for DMXMODULES... " >&6; }
29521 if test -n "$DMXMODULES_CFLAGS"; then
29522 pkg_cv_DMXMODULES_CFLAGS
="$DMXMODULES_CFLAGS"
29523 elif test -n "$PKG_CONFIG"; then
29524 if test -n "$PKG_CONFIG" && \
29525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu \$LIBXEXT x11 >= 1.6 xrender xfixes \$LIBXI \$DMXPROTO xau \$XDMCP_MODULES\""; } >&5
29526 ($PKG_CONFIG --exists --print-errors "xmuu $LIBXEXT x11 >= 1.6 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES") 2>&5
29528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29529 test $ac_status = 0; }; then
29530 pkg_cv_DMXMODULES_CFLAGS
=`$PKG_CONFIG --cflags "xmuu $LIBXEXT x11 >= 1.6 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>/dev/null`
29537 if test -n "$DMXMODULES_LIBS"; then
29538 pkg_cv_DMXMODULES_LIBS
="$DMXMODULES_LIBS"
29539 elif test -n "$PKG_CONFIG"; then
29540 if test -n "$PKG_CONFIG" && \
29541 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu \$LIBXEXT x11 >= 1.6 xrender xfixes \$LIBXI \$DMXPROTO xau \$XDMCP_MODULES\""; } >&5
29542 ($PKG_CONFIG --exists --print-errors "xmuu $LIBXEXT x11 >= 1.6 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES") 2>&5
29544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29545 test $ac_status = 0; }; then
29546 pkg_cv_DMXMODULES_LIBS
=`$PKG_CONFIG --libs "xmuu $LIBXEXT x11 >= 1.6 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>/dev/null`
29556 if test $pkg_failed = yes; then
29557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29558 $as_echo "no" >&6; }
29560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29561 _pkg_short_errors_supported
=yes
29563 _pkg_short_errors_supported
=no
29565 if test $_pkg_short_errors_supported = yes; then
29566 DMXMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "xmuu $LIBXEXT x11 >= 1.6 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>&1`
29568 DMXMODULES_PKG_ERRORS
=`$PKG_CONFIG --print-errors "xmuu $LIBXEXT x11 >= 1.6 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>&1`
29570 # Put the nasty error message in config.log where it belongs
29571 echo "$DMXMODULES_PKG_ERRORS" >&5
29574 elif test $pkg_failed = untried
; then
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29576 $as_echo "no" >&6; }
29579 DMXMODULES_CFLAGS
=$pkg_cv_DMXMODULES_CFLAGS
29580 DMXMODULES_LIBS
=$pkg_cv_DMXMODULES_LIBS
29581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29582 $as_echo "yes" >&6; }
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMXCONFIG_DEP" >&5
29586 $as_echo_n "checking for XDMXCONFIG_DEP... " >&6; }
29588 if test -n "$XDMXCONFIG_DEP_CFLAGS"; then
29589 pkg_cv_XDMXCONFIG_DEP_CFLAGS
="$XDMXCONFIG_DEP_CFLAGS"
29590 elif test -n "$PKG_CONFIG"; then
29591 if test -n "$PKG_CONFIG" && \
29592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\""; } >&5
29593 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5
29595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29596 test $ac_status = 0; }; then
29597 pkg_cv_XDMXCONFIG_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xaw7 xmu xt xpm x11" 2>/dev/null`
29604 if test -n "$XDMXCONFIG_DEP_LIBS"; then
29605 pkg_cv_XDMXCONFIG_DEP_LIBS
="$XDMXCONFIG_DEP_LIBS"
29606 elif test -n "$PKG_CONFIG"; then
29607 if test -n "$PKG_CONFIG" && \
29608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\""; } >&5
29609 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5
29611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29612 test $ac_status = 0; }; then
29613 pkg_cv_XDMXCONFIG_DEP_LIBS
=`$PKG_CONFIG --libs "xaw7 xmu xt xpm x11" 2>/dev/null`
29623 if test $pkg_failed = yes; then
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29625 $as_echo "no" >&6; }
29627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29628 _pkg_short_errors_supported
=yes
29630 _pkg_short_errors_supported
=no
29632 if test $_pkg_short_errors_supported = yes; then
29633 XDMXCONFIG_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu xt xpm x11" 2>&1`
29635 XDMXCONFIG_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "xaw7 xmu xt xpm x11" 2>&1`
29637 # Put the nasty error message in config.log where it belongs
29638 echo "$XDMXCONFIG_DEP_PKG_ERRORS" >&5
29641 elif test $pkg_failed = untried
; then
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29643 $as_echo "no" >&6; }
29646 XDMXCONFIG_DEP_CFLAGS
=$pkg_cv_XDMXCONFIG_DEP_CFLAGS
29647 XDMXCONFIG_DEP_LIBS
=$pkg_cv_XDMXCONFIG_DEP_LIBS
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29649 $as_echo "yes" >&6; }
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xdmx DDX" >&5
29654 $as_echo_n "checking whether to build Xdmx DDX... " >&6; }
29655 if test "x$DMX" = xauto
; then
29658 cygwin
*) DMX
="no" ;;
29659 mingw
*) DMX
="no" ;;
29660 darwin
*) DMX
="no" ;;
29663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DMX" >&5
29664 $as_echo "$DMX" >&6; }
29665 if test "x$DMX" = xyes
; then
29674 if test "x$DMX" = xyes
; then
29675 if test "x$have_dmx" = xno
; then
29676 as_fn_error $?
"Xdmx build explicitly requested, but required
29677 modules not found." "$LINENO" 5
29679 DMX_INCLUDES
="$XEXT_INC $RENDER_INC $RECORD_INC"
29680 XDMX_CFLAGS
="$DMXMODULES_CFLAGS"
29681 XDMX_LIBS
="$FB_LIB $MI_LIB $XEXT_LIB $RENDER_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_SHADOW_LIB $MIEXT_DAMAGE_LIB $COMPOSITE_LIB $DAMAGE_LIB $MAIN_LIB $DIX_LIB $CONFIG_LIB $OS_LIB $FIXES_LIB"
29682 XDMX_SYS_LIBS
="$DMXMODULES_LIBS"
29687 ac_fn_c_check_header_mongrel
"$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
29688 if test "x$ac_cv_header_linux_input_h" = xyes
; then :
29689 DMX_BUILD_USB
="yes"
29695 ac_fn_c_check_header_mongrel
"$LINENO" "linux/keyboard.h" "ac_cv_header_linux_keyboard_h" "$ac_includes_default"
29696 if test "x$ac_cv_header_linux_keyboard_h" = xyes
; then :
29697 DMX_BUILD_LNX
="yes"
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXEXAMPLES_DEP" >&5
29708 $as_echo_n "checking for DMXEXAMPLES_DEP... " >&6; }
29710 if test -n "$DMXEXAMPLES_DEP_CFLAGS"; then
29711 pkg_cv_DMXEXAMPLES_DEP_CFLAGS
="$DMXEXAMPLES_DEP_CFLAGS"
29712 elif test -n "$PKG_CONFIG"; then
29713 if test -n "$PKG_CONFIG" && \
29714 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXEXT x11\""; } >&5
29715 ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXEXT x11") 2>&5
29717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29718 test $ac_status = 0; }; then
29719 pkg_cv_DMXEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "$LIBDMX $LIBXEXT x11" 2>/dev/null`
29726 if test -n "$DMXEXAMPLES_DEP_LIBS"; then
29727 pkg_cv_DMXEXAMPLES_DEP_LIBS
="$DMXEXAMPLES_DEP_LIBS"
29728 elif test -n "$PKG_CONFIG"; then
29729 if test -n "$PKG_CONFIG" && \
29730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXEXT x11\""; } >&5
29731 ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXEXT x11") 2>&5
29733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29734 test $ac_status = 0; }; then
29735 pkg_cv_DMXEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "$LIBDMX $LIBXEXT x11" 2>/dev/null`
29745 if test $pkg_failed = yes; then
29746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29747 $as_echo "no" >&6; }
29749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29750 _pkg_short_errors_supported
=yes
29752 _pkg_short_errors_supported
=no
29754 if test $_pkg_short_errors_supported = yes; then
29755 DMXEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBDMX $LIBXEXT x11" 2>&1`
29757 DMXEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBDMX $LIBXEXT x11" 2>&1`
29759 # Put the nasty error message in config.log where it belongs
29760 echo "$DMXEXAMPLES_DEP_PKG_ERRORS" >&5
29762 as_fn_error $?
"Package requirements ($LIBDMX $LIBXEXT x11) were not met:
29764 $DMXEXAMPLES_DEP_PKG_ERRORS
29766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
29767 installed software in a non-standard prefix.
29769 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
29770 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
29771 See the pkg-config man page for more details." "$LINENO" 5
29773 elif test $pkg_failed = untried
; then
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29775 $as_echo "no" >&6; }
29776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29778 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
29779 is in your PATH or set the PKG_CONFIG environment variable to the full
29780 path to pkg-config.
29782 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
29783 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
29784 See the pkg-config man page for more details.
29786 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
29787 See \`config.log' for more details" "$LINENO" 5; }
29790 DMXEXAMPLES_DEP_CFLAGS
=$pkg_cv_DMXEXAMPLES_DEP_CFLAGS
29791 DMXEXAMPLES_DEP_LIBS
=$pkg_cv_DMXEXAMPLES_DEP_LIBS
29792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29793 $as_echo "yes" >&6; }
29799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXXMUEXAMPLES_DEP" >&5
29800 $as_echo_n "checking for DMXXMUEXAMPLES_DEP... " >&6; }
29802 if test -n "$DMXXMUEXAMPLES_DEP_CFLAGS"; then
29803 pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
="$DMXXMUEXAMPLES_DEP_CFLAGS"
29804 elif test -n "$PKG_CONFIG"; then
29805 if test -n "$PKG_CONFIG" && \
29806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX xmu \$LIBXEXT x11\""; } >&5
29807 ($PKG_CONFIG --exists --print-errors "$LIBDMX xmu $LIBXEXT x11") 2>&5
29809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29810 test $ac_status = 0; }; then
29811 pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "$LIBDMX xmu $LIBXEXT x11" 2>/dev/null`
29818 if test -n "$DMXXMUEXAMPLES_DEP_LIBS"; then
29819 pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
="$DMXXMUEXAMPLES_DEP_LIBS"
29820 elif test -n "$PKG_CONFIG"; then
29821 if test -n "$PKG_CONFIG" && \
29822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX xmu \$LIBXEXT x11\""; } >&5
29823 ($PKG_CONFIG --exists --print-errors "$LIBDMX xmu $LIBXEXT x11") 2>&5
29825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29826 test $ac_status = 0; }; then
29827 pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "$LIBDMX xmu $LIBXEXT x11" 2>/dev/null`
29837 if test $pkg_failed = yes; then
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29839 $as_echo "no" >&6; }
29841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29842 _pkg_short_errors_supported
=yes
29844 _pkg_short_errors_supported
=no
29846 if test $_pkg_short_errors_supported = yes; then
29847 DMXXMUEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBDMX xmu $LIBXEXT x11" 2>&1`
29849 DMXXMUEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBDMX xmu $LIBXEXT x11" 2>&1`
29851 # Put the nasty error message in config.log where it belongs
29852 echo "$DMXXMUEXAMPLES_DEP_PKG_ERRORS" >&5
29854 as_fn_error $?
"Package requirements ($LIBDMX xmu $LIBXEXT x11) were not met:
29856 $DMXXMUEXAMPLES_DEP_PKG_ERRORS
29858 Consider adjusting the PKG_CONFIG_PATH environment variable if you
29859 installed software in a non-standard prefix.
29861 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
29862 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
29863 See the pkg-config man page for more details." "$LINENO" 5
29865 elif test $pkg_failed = untried
; then
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29867 $as_echo "no" >&6; }
29868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29870 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
29871 is in your PATH or set the PKG_CONFIG environment variable to the full
29872 path to pkg-config.
29874 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
29875 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
29876 See the pkg-config man page for more details.
29878 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
29879 See \`config.log' for more details" "$LINENO" 5; }
29882 DMXXMUEXAMPLES_DEP_CFLAGS
=$pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
29883 DMXXMUEXAMPLES_DEP_LIBS
=$pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
29884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29885 $as_echo "yes" >&6; }
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXXIEXAMPLES_DEP" >&5
29892 $as_echo_n "checking for DMXXIEXAMPLES_DEP... " >&6; }
29894 if test -n "$DMXXIEXAMPLES_DEP_CFLAGS"; then
29895 pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
="$DMXXIEXAMPLES_DEP_CFLAGS"
29896 elif test -n "$PKG_CONFIG"; then
29897 if test -n "$PKG_CONFIG" && \
29898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXI \$LIBXEXT x11\""; } >&5
29899 ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXI $LIBXEXT x11") 2>&5
29901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29902 test $ac_status = 0; }; then
29903 pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "$LIBDMX $LIBXI $LIBXEXT x11" 2>/dev/null`
29910 if test -n "$DMXXIEXAMPLES_DEP_LIBS"; then
29911 pkg_cv_DMXXIEXAMPLES_DEP_LIBS
="$DMXXIEXAMPLES_DEP_LIBS"
29912 elif test -n "$PKG_CONFIG"; then
29913 if test -n "$PKG_CONFIG" && \
29914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXI \$LIBXEXT x11\""; } >&5
29915 ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXI $LIBXEXT x11") 2>&5
29917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29918 test $ac_status = 0; }; then
29919 pkg_cv_DMXXIEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "$LIBDMX $LIBXI $LIBXEXT x11" 2>/dev/null`
29929 if test $pkg_failed = yes; then
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29931 $as_echo "no" >&6; }
29933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29934 _pkg_short_errors_supported
=yes
29936 _pkg_short_errors_supported
=no
29938 if test $_pkg_short_errors_supported = yes; then
29939 DMXXIEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBDMX $LIBXI $LIBXEXT x11" 2>&1`
29941 DMXXIEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBDMX $LIBXI $LIBXEXT x11" 2>&1`
29943 # Put the nasty error message in config.log where it belongs
29944 echo "$DMXXIEXAMPLES_DEP_PKG_ERRORS" >&5
29946 as_fn_error $?
"Package requirements ($LIBDMX $LIBXI $LIBXEXT x11) were not met:
29948 $DMXXIEXAMPLES_DEP_PKG_ERRORS
29950 Consider adjusting the PKG_CONFIG_PATH environment variable if you
29951 installed software in a non-standard prefix.
29953 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
29954 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
29955 See the pkg-config man page for more details." "$LINENO" 5
29957 elif test $pkg_failed = untried
; then
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29959 $as_echo "no" >&6; }
29960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29962 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
29963 is in your PATH or set the PKG_CONFIG environment variable to the full
29964 path to pkg-config.
29966 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
29967 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
29968 See the pkg-config man page for more details.
29970 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
29971 See \`config.log' for more details" "$LINENO" 5; }
29974 DMXXIEXAMPLES_DEP_CFLAGS
=$pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
29975 DMXXIEXAMPLES_DEP_LIBS
=$pkg_cv_DMXXIEXAMPLES_DEP_LIBS
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29977 $as_echo "yes" >&6; }
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTSTEXAMPLES_DEP" >&5
29984 $as_echo_n "checking for XTSTEXAMPLES_DEP... " >&6; }
29986 if test -n "$XTSTEXAMPLES_DEP_CFLAGS"; then
29987 pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
="$XTSTEXAMPLES_DEP_CFLAGS"
29988 elif test -n "$PKG_CONFIG"; then
29989 if test -n "$PKG_CONFIG" && \
29990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXTST \$LIBXEXT x11\""; } >&5
29991 ($PKG_CONFIG --exists --print-errors "$LIBXTST $LIBXEXT x11") 2>&5
29993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29994 test $ac_status = 0; }; then
29995 pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "$LIBXTST $LIBXEXT x11" 2>/dev/null`
30002 if test -n "$XTSTEXAMPLES_DEP_LIBS"; then
30003 pkg_cv_XTSTEXAMPLES_DEP_LIBS
="$XTSTEXAMPLES_DEP_LIBS"
30004 elif test -n "$PKG_CONFIG"; then
30005 if test -n "$PKG_CONFIG" && \
30006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXTST \$LIBXEXT x11\""; } >&5
30007 ($PKG_CONFIG --exists --print-errors "$LIBXTST $LIBXEXT x11") 2>&5
30009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30010 test $ac_status = 0; }; then
30011 pkg_cv_XTSTEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "$LIBXTST $LIBXEXT x11" 2>/dev/null`
30021 if test $pkg_failed = yes; then
30022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30023 $as_echo "no" >&6; }
30025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30026 _pkg_short_errors_supported
=yes
30028 _pkg_short_errors_supported
=no
30030 if test $_pkg_short_errors_supported = yes; then
30031 XTSTEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBXTST $LIBXEXT x11" 2>&1`
30033 XTSTEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBXTST $LIBXEXT x11" 2>&1`
30035 # Put the nasty error message in config.log where it belongs
30036 echo "$XTSTEXAMPLES_DEP_PKG_ERRORS" >&5
30038 as_fn_error $?
"Package requirements ($LIBXTST $LIBXEXT x11) were not met:
30040 $XTSTEXAMPLES_DEP_PKG_ERRORS
30042 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30043 installed software in a non-standard prefix.
30045 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
30046 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
30047 See the pkg-config man page for more details." "$LINENO" 5
30049 elif test $pkg_failed = untried
; then
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30051 $as_echo "no" >&6; }
30052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30054 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
30055 is in your PATH or set the PKG_CONFIG environment variable to the full
30056 path to pkg-config.
30058 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
30059 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
30060 See the pkg-config man page for more details.
30062 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
30063 See \`config.log' for more details" "$LINENO" 5; }
30066 XTSTEXAMPLES_DEP_CFLAGS
=$pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
30067 XTSTEXAMPLES_DEP_LIBS
=$pkg_cv_XTSTEXAMPLES_DEP_LIBS
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30069 $as_echo "yes" >&6; }
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRESEXAMPLES_DEP" >&5
30076 $as_echo_n "checking for XRESEXAMPLES_DEP... " >&6; }
30078 if test -n "$XRESEXAMPLES_DEP_CFLAGS"; then
30079 pkg_cv_XRESEXAMPLES_DEP_CFLAGS
="$XRESEXAMPLES_DEP_CFLAGS"
30080 elif test -n "$PKG_CONFIG"; then
30081 if test -n "$PKG_CONFIG" && \
30082 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xres \$LIBXEXT x11\""; } >&5
30083 ($PKG_CONFIG --exists --print-errors "xres $LIBXEXT x11") 2>&5
30085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30086 test $ac_status = 0; }; then
30087 pkg_cv_XRESEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xres $LIBXEXT x11" 2>/dev/null`
30094 if test -n "$XRESEXAMPLES_DEP_LIBS"; then
30095 pkg_cv_XRESEXAMPLES_DEP_LIBS
="$XRESEXAMPLES_DEP_LIBS"
30096 elif test -n "$PKG_CONFIG"; then
30097 if test -n "$PKG_CONFIG" && \
30098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xres \$LIBXEXT x11\""; } >&5
30099 ($PKG_CONFIG --exists --print-errors "xres $LIBXEXT x11") 2>&5
30101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30102 test $ac_status = 0; }; then
30103 pkg_cv_XRESEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "xres $LIBXEXT x11" 2>/dev/null`
30113 if test $pkg_failed = yes; then
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30115 $as_echo "no" >&6; }
30117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30118 _pkg_short_errors_supported
=yes
30120 _pkg_short_errors_supported
=no
30122 if test $_pkg_short_errors_supported = yes; then
30123 XRESEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "xres $LIBXEXT x11" 2>&1`
30125 XRESEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "xres $LIBXEXT x11" 2>&1`
30127 # Put the nasty error message in config.log where it belongs
30128 echo "$XRESEXAMPLES_DEP_PKG_ERRORS" >&5
30130 as_fn_error $?
"Package requirements (xres $LIBXEXT x11) were not met:
30132 $XRESEXAMPLES_DEP_PKG_ERRORS
30134 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30135 installed software in a non-standard prefix.
30137 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
30138 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
30139 See the pkg-config man page for more details." "$LINENO" 5
30141 elif test $pkg_failed = untried
; then
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30143 $as_echo "no" >&6; }
30144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30146 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
30147 is in your PATH or set the PKG_CONFIG environment variable to the full
30148 path to pkg-config.
30150 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
30151 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
30152 See the pkg-config man page for more details.
30154 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
30155 See \`config.log' for more details" "$LINENO" 5; }
30158 XRESEXAMPLES_DEP_CFLAGS
=$pkg_cv_XRESEXAMPLES_DEP_CFLAGS
30159 XRESEXAMPLES_DEP_LIBS
=$pkg_cv_XRESEXAMPLES_DEP_LIBS
30160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30161 $as_echo "yes" >&6; }
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11EXAMPLES_DEP" >&5
30168 $as_echo_n "checking for X11EXAMPLES_DEP... " >&6; }
30170 if test -n "$X11EXAMPLES_DEP_CFLAGS"; then
30171 pkg_cv_X11EXAMPLES_DEP_CFLAGS
="$X11EXAMPLES_DEP_CFLAGS"
30172 elif test -n "$PKG_CONFIG"; then
30173 if test -n "$PKG_CONFIG" && \
30174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11\""; } >&5
30175 ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11") 2>&5
30177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30178 test $ac_status = 0; }; then
30179 pkg_cv_X11EXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "$LIBXEXT x11" 2>/dev/null`
30186 if test -n "$X11EXAMPLES_DEP_LIBS"; then
30187 pkg_cv_X11EXAMPLES_DEP_LIBS
="$X11EXAMPLES_DEP_LIBS"
30188 elif test -n "$PKG_CONFIG"; then
30189 if test -n "$PKG_CONFIG" && \
30190 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11\""; } >&5
30191 ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11") 2>&5
30193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30194 test $ac_status = 0; }; then
30195 pkg_cv_X11EXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "$LIBXEXT x11" 2>/dev/null`
30205 if test $pkg_failed = yes; then
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30207 $as_echo "no" >&6; }
30209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30210 _pkg_short_errors_supported
=yes
30212 _pkg_short_errors_supported
=no
30214 if test $_pkg_short_errors_supported = yes; then
30215 X11EXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$LIBXEXT x11" 2>&1`
30217 X11EXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$LIBXEXT x11" 2>&1`
30219 # Put the nasty error message in config.log where it belongs
30220 echo "$X11EXAMPLES_DEP_PKG_ERRORS" >&5
30222 as_fn_error $?
"Package requirements ($LIBXEXT x11) were not met:
30224 $X11EXAMPLES_DEP_PKG_ERRORS
30226 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30227 installed software in a non-standard prefix.
30229 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
30230 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
30231 See the pkg-config man page for more details." "$LINENO" 5
30233 elif test $pkg_failed = untried
; then
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30235 $as_echo "no" >&6; }
30236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30238 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
30239 is in your PATH or set the PKG_CONFIG environment variable to the full
30240 path to pkg-config.
30242 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
30243 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
30244 See the pkg-config man page for more details.
30246 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
30247 See \`config.log' for more details" "$LINENO" 5; }
30250 X11EXAMPLES_DEP_CFLAGS
=$pkg_cv_X11EXAMPLES_DEP_CFLAGS
30251 X11EXAMPLES_DEP_LIBS
=$pkg_cv_X11EXAMPLES_DEP_LIBS
30252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30253 $as_echo "yes" >&6; }
30259 if test "x$DMX_BUILD_LNX" = xyes
; then
30260 DMX_BUILD_LNX_TRUE
=
30261 DMX_BUILD_LNX_FALSE
='#'
30263 DMX_BUILD_LNX_TRUE
='#'
30264 DMX_BUILD_LNX_FALSE
=
30267 if test "x$DMX_BUILD_USB" = xyes
; then
30268 DMX_BUILD_USB_TRUE
=
30269 DMX_BUILD_USB_FALSE
='#'
30271 DMX_BUILD_USB_TRUE
='#'
30272 DMX_BUILD_USB_FALSE
=
30280 if test x
$KDRIVE = xyes
; then
30289 if test "$KDRIVE" = yes; then
30291 $as_echo "#define KDRIVESERVER 1" >>confdefs.h
30294 $as_echo "#define KDRIVEDDXACTIONS /**/" >>confdefs.h
30297 for ac_header
in linux
/fb.h
30299 ac_fn_c_check_header_mongrel
"$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
30300 if test "x$ac_cv_header_linux_fb_h" = xyes
; then :
30301 cat >>confdefs.h
<<_ACEOF
30302 #define HAVE_LINUX_FB_H 1
30309 if test "$ac_cv_header_linux_fb_h" = yes && test "x$XFBDEV" = xauto
; then
30313 if test "x$XFBDEV" = xyes
; then
30316 $as_echo "#define KDRIVEFBDEV 1" >>confdefs.h
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
30324 $as_echo_n "checking for TSLIB... " >&6; }
30326 if test -n "$TSLIB_CFLAGS"; then
30327 pkg_cv_TSLIB_CFLAGS
="$TSLIB_CFLAGS"
30328 elif test -n "$PKG_CONFIG"; then
30329 if test -n "$PKG_CONFIG" && \
30330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\""; } >&5
30331 ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
30333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30334 test $ac_status = 0; }; then
30335 pkg_cv_TSLIB_CFLAGS
=`$PKG_CONFIG --cflags "tslib-0.0" 2>/dev/null`
30342 if test -n "$TSLIB_LIBS"; then
30343 pkg_cv_TSLIB_LIBS
="$TSLIB_LIBS"
30344 elif test -n "$PKG_CONFIG"; then
30345 if test -n "$PKG_CONFIG" && \
30346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\""; } >&5
30347 ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
30349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30350 test $ac_status = 0; }; then
30351 pkg_cv_TSLIB_LIBS
=`$PKG_CONFIG --libs "tslib-0.0" 2>/dev/null`
30361 if test $pkg_failed = yes; then
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30363 $as_echo "no" >&6; }
30365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30366 _pkg_short_errors_supported
=yes
30368 _pkg_short_errors_supported
=no
30370 if test $_pkg_short_errors_supported = yes; then
30371 TSLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "tslib-0.0" 2>&1`
30373 TSLIB_PKG_ERRORS
=`$PKG_CONFIG --print-errors "tslib-0.0" 2>&1`
30375 # Put the nasty error message in config.log where it belongs
30376 echo "$TSLIB_PKG_ERRORS" >&5
30379 elif test $pkg_failed = untried
; then
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30381 $as_echo "no" >&6; }
30384 TSLIB_CFLAGS
=$pkg_cv_TSLIB_CFLAGS
30385 TSLIB_LIBS
=$pkg_cv_TSLIB_LIBS
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30387 $as_echo "yes" >&6; }
30390 if test "x$HAVE_TSLIB" = xno
; then
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
30392 $as_echo_n "checking for ts_open in -lts... " >&6; }
30393 if ${ac_cv_lib_ts_ts_open+:} false
; then :
30394 $as_echo_n "(cached) " >&6
30396 ac_check_lib_save_LIBS
=$LIBS
30398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30399 /* end confdefs.h. */
30401 /* Override any GCC internal prototype to avoid an error.
30402 Use char because int might match the return type of a GCC
30403 builtin and then its argument prototype would still apply. */
30416 if ac_fn_c_try_link
"$LINENO"; then :
30417 ac_cv_lib_ts_ts_open
=yes
30419 ac_cv_lib_ts_ts_open
=no
30421 rm -f core conftest.err conftest.
$ac_objext \
30422 conftest
$ac_exeext conftest.
$ac_ext
30423 LIBS
=$ac_check_lib_save_LIBS
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
30426 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
30427 if test "x$ac_cv_lib_ts_ts_open" = xyes
; then :
30436 if test "xTSLIB" = xauto
; then
30437 TSLIB
="$HAVE_TSLIB"
30440 if test "x$TSLIB" = xyes
; then
30441 if ! test "x$HAVE_TSLIB" = xyes
; then
30442 as_fn_error $?
"tslib must be installed to build the tslib driver. See http://tslib.berlios.de/" "$LINENO" 5
30445 $as_echo "#define TSLIB 1" >>confdefs.h
30450 if test "x$KDRIVE_KBD" = xyes
; then
30452 $as_echo "#define KDRIVE_KBD 1" >>confdefs.h
30455 if test "x$KDRIVE_EVDEV" = xyes
; then
30457 $as_echo "#define KDRIVE_EVDEV 1" >>confdefs.h
30460 if test "x$KDRIVE_MOUSE" = xyes
; then
30462 $as_echo "#define KDRIVE_MOUSE 1" >>confdefs.h
30466 XEPHYR_REQUIRED_LIBS
="xau xdmcp xcb xcb-shape xcb-aux xcb-image xcb-icccm xcb-shm xcb-keysyms"
30467 if test "x$XV" = xyes
; then
30468 XEPHYR_REQUIRED_LIBS
="$XEPHYR_REQUIRED_LIBS xcb-xv"
30470 if test "x$DRI" = xyes
&& test "x$GLX" = xyes
; then
30471 XEPHYR_REQUIRED_LIBS
="$XEPHYR_REQUIRED_LIBS libdrm xcb-glx xcb-xf86dri > 1.6"
30474 if test "x$XEPHYR" = xauto
; then
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEPHYR" >&5
30478 $as_echo_n "checking for XEPHYR... " >&6; }
30480 if test -n "$XEPHYR_CFLAGS"; then
30481 pkg_cv_XEPHYR_CFLAGS
="$XEPHYR_CFLAGS"
30482 elif test -n "$PKG_CONFIG"; then
30483 if test -n "$PKG_CONFIG" && \
30484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\""; } >&5
30485 ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5
30487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30488 test $ac_status = 0; }; then
30489 pkg_cv_XEPHYR_CFLAGS
=`$PKG_CONFIG --cflags "$XEPHYR_REQUIRED_LIBS" 2>/dev/null`
30496 if test -n "$XEPHYR_LIBS"; then
30497 pkg_cv_XEPHYR_LIBS
="$XEPHYR_LIBS"
30498 elif test -n "$PKG_CONFIG"; then
30499 if test -n "$PKG_CONFIG" && \
30500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\""; } >&5
30501 ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5
30503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30504 test $ac_status = 0; }; then
30505 pkg_cv_XEPHYR_LIBS
=`$PKG_CONFIG --libs "$XEPHYR_REQUIRED_LIBS" 2>/dev/null`
30515 if test $pkg_failed = yes; then
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30517 $as_echo "no" >&6; }
30519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30520 _pkg_short_errors_supported
=yes
30522 _pkg_short_errors_supported
=no
30524 if test $_pkg_short_errors_supported = yes; then
30525 XEPHYR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$XEPHYR_REQUIRED_LIBS" 2>&1`
30527 XEPHYR_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$XEPHYR_REQUIRED_LIBS" 2>&1`
30529 # Put the nasty error message in config.log where it belongs
30530 echo "$XEPHYR_PKG_ERRORS" >&5
30533 elif test $pkg_failed = untried
; then
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30535 $as_echo "no" >&6; }
30538 XEPHYR_CFLAGS
=$pkg_cv_XEPHYR_CFLAGS
30539 XEPHYR_LIBS
=$pkg_cv_XEPHYR_LIBS
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30541 $as_echo "yes" >&6; }
30544 elif test "x$XEPHYR" = xyes
; then
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEPHYR" >&5
30548 $as_echo_n "checking for XEPHYR... " >&6; }
30550 if test -n "$XEPHYR_CFLAGS"; then
30551 pkg_cv_XEPHYR_CFLAGS
="$XEPHYR_CFLAGS"
30552 elif test -n "$PKG_CONFIG"; then
30553 if test -n "$PKG_CONFIG" && \
30554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\""; } >&5
30555 ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5
30557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30558 test $ac_status = 0; }; then
30559 pkg_cv_XEPHYR_CFLAGS
=`$PKG_CONFIG --cflags "$XEPHYR_REQUIRED_LIBS" 2>/dev/null`
30566 if test -n "$XEPHYR_LIBS"; then
30567 pkg_cv_XEPHYR_LIBS
="$XEPHYR_LIBS"
30568 elif test -n "$PKG_CONFIG"; then
30569 if test -n "$PKG_CONFIG" && \
30570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\""; } >&5
30571 ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5
30573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30574 test $ac_status = 0; }; then
30575 pkg_cv_XEPHYR_LIBS
=`$PKG_CONFIG --libs "$XEPHYR_REQUIRED_LIBS" 2>/dev/null`
30585 if test $pkg_failed = yes; then
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30587 $as_echo "no" >&6; }
30589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30590 _pkg_short_errors_supported
=yes
30592 _pkg_short_errors_supported
=no
30594 if test $_pkg_short_errors_supported = yes; then
30595 XEPHYR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$XEPHYR_REQUIRED_LIBS" 2>&1`
30597 XEPHYR_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$XEPHYR_REQUIRED_LIBS" 2>&1`
30599 # Put the nasty error message in config.log where it belongs
30600 echo "$XEPHYR_PKG_ERRORS" >&5
30602 as_fn_error $?
"Package requirements ($XEPHYR_REQUIRED_LIBS) were not met:
30606 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30607 installed software in a non-standard prefix.
30609 Alternatively, you may set the environment variables XEPHYR_CFLAGS
30610 and XEPHYR_LIBS to avoid the need to call pkg-config.
30611 See the pkg-config man page for more details." "$LINENO" 5
30613 elif test $pkg_failed = untried
; then
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30615 $as_echo "no" >&6; }
30616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30618 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
30619 is in your PATH or set the PKG_CONFIG environment variable to the full
30620 path to pkg-config.
30622 Alternatively, you may set the environment variables XEPHYR_CFLAGS
30623 and XEPHYR_LIBS to avoid the need to call pkg-config.
30624 See the pkg-config man page for more details.
30626 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
30627 See \`config.log' for more details" "$LINENO" 5; }
30630 XEPHYR_CFLAGS
=$pkg_cv_XEPHYR_CFLAGS
30631 XEPHYR_LIBS
=$pkg_cv_XEPHYR_LIBS
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30633 $as_echo "yes" >&6; }
30638 # Xephyr needs nanosleep() which is in librt on Solaris
30639 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30640 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
30644 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
30645 if ${ac_cv_lib_rt_nanosleep+:} false
; then :
30646 $as_echo_n "(cached) " >&6
30648 ac_check_lib_save_LIBS
=$LIBS
30650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30651 /* end confdefs.h. */
30653 /* Override any GCC internal prototype to avoid an error.
30654 Use char because int might match the return type of a GCC
30655 builtin and then its argument prototype would still apply. */
30663 return nanosleep ();
30668 if ac_fn_c_try_link
"$LINENO"; then :
30669 ac_cv_lib_rt_nanosleep
=yes
30671 ac_cv_lib_rt_nanosleep
=no
30673 rm -f core conftest.err conftest.
$ac_objext \
30674 conftest
$ac_exeext conftest.
$ac_ext
30675 LIBS
=$ac_check_lib_save_LIBS
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
30678 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
30679 if test "x$ac_cv_lib_rt_nanosleep" = xyes
; then :
30680 XEPHYR_LIBS
="$XEPHYR_LIBS -lrt"
30686 # damage shadow extension glx (NOTYET) fb mi
30687 KDRIVE_INC
='-I$(top_srcdir)/hw/kdrive/src'
30688 KDRIVE_PURE_INCS
="$KDRIVE_INC $MIEXT_SYNC_INC $MIEXT_DAMAGE_INC $MIEXT_SHADOW_INC $XEXT_INC $FB_INC $MI_INC"
30689 KDRIVE_OS_INC
='-I$(top_srcdir)/hw/kdrive/linux'
30690 KDRIVE_INCS
="$KDRIVE_PURE_INCS $KDRIVE_OS_INC"
30692 KDRIVE_CFLAGS
="$XSERVER_CFLAGS -DHAVE_KDRIVE_CONFIG_H $TSLIB_CFLAGS"
30694 KDRIVE_PURE_LIBS
="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $OS_LIB"
30695 KDRIVE_LIB
='$(top_builddir)/hw/kdrive/src/libkdrive.la'
30698 KDRIVE_OS_LIB
='$(top_builddir)/hw/kdrive/linux/liblinux.la'
30700 if test "x$KDRIVE_EVDEV" = xauto
; then
30703 if test "x$KDRIVE_KBD" = xauto
; then
30706 if test "x$KDRIVE_MOUSE" = xauto
; then
30711 if test "x$KDRIVE_EVDEV" = xauto
; then
30714 if test "x$KDRIVE_KBD" = xauto
; then
30717 if test "x$KDRIVE_MOUSE" = xauto
; then
30722 KDRIVE_STUB_LIB
='$(top_builddir)/hw/kdrive/src/libkdrivestubs.la'
30723 KDRIVE_LOCAL_LIBS
="$MAIN_LIB $DIX_LIB $KDRIVE_LIB $KDRIVE_STUB_LIB"
30724 KDRIVE_LOCAL_LIBS
="$KDRIVE_LOCAL_LIBS $FB_LIB $MI_LIB $KDRIVE_PURE_LIBS"
30725 KDRIVE_LOCAL_LIBS
="$KDRIVE_LOCAL_LIBS $KDRIVE_OS_LIB"
30726 KDRIVE_LIBS
="$KDRIVE_LOCAL_LIBS $XSERVER_SYS_LIBS $GLX_SYS_LIBS $DLOPEN_LIBS $TSLIB_LIBS"
30737 if test "x$KDRIVELINUX" = xyes
; then
30739 KDRIVELINUX_FALSE
='#'
30741 KDRIVELINUX_TRUE
='#'
30745 if test "x$KDRIVE_EVDEV" = xyes
; then
30747 KDRIVE_EVDEV_FALSE
='#'
30749 KDRIVE_EVDEV_TRUE
='#'
30750 KDRIVE_EVDEV_FALSE
=
30753 if test "x$KDRIVE_KBD" = xyes
; then
30755 KDRIVE_KBD_FALSE
='#'
30757 KDRIVE_KBD_TRUE
='#'
30761 if test "x$KDRIVE_MOUSE" = xyes
; then
30763 KDRIVE_MOUSE_FALSE
='#'
30765 KDRIVE_MOUSE_TRUE
='#'
30766 KDRIVE_MOUSE_FALSE
=
30769 if test "x$HAVE_TSLIB" = xyes
; then
30777 if test "x$XFBDEV" = xyes
; then
30779 KDRIVEFBDEV_FALSE
='#'
30781 KDRIVEFBDEV_TRUE
='#'
30785 if test "x$KDRIVE" = xyes
&& test "x$XEPHYR" = xyes
; then
30793 if test "x$KDRIVE" = xyes
&& test "x$KDRIVEFBDEVLIB" = xyes
; then
30794 BUILD_KDRIVEFBDEVLIB_TRUE
=
30795 BUILD_KDRIVEFBDEVLIB_FALSE
='#'
30797 BUILD_KDRIVEFBDEVLIB_TRUE
='#'
30798 BUILD_KDRIVEFBDEVLIB_FALSE
=
30801 if test "x$KDRIVE" = xyes
&& test "x$XFAKE" = xyes
; then
30803 XFAKESERVER_FALSE
='#'
30805 XFAKESERVER_TRUE
='#'
30811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30812 /* end confdefs.h. */
30814 #include <features.h>
30827 if ac_fn_c_try_compile
"$LINENO"; then :
30829 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
30832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30837 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
30838 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
30839 eval ac_define_dir
="\"$prefix\""
30840 eval ac_define_dir
="\"$ac_define_dir\""
30841 PROJECTROOT
="$ac_define_dir"
30844 cat >>confdefs.h
<<_ACEOF
30845 #define PROJECTROOT "$ac_define_dir"
30848 test "$prefix_NONE" && prefix
=NONE
30849 test "$exec_prefix_NONE" && exec_prefix
=NONE
30853 BUILD_DATE
="`date +'%Y%m%d'`"
30855 BUILD_TIME
="`date +'1%H%M%S'`"
30858 DIX_CFLAGS
="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"
30866 ac_config_commands
="$ac_config_commands sdksyms"
30869 if test "x$CONFIG_HAL" = xno
&& test "x$CONFIG_UDEV" = xno
; then
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
30871 ***********************************************
30872 Neither HAL nor udev backend will be enabled.
30873 Input device hotplugging will not be available!
30874 ***********************************************" >&5
30875 $as_echo "$as_me: WARNING:
30876 ***********************************************
30877 Neither HAL nor udev backend will be enabled.
30878 Input device hotplugging will not be available!
30879 ***********************************************" >&2;}
30882 ac_config_files
="$ac_config_files Makefile glx/Makefile include/Makefile composite/Makefile damageext/Makefile dbe/Makefile dix/Makefile doc/Makefile doc/dtrace/Makefile man/Makefile fb/Makefile record/Makefile config/Makefile mi/Makefile miext/Makefile miext/sync/Makefile miext/damage/Makefile miext/shadow/Makefile miext/rootless/Makefile os/Makefile pseudoramiX/Makefile randr/Makefile render/Makefile xkb/Makefile Xext/Makefile Xi/Makefile xfixes/Makefile exa/Makefile dri3/Makefile present/Makefile hw/Makefile hw/xfree86/Makefile hw/xfree86/common/Makefile hw/xfree86/common/xf86Build.h hw/xfree86/ddc/Makefile hw/xfree86/dixmods/Makefile hw/xfree86/doc/Makefile hw/xfree86/dri/Makefile hw/xfree86/dri2/Makefile hw/xfree86/exa/Makefile hw/xfree86/exa/man/Makefile hw/xfree86/fbdevhw/Makefile hw/xfree86/fbdevhw/man/Makefile hw/xfree86/i2c/Makefile hw/xfree86/int10/Makefile hw/xfree86/loader/Makefile hw/xfree86/man/Makefile hw/xfree86/modes/Makefile hw/xfree86/os-support/Makefile hw/xfree86/os-support/bsd/Makefile hw/xfree86/os-support/bus/Makefile hw/xfree86/os-support/hurd/Makefile hw/xfree86/os-support/misc/Makefile hw/xfree86/os-support/linux/Makefile hw/xfree86/os-support/solaris/Makefile hw/xfree86/os-support/stub/Makefile hw/xfree86/parser/Makefile hw/xfree86/ramdac/Makefile hw/xfree86/shadowfb/Makefile hw/xfree86/vbe/Makefile hw/xfree86/vgahw/Makefile hw/xfree86/x86emu/Makefile hw/xfree86/utils/Makefile hw/xfree86/utils/man/Makefile hw/xfree86/utils/cvt/Makefile hw/xfree86/utils/gtf/Makefile hw/dmx/config/Makefile hw/dmx/config/man/Makefile hw/dmx/doc/Makefile hw/dmx/doxygen/doxygen.conf hw/dmx/doxygen/Makefile hw/dmx/examples/Makefile hw/dmx/input/Makefile hw/dmx/glxProxy/Makefile hw/dmx/Makefile hw/dmx/man/Makefile hw/vfb/Makefile hw/vfb/man/Makefile hw/xnest/Makefile hw/xnest/man/Makefile hw/xwin/Makefile hw/xwin/glx/Makefile hw/xwin/man/Makefile hw/xquartz/Makefile hw/xquartz/GL/Makefile hw/xquartz/bundle/Makefile hw/xquartz/man/Makefile hw/xquartz/mach-startup/Makefile hw/xquartz/pbproxy/Makefile hw/xquartz/xpr/Makefile hw/kdrive/Makefile hw/kdrive/ephyr/Makefile hw/kdrive/ephyr/man/Makefile hw/kdrive/fake/Makefile hw/kdrive/fbdev/Makefile hw/kdrive/linux/Makefile hw/kdrive/src/Makefile test/Makefile test/xi2/Makefile xserver.ent xorg-server.pc"
30884 cat >confcache
<<\_ACEOF
30885 # This file is a shell script that caches the results of configure
30886 # tests run on this system so they can be shared between configure
30887 # scripts and configure runs, see configure's option --config-cache.
30888 # It is not useful on other systems. If it contains results you don't
30889 # want to keep, you may remove or edit it.
30891 # config.status only pays attention to the cache file if you give it
30892 # the --recheck option to rerun configure.
30894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30896 # following values.
30900 # The following way of writing the cache mishandles newlines in values,
30901 # but we know of no workaround that is simple, portable, and efficient.
30902 # So, we kill variables containing newlines.
30903 # Ultrix sh set writes to stderr and can't be redirected directly,
30904 # and sets the high bit in the cache file unless we assign to the vars.
30906 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
30907 eval ac_val
=\$
$ac_var
30911 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
30912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
30915 _ | IFS | as_nl
) ;; #(
30916 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
30917 *) { eval $ac_var=; unset $ac_var;} ;;
30923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
30924 *${as_nl}ac_space
=\
*)
30925 # `set' does not quote correctly, so add quotes: double-quote
30926 # substitution turns \\\\ into \\, and sed turns \\ into \.
30929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30932 # `set' quotes correctly as required by POSIX, so do not add quotes.
30933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
30942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30946 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
30947 if test -w "$cache_file"; then
30948 if test "x$cache_file" != "x/dev/null"; then
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
30950 $as_echo "$as_me: updating cache $cache_file" >&6;}
30951 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
30952 cat confcache
>"$cache_file"
30954 case $cache_file in #(
30956 mv -f confcache
"$cache_file"$$
&&
30957 mv -f "$cache_file"$$
"$cache_file" ;; #(
30959 mv -f confcache
"$cache_file" ;;
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
30965 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30970 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
30971 # Let make expand exec_prefix.
30972 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
30974 DEFS
=-DHAVE_CONFIG_H
30979 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
30980 # 1. Remove the extension, and $U if already installed.
30981 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
30982 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
30983 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
30984 # will be set to the directory where LIBOBJS objects are built.
30985 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
30986 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
30988 LIBOBJS
=$ac_libobjs
30990 LTLIBOBJS
=$ac_ltlibobjs
30993 if test -n "$EXEEXT"; then
30995 am__EXEEXT_FALSE
='#'
30997 am__EXEEXT_TRUE
='#'
31001 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31002 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31005 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31006 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31009 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
31010 as_fn_error $?
"conditional \"HAVE_DOT\" was never defined.
31011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31013 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
31014 as_fn_error $?
"conditional \"HAVE_DOXYGEN\" was never defined.
31015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31017 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
31018 as_fn_error $?
"conditional \"HAVE_STYLESHEETS\" was never defined.
31019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31021 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
31022 as_fn_error $?
"conditional \"ENABLE_DOCS\" was never defined.
31023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31025 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
31026 as_fn_error $?
"conditional \"ENABLE_DEVEL_DOCS\" was never defined.
31027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31029 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
31030 as_fn_error $?
"conditional \"HAVE_XMLTO_TEXT\" was never defined.
31031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31033 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
31034 as_fn_error $?
"conditional \"HAVE_XMLTO\" was never defined.
31035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31037 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
31038 as_fn_error $?
"conditional \"HAVE_FOP\" was never defined.
31039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31041 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
31042 as_fn_error $?
"conditional \"HAVE_XSLTPROC\" was never defined.
31043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31045 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
31046 as_fn_error $?
"conditional \"ENABLE_UNIT_TESTS\" was never defined.
31047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31049 if test -z "${HAVE_LD_WRAP_TRUE}" && test -z "${HAVE_LD_WRAP_FALSE}"; then
31050 as_fn_error $?
"conditional \"HAVE_LD_WRAP\" was never defined.
31051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31053 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
31054 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
31055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31057 if test -z "${XSERVER_DTRACE_TRUE}" && test -z "${XSERVER_DTRACE_FALSE}"; then
31058 as_fn_error $?
"conditional \"XSERVER_DTRACE\" was never defined.
31059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31061 if test -z "${SPECIAL_DTRACE_OBJECTS_TRUE}" && test -z "${SPECIAL_DTRACE_OBJECTS_FALSE}"; then
31062 as_fn_error $?
"conditional \"SPECIAL_DTRACE_OBJECTS\" was never defined.
31063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31066 if test -z "${AGP_TRUE}" && test -z "${AGP_FALSE}"; then
31067 as_fn_error $?
"conditional \"AGP\" was never defined.
31068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31070 if test -z "${FBDEVHW_TRUE}" && test -z "${FBDEVHW_FALSE}"; then
31071 as_fn_error $?
"conditional \"FBDEVHW\" was never defined.
31072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31074 if test -z "${FREEBSD_KLDLOAD_TRUE}" && test -z "${FREEBSD_KLDLOAD_FALSE}"; then
31075 as_fn_error $?
"conditional \"FREEBSD_KLDLOAD\" was never defined.
31076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31078 if test -z "${BSD_APM_TRUE}" && test -z "${BSD_APM_FALSE}"; then
31079 as_fn_error $?
"conditional \"BSD_APM\" was never defined.
31080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31082 if test -z "${BSD_KQUEUE_APM_TRUE}" && test -z "${BSD_KQUEUE_APM_FALSE}"; then
31083 as_fn_error $?
"conditional \"BSD_KQUEUE_APM\" was never defined.
31084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31086 if test -z "${ALPHA_VIDEO_TRUE}" && test -z "${ALPHA_VIDEO_FALSE}"; then
31087 as_fn_error $?
"conditional \"ALPHA_VIDEO\" was never defined.
31088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31090 if test -z "${ARM_VIDEO_TRUE}" && test -z "${ARM_VIDEO_FALSE}"; then
31091 as_fn_error $?
"conditional \"ARM_VIDEO\" was never defined.
31092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31094 if test -z "${I386_VIDEO_TRUE}" && test -z "${I386_VIDEO_FALSE}"; then
31095 as_fn_error $?
"conditional \"I386_VIDEO\" was never defined.
31096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31098 if test -z "${PPC_VIDEO_TRUE}" && test -z "${PPC_VIDEO_FALSE}"; then
31099 as_fn_error $?
"conditional \"PPC_VIDEO\" was never defined.
31100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31102 if test -z "${SPARC64_VIDEO_TRUE}" && test -z "${SPARC64_VIDEO_FALSE}"; then
31103 as_fn_error $?
"conditional \"SPARC64_VIDEO\" was never defined.
31104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31106 if test -z "${INSTALL_SETUID_TRUE}" && test -z "${INSTALL_SETUID_FALSE}"; then
31107 as_fn_error $?
"conditional \"INSTALL_SETUID\" was never defined.
31108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31110 if test -z "${SECURE_RPC_TRUE}" && test -z "${SECURE_RPC_FALSE}"; then
31111 as_fn_error $?
"conditional \"SECURE_RPC\" was never defined.
31112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31114 if test -z "${INT10_VM86_TRUE}" && test -z "${INT10_VM86_FALSE}"; then
31115 as_fn_error $?
"conditional \"INT10_VM86\" was never defined.
31116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31118 if test -z "${INT10_X86EMU_TRUE}" && test -z "${INT10_X86EMU_FALSE}"; then
31119 as_fn_error $?
"conditional \"INT10_X86EMU\" was never defined.
31120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31122 if test -z "${INT10_STUB_TRUE}" && test -z "${INT10_STUB_FALSE}"; then
31123 as_fn_error $?
"conditional \"INT10_STUB\" was never defined.
31124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31126 if test -z "${INSTALL_LIBXF86CONFIG_TRUE}" && test -z "${INSTALL_LIBXF86CONFIG_FALSE}"; then
31127 as_fn_error $?
"conditional \"INSTALL_LIBXF86CONFIG\" was never defined.
31128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31130 if test -z "${CONFIG_UDEV_TRUE}" && test -z "${CONFIG_UDEV_FALSE}"; then
31131 as_fn_error $?
"conditional \"CONFIG_UDEV\" was never defined.
31132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31134 if test -z "${CONFIG_UDEV_KMS_TRUE}" && test -z "${CONFIG_UDEV_KMS_FALSE}"; then
31135 as_fn_error $?
"conditional \"CONFIG_UDEV_KMS\" was never defined.
31136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31138 if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
31139 as_fn_error $?
"conditional \"HAVE_DBUS\" was never defined.
31140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31142 if test -z "${CONFIG_DBUS_API_TRUE}" && test -z "${CONFIG_DBUS_API_FALSE}"; then
31143 as_fn_error $?
"conditional \"CONFIG_DBUS_API\" was never defined.
31144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31146 if test -z "${CONFIG_HAL_TRUE}" && test -z "${CONFIG_HAL_FALSE}"; then
31147 as_fn_error $?
"conditional \"CONFIG_HAL\" was never defined.
31148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31150 if test -z "${CONFIG_NEED_DBUS_TRUE}" && test -z "${CONFIG_NEED_DBUS_FALSE}"; then
31151 as_fn_error $?
"conditional \"CONFIG_NEED_DBUS\" was never defined.
31152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31154 if test -z "${CONFIG_WSCONS_TRUE}" && test -z "${CONFIG_WSCONS_FALSE}"; then
31155 as_fn_error $?
"conditional \"CONFIG_WSCONS\" was never defined.
31156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31158 if test -z "${XV_TRUE}" && test -z "${XV_FALSE}"; then
31159 as_fn_error $?
"conditional \"XV\" was never defined.
31160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31162 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
31163 as_fn_error $?
"conditional \"XVMC\" was never defined.
31164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31166 if test -z "${XREGISTRY_TRUE}" && test -z "${XREGISTRY_FALSE}"; then
31167 as_fn_error $?
"conditional \"XREGISTRY\" was never defined.
31168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31170 if test -z "${COMPOSITE_TRUE}" && test -z "${COMPOSITE_FALSE}"; then
31171 as_fn_error $?
"conditional \"COMPOSITE\" was never defined.
31172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31174 if test -z "${MITSHM_TRUE}" && test -z "${MITSHM_FALSE}"; then
31175 as_fn_error $?
"conditional \"MITSHM\" was never defined.
31176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31178 if test -z "${RECORD_TRUE}" && test -z "${RECORD_FALSE}"; then
31179 as_fn_error $?
"conditional \"RECORD\" was never defined.
31180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31182 if test -z "${SCREENSAVER_TRUE}" && test -z "${SCREENSAVER_FALSE}"; then
31183 as_fn_error $?
"conditional \"SCREENSAVER\" was never defined.
31184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31186 if test -z "${RES_TRUE}" && test -z "${RES_FALSE}"; then
31187 as_fn_error $?
"conditional \"RES\" was never defined.
31188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31190 if test -z "${CLIENTIDS_TRUE}" && test -z "${CLIENTIDS_FALSE}"; then
31191 as_fn_error $?
"conditional \"CLIENTIDS\" was never defined.
31192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31194 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
31195 as_fn_error $?
"conditional \"DRI\" was never defined.
31196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31198 if test -z "${DRI2_TRUE}" && test -z "${DRI2_FALSE}"; then
31199 as_fn_error $?
"conditional \"DRI2\" was never defined.
31200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31202 if test -z "${BUSFAULT_TRUE}" && test -z "${BUSFAULT_FALSE}"; then
31203 as_fn_error $?
"conditional \"BUSFAULT\" was never defined.
31204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31206 if test -z "${XSHMFENCE_TRUE}" && test -z "${XSHMFENCE_FALSE}"; then
31207 as_fn_error $?
"conditional \"XSHMFENCE\" was never defined.
31208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31210 if test -z "${DRI3_TRUE}" && test -z "${DRI3_FALSE}"; then
31211 as_fn_error $?
"conditional \"DRI3\" was never defined.
31212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31214 if test -z "${DRI2_AIGLX_TRUE}" && test -z "${DRI2_AIGLX_FALSE}"; then
31215 as_fn_error $?
"conditional \"DRI2_AIGLX\" was never defined.
31216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31218 if test -z "${GLX_TRUE}" && test -z "${GLX_FALSE}"; then
31219 as_fn_error $?
"conditional \"GLX\" was never defined.
31220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31222 if test -z "${AIGLX_DRI_LOADER_TRUE}" && test -z "${AIGLX_DRI_LOADER_FALSE}"; then
31223 as_fn_error $?
"conditional \"AIGLX_DRI_LOADER\" was never defined.
31224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31226 if test -z "${PRESENT_TRUE}" && test -z "${PRESENT_FALSE}"; then
31227 as_fn_error $?
"conditional \"PRESENT\" was never defined.
31228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31230 if test -z "${XINERAMA_TRUE}" && test -z "${XINERAMA_FALSE}"; then
31231 as_fn_error $?
"conditional \"XINERAMA\" was never defined.
31232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31234 if test -z "${XACE_TRUE}" && test -z "${XACE_FALSE}"; then
31235 as_fn_error $?
"conditional \"XACE\" was never defined.
31236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31238 if test -z "${XSELINUX_TRUE}" && test -z "${XSELINUX_FALSE}"; then
31239 as_fn_error $?
"conditional \"XSELINUX\" was never defined.
31240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31242 if test -z "${XCSECURITY_TRUE}" && test -z "${XCSECURITY_FALSE}"; then
31243 as_fn_error $?
"conditional \"XCSECURITY\" was never defined.
31244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31246 if test -z "${DBE_TRUE}" && test -z "${DBE_FALSE}"; then
31247 as_fn_error $?
"conditional \"DBE\" was never defined.
31248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31250 if test -z "${XF86BIGFONT_TRUE}" && test -z "${XF86BIGFONT_FALSE}"; then
31251 as_fn_error $?
"conditional \"XF86BIGFONT\" was never defined.
31252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31254 if test -z "${DPMSExtension_TRUE}" && test -z "${DPMSExtension_FALSE}"; then
31255 as_fn_error $?
"conditional \"DPMSExtension\" was never defined.
31256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31258 if test -z "${XF86UTILS_TRUE}" && test -z "${XF86UTILS_FALSE}"; then
31259 as_fn_error $?
"conditional \"XF86UTILS\" was never defined.
31260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31262 if test -z "${VGAHW_TRUE}" && test -z "${VGAHW_FALSE}"; then
31263 as_fn_error $?
"conditional \"VGAHW\" was never defined.
31264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31266 if test -z "${VBE_TRUE}" && test -z "${VBE_FALSE}"; then
31267 as_fn_error $?
"conditional \"VBE\" was never defined.
31268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31270 if test -z "${INT10MODULE_TRUE}" && test -z "${INT10MODULE_FALSE}"; then
31271 as_fn_error $?
"conditional \"INT10MODULE\" was never defined.
31272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31274 if test -z "${XDMCP_TRUE}" && test -z "${XDMCP_FALSE}"; then
31275 as_fn_error $?
"conditional \"XDMCP\" was never defined.
31276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31278 if test -z "${XDMAUTH_TRUE}" && test -z "${XDMAUTH_FALSE}"; then
31279 as_fn_error $?
"conditional \"XDMAUTH\" was never defined.
31280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31282 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
31283 as_fn_error $?
"conditional \"DEBUG\" was never defined.
31284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31286 if test -z "${HAVE_LIBUNWIND_TRUE}" && test -z "${HAVE_LIBUNWIND_FALSE}"; then
31287 as_fn_error $?
"conditional \"HAVE_LIBUNWIND\" was never defined.
31288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31290 if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
31291 as_fn_error $?
"conditional \"CYGWIN\" was never defined.
31292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31294 if test -z "${NO_UNDEFINED_TRUE}" && test -z "${NO_UNDEFINED_FALSE}"; then
31295 as_fn_error $?
"conditional \"NO_UNDEFINED\" was never defined.
31296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31298 if test -z "${XVFB_TRUE}" && test -z "${XVFB_FALSE}"; then
31299 as_fn_error $?
"conditional \"XVFB\" was never defined.
31300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31302 if test -z "${XNEST_TRUE}" && test -z "${XNEST_FALSE}"; then
31303 as_fn_error $?
"conditional \"XNEST\" was never defined.
31304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31306 if test -z "${XORG_TRUE}" && test -z "${XORG_FALSE}"; then
31307 as_fn_error $?
"conditional \"XORG\" was never defined.
31308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31310 if test -z "${XORG_BUS_PCI_TRUE}" && test -z "${XORG_BUS_PCI_FALSE}"; then
31311 as_fn_error $?
"conditional \"XORG_BUS_PCI\" was never defined.
31312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31314 if test -z "${XORG_BUS_BSDPCI_TRUE}" && test -z "${XORG_BUS_BSDPCI_FALSE}"; then
31315 as_fn_error $?
"conditional \"XORG_BUS_BSDPCI\" was never defined.
31316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31318 if test -z "${XORG_BUS_SPARC_TRUE}" && test -z "${XORG_BUS_SPARC_FALSE}"; then
31319 as_fn_error $?
"conditional \"XORG_BUS_SPARC\" was never defined.
31320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31322 if test -z "${LINUX_ALPHA_TRUE}" && test -z "${LINUX_ALPHA_FALSE}"; then
31323 as_fn_error $?
"conditional \"LINUX_ALPHA\" was never defined.
31324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31326 if test -z "${LNXACPI_TRUE}" && test -z "${LNXACPI_FALSE}"; then
31327 as_fn_error $?
"conditional \"LNXACPI\" was never defined.
31328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31330 if test -z "${LNXAPM_TRUE}" && test -z "${LNXAPM_FALSE}"; then
31331 as_fn_error $?
"conditional \"LNXAPM\" was never defined.
31332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31334 if test -z "${SOLARIS_VT_TRUE}" && test -z "${SOLARIS_VT_FALSE}"; then
31335 as_fn_error $?
"conditional \"SOLARIS_VT\" was never defined.
31336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31338 if test -z "${DGA_TRUE}" && test -z "${DGA_FALSE}"; then
31339 as_fn_error $?
"conditional \"DGA\" was never defined.
31340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31342 if test -z "${XF86VIDMODE_TRUE}" && test -z "${XF86VIDMODE_FALSE}"; then
31343 as_fn_error $?
"conditional \"XF86VIDMODE\" was never defined.
31344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31346 if test -z "${XORG_BUS_PLATFORM_TRUE}" && test -z "${XORG_BUS_PLATFORM_FALSE}"; then
31347 as_fn_error $?
"conditional \"XORG_BUS_PLATFORM\" was never defined.
31348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31350 if test -z "${XWIN_TRUE}" && test -z "${XWIN_FALSE}"; then
31351 as_fn_error $?
"conditional \"XWIN\" was never defined.
31352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31354 if test -z "${XWIN_MULTIWINDOW_TRUE}" && test -z "${XWIN_MULTIWINDOW_FALSE}"; then
31355 as_fn_error $?
"conditional \"XWIN_MULTIWINDOW\" was never defined.
31356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31358 if test -z "${XWIN_MULTIWINDOWEXTWM_TRUE}" && test -z "${XWIN_MULTIWINDOWEXTWM_FALSE}"; then
31359 as_fn_error $?
"conditional \"XWIN_MULTIWINDOWEXTWM\" was never defined.
31360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31362 if test -z "${XWIN_CLIPBOARD_TRUE}" && test -z "${XWIN_CLIPBOARD_FALSE}"; then
31363 as_fn_error $?
"conditional \"XWIN_CLIPBOARD\" was never defined.
31364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31366 if test -z "${XWIN_GLX_WINDOWS_TRUE}" && test -z "${XWIN_GLX_WINDOWS_FALSE}"; then
31367 as_fn_error $?
"conditional \"XWIN_GLX_WINDOWS\" was never defined.
31368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31370 if test -z "${XWIN_NATIVEGDI_TRUE}" && test -z "${XWIN_NATIVEGDI_FALSE}"; then
31371 as_fn_error $?
"conditional \"XWIN_NATIVEGDI\" was never defined.
31372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31374 if test -z "${XWIN_PRIMARYFB_TRUE}" && test -z "${XWIN_PRIMARYFB_FALSE}"; then
31375 as_fn_error $?
"conditional \"XWIN_PRIMARYFB\" was never defined.
31376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31378 if test -z "${XWIN_RANDR_TRUE}" && test -z "${XWIN_RANDR_FALSE}"; then
31379 as_fn_error $?
"conditional \"XWIN_RANDR\" was never defined.
31380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31382 if test -z "${XWIN_XV_TRUE}" && test -z "${XWIN_XV_FALSE}"; then
31383 as_fn_error $?
"conditional \"XWIN_XV\" was never defined.
31384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31386 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31387 as_fn_error $?
"conditional \"am__fastdepOBJC\" was never defined.
31388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31390 if test -z "${XQUARTZ_TRUE}" && test -z "${XQUARTZ_FALSE}"; then
31391 as_fn_error $?
"conditional \"XQUARTZ\" was never defined.
31392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31394 if test -z "${XQUARTZ_SPARKLE_TRUE}" && test -z "${XQUARTZ_SPARKLE_FALSE}"; then
31395 as_fn_error $?
"conditional \"XQUARTZ_SPARKLE\" was never defined.
31396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31398 if test -z "${STANDALONE_XPBPROXY_TRUE}" && test -z "${STANDALONE_XPBPROXY_FALSE}"; then
31399 as_fn_error $?
"conditional \"STANDALONE_XPBPROXY\" was never defined.
31400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31402 if test -z "${DMX_TRUE}" && test -z "${DMX_FALSE}"; then
31403 as_fn_error $?
"conditional \"DMX\" was never defined.
31404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31406 if test -z "${DMX_BUILD_LNX_TRUE}" && test -z "${DMX_BUILD_LNX_FALSE}"; then
31407 as_fn_error $?
"conditional \"DMX_BUILD_LNX\" was never defined.
31408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31410 if test -z "${DMX_BUILD_USB_TRUE}" && test -z "${DMX_BUILD_USB_FALSE}"; then
31411 as_fn_error $?
"conditional \"DMX_BUILD_USB\" was never defined.
31412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31414 if test -z "${KDRIVE_TRUE}" && test -z "${KDRIVE_FALSE}"; then
31415 as_fn_error $?
"conditional \"KDRIVE\" was never defined.
31416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31418 if test -z "${KDRIVELINUX_TRUE}" && test -z "${KDRIVELINUX_FALSE}"; then
31419 as_fn_error $?
"conditional \"KDRIVELINUX\" was never defined.
31420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31422 if test -z "${KDRIVE_EVDEV_TRUE}" && test -z "${KDRIVE_EVDEV_FALSE}"; then
31423 as_fn_error $?
"conditional \"KDRIVE_EVDEV\" was never defined.
31424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31426 if test -z "${KDRIVE_KBD_TRUE}" && test -z "${KDRIVE_KBD_FALSE}"; then
31427 as_fn_error $?
"conditional \"KDRIVE_KBD\" was never defined.
31428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31430 if test -z "${KDRIVE_MOUSE_TRUE}" && test -z "${KDRIVE_MOUSE_FALSE}"; then
31431 as_fn_error $?
"conditional \"KDRIVE_MOUSE\" was never defined.
31432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31434 if test -z "${TSLIB_TRUE}" && test -z "${TSLIB_FALSE}"; then
31435 as_fn_error $?
"conditional \"TSLIB\" was never defined.
31436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31438 if test -z "${KDRIVEFBDEV_TRUE}" && test -z "${KDRIVEFBDEV_FALSE}"; then
31439 as_fn_error $?
"conditional \"KDRIVEFBDEV\" was never defined.
31440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31442 if test -z "${XEPHYR_TRUE}" && test -z "${XEPHYR_FALSE}"; then
31443 as_fn_error $?
"conditional \"XEPHYR\" was never defined.
31444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31446 if test -z "${BUILD_KDRIVEFBDEVLIB_TRUE}" && test -z "${BUILD_KDRIVEFBDEVLIB_FALSE}"; then
31447 as_fn_error $?
"conditional \"BUILD_KDRIVEFBDEVLIB\" was never defined.
31448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31450 if test -z "${XFAKESERVER_TRUE}" && test -z "${XFAKESERVER_FALSE}"; then
31451 as_fn_error $?
"conditional \"XFAKESERVER\" was never defined.
31452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31455 : "${CONFIG_STATUS=./config.status}"
31457 ac_clean_files_save
=$ac_clean_files
31458 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31460 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31462 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31464 # Generated by $as_me.
31465 # Run this file to recreate the current configuration.
31466 # Compiler output produced by configure, useful for debugging
31467 # configure, is in config.log if it exists.
31470 ac_cs_recheck=false
31473 SHELL=\${CONFIG_SHELL-$SHELL}
31476 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31477 ## -------------------- ##
31478 ## M4sh Initialization. ##
31479 ## -------------------- ##
31481 # Be more Bourne compatible
31482 DUALCASE
=1; export DUALCASE
# for MKS sh
31483 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31486 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31487 # is contrary to our usage. Disable this feature.
31488 alias -g '${1+"$@"}'='"$@"'
31489 setopt NO_GLOB_SUBST
31491 case `(set -o) 2>/dev/null` in #(
31503 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31504 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31507 # Prefer a ksh shell builtin over an external printf program on Solaris,
31508 # but without wasting forks for bash or zsh.
31509 if test -z "$BASH_VERSION$ZSH_VERSION" \
31510 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31511 as_echo='print
-r --'
31512 as_echo_n='print
-rn --'
31513 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31514 as_echo='printf %s
\n'
31515 as_echo_n='printf %s
'
31517 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31518 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31519 as_echo_n='/usr
/ucb
/echo -n'
31521 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31522 as_echo_n_body='eval
31526 expr "X$arg" : "X\\(.*\\)$as_nl";
31527 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31529 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31531 export as_echo_n_body
31532 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31534 export as_echo_body
31535 as_echo='sh
-c $as_echo_body as_echo
'
31538 # The user is always right.
31539 if test "${PATH_SEPARATOR+set}" != set; then
31541 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31542 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31549 # We need space, tab and new line, in precisely that order. Quoting is
31550 # there to prevent editors from complaining about space-tab.
31551 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31552 # splitting by setting IFS to empty value.)
31555 # Find who we are. Look in the path if we contain no directory separator.
31558 *[\\/]* ) as_myself=$0 ;;
31559 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31560 for as_dir in $PATH
31563 test -z "$as_dir" && as_dir=.
31564 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31570 # We did not find ourselves, most probably we were run as `sh COMMAND'
31571 # in which case we are not to be found in the path.
31572 if test "x$as_myself" = x
; then
31575 if test ! -f "$as_myself"; then
31576 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31580 # Unset variables that we do not need and which cause bugs (e.g. in
31581 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31582 # suppresses any "Segmentation fault" message there. '((' could
31583 # trigger a bug in pdksh 5.2.14.
31584 for as_var
in BASH_ENV ENV MAIL MAILPATH
31585 do eval test x\
${$as_var+set} = xset \
31586 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31599 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31602 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31603 # ----------------------------------------
31604 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31605 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31606 # script with STATUS, using 1 if that was 0.
31609 as_status
=$1; test $as_status -eq 0 && as_status
=1
31611 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31612 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31614 $as_echo "$as_me: error: $2" >&2
31615 as_fn_exit
$as_status
31619 # as_fn_set_status STATUS
31620 # -----------------------
31621 # Set $? to STATUS, without forking.
31622 as_fn_set_status
()
31625 } # as_fn_set_status
31627 # as_fn_exit STATUS
31628 # -----------------
31629 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31633 as_fn_set_status
$1
31639 # Portably unset VAR.
31642 { eval $1=; unset $1;}
31644 as_unset
=as_fn_unset
31645 # as_fn_append VAR VALUE
31646 # ----------------------
31647 # Append the text in VALUE to the end of the definition contained in VAR. Take
31648 # advantage of any shell optimizations that allow amortized linear growth over
31649 # repeated appends, instead of the typical quadratic growth present in naive
31651 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31652 eval 'as_fn_append ()
31663 # as_fn_arith ARG...
31664 # ------------------
31665 # Perform arithmetic evaluation on the ARGs, and store the result in the
31666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31667 # must be portable across $(()) and expr.
31668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31669 eval 'as_fn_arith ()
31676 as_val
=`expr "$@" || test $? -eq 1`
31681 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31682 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31688 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31689 as_basename
=basename
31694 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31700 as_me
=`$as_basename -- "$0" ||
31701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31702 X"$0" : 'X\(//\)$' \| \
31703 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31705 sed '/^.*\/\([^/][^/]*\)\/*$/{
31719 # Avoid depending upon Character Ranges.
31720 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31721 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31722 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31723 as_cr_digits
='0123456789'
31724 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31726 ECHO_C
= ECHO_N
= ECHO_T
=
31727 case `echo -n x` in #(((((
31729 case `echo 'xy\c'` in
31730 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31732 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
31739 rm -f conf$$ conf$$.exe conf$$.
file
31740 if test -d conf$$.dir
; then
31741 rm -f conf$$.dir
/conf$$.
file
31744 mkdir conf$$.dir
2>/dev
/null
31746 if (echo >conf$$.
file) 2>/dev
/null
; then
31747 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31749 # ... but there are two gotchas:
31750 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31751 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31752 # In both cases, we have to default to `cp -p'.
31753 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31755 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31763 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31764 rmdir conf$$.dir
2>/dev
/null
31769 # Create "$as_dir" as a directory, including parents if necessary.
31774 -*) as_dir
=.
/$as_dir;;
31776 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
31780 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31781 *) as_qdir
=$as_dir;;
31783 as_dirs
="'$as_qdir' $as_dirs"
31784 as_dir
=`$as_dirname -- "$as_dir" ||
31785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31786 X"$as_dir" : 'X\(//\)[^/]' \| \
31787 X"$as_dir" : 'X\(//\)$' \| \
31788 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31789 $as_echo X"$as_dir" |
31790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31794 /^X\(\/\/\)[^/].*/{
31807 test -d "$as_dir" && break
31809 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31810 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
31814 if mkdir
-p .
2>/dev
/null
; then
31815 as_mkdir_p
='mkdir -p "$as_dir"'
31817 test -d .
/-p && rmdir .
/-p
31821 if test -x / >/dev
/null
2>&1; then
31822 as_test_x
='test -x'
31824 if ls -dL / >/dev
/null
2>&1; then
31831 if test -d "$1"; then
31837 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
31838 ???[sx]*):;;*)false;;esac;fi
31842 as_executable_p
=$as_test_x
31844 # Sed expression to map a string onto a valid CPP name.
31845 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31847 # Sed expression to map a string onto a valid variable name.
31848 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31852 ## ----------------------------------- ##
31853 ## Main body of $CONFIG_STATUS script. ##
31854 ## ----------------------------------- ##
31856 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
31858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31859 # Save the log message, to keep $0 and so on meaningful, and to
31860 # report actual input values of CONFIG_FILES etc. instead of their
31861 # values after options handling.
31863 This file was extended by xorg-server $as_me 1.15.1, which was
31864 generated by GNU Autoconf 2.68. Invocation command line was
31866 CONFIG_FILES = $CONFIG_FILES
31867 CONFIG_HEADERS = $CONFIG_HEADERS
31868 CONFIG_LINKS = $CONFIG_LINKS
31869 CONFIG_COMMANDS = $CONFIG_COMMANDS
31872 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31877 case $ac_config_files in *"
31878 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
31881 case $ac_config_headers in *"
31882 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
31886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31887 # Files that config.status was made for.
31888 config_files="$ac_config_files"
31889 config_headers="$ac_config_headers"
31890 config_commands="$ac_config_commands"
31894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31896 \`$as_me' instantiates files and other configuration actions
31897 from templates according to the current configuration. Unless the files
31898 and actions are specified as TAGs, all are instantiated by default.
31900 Usage: $0 [OPTION]... [TAG]...
31902 -h, --help print this help, then exit
31903 -V, --version print version number and configuration settings, then exit
31904 --config print configuration, then exit
31905 -q, --quiet, --silent
31906 do not print progress messages
31907 -d, --debug don't remove temporary files
31908 --recheck update $as_me by reconfiguring in the same conditions
31909 --file=FILE[:TEMPLATE]
31910 instantiate the configuration file FILE
31911 --header=FILE[:TEMPLATE]
31912 instantiate the configuration header FILE
31914 Configuration files:
31917 Configuration headers:
31920 Configuration commands:
31923 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
31926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31929 xorg-server config.status 1.15.1
31930 configured by $0, generated by GNU Autoconf 2.68,
31931 with options \\"\$ac_cs_config\\"
31933 Copyright (C) 2010 Free Software Foundation, Inc.
31934 This config.status script is free software; the Free Software Foundation
31935 gives unlimited permission to copy, distribute and modify it."
31942 test -n "\$AWK" || AWK=awk
31945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
31946 # The default lists apply if the user does not specify any file.
31952 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
31953 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
31957 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
31969 # Handling of the options.
31970 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
31972 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
31973 $as_echo "$ac_cs_version"; exit ;;
31974 --config |
--confi |
--conf |
--con |
--co |
--c )
31975 $as_echo "$ac_cs_config"; exit ;;
31976 --debug |
--debu |
--deb |
--de |
--d |
-d )
31978 --file |
--fil |
--fi |
--f )
31981 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31982 '') as_fn_error $?
"missing file argument" ;;
31984 as_fn_append CONFIG_FILES
" '$ac_optarg'"
31985 ac_need_defaults
=false
;;
31986 --header |
--heade |
--head |
--hea )
31989 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31991 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
31992 ac_need_defaults
=false
;;
31994 # Conflict between --help and --header
31995 as_fn_error $?
"ambiguous option: \`$1'
31996 Try \`$0 --help' for more information.";;
31997 --help |
--hel |
-h )
31998 $as_echo "$ac_cs_usage"; exit ;;
31999 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32000 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32003 # This is an error.
32004 -*) as_fn_error $?
"unrecognized option: \`$1'
32005 Try \`$0 --help' for more information." ;;
32007 *) as_fn_append ac_config_targets
" $1"
32008 ac_need_defaults
=false
;;
32014 ac_configure_extra_args
=
32016 if $ac_cs_silent; then
32018 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32023 if \$ac_cs_recheck; then
32024 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32026 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32027 CONFIG_SHELL='$SHELL'
32028 export CONFIG_SHELL
32033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32038 ## Running $as_me. ##
32044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32048 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32051 # The HP-UX ksh and POSIX shell print the target directory to stdout
32052 # if CDPATH is set.
32053 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32055 sed_quote_subst='$sed_quote_subst'
32056 double_quote_subst='$double_quote_subst'
32057 delay_variable_subst='$delay_variable_subst'
32058 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
32059 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
32060 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32061 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32062 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32063 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32064 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32065 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32066 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32067 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32068 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32069 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
32070 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32071 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32072 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32073 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32074 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32075 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32076 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32077 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32078 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32079 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32080 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32081 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32082 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32083 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32084 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32085 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32086 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32087 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32088 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32089 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32090 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
32091 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
32092 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32093 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32094 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32095 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32096 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
32097 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
32098 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
32099 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32100 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32101 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
32102 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32103 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32104 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32105 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32106 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32107 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32108 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32109 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32110 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32111 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32112 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32113 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32114 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32115 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
32116 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
32117 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
32118 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32119 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32120 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32121 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32122 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32123 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32124 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32125 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32126 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
32127 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32128 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32129 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32130 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32131 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32132 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32133 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32134 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32135 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32136 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32137 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32138 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32139 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32140 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32141 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32142 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32143 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32144 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32145 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32146 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32147 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32148 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32149 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32150 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32151 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32152 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32153 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32154 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32155 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32156 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32157 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32158 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32159 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32160 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32161 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32162 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32163 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
32164 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32165 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32166 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32167 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32168 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32169 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32170 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32171 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32172 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32173 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32174 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32175 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32176 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32177 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32178 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32179 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32180 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32181 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32182 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32183 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32184 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32185 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32186 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32187 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32188 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32191 LTCFLAGS='$LTCFLAGS'
32192 compiler='$compiler_DEFAULT'
32194 # A function that is used when there is no print builtin or printf.
32195 func_fallback_echo ()
32197 eval 'cat <<_LTECHO_EOF
32202 # Quote evaled strings.
32219 deplibs_check_method \
32223 sharedlib_from_linklib_cmd \
32226 archiver_list_spec \
32232 lt_cv_sys_global_symbol_pipe \
32233 lt_cv_sys_global_symbol_to_cdecl \
32234 lt_cv_sys_global_symbol_to_c_name_address \
32235 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32236 nm_file_list_spec \
32237 lt_prog_compiler_no_builtin_flag \
32238 lt_prog_compiler_pic \
32239 lt_prog_compiler_wl \
32240 lt_prog_compiler_static \
32241 lt_cv_prog_compiler_c_o \
32250 export_dynamic_flag_spec \
32251 whole_archive_flag_spec \
32252 compiler_needs_object \
32254 allow_undefined_flag \
32255 no_undefined_flag \
32256 hardcode_libdir_flag_spec \
32257 hardcode_libdir_separator \
32261 variables_saved_for_relink \
32263 library_names_spec \
32265 install_override_mode \
32269 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32270 *[\\\\\\\`\\"\\\$]*)
32271 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32274 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32279 # Double-quote double-evaled strings.
32280 for var in reload_cmds \
32281 old_postinstall_cmds \
32282 old_postuninstall_cmds \
32284 extract_expsyms_cmds \
32285 old_archive_from_new_cmds \
32286 old_archive_from_expsyms_cmds \
32288 archive_expsym_cmds \
32290 module_expsym_cmds \
32291 export_symbols_cmds \
32295 postuninstall_cmds \
32297 sys_lib_search_path_spec \
32298 sys_lib_dlsearch_path_spec; do
32299 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32300 *[\\\\\\\`\\"\\\$]*)
32301 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32304 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32309 ac_aux_dir='$ac_aux_dir'
32310 xsi_shell='$xsi_shell'
32311 lt_shell_append='$lt_shell_append'
32313 # See if we are running on zsh, and set the options which allow our
32314 # commands through without removal of \ escapes INIT.
32315 if test -n "\${ZSH_VERSION+set}" ; then
32316 setopt NO_GLOB_SUBST
32322 TIMESTAMP='$TIMESTAMP'
32331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32333 # Handling of arguments.
32334 for ac_config_target
in $ac_config_targets
32336 case $ac_config_target in
32337 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32338 "include/do-not-use-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/do-not-use-config.h" ;;
32339 "include/xorg-server.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xorg-server.h" ;;
32340 "include/dix-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/dix-config.h" ;;
32341 "include/xorg-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xorg-config.h" ;;
32342 "include/xkb-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xkb-config.h" ;;
32343 "include/xwin-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xwin-config.h" ;;
32344 "include/kdrive-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/kdrive-config.h" ;;
32345 "include/version-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/version-config.h" ;;
32346 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32347 "sdksyms") CONFIG_COMMANDS
="$CONFIG_COMMANDS sdksyms" ;;
32348 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32349 "glx/Makefile") CONFIG_FILES
="$CONFIG_FILES glx/Makefile" ;;
32350 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
32351 "composite/Makefile") CONFIG_FILES
="$CONFIG_FILES composite/Makefile" ;;
32352 "damageext/Makefile") CONFIG_FILES
="$CONFIG_FILES damageext/Makefile" ;;
32353 "dbe/Makefile") CONFIG_FILES
="$CONFIG_FILES dbe/Makefile" ;;
32354 "dix/Makefile") CONFIG_FILES
="$CONFIG_FILES dix/Makefile" ;;
32355 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
32356 "doc/dtrace/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/dtrace/Makefile" ;;
32357 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
32358 "fb/Makefile") CONFIG_FILES
="$CONFIG_FILES fb/Makefile" ;;
32359 "record/Makefile") CONFIG_FILES
="$CONFIG_FILES record/Makefile" ;;
32360 "config/Makefile") CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
32361 "mi/Makefile") CONFIG_FILES
="$CONFIG_FILES mi/Makefile" ;;
32362 "miext/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/Makefile" ;;
32363 "miext/sync/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/sync/Makefile" ;;
32364 "miext/damage/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/damage/Makefile" ;;
32365 "miext/shadow/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/shadow/Makefile" ;;
32366 "miext/rootless/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/rootless/Makefile" ;;
32367 "os/Makefile") CONFIG_FILES
="$CONFIG_FILES os/Makefile" ;;
32368 "pseudoramiX/Makefile") CONFIG_FILES
="$CONFIG_FILES pseudoramiX/Makefile" ;;
32369 "randr/Makefile") CONFIG_FILES
="$CONFIG_FILES randr/Makefile" ;;
32370 "render/Makefile") CONFIG_FILES
="$CONFIG_FILES render/Makefile" ;;
32371 "xkb/Makefile") CONFIG_FILES
="$CONFIG_FILES xkb/Makefile" ;;
32372 "Xext/Makefile") CONFIG_FILES
="$CONFIG_FILES Xext/Makefile" ;;
32373 "Xi/Makefile") CONFIG_FILES
="$CONFIG_FILES Xi/Makefile" ;;
32374 "xfixes/Makefile") CONFIG_FILES
="$CONFIG_FILES xfixes/Makefile" ;;
32375 "exa/Makefile") CONFIG_FILES
="$CONFIG_FILES exa/Makefile" ;;
32376 "dri3/Makefile") CONFIG_FILES
="$CONFIG_FILES dri3/Makefile" ;;
32377 "present/Makefile") CONFIG_FILES
="$CONFIG_FILES present/Makefile" ;;
32378 "hw/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/Makefile" ;;
32379 "hw/xfree86/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/Makefile" ;;
32380 "hw/xfree86/common/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/common/Makefile" ;;
32381 "hw/xfree86/common/xf86Build.h") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/common/xf86Build.h" ;;
32382 "hw/xfree86/ddc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/ddc/Makefile" ;;
32383 "hw/xfree86/dixmods/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dixmods/Makefile" ;;
32384 "hw/xfree86/doc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/doc/Makefile" ;;
32385 "hw/xfree86/dri/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dri/Makefile" ;;
32386 "hw/xfree86/dri2/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dri2/Makefile" ;;
32387 "hw/xfree86/exa/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/exa/Makefile" ;;
32388 "hw/xfree86/exa/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/exa/man/Makefile" ;;
32389 "hw/xfree86/fbdevhw/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/fbdevhw/Makefile" ;;
32390 "hw/xfree86/fbdevhw/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/fbdevhw/man/Makefile" ;;
32391 "hw/xfree86/i2c/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/i2c/Makefile" ;;
32392 "hw/xfree86/int10/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/int10/Makefile" ;;
32393 "hw/xfree86/loader/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/loader/Makefile" ;;
32394 "hw/xfree86/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/man/Makefile" ;;
32395 "hw/xfree86/modes/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/modes/Makefile" ;;
32396 "hw/xfree86/os-support/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/Makefile" ;;
32397 "hw/xfree86/os-support/bsd/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/bsd/Makefile" ;;
32398 "hw/xfree86/os-support/bus/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/bus/Makefile" ;;
32399 "hw/xfree86/os-support/hurd/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/hurd/Makefile" ;;
32400 "hw/xfree86/os-support/misc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/misc/Makefile" ;;
32401 "hw/xfree86/os-support/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/linux/Makefile" ;;
32402 "hw/xfree86/os-support/solaris/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/solaris/Makefile" ;;
32403 "hw/xfree86/os-support/stub/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/stub/Makefile" ;;
32404 "hw/xfree86/parser/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/parser/Makefile" ;;
32405 "hw/xfree86/ramdac/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/ramdac/Makefile" ;;
32406 "hw/xfree86/shadowfb/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/shadowfb/Makefile" ;;
32407 "hw/xfree86/vbe/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/vbe/Makefile" ;;
32408 "hw/xfree86/vgahw/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/vgahw/Makefile" ;;
32409 "hw/xfree86/x86emu/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/x86emu/Makefile" ;;
32410 "hw/xfree86/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/Makefile" ;;
32411 "hw/xfree86/utils/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/man/Makefile" ;;
32412 "hw/xfree86/utils/cvt/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/cvt/Makefile" ;;
32413 "hw/xfree86/utils/gtf/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/gtf/Makefile" ;;
32414 "hw/dmx/config/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/config/Makefile" ;;
32415 "hw/dmx/config/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/config/man/Makefile" ;;
32416 "hw/dmx/doc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/doc/Makefile" ;;
32417 "hw/dmx/doxygen/doxygen.conf") CONFIG_FILES
="$CONFIG_FILES hw/dmx/doxygen/doxygen.conf" ;;
32418 "hw/dmx/doxygen/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/doxygen/Makefile" ;;
32419 "hw/dmx/examples/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/examples/Makefile" ;;
32420 "hw/dmx/input/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/input/Makefile" ;;
32421 "hw/dmx/glxProxy/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/glxProxy/Makefile" ;;
32422 "hw/dmx/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/Makefile" ;;
32423 "hw/dmx/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/man/Makefile" ;;
32424 "hw/vfb/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/vfb/Makefile" ;;
32425 "hw/vfb/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/vfb/man/Makefile" ;;
32426 "hw/xnest/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xnest/Makefile" ;;
32427 "hw/xnest/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xnest/man/Makefile" ;;
32428 "hw/xwin/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xwin/Makefile" ;;
32429 "hw/xwin/glx/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xwin/glx/Makefile" ;;
32430 "hw/xwin/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xwin/man/Makefile" ;;
32431 "hw/xquartz/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/Makefile" ;;
32432 "hw/xquartz/GL/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/GL/Makefile" ;;
32433 "hw/xquartz/bundle/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/bundle/Makefile" ;;
32434 "hw/xquartz/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/man/Makefile" ;;
32435 "hw/xquartz/mach-startup/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/mach-startup/Makefile" ;;
32436 "hw/xquartz/pbproxy/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/pbproxy/Makefile" ;;
32437 "hw/xquartz/xpr/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xquartz/xpr/Makefile" ;;
32438 "hw/kdrive/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/Makefile" ;;
32439 "hw/kdrive/ephyr/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/ephyr/Makefile" ;;
32440 "hw/kdrive/ephyr/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/ephyr/man/Makefile" ;;
32441 "hw/kdrive/fake/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/fake/Makefile" ;;
32442 "hw/kdrive/fbdev/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/fbdev/Makefile" ;;
32443 "hw/kdrive/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/linux/Makefile" ;;
32444 "hw/kdrive/src/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/src/Makefile" ;;
32445 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
32446 "test/xi2/Makefile") CONFIG_FILES
="$CONFIG_FILES test/xi2/Makefile" ;;
32447 "xserver.ent") CONFIG_FILES
="$CONFIG_FILES xserver.ent" ;;
32448 "xorg-server.pc") CONFIG_FILES
="$CONFIG_FILES xorg-server.pc" ;;
32450 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32455 # If the user did not use the arguments to specify the items to instantiate,
32456 # then the envvar interface is used. Set only those that are not.
32457 # We use the long form for the default assignment because of an extremely
32458 # bizarre bug on SunOS 4.1.3.
32459 if $ac_need_defaults; then
32460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32462 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32465 # Have a temporary directory for convenience. Make it in the build tree
32466 # simply because there is no reason against having it here, and in addition,
32467 # creating and moving files from /tmp can sometimes cause problems.
32468 # Hook for its removal unless debugging.
32469 # Note that there is a small window in which the directory will not be cleaned:
32470 # after its creation but before its name has been assigned to `$tmp'.
32474 trap 'exit_status=$?
32475 : "${ac_tmp:=$tmp}"
32476 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32478 trap 'as_fn_exit 1' 1 2 13 15
32480 # Create a (secure) tmp directory for tmp files.
32483 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32487 tmp
=.
/conf$$
-$RANDOM
32488 (umask 077 && mkdir
"$tmp")
32489 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32492 # Set up the scripts for CONFIG_FILES section.
32493 # No need to generate them if there are no CONFIG_FILES.
32494 # This happens for instance with `./config.status config.h'.
32495 if test -n "$CONFIG_FILES"; then
32498 ac_cr
=`echo X | tr X '\015'`
32499 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32500 # But we know of no other shell where ac_cr would be empty at this
32501 # point, so we can use a bashism as a fallback.
32502 if test "x$ac_cr" = x
; then
32503 eval ac_cr
=\$
\'\\r
\'
32505 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32506 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32509 ac_cs_awk_cr
=$ac_cr
32512 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32517 echo "cat >conf$$subs.awk <<_ACEOF" &&
32518 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32520 } >conf$$subs.sh ||
32521 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32522 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32524 for ac_last_try in false false false false false :; do
32525 . ./conf$$subs.sh ||
32526 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32528 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32529 if test $ac_delim_n = $ac_delim_num; then
32531 elif $ac_last_try; then
32532 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32534 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32537 rm -f conf$$subs.sh
32539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32540 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32544 s/^/S["/; s
/!.
*/"]=/
32554 s/\(.\{148\}\)..*/\1/
32556 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32561 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32568 s/\(.\{148\}\)..*/\1/
32570 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32574 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32579 ' <conf$$subs.awk | sed '
32584 ' >>$CONFIG_STATUS || ac_write_fail=1
32585 rm -f conf$$subs.awk
32586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32588 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32589 for (key in S) S_is_set[key] = 1
32595 nfields = split(line, field, "@
")
32597 len = length(field[1])
32598 for (i = 2; i < nfields; i++) {
32600 keylen = length(key)
32601 if (S_is_set[key]) {
32603 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32604 len += length(value) + length(field[++i])
32615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32616 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32617 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32620 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32621 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32624 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32625 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32626 # trailing colons and then remove the whole line if VPATH becomes empty
32627 # (actually we leave an empty line to preserve line numbers).
32628 if test "x
$srcdir" = x.; then
32629 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32648 fi # test -n "$CONFIG_FILES"
32650 # Set up the scripts for CONFIG_HEADERS section.
32651 # No need to generate them if there are no CONFIG_HEADERS.
32652 # This happens for instance with `./config.status Makefile'.
32653 if test -n "$CONFIG_HEADERS"; then
32654 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32658 # Transform confdefs.h into an awk script `defines.awk', embedded as
32659 # here-document in config.status, that substitutes the proper values into
32660 # config.h.in to produce config.h.
32662 # Create a delimiter string that does not exist in confdefs.h, to ease
32663 # handling of long lines.
32665 for ac_last_try in false false :; do
32666 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32667 if test -z "$ac_tt"; then
32669 elif $ac_last_try; then
32670 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32672 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32676 # For the awk script, D is an array of macro values keyed by name,
32677 # likewise P contains macro parameters if any. Preserve backslash
32678 # newline sequences.
32680 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32682 s/.\{148\}/&'"$ac_delim"'/g
32685 s/^[ ]*#[ ]*define[ ][ ]*/ /
32692 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32694 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32698 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32699 D["\
1"]=" \
3\\\\\\n
"\\/p
32701 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32706 s/.\{148\}/&'"$ac_delim"'/g
32711 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32714 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32716 ' <confdefs.h | sed '
32717 s/'"$ac_delim"'/"\\\
32718 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32721 for (key in D) D_is_set[key] = 1
32724 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32726 split(line, arg, " ")
32727 if (arg[1] == "#") {
32731 defundef
= substr
(arg
[1], 2)
32734 split(mac1
, mac2
, "(") #)
32736 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32737 if (D_is_set
[macro
]) {
32738 # Preserve the white space surrounding the "#".
32739 print prefix
"define", macro P
[macro
] D
[macro
]
32742 # Replace #undef with comments. This is necessary, for example,
32743 # in the case of _POSIX_SOURCE, which is predefined and required
32744 # on some systems where configure will not decide to define it.
32745 if (defundef
== "undef") {
32746 print
"/*", prefix defundef
, macro
, "*/"
32754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32755 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
32756 fi # test -n "$CONFIG_HEADERS"
32759 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32764 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32766 case $ac_mode$ac_tag in
32768 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
32769 :[FH
]-) ac_tag
=-:-;;
32770 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32787 -) ac_f
="$ac_tmp/stdin";;
32788 *) # Look for the file first in the build tree, then in the source tree
32789 # (if the path is not absolute). The absolute path cannot be DOS-style,
32790 # because $ac_f cannot contain `:'.
32794 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32796 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32798 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32799 as_fn_append ac_file_inputs
" '$ac_f'"
32802 # Let's still pretend it is `configure' which instantiates (i.e., don't
32803 # use $as_me), people would be surprised to read:
32804 # /* config.h. Generated by config.status. */
32805 configure_input
='Generated from '`
32806 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32808 if test x
"$ac_file" != x-
; then
32809 configure_input
="$ac_file. $configure_input"
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32811 $as_echo "$as_me: creating $ac_file" >&6;}
32813 # Neutralize special characters interpreted by sed in replacement strings.
32814 case $configure_input in #(
32815 *\
&* |
*\|
* |
*\\* )
32816 ac_sed_conf_input
=`$as_echo "$configure_input" |
32817 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32818 *) ac_sed_conf_input
=$configure_input;;
32822 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
32823 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
32828 ac_dir
=`$as_dirname -- "$ac_file" ||
32829 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32830 X"$ac_file" : 'X\(//\)[^/]' \| \
32831 X"$ac_file" : 'X\(//\)$' \| \
32832 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32833 $as_echo X"$ac_file" |
32834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32838 /^X\(\/\/\)[^/].*/{
32851 as_dir
="$ac_dir"; as_fn_mkdir_p
32855 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32857 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32858 # A ".." for each directory in $ac_dir_suffix.
32859 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32860 case $ac_top_builddir_sub in
32861 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
32862 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
32865 ac_abs_top_builddir
=$ac_pwd
32866 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
32867 # for backward compatibility:
32868 ac_top_builddir
=$ac_top_build_prefix
32871 .
) # We are building in place.
32873 ac_top_srcdir
=$ac_top_builddir_sub
32874 ac_abs_top_srcdir
=$ac_pwd ;;
32875 [\\/]* | ?
:[\\/]* ) # Absolute name.
32876 ac_srcdir
=$srcdir$ac_dir_suffix;
32877 ac_top_srcdir
=$srcdir
32878 ac_abs_top_srcdir
=$srcdir ;;
32879 *) # Relative name.
32880 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
32881 ac_top_srcdir
=$ac_top_build_prefix$srcdir
32882 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
32884 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
32894 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
32895 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
32897 ac_MKDIR_P
=$MKDIR_P
32899 [\\/$
]* | ?
:[\\/]* ) ;;
32900 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
32904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32905 # If the template does not know about datarootdir, expand it.
32906 # FIXME: This hack should be removed a few years after 2.60.
32907 ac_datarootdir_hack
=; ac_datarootdir_seen
=
32918 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32919 *datarootdir
*) ac_datarootdir_seen
=yes;;
32920 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
32921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32922 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32925 ac_datarootdir_hack='
32926 s&@datadir@&$datadir&g
32927 s&@docdir@&$docdir&g
32928 s&@infodir@&$infodir&g
32929 s&@localedir@&$localedir&g
32930 s&@mandir@&$mandir&g
32931 s&\\\${datarootdir}&$datarootdir&g' ;;
32935 # Neutralize VPATH when `$srcdir' = `.'.
32936 # Shell code in configure.ac might set extrasub.
32937 # FIXME: do we really want to maintain this feature?
32938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32939 ac_sed_extra="$ac_vpsub
32942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32944 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
32945 s|@configure_input@|
$ac_sed_conf_input|
;t t
32946 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
32947 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
32948 s
&@srcdir@
&$ac_srcdir&;t t
32949 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
32950 s
&@top_srcdir@
&$ac_top_srcdir&;t t
32951 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
32952 s
&@builddir@
&$ac_builddir&;t t
32953 s
&@abs_builddir@
&$ac_abs_builddir&;t t
32954 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
32955 s
&@INSTALL@
&$ac_INSTALL&;t t
32956 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
32957 $ac_datarootdir_hack
32959 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
32960 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
32962 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32963 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
32964 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
32965 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
32967 which seems to be undefined. Please make sure it is defined" >&5
32968 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
32969 which seems to be undefined. Please make sure it is defined" >&2;}
32971 rm -f "$ac_tmp/stdin"
32973 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
32974 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
32976 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32982 if test x"$ac_file" != x-; then
32984 $as_echo "/* $configure_input */" \
32985 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
32986 } >"$ac_tmp/config.h" \
32987 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32988 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
32989 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
32990 $as_echo "$as_me: $ac_file is unchanged" >&6;}
32993 mv "$ac_tmp/config.h" "$ac_file" \
32994 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32997 $as_echo "/* $configure_input */" \
32998 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
32999 || as_fn_error $? "could not create -" "$LINENO" 5
33001 # Compute "$ac_file"'s index
in $config_headers.
33004 for _am_header
in $config_headers :; do
33005 case $_am_header in
33006 $_am_arg |
$_am_arg:* )
33009 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33012 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33013 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33014 X"$_am_arg" : 'X\(//\)[^/]' \| \
33015 X"$_am_arg" : 'X\(//\)$' \| \
33016 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33017 $as_echo X"$_am_arg" |
33018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33022 /^X\(\/\/\)[^/].*/{
33034 s/.*/./; q'`/stamp-h
$_am_stamp_count
33037 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33038 $as_echo "$as_me: executing $ac_file commands" >&6;}
33043 case $ac_file$ac_mode in
33044 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33045 # Autoconf 2.62 quotes --file arguments for eval, but not when files
33046 # are listed without --file. Let's play safe and only enable the eval
33047 # if we detect the quoting.
33048 case $CONFIG_FILES in
33049 *\'*) eval set x
"$CONFIG_FILES" ;;
33050 *) set x
$CONFIG_FILES ;;
33055 # Strip MF so we end up with the name of the file.
33056 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33057 # Check whether this is an Automake generated Makefile or not.
33058 # We used to match only the files named `Makefile.in', but
33059 # some people rename them; so instead we look at the file content.
33060 # Grep'ing the first line is not enough: some people post-process
33061 # each Makefile.in and add a new line on top of each file to say so.
33062 # Grep'ing the whole file is not good either: AIX grep has a line
33063 # limit of 2048, but all sed's we know have understand at least 4000.
33064 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33065 dirpart
=`$as_dirname -- "$mf" ||
33066 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33067 X"$mf" : 'X\(//\)[^/]' \| \
33068 X"$mf" : 'X\(//\)$' \| \
33069 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33075 /^X\(\/\/\)[^/].*/{
33091 # Extract the definition of DEPDIR, am__include, and am__quote
33092 # from the Makefile without running `make'.
33093 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33094 test -z "$DEPDIR" && continue
33095 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33096 test -z "am__include" && continue
33097 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33098 # When using ansi2knr, U may be empty or an underscore; expand it
33099 U
=`sed -n 's/^U = //p' < "$mf"`
33100 # Find all dependency output files, they are included files with
33101 # $(DEPDIR) in their names. We invoke sed twice because it is the
33102 # simplest approach to changing $(DEPDIR) to its actual value in the
33104 for file in `sed -n "
33105 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33106 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33107 # Make sure the directory exists.
33108 test -f "$dirpart/$file" && continue
33109 fdir
=`$as_dirname -- "$file" ||
33110 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33111 X"$file" : 'X\(//\)[^/]' \| \
33112 X"$file" : 'X\(//\)$' \| \
33113 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33114 $as_echo X"$file" |
33115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33119 /^X\(\/\/\)[^/].*/{
33132 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33133 # echo "creating $dirpart/$file"
33134 echo '# dummy' > "$dirpart/$file"
33141 # See if we are running on zsh, and set the options which allow our
33142 # commands through without removal of \ escapes.
33143 if test -n "${ZSH_VERSION+set}" ; then
33144 setopt NO_GLOB_SUBST
33147 cfgfile
="${ofile}T"
33148 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33151 cat <<_LT_EOF >> "$cfgfile"
33154 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33155 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33156 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33157 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33159 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33160 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
33162 # Written by Gordon Matzigkeit, 1996
33164 # This file is part of GNU Libtool.
33166 # GNU Libtool is free software; you can redistribute it and/or
33167 # modify it under the terms of the GNU General Public License as
33168 # published by the Free Software Foundation; either version 2 of
33169 # the License, or (at your option) any later version.
33171 # As a special exception to the GNU General Public License,
33172 # if you distribute this file as part of a program or library that
33173 # is built using GNU Libtool, you may include this file under the
33174 # same distribution terms that you use for the rest of that program.
33176 # GNU Libtool is distributed in the hope that it will be useful,
33177 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33178 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33179 # GNU General Public License for more details.
33181 # You should have received a copy of the GNU General Public License
33182 # along with GNU Libtool; see the file COPYING. If not, a copy
33183 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33184 # obtained by writing to the Free Software Foundation, Inc.,
33185 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33188 # The names of the tagged configurations supported by this script.
33191 # ### BEGIN LIBTOOL CONFIG
33193 # Assembler program.
33196 # DLL creation program.
33197 DLLTOOL=$lt_DLLTOOL
33199 # Object dumper program.
33200 OBJDUMP=$lt_OBJDUMP
33202 # Whether or not to build static libraries.
33203 build_old_libs=$enable_static
33205 # Which release of libtool.m4 was used?
33206 macro_version=$macro_version
33207 macro_revision=$macro_revision
33209 # Whether or not to build shared libraries.
33210 build_libtool_libs=$enable_shared
33212 # What type of objects to build.
33215 # Whether or not to optimize for fast installation.
33216 fast_install=$enable_fast_install
33218 # Shell to use when invoking shell scripts.
33221 # An echo program that protects backslashes.
33224 # The PATH separator for the build system.
33225 PATH_SEPARATOR=$lt_PATH_SEPARATOR
33228 host_alias=$host_alias
33232 # The build system.
33233 build_alias=$build_alias
33237 # A sed program that does not truncate output.
33240 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33241 Xsed="\$SED -e 1s/^X//"
33243 # A grep program that handles long lines.
33249 # A literal string matcher.
33252 # A BSD- or MS-compatible name lister.
33255 # Whether we need soft or hard links.
33258 # What is the maximum length of a command?
33259 max_cmd_len=$max_cmd_len
33261 # Object file suffix (normally "o").
33264 # Executable file suffix (normally "").
33267 # whether the shell understands "unset".
33270 # turn spaces into newlines.
33273 # turn newlines into spaces.
33276 # convert \$build file names to \$host format.
33277 to_host_file_cmd=$lt_cv_to_host_file_cmd
33279 # convert \$build files to toolchain format.
33280 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
33282 # Method to check whether dependent libraries are shared objects.
33283 deplibs_check_method=$lt_deplibs_check_method
33285 # Command to use when deplibs_check_method = "file_magic".
33286 file_magic_cmd=$lt_file_magic_cmd
33288 # How to find potential files when deplibs_check_method = "file_magic".
33289 file_magic_glob=$lt_file_magic_glob
33291 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
33292 want_nocaseglob=$lt_want_nocaseglob
33294 # Command to associate shared and link libraries.
33295 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
33300 # Flags to create an archive.
33301 AR_FLAGS=$lt_AR_FLAGS
33303 # How to feed a file listing to the archiver.
33304 archiver_list_spec=$lt_archiver_list_spec
33306 # A symbol stripping program.
33309 # Commands used to install an old-style archive.
33311 old_postinstall_cmds=$lt_old_postinstall_cmds
33312 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33314 # Whether to use a lock for old archive extraction.
33315 lock_old_archive_extraction=$lock_old_archive_extraction
33320 # LTCC compiler flags.
33321 LTCFLAGS=$lt_CFLAGS
33323 # Take the output of nm and produce a listing of raw symbols and C names.
33324 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33326 # Transform the output of nm in a proper C declaration.
33327 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33329 # Transform the output of nm in a C name address pair.
33330 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33332 # Transform the output of nm in a C name address pair when lib prefix is needed.
33333 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33335 # Specify filename containing input files for \$NM.
33336 nm_file_list_spec=$lt_nm_file_list_spec
33338 # The root where to search for dependent libraries,and in which our libraries should be installed.
33339 lt_sysroot=$lt_sysroot
33341 # The name of the directory that contains temporary libtool files.
33344 # Used to examine libraries when file_magic_cmd begins with "file".
33345 MAGIC_CMD=$MAGIC_CMD
33347 # Must we lock files when doing compilation?
33348 need_locks=$lt_need_locks
33351 MANIFEST_TOOL=$lt_MANIFEST_TOOL
33353 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33354 DSYMUTIL=$lt_DSYMUTIL
33356 # Tool to change global to local symbols on Mac OS X.
33359 # Tool to manipulate fat objects and archives on Mac OS X.
33362 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33365 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33366 OTOOL64=$lt_OTOOL64
33368 # Old archive suffix (normally "a").
33371 # Shared library suffix (normally ".so").
33372 shrext_cmds=$lt_shrext_cmds
33374 # The commands to extract the exported symbol list from a shared archive.
33375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33377 # Variables whose values should be saved in libtool wrapper scripts and
33378 # restored at link time.
33379 variables_saved_for_relink=$lt_variables_saved_for_relink
33381 # Do we need the "lib" prefix for modules?
33382 need_lib_prefix=$need_lib_prefix
33384 # Do we need a version for libraries?
33385 need_version=$need_version
33387 # Library versioning type.
33388 version_type=$version_type
33390 # Shared library runtime path variable.
33391 runpath_var=$runpath_var
33393 # Shared library path variable.
33394 shlibpath_var=$shlibpath_var
33396 # Is shlibpath searched before the hard-coded library search path?
33397 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33399 # Format of library name prefix.
33400 libname_spec=$lt_libname_spec
33402 # List of archive names. First name is the real one, the rest are links.
33403 # The last name is the one that the linker finds with -lNAME
33404 library_names_spec=$lt_library_names_spec
33406 # The coded name of the library, if different from the real name.
33407 soname_spec=$lt_soname_spec
33409 # Permission mode override for installation of shared libraries.
33410 install_override_mode=$lt_install_override_mode
33412 # Command to use after installation of a shared archive.
33413 postinstall_cmds=$lt_postinstall_cmds
33415 # Command to use after uninstallation of a shared archive.
33416 postuninstall_cmds=$lt_postuninstall_cmds
33418 # Commands used to finish a libtool library installation in a directory.
33419 finish_cmds=$lt_finish_cmds
33421 # As "finish_cmds", except a single script fragment to be evaled but
33423 finish_eval=$lt_finish_eval
33425 # Whether we should hardcode library paths into libraries.
33426 hardcode_into_libs=$hardcode_into_libs
33428 # Compile-time system search path for libraries.
33429 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33431 # Run-time system search path for libraries.
33432 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33434 # Whether dlopen is supported.
33435 dlopen_support=$enable_dlopen
33437 # Whether dlopen of programs is supported.
33438 dlopen_self=$enable_dlopen_self
33440 # Whether dlopen of statically linked programs is supported.
33441 dlopen_self_static=$enable_dlopen_self_static
33443 # Commands to strip libraries.
33444 old_striplib=$lt_old_striplib
33445 striplib=$lt_striplib
33448 # The linker used to build libraries.
33451 # How to create reloadable object files.
33452 reload_flag=$lt_reload_flag
33453 reload_cmds=$lt_reload_cmds
33455 # Commands used to build an old-style archive.
33456 old_archive_cmds=$lt_old_archive_cmds
33458 # A language specific compiler.
33461 # Is the compiler the GNU compiler?
33464 # Compiler flag to turn off builtin functions.
33465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33467 # Additional compiler flags for building library objects.
33468 pic_flag=$lt_lt_prog_compiler_pic
33470 # How to pass a linker flag through the compiler.
33471 wl=$lt_lt_prog_compiler_wl
33473 # Compiler flag to prevent dynamic linking.
33474 link_static_flag=$lt_lt_prog_compiler_static
33476 # Does compiler simultaneously support -c and -o options?
33477 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33479 # Whether or not to add -lc for building shared libraries.
33480 build_libtool_need_lc=$archive_cmds_need_lc
33482 # Whether or not to disallow shared libs when runtime libs are static.
33483 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33485 # Compiler flag to allow reflexive dlopens.
33486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33488 # Compiler flag to generate shared objects directly from archives.
33489 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33491 # Whether the compiler copes with passing no objects directly.
33492 compiler_needs_object=$lt_compiler_needs_object
33494 # Create an old-style archive from a shared archive.
33495 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33497 # Create a temporary old-style archive to link instead of a shared archive.
33498 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33500 # Commands used to build a shared archive.
33501 archive_cmds=$lt_archive_cmds
33502 archive_expsym_cmds=$lt_archive_expsym_cmds
33504 # Commands used to build a loadable module if different from building
33505 # a shared archive.
33506 module_cmds=$lt_module_cmds
33507 module_expsym_cmds=$lt_module_expsym_cmds
33509 # Whether we are building with GNU ld or not.
33510 with_gnu_ld=$lt_with_gnu_ld
33512 # Flag that allows shared libraries with undefined symbols to be built.
33513 allow_undefined_flag=$lt_allow_undefined_flag
33515 # Flag that enforces no undefined symbols.
33516 no_undefined_flag=$lt_no_undefined_flag
33518 # Flag to hardcode \$libdir into a binary during linking.
33519 # This must work even if \$libdir does not exist
33520 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33522 # Whether we need a single "-rpath" flag with a separated argument.
33523 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33525 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33526 # DIR into the resulting binary.
33527 hardcode_direct=$hardcode_direct
33529 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33530 # DIR into the resulting binary and the resulting library dependency is
33531 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33532 # library is relocated.
33533 hardcode_direct_absolute=$hardcode_direct_absolute
33535 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33536 # into the resulting binary.
33537 hardcode_minus_L=$hardcode_minus_L
33539 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33540 # into the resulting binary.
33541 hardcode_shlibpath_var=$hardcode_shlibpath_var
33543 # Set to "yes" if building a shared library automatically hardcodes DIR
33544 # into the library and all subsequent libraries and executables linked
33546 hardcode_automatic=$hardcode_automatic
33548 # Set to yes if linker adds runtime paths of dependent libraries
33549 # to runtime path list.
33550 inherit_rpath=$inherit_rpath
33552 # Whether libtool must link a program against all its dependency libraries.
33553 link_all_deplibs=$link_all_deplibs
33555 # Set to "yes" if exported symbols are required.
33556 always_export_symbols=$always_export_symbols
33558 # The commands to list exported symbols.
33559 export_symbols_cmds=$lt_export_symbols_cmds
33561 # Symbols that should not be listed in the preloaded symbols.
33562 exclude_expsyms=$lt_exclude_expsyms
33564 # Symbols that must always be exported.
33565 include_expsyms=$lt_include_expsyms
33567 # Commands necessary for linking programs (against libraries) with templates.
33568 prelink_cmds=$lt_prelink_cmds
33570 # Commands necessary for finishing linking programs.
33571 postlink_cmds=$lt_postlink_cmds
33573 # Specify filename containing input files.
33574 file_list_spec=$lt_file_list_spec
33576 # How to hardcode a shared library path into an executable.
33577 hardcode_action=$hardcode_action
33579 # ### END LIBTOOL CONFIG
33585 cat <<\_LT_EOF
>> "$cfgfile"
33586 # AIX sometimes has problems with the GCC collect2 program. For some
33587 # reason, if we set the COLLECT_NAMES environment variable, the problems
33588 # vanish in a puff of smoke.
33589 if test "X${COLLECT_NAMES+set}" != Xset
; then
33591 export COLLECT_NAMES
33598 ltmain
="$ac_aux_dir/ltmain.sh"
33601 # We use sed instead of cat because bash on DJGPP gets confused if
33602 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33603 # text mode, it properly converts lines to CR/LF. This bash problem
33604 # is reportedly fixed, but why not run on old versions too?
33605 sed '$q' "$ltmain" >> "$cfgfile" \
33606 ||
(rm -f "$cfgfile"; exit 1)
33608 if test x
"$xsi_shell" = xyes
; then
33609 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
33613 \ */*) func_dirname_result="${1%/*}${2}" ;;\
33614 \ * ) func_dirname_result="${3}" ;;\
33616 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
33617 && mv -f "$cfgfile.tmp" "$cfgfile" \
33618 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33619 test 0 -eq $? || _lt_function_replace_fail
=:
33622 sed -e '/^func_basename ()$/,/^} # func_basename /c\
33625 \ func_basename_result="${1##*/}"\
33626 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
33627 && mv -f "$cfgfile.tmp" "$cfgfile" \
33628 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33629 test 0 -eq $? || _lt_function_replace_fail
=:
33632 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
33633 func_dirname_and_basename ()\
33636 \ */*) func_dirname_result="${1%/*}${2}" ;;\
33637 \ * ) func_dirname_result="${3}" ;;\
33639 \ func_basename_result="${1##*/}"\
33640 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
33641 && mv -f "$cfgfile.tmp" "$cfgfile" \
33642 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33643 test 0 -eq $? || _lt_function_replace_fail
=:
33646 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
33649 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
33650 \ # positional parameters, so assign one to ordinary parameter first.\
33651 \ func_stripname_result=${3}\
33652 \ func_stripname_result=${func_stripname_result#"${1}"}\
33653 \ func_stripname_result=${func_stripname_result%"${2}"}\
33654 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
33655 && mv -f "$cfgfile.tmp" "$cfgfile" \
33656 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33657 test 0 -eq $? || _lt_function_replace_fail
=:
33660 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
33661 func_split_long_opt ()\
33663 \ func_split_long_opt_name=${1%%=*}\
33664 \ func_split_long_opt_arg=${1#*=}\
33665 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
33666 && mv -f "$cfgfile.tmp" "$cfgfile" \
33667 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33668 test 0 -eq $? || _lt_function_replace_fail
=:
33671 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
33672 func_split_short_opt ()\
33674 \ func_split_short_opt_arg=${1#??}\
33675 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
33676 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
33677 && mv -f "$cfgfile.tmp" "$cfgfile" \
33678 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33679 test 0 -eq $? || _lt_function_replace_fail
=:
33682 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
33686 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
33687 \ *) func_lo2o_result=${1} ;;\
33689 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
33690 && mv -f "$cfgfile.tmp" "$cfgfile" \
33691 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33692 test 0 -eq $? || _lt_function_replace_fail
=:
33695 sed -e '/^func_xform ()$/,/^} # func_xform /c\
33698 func_xform_result=${1%.*}.lo\
33699 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
33700 && mv -f "$cfgfile.tmp" "$cfgfile" \
33701 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33702 test 0 -eq $? || _lt_function_replace_fail
=:
33705 sed -e '/^func_arith ()$/,/^} # func_arith /c\
33708 func_arith_result=$(( $* ))\
33709 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
33710 && mv -f "$cfgfile.tmp" "$cfgfile" \
33711 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33712 test 0 -eq $? || _lt_function_replace_fail
=:
33715 sed -e '/^func_len ()$/,/^} # func_len /c\
33718 func_len_result=${#1}\
33719 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
33720 && mv -f "$cfgfile.tmp" "$cfgfile" \
33721 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33722 test 0 -eq $? || _lt_function_replace_fail
=:
33726 if test x
"$lt_shell_append" = xyes
; then
33727 sed -e '/^func_append ()$/,/^} # func_append /c\
33730 eval "${1}+=\\${2}"\
33731 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
33732 && mv -f "$cfgfile.tmp" "$cfgfile" \
33733 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33734 test 0 -eq $? || _lt_function_replace_fail
=:
33737 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
33738 func_append_quoted ()\
33740 \ func_quote_for_eval "${2}"\
33741 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
33742 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
33743 && mv -f "$cfgfile.tmp" "$cfgfile" \
33744 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33745 test 0 -eq $? || _lt_function_replace_fail
=:
33748 # Save a `func_append' function call where possible by direct use of '+='
33749 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
33750 && mv -f "$cfgfile.tmp" "$cfgfile" \
33751 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33752 test 0 -eq $? || _lt_function_replace_fail
=:
33754 # Save a `func_append' function call even when '+=' is not available
33755 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
33756 && mv -f "$cfgfile.tmp" "$cfgfile" \
33757 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
33758 test 0 -eq $? || _lt_function_replace_fail
=:
33761 if test x
"$_lt_function_replace_fail" = x
":"; then
33762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
33763 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
33767 mv -f "$cfgfile" "$ofile" ||
33768 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33772 "sdksyms":C
) touch hw
/xfree86
/sdksyms.dep
;;
33780 ac_clean_files
=$ac_clean_files_save
33782 test $ac_write_fail = 0 ||
33783 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
33786 # configure is writing to config.log, and then calls config.status.
33787 # config.status does its own redirection, appending to config.log.
33788 # Unfortunately, on DOS this fails, as config.log is still kept open
33789 # by configure, so config.status won't be able to write to it; its
33790 # output is simply discarded. So we exec the FD to /dev/null,
33791 # effectively closing config.log, so it can be properly (re)opened and
33792 # appended to by config.status. When coming back to configure, we
33793 # need to make the FD available again.
33794 if test "$no_create" != yes; then
33796 ac_config_status_args
=
33797 test "$silent" = yes &&
33798 ac_config_status_args
="$ac_config_status_args --quiet"
33800 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
33802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
33803 # would make configure fail if this is the last instruction.
33804 $ac_cs_success || as_fn_exit
1
33806 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
33807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33808 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}