2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xorg-server 1.4.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='xorg-server'
730 PACKAGE_TARNAME
='xorg-server'
731 PACKAGE_VERSION
='1.4'
732 PACKAGE_STRING
='xorg-server 1.4'
733 PACKAGE_BUGREPORT
='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
735 ac_unique_file
="Makefile.am"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
832 MAINTAINER_MODE_FALSE
854 am__fastdepCCAS_FALSE
908 FREEBSD_KLDLOAD_FALSE
941 INSTALL_LIBXF86CONFIG_TRUE
942 INSTALL_LIBXF86CONFIG_FALSE
950 CONFIG_DBUS_API_FALSE
1025 USE_RGB_BUILTIN_TRUE
1026 USE_RGB_BUILTIN_FALSE
1027 COMPILEDDEFAULTFONTPATH
1038 XSERVERCFLAGS_CFLAGS
1043 LD_EXPORT_SYMBOLS_FLAG
1050 XDMXCONFIG_DEP_CFLAGS
1052 DMXEXAMPLES_DEP_CFLAGS
1053 DMXEXAMPLES_DEP_LIBS
1054 DMXXMUEXAMPLES_DEP_CFLAGS
1055 DMXXMUEXAMPLES_DEP_LIBS
1056 DMXXIEXAMPLES_DEP_CFLAGS
1057 DMXXIEXAMPLES_DEP_LIBS
1058 XTSTEXAMPLES_DEP_CFLAGS
1059 XTSTEXAMPLES_DEP_LIBS
1060 XRESEXAMPLES_DEP_CFLAGS
1061 XRESEXAMPLES_DEP_LIBS
1062 X11EXAMPLES_DEP_CFLAGS
1063 X11EXAMPLES_DEP_LIBS
1095 APPLE_APPLICATIONS_DIR
1096 PLIST_VERSION_STRING
1117 DEFAULT_LIBRARY_PATH
1126 XORG_BUS_LINUXPCI_TRUE
1127 XORG_BUS_LINUXPCI_FALSE
1128 XORG_BUS_FREEBSDPCI_TRUE
1129 XORG_BUS_FREEBSDPCI_FALSE
1130 XORG_BUS_NETBSDPCI_TRUE
1131 XORG_BUS_NETBSDPCI_FALSE
1132 XORG_BUS_IX86PCI_TRUE
1133 XORG_BUS_IX86PCI_FALSE
1134 XORG_BUS_PPCPCI_TRUE
1135 XORG_BUS_PPCPCI_FALSE
1136 XORG_BUS_SPARCPCI_TRUE
1137 XORG_BUS_SPARCPCI_FALSE
1139 XORG_BUS_SPARC_FALSE
1140 XORG_LOADER_SPARC_TRUE
1141 XORG_LOADER_SPARC_FALSE
1148 SOLARIS_USL_CONSOLE_TRUE
1149 SOLARIS_USL_CONSOLE_FALSE
1150 SOLARIS_ASM_INLINE_TRUE
1151 SOLARIS_ASM_INLINE_FALSE
1173 XP_USE_FREETYPE_TRUE
1174 XP_USE_FREETYPE_FALSE
1182 XWIN_MULTIWINDOW_TRUE
1183 XWIN_MULTIWINDOW_FALSE
1184 XWIN_MULTIWINDOWEXTWM_TRUE
1185 XWIN_MULTIWINDOWEXTWM_FALSE
1187 XWIN_CLIPBOARD_FALSE
1188 XWIN_GLX_WINDOWS_TRUE
1189 XWIN_GLX_WINDOWS_FALSE
1191 XWIN_NATIVEGDI_FALSE
1193 XWIN_PRIMARYFB_FALSE
1200 HAVE_AGL_FRAMEWORK_TRUE
1201 HAVE_AGL_FRAMEWORK_FALSE
1207 am__fastdepOBJC_TRUE
1208 am__fastdepOBJC_FALSE
1238 BUILD_KDRIVEFBDEVLIB_TRUE
1239 BUILD_KDRIVEFBDEVLIB_FALSE
1247 XORGCONFIG_DEP_CFLAGS
1257 BUILD_KBD_MODE_FALSE
1265 libdir exec_prefix prefix
1281 ac_precious_vars
='build_alias
1319 XSERVERCFLAGS_CFLAGS
1325 XDMXCONFIG_DEP_CFLAGS
1327 DMXEXAMPLES_DEP_CFLAGS
1328 DMXEXAMPLES_DEP_LIBS
1329 DMXXMUEXAMPLES_DEP_CFLAGS
1330 DMXXMUEXAMPLES_DEP_LIBS
1331 DMXXIEXAMPLES_DEP_CFLAGS
1332 DMXXIEXAMPLES_DEP_LIBS
1333 XTSTEXAMPLES_DEP_CFLAGS
1334 XTSTEXAMPLES_DEP_LIBS
1335 XRESEXAMPLES_DEP_CFLAGS
1336 XRESEXAMPLES_DEP_LIBS
1337 X11EXAMPLES_DEP_CFLAGS
1338 X11EXAMPLES_DEP_LIBS
1363 XORGCONFIG_DEP_CFLAGS
1369 # Initialize some variables set by options.
1371 ac_init_version
=false
1372 # The variables have the same names as the options, with
1373 # dashes changed to underlines.
1374 cache_file
=/dev
/null
1381 program_transform_name
=s
,x
,x
,
1389 # Installation directory options.
1390 # These are left unexpanded so users can "make install exec_prefix=/foo"
1391 # and all the variables that are supposed to be based on exec_prefix
1392 # by default will actually change.
1393 # Use braces instead of parens because sh, perl, etc. also accept them.
1394 # (The list follows the same order as the GNU Coding Standards.)
1395 bindir
='${exec_prefix}/bin'
1396 sbindir
='${exec_prefix}/sbin'
1397 libexecdir
='${exec_prefix}/libexec'
1398 datarootdir
='${prefix}/share'
1399 datadir
='${datarootdir}'
1400 sysconfdir
='${prefix}/etc'
1401 sharedstatedir
='${prefix}/com'
1402 localstatedir
='${prefix}/var'
1403 includedir
='${prefix}/include'
1404 oldincludedir
='/usr/include'
1405 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1406 infodir
='${datarootdir}/info'
1411 libdir
='${exec_prefix}/lib'
1412 localedir
='${datarootdir}/locale'
1413 mandir
='${datarootdir}/man'
1419 # If the previous option needs an argument, assign it.
1420 if test -n "$ac_prev"; then
1421 eval $ac_prev=\
$ac_option
1427 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1431 # Accept the important Cygnus configure options, so we can diagnose typos.
1433 case $ac_dashdash$ac_option in
1437 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1439 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1440 bindir
=$ac_optarg ;;
1442 -build |
--build |
--buil |
--bui |
--bu)
1443 ac_prev
=build_alias
;;
1444 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1445 build_alias
=$ac_optarg ;;
1447 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1448 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1449 ac_prev
=cache_file
;;
1450 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1451 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1452 cache_file
=$ac_optarg ;;
1454 --config-cache |
-C)
1455 cache_file
=config.cache
;;
1457 -datadir |
--datadir |
--datadi |
--datad)
1459 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1460 datadir
=$ac_optarg ;;
1462 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1463 |
--dataroo |
--dataro |
--datar)
1464 ac_prev
=datarootdir
;;
1465 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1466 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1467 datarootdir
=$ac_optarg ;;
1469 -disable-* |
--disable-*)
1470 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1471 # Reject names that are not valid shell variable names.
1472 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1473 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1474 { (exit 1); exit 1; }; }
1475 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1476 eval enable_
$ac_feature=no
;;
1478 -docdir |
--docdir |
--docdi |
--doc |
--do)
1480 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1481 docdir
=$ac_optarg ;;
1483 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1485 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1486 dvidir
=$ac_optarg ;;
1488 -enable-* |
--enable-*)
1489 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1490 # Reject names that are not valid shell variable names.
1491 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1492 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1493 { (exit 1); exit 1; }; }
1494 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1495 eval enable_
$ac_feature=\
$ac_optarg ;;
1497 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1498 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1499 |
--exec |
--exe |
--ex)
1500 ac_prev
=exec_prefix
;;
1501 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1502 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1503 |
--exec=* |
--exe=* |
--ex=*)
1504 exec_prefix
=$ac_optarg ;;
1506 -gas |
--gas |
--ga |
--g)
1507 # Obsolete; use --with-gas.
1510 -help |
--help |
--hel |
--he |
-h)
1511 ac_init_help
=long
;;
1512 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1513 ac_init_help
=recursive
;;
1514 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1515 ac_init_help
=short
;;
1517 -host |
--host |
--hos |
--ho)
1518 ac_prev
=host_alias
;;
1519 -host=* |
--host=* |
--hos=* |
--ho=*)
1520 host_alias
=$ac_optarg ;;
1522 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1524 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1526 htmldir
=$ac_optarg ;;
1528 -includedir |
--includedir |
--includedi |
--included |
--include \
1529 |
--includ |
--inclu |
--incl |
--inc)
1530 ac_prev
=includedir
;;
1531 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1532 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1533 includedir
=$ac_optarg ;;
1535 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1537 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1538 infodir
=$ac_optarg ;;
1540 -libdir |
--libdir |
--libdi |
--libd)
1542 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1543 libdir
=$ac_optarg ;;
1545 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1546 |
--libexe |
--libex |
--libe)
1547 ac_prev
=libexecdir
;;
1548 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1549 |
--libexe=* |
--libex=* |
--libe=*)
1550 libexecdir
=$ac_optarg ;;
1552 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1553 ac_prev
=localedir
;;
1554 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1555 localedir
=$ac_optarg ;;
1557 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1558 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1559 ac_prev
=localstatedir
;;
1560 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1561 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1562 localstatedir
=$ac_optarg ;;
1564 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1566 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1567 mandir
=$ac_optarg ;;
1569 -nfp |
--nfp |
--nf)
1570 # Obsolete; use --without-fp.
1573 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1574 |
--no-cr |
--no-c |
-n)
1577 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1578 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1581 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1582 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1583 |
--oldin |
--oldi |
--old |
--ol |
--o)
1584 ac_prev
=oldincludedir
;;
1585 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1586 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1587 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1588 oldincludedir
=$ac_optarg ;;
1590 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1592 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1593 prefix
=$ac_optarg ;;
1595 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1596 |
--program-pre |
--program-pr |
--program-p)
1597 ac_prev
=program_prefix
;;
1598 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1599 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1600 program_prefix
=$ac_optarg ;;
1602 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1603 |
--program-suf |
--program-su |
--program-s)
1604 ac_prev
=program_suffix
;;
1605 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1606 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1607 program_suffix
=$ac_optarg ;;
1609 -program-transform-name |
--program-transform-name \
1610 |
--program-transform-nam |
--program-transform-na \
1611 |
--program-transform-n |
--program-transform- \
1612 |
--program-transform |
--program-transfor \
1613 |
--program-transfo |
--program-transf \
1614 |
--program-trans |
--program-tran \
1615 |
--progr-tra |
--program-tr |
--program-t)
1616 ac_prev
=program_transform_name
;;
1617 -program-transform-name=* |
--program-transform-name=* \
1618 |
--program-transform-nam=* |
--program-transform-na=* \
1619 |
--program-transform-n=* |
--program-transform-=* \
1620 |
--program-transform=* |
--program-transfor=* \
1621 |
--program-transfo=* |
--program-transf=* \
1622 |
--program-trans=* |
--program-tran=* \
1623 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1624 program_transform_name
=$ac_optarg ;;
1626 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1628 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1629 pdfdir
=$ac_optarg ;;
1631 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1633 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1636 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1637 |
-silent |
--silent |
--silen |
--sile |
--sil)
1640 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1642 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1644 sbindir
=$ac_optarg ;;
1646 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1647 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1648 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1650 ac_prev
=sharedstatedir
;;
1651 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1652 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1653 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1655 sharedstatedir
=$ac_optarg ;;
1657 -site |
--site |
--sit)
1659 -site=* |
--site=* |
--sit=*)
1662 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1664 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1665 srcdir
=$ac_optarg ;;
1667 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1668 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1669 ac_prev
=sysconfdir
;;
1670 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1671 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1672 sysconfdir
=$ac_optarg ;;
1674 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1675 ac_prev
=target_alias
;;
1676 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1677 target_alias
=$ac_optarg ;;
1679 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1682 -version |
--version |
--versio |
--versi |
--vers |
-V)
1683 ac_init_version
=: ;;
1686 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1687 # Reject names that are not valid shell variable names.
1688 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1689 { echo "$as_me: error: invalid package name: $ac_package" >&2
1690 { (exit 1); exit 1; }; }
1691 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1692 eval with_
$ac_package=\
$ac_optarg ;;
1694 -without-* |
--without-*)
1695 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1696 # Reject names that are not valid shell variable names.
1697 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1698 { echo "$as_me: error: invalid package name: $ac_package" >&2
1699 { (exit 1); exit 1; }; }
1700 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1701 eval with_
$ac_package=no
;;
1704 # Obsolete; use --with-x.
1707 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1708 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1709 ac_prev
=x_includes
;;
1710 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1711 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1712 x_includes
=$ac_optarg ;;
1714 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1715 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1716 ac_prev
=x_libraries
;;
1717 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1718 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1719 x_libraries
=$ac_optarg ;;
1721 -*) { echo "$as_me: error: unrecognized option: $ac_option
1722 Try \`$0 --help' for more information." >&2
1723 { (exit 1); exit 1; }; }
1727 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1728 # Reject names that are not valid shell variable names.
1729 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1730 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1731 { (exit 1); exit 1; }; }
1732 eval $ac_envvar=\
$ac_optarg
1733 export $ac_envvar ;;
1736 # FIXME: should be removed in autoconf 3.0.
1737 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1738 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1739 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1740 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1746 if test -n "$ac_prev"; then
1747 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1748 { echo "$as_me: error: missing argument to $ac_option" >&2
1749 { (exit 1); exit 1; }; }
1752 # Be sure to have absolute directory names.
1753 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1754 datadir sysconfdir sharedstatedir localstatedir includedir \
1755 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1756 libdir localedir mandir
1758 eval ac_val
=\$
$ac_var
1760 [\\/$
]* | ?
:[\\/]* ) continue;;
1761 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1763 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1764 { (exit 1); exit 1; }; }
1767 # There might be people who depend on the old broken behavior: `$host'
1768 # used to hold the argument of --host etc.
1769 # FIXME: To remove some day.
1772 target
=$target_alias
1774 # FIXME: To remove some day.
1775 if test "x$host_alias" != x
; then
1776 if test "x$build_alias" = x
; then
1777 cross_compiling
=maybe
1778 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1779 If a cross compiler is detected then cross compile mode will be used." >&2
1780 elif test "x$build_alias" != "x$host_alias"; then
1786 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1788 test "$silent" = yes && exec 6>/dev
/null
1791 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1792 ac_ls_di
=`ls -di .` &&
1793 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1794 { echo "$as_me: error: Working directory cannot be determined" >&2
1795 { (exit 1); exit 1; }; }
1796 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1797 { echo "$as_me: error: pwd does not report name of working directory" >&2
1798 { (exit 1); exit 1; }; }
1801 # Find the source files, if location was not specified.
1802 if test -z "$srcdir"; then
1803 ac_srcdir_defaulted
=yes
1804 # Try the directory containing this script, then the parent directory.
1805 ac_confdir
=`$as_dirname -- "$0" ||
1806 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1807 X"$0" : 'X\(//\)[^/]' \| \
1808 X"$0" : 'X\(//\)$' \| \
1809 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1829 if test ! -r "$srcdir/$ac_unique_file"; then
1833 ac_srcdir_defaulted
=no
1835 if test ! -r "$srcdir/$ac_unique_file"; then
1836 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1837 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1838 { (exit 1); exit 1; }; }
1840 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1842 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1843 { (exit 1); exit 1; }; }
1845 # When building in place, set srcdir=.
1846 if test "$ac_abs_confdir" = "$ac_pwd"; then
1849 # Remove unnecessary trailing slashes from srcdir.
1850 # Double slashes in file names in object file debugging info
1851 # mess up M-x gdb in Emacs.
1853 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1855 for ac_var
in $ac_precious_vars; do
1856 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1857 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1858 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1859 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1863 # Report the --help message.
1865 if test "$ac_init_help" = "long"; then
1866 # Omit some internal or obsolete options to make the list less imposing.
1867 # This message is too long to be a string in the A/UX 3.1 sh.
1869 \`configure' configures xorg-server 1.4 to adapt to many kinds of systems.
1871 Usage: $0 [OPTION]... [VAR=VALUE]...
1873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1874 VAR=VALUE. See below for descriptions of some of the useful variables.
1876 Defaults for the options are specified in brackets.
1879 -h, --help display this help and exit
1880 --help=short display options specific to this package
1881 --help=recursive display the short help of all the included packages
1882 -V, --version display version information and exit
1883 -q, --quiet, --silent do not print \`checking...' messages
1884 --cache-file=FILE cache test results in FILE [disabled]
1885 -C, --config-cache alias for \`--cache-file=config.cache'
1886 -n, --no-create do not create output files
1887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1889 Installation directories:
1890 --prefix=PREFIX install architecture-independent files in PREFIX
1891 [$ac_default_prefix]
1892 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1895 By default, \`make install' will install all the files in
1896 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1897 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1898 for instance \`--prefix=\$HOME'.
1900 For better control, use the options below.
1902 Fine tuning of the installation directories:
1903 --bindir=DIR user executables [EPREFIX/bin]
1904 --sbindir=DIR system admin executables [EPREFIX/sbin]
1905 --libexecdir=DIR program executables [EPREFIX/libexec]
1906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1909 --libdir=DIR object code libraries [EPREFIX/lib]
1910 --includedir=DIR C header files [PREFIX/include]
1911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1912 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1913 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1914 --infodir=DIR info documentation [DATAROOTDIR/info]
1915 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1916 --mandir=DIR man documentation [DATAROOTDIR/man]
1917 --docdir=DIR documentation root [DATAROOTDIR/doc/xorg-server]
1918 --htmldir=DIR html documentation [DOCDIR]
1919 --dvidir=DIR dvi documentation [DOCDIR]
1920 --pdfdir=DIR pdf documentation [DOCDIR]
1921 --psdir=DIR ps documentation [DOCDIR]
1927 --program-prefix=PREFIX prepend PREFIX to installed program names
1928 --program-suffix=SUFFIX append SUFFIX to installed program names
1929 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1932 --build=BUILD configure
for building on BUILD
[guessed
]
1933 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1937 if test -n "$ac_init_help"; then
1938 case $ac_init_help in
1939 short | recursive
) echo "Configuration of xorg-server 1.4:";;
1944 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1945 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1946 --enable-maintainer-mode enable make rules and dependencies not useful
1947 (and sometimes confusing
) to the casual installer
1948 --disable-dependency-tracking speeds up one-time build
1949 --enable-dependency-tracking do not reject slow dependency extractors
1950 --enable-static[=PKGS
] build static libraries
[default
=no
]
1951 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1952 --enable-fast-install[=PKGS
]
1953 optimize
for fast installation
[default
=yes]
1954 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1955 --disable-largefile omit support
for large files
1956 --enable-werror Treat warnings as errors
(default
: disabled
)
1957 --enable-debug Enable debugging
(default
: disabled
)
1958 --enable-builddocs Build docs
(default
: disabled
)
1959 --enable-install-libxf86config
1960 Install libxf86config
(default
: disabled
)
1961 --enable-builtin-fonts Use only built-in fonts
(default
: use external
)
1962 --enable-null-root-cursor
1963 Use an empty root cursor
(default
: use core cursor
)
1964 --enable-aiglx Build accelerated indirect GLX
(default
: enabled
)
1965 --enable-glx-tls Build GLX with TLS support
(default
: disabled
)
1966 --disable-composite Build Composite extension
(default
: enabled
)
1967 --disable-shm Build SHM extension
(default
: enabled
)
1968 --disable-xres Build XRes extension
(default
: enabled
)
1969 --disable-xtrap Build XTrap extension
(default
: enabled
)
1970 --disable-record Build Record extension
(default
: enabled
)
1971 --disable-xv Build Xv extension
(default
: enabled
)
1972 --enable-quartz Build with darwin quartz support
(default
: auto
)
1973 --disable-xvmc Build XvMC extension
(default
: enabled
)
1974 --disable-dga Build DGA extension
(default
: auto
)
1975 --disable-screensaver Build ScreenSaver extension
(default
: enabled
)
1976 --disable-xdmcp Build XDMCP extension
(default
: auto
)
1977 --disable-xdm-auth-1 Build XDM-Auth-1 extension
(default
: auto
)
1978 --disable-glx Build GLX extension
(default
: enabled
)
1979 --enable-dri Build DRI extension
(default
: auto
)
1980 --disable-xinerama Build Xinerama extension
(default
: enabled
)
1981 --disable-xf86vidmode Build XF86VidMode extension
(default
: auto
)
1982 --disable-xf86misc Build XF86Misc extension
(default
: auto
)
1983 --disable-xace Build X-ACE extension
(default
: enabled
)
1984 --disable-xcsecurity Build Security extension
(default
: enabled
)
1985 --disable-appgroup Build XC-APPGROUP extension
(default
: enabled
)
1986 --enable-xcalibrate Build XCalibrate extension
(default
: disabled
)
1987 --enable-tslib Build kdrive tslib touchscreen support
(default
:
1989 --disable-xevie Build XEvIE extension
(default
: enabled
)
1990 --disable-cup Build TOG-CUP extension
(default
: enabled
)
1991 --disable-evi Build Extended-Visual-Information extension
1993 --enable-multibuffer Build Multibuffer extension
(default
: disabled
)
1994 --enable-fontcache Build FontCache extension
(default
: disabled
)
1995 --disable-dbe Build DBE extension
(default
: enabled
)
1996 --disable-xf86bigfont Build XF86 Big Font extension
(default
: enabled
)
1997 --disable-dpms Build DPMS extension
(default
: enabled
)
1998 --enable-config-dbus Build D-BUS API support
(default
: no
)
1999 --disable-config-hal Build HAL support
(default
: auto
)
2000 --enable-xfree86-utils Build xfree86 DDX utilities
(default
: enabled
)
2001 --enable-xorg Build Xorg server
(default
: auto
)
2002 --enable-dmx Build DMX server
(default
: no
)
2003 --enable-xvfb Build Xvfb server
(default
: yes)
2004 --enable-xnest Build Xnest server
(default
: auto
)
2005 --enable-xwin Build XWin server
(default
: auto
)
2006 --enable-xprint Build Xprint extension and server
(default
: no
)
2007 --enable-xgl Build Xgl server
(default
: no
)
2008 --enable-xglx Build Xglx xgl module
(default
: no
)
2009 --enable-xegl Build Xegl xgl module
(default
: no
)
2010 --enable-mfb Build legacy mono framebuffer support
(default
:
2012 --enable-cfb Build legacy color framebuffer support
(default
:
2014 --enable-afb Build legacy advanced framebuffer support
(default
:
2016 --enable-kdrive Build kdrive servers
(default
: no
)
2017 --enable-xephyr Build the kdrive Xephyr server
(default
: auto
)
2018 --enable-xsdl Build the kdrive Xsdl server
(default
: auto
)
2019 --enable-xfake Build the kdrive
'fake' server
(default
: auto
)
2020 --enable-xfbdev Build the kdrive framebuffer device server
(default
:
2022 --enable-kdrive-vesa Build the kdrive VESA-based servers
(default
: auto
)
2023 --enable-freetype Build Xprint FreeType backend
(default
: yes)
2024 --enable-install-setuid Install Xorg server as owned by root with setuid bit
2026 --enable-secure-rpc Enable Secure RPC
2027 --enable-xorgcfg Build xorgcfg GUI configuration utility
(default
:
2029 --enable-kbd_mode Build kbd_mode utility
(default
: auto
)
2032 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2033 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2034 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
2035 --with-pic try to use only PIC
/non-PIC objects
[default
=use
2037 --with-tags[=TAGS
] include additional configurations
[automatic
]
2038 --with-dtrace=PATH Enable dtrace probes
(default
: enabled
if dtrace
2040 --with-xerrordb=PATH Path to XErrorDB
file (default
:
2041 ${datadir}/X11
/XErrorDB
)
2042 --with-release-version=STRING
2043 Use release version string
in package name
2044 --with-int10=BACKEND int10 backend
: vm86
, x86emu or stub
2045 --with-vendor-name=VENDOR
2046 Vendor string reported by the server
2047 --with-vendor-name-short=VENDOR
2048 Short version of vendor string reported by the
2050 --with-vendor-web=URL Vendor web address reported by the server
2051 --with-module-dir=DIR Directory where modules are installed
(default
:
2052 $libdir/xorg
/modules
)
2053 --with-log-dir=DIR Directory where log files are kept
(default
:
2055 --with-builder-addr=ADDRESS
2056 Builder address
(default
:
2057 xorg@lists.freedesktop.org
)
2058 --with-os-name=OSNAME Name of OS
(default
: output of
"uname -srm")
2059 --with-os-vendor=OSVENDOR
2061 --with-builderstring=BUILDERSTRING
2062 Additional builder string
2063 --with-fontdir=FONTDIR Path to top level dir where fonts are installed
2064 (default
: ${libdir}/X11
/fonts
)
2065 --with-default-font-path=PATH
2066 Comma separated list of font
dirs
2067 --with-xkb-path=PATH Path to XKB base dir
(default
: ${datadir}/X11
/xkb
)
2068 --with-xkb-output=PATH Path to XKB output dir
(default
:
2069 ${datadir}/X11
/xkb
/compiled
)
2070 --with-rgb-path=PATH Path to RGB database
(default
: ${datadir}/X11
/rgb
)
2071 --with-serverconfig-path=PATH
2072 Path to server config
(default
: ${libdir}/xserver
)
2073 --with-apple-applications-dir=PATH
2074 Path to the Applications directory
(default
:
2075 ${bindir}/Applications
)
2076 --with-mesa-source=MESA_SOURCE
2077 Path to Mesa
source tree
2078 --with-dri-driver-path=PATH
2079 Path to DRI drivers
(default
: ${libdir}/dri
)
2080 --with-freetype-config=PROG
2081 Use FreeType configuration program PROG
(default
:
2084 Some influential environment variables
:
2085 CC C compiler
command
2086 CFLAGS C compiler flags
2087 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
2088 nonstandard directory
<lib dir
>
2089 LIBS libraries to pass to the linker
, e.g.
-l<library
>
2090 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
2091 you have headers
in a nonstandard directory
<include dir
>
2092 CCAS assembler compiler
command (defaults to CC
)
2093 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
2095 CXX C
++ compiler
command
2096 CXXFLAGS C
++ compiler flags
2097 CXXCPP C
++ preprocessor
2098 F77 Fortran
77 compiler
command
2099 FFLAGS Fortran
77 compiler flags
2100 PKG_CONFIG path to pkg-config utility
2101 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
2102 the first program found out of: `bison
-y', `byacc', `yacc'.
2103 YFLAGS The list of arguments that will be passed by default to $YACC.
2104 This script will default YFLAGS to the empty string to avoid a
2105 default value of `-d' given by some make applications.
2107 C compiler flags for PIXMAN, overriding pkg-config
2108 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2109 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
2110 DBUS_LIBS linker flags for DBUS, overriding pkg-config
2111 HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
2112 HAL_LIBS linker flags for HAL, overriding pkg-config
2113 XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
2114 XLIB_LIBS linker flags for XLIB, overriding pkg-config
2115 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2116 GL_LIBS linker flags for GL, overriding pkg-config
2118 C compiler flags for DRIPROTO, overriding pkg-config
2120 linker flags for DRIPROTO, overriding pkg-config
2122 C compiler flags for LIBDRM, overriding pkg-config
2123 LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
2125 C compiler flags for XPRINTPROTO, overriding pkg-config
2127 linker flags for XPRINTPROTO, overriding pkg-config
2129 C compiler flags for XDMCP, overriding pkg-config
2130 XDMCP_LIBS linker flags for XDMCP, overriding pkg-config
2131 XSERVERCFLAGS_CFLAGS
2132 C compiler flags for XSERVERCFLAGS, overriding pkg-config
2134 linker flags for XSERVERCFLAGS, overriding pkg-config
2136 C compiler flags for XSERVERLIBS, overriding pkg-config
2138 linker flags for XSERVERLIBS, overriding pkg-config
2140 C compiler flags for DMXMODULES, overriding pkg-config
2142 linker flags for DMXMODULES, overriding pkg-config
2143 XDMXCONFIG_DEP_CFLAGS
2144 C compiler flags for XDMXCONFIG_DEP, overriding pkg-config
2146 linker flags for XDMXCONFIG_DEP, overriding pkg-config
2147 DMXEXAMPLES_DEP_CFLAGS
2148 C compiler flags for DMXEXAMPLES_DEP, overriding pkg-config
2149 DMXEXAMPLES_DEP_LIBS
2150 linker flags for DMXEXAMPLES_DEP, overriding pkg-config
2151 DMXXMUEXAMPLES_DEP_CFLAGS
2152 C compiler flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
2153 DMXXMUEXAMPLES_DEP_LIBS
2154 linker flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
2155 DMXXIEXAMPLES_DEP_CFLAGS
2156 C compiler flags for DMXXIEXAMPLES_DEP, overriding pkg-config
2157 DMXXIEXAMPLES_DEP_LIBS
2158 linker flags for DMXXIEXAMPLES_DEP, overriding pkg-config
2159 XTSTEXAMPLES_DEP_CFLAGS
2160 C compiler flags for XTSTEXAMPLES_DEP, overriding pkg-config
2161 XTSTEXAMPLES_DEP_LIBS
2162 linker flags for XTSTEXAMPLES_DEP, overriding pkg-config
2163 XRESEXAMPLES_DEP_CFLAGS
2164 C compiler flags for XRESEXAMPLES_DEP, overriding pkg-config
2165 XRESEXAMPLES_DEP_LIBS
2166 linker flags for XRESEXAMPLES_DEP, overriding pkg-config
2167 X11EXAMPLES_DEP_CFLAGS
2168 C compiler flags for X11EXAMPLES_DEP, overriding pkg-config
2169 X11EXAMPLES_DEP_LIBS
2170 linker flags for X11EXAMPLES_DEP, overriding pkg-config
2172 C compiler flags for XNESTMODULES, overriding pkg-config
2174 linker flags for XNESTMODULES, overriding pkg-config
2176 C compiler flags for XGLMODULES, overriding pkg-config
2178 linker flags for XGLMODULES, overriding pkg-config
2180 C compiler flags for XGLXMODULES, overriding pkg-config
2182 linker flags for XGLXMODULES, overriding pkg-config
2183 DGA_CFLAGS C compiler flags for DGA, overriding pkg-config
2184 DGA_LIBS linker flags for DGA, overriding pkg-config
2186 C compiler flags for XF86MISC, overriding pkg-config
2188 linker flags for XF86MISC, overriding pkg-config
2190 C compiler flags for XF86VIDMODE, overriding pkg-config
2192 linker flags for XF86VIDMODE, overriding pkg-config
2194 C compiler flags for XORG_MODULES, overriding pkg-config
2196 linker flags for XORG_MODULES, overriding pkg-config
2198 C compiler flags for XPRINT, overriding pkg-config
2199 XPRINT_LIBS linker flags for XPRINT, overriding pkg-config
2201 C compiler flags for FREETYPE, overriding pkg-config
2203 linker flags for FREETYPE, overriding pkg-config
2205 C compiler flags for XWINMODULES, overriding pkg-config
2207 linker flags for XWINMODULES, overriding pkg-config
2209 C compiler flags for XEPHYR, overriding pkg-config
2210 XEPHYR_LIBS linker flags for XEPHYR, overriding pkg-config
2212 C compiler flags for TSLIB, overriding pkg-config
2213 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
2214 XORGCONFIG_DEP_CFLAGS
2215 C compiler flags for XORGCONFIG_DEP, overriding pkg-config
2217 linker flags for XORGCONFIG_DEP, overriding pkg-config
2219 C compiler flags for XORGCFG_DEP, overriding pkg-config
2221 linker flags for XORGCFG_DEP, overriding pkg-config
2223 Use these variables to override the choices made by `configure' or to
help
2224 it to
find libraries and programs with nonstandard names
/locations.
2226 Report bugs to
<https
://bugs.freedesktop.org
/enter_bug.cgi?product
=xorg
>.
2231 if test "$ac_init_help" = "recursive"; then
2232 # If there are subdirs, report their specific --help.
2233 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2234 test -d "$ac_dir" ||
continue
2238 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2240 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2241 # A ".." for each directory in $ac_dir_suffix.
2242 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2243 case $ac_top_builddir_sub in
2244 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2245 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2248 ac_abs_top_builddir
=$ac_pwd
2249 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2250 # for backward compatibility:
2251 ac_top_builddir
=$ac_top_build_prefix
2254 .
) # We are building in place.
2256 ac_top_srcdir
=$ac_top_builddir_sub
2257 ac_abs_top_srcdir
=$ac_pwd ;;
2258 [\\/]* | ?
:[\\/]* ) # Absolute name.
2259 ac_srcdir
=$srcdir$ac_dir_suffix;
2260 ac_top_srcdir
=$srcdir
2261 ac_abs_top_srcdir
=$srcdir ;;
2263 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2264 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2265 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2267 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2269 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2270 # Check for guested configure.
2271 if test -f "$ac_srcdir/configure.gnu"; then
2273 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2274 elif test -f "$ac_srcdir/configure"; then
2276 $SHELL "$ac_srcdir/configure" --help=recursive
2278 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2280 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2284 test -n "$ac_init_help" && exit $ac_status
2285 if $ac_init_version; then
2287 xorg-server configure
1.4
2288 generated by GNU Autoconf
2.61
2290 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2291 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2292 This configure
script is free software
; the Free Software Foundation
2293 gives unlimited permission to copy
, distribute and modify it.
2297 cat >config.log
<<_ACEOF
2298 This file contains any messages produced by compilers while
2299 running configure, to aid debugging if configure makes a mistake.
2301 It was created by xorg-server $as_me 1.4, which was
2302 generated by GNU Autoconf 2.61. Invocation command line was
2314 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2315 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2316 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2317 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2318 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2320 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2321 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2323 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2324 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2325 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2326 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2327 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2328 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2329 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir
=.
2338 echo "PATH: $as_dir"
2354 # Keep a trace of the command line.
2355 # Strip out --no-create and --no-recursion so they do not pile up.
2356 # Strip out --silent because we don't want to record it for future runs.
2357 # Also quote any args containing shell meta-characters.
2358 # Make two passes to allow for proper duplicate-argument suppression.
2362 ac_must_keep_next
=false
2368 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2369 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2370 |
-silent |
--silent |
--silen |
--sile |
--sil)
2373 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2378 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2379 if test $ac_must_keep_next = true
; then
2380 ac_must_keep_next
=false
# Got value, back to normal.
2383 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2384 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2385 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2386 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2387 case "$ac_configure_args0 " in
2388 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2391 -* ) ac_must_keep_next
=true
;;
2394 ac_configure_args
="$ac_configure_args '$ac_arg'"
2399 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
2400 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
2402 # When interrupted or exit'd, cleanup temporary files, and complete
2403 # config.log. We remove comments because anyway the quotes in there
2404 # would cause problems or look ugly.
2405 # WARNING: Use '\'' to represent an apostrophe within the trap.
2406 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2407 trap 'exit_status=$?
2408 # Save into config.log some information that might help in debugging.
2413 ## ---------------- ##
2414 ## Cache variables. ##
2415 ## ---------------- ##
2418 # The following way of writing the cache mishandles newlines in values,
2420 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2421 eval ac_val=\$$ac_var
2425 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2426 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2429 _ | IFS | as_nl) ;; #(
2430 *) $as_unset $ac_var ;;
2435 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2436 *${as_nl}ac_space=\ *)
2438 "s/'\''/'\''\\\\'\'''\''/g;
2439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2442 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2450 ## ----------------- ##
2451 ## Output variables. ##
2452 ## ----------------- ##
2455 for ac_var in $ac_subst_vars
2457 eval ac_val=\$$ac_var
2459 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2461 echo "$ac_var='\''$ac_val'\''"
2465 if test -n "$ac_subst_files"; then
2467 ## ------------------- ##
2468 ## File substitutions. ##
2469 ## ------------------- ##
2472 for ac_var
in $ac_subst_files
2474 eval ac_val
=\$
$ac_var
2476 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2478 echo "$ac_var='\''$ac_val'\''"
2483 if test -s confdefs.h; then
2493 test "$ac_signal" != 0 &&
2494 echo "$as_me: caught signal $ac_signal"
2495 echo "$as_me: exit $exit_status"
2497 rm -f core *.core core.conftest.* &&
2498 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2501 for ac_signal
in 1 2 13 15; do
2502 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2506 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2507 rm -f -r conftest
* confdefs.h
2509 # Predefined preprocessor variables.
2511 cat >>confdefs.h
<<_ACEOF
2512 #define PACKAGE_NAME "$PACKAGE_NAME"
2516 cat >>confdefs.h
<<_ACEOF
2517 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2521 cat >>confdefs.h
<<_ACEOF
2522 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2526 cat >>confdefs.h
<<_ACEOF
2527 #define PACKAGE_STRING "$PACKAGE_STRING"
2531 cat >>confdefs.h
<<_ACEOF
2532 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2536 # Let the site file select an alternate cache file if it wants to.
2537 # Prefer explicitly selected file to automatically selected ones.
2538 if test -n "$CONFIG_SITE"; then
2539 set x
"$CONFIG_SITE"
2540 elif test "x$prefix" != xNONE
; then
2541 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2543 set x
"$ac_default_prefix/share/config.site" \
2544 "$ac_default_prefix/etc/config.site"
2549 if test -r "$ac_site_file"; then
2550 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2551 echo "$as_me: loading site script $ac_site_file" >&6;}
2552 sed 's/^/| /' "$ac_site_file" >&5
2557 if test -r "$cache_file"; then
2558 # Some versions of bash will fail to source /dev/null (special
2559 # files actually), so we avoid doing that.
2560 if test -f "$cache_file"; then
2561 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2562 echo "$as_me: loading cache $cache_file" >&6;}
2564 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2565 *) .
"./$cache_file";;
2569 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2570 echo "$as_me: creating cache $cache_file" >&6;}
2574 # Check that the precious variables saved in the cache have kept the same
2576 ac_cache_corrupted
=false
2577 for ac_var
in $ac_precious_vars; do
2578 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2579 eval ac_new_set
=\
$ac_env_${ac_var}_set
2580 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2581 eval ac_new_val
=\
$ac_env_${ac_var}_value
2582 case $ac_old_set,$ac_new_set in
2584 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2585 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2586 ac_cache_corrupted
=: ;;
2588 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2589 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2590 ac_cache_corrupted
=: ;;
2593 if test "x$ac_old_val" != "x$ac_new_val"; then
2594 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2595 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2596 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2597 echo "$as_me: former value: $ac_old_val" >&2;}
2598 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2599 echo "$as_me: current value: $ac_new_val" >&2;}
2600 ac_cache_corrupted
=:
2603 # Pass precious variables to config.status.
2604 if test "$ac_new_set" = set; then
2606 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2607 *) ac_arg
=$ac_var=$ac_new_val ;;
2609 case " $ac_configure_args " in
2610 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2611 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2615 if $ac_cache_corrupted; then
2616 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2617 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2618 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2619 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2620 { (exit 1); exit 1; }; }
2648 ac_cpp
='$CPP $CPPFLAGS'
2649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2655 am__api_version
='1.10'
2658 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2659 if test -f "$ac_dir/install-sh"; then
2661 ac_install_sh
="$ac_aux_dir/install-sh -c"
2663 elif test -f "$ac_dir/install.sh"; then
2665 ac_install_sh
="$ac_aux_dir/install.sh -c"
2667 elif test -f "$ac_dir/shtool"; then
2669 ac_install_sh
="$ac_aux_dir/shtool install -c"
2673 if test -z "$ac_aux_dir"; then
2674 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2675 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2676 { (exit 1); exit 1; }; }
2679 # These three variables are undocumented and unsupported,
2680 # and are intended to be withdrawn in a future Autoconf release.
2681 # They can cause serious problems if a builder's source tree is in a directory
2682 # whose full name contains unusual characters.
2683 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2684 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2685 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2688 # Find a good install program. We prefer a C program (faster),
2689 # so one script is as good as another. But avoid the broken or
2690 # incompatible versions:
2691 # SysV /etc/install, /usr/sbin/install
2692 # SunOS /usr/etc/install
2693 # IRIX /sbin/install
2695 # AmigaOS /C/install, which installs bootblocks on floppy discs
2696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2699 # OS/2's system install, which has a completely different semantic
2700 # ./install, which can be erroneously created by make from ./install.sh.
2701 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2702 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2703 if test -z "$INSTALL"; then
2704 if test "${ac_cv_path_install+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 # Account for people who put trailing slashes in PATH elements.
2714 .
/ | .
// |
/cC
/* | \
2715 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2716 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2719 # OSF1 and SCO ODT 3.0 have their own names for install.
2720 # Don't use installbsd from OSF since it installs stuff as root
2722 for ac_prog
in ginstall scoinst
install; do
2723 for ac_exec_ext
in '' $ac_executable_extensions; do
2724 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2725 if test $ac_prog = install &&
2726 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2727 # AIX install. It has an incompatible calling convention.
2729 elif test $ac_prog = install &&
2730 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2731 # program-specific install script used by HP pwplus--don't use.
2734 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2747 if test "${ac_cv_path_install+set}" = set; then
2748 INSTALL
=$ac_cv_path_install
2750 # As a last resort, use the slow shell script. Don't cache a
2751 # value for INSTALL within a source directory, because that will
2752 # break other packages using the cache if that directory is
2753 # removed, or if the value is a relative name.
2754 INSTALL
=$ac_install_sh
2757 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2758 echo "${ECHO_T}$INSTALL" >&6; }
2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2761 # It thinks the first close brace ends the variable substitution.
2762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2766 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2768 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2769 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2772 echo timestamp
> conftest.
file
2773 # Do `set' in a subshell so we don't clobber the current shell's
2774 # arguments. Must try -L first in case configure is actually a
2775 # symlink; some systems play weird games with the mod time of symlinks
2776 # (eg FreeBSD returns the mod time of the symlink's containing
2779 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2780 if test "$*" = "X"; then
2782 set X
`ls -t $srcdir/configure conftest.file`
2785 if test "$*" != "X $srcdir/configure conftest.file" \
2786 && test "$*" != "X conftest.file $srcdir/configure"; then
2788 # If neither matched, then we have a broken ls. This can happen
2789 # if, for instance, CONFIG_SHELL is bash and it inherits a
2790 # broken ls alias from the environment. This has actually
2791 # happened. Such a system could not be considered "sane".
2792 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2793 alias in your environment" >&5
2794 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2795 alias in your environment" >&2;}
2796 { (exit 1); exit 1; }; }
2799 test "$2" = conftest.
file
2805 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2806 Check your system clock" >&5
2807 echo "$as_me: error: newly created file is older than distributed files!
2808 Check your system clock" >&2;}
2809 { (exit 1); exit 1; }; }
2811 { echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6; }
2813 test "$program_prefix" != NONE
&&
2814 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2815 # Use a double $ so make ignores it.
2816 test "$program_suffix" != NONE
&&
2817 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2818 # Double any \ or $. echo might interpret backslashes.
2819 # By default was `s,x,x', remove it if useless.
2820 cat <<\_ACEOF
>conftest.
sed
2821 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2823 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2826 # expand $ac_aux_dir to an absolute path
2827 am_aux_dir
=`cd $ac_aux_dir && pwd`
2829 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2830 # Use eval to expand $SHELL
2831 if eval "$MISSING --run true"; then
2832 am_missing_run
="$MISSING --run "
2835 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2836 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2839 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2840 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2841 if test -z "$MKDIR_P"; then
2842 if test "${ac_cv_path_mkdir+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2846 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2849 test -z "$as_dir" && as_dir
=.
2850 for ac_prog
in mkdir gmkdir
; do
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2853 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2854 'mkdir (GNU coreutils) '* | \
2855 'mkdir (coreutils) '* | \
2856 'mkdir (fileutils) '4.1*)
2857 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2867 if test "${ac_cv_path_mkdir+set}" = set; then
2868 MKDIR_P
="$ac_cv_path_mkdir -p"
2870 # As a last resort, use the slow shell script. Don't cache a
2871 # value for MKDIR_P within a source directory, because that will
2872 # break other packages using the cache if that directory is
2873 # removed, or if the value is a relative name.
2874 test -d .
/--version && rmdir .
/--version
2875 MKDIR_P
="$ac_install_sh -d"
2878 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2879 echo "${ECHO_T}$MKDIR_P" >&6; }
2883 [\\/$
]* | ?
:[\\/]*) ;;
2884 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2887 for ac_prog
in gawk mawk nawk
awk
2889 # Extract the first word of "$ac_prog", so it can be a program name with args.
2890 set dummy
$ac_prog; ac_word
=$2
2891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_AWK+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 if test -n "$AWK"; then
2897 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2903 test -z "$as_dir" && as_dir
=.
2904 for ac_exec_ext
in '' $ac_executable_extensions; do
2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906 ac_cv_prog_AWK
="$ac_prog"
2907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 if test -n "$AWK"; then
2918 { echo "$as_me:$LINENO: result: $AWK" >&5
2919 echo "${ECHO_T}$AWK" >&6; }
2921 { echo "$as_me:$LINENO: result: no" >&5
2922 echo "${ECHO_T}no" >&6; }
2926 test -n "$AWK" && break
2929 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2931 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2932 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 cat >conftest.
make <<\_ACEOF
2938 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2943 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2945 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2949 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2950 { echo "$as_me:$LINENO: result: yes" >&5
2951 echo "${ECHO_T}yes" >&6; }
2954 { echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6; }
2956 SET_MAKE
="MAKE=${MAKE-make}"
2959 rm -rf .tst
2>/dev
/null
2960 mkdir .tst
2>/dev
/null
2961 if test -d .tst
; then
2966 rmdir .tst
2>/dev
/null
2968 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2969 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2970 # is not polluted with repeated "-I."
2971 am__isrc
=' -I$(srcdir)'
2972 # test to see if srcdir already configured
2973 if test -f $srcdir/config.status
; then
2974 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2975 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2976 { (exit 1); exit 1; }; }
2980 # test whether we have cygpath
2981 if test -z "$CYGPATH_W"; then
2982 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2983 CYGPATH_W
='cygpath -w'
2990 # Define the identity of the package.
2991 PACKAGE
='xorg-server'
2995 cat >>confdefs.h
<<_ACEOF
2996 #define PACKAGE "$PACKAGE"
3000 cat >>confdefs.h
<<_ACEOF
3001 #define VERSION "$VERSION"
3004 # Some tools Automake needs.
3006 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3009 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3012 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3015 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3018 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3020 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3022 # Installed binaries are usually stripped using `strip' when the user
3023 # run `make install-strip'. However `strip' might not be the right
3024 # tool to use in cross-compilation environments, therefore Automake
3025 # will honor the `STRIP' environment variable to overrule this program.
3026 if test "$cross_compiling" != no
; then
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3029 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3032 if test "${ac_cv_prog_STRIP+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 if test -n "$STRIP"; then
3036 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 STRIP
=$ac_cv_prog_STRIP
3056 if test -n "$STRIP"; then
3057 { echo "$as_me:$LINENO: result: $STRIP" >&5
3058 echo "${ECHO_T}$STRIP" >&6; }
3060 { echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6; }
3066 if test -z "$ac_cv_prog_STRIP"; then
3068 # Extract the first word of "strip", so it can be a program name with args.
3069 set dummy strip
; ac_word
=$2
3070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3072 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 if test -n "$ac_ct_STRIP"; then
3076 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir
=.
3083 for ac_exec_ext
in '' $ac_executable_extensions; do
3084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085 ac_cv_prog_ac_ct_STRIP
="strip"
3086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3096 if test -n "$ac_ct_STRIP"; then
3097 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3098 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3100 { echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6; }
3104 if test "x$ac_ct_STRIP" = x
; then
3107 case $cross_compiling:$ac_tool_warned in
3109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3110 whose name does not start with the host triplet. If you think this
3111 configuration is useful to you, please write to autoconf@gnu.org." >&5
3112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3113 whose name does not start with the host triplet. If you think this
3114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3115 ac_tool_warned
=yes ;;
3120 STRIP
="$ac_cv_prog_STRIP"
3124 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3126 # We need awk for the "check" target. The system "awk" is bad on
3128 # Always define AMTAR for backward compatibility.
3130 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3132 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3138 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3139 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
3140 # Check whether --enable-maintainer-mode was given.
3141 if test "${enable_maintainer_mode+set}" = set; then
3142 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3144 USE_MAINTAINER_MODE
=no
3147 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3148 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
3149 if test $USE_MAINTAINER_MODE = yes; then
3150 MAINTAINER_MODE_TRUE
=
3151 MAINTAINER_MODE_FALSE
='#'
3153 MAINTAINER_MODE_TRUE
='#'
3154 MAINTAINER_MODE_FALSE
=
3157 MAINT
=$MAINTAINER_MODE_TRUE
3161 ac_config_headers
="$ac_config_headers include/do-not-use-config.h"
3163 ac_config_headers
="$ac_config_headers include/xorg-server.h"
3165 ac_config_headers
="$ac_config_headers include/dix-config.h"
3167 ac_config_headers
="$ac_config_headers include/xgl-config.h"
3169 ac_config_headers
="$ac_config_headers include/xorg-config.h"
3171 ac_config_headers
="$ac_config_headers include/xkb-config.h"
3173 ac_config_headers
="$ac_config_headers include/xwin-config.h"
3175 ac_config_headers
="$ac_config_headers include/kdrive-config.h"
3179 ac_cpp
='$CPP $CPPFLAGS'
3180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3183 if test -n "$ac_tool_prefix"; then
3184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3185 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3188 if test "${ac_cv_prog_CC+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC
="$CC" # Let the user override the test.
3194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir
=.
3199 for ac_exec_ext
in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$CC"; then
3213 { echo "$as_me:$LINENO: result: $CC" >&5
3214 echo "${ECHO_T}$CC" >&6; }
3216 { echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6; }
3222 if test -z "$ac_cv_prog_CC"; then
3224 # Extract the first word of "gcc", so it can be a program name with args.
3225 set dummy gcc
; ac_word
=$2
3226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 if test -n "$ac_ct_CC"; then
3232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_ac_ct_CC
="gcc"
3242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3252 if test -n "$ac_ct_CC"; then
3253 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3254 echo "${ECHO_T}$ac_ct_CC" >&6; }
3256 { echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6; }
3260 if test "x$ac_ct_CC" = x
; then
3263 case $cross_compiling:$ac_tool_warned in
3265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3266 whose name does not start with the host triplet. If you think this
3267 configuration is useful to you, please write to autoconf@gnu.org." >&5
3268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3269 whose name does not start with the host triplet. If you think this
3270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3271 ac_tool_warned
=yes ;;
3279 if test -z "$CC"; then
3280 if test -n "$ac_tool_prefix"; then
3281 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3282 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3285 if test "${ac_cv_prog_CC+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 if test -n "$CC"; then
3289 ac_cv_prog_CC
="$CC" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3298 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test -n "$CC"; then
3310 { echo "$as_me:$LINENO: result: $CC" >&5
3311 echo "${ECHO_T}$CC" >&6; }
3313 { echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6; }
3320 if test -z "$CC"; then
3321 # Extract the first word of "cc", so it can be a program name with args.
3322 set dummy cc
; ac_word
=$2
3323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3325 if test "${ac_cv_prog_CC+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 if test -n "$CC"; then
3329 ac_cv_prog_CC
="$CC" # Let the user override the test.
3332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3336 test -z "$as_dir" && as_dir
=.
3337 for ac_exec_ext
in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3340 ac_prog_rejected
=yes
3344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 if test $ac_prog_rejected = yes; then
3352 # We found a bogon in the path, so make sure we never use it.
3353 set dummy
$ac_cv_prog_CC
3355 if test $# != 0; then
3356 # We chose a different compiler from the bogus one.
3357 # However, it has the same basename, so the bogon will be chosen
3358 # first if we set CC to just the basename; use the full file name.
3360 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3366 if test -n "$CC"; then
3367 { echo "$as_me:$LINENO: result: $CC" >&5
3368 echo "${ECHO_T}$CC" >&6; }
3370 { echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6; }
3376 if test -z "$CC"; then
3377 if test -n "$ac_tool_prefix"; then
3378 for ac_prog
in cl.exe
3380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3384 if test "${ac_cv_prog_CC+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 if test -n "$CC"; then
3388 ac_cv_prog_CC
="$CC" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3397 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$CC"; then
3409 { echo "$as_me:$LINENO: result: $CC" >&5
3410 echo "${ECHO_T}$CC" >&6; }
3412 { echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6; }
3417 test -n "$CC" && break
3420 if test -z "$CC"; then
3422 for ac_prog
in cl.exe
3424 # Extract the first word of "$ac_prog", so it can be a program name with args.
3425 set dummy
$ac_prog; ac_word
=$2
3426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 if test -n "$ac_ct_CC"; then
3432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir
=.
3439 for ac_exec_ext
in '' $ac_executable_extensions; do
3440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3441 ac_cv_prog_ac_ct_CC
="$ac_prog"
3442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3452 if test -n "$ac_ct_CC"; then
3453 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3454 echo "${ECHO_T}$ac_ct_CC" >&6; }
3456 { echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6; }
3461 test -n "$ac_ct_CC" && break
3464 if test "x$ac_ct_CC" = x
; then
3467 case $cross_compiling:$ac_tool_warned in
3469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3470 whose name does not start with the host triplet. If you think this
3471 configuration is useful to you, please write to autoconf@gnu.org." >&5
3472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3473 whose name does not start with the host triplet. If you think this
3474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3475 ac_tool_warned
=yes ;;
3484 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3485 See \`config.log' for more details." >&5
3486 echo "$as_me: error: no acceptable C compiler found in \$PATH
3487 See \`config.log' for more details." >&2;}
3488 { (exit 1); exit 1; }; }
3490 # Provide some information about the compiler.
3491 echo "$as_me:$LINENO: checking for C compiler version" >&5
3492 ac_compiler
=`set X $ac_compile; echo $2`
3493 { (ac_try
="$ac_compiler --version >&5"
3495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3499 (eval "$ac_compiler --version >&5") 2>&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }
3503 { (ac_try="$ac_compiler -v >&5"
3505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3506 *) ac_try_echo
=$ac_try;;
3508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3509 (eval "$ac_compiler -v >&5") 2>&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }
3513 { (ac_try
="$ac_compiler -V >&5"
3515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compiler -V >&5") 2>&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); }
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3539 ac_clean_files_save=$ac_clean_files
3540 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3541 # Try to create an executable without -o first, disregard a.out.
3542 # It will help us diagnose broken compilers, and finding out an intuition
3544 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3545 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3546 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3548 # List of possible output files, starting from the most likely.
3549 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3550 # only as a last resort. b.out is created by i960 compilers.
3551 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3553 # The IRIX 6 linker writes into existing files which may not be
3554 # executable, retaining their permissions. Remove them first so a
3555 # subsequent execution test works.
3557 for ac_file in $ac_files
3560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3561 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3566 if { (ac_try="$ac_link_default"
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3572 (eval "$ac_link_default") 2>&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; then
3576 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3577 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3578 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3579 # so that the user can short-circuit this test for compilers unknown to
3581 for ac_file
in $ac_files ''
3583 test -f "$ac_file" ||
continue
3585 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3588 # We found the default executable, but exeext='' is most
3592 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3594 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3596 # We set ac_cv_exeext here because the later test for it is not
3597 # safe: cross compilers may not add the suffix if given an `-o'
3598 # argument, so we may need to know it at that point already.
3599 # Even if this section looks crufty: it has the advantage of
3606 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3612 { echo "$as_me:$LINENO: result: $ac_file" >&5
3613 echo "${ECHO_T}$ac_file" >&6; }
3614 if test -z "$ac_file"; then
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3618 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3619 See \`config.log' for more details." >&5
3620 echo "$as_me: error: C compiler cannot create executables
3621 See \`config.log' for more details." >&2;}
3622 { (exit 77); exit 77; }; }
3625 ac_exeext
=$ac_cv_exeext
3627 # Check that the compiler produces executables we can run. If not, either
3628 # the compiler is broken, or we cross compile.
3629 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3630 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3631 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3632 # If not cross compiling, check that we can run a simple program.
3633 if test "$cross_compiling" != yes; then
3634 if { ac_try
='./$ac_file'
3635 { (case "(($ac_try" in
3636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_try") 2>&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); }; }; then
3646 if test "$cross_compiling" = maybe; then
3649 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3650 If you meant to cross compile, use \`--host'.
3651 See \`config.log' for more details.
" >&5
3652 echo "$as_me: error
: cannot run C compiled programs.
3653 If you meant to cross compile
, use \
`--host'.
3654 See \`config.log
' for more details." >&2;}
3655 { (exit 1); exit 1; }; }
3659 { echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6; }
3662 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3663 ac_clean_files=$ac_clean_files_save
3664 # Check that the compiler produces executables we can run. If not, either
3665 # the compiler is broken, or we cross compile.
3666 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3667 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3668 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3669 echo "${ECHO_T}$cross_compiling" >&6; }
3671 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3672 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3673 if { (ac_try="$ac_link"
3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676 *) ac_try_echo=$ac_try;;
3678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3679 (eval "$ac_link") 2>&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; then
3683 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3684 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3685 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3687 for ac_file
in conftest.exe conftest conftest.
*; do
3688 test -f "$ac_file" ||
continue
3690 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3691 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3697 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3698 See \`config.log' for more details." >&5
3699 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3700 See \`config.log' for more details." >&2;}
3701 { (exit 1); exit 1; }; }
3704 rm -f conftest
$ac_cv_exeext
3705 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3706 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3708 rm -f conftest.
$ac_ext
3709 EXEEXT
=$ac_cv_exeext
3711 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3712 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3713 if test "${ac_cv_objext+set}" = set; then
3714 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 cat >conftest.
$ac_ext <<_ACEOF
3719 cat confdefs.h
>>conftest.
$ac_ext
3720 cat >>conftest.
$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3731 rm -f conftest.o conftest.obj
3732 if { (ac_try
="$ac_compile"
3734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3738 (eval "$ac_compile") 2>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; then
3742 for ac_file in conftest.o conftest.obj conftest.*; do
3743 test -f "$ac_file" || continue;
3745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3746 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3754 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3755 See \`config.log
' for more details." >&5
3756 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3757 See \`config.log' for more details.
" >&2;}
3758 { (exit 1); exit 1; }; }
3761 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3763 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3764 echo "${ECHO_T}$ac_cv_objext" >&6; }
3765 OBJEXT=$ac_cv_objext
3767 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3768 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3769 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3770 echo $ECHO_N "(cached
) $ECHO_C" >&6
3772 cat >conftest.$ac_ext <<_ACEOF
3775 cat confdefs.h >>conftest.$ac_ext
3776 cat >>conftest.$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3790 rm -f conftest.$ac_objext
3791 if { (ac_try="$ac_compile"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_compile") 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3803 (exit $ac_status); } && {
3804 test -z "$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3806 } && test -s conftest.$ac_objext; then
3809 echo "$as_me: failed program was
:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3819 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3820 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3821 GCC=`test $ac_compiler_gnu = yes && echo yes`
3822 ac_test_CFLAGS=${CFLAGS+set}
3823 ac_save_CFLAGS=$CFLAGS
3824 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3825 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3826 if test "${ac_cv_prog_cc_g+set}" = set; then
3827 echo $ECHO_N "(cached
) $ECHO_C" >&6
3829 ac_save_c_werror_flag=$ac_c_werror_flag
3830 ac_c_werror_flag=yes
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3848 rm -f conftest.$ac_objext
3849 if { (ac_try="$ac_compile"
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3855 (eval "$ac_compile") 2>conftest.er1
3857 grep -v '^ *+' conftest.er1 >conftest.err
3859 cat conftest.err >&5
3860 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3861 (exit $ac_status); } && {
3862 test -z "$ac_c_werror_flag" ||
3863 test ! -s conftest.err
3864 } && test -s conftest.$ac_objext; then
3867 echo "$as_me: failed program was
:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3886 rm -f conftest.$ac_objext
3887 if { (ac_try="$ac_compile"
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_compile") 2>conftest.er1
3895 grep -v '^ *+' conftest.er1 >conftest.err
3897 cat conftest.err >&5
3898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3899 (exit $ac_status); } && {
3900 test -z "$ac_c_werror_flag" ||
3901 test ! -s conftest.err
3902 } && test -s conftest.$ac_objext; then
3905 echo "$as_me: failed program was
:" >&5
3906 sed 's/^/| /' conftest.$ac_ext >&5
3908 ac_c_werror_flag=$ac_save_c_werror_flag
3910 cat >conftest.$ac_ext <<_ACEOF
3913 cat confdefs.h >>conftest.$ac_ext
3914 cat >>conftest.$ac_ext <<_ACEOF
3915 /* end confdefs.h. */
3925 rm -f conftest.$ac_objext
3926 if { (ac_try="$ac_compile"
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3932 (eval "$ac_compile") 2>conftest.er1
3934 grep -v '^ *+' conftest.er1 >conftest.err
3936 cat conftest.err >&5
3937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3938 (exit $ac_status); } && {
3939 test -z "$ac_c_werror_flag" ||
3940 test ! -s conftest.err
3941 } && test -s conftest.$ac_objext; then
3944 echo "$as_me: failed program was
:" >&5
3945 sed 's/^/| /' conftest.$ac_ext >&5
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3957 ac_c_werror_flag=$ac_save_c_werror_flag
3959 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3960 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3961 if test "$ac_test_CFLAGS" = set; then
3962 CFLAGS=$ac_save_CFLAGS
3963 elif test $ac_cv_prog_cc_g = yes; then
3964 if test "$GCC" = yes; then
3970 if test "$GCC" = yes; then
3976 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3977 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3978 if test "${ac_cv_prog_cc_c89+set}" = set; then
3979 echo $ECHO_N "(cached
) $ECHO_C" >&6
3981 ac_cv_prog_cc_c89=no
3983 cat >conftest.$ac_ext <<_ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 #include <sys/types.h>
3992 #include <sys/stat.h>
3993 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3994 struct buf { int x; };
3995 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3996 static char *e (p, i)
4002 static char *f (char * (*g) (char **, int), char **p, ...)
4007 s = g (p, va_arg (v,int));
4012 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4013 function prototypes and stuff, but not '\xHH' hex character constants.
4014 These don't provoke an error unfortunately, instead are silently treated
4015 as 'x'. The following induces an error, until -std is added to get
4016 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4017 array size at least. It's necessary to write '\x00'==0 to get something
4018 that's true only with -std. */
4019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4021 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4022 inside strings and character constants. */
4024 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4026 int test (int i, double x);
4027 struct s1 {int (*f) (int a);};
4028 struct s2 {int (*f) (double a);};
4029 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4035 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4040 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4041 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4043 CC="$ac_save_CC $ac_arg"
4044 rm -f conftest.$ac_objext
4045 if { (ac_try="$ac_compile"
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4051 (eval "$ac_compile") 2>conftest.er1
4053 grep -v '^ *+' conftest.er1 >conftest.err
4055 cat conftest.err >&5
4056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4057 (exit $ac_status); } && {
4058 test -z "$ac_c_werror_flag" ||
4059 test ! -s conftest.err
4060 } && test -s conftest.$ac_objext; then
4061 ac_cv_prog_cc_c89=$ac_arg
4063 echo "$as_me: failed program was
:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4069 rm -f core conftest.err conftest.$ac_objext
4070 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
4072 rm -f conftest.$ac_ext
4077 case "x
$ac_cv_prog_cc_c89" in
4079 { echo "$as_me:$LINENO: result
: none needed
" >&5
4080 echo "${ECHO_T}none needed
" >&6; } ;;
4082 { echo "$as_me:$LINENO: result
: unsupported
" >&5
4083 echo "${ECHO_T}unsupported
" >&6; } ;;
4085 CC="$CC $ac_cv_prog_cc_c89"
4086 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
4087 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4092 ac_cpp='$CPP $CPPFLAGS'
4093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4096 DEPDIR="${am__leading_dot}deps
"
4098 ac_config_commands="$ac_config_commands depfiles
"
4101 am_make=${MAKE-make}
4102 cat > confinc << 'END'
4107 # If we don't find an include directive, just comment out the code.
4108 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
4109 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
4113 # First try GNU make style include.
4114 echo "include confinc" > confmf
4115 # We grep out `Entering directory' and `Leaving directory'
4116 # messages which can occur if `w' ends up in MAKEFLAGS.
4117 # In particular we don't look at `^make:' because GNU make might
4118 # be invoked under some other name (usually "gmake"), in which
4119 # case it prints its new name instead of `make'.
4120 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4125 # Now try BSD make style include.
4126 if test "$am__include" = "#"; then
4127 echo '.include "confinc"' > confmf
4128 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4129 am__include
=.include
4136 { echo "$as_me:$LINENO: result: $_am_result" >&5
4137 echo "${ECHO_T}$_am_result" >&6; }
4138 rm -f confinc confmf
4140 # Check whether --enable-dependency-tracking was given.
4141 if test "${enable_dependency_tracking+set}" = set; then
4142 enableval
=$enable_dependency_tracking;
4145 if test "x$enable_dependency_tracking" != xno
; then
4146 am_depcomp
="$ac_aux_dir/depcomp"
4149 if test "x$enable_dependency_tracking" != xno; then
4159 depcc
="$CC" am_compiler_list
=
4161 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4162 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4163 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4167 # We make a subdir and do the tests there. Otherwise we can end up
4168 # making bogus files that we don't know about and never remove. For
4169 # instance it was reported that on HP-UX the gcc test will end up
4170 # making a dummy file named `D' -- because `-MD' means `put the output
4173 # Copy depcomp to subdir because otherwise we won't find it if we're
4174 # using a relative directory.
4175 cp "$am_depcomp" conftest.dir
4177 # We will build objects and dependencies in a subdirectory because
4178 # it helps to detect inapplicable dependency modes. For instance
4179 # both Tru64's cc and ICC support -MD to output dependencies as a
4180 # side effect of compilation, but ICC will put the dependencies in
4181 # the current directory while Tru64 will put them in the object
4185 am_cv_CC_dependencies_compiler_type
=none
4186 if test "$am_compiler_list" = ""; then
4187 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4189 for depmode
in $am_compiler_list; do
4190 # Setup a source with many dependencies, because some compilers
4191 # like to wrap large dependency lists on column 80 (with \), and
4192 # we should not choose a depcomp mode which is confused by this.
4194 # We need to recreate these files for each test, as the compiler may
4195 # overwrite some of them when testing with obscure command lines.
4196 # This happens at least with the AIX C compiler.
4198 for i
in 1 2 3 4 5 6; do
4199 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4200 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4201 # Solaris 8's {/usr,}/bin/sh.
4202 touch sub
/conftst
$i.h
4204 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4208 # after this tag, mechanisms are not by side-effect, so they'll
4209 # only be used when explicitly requested
4210 if test "x$enable_dependency_tracking" = xyes
; then
4218 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4219 # mode. It turns out that the SunPro C++ compiler does not properly
4220 # handle `-M -o', and we need to detect this.
4221 if depmode
=$depmode \
4222 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4223 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4224 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4225 >/dev
/null
2>conftest.err
&&
4226 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4227 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4228 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4229 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4230 # icc doesn't choke on unknown options, it will just issue warnings
4231 # or remarks (even with -Werror). So we grep stderr for any message
4232 # that says an option was ignored or not supported.
4233 # When given -MP, icc 7.0 and 7.1 complain thusly:
4234 # icc: Command line warning: ignoring option '-M'; no argument required
4235 # The diagnosis changed in icc 8.0:
4236 # icc: Command line remark: option '-MP' not supported
4237 if (grep 'ignoring option' conftest.err ||
4238 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4239 am_cv_CC_dependencies_compiler_type
=$depmode
4248 am_cv_CC_dependencies_compiler_type
=none
4252 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4253 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4254 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4257 test "x$enable_dependency_tracking" != xno \
4258 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4260 am__fastdepCC_FALSE
='#'
4262 am__fastdepCC_TRUE
='#'
4263 am__fastdepCC_FALSE
=
4267 # By default we simply use the C compiler to build assembly code.
4269 test "${CCAS+set}" = set || CCAS
=$CC
4270 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4274 depcc
="$CCAS" am_compiler_list
=
4276 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4277 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4278 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4282 # We make a subdir and do the tests there. Otherwise we can end up
4283 # making bogus files that we don't know about and never remove. For
4284 # instance it was reported that on HP-UX the gcc test will end up
4285 # making a dummy file named `D' -- because `-MD' means `put the output
4288 # Copy depcomp to subdir because otherwise we won't find it if we're
4289 # using a relative directory.
4290 cp "$am_depcomp" conftest.dir
4292 # We will build objects and dependencies in a subdirectory because
4293 # it helps to detect inapplicable dependency modes. For instance
4294 # both Tru64's cc and ICC support -MD to output dependencies as a
4295 # side effect of compilation, but ICC will put the dependencies in
4296 # the current directory while Tru64 will put them in the object
4300 am_cv_CCAS_dependencies_compiler_type
=none
4301 if test "$am_compiler_list" = ""; then
4302 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4304 for depmode
in $am_compiler_list; do
4305 # Setup a source with many dependencies, because some compilers
4306 # like to wrap large dependency lists on column 80 (with \), and
4307 # we should not choose a depcomp mode which is confused by this.
4309 # We need to recreate these files for each test, as the compiler may
4310 # overwrite some of them when testing with obscure command lines.
4311 # This happens at least with the AIX C compiler.
4313 for i
in 1 2 3 4 5 6; do
4314 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4315 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4316 # Solaris 8's {/usr,}/bin/sh.
4317 touch sub
/conftst
$i.h
4319 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4323 # after this tag, mechanisms are not by side-effect, so they'll
4324 # only be used when explicitly requested
4325 if test "x$enable_dependency_tracking" = xyes
; then
4333 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4334 # mode. It turns out that the SunPro C++ compiler does not properly
4335 # handle `-M -o', and we need to detect this.
4336 if depmode
=$depmode \
4337 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4338 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4339 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4340 >/dev
/null
2>conftest.err
&&
4341 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4342 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4343 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4344 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4345 # icc doesn't choke on unknown options, it will just issue warnings
4346 # or remarks (even with -Werror). So we grep stderr for any message
4347 # that says an option was ignored or not supported.
4348 # When given -MP, icc 7.0 and 7.1 complain thusly:
4349 # icc: Command line warning: ignoring option '-M'; no argument required
4350 # The diagnosis changed in icc 8.0:
4351 # icc: Command line remark: option '-MP' not supported
4352 if (grep 'ignoring option' conftest.err ||
4353 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4354 am_cv_CCAS_dependencies_compiler_type
=$depmode
4363 am_cv_CCAS_dependencies_compiler_type
=none
4367 { echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4368 echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
4369 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4372 test "x$enable_dependency_tracking" != xno \
4373 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4374 am__fastdepCCAS_TRUE
=
4375 am__fastdepCCAS_FALSE
='#'
4377 am__fastdepCCAS_TRUE
='#'
4378 am__fastdepCCAS_FALSE
=
4382 # Find a good install program. We prefer a C program (faster),
4383 # so one script is as good as another. But avoid the broken or
4384 # incompatible versions:
4385 # SysV /etc/install, /usr/sbin/install
4386 # SunOS /usr/etc/install
4387 # IRIX /sbin/install
4389 # AmigaOS /C/install, which installs bootblocks on floppy discs
4390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4393 # OS/2's system install, which has a completely different semantic
4394 # ./install, which can be erroneously created by make from ./install.sh.
4395 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4397 if test -z "$INSTALL"; then
4398 if test "${ac_cv_path_install+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4405 test -z "$as_dir" && as_dir
=.
4406 # Account for people who put trailing slashes in PATH elements.
4408 .
/ | .
// |
/cC
/* | \
4409 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4410 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4413 # OSF1 and SCO ODT 3.0 have their own names for install.
4414 # Don't use installbsd from OSF since it installs stuff as root
4416 for ac_prog
in ginstall scoinst
install; do
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4419 if test $ac_prog = install &&
4420 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4421 # AIX install. It has an incompatible calling convention.
4423 elif test $ac_prog = install &&
4424 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4425 # program-specific install script used by HP pwplus--don't use.
4428 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4441 if test "${ac_cv_path_install+set}" = set; then
4442 INSTALL
=$ac_cv_path_install
4444 # As a last resort, use the slow shell script. Don't cache a
4445 # value for INSTALL within a source directory, because that will
4446 # break other packages using the cache if that directory is
4447 # removed, or if the value is a relative name.
4448 INSTALL
=$ac_install_sh
4451 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4452 echo "${ECHO_T}$INSTALL" >&6; }
4454 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4455 # It thinks the first close brace ends the variable substitution.
4456 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4458 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4460 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4462 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4463 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4465 if test "$LN_S" = "ln -s"; then
4466 { echo "$as_me:$LINENO: result: yes" >&5
4467 echo "${ECHO_T}yes" >&6; }
4469 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4470 echo "${ECHO_T}no, using $LN_S" >&6; }
4475 # Check whether --enable-static was given.
4476 if test "${enable_static+set}" = set; then
4477 enableval
=$enable_static; p
=${PACKAGE-default}
4479 yes) enable_static
=yes ;;
4480 no
) enable_static
=no
;;
4483 # Look at the argument we got. We use all the common list separators.
4484 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4485 for pkg
in $enableval; do
4487 if test "X$pkg" = "X$p"; then
4500 # Check whether --enable-shared was given.
4501 if test "${enable_shared+set}" = set; then
4502 enableval
=$enable_shared; p
=${PACKAGE-default}
4504 yes) enable_shared
=yes ;;
4505 no
) enable_shared
=no
;;
4508 # Look at the argument we got. We use all the common list separators.
4509 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4510 for pkg
in $enableval; do
4512 if test "X$pkg" = "X$p"; then
4524 # Check whether --enable-fast-install was given.
4525 if test "${enable_fast_install+set}" = set; then
4526 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4528 yes) enable_fast_install
=yes ;;
4529 no
) enable_fast_install
=no
;;
4531 enable_fast_install
=no
4532 # Look at the argument we got. We use all the common list separators.
4533 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4534 for pkg
in $enableval; do
4536 if test "X$pkg" = "X$p"; then
4537 enable_fast_install
=yes
4544 enable_fast_install
=yes
4548 # Make sure we can run config.sub.
4549 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4550 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4551 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4552 { (exit 1); exit 1; }; }
4554 { echo "$as_me:$LINENO: checking build system type" >&5
4555 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4556 if test "${ac_cv_build+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_build_alias
=$build_alias
4560 test "x$ac_build_alias" = x
&&
4561 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4562 test "x$ac_build_alias" = x
&&
4563 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4564 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4565 { (exit 1); exit 1; }; }
4566 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4567 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4568 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4569 { (exit 1); exit 1; }; }
4572 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4573 echo "${ECHO_T}$ac_cv_build" >&6; }
4574 case $ac_cv_build in
4576 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4577 echo "$as_me: error: invalid value of canonical build" >&2;}
4578 { (exit 1); exit 1; }; };;
4581 ac_save_IFS
=$IFS; IFS
='-'
4587 # Remember, the first character of IFS is used to create $*,
4588 # except with old shells:
4591 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4594 { echo "$as_me:$LINENO: checking host system type" >&5
4595 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4596 if test "${ac_cv_host+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 if test "x$host_alias" = x
; then
4600 ac_cv_host
=$ac_cv_build
4602 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4603 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4604 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4605 { (exit 1); exit 1; }; }
4609 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4610 echo "${ECHO_T}$ac_cv_host" >&6; }
4613 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4614 echo "$as_me: error: invalid value of canonical host" >&2;}
4615 { (exit 1); exit 1; }; };;
4618 ac_save_IFS
=$IFS; IFS
='-'
4624 # Remember, the first character of IFS is used to create $*,
4625 # except with old shells:
4628 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4631 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4632 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4633 if test "${lt_cv_path_SED+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 # Loop through the user's path and test for sed and gsed.
4637 # Then use that list of sed's as ones to test for truncation.
4638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir
=.
4643 for lt_ac_prog
in sed gsed
; do
4644 for ac_exec_ext
in '' $ac_executable_extensions; do
4645 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4646 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4653 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4654 # along with /bin/sed that truncates output.
4655 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4656 test ! -f $lt_ac_sed && continue
4657 cat /dev
/null
> conftest.
in
4659 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4660 # Check for GNU sed and select it if it is found.
4661 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4662 lt_cv_path_SED
=$lt_ac_sed
4666 cat conftest.
in conftest.
in >conftest.tmp
4667 mv conftest.tmp conftest.
in
4668 cp conftest.
in conftest.
nl
4670 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4671 cmp -s conftest.out conftest.
nl ||
break
4672 # 10000 chars as input seems more than enough
4673 test $lt_ac_count -gt 10 && break
4674 lt_ac_count
=`expr $lt_ac_count + 1`
4675 if test $lt_ac_count -gt $lt_ac_max; then
4676 lt_ac_max
=$lt_ac_count
4677 lt_cv_path_SED
=$lt_ac_sed
4685 { echo "$as_me:$LINENO: result: $SED" >&5
4686 echo "${ECHO_T}$SED" >&6; }
4688 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4689 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4690 if test "${ac_cv_path_GREP+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 # Extract the first word of "grep ggrep" to use in msg output
4694 if test -z "$GREP"; then
4695 set dummy
grep ggrep
; ac_prog_name
=$2
4696 if test "${ac_cv_path_GREP+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 ac_path_GREP_found
=false
4700 # Loop through the user's path and test for each of PROGNAME-LIST
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4705 test -z "$as_dir" && as_dir
=.
4706 for ac_prog
in grep ggrep
; do
4707 for ac_exec_ext
in '' $ac_executable_extensions; do
4708 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4709 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4710 # Check for GNU ac_path_GREP and select it if it is found.
4711 # Check for GNU $ac_path_GREP
4712 case `"$ac_path_GREP" --version 2>&1` in
4714 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4717 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4720 cat "conftest.in" "conftest.in" >"conftest.tmp"
4721 mv "conftest.tmp" "conftest.in"
4722 cp "conftest.in" "conftest.nl"
4723 echo 'GREP' >> "conftest.nl"
4724 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4725 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4726 ac_count
=`expr $ac_count + 1`
4727 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4728 # Best one so far, save it but keep looking for a better one
4729 ac_cv_path_GREP
="$ac_path_GREP"
4730 ac_path_GREP_max
=$ac_count
4732 # 10*(2^10) chars as input seems more than enough
4733 test $ac_count -gt 10 && break
4735 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4739 $ac_path_GREP_found && break 3
4749 GREP
="$ac_cv_path_GREP"
4750 if test -z "$GREP"; then
4751 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4752 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4753 { (exit 1); exit 1; }; }
4757 ac_cv_path_GREP
=$GREP
4762 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4763 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4764 GREP
="$ac_cv_path_GREP"
4767 { echo "$as_me:$LINENO: checking for egrep" >&5
4768 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4769 if test "${ac_cv_path_EGREP+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4773 then ac_cv_path_EGREP
="$GREP -E"
4775 # Extract the first word of "egrep" to use in msg output
4776 if test -z "$EGREP"; then
4777 set dummy
egrep; ac_prog_name
=$2
4778 if test "${ac_cv_path_EGREP+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 ac_path_EGREP_found
=false
4782 # Loop through the user's path and test for each of PROGNAME-LIST
4783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4787 test -z "$as_dir" && as_dir
=.
4788 for ac_prog
in egrep; do
4789 for ac_exec_ext
in '' $ac_executable_extensions; do
4790 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4791 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4792 # Check for GNU ac_path_EGREP and select it if it is found.
4793 # Check for GNU $ac_path_EGREP
4794 case `"$ac_path_EGREP" --version 2>&1` in
4796 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4799 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4802 cat "conftest.in" "conftest.in" >"conftest.tmp"
4803 mv "conftest.tmp" "conftest.in"
4804 cp "conftest.in" "conftest.nl"
4805 echo 'EGREP' >> "conftest.nl"
4806 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4807 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4808 ac_count
=`expr $ac_count + 1`
4809 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4810 # Best one so far, save it but keep looking for a better one
4811 ac_cv_path_EGREP
="$ac_path_EGREP"
4812 ac_path_EGREP_max
=$ac_count
4814 # 10*(2^10) chars as input seems more than enough
4815 test $ac_count -gt 10 && break
4817 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4821 $ac_path_EGREP_found && break 3
4831 EGREP
="$ac_cv_path_EGREP"
4832 if test -z "$EGREP"; then
4833 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4834 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4835 { (exit 1); exit 1; }; }
4839 ac_cv_path_EGREP
=$EGREP
4845 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4846 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4847 EGREP
="$ac_cv_path_EGREP"
4851 # Check whether --with-gnu-ld was given.
4852 if test "${with_gnu_ld+set}" = set; then
4853 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4859 if test "$GCC" = yes; then
4860 # Check if gcc -print-prog-name=ld gives a path.
4861 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4862 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4865 # gcc leaves a trailing carriage return which upsets mingw
4866 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4868 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4871 # Accept absolute paths.
4873 re_direlt
='/[^/][^/]*/\.\./'
4874 # Canonicalize the pathname of ld
4875 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4876 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4877 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4879 test -z "$LD" && LD
="$ac_prog"
4882 # If it fails, then pretend we aren't using GCC.
4886 # If it is relative, then search for the first ld in PATH.
4890 elif test "$with_gnu_ld" = yes; then
4891 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4892 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4894 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4895 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4897 if test "${lt_cv_path_LD+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 if test -z "$LD"; then
4901 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4902 for ac_dir
in $PATH; do
4904 test -z "$ac_dir" && ac_dir
=.
4905 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4906 lt_cv_path_LD
="$ac_dir/$ac_prog"
4907 # Check to see if the program is GNU ld. I'd rather use --version,
4908 # but apparently some variants of GNU ld only accept -v.
4909 # Break only if it was the GNU/non-GNU ld that we prefer.
4910 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4911 *GNU
* |
*'with BFD'*)
4912 test "$with_gnu_ld" != no
&& break
4915 test "$with_gnu_ld" != yes && break
4922 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4927 if test -n "$LD"; then
4928 { echo "$as_me:$LINENO: result: $LD" >&5
4929 echo "${ECHO_T}$LD" >&6; }
4931 { echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6; }
4934 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4935 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4936 { (exit 1); exit 1; }; }
4937 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4938 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4939 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4942 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4943 case `$LD -v 2>&1 </dev/null` in
4944 *GNU
* |
*'with BFD'*)
4945 lt_cv_prog_gnu_ld
=yes
4948 lt_cv_prog_gnu_ld
=no
4952 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4953 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4954 with_gnu_ld
=$lt_cv_prog_gnu_ld
4957 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4958 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4959 if test "${lt_cv_ld_reload_flag+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 lt_cv_ld_reload_flag
='-r'
4964 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4965 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4966 reload_flag
=$lt_cv_ld_reload_flag
4967 case $reload_flag in
4969 *) reload_flag
=" $reload_flag" ;;
4971 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4974 if test "$GCC" = yes; then
4975 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4977 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4982 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4983 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4984 if test "${lt_cv_path_NM+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$NM"; then
4988 # Let the user override the test.
4991 lt_nm_to_check
="${ac_tool_prefix}nm"
4992 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4993 lt_nm_to_check
="$lt_nm_to_check nm"
4995 for lt_tmp_nm
in $lt_nm_to_check; do
4996 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4997 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4999 test -z "$ac_dir" && ac_dir
=.
5000 tmp_nm
="$ac_dir/$lt_tmp_nm"
5001 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5002 # Check to see if the nm accepts a BSD-compat flag.
5003 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5004 # nm: unknown option "B" ignored
5005 # Tru64's nm complains that /dev/null is an invalid object file
5006 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5007 */dev
/null
* |
*'Invalid file or object type'*)
5008 lt_cv_path_NM
="$tmp_nm -B"
5012 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5014 lt_cv_path_NM
="$tmp_nm -p"
5018 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5019 continue # so that we can try to find one that supports BSD flags
5028 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5031 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5032 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5035 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5036 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
5037 if test "${lt_cv_deplibs_check_method+set}" = set; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5040 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5041 lt_cv_file_magic_test_file
=
5042 lt_cv_deplibs_check_method
='unknown'
5043 # Need to set the preceding variable on all platforms that support
5044 # interlibrary dependencies.
5045 # 'none' -- dependencies not supported.
5046 # `unknown' -- same as none, but documents that we really don't know.
5047 # 'pass_all' -- all dependencies passed with no checks.
5048 # 'test_compile' -- check by making test program.
5049 # 'file_magic [[regex]]' -- check by looking for files in library path
5050 # which responds to the $file_magic_cmd with a given extended regex.
5051 # If you have `file' or equivalent on your system and you're not sure
5052 # whether `pass_all' will *always* work, you probably want this one.
5056 lt_cv_deplibs_check_method
=pass_all
5060 lt_cv_deplibs_check_method
=pass_all
5064 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5065 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5066 lt_cv_file_magic_test_file
=/shlib
/libc.so
5070 # func_win32_libid is a shell function defined in ltmain.sh
5071 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5072 lt_cv_file_magic_cmd
='func_win32_libid'
5076 # Base MSYS/MinGW do not provide the 'file' command needed by
5077 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5078 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5079 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5082 darwin
* | rhapsody
*)
5083 lt_cv_deplibs_check_method
=pass_all
5086 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
5087 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5090 # Not sure whether the presence of OpenBSD here was a mistake.
5091 # Let's accept both of them until this is cleared up.
5092 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5093 lt_cv_file_magic_cmd
=/usr
/bin
/file
5094 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5098 lt_cv_deplibs_check_method
=pass_all
5103 lt_cv_deplibs_check_method
=pass_all
5106 hpux10.20
* | hpux11
*)
5107 lt_cv_file_magic_cmd
=/usr
/bin
/file
5110 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5111 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5114 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5115 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5118 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5119 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5125 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5126 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5129 irix5
* | irix6
* | nonstopux
*)
5131 *-32|
*"-32 ") libmagic
=32-bit;;
5132 *-n32|
*"-n32 ") libmagic
=N32
;;
5133 *-64|
*"-64 ") libmagic
=64-bit;;
5134 *) libmagic
=never-match
;;
5136 lt_cv_deplibs_check_method
=pass_all
5139 # This must be Linux ELF.
5141 lt_cv_deplibs_check_method
=pass_all
5145 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5146 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5148 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5153 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5154 lt_cv_file_magic_cmd
=/usr
/bin
/file
5155 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5159 lt_cv_deplibs_check_method
=unknown
5163 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5164 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5166 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5170 osf3
* | osf4
* | osf5
*)
5171 lt_cv_deplibs_check_method
=pass_all
5175 lt_cv_deplibs_check_method
=pass_all
5179 case $host_vendor in
5181 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]'
5182 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5185 lt_cv_deplibs_check_method
=pass_all
5188 lt_cv_file_magic_cmd
='/bin/file'
5189 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5192 lt_cv_file_magic_cmd
='/bin/file'
5193 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5194 lt_cv_file_magic_test_file
=/lib
/libc.so
5197 lt_cv_deplibs_check_method
=pass_all
5200 lt_cv_deplibs_check_method
=pass_all
5205 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5206 lt_cv_deplibs_check_method
=pass_all
5211 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5212 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5213 file_magic_cmd
=$lt_cv_file_magic_cmd
5214 deplibs_check_method
=$lt_cv_deplibs_check_method
5215 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5220 # If no C compiler was specified, use CC.
5223 # If no C compiler flags were specified, use CFLAGS.
5224 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5226 # Allow CC to be a program name with arguments.
5230 # Check whether --enable-libtool-lock was given.
5231 if test "${enable_libtool_lock+set}" = set; then
5232 enableval
=$enable_libtool_lock;
5235 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5237 # Some flags need to be propagated to the compiler or linker for good
5241 # Find out which ABI we are using.
5242 echo 'int i;' > conftest.
$ac_ext
5243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5244 (eval $ac_compile) 2>&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; then
5248 case `/usr/bin/file conftest.$ac_objext` in
5260 # Find out which ABI we are using.
5261 echo '#line 5261 "configure"' > conftest.
$ac_ext
5262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5263 (eval $ac_compile) 2>&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; then
5267 if test "$lt_cv_prog_gnu_ld" = yes; then
5268 case `/usr/bin/file conftest.$ac_objext` in
5270 LD
="${LD-ld} -melf32bsmip"
5273 LD
="${LD-ld} -melf32bmipn32"
5276 LD
="${LD-ld} -melf64bmip"
5280 case `/usr/bin/file conftest.$ac_objext` in
5296 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5297 # Find out which ABI we are using.
5298 echo 'int i;' > conftest.
$ac_ext
5299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5300 (eval $ac_compile) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); }; then
5304 case `/usr/bin/file conftest.o` in
5308 LD
="${LD-ld} -m elf_i386"
5310 ppc64-
*linux
*|powerpc64-
*linux
*)
5311 LD
="${LD-ld} -m elf32ppclinux"
5314 LD
="${LD-ld} -m elf_s390"
5317 LD
="${LD-ld} -m elf32_sparc"
5324 LD
="${LD-ld} -m elf_x86_64"
5326 ppc
*-*linux
*|powerpc
*-*linux
*)
5327 LD
="${LD-ld} -m elf64ppc"
5330 LD
="${LD-ld} -m elf64_s390"
5333 LD
="${LD-ld} -m elf64_sparc"
5343 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5344 SAVE_CFLAGS
="$CFLAGS"
5345 CFLAGS
="$CFLAGS -belf"
5346 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5347 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5348 if test "${lt_cv_cc_needs_belf+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 ac_cpp
='$CPP $CPPFLAGS'
5353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5357 cat >conftest.
$ac_ext <<_ACEOF
5360 cat confdefs.h
>>conftest.
$ac_ext
5361 cat >>conftest.
$ac_ext <<_ACEOF
5362 /* end confdefs.h. */
5372 rm -f conftest.
$ac_objext conftest
$ac_exeext
5373 if { (ac_try
="$ac_link"
5375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5376 *) ac_try_echo=$ac_try;;
5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379 (eval "$ac_link") 2>conftest.er1
5381 grep -v '^ *+' conftest.er1 >conftest.err
5383 cat conftest.err >&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } && {
5386 test -z "$ac_c_werror_flag" ||
5387 test ! -s conftest.err
5388 } && test -s conftest$ac_exeext &&
5389 $as_test_x conftest$ac_exeext; then
5390 lt_cv_cc_needs_belf=yes
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5395 lt_cv_cc_needs_belf=no
5398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5399 conftest$ac_exeext conftest.$ac_ext
5401 ac_cpp='$CPP $CPPFLAGS'
5402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5408 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5409 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5410 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5411 CFLAGS="$SAVE_CFLAGS"
5415 # Find out which ABI we are using.
5416 echo 'int i;' > conftest.$ac_ext
5417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5418 (eval $ac_compile) 2>&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); }; then
5422 case `/usr
/bin
/file conftest.o
` in
5424 case $lt_cv_prog_gnu_ld in
5425 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5426 *) LD="${LD-ld} -64" ;;
5434 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
5435 if test -n "$ac_tool_prefix"; then
5436 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5437 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5440 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 if test -n "$DLLTOOL"; then
5444 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5453 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5463 DLLTOOL=$ac_cv_prog_DLLTOOL
5464 if test -n "$DLLTOOL"; then
5465 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5466 echo "${ECHO_T}$DLLTOOL" >&6; }
5468 { echo "$as_me:$LINENO: result: no" >&5
5469 echo "${ECHO_T}no" >&6; }
5474 if test -z "$ac_cv_prog_DLLTOOL"; then
5475 ac_ct_DLLTOOL=$DLLTOOL
5476 # Extract the first word of "dlltool", so it can be a program name with args.
5477 set dummy dlltool; ac_word=$2
5478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5480 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 if test -n "$ac_ct_DLLTOOL"; then
5484 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5493 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5504 if test -n "$ac_ct_DLLTOOL"; then
5505 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5506 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5508 { echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6; }
5512 if test "x$ac_ct_DLLTOOL" = x; then
5515 case $cross_compiling:$ac_tool_warned in
5517 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5518 whose name does not start with the host triplet. If you think this
5519 configuration is useful to you, please write to autoconf@gnu.org." >&5
5520 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5521 whose name does not start with the host triplet. If you think this
5522 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5523 ac_tool_warned=yes ;;
5525 DLLTOOL=$ac_ct_DLLTOOL
5528 DLLTOOL="$ac_cv_prog_DLLTOOL"
5531 if test -n "$ac_tool_prefix"; then
5532 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5533 set dummy ${ac_tool_prefix}as; ac_word=$2
5534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5536 if test "${ac_cv_prog_AS+set}" = set; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 if test -n "$AS"; then
5540 ac_cv_prog_AS="$AS" # Let the user override the test.
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 test -z "$as_dir" && as_dir=.
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5549 ac_cv_prog_AS="${ac_tool_prefix}as"
5550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 if test -n "$AS"; then
5561 { echo "$as_me:$LINENO: result: $AS" >&5
5562 echo "${ECHO_T}$AS" >&6; }
5564 { echo "$as_me:$LINENO: result: no" >&5
5565 echo "${ECHO_T}no" >&6; }
5570 if test -z "$ac_cv_prog_AS"; then
5572 # Extract the first word of "as", so it can be a program name with args.
5573 set dummy as; ac_word=$2
5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5576 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 if test -n "$ac_ct_AS"; then
5580 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_prog_ac_ct_AS="as"
5590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5600 if test -n "$ac_ct_AS"; then
5601 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5602 echo "${ECHO_T}$ac_ct_AS" >&6; }
5604 { echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6; }
5608 if test "x$ac_ct_AS" = x; then
5611 case $cross_compiling:$ac_tool_warned in
5613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5614 whose name does not start with the host triplet. If you think this
5615 configuration is useful to you, please write to autoconf@gnu.org." >&5
5616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5617 whose name does not start with the host triplet. If you think this
5618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5619 ac_tool_warned=yes ;;
5627 if test -n "$ac_tool_prefix"; then
5628 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5629 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5632 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 if test -n "$OBJDUMP"; then
5636 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5645 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 OBJDUMP=$ac_cv_prog_OBJDUMP
5656 if test -n "$OBJDUMP"; then
5657 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5658 echo "${ECHO_T}$OBJDUMP" >&6; }
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5666 if test -z "$ac_cv_prog_OBJDUMP"; then
5667 ac_ct_OBJDUMP=$OBJDUMP
5668 # Extract the first word of "objdump", so it can be a program name with args.
5669 set dummy objdump; ac_word=$2
5670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 if test -n "$ac_ct_OBJDUMP"; then
5676 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5696 if test -n "$ac_ct_OBJDUMP"; then
5697 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5698 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5700 { echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6; }
5704 if test "x$ac_ct_OBJDUMP" = x; then
5707 case $cross_compiling:$ac_tool_warned in
5709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5710 whose name does not start with the host triplet. If you think this
5711 configuration is useful to you, please write to autoconf@gnu.org." >&5
5712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5713 whose name does not start with the host triplet. If you think this
5714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5715 ac_tool_warned=yes ;;
5717 OBJDUMP=$ac_ct_OBJDUMP
5720 OBJDUMP="$ac_cv_prog_OBJDUMP"
5727 need_locks="$enable_libtool_lock"
5731 ac_cpp='$CPP $CPPFLAGS'
5732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5735 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5736 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5737 # On Suns, sometimes $CPP names a directory.
5738 if test -n "$CPP" && test -d "$CPP"; then
5741 if test -z "$CPP"; then
5742 if test "${ac_cv_prog_CPP+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 # Double quotes because CPP needs to be expanded
5746 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5749 for ac_c_preproc_warn_flag in '' yes
5751 # Use a header file that comes with gcc, so configuring glibc
5752 # with a fresh cross-compiler works.
5753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5754 # <limits.h> exists even on freestanding compilers.
5755 # On the NeXT, cc -E runs the code through the compiler's parser,
5756 # not just through cpp. "Syntax error" is here to catch this case.
5757 cat >conftest.$ac_ext <<_ACEOF
5760 cat confdefs.h >>conftest.$ac_ext
5761 cat >>conftest.$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5764 # include <limits.h>
5766 # include <assert.h>
5770 if { (ac_try="$ac_cpp conftest.$ac_ext"
5772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5773 *) ac_try_echo
=$ac_try;;
5775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5778 grep -v '^ *+' conftest.er1
>conftest.err
5780 cat conftest.err
>&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); } >/dev
/null
&& {
5783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5784 test ! -s conftest.err
5788 echo "$as_me: failed program was:" >&5
5789 sed 's/^/| /' conftest.
$ac_ext >&5
5791 # Broken: fails on valid input.
5795 rm -f conftest.err conftest.
$ac_ext
5797 # OK, works on sane cases. Now check whether nonexistent headers
5798 # can be detected and how.
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5805 #include <ac_nonexistent.h>
5807 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5810 *) ac_try_echo=$ac_try;;
5812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5815 grep -v '^ *+' conftest.er1 >conftest.err
5817 cat conftest.err >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); } >/dev/null && {
5820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5821 test ! -s conftest.err
5823 # Broken: success on invalid input.
5826 echo "$as_me: failed program was:" >&5
5827 sed 's/^/| /' conftest.$ac_ext >&5
5829 # Passes both tests.
5834 rm -f conftest.err conftest.$ac_ext
5837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5838 rm -f conftest.err conftest.
$ac_ext
5839 if $ac_preproc_ok; then
5851 { echo "$as_me:$LINENO: result: $CPP" >&5
5852 echo "${ECHO_T}$CPP" >&6; }
5854 for ac_c_preproc_warn_flag
in '' yes
5856 # Use a header file that comes with gcc, so configuring glibc
5857 # with a fresh cross-compiler works.
5858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5859 # <limits.h> exists even on freestanding compilers.
5860 # On the NeXT, cc -E runs the code through the compiler's parser,
5861 # not just through cpp. "Syntax error" is here to catch this case.
5862 cat >conftest.
$ac_ext <<_ACEOF
5865 cat confdefs.h
>>conftest.
$ac_ext
5866 cat >>conftest.
$ac_ext <<_ACEOF
5867 /* end confdefs.h. */
5869 # include <limits.h>
5871 # include <assert.h>
5875 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5878 *) ac_try_echo=$ac_try;;
5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5883 grep -v '^ *+' conftest.er1 >conftest.err
5885 cat conftest.err >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } >/dev/null && {
5888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5889 test ! -s conftest.err
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.$ac_ext >&5
5896 # Broken: fails on valid input.
5900 rm -f conftest.err conftest.$ac_ext
5902 # OK, works on sane cases. Now check whether nonexistent headers
5903 # can be detected and how.
5904 cat >conftest.$ac_ext <<_ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5910 #include <ac_nonexistent.h>
5912 if { (ac_try="$ac_cpp conftest.$ac_ext"
5914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5915 *) ac_try_echo
=$ac_try;;
5917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5920 grep -v '^ *+' conftest.er1
>conftest.err
5922 cat conftest.err
>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } >/dev
/null
&& {
5925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5926 test ! -s conftest.err
5928 # Broken: success on invalid input.
5931 echo "$as_me: failed program was:" >&5
5932 sed 's/^/| /' conftest.
$ac_ext >&5
5934 # Passes both tests.
5939 rm -f conftest.err conftest.
$ac_ext
5942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5943 rm -f conftest.err conftest.
$ac_ext
5944 if $ac_preproc_ok; then
5947 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5948 See \`config.log' for more details." >&5
5949 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5950 See \`config.log' for more details." >&2;}
5951 { (exit 1); exit 1; }; }
5955 ac_cpp
='$CPP $CPPFLAGS'
5956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5961 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5962 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5963 if test "${ac_cv_header_stdc+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 cat >conftest.
$ac_ext <<_ACEOF
5969 cat confdefs.h
>>conftest.
$ac_ext
5970 cat >>conftest.
$ac_ext <<_ACEOF
5971 /* end confdefs.h. */
5985 rm -f conftest.
$ac_objext
5986 if { (ac_try
="$ac_compile"
5988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5989 *) ac_try_echo=$ac_try;;
5991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 (eval "$ac_compile") 2>conftest.er1
5994 grep -v '^ *+' conftest.er1 >conftest.err
5996 cat conftest.err >&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } && {
5999 test -z "$ac_c_werror_flag" ||
6000 test ! -s conftest.err
6001 } && test -s conftest.$ac_objext; then
6002 ac_cv_header_stdc=yes
6004 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.$ac_ext >&5
6007 ac_cv_header_stdc=no
6010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012 if test $ac_cv_header_stdc = yes; then
6013 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6014 cat >conftest.$ac_ext <<_ACEOF
6017 cat confdefs.h >>conftest.$ac_ext
6018 cat >>conftest.$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6024 $EGREP "memchr" >/dev/null 2>&1; then
6027 ac_cv_header_stdc=no
6033 if test $ac_cv_header_stdc = yes; then
6034 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6035 cat >conftest.$ac_ext <<_ACEOF
6038 cat confdefs.h >>conftest.$ac_ext
6039 cat >>conftest.$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6045 $EGREP "free" >/dev/null 2>&1; then
6048 ac_cv_header_stdc=no
6054 if test $ac_cv_header_stdc = yes; then
6055 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6056 if test "$cross_compiling" = yes; then
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6067 #if ((' ' & 0x0FF) == 0x020)
6068 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6069 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6071 # define ISLOWER(c) \
6072 (('a' <= (c) && (c) <= 'i') \
6073 || ('j' <= (c) && (c) <= 'r') \
6074 || ('s' <= (c) && (c) <= 'z'))
6075 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6078 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6083 for (i = 0; i < 256; i++)
6084 if (XOR (islower (i), ISLOWER (i))
6085 || toupper (i) != TOUPPER (i))
6090 rm -f conftest$ac_exeext
6091 if { (ac_try="$ac_link"
6093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6094 *) ac_try_echo
=$ac_try;;
6096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6097 (eval "$ac_link") 2>&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6101 { (case "(($ac_try" in
6102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6103 *) ac_try_echo=$ac_try;;
6105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6106 (eval "$ac_try") 2>&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; }; then
6112 echo "$as_me: program exited with status $ac_status" >&5
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.$ac_ext >&5
6117 ac_cv_header_stdc=no
6119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6125 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6126 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6127 if test $ac_cv_header_stdc = yes; then
6129 cat >>confdefs.h <<\_ACEOF
6130 #define STDC_HEADERS 1
6135 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6145 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6146 inttypes.h stdint.h unistd.h
6148 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 cat >conftest.$ac_ext <<_ACEOF
6157 cat confdefs.h >>conftest.$ac_ext
6158 cat >>conftest.$ac_ext <<_ACEOF
6159 /* end confdefs.h. */
6160 $ac_includes_default
6162 #include <$ac_header>
6164 rm -f conftest.$ac_objext
6165 if { (ac_try="$ac_compile"
6167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6168 *) ac_try_echo
=$ac_try;;
6170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6171 (eval "$ac_compile") 2>conftest.er1
6173 grep -v '^ *+' conftest.er1
>conftest.err
6175 cat conftest.err
>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } && {
6178 test -z "$ac_c_werror_flag" ||
6179 test ! -s conftest.err
6180 } && test -s conftest.
$ac_objext; then
6181 eval "$as_ac_Header=yes"
6183 echo "$as_me: failed program was:" >&5
6184 sed 's/^/| /' conftest.
$ac_ext >&5
6186 eval "$as_ac_Header=no"
6189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6191 ac_res
=`eval echo '${'$as_ac_Header'}'`
6192 { echo "$as_me:$LINENO: result: $ac_res" >&5
6193 echo "${ECHO_T}$ac_res" >&6; }
6194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6195 cat >>confdefs.h
<<_ACEOF
6196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6205 for ac_header
in dlfcn.h
6207 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6208 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6211 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 ac_res
=`eval echo '${'$as_ac_Header'}'`
6215 { echo "$as_me:$LINENO: result: $ac_res" >&5
6216 echo "${ECHO_T}$ac_res" >&6; }
6218 # Is the header compilable?
6219 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6221 cat >conftest.
$ac_ext <<_ACEOF
6224 cat confdefs.h
>>conftest.
$ac_ext
6225 cat >>conftest.
$ac_ext <<_ACEOF
6226 /* end confdefs.h. */
6227 $ac_includes_default
6228 #include <$ac_header>
6230 rm -f conftest.
$ac_objext
6231 if { (ac_try
="$ac_compile"
6233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6234 *) ac_try_echo=$ac_try;;
6236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6237 (eval "$ac_compile") 2>conftest.er1
6239 grep -v '^ *+' conftest.er1 >conftest.err
6241 cat conftest.err >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); } && {
6244 test -z "$ac_c_werror_flag" ||
6245 test ! -s conftest.err
6246 } && test -s conftest.$ac_objext; then
6247 ac_header_compiler=yes
6249 echo "$as_me: failed program was:" >&5
6250 sed 's/^/| /' conftest.$ac_ext >&5
6252 ac_header_compiler=no
6255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6257 echo "${ECHO_T}$ac_header_compiler" >&6; }
6259 # Is the header present?
6260 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6262 cat >conftest.$ac_ext <<_ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 #include <$ac_header>
6270 if { (ac_try="$ac_cpp conftest.$ac_ext"
6272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6273 *) ac_try_echo
=$ac_try;;
6275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6278 grep -v '^ *+' conftest.er1
>conftest.err
6280 cat conftest.err
>&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); } >/dev
/null
&& {
6283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6284 test ! -s conftest.err
6286 ac_header_preproc
=yes
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6291 ac_header_preproc
=no
6294 rm -f conftest.err conftest.
$ac_ext
6295 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6296 echo "${ECHO_T}$ac_header_preproc" >&6; }
6298 # So? What about this header?
6299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6305 ac_header_preproc
=yes
6308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6321 ## ---------------------------------------------------------------------- ##
6322 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
6323 ## ---------------------------------------------------------------------- ##
6325 ) |
sed "s/^/$as_me: WARNING: /" >&2
6328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6330 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6
6333 eval "$as_ac_Header=\$ac_header_preproc"
6335 ac_res
=`eval echo '${'$as_ac_Header'}'`
6336 { echo "$as_me:$LINENO: result: $ac_res" >&5
6337 echo "${ECHO_T}$ac_res" >&6; }
6340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6341 cat >>confdefs.h
<<_ACEOF
6342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6350 ac_cpp
='$CXXCPP $CPPFLAGS'
6351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6354 if test -z "$CXX"; then
6355 if test -n "$CCC"; then
6358 if test -n "$ac_tool_prefix"; then
6359 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6365 if test "${ac_cv_prog_CXX+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6368 if test -n "$CXX"; then
6369 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6375 test -z "$as_dir" && as_dir
=.
6376 for ac_exec_ext
in '' $ac_executable_extensions; do
6377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6378 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 if test -n "$CXX"; then
6390 { echo "$as_me:$LINENO: result: $CXX" >&5
6391 echo "${ECHO_T}$CXX" >&6; }
6393 { echo "$as_me:$LINENO: result: no" >&5
6394 echo "${ECHO_T}no" >&6; }
6398 test -n "$CXX" && break
6401 if test -z "$CXX"; then
6403 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
6405 # Extract the first word of "$ac_prog", so it can be a program name with args.
6406 set dummy
$ac_prog; ac_word
=$2
6407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6409 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 if test -n "$ac_ct_CXX"; then
6413 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir
=.
6420 for ac_exec_ext
in '' $ac_executable_extensions; do
6421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6433 if test -n "$ac_ct_CXX"; then
6434 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6435 echo "${ECHO_T}$ac_ct_CXX" >&6; }
6437 { echo "$as_me:$LINENO: result: no" >&5
6438 echo "${ECHO_T}no" >&6; }
6442 test -n "$ac_ct_CXX" && break
6445 if test "x$ac_ct_CXX" = x
; then
6448 case $cross_compiling:$ac_tool_warned in
6450 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6451 whose name does not start with the host triplet. If you think this
6452 configuration is useful to you, please write to autoconf@gnu.org." >&5
6453 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6454 whose name does not start with the host triplet. If you think this
6455 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6456 ac_tool_warned
=yes ;;
6464 # Provide some information about the compiler.
6465 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6466 ac_compiler
=`set X $ac_compile; echo $2`
6467 { (ac_try
="$ac_compiler --version >&5"
6469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6470 *) ac_try_echo=$ac_try;;
6472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6473 (eval "$ac_compiler --version >&5") 2>&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }
6477 { (ac_try="$ac_compiler -v >&5"
6479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6480 *) ac_try_echo
=$ac_try;;
6482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6483 (eval "$ac_compiler -v >&5") 2>&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }
6487 { (ac_try
="$ac_compiler -V >&5"
6489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6490 *) ac_try_echo=$ac_try;;
6492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6493 (eval "$ac_compiler -V >&5") 2>&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); }
6498 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6499 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6500 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6501 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 cat >conftest.$ac_ext <<_ACEOF
6506 cat confdefs.h >>conftest.$ac_ext
6507 cat >>conftest.$ac_ext <<_ACEOF
6508 /* end confdefs.h. */
6521 rm -f conftest.$ac_objext
6522 if { (ac_try="$ac_compile"
6524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6525 *) ac_try_echo
=$ac_try;;
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_compile") 2>conftest.er1
6530 grep -v '^ *+' conftest.er1
>conftest.err
6532 cat conftest.err
>&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); } && {
6535 test -z "$ac_cxx_werror_flag" ||
6536 test ! -s conftest.err
6537 } && test -s conftest.
$ac_objext; then
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.
$ac_ext >&5
6546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6547 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6550 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6551 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6552 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6553 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6554 ac_save_CXXFLAGS
=$CXXFLAGS
6555 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6556 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6557 if test "${ac_cv_prog_cxx_g+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
6561 ac_cxx_werror_flag
=yes
6564 cat >conftest.
$ac_ext <<_ACEOF
6567 cat confdefs.h
>>conftest.
$ac_ext
6568 cat >>conftest.
$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6579 rm -f conftest.
$ac_objext
6580 if { (ac_try
="$ac_compile"
6582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6583 *) ac_try_echo=$ac_try;;
6585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6586 (eval "$ac_compile") 2>conftest.er1
6588 grep -v '^ *+' conftest.er1 >conftest.err
6590 cat conftest.err >&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); } && {
6593 test -z "$ac_cxx_werror_flag" ||
6594 test ! -s conftest.err
6595 } && test -s conftest.$ac_objext; then
6596 ac_cv_prog_cxx_g=yes
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.$ac_ext >&5
6602 cat >conftest.$ac_ext <<_ACEOF
6605 cat confdefs.h >>conftest.$ac_ext
6606 cat >>conftest.$ac_ext <<_ACEOF
6607 /* end confdefs.h. */
6617 rm -f conftest.$ac_objext
6618 if { (ac_try="$ac_compile"
6620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6621 *) ac_try_echo
=$ac_try;;
6623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6624 (eval "$ac_compile") 2>conftest.er1
6626 grep -v '^ *+' conftest.er1
>conftest.err
6628 cat conftest.err
>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && {
6631 test -z "$ac_cxx_werror_flag" ||
6632 test ! -s conftest.err
6633 } && test -s conftest.
$ac_objext; then
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.
$ac_ext >&5
6639 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
6641 cat >conftest.
$ac_ext <<_ACEOF
6644 cat confdefs.h
>>conftest.
$ac_ext
6645 cat >>conftest.
$ac_ext <<_ACEOF
6646 /* end confdefs.h. */
6656 rm -f conftest.
$ac_objext
6657 if { (ac_try
="$ac_compile"
6659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6660 *) ac_try_echo=$ac_try;;
6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6663 (eval "$ac_compile") 2>conftest.er1
6665 grep -v '^ *+' conftest.er1 >conftest.err
6667 cat conftest.err >&5
6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669 (exit $ac_status); } && {
6670 test -z "$ac_cxx_werror_flag" ||
6671 test ! -s conftest.err
6672 } && test -s conftest.$ac_objext; then
6673 ac_cv_prog_cxx_g=yes
6675 echo "$as_me: failed program was:" >&5
6676 sed 's/^/| /' conftest.$ac_ext >&5
6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6688 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6690 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6691 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6692 if test "$ac_test_CXXFLAGS" = set; then
6693 CXXFLAGS=$ac_save_CXXFLAGS
6694 elif test $ac_cv_prog_cxx_g = yes; then
6695 if test "$GXX" = yes; then
6701 if test "$GXX" = yes; then
6708 ac_cpp='$CXXCPP $CPPFLAGS'
6709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6713 depcc="$CXX" am_compiler_list=
6715 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6716 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6717 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6718 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6721 # We make a subdir and do the tests there. Otherwise we can end up
6722 # making bogus files that we don't know about and never remove. For
6723 # instance it was reported that on HP-UX the gcc test will end up
6724 # making a dummy file named `D
' -- because `-MD' means
`put the output
6727 # Copy depcomp to subdir because otherwise we won't find it if we're
6728 # using a relative directory.
6729 cp "$am_depcomp" conftest.dir
6731 # We will build objects and dependencies in a subdirectory because
6732 # it helps to detect inapplicable dependency modes. For instance
6733 # both Tru64's cc and ICC support -MD to output dependencies as a
6734 # side effect of compilation, but ICC will put the dependencies in
6735 # the current directory while Tru64 will put them in the object
6739 am_cv_CXX_dependencies_compiler_type=none
6740 if test "$am_compiler_list" = ""; then
6741 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6743 for depmode in $am_compiler_list; do
6744 # Setup a source with many dependencies, because some compilers
6745 # like to wrap large dependency lists on column 80 (with \), and
6746 # we should not choose a depcomp mode which is confused by this.
6748 # We need to recreate these files for each test, as the compiler may
6749 # overwrite some of them when testing with obscure command lines.
6750 # This happens at least with the AIX C compiler.
6752 for i in 1 2 3 4 5 6; do
6753 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6754 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6755 # Solaris 8's
{/usr
,}/bin
/sh.
6756 touch sub
/conftst
$i.h
6758 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6762 # after this tag, mechanisms are not by side-effect, so they'll
6763 # only be used when explicitly requested
6764 if test "x$enable_dependency_tracking" = xyes
; then
6772 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6773 # mode. It turns out that the SunPro C++ compiler does not properly
6774 # handle `-M -o', and we need to detect this.
6775 if depmode
=$depmode \
6776 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6777 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6778 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6779 >/dev
/null
2>conftest.err
&&
6780 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6781 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6782 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6783 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6784 # icc doesn't choke on unknown options, it will just issue warnings
6785 # or remarks (even with -Werror). So we grep stderr for any message
6786 # that says an option was ignored or not supported.
6787 # When given -MP, icc 7.0 and 7.1 complain thusly:
6788 # icc: Command line warning: ignoring option '-M'; no argument required
6789 # The diagnosis changed in icc 8.0:
6790 # icc: Command line remark: option '-MP' not supported
6791 if (grep 'ignoring option' conftest.err ||
6792 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6793 am_cv_CXX_dependencies_compiler_type
=$depmode
6802 am_cv_CXX_dependencies_compiler_type
=none
6806 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6807 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6808 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6811 test "x$enable_dependency_tracking" != xno \
6812 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6813 am__fastdepCXX_TRUE
=
6814 am__fastdepCXX_FALSE
='#'
6816 am__fastdepCXX_TRUE
='#'
6817 am__fastdepCXX_FALSE
=
6823 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6824 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6825 (test "X$CXX" != "Xg++"))) ; then
6827 ac_cpp
='$CXXCPP $CPPFLAGS'
6828 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6829 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6830 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6831 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6832 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6833 if test -z "$CXXCPP"; then
6834 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6837 # Double quotes because CXXCPP needs to be expanded
6838 for CXXCPP
in "$CXX -E" "/lib/cpp"
6841 for ac_cxx_preproc_warn_flag
in '' yes
6843 # Use a header file that comes with gcc, so configuring glibc
6844 # with a fresh cross-compiler works.
6845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6846 # <limits.h> exists even on freestanding compilers.
6847 # On the NeXT, cc -E runs the code through the compiler's parser,
6848 # not just through cpp. "Syntax error" is here to catch this case.
6849 cat >conftest.
$ac_ext <<_ACEOF
6852 cat confdefs.h
>>conftest.
$ac_ext
6853 cat >>conftest.
$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6856 # include <limits.h>
6858 # include <assert.h>
6862 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6865 *) ac_try_echo=$ac_try;;
6867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6870 grep -v '^ *+' conftest.er1 >conftest.err
6872 cat conftest.err >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } >/dev/null && {
6875 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6876 test ! -s conftest.err
6880 echo "$as_me: failed program was:" >&5
6881 sed 's/^/| /' conftest.$ac_ext >&5
6883 # Broken: fails on valid input.
6887 rm -f conftest.err conftest.$ac_ext
6889 # OK, works on sane cases. Now check whether nonexistent headers
6890 # can be detected and how.
6891 cat >conftest.$ac_ext <<_ACEOF
6894 cat confdefs.h >>conftest.$ac_ext
6895 cat >>conftest.$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6897 #include <ac_nonexistent.h>
6899 if { (ac_try="$ac_cpp conftest.$ac_ext"
6901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6902 *) ac_try_echo
=$ac_try;;
6904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6907 grep -v '^ *+' conftest.er1
>conftest.err
6909 cat conftest.err
>&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } >/dev
/null
&& {
6912 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6913 test ! -s conftest.err
6915 # Broken: success on invalid input.
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.
$ac_ext >&5
6921 # Passes both tests.
6926 rm -f conftest.err conftest.
$ac_ext
6929 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6930 rm -f conftest.err conftest.
$ac_ext
6931 if $ac_preproc_ok; then
6936 ac_cv_prog_CXXCPP
=$CXXCPP
6939 CXXCPP
=$ac_cv_prog_CXXCPP
6941 ac_cv_prog_CXXCPP
=$CXXCPP
6943 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6944 echo "${ECHO_T}$CXXCPP" >&6; }
6946 for ac_cxx_preproc_warn_flag
in '' yes
6948 # Use a header file that comes with gcc, so configuring glibc
6949 # with a fresh cross-compiler works.
6950 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6951 # <limits.h> exists even on freestanding compilers.
6952 # On the NeXT, cc -E runs the code through the compiler's parser,
6953 # not just through cpp. "Syntax error" is here to catch this case.
6954 cat >conftest.
$ac_ext <<_ACEOF
6957 cat confdefs.h
>>conftest.
$ac_ext
6958 cat >>conftest.
$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6961 # include <limits.h>
6963 # include <assert.h>
6967 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6970 *) ac_try_echo=$ac_try;;
6972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6975 grep -v '^ *+' conftest.er1 >conftest.err
6977 cat conftest.err >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } >/dev/null && {
6980 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6981 test ! -s conftest.err
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6988 # Broken: fails on valid input.
6992 rm -f conftest.err conftest.$ac_ext
6994 # OK, works on sane cases. Now check whether nonexistent headers
6995 # can be detected and how.
6996 cat >conftest.$ac_ext <<_ACEOF
6999 cat confdefs.h >>conftest.$ac_ext
7000 cat >>conftest.$ac_ext <<_ACEOF
7001 /* end confdefs.h. */
7002 #include <ac_nonexistent.h>
7004 if { (ac_try="$ac_cpp conftest.$ac_ext"
7006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7007 *) ac_try_echo
=$ac_try;;
7009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7012 grep -v '^ *+' conftest.er1
>conftest.err
7014 cat conftest.err
>&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } >/dev
/null
&& {
7017 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7018 test ! -s conftest.err
7020 # Broken: success on invalid input.
7023 echo "$as_me: failed program was:" >&5
7024 sed 's/^/| /' conftest.
$ac_ext >&5
7026 # Passes both tests.
7031 rm -f conftest.err conftest.
$ac_ext
7034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7035 rm -f conftest.err conftest.
$ac_ext
7036 if $ac_preproc_ok; then
7039 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7040 See \`config.log' for more details." >&5
7041 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7042 See \`config.log' for more details." >&2;}
7043 { (exit 1); exit 1; }; }
7047 ac_cpp
='$CXXCPP $CPPFLAGS'
7048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7056 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7057 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7058 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
7059 if test -n "$ac_tool_prefix"; then
7060 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7062 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7063 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7066 if test "${ac_cv_prog_F77+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 if test -n "$F77"; then
7070 ac_cv_prog_F77
="$F77" # Let the user override the test.
7072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir
=.
7077 for ac_exec_ext
in '' $ac_executable_extensions; do
7078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
7080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 if test -n "$F77"; then
7091 { echo "$as_me:$LINENO: result: $F77" >&5
7092 echo "${ECHO_T}$F77" >&6; }
7094 { echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6; }
7099 test -n "$F77" && break
7102 if test -z "$F77"; then
7104 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7106 # Extract the first word of "$ac_prog", so it can be a program name with args.
7107 set dummy
$ac_prog; ac_word
=$2
7108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7110 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 if test -n "$ac_ct_F77"; then
7114 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
7116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir
=.
7121 for ac_exec_ext
in '' $ac_executable_extensions; do
7122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7123 ac_cv_prog_ac_ct_F77
="$ac_prog"
7124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
7134 if test -n "$ac_ct_F77"; then
7135 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7136 echo "${ECHO_T}$ac_ct_F77" >&6; }
7138 { echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6; }
7143 test -n "$ac_ct_F77" && break
7146 if test "x$ac_ct_F77" = x
; then
7149 case $cross_compiling:$ac_tool_warned in
7151 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7152 whose name does not start with the host triplet. If you think this
7153 configuration is useful to you, please write to autoconf@gnu.org." >&5
7154 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7155 whose name does not start with the host triplet. If you think this
7156 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7157 ac_tool_warned
=yes ;;
7164 # Provide some information about the compiler.
7165 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7166 ac_compiler
=`set X $ac_compile; echo $2`
7167 { (ac_try
="$ac_compiler --version >&5"
7169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7170 *) ac_try_echo=$ac_try;;
7172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7173 (eval "$ac_compiler --version >&5") 2>&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }
7177 { (ac_try="$ac_compiler -v >&5"
7179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7180 *) ac_try_echo
=$ac_try;;
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_compiler -v >&5") 2>&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }
7187 { (ac_try
="$ac_compiler -V >&5"
7189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7190 *) ac_try_echo=$ac_try;;
7192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7193 (eval "$ac_compiler -V >&5") 2>&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); }
7199 # If we don't use `.F
' as extension, the preprocessor is not run on the
7200 # input file. (Note that this only needs to work for GNU compilers.)
7203 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7204 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7205 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 cat >conftest.$ac_ext <<_ACEOF
7216 rm -f conftest.$ac_objext
7217 if { (ac_try="$ac_compile"
7219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7220 *) ac_try_echo=$ac_try;;
7222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7223 (eval "$ac_compile") 2>conftest.er1
7225 grep -v '^
*+' conftest.er1 >conftest.err
7227 cat conftest.err >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } && {
7230 test -z "$ac_f77_werror_flag" ||
7231 test ! -s conftest.err
7232 } && test -s conftest.$ac_objext; then
7235 echo "$as_me: failed program was:" >&5
7236 sed 's
/^
/|
/' conftest.$ac_ext >&5
7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7245 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7246 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7248 ac_test_FFLAGS=${FFLAGS+set}
7249 ac_save_FFLAGS=$FFLAGS
7251 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7252 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7253 if test "${ac_cv_prog_f77_g+set}" = set; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 cat >conftest.$ac_ext <<_ACEOF
7262 rm -f conftest.$ac_objext
7263 if { (ac_try="$ac_compile"
7265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7266 *) ac_try_echo=$ac_try;;
7268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7269 (eval "$ac_compile") 2>conftest.er1
7271 grep -v '^
*+' conftest.er1 >conftest.err
7273 cat conftest.err >&5
7274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 (exit $ac_status); } && {
7276 test -z "$ac_f77_werror_flag" ||
7277 test ! -s conftest.err
7278 } && test -s conftest.$ac_objext; then
7279 ac_cv_prog_f77_g=yes
7281 echo "$as_me: failed program was:" >&5
7282 sed 's
/^
/|
/' conftest.$ac_ext >&5
7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7290 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7291 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7292 if test "$ac_test_FFLAGS" = set; then
7293 FFLAGS=$ac_save_FFLAGS
7294 elif test $ac_cv_prog_f77_g = yes; then
7295 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7301 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7308 G77=`test $ac_compiler_gnu = yes && echo yes`
7310 ac_cpp='$CPP $CPPFLAGS'
7311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7312 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7317 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
7319 # find the maximum length of command line arguments
7320 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7321 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7322 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7323 echo $ECHO_N "(cached) $ECHO_C" >&6
7330 # On DJGPP, this test can blow up pretty badly due to problems in libc
7331 # (any single argument exceeding 2000 bytes causes a buffer overrun
7332 # during glob expansion). Even if it were fixed, the result of this
7333 # check would be larger than it should be.
7334 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7338 # Under GNU Hurd, this test is not required because there is
7339 # no limit to the length of command line arguments.
7340 # Libtool will interpret -1 as no limit whatsoever
7341 lt_cv_sys_max_cmd_len
=-1;
7345 # On Win9x/ME, this test blows up -- it succeeds, but takes
7346 # about 5 minutes as the teststring grows exponentially.
7347 # Worse, since 9x/ME are not pre-emptively multitasking,
7348 # you end up with a "frozen" computer, even though with patience
7349 # the test eventually succeeds (with a max line length of 256k).
7350 # Instead, let's just punt: use the minimum linelength reported by
7351 # all of the supported platforms: 8192 (on NT/2K/XP).
7352 lt_cv_sys_max_cmd_len
=8192;
7356 # On AmigaOS with pdksh, this test takes hours, literally.
7357 # So we just punt and use a minimum line length of 8192.
7358 lt_cv_sys_max_cmd_len
=8192;
7361 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7362 # This has been around since 386BSD, at least. Likely further.
7363 if test -x /sbin
/sysctl
; then
7364 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7365 elif test -x /usr
/sbin
/sysctl
; then
7366 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7368 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7370 # And add a safety zone
7371 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7372 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7376 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7377 lt_cv_sys_max_cmd_len
=196608
7381 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7382 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7383 # nice to cause kernel panics so lets avoid the loop below.
7384 # First set a reasonable default.
7385 lt_cv_sys_max_cmd_len
=16384
7387 if test -x /sbin
/sysconfig
; then
7388 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7389 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7394 lt_cv_sys_max_cmd_len
=102400
7396 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7397 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7398 if test -n "$kargmax"; then
7399 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7401 lt_cv_sys_max_cmd_len
=32768
7405 # If test is not a shell built-in, we'll probably end up computing a
7406 # maximum length that is only half of the actual maximum length, but
7408 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7409 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7410 = "XX$teststring") >/dev
/null
2>&1 &&
7411 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7412 lt_cv_sys_max_cmd_len
=$new_result &&
7413 test $i != 17 # 1/2 MB should be enough
7416 teststring
=$teststring$teststring
7419 # Add a significant safety factor because C++ compilers can tack on massive
7420 # amounts of additional arguments before passing them to the linker.
7421 # It appears as though 1/2 is a usable value.
7422 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7428 if test -n $lt_cv_sys_max_cmd_len ; then
7429 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7430 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7432 { echo "$as_me:$LINENO: result: none" >&5
7433 echo "${ECHO_T}none" >&6; }
7439 # Check for command to grab the raw symbol name followed by C symbol from nm.
7440 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7441 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7442 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7443 echo $ECHO_N "(cached) $ECHO_C" >&6
7446 # These are sane defaults that work on at least a few old systems.
7447 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7449 # Character class describing NM global symbol codes.
7450 symcode
='[BCDEGRST]'
7452 # Regexp to match symbols that can be accessed directly from C.
7453 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7455 # Transform an extracted symbol line into a proper C declaration
7456 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7458 # Transform an extracted symbol line into symbol name and symbol address
7459 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7461 # Define system-specific variables.
7466 cygwin
* | mingw
* | pw32
*)
7467 symcode
='[ABCDGISTW]'
7469 hpux
*) # Its linker distinguishes data from code symbols
7470 if test "$host_cpu" = ia64
; then
7471 symcode
='[ABCDEGRST]'
7473 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7474 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7477 if test "$host_cpu" = ia64
; then
7478 symcode
='[ABCDGIRSTW]'
7479 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7480 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7484 symcode
='[BCDEGRST]'
7487 symcode
='[BCDEGQRST]'
7498 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7506 # Handle CRLF in mingw tool chain
7510 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7514 # If we're using GNU nm, then use its standard symbol codes.
7515 case `$NM -V 2>&1` in
7516 *GNU
* |
*'with BFD'*)
7517 symcode
='[ABCDGIRSTW]' ;;
7520 # Try without a prefix undercore, then with it.
7521 for ac_symprfx
in "" "_"; do
7523 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7524 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7526 # Write the raw and C identifiers.
7527 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7529 # Check to see that the pipe works correctly.
7533 cat > conftest.
$ac_ext <<EOF
7538 void nm_test_func(){}
7542 int main(){nm_test_var='a';nm_test_func();return(0);}
7545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7546 (eval $ac_compile) 2>&5
7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549 (exit $ac_status); }; then
7550 # Now try to grab the symbols.
7552 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7553 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); } && test -s "$nlist"; then
7557 # Try sorting and uniquifying the output.
7558 if sort "$nlist" |
uniq > "$nlist"T
; then
7559 mv -f "$nlist"T
"$nlist"
7564 # Make sure that we snagged all the symbols we need.
7565 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7566 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7567 cat <<EOF > conftest.$ac_ext
7573 # Now generate the symbol file.
7574 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7576 cat <<EOF >> conftest.$ac_ext
7577 #if defined (__STDC__) && __STDC__
7578 # define lt_ptr_t void *
7580 # define lt_ptr_t char *
7584 /* The mapping between symbol names and symbols. */
7589 lt_preloaded_symbols[] =
7592 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
7593 cat <<\EOF
>> conftest.
$ac_ext
7601 # Now try linking the two files.
7602 mv conftest.
$ac_objext conftstm.
$ac_objext
7603 lt_save_LIBS
="$LIBS"
7604 lt_save_CFLAGS
="$CFLAGS"
7605 LIBS
="conftstm.$ac_objext"
7606 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7608 (eval $ac_link) 2>&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7614 LIBS
="$lt_save_LIBS"
7615 CFLAGS
="$lt_save_CFLAGS"
7617 echo "cannot find nm_test_func in $nlist" >&5
7620 echo "cannot find nm_test_var in $nlist" >&5
7623 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7626 echo "$progname: failed program was:" >&5
7627 cat conftest.
$ac_ext >&5
7629 rm -f conftest
* conftst
*
7631 # Do not use the global_symbol_pipe unless it works.
7632 if test "$pipe_works" = yes; then
7635 lt_cv_sys_global_symbol_pipe
=
7641 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7642 lt_cv_sys_global_symbol_to_cdecl
=
7644 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7645 { echo "$as_me:$LINENO: result: failed" >&5
7646 echo "${ECHO_T}failed" >&6; }
7648 { echo "$as_me:$LINENO: result: ok" >&5
7649 echo "${ECHO_T}ok" >&6; }
7652 { echo "$as_me:$LINENO: checking for objdir" >&5
7653 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7654 if test "${lt_cv_objdir+set}" = set; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 rm -f .libs
2>/dev
/null
7658 mkdir .libs
2>/dev
/null
7659 if test -d .libs
; then
7662 # MS-DOS does not allow filenames that begin with a dot.
7665 rmdir .libs
2>/dev
/null
7667 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7668 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7669 objdir
=$lt_cv_objdir
7677 # AIX sometimes has problems with the GCC collect2 program. For some
7678 # reason, if we set the COLLECT_NAMES environment variable, the problems
7679 # vanish in a puff of smoke.
7680 if test "X${COLLECT_NAMES+set}" != Xset
; then
7682 export COLLECT_NAMES
7687 # Sed substitution that helps us do robust quoting. It backslashifies
7688 # metacharacters that are still active within double-quoted strings.
7689 Xsed
='sed -e 1s/^X//'
7690 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7692 # Same as above, but do not quote variable references.
7693 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7695 # Sed substitution to delay expansion of an escaped shell variable in a
7696 # double_quote_subst'ed string.
7697 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7699 # Sed substitution to avoid accidental globbing in evaled expressions
7700 no_glob_subst
='s/\*/\\\*/g'
7706 default_ofile
=libtool
7707 can_build_shared
=yes
7709 # All known linkers require a `.a' archive for static linking (except MSVC,
7710 # which needs '.lib').
7712 ltmain
="$ac_aux_dir/ltmain.sh"
7713 ofile
="$default_ofile"
7714 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7718 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7721 if test "${ac_cv_prog_AR+set}" = set; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7724 if test -n "$AR"; then
7725 ac_cv_prog_AR
="$AR" # Let the user override the test.
7727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir
=.
7732 for ac_exec_ext
in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7745 if test -n "$AR"; then
7746 { echo "$as_me:$LINENO: result: $AR" >&5
7747 echo "${ECHO_T}$AR" >&6; }
7749 { echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6; }
7755 if test -z "$ac_cv_prog_AR"; then
7757 # Extract the first word of "ar", so it can be a program name with args.
7758 set dummy
ar; ac_word
=$2
7759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7761 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7762 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 if test -n "$ac_ct_AR"; then
7765 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir
=.
7772 for ac_exec_ext
in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_ac_ct_AR
="ar"
7775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7785 if test -n "$ac_ct_AR"; then
7786 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7787 echo "${ECHO_T}$ac_ct_AR" >&6; }
7789 { echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6; }
7793 if test "x$ac_ct_AR" = x
; then
7796 case $cross_compiling:$ac_tool_warned in
7798 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7799 whose name does not start with the host triplet. If you think this
7800 configuration is useful to you, please write to autoconf@gnu.org." >&5
7801 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7802 whose name does not start with the host triplet. If you think this
7803 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7804 ac_tool_warned
=yes ;;
7812 if test -n "$ac_tool_prefix"; then
7813 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7814 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7817 if test "${ac_cv_prog_RANLIB+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 if test -n "$RANLIB"; then
7821 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7827 test -z "$as_dir" && as_dir
=.
7828 for ac_exec_ext
in '' $ac_executable_extensions; do
7829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7830 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 RANLIB
=$ac_cv_prog_RANLIB
7841 if test -n "$RANLIB"; then
7842 { echo "$as_me:$LINENO: result: $RANLIB" >&5
7843 echo "${ECHO_T}$RANLIB" >&6; }
7845 { echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6; }
7851 if test -z "$ac_cv_prog_RANLIB"; then
7852 ac_ct_RANLIB
=$RANLIB
7853 # Extract the first word of "ranlib", so it can be a program name with args.
7854 set dummy ranlib
; ac_word
=$2
7855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7857 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 if test -n "$ac_ct_RANLIB"; then
7861 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir
=.
7868 for ac_exec_ext
in '' $ac_executable_extensions; do
7869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7881 if test -n "$ac_ct_RANLIB"; then
7882 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7883 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7885 { echo "$as_me:$LINENO: result: no" >&5
7886 echo "${ECHO_T}no" >&6; }
7889 if test "x$ac_ct_RANLIB" = x
; then
7892 case $cross_compiling:$ac_tool_warned in
7894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7895 whose name does not start with the host triplet. If you think this
7896 configuration is useful to you, please write to autoconf@gnu.org." >&5
7897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7898 whose name does not start with the host triplet. If you think this
7899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7900 ac_tool_warned
=yes ;;
7902 RANLIB
=$ac_ct_RANLIB
7905 RANLIB
="$ac_cv_prog_RANLIB"
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7910 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7913 if test "${ac_cv_prog_STRIP+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 if test -n "$STRIP"; then
7917 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir
=.
7924 for ac_exec_ext
in '' $ac_executable_extensions; do
7925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7926 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 STRIP
=$ac_cv_prog_STRIP
7937 if test -n "$STRIP"; then
7938 { echo "$as_me:$LINENO: result: $STRIP" >&5
7939 echo "${ECHO_T}$STRIP" >&6; }
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7947 if test -z "$ac_cv_prog_STRIP"; then
7949 # Extract the first word of "strip", so it can be a program name with args.
7950 set dummy strip
; ac_word
=$2
7951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 if test -n "$ac_ct_STRIP"; then
7957 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7963 test -z "$as_dir" && as_dir
=.
7964 for ac_exec_ext
in '' $ac_executable_extensions; do
7965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966 ac_cv_prog_ac_ct_STRIP
="strip"
7967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7977 if test -n "$ac_ct_STRIP"; then
7978 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7979 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7981 { echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6; }
7985 if test "x$ac_ct_STRIP" = x
; then
7988 case $cross_compiling:$ac_tool_warned in
7990 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7991 whose name does not start with the host triplet. If you think this
7992 configuration is useful to you, please write to autoconf@gnu.org." >&5
7993 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7994 whose name does not start with the host triplet. If you think this
7995 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7996 ac_tool_warned
=yes ;;
8001 STRIP
="$ac_cv_prog_STRIP"
8006 old_CFLAGS
="$CFLAGS"
8008 # Set sane defaults for various variables
8009 test -z "$AR" && AR
=ar
8010 test -z "$AR_FLAGS" && AR_FLAGS
=cru
8011 test -z "$AS" && AS
=as
8012 test -z "$CC" && CC
=cc
8013 test -z "$LTCC" && LTCC
=$CC
8014 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8015 test -z "$DLLTOOL" && DLLTOOL
=dlltool
8016 test -z "$LD" && LD
=ld
8017 test -z "$LN_S" && LN_S
="ln -s"
8018 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8019 test -z "$NM" && NM
=nm
8020 test -z "$SED" && SED
=sed
8021 test -z "$OBJDUMP" && OBJDUMP
=objdump
8022 test -z "$RANLIB" && RANLIB
=:
8023 test -z "$STRIP" && STRIP
=:
8024 test -z "$ac_objext" && ac_objext
=o
8026 # Determine commands to create old-style static archives.
8027 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8028 old_postinstall_cmds
='chmod 644 $oldlib'
8029 old_postuninstall_cmds
=
8031 if test -n "$RANLIB"; then
8034 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8037 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8040 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8043 for cc_temp
in $compiler""; do
8045 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8046 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8051 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8054 # Only perform the check for file, if the check method requires it
8055 case $deplibs_check_method in
8057 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8058 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8059 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8060 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8061 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8068 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8069 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8070 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8071 for ac_dir
in $ac_dummy; do
8073 test -z "$ac_dir" && ac_dir
=.
8074 if test -f $ac_dir/${ac_tool_prefix}file; then
8075 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8076 if test -n "$file_magic_test_file"; then
8077 case $deplibs_check_method in
8079 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8080 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8081 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8082 $EGREP "$file_magic_regex" > /dev
/null
; then
8087 *** Warning: the command libtool uses to detect shared libraries,
8088 *** $file_magic_cmd, produces output that libtool cannot recognize.
8089 *** The result is that libtool may fail to recognize shared libraries
8090 *** as such. This will affect the creation of libtool libraries that
8091 *** depend on shared libraries, but programs linked with such libtool
8092 *** libraries will work regardless of this problem. Nevertheless, you
8093 *** may want to report the problem to your system manager and/or to
8094 *** bug-libtool@gnu.org
8104 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8109 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8110 if test -n "$MAGIC_CMD"; then
8111 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8112 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8114 { echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6; }
8118 if test -z "$lt_cv_path_MAGIC_CMD"; then
8119 if test -n "$ac_tool_prefix"; then
8120 { echo "$as_me:$LINENO: checking for file" >&5
8121 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8122 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8123 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8130 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8131 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8132 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8133 for ac_dir
in $ac_dummy; do
8135 test -z "$ac_dir" && ac_dir
=.
8136 if test -f $ac_dir/file; then
8137 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8138 if test -n "$file_magic_test_file"; then
8139 case $deplibs_check_method in
8141 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8142 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8143 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8144 $EGREP "$file_magic_regex" > /dev
/null
; then
8149 *** Warning: the command libtool uses to detect shared libraries,
8150 *** $file_magic_cmd, produces output that libtool cannot recognize.
8151 *** The result is that libtool may fail to recognize shared libraries
8152 *** as such. This will affect the creation of libtool libraries that
8153 *** depend on shared libraries, but programs linked with such libtool
8154 *** libraries will work regardless of this problem. Nevertheless, you
8155 *** may want to report the problem to your system manager and/or to
8156 *** bug-libtool@gnu.org
8166 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8171 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8172 if test -n "$MAGIC_CMD"; then
8173 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8174 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8176 { echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6; }
8190 enable_win32_dll
=yes
8192 # Check whether --enable-libtool-lock was given.
8193 if test "${enable_libtool_lock+set}" = set; then
8194 enableval
=$enable_libtool_lock;
8197 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8200 # Check whether --with-pic was given.
8201 if test "${with_pic+set}" = set; then
8202 withval
=$with_pic; pic_mode
="$withval"
8207 test -z "$pic_mode" && pic_mode
=default
8209 # Use C for the default configuration in the libtool script
8213 ac_cpp
='$CPP $CPPFLAGS'
8214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8219 # Source file extension for C test sources.
8222 # Object file extension for compiled C test sources.
8226 # Code to be used in simple compile tests
8227 lt_simple_compile_test_code
="int some_variable = 0;\n"
8229 # Code to be used in simple link tests
8230 lt_simple_link_test_code
='int main(){return(0);}\n'
8233 # If no C compiler was specified, use CC.
8236 # If no C compiler flags were specified, use CFLAGS.
8237 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8239 # Allow CC to be a program name with arguments.
8243 # save warnings/boilerplate of simple test code
8244 ac_outfile
=conftest.
$ac_objext
8245 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
8246 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8247 _lt_compiler_boilerplate
=`cat conftest.err`
8250 ac_outfile
=conftest.
$ac_objext
8251 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
8252 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8253 _lt_linker_boilerplate
=`cat conftest.err`
8258 lt_prog_compiler_no_builtin_flag
=
8260 if test "$GCC" = yes; then
8261 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8264 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8265 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8266 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 lt_cv_prog_compiler_rtti_exceptions
=no
8270 ac_outfile
=conftest.
$ac_objext
8271 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8272 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8273 # Insert the option either (1) after the last *FLAGS variable, or
8274 # (2) before a word containing "conftest.", or (3) at the end.
8275 # Note that $ac_compile itself does not contain backslashes and begins
8276 # with a dollar sign (not a hyphen), so the echo should work correctly.
8277 # The option is referenced via a variable to avoid confusing sed.
8278 lt_compile
=`echo "$ac_compile" | $SED \
8279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8281 -e 's:$: $lt_compiler_flag:'`
8282 (eval echo "\"\$as_me:8282: $lt_compile\"" >&5)
8283 (eval "$lt_compile" 2>conftest.err
)
8285 cat conftest.err
>&5
8286 echo "$as_me:8286: \$? = $ac_status" >&5
8287 if (exit $ac_status) && test -s "$ac_outfile"; then
8288 # The compiler can only warn and ignore the option if not recognized
8289 # So say no if there are warnings other than the usual output.
8290 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8291 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8292 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8293 lt_cv_prog_compiler_rtti_exceptions
=yes
8299 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8300 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8302 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8303 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8310 lt_prog_compiler_wl
=
8311 lt_prog_compiler_pic
=
8312 lt_prog_compiler_static
=
8314 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8315 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8317 if test "$GCC" = yes; then
8318 lt_prog_compiler_wl
='-Wl,'
8319 lt_prog_compiler_static
='-static'
8323 # All AIX code is PIC.
8324 if test "$host_cpu" = ia64
; then
8325 # AIX 5 now supports IA64 processor
8326 lt_prog_compiler_static
='-Bstatic'
8331 # FIXME: we need at least 68020 code to build shared libraries, but
8332 # adding the `-m68020' flag to GCC prevents building anything better,
8334 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8337 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8338 # PIC is the default for these OSes.
8341 mingw
* | pw32
* | os2
*)
8342 # This hack is so that the source file can tell whether it is being
8343 # built for inclusion in a dll (and should export symbols for example).
8344 lt_prog_compiler_pic
='-DDLL_EXPORT'
8347 darwin
* | rhapsody
*)
8348 # PIC is the default on this platform
8349 # Common symbols not allowed in MH_DYLIB files
8350 lt_prog_compiler_pic
='-fno-common'
8354 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8355 # Instead, we relocate shared libraries at runtime.
8359 # Just because we use GCC doesn't mean we suddenly get shared libraries
8360 # on systems that don't support them.
8361 lt_prog_compiler_can_build_shared
=no
8366 if test -d /usr
/nec
; then
8367 lt_prog_compiler_pic
=-Kconform_pic
8372 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8379 lt_prog_compiler_pic
='-fPIC'
8385 lt_prog_compiler_pic
='-fPIC'
8389 # PORTME Check for flag to pass linker flags through the system compiler.
8392 lt_prog_compiler_wl
='-Wl,'
8393 if test "$host_cpu" = ia64
; then
8394 # AIX 5 now supports IA64 processor
8395 lt_prog_compiler_static
='-Bstatic'
8397 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8401 # PIC is the default on this platform
8402 # Common symbols not allowed in MH_DYLIB files
8403 case $cc_basename in
8405 lt_prog_compiler_pic
='-qnocommon'
8406 lt_prog_compiler_wl
='-Wl,'
8411 mingw
* | pw32
* | os2
*)
8412 # This hack is so that the source file can tell whether it is being
8413 # built for inclusion in a dll (and should export symbols for example).
8414 lt_prog_compiler_pic
='-DDLL_EXPORT'
8417 hpux9
* | hpux10
* | hpux11
*)
8418 lt_prog_compiler_wl
='-Wl,'
8419 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8426 lt_prog_compiler_pic
='+Z'
8429 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8430 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8433 irix5
* | irix6
* | nonstopux
*)
8434 lt_prog_compiler_wl
='-Wl,'
8435 # PIC (with -KPIC) is the default.
8436 lt_prog_compiler_static
='-non_shared'
8440 lt_prog_compiler_pic
='-KPIC'
8441 lt_prog_compiler_static
='-Bstatic'
8445 case $cc_basename in
8447 lt_prog_compiler_wl
='-Wl,'
8448 lt_prog_compiler_pic
='-KPIC'
8449 lt_prog_compiler_static
='-static'
8451 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8452 # Portland Group compilers (*not* the Pentium gcc compiler,
8453 # which looks to be a dead project)
8454 lt_prog_compiler_wl
='-Wl,'
8455 lt_prog_compiler_pic
='-fpic'
8456 lt_prog_compiler_static
='-Bstatic'
8459 lt_prog_compiler_wl
='-Wl,'
8460 # All Alpha code is PIC.
8461 lt_prog_compiler_static
='-non_shared'
8466 osf3
* | osf4
* | osf5
*)
8467 lt_prog_compiler_wl
='-Wl,'
8468 # All OSF/1 code is PIC.
8469 lt_prog_compiler_static
='-non_shared'
8473 lt_prog_compiler_pic
='-KPIC'
8474 lt_prog_compiler_static
='-Bstatic'
8475 case $cc_basename in
8477 lt_prog_compiler_wl
='-Qoption ld ';;
8479 lt_prog_compiler_wl
='-Wl,';;
8484 lt_prog_compiler_wl
='-Qoption ld '
8485 lt_prog_compiler_pic
='-PIC'
8486 lt_prog_compiler_static
='-Bstatic'
8489 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8490 lt_prog_compiler_wl
='-Wl,'
8491 lt_prog_compiler_pic
='-KPIC'
8492 lt_prog_compiler_static
='-Bstatic'
8496 if test -d /usr
/nec
;then
8497 lt_prog_compiler_pic
='-Kconform_pic'
8498 lt_prog_compiler_static
='-Bstatic'
8502 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8503 lt_prog_compiler_wl
='-Wl,'
8504 lt_prog_compiler_pic
='-KPIC'
8505 lt_prog_compiler_static
='-Bstatic'
8509 lt_prog_compiler_wl
='-Wl,'
8510 lt_prog_compiler_can_build_shared
=no
8514 lt_prog_compiler_pic
='-pic'
8515 lt_prog_compiler_static
='-Bstatic'
8519 lt_prog_compiler_can_build_shared
=no
8524 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8525 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8528 # Check to make sure the PIC flag actually works.
8530 if test -n "$lt_prog_compiler_pic"; then
8532 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8533 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8534 if test "${lt_prog_compiler_pic_works+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 lt_prog_compiler_pic_works
=no
8538 ac_outfile
=conftest.
$ac_objext
8539 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8540 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8541 # Insert the option either (1) after the last *FLAGS variable, or
8542 # (2) before a word containing "conftest.", or (3) at the end.
8543 # Note that $ac_compile itself does not contain backslashes and begins
8544 # with a dollar sign (not a hyphen), so the echo should work correctly.
8545 # The option is referenced via a variable to avoid confusing sed.
8546 lt_compile
=`echo "$ac_compile" | $SED \
8547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8549 -e 's:$: $lt_compiler_flag:'`
8550 (eval echo "\"\$as_me:8550: $lt_compile\"" >&5)
8551 (eval "$lt_compile" 2>conftest.err
)
8553 cat conftest.err
>&5
8554 echo "$as_me:8554: \$? = $ac_status" >&5
8555 if (exit $ac_status) && test -s "$ac_outfile"; then
8556 # The compiler can only warn and ignore the option if not recognized
8557 # So say no if there are warnings other than the usual output.
8558 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8559 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8560 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8561 lt_prog_compiler_pic_works
=yes
8567 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8568 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8570 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
8571 case $lt_prog_compiler_pic in
8573 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8576 lt_prog_compiler_pic
=
8577 lt_prog_compiler_can_build_shared
=no
8582 # For platforms which do not support PIC, -DPIC is meaningless:
8584 lt_prog_compiler_pic
=
8587 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8592 # Check to make sure the static flag actually works.
8594 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8595 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8596 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8597 if test "${lt_prog_compiler_static_works+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8600 lt_prog_compiler_static_works
=no
8601 save_LDFLAGS
="$LDFLAGS"
8602 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8603 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
8604 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8605 # The linker can only warn and ignore the option if not recognized
8606 # So say no if there are warnings
8607 if test -s conftest.err
; then
8608 # Append any errors to the config.log.
8609 cat conftest.err
1>&5
8610 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8611 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8612 if diff conftest.exp conftest.er2
>/dev
/null
; then
8613 lt_prog_compiler_static_works
=yes
8616 lt_prog_compiler_static_works
=yes
8620 LDFLAGS
="$save_LDFLAGS"
8623 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8624 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8626 if test x
"$lt_prog_compiler_static_works" = xyes
; then
8629 lt_prog_compiler_static
=
8633 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8634 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8635 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 lt_cv_prog_compiler_c_o
=no
8639 $rm -r conftest
2>/dev
/null
8643 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8645 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8646 # Insert the option either (1) after the last *FLAGS variable, or
8647 # (2) before a word containing "conftest.", or (3) at the end.
8648 # Note that $ac_compile itself does not contain backslashes and begins
8649 # with a dollar sign (not a hyphen), so the echo should work correctly.
8650 lt_compile
=`echo "$ac_compile" | $SED \
8651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8653 -e 's:$: $lt_compiler_flag:'`
8654 (eval echo "\"\$as_me:8654: $lt_compile\"" >&5)
8655 (eval "$lt_compile" 2>out
/conftest.err
)
8657 cat out
/conftest.err
>&5
8658 echo "$as_me:8658: \$? = $ac_status" >&5
8659 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8661 # The compiler can only warn and ignore the option if not recognized
8662 # So say no if there are warnings
8663 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8664 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8665 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8666 lt_cv_prog_compiler_c_o
=yes
8671 # SGI C++ compiler will create directory out/ii_files/ for
8672 # template instantiation
8673 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8674 $rm out
/* && rmdir out
8680 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8681 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8684 hard_links
="nottested"
8685 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8686 # do not overwrite the value of need_locks provided by the user
8687 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8688 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8691 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8693 ln conftest.a conftest.b
2>&5 || hard_links
=no
8694 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8695 { echo "$as_me:$LINENO: result: $hard_links" >&5
8696 echo "${ECHO_T}$hard_links" >&6; }
8697 if test "$hard_links" = no
; then
8698 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8699 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8706 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8707 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8710 allow_undefined_flag
=
8711 enable_shared_with_static_runtimes
=no
8713 archive_expsym_cmds
=
8714 old_archive_From_new_cmds
=
8715 old_archive_from_expsyms_cmds
=
8716 export_dynamic_flag_spec
=
8717 whole_archive_flag_spec
=
8718 thread_safe_flag_spec
=
8719 hardcode_libdir_flag_spec
=
8720 hardcode_libdir_flag_spec_ld
=
8721 hardcode_libdir_separator
=
8724 hardcode_shlibpath_var
=unsupported
8725 link_all_deplibs
=unknown
8726 hardcode_automatic
=no
8729 always_export_symbols
=no
8730 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8731 # include_expsyms should be a list of space-separated symbols to be *always*
8732 # included in the symbol list
8734 # exclude_expsyms can be an extended regexp of symbols to exclude
8735 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8736 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8737 # as well as any symbol that contains `d'.
8738 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8739 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8740 # platforms (ab)use it in PIC code, but their linkers get confused if
8741 # the symbol is explicitly referenced. Since portable code cannot
8742 # rely on this symbol name, it's probably fine to never include it in
8743 # preloaded symbol tables.
8744 extract_expsyms_cmds
=
8745 # Just being paranoid about ensuring that cc_basename is set.
8746 for cc_temp
in $compiler""; do
8748 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8749 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8754 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8757 cygwin
* | mingw
* | pw32
*)
8758 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8759 # When not using gcc, we currently assume that we are using
8760 # Microsoft Visual C++.
8761 if test "$GCC" != yes; then
8766 # we just hope/assume this is gcc and not c89 (= MSVC++)
8775 if test "$with_gnu_ld" = yes; then
8776 # If archive_cmds runs LD, not CC, wlarc should be empty
8779 # Set some defaults for GNU ld with shared library support. These
8780 # are reset later if shared libraries are not supported. Putting them
8781 # here allows them to be overridden if necessary.
8782 runpath_var
=LD_RUN_PATH
8783 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8784 export_dynamic_flag_spec
='${wl}--export-dynamic'
8785 # ancient GNU ld didn't support --whole-archive et. al.
8786 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8787 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8789 whole_archive_flag_spec
=
8791 supports_anon_versioning
=no
8792 case `$LD -v 2>/dev/null` in
8793 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8794 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8795 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8796 *\
2.11.
*) ;; # other 2.11 versions
8797 *) supports_anon_versioning
=yes ;;
8800 # See if GNU ld supports shared libraries.
8802 aix3
* | aix4
* | aix5
*)
8803 # On AIX/PPC, the GNU linker is very broken
8804 if test "$host_cpu" != ia64
; then
8808 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8809 *** to be unable to reliably create shared libraries on AIX.
8810 *** Therefore, libtool is disabling shared libraries support. If you
8811 *** really care for shared libraries, you may want to modify your PATH
8812 *** so that a non-GNU linker is found, and then restart.
8819 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)'
8820 hardcode_libdir_flag_spec
='-L$libdir'
8821 hardcode_minus_L
=yes
8823 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8824 # that the semantics of dynamic libraries on AmigaOS, at least up
8825 # to version 4, is to share data among multiple programs linked
8826 # with the same dynamic library. Since this doesn't match the
8827 # behavior of shared libraries on other platforms, we can't use
8833 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8834 allow_undefined_flag
=unsupported
8835 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8836 # support --undefined. This deserves some investigation. FIXME
8837 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843 cygwin
* | mingw
* | pw32
*)
8844 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8845 # as there is no search path for DLLs.
8846 hardcode_libdir_flag_spec
='-L$libdir'
8847 allow_undefined_flag
=unsupported
8848 always_export_symbols
=no
8849 enable_shared_with_static_runtimes
=yes
8850 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8852 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8854 # If the export-symbols file already is a .def file (1st line
8855 # is EXPORTS), use it as is; otherwise, prepend...
8856 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8857 cp $export_symbols $output_objdir/$soname.def;
8859 echo EXPORTS > $output_objdir/$soname.def;
8860 cat $export_symbols >> $output_objdir/$soname.def;
8862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8870 hardcode_shlibpath_var
=no
8871 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8872 export_dynamic_flag_spec
='${wl}-E'
8873 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8874 # Instead, shared libraries are loaded at an image base (0x10000000 by
8875 # default) and relocated if they conflict, which is a slow very memory
8876 # consuming and fragmenting process. To avoid this, we pick a random,
8877 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8878 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8879 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8880 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'
8884 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8886 case $cc_basename,$host_cpu in
8887 pgcc
*) # Portland Group C compiler
8888 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8889 tmp_addflag
=' $pic_flag'
8891 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8892 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8893 tmp_addflag
=' $pic_flag -Mnomain' ;;
8894 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8895 tmp_addflag
=' -i_dynamic' ;;
8896 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8897 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8898 ifc
* | ifort
*) # Intel Fortran compiler
8899 tmp_addflag
=' -nofor_main' ;;
8901 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8903 if test $supports_anon_versioning = yes; then
8904 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8905 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8906 $echo "local: *; };" >> $output_objdir/$libname.ver~
8907 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8915 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8916 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8919 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8920 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8925 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8929 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8930 *** create shared libraries on Solaris systems. Therefore, libtool
8931 *** is disabling shared libraries support. We urge you to upgrade GNU
8932 *** binutils to release 2.9.1 or newer. Another option is to modify
8933 *** your PATH or compiler configuration so that the native linker is
8934 *** used, and then restart.
8937 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8945 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8946 case `$LD -v 2>&1` in
8947 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8951 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8952 *** reliably create shared libraries on SCO systems. Therefore, libtool
8953 *** is disabling shared libraries support. We urge you to upgrade GNU
8954 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8955 *** your PATH or compiler configuration so that the native linker is
8956 *** used, and then restart.
8961 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8962 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8964 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8973 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8976 hardcode_shlibpath_var
=no
8980 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8989 if test "$ld_shlibs" = no
; then
8991 hardcode_libdir_flag_spec
=
8992 export_dynamic_flag_spec
=
8993 whole_archive_flag_spec
=
8996 # PORTME fill in a description of your system's linker (not GNU ld)
8999 allow_undefined_flag
=unsupported
9000 always_export_symbols
=yes
9001 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'
9002 # Note: this linker hardcodes the directories in LIBPATH if there
9003 # are no directories specified by -L.
9004 hardcode_minus_L
=yes
9005 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9006 # Neither direct hardcoding nor static linking is supported with a
9008 hardcode_direct
=unsupported
9013 if test "$host_cpu" = ia64
; then
9014 # On IA64, the linker does run time linking by default, so we don't
9015 # have to do anything special.
9016 aix_use_runtimelinking
=no
9017 exp_sym_flag
='-Bexport'
9020 # If we're using GNU nm, then we don't want the "-C" option.
9021 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9022 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9023 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
9025 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'
9027 aix_use_runtimelinking
=no
9029 # Test if we are trying to use run time linking or normal
9030 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9031 # need to do runtime linking.
9032 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9033 for ld_flag
in $LDFLAGS; do
9034 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9035 aix_use_runtimelinking
=yes
9042 exp_sym_flag
='-bexport'
9043 no_entry_flag
='-bnoentry'
9046 # When large executables or shared objects are built, AIX ld can
9047 # have problems creating the table of contents. If linking a library
9048 # or program results in "error TOC overflow" add -mminimal-toc to
9049 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9050 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9054 hardcode_libdir_separator
=':'
9055 link_all_deplibs
=yes
9057 if test "$GCC" = yes; then
9058 case $host_os in aix4.
[012]|aix4.
[012].
*)
9059 # We only want to do this on AIX 4.2 and lower, the check
9060 # below for broken collect2 doesn't work under 4.3+
9061 collect2name
=`${CC} -print-prog-name=collect2`
9062 if test -f "$collect2name" && \
9063 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9065 # We have reworked collect2
9068 # We have old collect2
9069 hardcode_direct
=unsupported
9070 # It fails to find uninstalled libraries when the uninstalled
9071 # path is not listed in the libpath. Setting hardcode_minus_L
9072 # to unsupported forces relinking
9073 hardcode_minus_L
=yes
9074 hardcode_libdir_flag_spec
='-L$libdir'
9075 hardcode_libdir_separator
=
9079 shared_flag
='-shared'
9080 if test "$aix_use_runtimelinking" = yes; then
9081 shared_flag
="$shared_flag "'${wl}-G'
9085 if test "$host_cpu" = ia64
; then
9086 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9087 # chokes on -Wl,-G. The following line is correct:
9090 if test "$aix_use_runtimelinking" = yes; then
9091 shared_flag
='${wl}-G'
9093 shared_flag
='${wl}-bM:SRE'
9098 # It seems that -bexpall does not export symbols beginning with
9099 # underscore (_), so it is better to generate a list of symbols to export.
9100 always_export_symbols
=yes
9101 if test "$aix_use_runtimelinking" = yes; then
9102 # Warning - without using the other runtime loading flags (-brtl),
9103 # -berok will link without error, but may produce a broken library.
9104 allow_undefined_flag
='-berok'
9105 # Determine the default libpath from the value encoded in an empty executable.
9106 cat >conftest.
$ac_ext <<_ACEOF
9109 cat confdefs.h
>>conftest.
$ac_ext
9110 cat >>conftest.
$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9121 rm -f conftest.
$ac_objext conftest
$ac_exeext
9122 if { (ac_try
="$ac_link"
9124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9125 *) ac_try_echo=$ac_try;;
9127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9128 (eval "$ac_link") 2>conftest.er1
9130 grep -v '^ *+' conftest.er1 >conftest.err
9132 cat conftest.err >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } && {
9135 test -z "$ac_c_werror_flag" ||
9136 test ! -s conftest.err
9137 } && test -s conftest$ac_exeext &&
9138 $as_test_x conftest$ac_exeext; then
9140 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9142 # Check for a 64-bit object if we didn't find anything.
9143 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9146 echo "$as_me: failed program was:" >&5
9147 sed 's/^/| /' conftest.$ac_ext >&5
9152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9153 conftest$ac_exeext conftest.$ac_ext
9154 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9156 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9157 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9159 if test "$host_cpu" = ia64; then
9160 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9161 allow_undefined_flag="-z nodefs"
9162 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"
9164 # Determine the default libpath from the value encoded in an empty executable.
9165 cat >conftest.$ac_ext <<_ACEOF
9168 cat confdefs.h >>conftest.$ac_ext
9169 cat >>conftest.$ac_ext <<_ACEOF
9170 /* end confdefs.h. */
9180 rm -f conftest.$ac_objext conftest$ac_exeext
9181 if { (ac_try="$ac_link"
9183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9184 *) ac_try_echo
=$ac_try;;
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9187 (eval "$ac_link") 2>conftest.er1
9189 grep -v '^ *+' conftest.er1
>conftest.err
9191 cat conftest.err
>&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); } && {
9194 test -z "$ac_c_werror_flag" ||
9195 test ! -s conftest.err
9196 } && test -s conftest
$ac_exeext &&
9197 $as_test_x conftest
$ac_exeext; then
9199 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9201 # Check for a 64-bit object if we didn't find anything.
9202 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.
$ac_ext >&5
9211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9212 conftest
$ac_exeext conftest.
$ac_ext
9213 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9215 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9216 # Warning - without using the other run time loading flags,
9217 # -berok will link without error, but may produce a broken library.
9218 no_undefined_flag
=' ${wl}-bernotok'
9219 allow_undefined_flag
=' ${wl}-berok'
9220 # Exported symbols can be pulled into shared objects from archives
9221 whole_archive_flag_spec
='$convenience'
9222 archive_cmds_need_lc
=yes
9223 # This is similar to how AIX traditionally builds its shared libraries.
9224 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'
9230 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)'
9231 hardcode_libdir_flag_spec
='-L$libdir'
9232 hardcode_minus_L
=yes
9233 # see comment about different semantics on the GNU ld section
9238 export_dynamic_flag_spec
=-rdynamic
9241 cygwin
* | mingw
* | pw32
*)
9242 # When not using gcc, we currently assume that we are using
9243 # Microsoft Visual C++.
9244 # hardcode_libdir_flag_spec is actually meaningless, as there is
9245 # no search path for DLLs.
9246 hardcode_libdir_flag_spec
=' '
9247 allow_undefined_flag
=unsupported
9248 # Tell ltmain to make .lib files, not .a files.
9250 # Tell ltmain to make .dll files, not .so files.
9252 # FIXME: Setting linknames here is a bad hack.
9253 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9254 # The linker will automatically build a .lib file if we build a DLL.
9255 old_archive_From_new_cmds
='true'
9256 # FIXME: Should let the user specify the lib program.
9257 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
9258 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9259 enable_shared_with_static_runtimes
=yes
9262 darwin
* | rhapsody
*)
9264 rhapsody
* | darwin1.
[012])
9265 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9268 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9269 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9271 case ${MACOSX_DEPLOYMENT_TARGET} in
9273 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9276 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9282 archive_cmds_need_lc
=no
9284 hardcode_automatic
=yes
9285 hardcode_shlibpath_var
=unsupported
9286 whole_archive_flag_spec
=''
9287 link_all_deplibs
=yes
9288 if test "$GCC" = yes ; then
9289 output_verbose_link_cmd
='echo'
9290 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9291 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9292 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9293 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9294 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9296 case $cc_basename in
9298 output_verbose_link_cmd
='echo'
9299 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9300 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9301 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9302 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9303 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9313 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9314 hardcode_libdir_flag_spec
='-L$libdir'
9315 hardcode_shlibpath_var
=no
9322 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9323 # support. Future versions do this automatically, but an explicit c++rt0.o
9324 # does not break anything, and helps significantly (at the cost of a little
9327 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9328 hardcode_libdir_flag_spec
='-R$libdir'
9330 hardcode_shlibpath_var
=no
9333 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9335 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9337 hardcode_minus_L
=yes
9338 hardcode_shlibpath_var
=no
9341 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9342 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
9343 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9344 hardcode_libdir_flag_spec
='-R$libdir'
9346 hardcode_shlibpath_var
=no
9350 if test "$GCC" = yes; then
9351 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9353 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'
9355 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9356 hardcode_libdir_separator
=:
9359 # hardcode_minus_L: Not really in the search PATH,
9360 # but as the default location of the library.
9361 hardcode_minus_L
=yes
9362 export_dynamic_flag_spec
='${wl}-E'
9366 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9367 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9369 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9371 if test "$with_gnu_ld" = no
; then
9372 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9373 hardcode_libdir_separator
=:
9376 export_dynamic_flag_spec
='${wl}-E'
9378 # hardcode_minus_L: Not really in the search PATH,
9379 # but as the default location of the library.
9380 hardcode_minus_L
=yes
9385 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9388 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9391 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9394 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9403 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9406 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9410 if test "$with_gnu_ld" = no
; then
9411 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9412 hardcode_libdir_separator
=:
9416 hardcode_libdir_flag_spec_ld
='+b $libdir'
9418 hardcode_shlibpath_var
=no
9422 export_dynamic_flag_spec
='${wl}-E'
9424 # hardcode_minus_L: Not really in the search PATH,
9425 # but as the default location of the library.
9426 hardcode_minus_L
=yes
9432 irix5
* | irix6
* | nonstopux
*)
9433 if test "$GCC" = yes; then
9434 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9436 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9437 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9439 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9440 hardcode_libdir_separator
=:
9441 link_all_deplibs
=yes
9445 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9446 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9448 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9450 hardcode_libdir_flag_spec
='-R$libdir'
9452 hardcode_shlibpath_var
=no
9456 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9458 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9459 hardcode_libdir_separator
=:
9460 hardcode_shlibpath_var
=no
9465 hardcode_shlibpath_var
=no
9466 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9467 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9468 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9469 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9470 export_dynamic_flag_spec
='${wl}-E'
9473 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9474 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9475 hardcode_libdir_flag_spec
='-R$libdir'
9478 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9479 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9486 hardcode_libdir_flag_spec
='-L$libdir'
9487 hardcode_minus_L
=yes
9488 allow_undefined_flag
=unsupported
9489 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'
9490 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9494 if test "$GCC" = yes; then
9495 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9496 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9498 allow_undefined_flag
=' -expect_unresolved \*'
9499 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9501 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9502 hardcode_libdir_separator
=:
9505 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9506 if test "$GCC" = yes; then
9507 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9508 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9509 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9511 allow_undefined_flag
=' -expect_unresolved \*'
9512 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9513 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9514 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9516 # Both c and cxx compiler support -rpath directly
9517 hardcode_libdir_flag_spec
='-rpath $libdir'
9519 hardcode_libdir_separator
=:
9523 no_undefined_flag
=' -z text'
9524 if test "$GCC" = yes; then
9526 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9527 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9528 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9531 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9532 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9533 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9535 hardcode_libdir_flag_spec
='-R$libdir'
9536 hardcode_shlibpath_var
=no
9538 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9540 # The compiler driver will combine linker options so we
9541 # cannot just pass the convience library names through
9542 # without $wl, iff we do not link with $LD.
9543 # Luckily, gcc supports the same syntax we need for Sun Studio.
9544 # Supported since Solaris 2.6 (maybe 2.5.1?)
9547 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
9549 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
9552 link_all_deplibs
=yes
9556 if test "x$host_vendor" = xsequent
; then
9557 # Use $CC to link under sequent, because it throws in some extra .o
9558 # files that make .init and .fini sections work.
9559 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9561 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9563 hardcode_libdir_flag_spec
='-L$libdir'
9565 hardcode_minus_L
=yes
9566 hardcode_shlibpath_var
=no
9570 case $host_vendor in
9572 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9573 hardcode_direct
=yes # is this really true???
9576 ## LD is ld it makes a PLAMLIB
9577 ## CC just makes a GrossModule.
9578 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9579 reload_cmds
='$CC -r -o $output$reload_objs'
9583 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9584 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9587 runpath_var
='LD_RUN_PATH'
9588 hardcode_shlibpath_var
=no
9592 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9593 hardcode_shlibpath_var
=no
9594 export_dynamic_flag_spec
='-Bexport'
9598 if test -d /usr
/nec
; then
9599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9600 hardcode_shlibpath_var
=no
9601 runpath_var
=LD_RUN_PATH
9602 hardcode_runpath_var
=yes
9607 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
9608 no_undefined_flag
='${wl}-z,text'
9609 archive_cmds_need_lc
=no
9610 hardcode_shlibpath_var
=no
9611 runpath_var
='LD_RUN_PATH'
9613 if test "$GCC" = yes; then
9614 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9615 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9618 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9622 sysv5
* | sco3.2v5
* | sco5v6
*)
9623 # Note: We can NOT use -z defs as we might desire, because we do not
9624 # link with -lc, and that would cause any symbols used from libc to
9625 # always be unresolved, which means just about no library would
9626 # ever link correctly. If we're not using GNU ld we use -z text
9627 # though, which does catch some bad symbols but isn't as heavy-handed
9629 no_undefined_flag
='${wl}-z,text'
9630 allow_undefined_flag
='${wl}-z,nodefs'
9631 archive_cmds_need_lc
=no
9632 hardcode_shlibpath_var
=no
9633 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9634 hardcode_libdir_separator
=':'
9635 link_all_deplibs
=yes
9636 export_dynamic_flag_spec
='${wl}-Bexport'
9637 runpath_var
='LD_RUN_PATH'
9639 if test "$GCC" = yes; then
9640 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9641 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9649 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9650 hardcode_libdir_flag_spec
='-L$libdir'
9651 hardcode_shlibpath_var
=no
9660 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9661 echo "${ECHO_T}$ld_shlibs" >&6; }
9662 test "$ld_shlibs" = no
&& can_build_shared
=no
9665 # Do we need to explicitly link libc?
9667 case "x$archive_cmds_need_lc" in
9669 # Assume -lc should be added
9670 archive_cmds_need_lc
=yes
9672 if test "$enable_shared" = yes && test "$GCC" = yes; then
9673 case $archive_cmds in
9675 # FIXME: we may have to deal with multi-command sequences.
9678 # Test whether the compiler implicitly links with -lc since on some
9679 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9680 # to ld, don't add -lc before -lgcc.
9681 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9682 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9684 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9687 (eval $ac_compile) 2>&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } 2>conftest.err
; then
9693 libobjs
=conftest.
$ac_objext
9695 wl
=$lt_prog_compiler_wl
9696 pic_flag
=$lt_prog_compiler_pic
9702 lt_save_allow_undefined_flag
=$allow_undefined_flag
9703 allow_undefined_flag
=
9704 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9705 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }
9710 archive_cmds_need_lc
=no
9712 archive_cmds_need_lc
=yes
9714 allow_undefined_flag
=$lt_save_allow_undefined_flag
9716 cat conftest.err
1>&5
9719 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9720 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9727 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9728 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9730 libname_spec
='lib$name'
9738 shlibpath_overrides_runpath
=unknown
9740 dynamic_linker
="$host_os ld.so"
9741 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9742 if test "$GCC" = yes; then
9743 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9744 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9745 # if the path contains ";" then we assume it to be the separator
9746 # otherwise default to the standard path separator (i.e. ":") - it is
9747 # assumed that no part of a normal pathname contains ";" but that should
9748 # okay in the real world where ";" in dirpaths is itself problematic.
9749 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9751 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9754 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9756 need_lib_prefix
=unknown
9757 hardcode_into_libs
=no
9759 # when you set need_version to no, make sure it does not cause -set_version
9760 # flags to be left without arguments
9761 need_version
=unknown
9766 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9767 shlibpath_var
=LIBPATH
9769 # AIX 3 has no versioning support, so we append a major version to the name.
9770 soname_spec
='${libname}${release}${shared_ext}$major'
9777 hardcode_into_libs
=yes
9778 if test "$host_cpu" = ia64
; then
9779 # AIX 5 supports IA64
9780 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9781 shlibpath_var
=LD_LIBRARY_PATH
9783 # With GCC up to 2.95.x, collect2 would create an import file
9784 # for dependence libraries. The import file would start with
9785 # the line `#! .'. This would cause the generated library to
9786 # depend on `.', always an invalid library. This was fixed in
9787 # development snapshots of GCC prior to 3.0.
9789 aix4 | aix4.
[01] | aix4.
[01].
*)
9790 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9792 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9799 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9800 # soname into executable. Probably we can add versioning support to
9801 # collect2, so additional links can be useful in future.
9802 if test "$aix_use_runtimelinking" = yes; then
9803 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9804 # instead of lib<name>.a to let people know that these are not
9805 # typical AIX shared libraries.
9806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9808 # We preserve .a as extension for shared libraries through AIX4.2
9809 # and later when we are not doing run time linking.
9810 library_names_spec
='${libname}${release}.a $libname.a'
9811 soname_spec
='${libname}${release}${shared_ext}$major'
9813 shlibpath_var
=LIBPATH
9818 library_names_spec
='$libname.ixlibrary $libname.a'
9819 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9820 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
9824 library_names_spec
='${libname}${shared_ext}'
9825 dynamic_linker
="$host_os ld.so"
9826 shlibpath_var
=LIBRARY_PATH
9832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833 soname_spec
='${libname}${release}${shared_ext}$major'
9834 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9835 shlibpath_var
=LD_LIBRARY_PATH
9836 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9837 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9838 # the default ld.so.conf also contains /usr/contrib/lib and
9839 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9840 # libtool to hard-code these into programs
9843 cygwin
* | mingw
* | pw32
*)
9844 version_type
=windows
9849 case $GCC,$host_os in
9850 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9851 library_names_spec
='$libname.dll.a'
9852 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9853 postinstall_cmds
='base_file=`basename \${file}`~
9854 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9855 dldir=$destdir/`dirname \$dlpath`~
9856 test -d \$dldir || mkdir -p \$dldir~
9857 $install_prog $dir/$dlname \$dldir/$dlname~
9858 chmod a+x \$dldir/$dlname'
9859 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9860 dlpath=$dir/\$dldll~
9862 shlibpath_overrides_runpath
=yes
9866 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9867 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9868 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9871 # MinGW DLLs use traditional 'lib' prefix
9872 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9873 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9874 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9875 # It is most probably a Windows format PATH printed by
9876 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9877 # path with ; separators, and with drive letters. We can handle the
9878 # drive letters (cygwin fileutils understands them), so leave them,
9879 # especially as we might pass files found there to a mingw objdump,
9880 # which wouldn't understand a cygwinified path. Ahh.
9881 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9883 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9887 # pw32 DLLs use 'pw' prefix rather than 'lib'
9888 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9894 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9897 dynamic_linker
='Win32 ld.exe'
9898 # FIXME: first we should search . and the directory the executable is in
9902 darwin
* | rhapsody
*)
9903 dynamic_linker
="$host_os dyld"
9907 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9908 soname_spec
='${libname}${release}${major}$shared_ext'
9909 shlibpath_overrides_runpath
=yes
9910 shlibpath_var
=DYLD_LIBRARY_PATH
9911 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9912 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9913 if test "$GCC" = yes; then
9914 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9916 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9918 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9926 soname_spec
='${libname}${release}${shared_ext}$major'
9927 shlibpath_var
=LD_LIBRARY_PATH
9938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9939 soname_spec
='${libname}${release}${shared_ext}$major'
9940 shlibpath_var
=LD_LIBRARY_PATH
9941 shlibpath_overrides_runpath
=no
9942 hardcode_into_libs
=yes
9943 dynamic_linker
='GNU ld.so'
9946 freebsd
* | dragonfly
*)
9947 # DragonFly does not have aout. When/if they implement a new
9948 # versioning mechanism, adjust this.
9949 if test -x /usr
/bin
/objformat
; then
9950 objformat
=`/usr/bin/objformat`
9953 freebsd
[123]*) objformat
=aout
;;
9957 version_type
=freebsd-
$objformat
9958 case $version_type in
9960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9965 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9969 shlibpath_var
=LD_LIBRARY_PATH
9972 shlibpath_overrides_runpath
=yes
9974 freebsd3.
[01]* | freebsdelf3.
[01]*)
9975 shlibpath_overrides_runpath
=yes
9976 hardcode_into_libs
=yes
9978 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9979 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9980 shlibpath_overrides_runpath
=no
9981 hardcode_into_libs
=yes
9983 freebsd
*) # from 4.6 on
9984 shlibpath_overrides_runpath
=yes
9985 hardcode_into_libs
=yes
9994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9995 soname_spec
='${libname}${release}${shared_ext}$major'
9996 shlibpath_var
=LD_LIBRARY_PATH
9997 hardcode_into_libs
=yes
10000 hpux9
* | hpux10
* | hpux11
*)
10001 # Give a soname corresponding to the major version so that dld.sl refuses to
10002 # link against other versions.
10009 hardcode_into_libs
=yes
10010 dynamic_linker
="$host_os dld.so"
10011 shlibpath_var
=LD_LIBRARY_PATH
10012 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10014 soname_spec
='${libname}${release}${shared_ext}$major'
10015 if test "X$HPUX_IA64_MODE" = X32
; then
10016 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10018 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10020 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10024 hardcode_into_libs
=yes
10025 dynamic_linker
="$host_os dld.sl"
10026 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10027 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10029 soname_spec
='${libname}${release}${shared_ext}$major'
10030 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10031 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10035 dynamic_linker
="$host_os dld.sl"
10036 shlibpath_var
=SHLIB_PATH
10037 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10039 soname_spec
='${libname}${release}${shared_ext}$major'
10042 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10043 postinstall_cmds
='chmod 555 $lib'
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10051 soname_spec
='${libname}${release}${shared_ext}$major'
10052 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10053 shlibpath_var
=LD_LIBRARY_PATH
10054 shlibpath_overrides_runpath
=no
10055 hardcode_into_libs
=yes
10058 irix5
* | irix6
* | nonstopux
*)
10060 nonstopux
*) version_type
=nonstopux
;;
10062 if test "$lt_cv_prog_gnu_ld" = yes; then
10070 soname_spec
='${libname}${release}${shared_ext}$major'
10071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10073 irix5
* | nonstopux
*)
10074 libsuff
= shlibsuff
=
10077 case $LD in # libtool.m4 will add one of these switches to LD
10078 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10079 libsuff
= shlibsuff
= libmagic
=32-bit;;
10080 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10081 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10082 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10083 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10084 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10088 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10089 shlibpath_overrides_runpath
=no
10090 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10091 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10092 hardcode_into_libs
=yes
10095 # No shared lib support for Linux oldld, aout, or coff.
10096 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10100 # This must be Linux ELF.
10105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10106 soname_spec
='${libname}${release}${shared_ext}$major'
10107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10108 shlibpath_var
=LD_LIBRARY_PATH
10109 shlibpath_overrides_runpath
=no
10110 # This implies no fast_install, which is unacceptable.
10111 # Some rework will be needed to allow for fast_install
10112 # before this can be enabled.
10113 hardcode_into_libs
=yes
10115 # Append ld.so.conf contents to the search path
10116 if test -f /etc
/ld.so.conf
; then
10117 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10118 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10121 # We used to test for /lib/ld.so.1 and disable shared libraries on
10122 # powerpc, because MkLinux only supported shared libraries with the
10123 # GNU dynamic linker. Since this was broken with cross compilers,
10124 # most powerpc-linux boxes support dynamic linking these days and
10125 # people can always --disable-shared, the test was removed, and we
10126 # assume the GNU/Linux dynamic linker is in use.
10127 dynamic_linker
='GNU/Linux ld.so'
10134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10135 soname_spec
='${libname}${release}${shared_ext}$major'
10136 shlibpath_var
=LD_LIBRARY_PATH
10137 shlibpath_overrides_runpath
=no
10138 hardcode_into_libs
=yes
10139 dynamic_linker
='GNU ld.so'
10146 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10148 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10149 dynamic_linker
='NetBSD (a.out) ld.so'
10151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10152 soname_spec
='${libname}${release}${shared_ext}$major'
10153 dynamic_linker
='NetBSD ld.elf_so'
10155 shlibpath_var
=LD_LIBRARY_PATH
10156 shlibpath_overrides_runpath
=yes
10157 hardcode_into_libs
=yes
10162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 shlibpath_var
=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath
=yes
10171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10172 soname_spec
='${libname}${release}${shared_ext}$major'
10173 shlibpath_var
=LD_LIBRARY_PATH
10174 shlibpath_overrides_runpath
=yes
10179 sys_lib_dlsearch_path_spec
="/usr/lib"
10181 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10183 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10184 *) need_version
=no
;;
10186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10188 shlibpath_var
=LD_LIBRARY_PATH
10189 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10191 openbsd2.
[89] | openbsd2.
[89].
*)
10192 shlibpath_overrides_runpath
=no
10195 shlibpath_overrides_runpath
=yes
10199 shlibpath_overrides_runpath
=yes
10204 libname_spec
='$name'
10207 library_names_spec
='$libname${shared_ext} $libname.a'
10208 dynamic_linker
='OS/2 ld.exe'
10209 shlibpath_var
=LIBPATH
10212 osf3
* | osf4
* | osf5
*)
10216 soname_spec
='${libname}${release}${shared_ext}$major'
10217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218 shlibpath_var
=LD_LIBRARY_PATH
10219 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10220 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10228 soname_spec
='${libname}${release}${shared_ext}$major'
10229 shlibpath_var
=LD_LIBRARY_PATH
10230 shlibpath_overrides_runpath
=yes
10231 hardcode_into_libs
=yes
10232 # ldd complains unless libraries are executable
10233 postinstall_cmds
='chmod +x $lib'
10238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10239 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10240 shlibpath_var
=LD_LIBRARY_PATH
10241 shlibpath_overrides_runpath
=yes
10242 if test "$with_gnu_ld" = yes; then
10250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 soname_spec
='${libname}${release}${shared_ext}$major'
10252 shlibpath_var
=LD_LIBRARY_PATH
10253 case $host_vendor in
10255 shlibpath_overrides_runpath
=no
10257 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10258 runpath_var
=LD_RUN_PATH
10266 shlibpath_overrides_runpath
=no
10267 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10273 if test -d /usr
/nec
;then
10275 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10276 soname_spec
='$libname${shared_ext}.$major'
10277 shlibpath_var
=LD_LIBRARY_PATH
10281 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10282 version_type
=freebsd-elf
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286 soname_spec
='${libname}${release}${shared_ext}$major'
10287 shlibpath_var
=LD_LIBRARY_PATH
10288 hardcode_into_libs
=yes
10289 if test "$with_gnu_ld" = yes; then
10290 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10291 shlibpath_overrides_runpath
=no
10293 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10294 shlibpath_overrides_runpath
=yes
10297 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10301 sys_lib_dlsearch_path_spec
='/usr/lib'
10306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10307 soname_spec
='${libname}${release}${shared_ext}$major'
10308 shlibpath_var
=LD_LIBRARY_PATH
10315 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10316 echo "${ECHO_T}$dynamic_linker" >&6; }
10317 test "$dynamic_linker" = no
&& can_build_shared
=no
10319 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10320 if test "$GCC" = yes; then
10321 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10324 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10325 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10327 if test -n "$hardcode_libdir_flag_spec" || \
10328 test -n "$runpath_var" || \
10329 test "X$hardcode_automatic" = "Xyes" ; then
10331 # We can hardcode non-existant directories.
10332 if test "$hardcode_direct" != no
&&
10333 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10334 # have to relink, otherwise we might link with an installed library
10335 # when we should be linking with a yet-to-be-installed one
10336 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10337 test "$hardcode_minus_L" != no
; then
10338 # Linking always hardcodes the temporary library directory.
10339 hardcode_action
=relink
10341 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10342 hardcode_action
=immediate
10345 # We cannot hardcode anything, or else we can only hardcode existing
10347 hardcode_action
=unsupported
10349 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10350 echo "${ECHO_T}$hardcode_action" >&6; }
10352 if test "$hardcode_action" = relink
; then
10353 # Fast installation is not supported
10354 enable_fast_install
=no
10355 elif test "$shlibpath_overrides_runpath" = yes ||
10356 test "$enable_shared" = no
; then
10357 # Fast installation is not necessary
10358 enable_fast_install
=needless
10363 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10364 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10365 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
10366 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10367 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10368 { echo "$as_me:$LINENO: result: yes" >&5
10369 echo "${ECHO_T}yes" >&6; }
10371 # FIXME - insert some real tests, host_os isn't really good enough
10374 if test -n "$STRIP" ; then
10375 striplib
="$STRIP -x"
10376 { echo "$as_me:$LINENO: result: yes" >&5
10377 echo "${ECHO_T}yes" >&6; }
10379 { echo "$as_me:$LINENO: result: no" >&5
10380 echo "${ECHO_T}no" >&6; }
10384 { echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6; }
10390 if test "x$enable_dlopen" != xyes
; then
10391 enable_dlopen
=unknown
10392 enable_dlopen_self
=unknown
10393 enable_dlopen_self_static
=unknown
10400 lt_cv_dlopen
="load_add_on"
10402 lt_cv_dlopen_self
=yes
10406 lt_cv_dlopen
="LoadLibrary"
10411 lt_cv_dlopen
="dlopen"
10416 # if libdl is installed we need to link against it
10417 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10418 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10419 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 ac_check_lib_save_LIBS
=$LIBS
10424 cat >conftest.
$ac_ext <<_ACEOF
10427 cat confdefs.h
>>conftest.
$ac_ext
10428 cat >>conftest.
$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10446 rm -f conftest.
$ac_objext conftest
$ac_exeext
10447 if { (ac_try
="$ac_link"
10448 case "(($ac_try" in
10449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10450 *) ac_try_echo=$ac_try;;
10452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10453 (eval "$ac_link") 2>conftest.er1
10455 grep -v '^ *+' conftest.er1 >conftest.err
10457 cat conftest.err >&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } && {
10460 test -z "$ac_c_werror_flag" ||
10461 test ! -s conftest.err
10462 } && test -s conftest$ac_exeext &&
10463 $as_test_x conftest$ac_exeext; then
10464 ac_cv_lib_dl_dlopen=yes
10466 echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.$ac_ext >&5
10469 ac_cv_lib_dl_dlopen=no
10472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10473 conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_lib_save_LIBS
10476 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10477 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10478 if test $ac_cv_lib_dl_dlopen = yes; then
10479 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10482 lt_cv_dlopen="dyld"
10484 lt_cv_dlopen_self=yes
10491 { echo "$as_me:$LINENO: checking for shl_load" >&5
10492 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10493 if test "${ac_cv_func_shl_load+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 cat >conftest.$ac_ext <<_ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10502 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10504 #define shl_load innocuous_shl_load
10506 /* System header to define __stub macros and hopefully few prototypes,
10507 which can conflict with char shl_load (); below.
10508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10509 <limits.h> exists even on freestanding compilers. */
10512 # include <limits.h>
10514 # include <assert.h>
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10526 /* The GNU C library defines this for functions which it implements
10527 to always fail with ENOSYS. Some functions are actually named
10528 something starting with __ and the normal name is an alias. */
10529 #if defined __stub_shl_load || defined __stub___shl_load
10536 return shl_load ();
10541 rm -f conftest.$ac_objext conftest$ac_exeext
10542 if { (ac_try="$ac_link"
10543 case "(($ac_try" in
10544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10545 *) ac_try_echo
=$ac_try;;
10547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10548 (eval "$ac_link") 2>conftest.er1
10550 grep -v '^ *+' conftest.er1
>conftest.err
10552 cat conftest.err
>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } && {
10555 test -z "$ac_c_werror_flag" ||
10556 test ! -s conftest.err
10557 } && test -s conftest
$ac_exeext &&
10558 $as_test_x conftest
$ac_exeext; then
10559 ac_cv_func_shl_load
=yes
10561 echo "$as_me: failed program was:" >&5
10562 sed 's/^/| /' conftest.
$ac_ext >&5
10564 ac_cv_func_shl_load
=no
10567 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10568 conftest
$ac_exeext conftest.
$ac_ext
10570 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10571 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10572 if test $ac_cv_func_shl_load = yes; then
10573 lt_cv_dlopen
="shl_load"
10575 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10576 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10577 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 ac_check_lib_save_LIBS
=$LIBS
10582 cat >conftest.
$ac_ext <<_ACEOF
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10599 return shl_load ();
10604 rm -f conftest.
$ac_objext conftest
$ac_exeext
10605 if { (ac_try
="$ac_link"
10606 case "(($ac_try" in
10607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10608 *) ac_try_echo=$ac_try;;
10610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10611 (eval "$ac_link") 2>conftest.er1
10613 grep -v '^ *+' conftest.er1 >conftest.err
10615 cat conftest.err >&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } && {
10618 test -z "$ac_c_werror_flag" ||
10619 test ! -s conftest.err
10620 } && test -s conftest$ac_exeext &&
10621 $as_test_x conftest$ac_exeext; then
10622 ac_cv_lib_dld_shl_load=yes
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10627 ac_cv_lib_dld_shl_load=no
10630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_lib_save_LIBS
10634 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10635 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10636 if test $ac_cv_lib_dld_shl_load = yes; then
10637 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10639 { echo "$as_me:$LINENO: checking for dlopen" >&5
10640 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10641 if test "${ac_cv_func_dlopen+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 cat >conftest.$ac_ext <<_ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10652 #define dlopen innocuous_dlopen
10654 /* System header to define __stub macros and hopefully few prototypes,
10655 which can conflict with char dlopen (); below.
10656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10657 <limits.h> exists even on freestanding compilers. */
10660 # include <limits.h>
10662 # include <assert.h>
10667 /* Override any GCC internal prototype to avoid an error.
10668 Use char because int might match the return type of a GCC
10669 builtin and then its argument prototype would still apply. */
10674 /* The GNU C library defines this for functions which it implements
10675 to always fail with ENOSYS. Some functions are actually named
10676 something starting with __ and the normal name is an alias. */
10677 #if defined __stub_dlopen || defined __stub___dlopen
10689 rm -f conftest.$ac_objext conftest$ac_exeext
10690 if { (ac_try="$ac_link"
10691 case "(($ac_try" in
10692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10693 *) ac_try_echo
=$ac_try;;
10695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10696 (eval "$ac_link") 2>conftest.er1
10698 grep -v '^ *+' conftest.er1
>conftest.err
10700 cat conftest.err
>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } && {
10703 test -z "$ac_c_werror_flag" ||
10704 test ! -s conftest.err
10705 } && test -s conftest
$ac_exeext &&
10706 $as_test_x conftest
$ac_exeext; then
10707 ac_cv_func_dlopen
=yes
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.
$ac_ext >&5
10712 ac_cv_func_dlopen
=no
10715 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10716 conftest
$ac_exeext conftest.
$ac_ext
10718 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10719 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10720 if test $ac_cv_func_dlopen = yes; then
10721 lt_cv_dlopen
="dlopen"
10723 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10724 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10725 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 ac_check_lib_save_LIBS
=$LIBS
10730 cat >conftest.
$ac_ext <<_ACEOF
10733 cat confdefs.h
>>conftest.
$ac_ext
10734 cat >>conftest.
$ac_ext <<_ACEOF
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10752 rm -f conftest.
$ac_objext conftest
$ac_exeext
10753 if { (ac_try
="$ac_link"
10754 case "(($ac_try" in
10755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10756 *) ac_try_echo=$ac_try;;
10758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10759 (eval "$ac_link") 2>conftest.er1
10761 grep -v '^ *+' conftest.er1 >conftest.err
10763 cat conftest.err >&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } && {
10766 test -z "$ac_c_werror_flag" ||
10767 test ! -s conftest.err
10768 } && test -s conftest$ac_exeext &&
10769 $as_test_x conftest$ac_exeext; then
10770 ac_cv_lib_dl_dlopen=yes
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10775 ac_cv_lib_dl_dlopen=no
10778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10783 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10784 if test $ac_cv_lib_dl_dlopen = yes; then
10785 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10787 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10788 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10789 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lsvld $LIBS"
10794 cat >conftest.$ac_ext <<_ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (ac_try="$ac_link"
10818 case "(($ac_try" in
10819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10820 *) ac_try_echo
=$ac_try;;
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_link") 2>conftest.er1
10825 grep -v '^ *+' conftest.er1
>conftest.err
10827 cat conftest.err
>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } && {
10830 test -z "$ac_c_werror_flag" ||
10831 test ! -s conftest.err
10832 } && test -s conftest
$ac_exeext &&
10833 $as_test_x conftest
$ac_exeext; then
10834 ac_cv_lib_svld_dlopen
=yes
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.
$ac_ext >&5
10839 ac_cv_lib_svld_dlopen
=no
10842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10843 conftest
$ac_exeext conftest.
$ac_ext
10844 LIBS
=$ac_check_lib_save_LIBS
10846 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10847 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10848 if test $ac_cv_lib_svld_dlopen = yes; then
10849 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10851 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10852 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10853 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 ac_check_lib_save_LIBS
=$LIBS
10858 cat >conftest.
$ac_ext <<_ACEOF
10861 cat confdefs.h
>>conftest.
$ac_ext
10862 cat >>conftest.
$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10875 return dld_link ();
10880 rm -f conftest.
$ac_objext conftest
$ac_exeext
10881 if { (ac_try
="$ac_link"
10882 case "(($ac_try" in
10883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10884 *) ac_try_echo=$ac_try;;
10886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10887 (eval "$ac_link") 2>conftest.er1
10889 grep -v '^ *+' conftest.er1 >conftest.err
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err
10896 } && test -s conftest$ac_exeext &&
10897 $as_test_x conftest$ac_exeext; then
10898 ac_cv_lib_dld_dld_link=yes
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5
10903 ac_cv_lib_dld_dld_link=no
10906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10907 conftest$ac_exeext conftest.$ac_ext
10908 LIBS=$ac_check_lib_save_LIBS
10910 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10911 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10912 if test $ac_cv_lib_dld_dld_link = yes; then
10913 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10934 if test "x$lt_cv_dlopen" != xno; then
10940 case $lt_cv_dlopen in
10942 save_CPPFLAGS="$CPPFLAGS"
10943 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10945 save_LDFLAGS="$LDFLAGS"
10946 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10949 LIBS="$lt_cv_dlopen_libs $LIBS"
10951 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10952 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10953 if test "${lt_cv_dlopen_self+set}" = set; then
10954 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 if test "$cross_compiling" = yes; then :
10957 lt_cv_dlopen_self=cross
10959 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10960 lt_status=$lt_dlunknown
10961 cat > conftest.$ac_ext <<EOF
10962 #line 10962 "configure"
10963 #include "confdefs.h"
10972 # define LT_DLGLOBAL RTLD_GLOBAL
10975 # define LT_DLGLOBAL DL_GLOBAL
10977 # define LT_DLGLOBAL 0
10981 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10982 find out it does not work in some platform. */
10983 #ifndef LT_DLLAZY_OR_NOW
10985 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10988 # define LT_DLLAZY_OR_NOW DL_LAZY
10991 # define LT_DLLAZY_OR_NOW RTLD_NOW
10994 # define LT_DLLAZY_OR_NOW DL_NOW
10996 # define LT_DLLAZY_OR_NOW 0
11004 extern "C" void exit (int);
11007 void fnord() { int i=42;}
11010 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11011 int status = $lt_dlunknown;
11015 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11016 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11017 /* dlclose (self); */
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11030 (./conftest; exit; ) >&5 2>/dev/null
11032 case x$lt_status in
11033 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11034 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11035 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11038 # compilation failed
11039 lt_cv_dlopen_self=no
11046 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11047 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11049 if test "x$lt_cv_dlopen_self" = xyes; then
11050 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11051 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11052 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11053 if test "${lt_cv_dlopen_self_static+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11056 if test "$cross_compiling" = yes; then :
11057 lt_cv_dlopen_self_static=cross
11059 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11060 lt_status=$lt_dlunknown
11061 cat > conftest.$ac_ext <<EOF
11062 #line 11062 "configure"
11063 #include "confdefs.h"
11072 # define LT_DLGLOBAL RTLD_GLOBAL
11075 # define LT_DLGLOBAL DL_GLOBAL
11077 # define LT_DLGLOBAL 0
11081 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11082 find out it does not work in some platform. */
11083 #ifndef LT_DLLAZY_OR_NOW
11085 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11088 # define LT_DLLAZY_OR_NOW DL_LAZY
11091 # define LT_DLLAZY_OR_NOW RTLD_NOW
11094 # define LT_DLLAZY_OR_NOW DL_NOW
11096 # define LT_DLLAZY_OR_NOW 0
11104 extern "C" void exit (int);
11107 void fnord() { int i=42;}
11110 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11111 int status = $lt_dlunknown;
11115 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11116 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11117 /* dlclose (self); */
11125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11126 (eval $ac_link) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11130 (./conftest; exit; ) >&5 2>/dev/null
11132 case x$lt_status in
11133 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11134 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11135 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11138 # compilation failed
11139 lt_cv_dlopen_self_static=no
11146 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11147 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11150 CPPFLAGS="$save_CPPFLAGS"
11151 LDFLAGS="$save_LDFLAGS"
11156 case $lt_cv_dlopen_self in
11157 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11158 *) enable_dlopen_self=unknown ;;
11161 case $lt_cv_dlopen_self_static in
11162 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11163 *) enable_dlopen_self_static=unknown ;;
11168 # Report which library types will actually be built
11169 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11170 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11171 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11172 echo "${ECHO_T}$can_build_shared" >&6; }
11174 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11175 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11176 test "$can_build_shared" = "no" && enable_shared=no
11178 # On AIX, shared libraries and static libraries use the same namespace, and
11179 # are all built from PIC.
11182 test "$enable_shared" = yes && enable_static=no
11183 if test -n "$RANLIB"; then
11184 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11185 postinstall_cmds='$RANLIB $lib'
11190 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11191 test "$enable_shared" = yes && enable_static=no
11195 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11196 echo "${ECHO_T}$enable_shared" >&6; }
11198 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11199 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11200 # Make sure either enable_shared or enable_static is yes.
11201 test "$enable_shared" = yes || enable_static=yes
11202 { echo "$as_me:$LINENO: result: $enable_static" >&5
11203 echo "${ECHO_T}$enable_static" >&6; }
11205 # The else clause should only fire when bootstrapping the
11206 # libtool distribution, otherwise you forgot to ship ltmain.sh
11207 # with your package, and you will get complaints that there are
11208 # no rules to generate ltmain.sh.
11209 if test -f "$ltmain"; then
11210 # See if we are running on zsh, and set the options which allow our commands through
11211 # without removal of \ escapes.
11212 if test -n "${ZSH_VERSION+set}" ; then
11213 setopt NO_GLOB_SUBST
11215 # Now quote all the things that may contain metacharacters while being
11216 # careful not to overquote the AC_SUBSTed values. We take copies of the
11217 # variables and quote the copies for generation of the libtool script.
11218 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11220 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11221 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11222 deplibs_check_method reload_flag reload_cmds need_locks \
11223 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11224 lt_cv_sys_global_symbol_to_c_name_address \
11225 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11226 old_postinstall_cmds old_postuninstall_cmds \
11230 lt_prog_compiler_wl \
11231 lt_prog_compiler_pic \
11232 lt_prog_compiler_static \
11233 lt_prog_compiler_no_builtin_flag \
11234 export_dynamic_flag_spec \
11235 thread_safe_flag_spec \
11236 whole_archive_flag_spec \
11237 enable_shared_with_static_runtimes \
11239 old_archive_from_new_cmds \
11244 compiler_lib_search_path \
11246 archive_expsym_cmds \
11248 postuninstall_cmds \
11249 old_archive_from_expsyms_cmds \
11250 allow_undefined_flag \
11251 no_undefined_flag \
11252 export_symbols_cmds \
11253 hardcode_libdir_flag_spec \
11254 hardcode_libdir_flag_spec_ld \
11255 hardcode_libdir_separator \
11256 hardcode_automatic \
11258 module_expsym_cmds \
11259 lt_cv_prog_compiler_c_o \
11261 include_expsyms; do
11264 old_archive_cmds | \
11265 old_archive_from_new_cmds | \
11267 archive_expsym_cmds | \
11269 module_expsym_cmds | \
11270 old_archive_from_expsyms_cmds | \
11271 export_symbols_cmds | \
11272 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11273 postinstall_cmds | postuninstall_cmds | \
11274 old_postinstall_cmds | old_postuninstall_cmds | \
11275 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11276 # Double-quote double-evaled strings.
11277 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
11280 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
11286 *'\$0 --fallback-echo"')
11287 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11291 cfgfile="${ofile}T"
11292 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11294 { echo "$as_me:$LINENO: creating $ofile" >&5
11295 echo "$as_me: creating $ofile" >&6;}
11297 cat <<__EOF__ >> "$cfgfile"
11300 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
11301 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11302 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11304 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11305 # Free Software Foundation, Inc.
11307 # This file is part of GNU Libtool:
11308 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11310 # This program is free software; you can redistribute it and/or modify
11311 # it under the terms of the GNU General Public License as published by
11312 # the Free Software Foundation; either version 2 of the License, or
11313 # (at your option) any later version.
11315 # This program is distributed in the hope that it will be useful, but
11316 # WITHOUT ANY WARRANTY; without even the implied warranty of
11317 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11318 # General Public License for more details.
11320 # You should have received a copy of the GNU General Public License
11321 # along with this program; if not, write to the Free Software
11322 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11324 # As a special exception to the GNU General Public License, if you
11325 # distribute this file as part of a program that contains a
11326 # configuration script generated by Autoconf, you may include it under
11327 # the same distribution terms that you use for the rest of that program.
11329 # A sed program that does not truncate output.
11332 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
11333 Xsed="$SED -e 1s/^X//"
11335 # The HP-UX ksh and POSIX shell print the target directory to stdout
11336 # if CDPATH is set.
11337 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11339 # The names of the tagged configurations supported by this script.
11342 # ### BEGIN LIBTOOL CONFIG
11344 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
11346 # Shell to use when invoking shell scripts.
11349 # Whether or not to build shared libraries.
11350 build_libtool_libs=$enable_shared
11352 # Whether or not to build static libraries.
11353 build_old_libs=$enable_static
11355 # Whether or not to add -lc for building shared libraries.
11356 build_libtool_need_lc=$archive_cmds_need_lc
11358 # Whether or not to disallow shared libs when runtime libs are static
11359 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11361 # Whether or not to optimize for fast installation.
11362 fast_install=$enable_fast_install
11365 host_alias=$host_alias
11369 # The build system.
11370 build_alias=$build_alias
11374 # An echo program that does not interpret backslashes.
11379 AR_FLAGS=$lt_AR_FLAGS
11384 # LTCC compiler flags.
11385 LTCFLAGS=$lt_LTCFLAGS
11387 # A language-specific compiler.
11390 # Is the compiler the GNU C compiler?
11396 # The linker used to build libraries.
11399 # Whether we need hard or soft links.
11402 # A BSD-compatible nm program.
11405 # A symbol stripping program
11408 # Used to examine libraries when file_magic_cmd begins "file"
11409 MAGIC_CMD=$MAGIC_CMD
11411 # Used on cygwin: DLL creation program.
11414 # Used on cygwin: object dumper.
11417 # Used on cygwin: assembler.
11420 # The name of the directory that contains temporary libtool files.
11423 # How to create reloadable object files.
11424 reload_flag=$lt_reload_flag
11425 reload_cmds=$lt_reload_cmds
11427 # How to pass a linker flag through the compiler.
11428 wl=$lt_lt_prog_compiler_wl
11430 # Object file suffix (normally "o").
11431 objext="$ac_objext"
11433 # Old archive suffix (normally "a").
11436 # Shared library suffix (normally ".so").
11437 shrext_cmds='$shrext_cmds'
11439 # Executable file suffix (normally "").
11442 # Additional compiler flags for building library objects.
11443 pic_flag=$lt_lt_prog_compiler_pic
11446 # What is the maximum length of a command?
11447 max_cmd_len=$lt_cv_sys_max_cmd_len
11449 # Does compiler simultaneously support -c and -o options?
11450 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11452 # Must we lock files when doing compilation?
11453 need_locks=$lt_need_locks
11455 # Do we need the lib prefix for modules?
11456 need_lib_prefix=$need_lib_prefix
11458 # Do we need a version for libraries?
11459 need_version=$need_version
11461 # Whether dlopen is supported.
11462 dlopen_support=$enable_dlopen
11464 # Whether dlopen of programs is supported.
11465 dlopen_self=$enable_dlopen_self
11467 # Whether dlopen of statically linked programs is supported.
11468 dlopen_self_static=$enable_dlopen_self_static
11470 # Compiler flag to prevent dynamic linking.
11471 link_static_flag=$lt_lt_prog_compiler_static
11473 # Compiler flag to turn off builtin functions.
11474 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11476 # Compiler flag to allow reflexive dlopens.
11477 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11479 # Compiler flag to generate shared objects directly from archives.
11480 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11482 # Compiler flag to generate thread-safe objects.
11483 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11485 # Library versioning type.
11486 version_type=$version_type
11488 # Format of library name prefix.
11489 libname_spec=$lt_libname_spec
11491 # List of archive names. First name is the real one, the rest are links.
11492 # The last name is the one that the linker finds with -lNAME.
11493 library_names_spec=$lt_library_names_spec
11495 # The coded name of the library, if different from the real name.
11496 soname_spec=$lt_soname_spec
11498 # Commands used to build and install an old-style archive.
11500 old_archive_cmds=$lt_old_archive_cmds
11501 old_postinstall_cmds=$lt_old_postinstall_cmds
11502 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11504 # Create an old-style archive from a shared archive.
11505 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11507 # Create a temporary old-style archive to link instead of a shared archive.
11508 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11510 # Commands used to build and install a shared archive.
11511 archive_cmds=$lt_archive_cmds
11512 archive_expsym_cmds=$lt_archive_expsym_cmds
11513 postinstall_cmds=$lt_postinstall_cmds
11514 postuninstall_cmds=$lt_postuninstall_cmds
11516 # Commands used to build a loadable module (assumed same as above if empty)
11517 module_cmds=$lt_module_cmds
11518 module_expsym_cmds=$lt_module_expsym_cmds
11520 # Commands to strip libraries.
11521 old_striplib=$lt_old_striplib
11522 striplib=$lt_striplib
11524 # Dependencies to place before the objects being linked to create a
11526 predep_objects=$lt_predep_objects
11528 # Dependencies to place after the objects being linked to create a
11530 postdep_objects=$lt_postdep_objects
11532 # Dependencies to place before the objects being linked to create a
11534 predeps=$lt_predeps
11536 # Dependencies to place after the objects being linked to create a
11538 postdeps=$lt_postdeps
11540 # The library search path used internally by the compiler when linking
11541 # a shared library.
11542 compiler_lib_search_path=$lt_compiler_lib_search_path
11544 # Method to check whether dependent libraries are shared objects.
11545 deplibs_check_method=$lt_deplibs_check_method
11547 # Command to use when deplibs_check_method == file_magic.
11548 file_magic_cmd=$lt_file_magic_cmd
11550 # Flag that allows shared libraries with undefined symbols to be built.
11551 allow_undefined_flag=$lt_allow_undefined_flag
11553 # Flag that forces no undefined symbols.
11554 no_undefined_flag=$lt_no_undefined_flag
11556 # Commands used to finish a libtool library installation in a directory.
11557 finish_cmds=$lt_finish_cmds
11559 # Same as above, but a single script fragment to be evaled but not shown.
11560 finish_eval=$lt_finish_eval
11562 # Take the output of nm and produce a listing of raw symbols and C names.
11563 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11565 # Transform the output of nm in a proper C declaration
11566 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11568 # Transform the output of nm in a C name address pair
11569 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11571 # This is the shared library runtime path variable.
11572 runpath_var=$runpath_var
11574 # This is the shared library path variable.
11575 shlibpath_var=$shlibpath_var
11577 # Is shlibpath searched before the hard-coded library search path?
11578 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11580 # How to hardcode a shared library path into an executable.
11581 hardcode_action=$hardcode_action
11583 # Whether we should hardcode library paths into libraries.
11584 hardcode_into_libs=$hardcode_into_libs
11586 # Flag to hardcode \$libdir into a binary during linking.
11587 # This must work even if \$libdir does not exist.
11588 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11590 # If ld is used when linking, flag to hardcode \$libdir into
11591 # a binary during linking. This must work even if \$libdir does
11593 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11595 # Whether we need a single -rpath flag with a separated argument.
11596 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11598 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11599 # resulting binary.
11600 hardcode_direct=$hardcode_direct
11602 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11603 # resulting binary.
11604 hardcode_minus_L=$hardcode_minus_L
11606 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11607 # the resulting binary.
11608 hardcode_shlibpath_var=$hardcode_shlibpath_var
11610 # Set to yes if building a shared library automatically hardcodes DIR into the library
11611 # and all subsequent libraries and executables linked against it.
11612 hardcode_automatic=$hardcode_automatic
11614 # Variables whose values should be saved in libtool wrapper scripts and
11615 # restored at relink time.
11616 variables_saved_for_relink="$variables_saved_for_relink"
11618 # Whether libtool must link a program against all its dependency libraries.
11619 link_all_deplibs=$link_all_deplibs
11621 # Compile-time system search path for libraries
11622 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11624 # Run-time system search path for libraries
11625 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11627 # Fix the shell variable \$srcfile for the compiler.
11628 fix_srcfile_path="$fix_srcfile_path"
11630 # Set to yes if exported symbols are required.
11631 always_export_symbols=$always_export_symbols
11633 # The commands to list exported symbols.
11634 export_symbols_cmds=$lt_export_symbols_cmds
11636 # The commands to extract the exported symbol list from a shared archive.
11637 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11639 # Symbols that should not be listed in the preloaded symbols.
11640 exclude_expsyms=$lt_exclude_expsyms
11642 # Symbols that must always be exported.
11643 include_expsyms=$lt_include_expsyms
11645 # ### END LIBTOOL CONFIG
11652 cat <<\EOF >> "$cfgfile"
11654 # AIX sometimes has problems with the GCC collect2 program. For some
11655 # reason, if we set the COLLECT_NAMES environment variable, the problems
11656 # vanish in a puff of smoke.
11657 if test "X${COLLECT_NAMES+set}" != Xset; then
11659 export COLLECT_NAMES
11665 # We use sed instead of cat because bash on DJGPP gets confused if
11666 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11667 # text mode, it properly converts lines to CR/LF. This bash problem
11668 # is reportedly fixed, but why not run on old versions too?
11669 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11671 mv -f "$cfgfile" "$ofile" || \
11672 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11676 # If there is no Makefile yet, we rely on a make rule to execute
11677 # `config.status
--recheck' to rerun these tests and create the
11678 # libtool script then.
11679 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11680 if test -f "$ltmain_in"; then
11681 test -f Makefile && make "$ltmain"
11687 ac_cpp='$CPP $CPPFLAGS'
11688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11689 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11695 # Check whether --with-tags was given.
11696 if test "${with_tags+set}" = set; then
11697 withval=$with_tags; tagnames="$withval"
11701 if test -f "$ltmain" && test -n "$tagnames"; then
11702 if test ! -f "${ofile}"; then
11703 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11704 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11707 if test -z "$LTCC"; then
11708 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11709 if test -z "$LTCC"; then
11710 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11711 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11713 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11714 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11717 if test -z "$LTCFLAGS"; then
11718 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11721 # Extract list of available tagged configurations in $ofile.
11722 # Note that this assumes the entire list is on one line.
11723 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11726 for tagname in $tagnames; do
11728 # Check whether tagname contains only valid characters
11729 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11731 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11732 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11733 { (exit 1); exit 1; }; }
11737 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11739 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11740 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11741 { (exit 1); exit 1; }; }
11744 # Update the list of available tags.
11745 if test -n "$tagname"; then
11746 echo appending configuration tag \"$tagname\" to $ofile
11750 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11751 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11752 (test "X$CXX" != "Xg++"))) ; then
11754 ac_cpp='$CXXCPP $CPPFLAGS'
11755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11762 archive_cmds_need_lc_CXX=no
11763 allow_undefined_flag_CXX=
11764 always_export_symbols_CXX=no
11765 archive_expsym_cmds_CXX=
11766 export_dynamic_flag_spec_CXX=
11767 hardcode_direct_CXX=no
11768 hardcode_libdir_flag_spec_CXX=
11769 hardcode_libdir_flag_spec_ld_CXX=
11770 hardcode_libdir_separator_CXX=
11771 hardcode_minus_L_CXX=no
11772 hardcode_shlibpath_var_CXX=unsupported
11773 hardcode_automatic_CXX=no
11775 module_expsym_cmds_CXX=
11776 link_all_deplibs_CXX=unknown
11777 old_archive_cmds_CXX=$old_archive_cmds
11778 no_undefined_flag_CXX=
11779 whole_archive_flag_spec_CXX=
11780 enable_shared_with_static_runtimes_CXX=no
11782 # Dependencies to place before and after the object being linked:
11783 predep_objects_CXX=
11784 postdep_objects_CXX=
11787 compiler_lib_search_path_CXX=
11789 # Source file extension for C++ test sources.
11792 # Object file extension for compiled C++ test sources.
11796 # Code to be used in simple compile tests
11797 lt_simple_compile_test_code="int some_variable = 0;\n"
11799 # Code to be used in simple link tests
11800 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
11802 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11804 # If no C compiler was specified, use CC.
11807 # If no C compiler flags were specified, use CFLAGS.
11808 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11810 # Allow CC to be a program name with arguments.
11814 # save warnings/boilerplate of simple test code
11815 ac_outfile=conftest.$ac_objext
11816 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11817 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11818 _lt_compiler_boilerplate=`cat conftest.err
`
11821 ac_outfile=conftest.$ac_objext
11822 printf "$lt_simple_link_test_code" >conftest.$ac_ext
11823 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11824 _lt_linker_boilerplate=`cat conftest.err
`
11828 # Allow CC to be a program name with arguments.
11833 lt_save_with_gnu_ld=$with_gnu_ld
11834 lt_save_path_LD=$lt_cv_path_LD
11835 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11836 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11838 $as_unset lt_cv_prog_gnu_ld
11840 if test -n "${lt_cv_path_LDCXX+set}"; then
11841 lt_cv_path_LD=$lt_cv_path_LDCXX
11843 $as_unset lt_cv_path_LD
11845 test -z "${LDCXX+set}" || LD=$LDCXX
11849 for cc_temp in $compiler""; do
11851 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11852 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11857 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11860 # We don't want -fno-exception wen compiling C++ code, so set the
11861 # no_builtin_flag separately
11862 if test "$GXX" = yes; then
11863 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11865 lt_prog_compiler_no_builtin_flag_CXX=
11868 if test "$GXX" = yes; then
11869 # Set up default GNU C++ configuration
11872 # Check whether --with-gnu-ld was given.
11873 if test "${with_gnu_ld+set}" = set; then
11874 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11880 if test "$GCC" = yes; then
11881 # Check if gcc -print-prog-name=ld gives a path.
11882 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11883 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11886 # gcc leaves a trailing carriage return which upsets mingw
11887 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11889 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11892 # Accept absolute paths.
11894 re_direlt='/[^/][^/]*/\.\./'
11895 # Canonicalize the pathname of ld
11896 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11897 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11898 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11900 test -z "$LD" && LD="$ac_prog"
11903 # If it fails, then pretend we aren't using GCC.
11907 # If it is relative, then search for the first ld in PATH.
11908 with_gnu_ld=unknown
11911 elif test "$with_gnu_ld" = yes; then
11912 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11913 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11915 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11916 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11918 if test "${lt_cv_path_LD+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 if test -z "$LD"; then
11922 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11923 for ac_dir in $PATH; do
11925 test -z "$ac_dir" && ac_dir=.
11926 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11927 lt_cv_path_LD="$ac_dir/$ac_prog"
11928 # Check to see if the program is GNU ld. I'd rather use --version,
11929 # but apparently some variants of GNU ld only accept -v.
11930 # Break only if it was the GNU/non-GNU ld that we prefer.
11931 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11932 *GNU* | *'with BFD'*)
11933 test "$with_gnu_ld" != no && break
11936 test "$with_gnu_ld" != yes && break
11943 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11947 LD="$lt_cv_path_LD"
11948 if test -n "$LD"; then
11949 { echo "$as_me:$LINENO: result: $LD" >&5
11950 echo "${ECHO_T}$LD" >&6; }
11952 { echo "$as_me:$LINENO: result: no" >&5
11953 echo "${ECHO_T}no" >&6; }
11955 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11956 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11957 { (exit 1); exit 1; }; }
11958 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11959 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11960 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11964 case `$LD -v 2>&1 </dev
/null
` in
11965 *GNU* | *'with BFD'*)
11966 lt_cv_prog_gnu_ld=yes
11969 lt_cv_prog_gnu_ld=no
11973 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11974 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11975 with_gnu_ld=$lt_cv_prog_gnu_ld
11979 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11980 # archiving commands below assume that GNU ld is being used.
11981 if test "$with_gnu_ld" = yes; then
11982 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11983 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11985 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11986 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11988 # If archive_cmds runs LD, not CC, wlarc should be empty
11989 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11990 # investigate it a little bit more. (MM)
11993 # ancient GNU ld didn't support --whole-archive et. al.
11994 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11995 grep 'no-whole-archive' > /dev/null; then
11996 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11998 whole_archive_flag_spec_CXX=
12004 # A generic and very simple default shared library creation
12005 # command for GNU C++ for the case where it uses the native
12006 # linker, instead of GNU ld. If possible, this setting should
12007 # overridden to take advantage of the native linker features on
12008 # the platform it is being used on.
12009 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12012 # Commands to make compiler produce verbose output that lists
12013 # what "hidden" libraries, object files and flags are used when
12014 # linking a shared library.
12015 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12023 # PORTME: fill in a description of your system's C++ link characteristics
12024 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12025 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12029 # FIXME: insert proper C++ library support
12033 if test "$host_cpu" = ia64; then
12034 # On IA64, the linker does run time linking by default, so we don't
12035 # have to do anything special.
12036 aix_use_runtimelinking=no
12037 exp_sym_flag='-Bexport'
12040 aix_use_runtimelinking=no
12042 # Test if we are trying to use run time linking or normal
12043 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12044 # need to do runtime linking.
12045 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12046 for ld_flag in $LDFLAGS; do
12049 aix_use_runtimelinking=yes
12057 exp_sym_flag='-bexport'
12058 no_entry_flag='-bnoentry'
12061 # When large executables or shared objects are built, AIX ld can
12062 # have problems creating the table of contents. If linking a library
12063 # or program results in "error TOC overflow" add -mminimal-toc to
12064 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12065 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12067 archive_cmds_CXX=''
12068 hardcode_direct_CXX=yes
12069 hardcode_libdir_separator_CXX=':'
12070 link_all_deplibs_CXX=yes
12072 if test "$GXX" = yes; then
12073 case $host_os in aix4.[012]|aix4.[012].*)
12074 # We only want to do this on AIX 4.2 and lower, the check
12075 # below for broken collect2 doesn't work under 4.3+
12076 collect2name=`${CC} -print-prog-name=collect2
`
12077 if test -f "$collect2name" && \
12078 strings "$collect2name" | grep resolve_lib_name >/dev/null
12080 # We have reworked collect2
12081 hardcode_direct_CXX=yes
12083 # We have old collect2
12084 hardcode_direct_CXX=unsupported
12085 # It fails to find uninstalled libraries when the uninstalled
12086 # path is not listed in the libpath. Setting hardcode_minus_L
12087 # to unsupported forces relinking
12088 hardcode_minus_L_CXX=yes
12089 hardcode_libdir_flag_spec_CXX='-L$libdir'
12090 hardcode_libdir_separator_CXX=
12094 shared_flag='-shared'
12095 if test "$aix_use_runtimelinking" = yes; then
12096 shared_flag="$shared_flag "'${wl}-G'
12100 if test "$host_cpu" = ia64; then
12101 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12102 # chokes on -Wl,-G. The following line is correct:
12105 if test "$aix_use_runtimelinking" = yes; then
12106 shared_flag='${wl}-G'
12108 shared_flag='${wl}-bM:SRE'
12113 # It seems that -bexpall does not export symbols beginning with
12114 # underscore (_), so it is better to generate a list of symbols to export.
12115 always_export_symbols_CXX=yes
12116 if test "$aix_use_runtimelinking" = yes; then
12117 # Warning - without using the other runtime loading flags (-brtl),
12118 # -berok will link without error, but may produce a broken library.
12119 allow_undefined_flag_CXX='-berok'
12120 # Determine the default libpath from the value encoded in an empty executable.
12121 cat >conftest.$ac_ext <<_ACEOF
12124 cat confdefs.h >>conftest.$ac_ext
12125 cat >>conftest.$ac_ext <<_ACEOF
12126 /* end confdefs.h. */
12136 rm -f conftest.$ac_objext conftest$ac_exeext
12137 if { (ac_try="$ac_link"
12138 case "(($ac_try" in
12139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12140 *) ac_try_echo
=$ac_try;;
12142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12143 (eval "$ac_link") 2>conftest.er1
12145 grep -v '^ *+' conftest.er1
>conftest.err
12147 cat conftest.err
>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } && {
12150 test -z "$ac_cxx_werror_flag" ||
12151 test ! -s conftest.err
12152 } && test -s conftest
$ac_exeext &&
12153 $as_test_x conftest
$ac_exeext; then
12155 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12157 # Check for a 64-bit object if we didn't find anything.
12158 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12161 echo "$as_me: failed program was:" >&5
12162 sed 's/^/| /' conftest.
$ac_ext >&5
12167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12168 conftest
$ac_exeext conftest.
$ac_ext
12169 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12171 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12173 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12175 if test "$host_cpu" = ia64
; then
12176 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12177 allow_undefined_flag_CXX
="-z nodefs"
12178 archive_expsym_cmds_CXX
="\$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"
12180 # Determine the default libpath from the value encoded in an empty executable.
12181 cat >conftest.
$ac_ext <<_ACEOF
12184 cat confdefs.h
>>conftest.
$ac_ext
12185 cat >>conftest.
$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12196 rm -f conftest.
$ac_objext conftest
$ac_exeext
12197 if { (ac_try
="$ac_link"
12198 case "(($ac_try" in
12199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12200 *) ac_try_echo=$ac_try;;
12202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12203 (eval "$ac_link") 2>conftest.er1
12205 grep -v '^ *+' conftest.er1 >conftest.err
12207 cat conftest.err >&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); } && {
12210 test -z "$ac_cxx_werror_flag" ||
12211 test ! -s conftest.err
12212 } && test -s conftest$ac_exeext &&
12213 $as_test_x conftest$ac_exeext; then
12215 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12217 # Check for a 64-bit object if we didn't find anything.
12218 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.$ac_ext >&5
12227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12228 conftest$ac_exeext conftest.$ac_ext
12229 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12231 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12232 # Warning - without using the other run time loading flags,
12233 # -berok will link without error, but may produce a broken library.
12234 no_undefined_flag_CXX=' ${wl}-bernotok'
12235 allow_undefined_flag_CXX=' ${wl}-berok'
12236 # Exported symbols can be pulled into shared objects from archives
12237 whole_archive_flag_spec_CXX='$convenience'
12238 archive_cmds_need_lc_CXX=yes
12239 # This is similar to how AIX traditionally builds its shared libraries.
12240 archive_expsym_cmds_CXX="\$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'
12246 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12247 allow_undefined_flag_CXX=unsupported
12248 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12249 # support --undefined. This deserves some investigation. FIXME
12250 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12257 case $cc_basename in
12259 # FIXME: insert proper C++ library support
12265 cygwin* | mingw* | pw32*)
12266 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12267 # as there is no search path for DLLs.
12268 hardcode_libdir_flag_spec_CXX='-L$libdir'
12269 allow_undefined_flag_CXX=unsupported
12270 always_export_symbols_CXX=no
12271 enable_shared_with_static_runtimes_CXX=yes
12273 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12274 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12275 # If the export-symbols file already is a .def file (1st line
12276 # is EXPORTS), use it as is; otherwise, prepend...
12277 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
12278 cp $export_symbols $output_objdir/$soname.def;
12280 echo EXPORTS > $output_objdir/$soname.def;
12281 cat $export_symbols >> $output_objdir/$soname.def;
12283 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12288 darwin* | rhapsody*)
12290 rhapsody* | darwin1.[012])
12291 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12294 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12295 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12297 case ${MACOSX_DEPLOYMENT_TARGET} in
12299 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12302 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12308 archive_cmds_need_lc_CXX=no
12309 hardcode_direct_CXX=no
12310 hardcode_automatic_CXX=yes
12311 hardcode_shlibpath_var_CXX=unsupported
12312 whole_archive_flag_spec_CXX=''
12313 link_all_deplibs_CXX=yes
12315 if test "$GXX" = yes ; then
12316 lt_int_apple_cc_single_mod=no
12317 output_verbose_link_cmd='echo'
12318 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12319 lt_int_apple_cc_single_mod=yes
12321 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12322 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12324 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12326 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12327 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12328 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12329 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12331 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12333 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12335 case $cc_basename in
12337 output_verbose_link_cmd='echo'
12338 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
12339 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12340 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12341 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12342 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12352 case $cc_basename in
12354 # FIXME: insert proper C++ library support
12358 # Green Hills C++ Compiler
12359 # FIXME: insert proper C++ library support
12363 # FIXME: insert proper C++ library support
12369 # C++ shared libraries reported to be fairly broken before switch to ELF
12373 archive_cmds_need_lc_CXX=no
12375 freebsd* | kfreebsd*-gnu | dragonfly*)
12376 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12383 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12384 hardcode_libdir_separator_CXX=:
12385 export_dynamic_flag_spec_CXX='${wl}-E'
12386 hardcode_direct_CXX=yes
12387 hardcode_minus_L_CXX=yes # Not in the search PATH,
12388 # but as the default
12389 # location of the library.
12391 case $cc_basename in
12393 # FIXME: insert proper C++ library support
12397 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12398 # Commands to make compiler produce verbose output that lists
12399 # what "hidden" libraries, object files and flags are used when
12400 # linking a shared library.
12402 # There doesn't appear to be a way to prevent this compiler from
12403 # explicitly linking system object files so we need to strip them
12404 # from the output so that they don't get included in the library
12406 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12409 if test "$GXX" = yes; then
12410 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12412 # FIXME: insert proper C++ library support
12419 if test $with_gnu_ld = no; then
12420 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12421 hardcode_libdir_separator_CXX=:
12425 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12428 export_dynamic_flag_spec_CXX='${wl}-E'
12434 hardcode_direct_CXX=no
12435 hardcode_shlibpath_var_CXX=no
12438 hardcode_direct_CXX=yes
12439 hardcode_minus_L_CXX=yes # Not in the search PATH,
12440 # but as the default
12441 # location of the library.
12445 case $cc_basename in
12447 # FIXME: insert proper C++ library support
12453 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12456 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12459 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12462 # Commands to make compiler produce verbose output that lists
12463 # what "hidden" libraries, object files and flags are used when
12464 # linking a shared library.
12466 # There doesn't appear to be a way to prevent this compiler from
12467 # explicitly linking system object files so we need to strip them
12468 # from the output so that they don't get included in the library
12470 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12473 if test "$GXX" = yes; then
12474 if test $with_gnu_ld = no; then
12477 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12480 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12483 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12488 # FIXME: insert proper C++ library support
12495 hardcode_direct_CXX=no
12496 hardcode_shlibpath_var_CXX=no
12497 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12498 export_dynamic_flag_spec_CXX='${wl}-E'
12499 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12500 # Instead, shared libraries are loaded at an image base (0x10000000 by
12501 # default) and relocated if they conflict, which is a slow very memory
12502 # consuming and fragmenting process. To avoid this, we pick a random,
12503 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12504 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12505 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12506 archive_expsym_cmds_CXX='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'
12509 case $cc_basename in
12512 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12514 # Archives containing C++ object files must be created using
12515 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12516 # necessary to make sure instantiated templates are included
12518 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12521 if test "$GXX" = yes; then
12522 if test "$with_gnu_ld" = no; then
12523 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12525 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12528 link_all_deplibs_CXX=yes
12531 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12532 hardcode_libdir_separator_CXX=:
12535 case $cc_basename in
12537 # Kuck and Associates, Inc. (KAI) C++ Compiler
12539 # KCC will only create a shared library if the output file
12540 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12541 # to its proper name (with version) after linking.
12542 archive_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib; mv \
$templib $lib'
12543 archive_expsym_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib ${wl}-retain-symbols-file,$export_symbols; mv \
$templib $lib'
12544 # Commands to make compiler produce verbose output that lists
12545 # what "hidden" libraries, object files and flags are used when
12546 # linking a shared library.
12548 # There doesn't appear to be a way to prevent this compiler from
12549 # explicitly linking system object files so we need to strip them
12550 # from the output so that they don't get included in the library
12552 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12554 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12555 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12557 # Archives containing C++ object files must be created using
12558 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12559 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12564 # version 8.0 and above of icpc choke on multiply defined symbols
12565 # if we add $predep_objects and $postdep_objects, however 7.1 and
12566 # earlier do not add the objects themselves.
12567 case `$CC -V 2>&1` in
12569 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12570 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12572 *) # Version 8.0 or newer
12575 ia64
*) tmp_idyn
=' -i_dynamic';;
12577 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12578 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12581 archive_cmds_need_lc_CXX
=no
12582 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12583 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12584 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12587 # Portland Group C++ compiler
12588 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12589 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12591 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12592 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12593 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12597 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12598 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12600 runpath_var
=LD_RUN_PATH
12601 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12602 hardcode_libdir_separator_CXX
=:
12604 # Commands to make compiler produce verbose output that lists
12605 # what "hidden" libraries, object files and flags are used when
12606 # linking a shared library.
12608 # There doesn't appear to be a way to prevent this compiler from
12609 # explicitly linking system object files so we need to strip them
12610 # from the output so that they don't get included in the library
12612 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12617 # FIXME: insert proper C++ library support
12621 # FIXME: insert proper C++ library support
12625 case $cc_basename in
12627 # FIXME: insert proper C++ library support
12631 # FIXME: insert proper C++ library support
12637 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12638 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12640 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12641 hardcode_direct_CXX
=yes
12642 hardcode_shlibpath_var_CXX
=no
12644 # Workaround some broken pre-1.5 toolchains
12645 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12648 # C++ shared libraries are fairly broken
12652 hardcode_direct_CXX
=yes
12653 hardcode_shlibpath_var_CXX
=no
12654 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12656 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12657 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12658 export_dynamic_flag_spec_CXX
='${wl}-E'
12659 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12661 output_verbose_link_cmd
='echo'
12664 case $cc_basename in
12666 # Kuck and Associates, Inc. (KAI) C++ Compiler
12668 # KCC will only create a shared library if the output file
12669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12670 # to its proper name (with version) after linking.
12671 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12673 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12674 hardcode_libdir_separator_CXX
=:
12676 # Archives containing C++ object files must be created using
12677 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12678 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12682 # Rational C++ 2.4.1
12683 # FIXME: insert proper C++ library support
12687 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12688 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12690 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12691 hardcode_libdir_separator_CXX
=:
12693 # Commands to make compiler produce verbose output that lists
12694 # what "hidden" libraries, object files and flags are used when
12695 # linking a shared library.
12697 # There doesn't appear to be a way to prevent this compiler from
12698 # explicitly linking system object files so we need to strip them
12699 # from the output so that they don't get included in the library
12701 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12704 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12705 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12706 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12708 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12709 hardcode_libdir_separator_CXX
=:
12711 # Commands to make compiler produce verbose output that lists
12712 # what "hidden" libraries, object files and flags are used when
12713 # linking a shared library.
12714 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12717 # FIXME: insert proper C++ library support
12724 case $cc_basename in
12726 # Kuck and Associates, Inc. (KAI) C++ Compiler
12728 # KCC will only create a shared library if the output file
12729 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12730 # to its proper name (with version) after linking.
12731 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12733 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12734 hardcode_libdir_separator_CXX
=:
12736 # Archives containing C++ object files must be created using
12737 # the KAI C++ compiler.
12738 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12741 # Rational C++ 2.4.1
12742 # FIXME: insert proper C++ library support
12746 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12747 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12748 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12749 echo "-hidden">> $lib.exp~
12750 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12753 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12754 hardcode_libdir_separator_CXX
=:
12756 # Commands to make compiler produce verbose output that lists
12757 # what "hidden" libraries, object files and flags are used when
12758 # linking a shared library.
12760 # There doesn't appear to be a way to prevent this compiler from
12761 # explicitly linking system object files so we need to strip them
12762 # from the output so that they don't get included in the library
12764 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12767 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12768 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12769 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12771 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12772 hardcode_libdir_separator_CXX
=:
12774 # Commands to make compiler produce verbose output that lists
12775 # what "hidden" libraries, object files and flags are used when
12776 # linking a shared library.
12777 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12780 # FIXME: insert proper C++ library support
12787 # FIXME: insert proper C++ library support
12791 case $cc_basename in
12794 # FIXME: insert proper C++ library support
12799 # FIXME: insert proper C++ library support
12803 # FIXME: insert proper C++ library support
12809 case $cc_basename in
12811 # Sun C++ 4.2, 5.x and Centerline C++
12812 archive_cmds_need_lc_CXX
=yes
12813 no_undefined_flag_CXX
=' -zdefs'
12814 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12815 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12816 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12818 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12819 hardcode_shlibpath_var_CXX
=no
12821 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12823 # The C++ compiler is used as linker so we must use $wl
12824 # flag to pass the commands to the underlying system
12825 # linker. We must also pass each convience library through
12826 # to the system linker between allextract/defaultextract.
12827 # The C++ compiler will combine linker options so we
12828 # cannot just pass the convience library names through
12830 # Supported since Solaris 2.6 (maybe 2.5.1?)
12831 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12834 link_all_deplibs_CXX
=yes
12836 output_verbose_link_cmd
='echo'
12838 # Archives containing C++ object files must be created using
12839 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12840 # necessary to make sure instantiated templates are included
12842 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12845 # Green Hills C++ Compiler
12846 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12848 # The C++ compiler must be used to create the archive.
12849 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12852 # GNU C++ compiler with Solaris linker
12853 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12854 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12855 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12856 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12857 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12858 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12860 # Commands to make compiler produce verbose output that lists
12861 # what "hidden" libraries, object files and flags are used when
12862 # linking a shared library.
12863 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12865 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12867 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12868 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12869 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12871 # Commands to make compiler produce verbose output that lists
12872 # what "hidden" libraries, object files and flags are used when
12873 # linking a shared library.
12874 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12877 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12882 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12883 no_undefined_flag_CXX
='${wl}-z,text'
12884 archive_cmds_need_lc_CXX
=no
12885 hardcode_shlibpath_var_CXX
=no
12886 runpath_var
='LD_RUN_PATH'
12888 case $cc_basename in
12890 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12891 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12894 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12895 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12899 sysv5
* | sco3.2v5
* | sco5v6
*)
12900 # Note: We can NOT use -z defs as we might desire, because we do not
12901 # link with -lc, and that would cause any symbols used from libc to
12902 # always be unresolved, which means just about no library would
12903 # ever link correctly. If we're not using GNU ld we use -z text
12904 # though, which does catch some bad symbols but isn't as heavy-handed
12906 # For security reasons, it is highly recommended that you always
12907 # use absolute paths for naming shared libraries, and exclude the
12908 # DT_RUNPATH tag from executables and libraries. But doing so
12909 # requires that you compile everything twice, which is a pain.
12910 # So that behaviour is only enabled if SCOABSPATH is set to a
12911 # non-empty value in the environment. Most likely only useful for
12912 # creating official distributions of packages.
12913 # This is a hack until libtool officially supports absolute path
12914 # names for shared libraries.
12915 no_undefined_flag_CXX
='${wl}-z,text'
12916 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12917 archive_cmds_need_lc_CXX
=no
12918 hardcode_shlibpath_var_CXX
=no
12919 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12920 hardcode_libdir_separator_CXX
=':'
12921 link_all_deplibs_CXX
=yes
12922 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12923 runpath_var
='LD_RUN_PATH'
12925 case $cc_basename in
12927 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12928 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12931 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12932 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12937 case $cc_basename in
12939 # NonStop-UX NCC 3.20
12940 # FIXME: insert proper C++ library support
12944 # FIXME: insert proper C++ library support
12950 # FIXME: insert proper C++ library support
12954 # FIXME: insert proper C++ library support
12958 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12959 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12960 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12966 cat > conftest.
$ac_ext <<EOF
12970 Foo (void) { a = 0; }
12976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12977 (eval $ac_compile) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; then
12981 # Parse the compiler output and extract the necessary
12982 # objects, libraries and library flags.
12984 # Sentinel used to keep track of whether or not we are before
12985 # the conftest object file.
12986 pre_test_object_deps_done
=no
12988 # The `*' in the case matches for architectures that use `case' in
12989 # $output_verbose_cmd can trigger glob expansion during the loop
12990 # eval without this substitution.
12991 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12993 for p
in `eval $output_verbose_link_cmd`; do
12997 # Some compilers place space between "-{L,R}" and the path.
12998 # Remove the space.
12999 if test $p = "-L" \
13000 ||
test $p = "-R"; then
13007 if test "$pre_test_object_deps_done" = no
; then
13010 # Internal compiler library paths should come after those
13011 # provided the user. The postdeps already come after the
13012 # user supplied libs so there is no need to process them.
13013 if test -z "$compiler_lib_search_path_CXX"; then
13014 compiler_lib_search_path_CXX
="${prev}${p}"
13016 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13019 # The "-l" case would never come before the object being
13020 # linked, so don't bother handling this case.
13023 if test -z "$postdeps_CXX"; then
13024 postdeps_CXX
="${prev}${p}"
13026 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13032 # This assumes that the test object file only shows up
13033 # once in the compiler output.
13034 if test "$p" = "conftest.$objext"; then
13035 pre_test_object_deps_done
=yes
13039 if test "$pre_test_object_deps_done" = no
; then
13040 if test -z "$predep_objects_CXX"; then
13041 predep_objects_CXX
="$p"
13043 predep_objects_CXX
="$predep_objects_CXX $p"
13046 if test -z "$postdep_objects_CXX"; then
13047 postdep_objects_CXX
="$p"
13049 postdep_objects_CXX
="$postdep_objects_CXX $p"
13054 *) ;; # Ignore the rest.
13062 echo "libtool.m4: error: problem compiling CXX test program"
13065 $rm -f confest.
$objext
13067 # PORTME: override above test on systems where it is broken
13070 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13071 # hack all around it, let's just trust "g++" to DTRT.
13072 predep_objects_CXX
=
13073 postdep_objects_CXX
=
13078 case $cc_basename in
13080 # Adding this requires a known-good setup of shared libraries for
13081 # Sun compiler versions before 5.6, else PIC objects from an old
13082 # archive will be linked into the output, leading to subtle bugs.
13083 postdeps_CXX
='-lCstd -lCrun'
13090 case " $postdeps_CXX " in
13091 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13094 lt_prog_compiler_wl_CXX
=
13095 lt_prog_compiler_pic_CXX
=
13096 lt_prog_compiler_static_CXX
=
13098 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13099 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13101 # C++ specific cases for pic, static, wl, etc.
13102 if test "$GXX" = yes; then
13103 lt_prog_compiler_wl_CXX
='-Wl,'
13104 lt_prog_compiler_static_CXX
='-static'
13108 # All AIX code is PIC.
13109 if test "$host_cpu" = ia64
; then
13110 # AIX 5 now supports IA64 processor
13111 lt_prog_compiler_static_CXX
='-Bstatic'
13115 # FIXME: we need at least 68020 code to build shared libraries, but
13116 # adding the `-m68020' flag to GCC prevents building anything better,
13118 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13120 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13121 # PIC is the default for these OSes.
13123 mingw
* | os2
* | pw32
*)
13124 # This hack is so that the source file can tell whether it is being
13125 # built for inclusion in a dll (and should export symbols for example).
13126 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13128 darwin
* | rhapsody
*)
13129 # PIC is the default on this platform
13130 # Common symbols not allowed in MH_DYLIB files
13131 lt_prog_compiler_pic_CXX
='-fno-common'
13134 # DJGPP does not support shared libraries at all
13135 lt_prog_compiler_pic_CXX
=
13138 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13139 # Instead, we relocate shared libraries at runtime.
13142 if test -d /usr
/nec
; then
13143 lt_prog_compiler_pic_CXX
=-Kconform_pic
13147 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13148 # not for PA HP-UX.
13153 lt_prog_compiler_pic_CXX
='-fPIC'
13158 lt_prog_compiler_pic_CXX
='-fPIC'
13164 # All AIX code is PIC.
13165 if test "$host_cpu" = ia64
; then
13166 # AIX 5 now supports IA64 processor
13167 lt_prog_compiler_static_CXX
='-Bstatic'
13169 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13173 case $cc_basename in
13175 # Green Hills C++ Compiler
13176 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13181 # PIC is the default on this platform
13182 # Common symbols not allowed in MH_DYLIB files
13183 case $cc_basename in
13185 lt_prog_compiler_pic_CXX
='-qnocommon'
13186 lt_prog_compiler_wl_CXX
='-Wl,'
13191 case $cc_basename in
13193 lt_prog_compiler_pic_CXX
='-KPIC'
13196 # Green Hills C++ Compiler
13197 lt_prog_compiler_pic_CXX
='-pic'
13203 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
13204 # FreeBSD uses GNU C++
13206 hpux9
* | hpux10
* | hpux11
*)
13207 case $cc_basename in
13209 lt_prog_compiler_wl_CXX
='-Wl,'
13210 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13211 if test "$host_cpu" != ia64
; then
13212 lt_prog_compiler_pic_CXX
='+Z'
13216 lt_prog_compiler_wl_CXX
='-Wl,'
13217 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13223 lt_prog_compiler_pic_CXX
='+Z'
13232 # This is c89, which is MS Visual C++ (no shared libs)
13233 # Anyone wants to do a port?
13235 irix5
* | irix6
* | nonstopux
*)
13236 case $cc_basename in
13238 lt_prog_compiler_wl_CXX
='-Wl,'
13239 lt_prog_compiler_static_CXX
='-non_shared'
13240 # CC pic flag -KPIC is the default.
13247 case $cc_basename in
13250 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13251 lt_prog_compiler_pic_CXX
='-fPIC'
13255 lt_prog_compiler_wl_CXX
='-Wl,'
13256 lt_prog_compiler_pic_CXX
='-KPIC'
13257 lt_prog_compiler_static_CXX
='-static'
13260 # Portland Group C++ compiler.
13261 lt_prog_compiler_wl_CXX
='-Wl,'
13262 lt_prog_compiler_pic_CXX
='-fpic'
13263 lt_prog_compiler_static_CXX
='-Bstatic'
13267 # Make sure the PIC flag is empty. It appears that all Alpha
13268 # Linux and Compaq Tru64 Unix objects are PIC.
13269 lt_prog_compiler_pic_CXX
=
13270 lt_prog_compiler_static_CXX
='-non_shared'
13281 case $cc_basename in
13283 lt_prog_compiler_pic_CXX
='-W c,exportall'
13291 osf3
* | osf4
* | osf5
*)
13292 case $cc_basename in
13294 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13297 # Rational C++ 2.4.1
13298 lt_prog_compiler_pic_CXX
='-pic'
13301 # Digital/Compaq C++
13302 lt_prog_compiler_wl_CXX
='-Wl,'
13303 # Make sure the PIC flag is empty. It appears that all Alpha
13304 # Linux and Compaq Tru64 Unix objects are PIC.
13305 lt_prog_compiler_pic_CXX
=
13306 lt_prog_compiler_static_CXX
='-non_shared'
13315 case $cc_basename in
13317 # Sun C++ 4.2, 5.x and Centerline C++
13318 lt_prog_compiler_pic_CXX
='-KPIC'
13319 lt_prog_compiler_static_CXX
='-Bstatic'
13320 lt_prog_compiler_wl_CXX
='-Qoption ld '
13323 # Green Hills C++ Compiler
13324 lt_prog_compiler_pic_CXX
='-PIC'
13331 case $cc_basename in
13334 lt_prog_compiler_pic_CXX
='-pic'
13335 lt_prog_compiler_static_CXX
='-Bstatic'
13339 lt_prog_compiler_pic_CXX
='-pic'
13346 case $cc_basename in
13348 # NonStop-UX NCC 3.20
13349 lt_prog_compiler_pic_CXX
='-KPIC'
13355 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13356 case $cc_basename in
13358 lt_prog_compiler_wl_CXX
='-Wl,'
13359 lt_prog_compiler_pic_CXX
='-KPIC'
13360 lt_prog_compiler_static_CXX
='-Bstatic'
13367 lt_prog_compiler_can_build_shared_CXX
=no
13372 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13373 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13376 # Check to make sure the PIC flag actually works.
13378 if test -n "$lt_prog_compiler_pic_CXX"; then
13380 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13381 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13382 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 lt_prog_compiler_pic_works_CXX
=no
13386 ac_outfile
=conftest.
$ac_objext
13387 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13388 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13389 # Insert the option either (1) after the last *FLAGS variable, or
13390 # (2) before a word containing "conftest.", or (3) at the end.
13391 # Note that $ac_compile itself does not contain backslashes and begins
13392 # with a dollar sign (not a hyphen), so the echo should work correctly.
13393 # The option is referenced via a variable to avoid confusing sed.
13394 lt_compile
=`echo "$ac_compile" | $SED \
13395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13397 -e 's:$: $lt_compiler_flag:'`
13398 (eval echo "\"\$as_me:13398: $lt_compile\"" >&5)
13399 (eval "$lt_compile" 2>conftest.err
)
13401 cat conftest.err
>&5
13402 echo "$as_me:13402: \$? = $ac_status" >&5
13403 if (exit $ac_status) && test -s "$ac_outfile"; then
13404 # The compiler can only warn and ignore the option if not recognized
13405 # So say no if there are warnings other than the usual output.
13406 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13408 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13409 lt_prog_compiler_pic_works_CXX
=yes
13415 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13416 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13418 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
13419 case $lt_prog_compiler_pic_CXX in
13421 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13424 lt_prog_compiler_pic_CXX
=
13425 lt_prog_compiler_can_build_shared_CXX
=no
13430 # For platforms which do not support PIC, -DPIC is meaningless:
13432 lt_prog_compiler_pic_CXX
=
13435 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13440 # Check to make sure the static flag actually works.
13442 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13443 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13444 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13445 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13446 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 lt_prog_compiler_static_works_CXX
=no
13449 save_LDFLAGS
="$LDFLAGS"
13450 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13451 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
13452 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13453 # The linker can only warn and ignore the option if not recognized
13454 # So say no if there are warnings
13455 if test -s conftest.err
; then
13456 # Append any errors to the config.log.
13457 cat conftest.err
1>&5
13458 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13459 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13460 if diff conftest.exp conftest.er2
>/dev
/null
; then
13461 lt_prog_compiler_static_works_CXX
=yes
13464 lt_prog_compiler_static_works_CXX
=yes
13468 LDFLAGS
="$save_LDFLAGS"
13471 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13472 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13474 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
13477 lt_prog_compiler_static_CXX
=
13481 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13482 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13483 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 lt_cv_prog_compiler_c_o_CXX
=no
13487 $rm -r conftest
2>/dev
/null
13491 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13493 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13494 # Insert the option either (1) after the last *FLAGS variable, or
13495 # (2) before a word containing "conftest.", or (3) at the end.
13496 # Note that $ac_compile itself does not contain backslashes and begins
13497 # with a dollar sign (not a hyphen), so the echo should work correctly.
13498 lt_compile
=`echo "$ac_compile" | $SED \
13499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13501 -e 's:$: $lt_compiler_flag:'`
13502 (eval echo "\"\$as_me:13502: $lt_compile\"" >&5)
13503 (eval "$lt_compile" 2>out
/conftest.err
)
13505 cat out
/conftest.err
>&5
13506 echo "$as_me:13506: \$? = $ac_status" >&5
13507 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13509 # The compiler can only warn and ignore the option if not recognized
13510 # So say no if there are warnings
13511 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13512 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13513 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13514 lt_cv_prog_compiler_c_o_CXX
=yes
13519 # SGI C++ compiler will create directory out/ii_files/ for
13520 # template instantiation
13521 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13522 $rm out
/* && rmdir out
13528 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13529 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13532 hard_links
="nottested"
13533 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13534 # do not overwrite the value of need_locks provided by the user
13535 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13536 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13539 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13541 ln conftest.a conftest.b
2>&5 || hard_links
=no
13542 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13543 { echo "$as_me:$LINENO: result: $hard_links" >&5
13544 echo "${ECHO_T}$hard_links" >&6; }
13545 if test "$hard_links" = no
; then
13546 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13547 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13554 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13555 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13557 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13560 # If we're using GNU nm, then we don't want the "-C" option.
13561 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13562 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13563 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13565 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13569 export_symbols_cmds_CXX
="$ltdll_cmds"
13572 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13575 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13579 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13580 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13581 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13584 # Do we need to explicitly link libc?
13586 case "x$archive_cmds_need_lc_CXX" in
13588 # Assume -lc should be added
13589 archive_cmds_need_lc_CXX
=yes
13591 if test "$enable_shared" = yes && test "$GCC" = yes; then
13592 case $archive_cmds_CXX in
13594 # FIXME: we may have to deal with multi-command sequences.
13597 # Test whether the compiler implicitly links with -lc since on some
13598 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13599 # to ld, don't add -lc before -lgcc.
13600 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13601 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13603 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13606 (eval $ac_compile) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } 2>conftest.err
; then
13612 libobjs
=conftest.
$ac_objext
13614 wl
=$lt_prog_compiler_wl_CXX
13615 pic_flag
=$lt_prog_compiler_pic_CXX
13621 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13622 allow_undefined_flag_CXX
=
13623 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13624 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }
13629 archive_cmds_need_lc_CXX
=no
13631 archive_cmds_need_lc_CXX
=yes
13633 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13635 cat conftest.err
1>&5
13638 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13639 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13646 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13647 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13648 library_names_spec
=
13649 libname_spec
='lib$name'
13653 postuninstall_cmds
=
13657 shlibpath_overrides_runpath
=unknown
13659 dynamic_linker
="$host_os ld.so"
13660 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13661 if test "$GCC" = yes; then
13662 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13663 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
13664 # if the path contains ";" then we assume it to be the separator
13665 # otherwise default to the standard path separator (i.e. ":") - it is
13666 # assumed that no part of a normal pathname contains ";" but that should
13667 # okay in the real world where ";" in dirpaths is itself problematic.
13668 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13670 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13673 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13675 need_lib_prefix
=unknown
13676 hardcode_into_libs
=no
13678 # when you set need_version to no, make sure it does not cause -set_version
13679 # flags to be left without arguments
13680 need_version
=unknown
13685 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13686 shlibpath_var
=LIBPATH
13688 # AIX 3 has no versioning support, so we append a major version to the name.
13689 soname_spec
='${libname}${release}${shared_ext}$major'
13696 hardcode_into_libs
=yes
13697 if test "$host_cpu" = ia64
; then
13698 # AIX 5 supports IA64
13699 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13700 shlibpath_var
=LD_LIBRARY_PATH
13702 # With GCC up to 2.95.x, collect2 would create an import file
13703 # for dependence libraries. The import file would start with
13704 # the line `#! .'. This would cause the generated library to
13705 # depend on `.', always an invalid library. This was fixed in
13706 # development snapshots of GCC prior to 3.0.
13708 aix4 | aix4.
[01] | aix4.
[01].
*)
13709 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13711 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13714 can_build_shared
=no
13718 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13719 # soname into executable. Probably we can add versioning support to
13720 # collect2, so additional links can be useful in future.
13721 if test "$aix_use_runtimelinking" = yes; then
13722 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13723 # instead of lib<name>.a to let people know that these are not
13724 # typical AIX shared libraries.
13725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13727 # We preserve .a as extension for shared libraries through AIX4.2
13728 # and later when we are not doing run time linking.
13729 library_names_spec
='${libname}${release}.a $libname.a'
13730 soname_spec
='${libname}${release}${shared_ext}$major'
13732 shlibpath_var
=LIBPATH
13737 library_names_spec
='$libname.ixlibrary $libname.a'
13738 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13739 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
13743 library_names_spec
='${libname}${shared_ext}'
13744 dynamic_linker
="$host_os ld.so"
13745 shlibpath_var
=LIBRARY_PATH
13751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13752 soname_spec
='${libname}${release}${shared_ext}$major'
13753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13754 shlibpath_var
=LD_LIBRARY_PATH
13755 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13756 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13757 # the default ld.so.conf also contains /usr/contrib/lib and
13758 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13759 # libtool to hard-code these into programs
13762 cygwin
* | mingw
* | pw32
*)
13763 version_type
=windows
13768 case $GCC,$host_os in
13769 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13770 library_names_spec
='$libname.dll.a'
13771 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13772 postinstall_cmds
='base_file=`basename \${file}`~
13773 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13774 dldir=$destdir/`dirname \$dlpath`~
13775 test -d \$dldir || mkdir -p \$dldir~
13776 $install_prog $dir/$dlname \$dldir/$dlname~
13777 chmod a+x \$dldir/$dlname'
13778 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13779 dlpath=$dir/\$dldll~
13781 shlibpath_overrides_runpath
=yes
13785 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13786 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13787 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13790 # MinGW DLLs use traditional 'lib' prefix
13791 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13792 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13793 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13794 # It is most probably a Windows format PATH printed by
13795 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13796 # path with ; separators, and with drive letters. We can handle the
13797 # drive letters (cygwin fileutils understands them), so leave them,
13798 # especially as we might pass files found there to a mingw objdump,
13799 # which wouldn't understand a cygwinified path. Ahh.
13800 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13802 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13806 # pw32 DLLs use 'pw' prefix rather than 'lib'
13807 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13813 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13816 dynamic_linker
='Win32 ld.exe'
13817 # FIXME: first we should search . and the directory the executable is in
13821 darwin
* | rhapsody
*)
13822 dynamic_linker
="$host_os dyld"
13823 version_type
=darwin
13826 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13827 soname_spec
='${libname}${release}${major}$shared_ext'
13828 shlibpath_overrides_runpath
=yes
13829 shlibpath_var
=DYLD_LIBRARY_PATH
13830 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13831 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13832 if test "$GCC" = yes; then
13833 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13835 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13837 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13845 soname_spec
='${libname}${release}${shared_ext}$major'
13846 shlibpath_var
=LD_LIBRARY_PATH
13857 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13858 soname_spec
='${libname}${release}${shared_ext}$major'
13859 shlibpath_var
=LD_LIBRARY_PATH
13860 shlibpath_overrides_runpath
=no
13861 hardcode_into_libs
=yes
13862 dynamic_linker
='GNU ld.so'
13865 freebsd
* | dragonfly
*)
13866 # DragonFly does not have aout. When/if they implement a new
13867 # versioning mechanism, adjust this.
13868 if test -x /usr
/bin
/objformat
; then
13869 objformat
=`/usr/bin/objformat`
13872 freebsd
[123]*) objformat
=aout
;;
13873 *) objformat
=elf
;;
13876 version_type
=freebsd-
$objformat
13877 case $version_type in
13879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13884 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13888 shlibpath_var
=LD_LIBRARY_PATH
13891 shlibpath_overrides_runpath
=yes
13893 freebsd3.
[01]* | freebsdelf3.
[01]*)
13894 shlibpath_overrides_runpath
=yes
13895 hardcode_into_libs
=yes
13897 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13898 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13899 shlibpath_overrides_runpath
=no
13900 hardcode_into_libs
=yes
13902 freebsd
*) # from 4.6 on
13903 shlibpath_overrides_runpath
=yes
13904 hardcode_into_libs
=yes
13913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13914 soname_spec
='${libname}${release}${shared_ext}$major'
13915 shlibpath_var
=LD_LIBRARY_PATH
13916 hardcode_into_libs
=yes
13919 hpux9
* | hpux10
* | hpux11
*)
13920 # Give a soname corresponding to the major version so that dld.sl refuses to
13921 # link against other versions.
13928 hardcode_into_libs
=yes
13929 dynamic_linker
="$host_os dld.so"
13930 shlibpath_var
=LD_LIBRARY_PATH
13931 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13933 soname_spec
='${libname}${release}${shared_ext}$major'
13934 if test "X$HPUX_IA64_MODE" = X32
; then
13935 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13937 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13939 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13943 hardcode_into_libs
=yes
13944 dynamic_linker
="$host_os dld.sl"
13945 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13946 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13948 soname_spec
='${libname}${release}${shared_ext}$major'
13949 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13950 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13954 dynamic_linker
="$host_os dld.sl"
13955 shlibpath_var
=SHLIB_PATH
13956 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13958 soname_spec
='${libname}${release}${shared_ext}$major'
13961 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13962 postinstall_cmds
='chmod 555 $lib'
13969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13970 soname_spec
='${libname}${release}${shared_ext}$major'
13971 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13972 shlibpath_var
=LD_LIBRARY_PATH
13973 shlibpath_overrides_runpath
=no
13974 hardcode_into_libs
=yes
13977 irix5
* | irix6
* | nonstopux
*)
13979 nonstopux
*) version_type
=nonstopux
;;
13981 if test "$lt_cv_prog_gnu_ld" = yes; then
13989 soname_spec
='${libname}${release}${shared_ext}$major'
13990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13992 irix5
* | nonstopux
*)
13993 libsuff
= shlibsuff
=
13996 case $LD in # libtool.m4 will add one of these switches to LD
13997 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13998 libsuff
= shlibsuff
= libmagic
=32-bit;;
13999 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14000 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14001 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14002 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14003 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14007 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14008 shlibpath_overrides_runpath
=no
14009 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14010 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14011 hardcode_into_libs
=yes
14014 # No shared lib support for Linux oldld, aout, or coff.
14015 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14019 # This must be Linux ELF.
14024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14025 soname_spec
='${libname}${release}${shared_ext}$major'
14026 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14027 shlibpath_var
=LD_LIBRARY_PATH
14028 shlibpath_overrides_runpath
=no
14029 # This implies no fast_install, which is unacceptable.
14030 # Some rework will be needed to allow for fast_install
14031 # before this can be enabled.
14032 hardcode_into_libs
=yes
14034 # Append ld.so.conf contents to the search path
14035 if test -f /etc
/ld.so.conf
; then
14036 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14037 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14040 # We used to test for /lib/ld.so.1 and disable shared libraries on
14041 # powerpc, because MkLinux only supported shared libraries with the
14042 # GNU dynamic linker. Since this was broken with cross compilers,
14043 # most powerpc-linux boxes support dynamic linking these days and
14044 # people can always --disable-shared, the test was removed, and we
14045 # assume the GNU/Linux dynamic linker is in use.
14046 dynamic_linker
='GNU/Linux ld.so'
14053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14054 soname_spec
='${libname}${release}${shared_ext}$major'
14055 shlibpath_var
=LD_LIBRARY_PATH
14056 shlibpath_overrides_runpath
=no
14057 hardcode_into_libs
=yes
14058 dynamic_linker
='GNU ld.so'
14065 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14067 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14068 dynamic_linker
='NetBSD (a.out) ld.so'
14070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14071 soname_spec
='${libname}${release}${shared_ext}$major'
14072 dynamic_linker
='NetBSD ld.elf_so'
14074 shlibpath_var
=LD_LIBRARY_PATH
14075 shlibpath_overrides_runpath
=yes
14076 hardcode_into_libs
=yes
14081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14082 shlibpath_var
=LD_LIBRARY_PATH
14083 shlibpath_overrides_runpath
=yes
14090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14091 soname_spec
='${libname}${release}${shared_ext}$major'
14092 shlibpath_var
=LD_LIBRARY_PATH
14093 shlibpath_overrides_runpath
=yes
14098 sys_lib_dlsearch_path_spec
="/usr/lib"
14100 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14102 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14103 *) need_version
=no
;;
14105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14106 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14107 shlibpath_var
=LD_LIBRARY_PATH
14108 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14110 openbsd2.
[89] | openbsd2.
[89].
*)
14111 shlibpath_overrides_runpath
=no
14114 shlibpath_overrides_runpath
=yes
14118 shlibpath_overrides_runpath
=yes
14123 libname_spec
='$name'
14126 library_names_spec
='$libname${shared_ext} $libname.a'
14127 dynamic_linker
='OS/2 ld.exe'
14128 shlibpath_var
=LIBPATH
14131 osf3
* | osf4
* | osf5
*)
14135 soname_spec
='${libname}${release}${shared_ext}$major'
14136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14137 shlibpath_var
=LD_LIBRARY_PATH
14138 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14139 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14147 soname_spec
='${libname}${release}${shared_ext}$major'
14148 shlibpath_var
=LD_LIBRARY_PATH
14149 shlibpath_overrides_runpath
=yes
14150 hardcode_into_libs
=yes
14151 # ldd complains unless libraries are executable
14152 postinstall_cmds
='chmod +x $lib'
14157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14158 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14159 shlibpath_var
=LD_LIBRARY_PATH
14160 shlibpath_overrides_runpath
=yes
14161 if test "$with_gnu_ld" = yes; then
14169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14170 soname_spec
='${libname}${release}${shared_ext}$major'
14171 shlibpath_var
=LD_LIBRARY_PATH
14172 case $host_vendor in
14174 shlibpath_overrides_runpath
=no
14176 export_dynamic_flag_spec
='${wl}-Blargedynsym'
14177 runpath_var
=LD_RUN_PATH
14185 shlibpath_overrides_runpath
=no
14186 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14192 if test -d /usr
/nec
;then
14194 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14195 soname_spec
='$libname${shared_ext}.$major'
14196 shlibpath_var
=LD_LIBRARY_PATH
14200 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14201 version_type
=freebsd-elf
14204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14205 soname_spec
='${libname}${release}${shared_ext}$major'
14206 shlibpath_var
=LD_LIBRARY_PATH
14207 hardcode_into_libs
=yes
14208 if test "$with_gnu_ld" = yes; then
14209 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14210 shlibpath_overrides_runpath
=no
14212 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14213 shlibpath_overrides_runpath
=yes
14216 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14220 sys_lib_dlsearch_path_spec
='/usr/lib'
14225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14226 soname_spec
='${libname}${release}${shared_ext}$major'
14227 shlibpath_var
=LD_LIBRARY_PATH
14234 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14235 echo "${ECHO_T}$dynamic_linker" >&6; }
14236 test "$dynamic_linker" = no
&& can_build_shared
=no
14238 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14239 if test "$GCC" = yes; then
14240 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14243 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14244 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14245 hardcode_action_CXX
=
14246 if test -n "$hardcode_libdir_flag_spec_CXX" || \
14247 test -n "$runpath_var_CXX" || \
14248 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14250 # We can hardcode non-existant directories.
14251 if test "$hardcode_direct_CXX" != no
&&
14252 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14253 # have to relink, otherwise we might link with an installed library
14254 # when we should be linking with a yet-to-be-installed one
14255 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14256 test "$hardcode_minus_L_CXX" != no
; then
14257 # Linking always hardcodes the temporary library directory.
14258 hardcode_action_CXX
=relink
14260 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14261 hardcode_action_CXX
=immediate
14264 # We cannot hardcode anything, or else we can only hardcode existing
14266 hardcode_action_CXX
=unsupported
14268 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14269 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14271 if test "$hardcode_action_CXX" = relink
; then
14272 # Fast installation is not supported
14273 enable_fast_install
=no
14274 elif test "$shlibpath_overrides_runpath" = yes ||
14275 test "$enable_shared" = no
; then
14276 # Fast installation is not necessary
14277 enable_fast_install
=needless
14281 # The else clause should only fire when bootstrapping the
14282 # libtool distribution, otherwise you forgot to ship ltmain.sh
14283 # with your package, and you will get complaints that there are
14284 # no rules to generate ltmain.sh.
14285 if test -f "$ltmain"; then
14286 # See if we are running on zsh, and set the options which allow our commands through
14287 # without removal of \ escapes.
14288 if test -n "${ZSH_VERSION+set}" ; then
14289 setopt NO_GLOB_SUBST
14291 # Now quote all the things that may contain metacharacters while being
14292 # careful not to overquote the AC_SUBSTed values. We take copies of the
14293 # variables and quote the copies for generation of the libtool script.
14294 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14296 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14297 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14298 deplibs_check_method reload_flag reload_cmds need_locks \
14299 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14300 lt_cv_sys_global_symbol_to_c_name_address \
14301 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14302 old_postinstall_cmds old_postuninstall_cmds \
14306 lt_prog_compiler_wl_CXX \
14307 lt_prog_compiler_pic_CXX \
14308 lt_prog_compiler_static_CXX \
14309 lt_prog_compiler_no_builtin_flag_CXX \
14310 export_dynamic_flag_spec_CXX \
14311 thread_safe_flag_spec_CXX \
14312 whole_archive_flag_spec_CXX \
14313 enable_shared_with_static_runtimes_CXX \
14314 old_archive_cmds_CXX \
14315 old_archive_from_new_cmds_CXX \
14316 predep_objects_CXX \
14317 postdep_objects_CXX \
14320 compiler_lib_search_path_CXX \
14322 archive_expsym_cmds_CXX \
14323 postinstall_cmds_CXX \
14324 postuninstall_cmds_CXX \
14325 old_archive_from_expsyms_cmds_CXX \
14326 allow_undefined_flag_CXX \
14327 no_undefined_flag_CXX \
14328 export_symbols_cmds_CXX \
14329 hardcode_libdir_flag_spec_CXX \
14330 hardcode_libdir_flag_spec_ld_CXX \
14331 hardcode_libdir_separator_CXX \
14332 hardcode_automatic_CXX \
14334 module_expsym_cmds_CXX \
14335 lt_cv_prog_compiler_c_o_CXX \
14336 exclude_expsyms_CXX \
14337 include_expsyms_CXX
; do
14340 old_archive_cmds_CXX | \
14341 old_archive_from_new_cmds_CXX | \
14342 archive_cmds_CXX | \
14343 archive_expsym_cmds_CXX | \
14344 module_cmds_CXX | \
14345 module_expsym_cmds_CXX | \
14346 old_archive_from_expsyms_cmds_CXX | \
14347 export_symbols_cmds_CXX | \
14348 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14349 postinstall_cmds | postuninstall_cmds | \
14350 old_postinstall_cmds | old_postuninstall_cmds | \
14351 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14352 # Double-quote double-evaled strings.
14353 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14356 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14362 *'\$0 --fallback-echo"')
14363 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14369 cat <<__EOF__ >> "$cfgfile"
14370 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14372 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14374 # Shell to use when invoking shell scripts.
14377 # Whether or not to build shared libraries.
14378 build_libtool_libs=$enable_shared
14380 # Whether or not to build static libraries.
14381 build_old_libs=$enable_static
14383 # Whether or not to add -lc for building shared libraries.
14384 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14386 # Whether or not to disallow shared libs when runtime libs are static
14387 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14389 # Whether or not to optimize for fast installation.
14390 fast_install=$enable_fast_install
14393 host_alias=$host_alias
14397 # The build system.
14398 build_alias=$build_alias
14402 # An echo program that does not interpret backslashes.
14407 AR_FLAGS=$lt_AR_FLAGS
14412 # LTCC compiler flags.
14413 LTCFLAGS=$lt_LTCFLAGS
14415 # A language-specific compiler.
14416 CC=$lt_compiler_CXX
14418 # Is the compiler the GNU C compiler?
14424 # The linker used to build libraries.
14427 # Whether we need hard or soft links.
14430 # A BSD-compatible nm program.
14433 # A symbol stripping program
14436 # Used to examine libraries when file_magic_cmd begins "file"
14437 MAGIC_CMD=$MAGIC_CMD
14439 # Used on cygwin: DLL creation program.
14442 # Used on cygwin: object dumper.
14445 # Used on cygwin: assembler.
14448 # The name of the directory that contains temporary libtool files.
14451 # How to create reloadable object files.
14452 reload_flag=$lt_reload_flag
14453 reload_cmds=$lt_reload_cmds
14455 # How to pass a linker flag through the compiler.
14456 wl=$lt_lt_prog_compiler_wl_CXX
14458 # Object file suffix (normally "o").
14459 objext="$ac_objext"
14461 # Old archive suffix (normally "a").
14464 # Shared library suffix (normally ".so").
14465 shrext_cmds='$shrext_cmds'
14467 # Executable file suffix (normally "").
14470 # Additional compiler flags for building library objects.
14471 pic_flag=$lt_lt_prog_compiler_pic_CXX
14474 # What is the maximum length of a command?
14475 max_cmd_len=$lt_cv_sys_max_cmd_len
14477 # Does compiler simultaneously support -c and -o options?
14478 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14480 # Must we lock files when doing compilation?
14481 need_locks=$lt_need_locks
14483 # Do we need the lib prefix for modules?
14484 need_lib_prefix=$need_lib_prefix
14486 # Do we need a version for libraries?
14487 need_version=$need_version
14489 # Whether dlopen is supported.
14490 dlopen_support=$enable_dlopen
14492 # Whether dlopen of programs is supported.
14493 dlopen_self=$enable_dlopen_self
14495 # Whether dlopen of statically linked programs is supported.
14496 dlopen_self_static=$enable_dlopen_self_static
14498 # Compiler flag to prevent dynamic linking.
14499 link_static_flag=$lt_lt_prog_compiler_static_CXX
14501 # Compiler flag to turn off builtin functions.
14502 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14504 # Compiler flag to allow reflexive dlopens.
14505 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14507 # Compiler flag to generate shared objects directly from archives.
14508 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14510 # Compiler flag to generate thread-safe objects.
14511 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14513 # Library versioning type.
14514 version_type=$version_type
14516 # Format of library name prefix.
14517 libname_spec=$lt_libname_spec
14519 # List of archive names. First name is the real one, the rest are links.
14520 # The last name is the one that the linker finds with -lNAME.
14521 library_names_spec=$lt_library_names_spec
14523 # The coded name of the library, if different from the real name.
14524 soname_spec=$lt_soname_spec
14526 # Commands used to build and install an old-style archive.
14528 old_archive_cmds=$lt_old_archive_cmds_CXX
14529 old_postinstall_cmds=$lt_old_postinstall_cmds
14530 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14532 # Create an old-style archive from a shared archive.
14533 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14535 # Create a temporary old-style archive to link instead of a shared archive.
14536 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14538 # Commands used to build and install a shared archive.
14539 archive_cmds=$lt_archive_cmds_CXX
14540 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14541 postinstall_cmds=$lt_postinstall_cmds
14542 postuninstall_cmds=$lt_postuninstall_cmds
14544 # Commands used to build a loadable module (assumed same as above if empty)
14545 module_cmds=$lt_module_cmds_CXX
14546 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14548 # Commands to strip libraries.
14549 old_striplib=$lt_old_striplib
14550 striplib=$lt_striplib
14552 # Dependencies to place before the objects being linked to create a
14554 predep_objects=$lt_predep_objects_CXX
14556 # Dependencies to place after the objects being linked to create a
14558 postdep_objects=$lt_postdep_objects_CXX
14560 # Dependencies to place before the objects being linked to create a
14562 predeps=$lt_predeps_CXX
14564 # Dependencies to place after the objects being linked to create a
14566 postdeps=$lt_postdeps_CXX
14568 # The library search path used internally by the compiler when linking
14569 # a shared library.
14570 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14572 # Method to check whether dependent libraries are shared objects.
14573 deplibs_check_method=$lt_deplibs_check_method
14575 # Command to use when deplibs_check_method == file_magic.
14576 file_magic_cmd=$lt_file_magic_cmd
14578 # Flag that allows shared libraries with undefined symbols to be built.
14579 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14581 # Flag that forces no undefined symbols.
14582 no_undefined_flag=$lt_no_undefined_flag_CXX
14584 # Commands used to finish a libtool library installation in a directory.
14585 finish_cmds=$lt_finish_cmds
14587 # Same as above, but a single script fragment to be evaled but not shown.
14588 finish_eval=$lt_finish_eval
14590 # Take the output of nm and produce a listing of raw symbols and C names.
14591 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14593 # Transform the output of nm in a proper C declaration
14594 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14596 # Transform the output of nm in a C name address pair
14597 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14599 # This is the shared library runtime path variable.
14600 runpath_var=$runpath_var
14602 # This is the shared library path variable.
14603 shlibpath_var=$shlibpath_var
14605 # Is shlibpath searched before the hard-coded library search path?
14606 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14608 # How to hardcode a shared library path into an executable.
14609 hardcode_action=$hardcode_action_CXX
14611 # Whether we should hardcode library paths into libraries.
14612 hardcode_into_libs=$hardcode_into_libs
14614 # Flag to hardcode \$libdir into a binary during linking.
14615 # This must work even if \$libdir does not exist.
14616 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14618 # If ld is used when linking, flag to hardcode \$libdir into
14619 # a binary during linking. This must work even if \$libdir does
14621 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14623 # Whether we need a single -rpath flag with a separated argument.
14624 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14626 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14627 # resulting binary.
14628 hardcode_direct=$hardcode_direct_CXX
14630 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14631 # resulting binary.
14632 hardcode_minus_L=$hardcode_minus_L_CXX
14634 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14635 # the resulting binary.
14636 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14638 # Set to yes if building a shared library automatically hardcodes DIR into the library
14639 # and all subsequent libraries and executables linked against it.
14640 hardcode_automatic=$hardcode_automatic_CXX
14642 # Variables whose values should be saved in libtool wrapper scripts and
14643 # restored at relink time.
14644 variables_saved_for_relink="$variables_saved_for_relink"
14646 # Whether libtool must link a program against all its dependency libraries.
14647 link_all_deplibs=$link_all_deplibs_CXX
14649 # Compile-time system search path for libraries
14650 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14652 # Run-time system search path for libraries
14653 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14655 # Fix the shell variable \$srcfile for the compiler.
14656 fix_srcfile_path="$fix_srcfile_path_CXX"
14658 # Set to yes if exported symbols are required.
14659 always_export_symbols=$always_export_symbols_CXX
14661 # The commands to list exported symbols.
14662 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14664 # The commands to extract the exported symbol list from a shared archive.
14665 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14667 # Symbols that should not be listed in the preloaded symbols.
14668 exclude_expsyms=$lt_exclude_expsyms_CXX
14670 # Symbols that must always be exported.
14671 include_expsyms=$lt_include_expsyms_CXX
14673 # ### END LIBTOOL TAG CONFIG: $tagname
14679 # If there is no Makefile yet, we rely on a make rule to execute
14680 # `config.status --recheck' to rerun these tests and create the
14681 # libtool script then.
14682 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14683 if test -f "$ltmain_in"; then
14684 test -f Makefile
&& make "$ltmain"
14690 ac_cpp
='$CPP $CPPFLAGS'
14691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14699 with_gnu_ldcxx
=$with_gnu_ld
14700 with_gnu_ld
=$lt_save_with_gnu_ld
14701 lt_cv_path_LDCXX
=$lt_cv_path_LD
14702 lt_cv_path_LD
=$lt_save_path_LD
14703 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14704 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14712 if test -n "$F77" && test "X$F77" != "Xno"; then
14715 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14716 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14717 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14720 archive_cmds_need_lc_F77
=no
14721 allow_undefined_flag_F77
=
14722 always_export_symbols_F77
=no
14723 archive_expsym_cmds_F77
=
14724 export_dynamic_flag_spec_F77
=
14725 hardcode_direct_F77
=no
14726 hardcode_libdir_flag_spec_F77
=
14727 hardcode_libdir_flag_spec_ld_F77
=
14728 hardcode_libdir_separator_F77
=
14729 hardcode_minus_L_F77
=no
14730 hardcode_automatic_F77
=no
14732 module_expsym_cmds_F77
=
14733 link_all_deplibs_F77
=unknown
14734 old_archive_cmds_F77
=$old_archive_cmds
14735 no_undefined_flag_F77
=
14736 whole_archive_flag_spec_F77
=
14737 enable_shared_with_static_runtimes_F77
=no
14739 # Source file extension for f77 test sources.
14742 # Object file extension for compiled f77 test sources.
14746 # Code to be used in simple compile tests
14747 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14749 # Code to be used in simple link tests
14750 lt_simple_link_test_code
=" program t\n end\n"
14752 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14754 # If no C compiler was specified, use CC.
14757 # If no C compiler flags were specified, use CFLAGS.
14758 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14760 # Allow CC to be a program name with arguments.
14764 # save warnings/boilerplate of simple test code
14765 ac_outfile
=conftest.
$ac_objext
14766 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14767 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14768 _lt_compiler_boilerplate
=`cat conftest.err`
14771 ac_outfile
=conftest.
$ac_objext
14772 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14773 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14774 _lt_linker_boilerplate
=`cat conftest.err`
14778 # Allow CC to be a program name with arguments.
14783 for cc_temp
in $compiler""; do
14785 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14786 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14791 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14794 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14795 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14796 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14797 echo "${ECHO_T}$can_build_shared" >&6; }
14799 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14800 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14801 test "$can_build_shared" = "no" && enable_shared
=no
14803 # On AIX, shared libraries and static libraries use the same namespace, and
14804 # are all built from PIC.
14807 test "$enable_shared" = yes && enable_static
=no
14808 if test -n "$RANLIB"; then
14809 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14810 postinstall_cmds
='$RANLIB $lib'
14814 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14815 test "$enable_shared" = yes && enable_static
=no
14819 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14820 echo "${ECHO_T}$enable_shared" >&6; }
14822 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14823 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14824 # Make sure either enable_shared or enable_static is yes.
14825 test "$enable_shared" = yes || enable_static
=yes
14826 { echo "$as_me:$LINENO: result: $enable_static" >&5
14827 echo "${ECHO_T}$enable_static" >&6; }
14832 lt_prog_compiler_wl_F77
=
14833 lt_prog_compiler_pic_F77
=
14834 lt_prog_compiler_static_F77
=
14836 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14837 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14839 if test "$GCC" = yes; then
14840 lt_prog_compiler_wl_F77
='-Wl,'
14841 lt_prog_compiler_static_F77
='-static'
14845 # All AIX code is PIC.
14846 if test "$host_cpu" = ia64
; then
14847 # AIX 5 now supports IA64 processor
14848 lt_prog_compiler_static_F77
='-Bstatic'
14853 # FIXME: we need at least 68020 code to build shared libraries, but
14854 # adding the `-m68020' flag to GCC prevents building anything better,
14856 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14859 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14860 # PIC is the default for these OSes.
14863 mingw
* | pw32
* | os2
*)
14864 # This hack is so that the source file can tell whether it is being
14865 # built for inclusion in a dll (and should export symbols for example).
14866 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14869 darwin
* | rhapsody
*)
14870 # PIC is the default on this platform
14871 # Common symbols not allowed in MH_DYLIB files
14872 lt_prog_compiler_pic_F77
='-fno-common'
14876 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14877 # Instead, we relocate shared libraries at runtime.
14881 # Just because we use GCC doesn't mean we suddenly get shared libraries
14882 # on systems that don't support them.
14883 lt_prog_compiler_can_build_shared_F77
=no
14888 if test -d /usr
/nec
; then
14889 lt_prog_compiler_pic_F77
=-Kconform_pic
14894 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14895 # not for PA HP-UX.
14901 lt_prog_compiler_pic_F77
='-fPIC'
14907 lt_prog_compiler_pic_F77
='-fPIC'
14911 # PORTME Check for flag to pass linker flags through the system compiler.
14914 lt_prog_compiler_wl_F77
='-Wl,'
14915 if test "$host_cpu" = ia64
; then
14916 # AIX 5 now supports IA64 processor
14917 lt_prog_compiler_static_F77
='-Bstatic'
14919 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14923 # PIC is the default on this platform
14924 # Common symbols not allowed in MH_DYLIB files
14925 case $cc_basename in
14927 lt_prog_compiler_pic_F77
='-qnocommon'
14928 lt_prog_compiler_wl_F77
='-Wl,'
14933 mingw
* | pw32
* | os2
*)
14934 # This hack is so that the source file can tell whether it is being
14935 # built for inclusion in a dll (and should export symbols for example).
14936 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14939 hpux9
* | hpux10
* | hpux11
*)
14940 lt_prog_compiler_wl_F77
='-Wl,'
14941 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14942 # not for PA HP-UX.
14948 lt_prog_compiler_pic_F77
='+Z'
14951 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14952 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14955 irix5
* | irix6
* | nonstopux
*)
14956 lt_prog_compiler_wl_F77
='-Wl,'
14957 # PIC (with -KPIC) is the default.
14958 lt_prog_compiler_static_F77
='-non_shared'
14962 lt_prog_compiler_pic_F77
='-KPIC'
14963 lt_prog_compiler_static_F77
='-Bstatic'
14967 case $cc_basename in
14969 lt_prog_compiler_wl_F77
='-Wl,'
14970 lt_prog_compiler_pic_F77
='-KPIC'
14971 lt_prog_compiler_static_F77
='-static'
14973 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14974 # Portland Group compilers (*not* the Pentium gcc compiler,
14975 # which looks to be a dead project)
14976 lt_prog_compiler_wl_F77
='-Wl,'
14977 lt_prog_compiler_pic_F77
='-fpic'
14978 lt_prog_compiler_static_F77
='-Bstatic'
14981 lt_prog_compiler_wl_F77
='-Wl,'
14982 # All Alpha code is PIC.
14983 lt_prog_compiler_static_F77
='-non_shared'
14988 osf3
* | osf4
* | osf5
*)
14989 lt_prog_compiler_wl_F77
='-Wl,'
14990 # All OSF/1 code is PIC.
14991 lt_prog_compiler_static_F77
='-non_shared'
14995 lt_prog_compiler_pic_F77
='-KPIC'
14996 lt_prog_compiler_static_F77
='-Bstatic'
14997 case $cc_basename in
14998 f77
* | f90
* | f95
*)
14999 lt_prog_compiler_wl_F77
='-Qoption ld ';;
15001 lt_prog_compiler_wl_F77
='-Wl,';;
15006 lt_prog_compiler_wl_F77
='-Qoption ld '
15007 lt_prog_compiler_pic_F77
='-PIC'
15008 lt_prog_compiler_static_F77
='-Bstatic'
15011 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15012 lt_prog_compiler_wl_F77
='-Wl,'
15013 lt_prog_compiler_pic_F77
='-KPIC'
15014 lt_prog_compiler_static_F77
='-Bstatic'
15018 if test -d /usr
/nec
;then
15019 lt_prog_compiler_pic_F77
='-Kconform_pic'
15020 lt_prog_compiler_static_F77
='-Bstatic'
15024 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15025 lt_prog_compiler_wl_F77
='-Wl,'
15026 lt_prog_compiler_pic_F77
='-KPIC'
15027 lt_prog_compiler_static_F77
='-Bstatic'
15031 lt_prog_compiler_wl_F77
='-Wl,'
15032 lt_prog_compiler_can_build_shared_F77
=no
15036 lt_prog_compiler_pic_F77
='-pic'
15037 lt_prog_compiler_static_F77
='-Bstatic'
15041 lt_prog_compiler_can_build_shared_F77
=no
15046 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15047 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15050 # Check to make sure the PIC flag actually works.
15052 if test -n "$lt_prog_compiler_pic_F77"; then
15054 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15055 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15056 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15057 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 lt_prog_compiler_pic_works_F77
=no
15060 ac_outfile
=conftest.
$ac_objext
15061 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15062 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15063 # Insert the option either (1) after the last *FLAGS variable, or
15064 # (2) before a word containing "conftest.", or (3) at the end.
15065 # Note that $ac_compile itself does not contain backslashes and begins
15066 # with a dollar sign (not a hyphen), so the echo should work correctly.
15067 # The option is referenced via a variable to avoid confusing sed.
15068 lt_compile
=`echo "$ac_compile" | $SED \
15069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15071 -e 's:$: $lt_compiler_flag:'`
15072 (eval echo "\"\$as_me:15072: $lt_compile\"" >&5)
15073 (eval "$lt_compile" 2>conftest.err
)
15075 cat conftest.err
>&5
15076 echo "$as_me:15076: \$? = $ac_status" >&5
15077 if (exit $ac_status) && test -s "$ac_outfile"; then
15078 # The compiler can only warn and ignore the option if not recognized
15079 # So say no if there are warnings other than the usual output.
15080 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15081 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15082 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15083 lt_prog_compiler_pic_works_F77
=yes
15089 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15090 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15092 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15093 case $lt_prog_compiler_pic_F77 in
15095 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15098 lt_prog_compiler_pic_F77
=
15099 lt_prog_compiler_can_build_shared_F77
=no
15104 # For platforms which do not support PIC, -DPIC is meaningless:
15106 lt_prog_compiler_pic_F77
=
15109 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15114 # Check to make sure the static flag actually works.
15116 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
15117 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15118 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15119 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15120 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 lt_prog_compiler_static_works_F77
=no
15123 save_LDFLAGS
="$LDFLAGS"
15124 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15125 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
15126 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15127 # The linker can only warn and ignore the option if not recognized
15128 # So say no if there are warnings
15129 if test -s conftest.err
; then
15130 # Append any errors to the config.log.
15131 cat conftest.err
1>&5
15132 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15133 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15134 if diff conftest.exp conftest.er2
>/dev
/null
; then
15135 lt_prog_compiler_static_works_F77
=yes
15138 lt_prog_compiler_static_works_F77
=yes
15142 LDFLAGS
="$save_LDFLAGS"
15145 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15146 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15148 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
15151 lt_prog_compiler_static_F77
=
15155 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15156 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15157 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 lt_cv_prog_compiler_c_o_F77
=no
15161 $rm -r conftest
2>/dev
/null
15165 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15167 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15168 # Insert the option either (1) after the last *FLAGS variable, or
15169 # (2) before a word containing "conftest.", or (3) at the end.
15170 # Note that $ac_compile itself does not contain backslashes and begins
15171 # with a dollar sign (not a hyphen), so the echo should work correctly.
15172 lt_compile
=`echo "$ac_compile" | $SED \
15173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15175 -e 's:$: $lt_compiler_flag:'`
15176 (eval echo "\"\$as_me:15176: $lt_compile\"" >&5)
15177 (eval "$lt_compile" 2>out
/conftest.err
)
15179 cat out
/conftest.err
>&5
15180 echo "$as_me:15180: \$? = $ac_status" >&5
15181 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15183 # The compiler can only warn and ignore the option if not recognized
15184 # So say no if there are warnings
15185 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15186 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15187 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15188 lt_cv_prog_compiler_c_o_F77
=yes
15193 # SGI C++ compiler will create directory out/ii_files/ for
15194 # template instantiation
15195 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15196 $rm out
/* && rmdir out
15202 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15203 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15206 hard_links
="nottested"
15207 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15208 # do not overwrite the value of need_locks provided by the user
15209 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15210 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15213 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15215 ln conftest.a conftest.b
2>&5 || hard_links
=no
15216 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15217 { echo "$as_me:$LINENO: result: $hard_links" >&5
15218 echo "${ECHO_T}$hard_links" >&6; }
15219 if test "$hard_links" = no
; then
15220 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15221 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15228 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15229 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15232 allow_undefined_flag_F77
=
15233 enable_shared_with_static_runtimes_F77
=no
15235 archive_expsym_cmds_F77
=
15236 old_archive_From_new_cmds_F77
=
15237 old_archive_from_expsyms_cmds_F77
=
15238 export_dynamic_flag_spec_F77
=
15239 whole_archive_flag_spec_F77
=
15240 thread_safe_flag_spec_F77
=
15241 hardcode_libdir_flag_spec_F77
=
15242 hardcode_libdir_flag_spec_ld_F77
=
15243 hardcode_libdir_separator_F77
=
15244 hardcode_direct_F77
=no
15245 hardcode_minus_L_F77
=no
15246 hardcode_shlibpath_var_F77
=unsupported
15247 link_all_deplibs_F77
=unknown
15248 hardcode_automatic_F77
=no
15250 module_expsym_cmds_F77
=
15251 always_export_symbols_F77
=no
15252 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15253 # include_expsyms should be a list of space-separated symbols to be *always*
15254 # included in the symbol list
15255 include_expsyms_F77
=
15256 # exclude_expsyms can be an extended regexp of symbols to exclude
15257 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15258 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15259 # as well as any symbol that contains `d'.
15260 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15261 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15262 # platforms (ab)use it in PIC code, but their linkers get confused if
15263 # the symbol is explicitly referenced. Since portable code cannot
15264 # rely on this symbol name, it's probably fine to never include it in
15265 # preloaded symbol tables.
15266 extract_expsyms_cmds
=
15267 # Just being paranoid about ensuring that cc_basename is set.
15268 for cc_temp
in $compiler""; do
15270 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15271 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15276 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15279 cygwin
* | mingw
* | pw32
*)
15280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15281 # When not using gcc, we currently assume that we are using
15282 # Microsoft Visual C++.
15283 if test "$GCC" != yes; then
15288 # we just hope/assume this is gcc and not c89 (= MSVC++)
15297 if test "$with_gnu_ld" = yes; then
15298 # If archive_cmds runs LD, not CC, wlarc should be empty
15301 # Set some defaults for GNU ld with shared library support. These
15302 # are reset later if shared libraries are not supported. Putting them
15303 # here allows them to be overridden if necessary.
15304 runpath_var
=LD_RUN_PATH
15305 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15306 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15307 # ancient GNU ld didn't support --whole-archive et. al.
15308 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15309 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15311 whole_archive_flag_spec_F77
=
15313 supports_anon_versioning
=no
15314 case `$LD -v 2>/dev/null` in
15315 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15316 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15317 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15318 *\
2.11.
*) ;; # other 2.11 versions
15319 *) supports_anon_versioning
=yes ;;
15322 # See if GNU ld supports shared libraries.
15324 aix3
* | aix4
* | aix5
*)
15325 # On AIX/PPC, the GNU linker is very broken
15326 if test "$host_cpu" != ia64
; then
15330 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15331 *** to be unable to reliably create shared libraries on AIX.
15332 *** Therefore, libtool is disabling shared libraries support. If you
15333 *** really care for shared libraries, you may want to modify your PATH
15334 *** so that a non-GNU linker is found, and then restart.
15341 archive_cmds_F77
='$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)'
15342 hardcode_libdir_flag_spec_F77
='-L$libdir'
15343 hardcode_minus_L_F77
=yes
15345 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15346 # that the semantics of dynamic libraries on AmigaOS, at least up
15347 # to version 4, is to share data among multiple programs linked
15348 # with the same dynamic library. Since this doesn't match the
15349 # behavior of shared libraries on other platforms, we can't use
15355 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15356 allow_undefined_flag_F77
=unsupported
15357 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15358 # support --undefined. This deserves some investigation. FIXME
15359 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15365 cygwin
* | mingw
* | pw32
*)
15366 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15367 # as there is no search path for DLLs.
15368 hardcode_libdir_flag_spec_F77
='-L$libdir'
15369 allow_undefined_flag_F77
=unsupported
15370 always_export_symbols_F77
=no
15371 enable_shared_with_static_runtimes_F77
=yes
15372 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15374 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15375 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15376 # If the export-symbols file already is a .def file (1st line
15377 # is EXPORTS), use it as is; otherwise, prepend...
15378 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15379 cp $export_symbols $output_objdir/$soname.def;
15381 echo EXPORTS > $output_objdir/$soname.def;
15382 cat $export_symbols >> $output_objdir/$soname.def;
15384 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15391 hardcode_direct_F77
=no
15392 hardcode_shlibpath_var_F77
=no
15393 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15394 export_dynamic_flag_spec_F77
='${wl}-E'
15395 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15396 # Instead, shared libraries are loaded at an image base (0x10000000 by
15397 # default) and relocated if they conflict, which is a slow very memory
15398 # consuming and fragmenting process. To avoid this, we pick a random,
15399 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15400 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15401 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15402 archive_expsym_cmds_F77
='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'
15406 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15408 case $cc_basename,$host_cpu in
15409 pgcc
*) # Portland Group C compiler
15410 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15411 tmp_addflag
=' $pic_flag'
15413 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15414 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15415 tmp_addflag
=' $pic_flag -Mnomain' ;;
15416 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15417 tmp_addflag
=' -i_dynamic' ;;
15418 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15419 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15420 ifc
* | ifort
*) # Intel Fortran compiler
15421 tmp_addflag
=' -nofor_main' ;;
15423 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15425 if test $supports_anon_versioning = yes; then
15426 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15427 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15428 $echo "local: *; };" >> $output_objdir/$libname.ver~
15429 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15437 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15438 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15441 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15442 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15447 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15451 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15452 *** create shared libraries on Solaris systems. Therefore, libtool
15453 *** is disabling shared libraries support. We urge you to upgrade GNU
15454 *** binutils to release 2.9.1 or newer. Another option is to modify
15455 *** your PATH or compiler configuration so that the native linker is
15456 *** used, and then restart.
15459 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15460 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15461 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15467 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15468 case `$LD -v 2>&1` in
15469 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15473 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15474 *** reliably create shared libraries on SCO systems. Therefore, libtool
15475 *** is disabling shared libraries support. We urge you to upgrade GNU
15476 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15477 *** your PATH or compiler configuration so that the native linker is
15478 *** used, and then restart.
15483 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15484 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15485 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15486 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15495 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15497 hardcode_direct_F77
=yes
15498 hardcode_shlibpath_var_F77
=no
15502 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15503 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15504 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15511 if test "$ld_shlibs_F77" = no
; then
15513 hardcode_libdir_flag_spec_F77
=
15514 export_dynamic_flag_spec_F77
=
15515 whole_archive_flag_spec_F77
=
15518 # PORTME fill in a description of your system's linker (not GNU ld)
15521 allow_undefined_flag_F77
=unsupported
15522 always_export_symbols_F77
=yes
15523 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15524 # Note: this linker hardcodes the directories in LIBPATH if there
15525 # are no directories specified by -L.
15526 hardcode_minus_L_F77
=yes
15527 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15528 # Neither direct hardcoding nor static linking is supported with a
15530 hardcode_direct_F77
=unsupported
15535 if test "$host_cpu" = ia64
; then
15536 # On IA64, the linker does run time linking by default, so we don't
15537 # have to do anything special.
15538 aix_use_runtimelinking
=no
15539 exp_sym_flag
='-Bexport'
15542 # If we're using GNU nm, then we don't want the "-C" option.
15543 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15544 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15545 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15547 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15549 aix_use_runtimelinking
=no
15551 # Test if we are trying to use run time linking or normal
15552 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15553 # need to do runtime linking.
15554 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15555 for ld_flag
in $LDFLAGS; do
15556 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15557 aix_use_runtimelinking
=yes
15564 exp_sym_flag
='-bexport'
15565 no_entry_flag
='-bnoentry'
15568 # When large executables or shared objects are built, AIX ld can
15569 # have problems creating the table of contents. If linking a library
15570 # or program results in "error TOC overflow" add -mminimal-toc to
15571 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15572 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15574 archive_cmds_F77
=''
15575 hardcode_direct_F77
=yes
15576 hardcode_libdir_separator_F77
=':'
15577 link_all_deplibs_F77
=yes
15579 if test "$GCC" = yes; then
15580 case $host_os in aix4.
[012]|aix4.
[012].
*)
15581 # We only want to do this on AIX 4.2 and lower, the check
15582 # below for broken collect2 doesn't work under 4.3+
15583 collect2name
=`${CC} -print-prog-name=collect2`
15584 if test -f "$collect2name" && \
15585 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15587 # We have reworked collect2
15588 hardcode_direct_F77
=yes
15590 # We have old collect2
15591 hardcode_direct_F77
=unsupported
15592 # It fails to find uninstalled libraries when the uninstalled
15593 # path is not listed in the libpath. Setting hardcode_minus_L
15594 # to unsupported forces relinking
15595 hardcode_minus_L_F77
=yes
15596 hardcode_libdir_flag_spec_F77
='-L$libdir'
15597 hardcode_libdir_separator_F77
=
15601 shared_flag
='-shared'
15602 if test "$aix_use_runtimelinking" = yes; then
15603 shared_flag
="$shared_flag "'${wl}-G'
15607 if test "$host_cpu" = ia64
; then
15608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15609 # chokes on -Wl,-G. The following line is correct:
15612 if test "$aix_use_runtimelinking" = yes; then
15613 shared_flag
='${wl}-G'
15615 shared_flag
='${wl}-bM:SRE'
15620 # It seems that -bexpall does not export symbols beginning with
15621 # underscore (_), so it is better to generate a list of symbols to export.
15622 always_export_symbols_F77
=yes
15623 if test "$aix_use_runtimelinking" = yes; then
15624 # Warning - without using the other runtime loading flags (-brtl),
15625 # -berok will link without error, but may produce a broken library.
15626 allow_undefined_flag_F77
='-berok'
15627 # Determine the default libpath from the value encoded in an empty executable.
15628 cat >conftest.
$ac_ext <<_ACEOF
15633 rm -f conftest.
$ac_objext conftest
$ac_exeext
15634 if { (ac_try
="$ac_link"
15635 case "(($ac_try" in
15636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_link") 2>conftest.er1
15642 grep -v '^ *+' conftest.er1 >conftest.err
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_f77_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest$ac_exeext &&
15650 $as_test_x conftest$ac_exeext; then
15652 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15654 # Check for a 64-bit object if we didn't find anything.
15655 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15658 echo "$as_me: failed program was:" >&5
15659 sed 's/^/| /' conftest.$ac_ext >&5
15664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15665 conftest$ac_exeext conftest.$ac_ext
15666 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15668 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15669 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15671 if test "$host_cpu" = ia64; then
15672 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15673 allow_undefined_flag_F77="-z nodefs"
15674 archive_expsym_cmds_F77="\$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"
15676 # Determine the default libpath from the value encoded in an empty executable.
15677 cat >conftest.$ac_ext <<_ACEOF
15682 rm -f conftest.$ac_objext conftest$ac_exeext
15683 if { (ac_try="$ac_link"
15684 case "(($ac_try" in
15685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15686 *) ac_try_echo
=$ac_try;;
15688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15689 (eval "$ac_link") 2>conftest.er1
15691 grep -v '^ *+' conftest.er1
>conftest.err
15693 cat conftest.err
>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } && {
15696 test -z "$ac_f77_werror_flag" ||
15697 test ! -s conftest.err
15698 } && test -s conftest
$ac_exeext &&
15699 $as_test_x conftest
$ac_exeext; then
15701 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15703 # Check for a 64-bit object if we didn't find anything.
15704 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.
$ac_ext >&5
15713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15714 conftest
$ac_exeext conftest.
$ac_ext
15715 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15717 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15718 # Warning - without using the other run time loading flags,
15719 # -berok will link without error, but may produce a broken library.
15720 no_undefined_flag_F77
=' ${wl}-bernotok'
15721 allow_undefined_flag_F77
=' ${wl}-berok'
15722 # Exported symbols can be pulled into shared objects from archives
15723 whole_archive_flag_spec_F77
='$convenience'
15724 archive_cmds_need_lc_F77
=yes
15725 # This is similar to how AIX traditionally builds its shared libraries.
15726 archive_expsym_cmds_F77
="\$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'
15732 archive_cmds_F77
='$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)'
15733 hardcode_libdir_flag_spec_F77
='-L$libdir'
15734 hardcode_minus_L_F77
=yes
15735 # see comment about different semantics on the GNU ld section
15740 export_dynamic_flag_spec_F77
=-rdynamic
15743 cygwin
* | mingw
* | pw32
*)
15744 # When not using gcc, we currently assume that we are using
15745 # Microsoft Visual C++.
15746 # hardcode_libdir_flag_spec is actually meaningless, as there is
15747 # no search path for DLLs.
15748 hardcode_libdir_flag_spec_F77
=' '
15749 allow_undefined_flag_F77
=unsupported
15750 # Tell ltmain to make .lib files, not .a files.
15752 # Tell ltmain to make .dll files, not .so files.
15754 # FIXME: Setting linknames here is a bad hack.
15755 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15756 # The linker will automatically build a .lib file if we build a DLL.
15757 old_archive_From_new_cmds_F77
='true'
15758 # FIXME: Should let the user specify the lib program.
15759 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15760 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15761 enable_shared_with_static_runtimes_F77
=yes
15764 darwin
* | rhapsody
*)
15766 rhapsody
* | darwin1.
[012])
15767 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15770 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15771 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15773 case ${MACOSX_DEPLOYMENT_TARGET} in
15775 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15778 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15784 archive_cmds_need_lc_F77
=no
15785 hardcode_direct_F77
=no
15786 hardcode_automatic_F77
=yes
15787 hardcode_shlibpath_var_F77
=unsupported
15788 whole_archive_flag_spec_F77
=''
15789 link_all_deplibs_F77
=yes
15790 if test "$GCC" = yes ; then
15791 output_verbose_link_cmd
='echo'
15792 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15793 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15794 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15795 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15796 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15798 case $cc_basename in
15800 output_verbose_link_cmd
='echo'
15801 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15802 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15803 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15804 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15805 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15815 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15816 hardcode_libdir_flag_spec_F77
='-L$libdir'
15817 hardcode_shlibpath_var_F77
=no
15824 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15825 # support. Future versions do this automatically, but an explicit c++rt0.o
15826 # does not break anything, and helps significantly (at the cost of a little
15829 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15830 hardcode_libdir_flag_spec_F77
='-R$libdir'
15831 hardcode_direct_F77
=yes
15832 hardcode_shlibpath_var_F77
=no
15835 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15837 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15838 hardcode_direct_F77
=yes
15839 hardcode_minus_L_F77
=yes
15840 hardcode_shlibpath_var_F77
=no
15843 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15844 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15845 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15846 hardcode_libdir_flag_spec_F77
='-R$libdir'
15847 hardcode_direct_F77
=yes
15848 hardcode_shlibpath_var_F77
=no
15852 if test "$GCC" = yes; then
15853 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15855 archive_cmds_F77
='$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'
15857 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15858 hardcode_libdir_separator_F77
=:
15859 hardcode_direct_F77
=yes
15861 # hardcode_minus_L: Not really in the search PATH,
15862 # but as the default location of the library.
15863 hardcode_minus_L_F77
=yes
15864 export_dynamic_flag_spec_F77
='${wl}-E'
15868 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15869 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15871 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15873 if test "$with_gnu_ld" = no
; then
15874 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15875 hardcode_libdir_separator_F77
=:
15877 hardcode_direct_F77
=yes
15878 export_dynamic_flag_spec_F77
='${wl}-E'
15880 # hardcode_minus_L: Not really in the search PATH,
15881 # but as the default location of the library.
15882 hardcode_minus_L_F77
=yes
15887 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15890 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15893 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15896 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15902 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15905 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15908 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15912 if test "$with_gnu_ld" = no
; then
15913 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15914 hardcode_libdir_separator_F77
=:
15918 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15919 hardcode_direct_F77
=no
15920 hardcode_shlibpath_var_F77
=no
15923 hardcode_direct_F77
=yes
15924 export_dynamic_flag_spec_F77
='${wl}-E'
15926 # hardcode_minus_L: Not really in the search PATH,
15927 # but as the default location of the library.
15928 hardcode_minus_L_F77
=yes
15934 irix5
* | irix6
* | nonstopux
*)
15935 if test "$GCC" = yes; then
15936 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15938 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15939 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15941 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15942 hardcode_libdir_separator_F77
=:
15943 link_all_deplibs_F77
=yes
15947 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15948 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15950 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15952 hardcode_libdir_flag_spec_F77
='-R$libdir'
15953 hardcode_direct_F77
=yes
15954 hardcode_shlibpath_var_F77
=no
15958 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15959 hardcode_direct_F77
=yes
15960 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15961 hardcode_libdir_separator_F77
=:
15962 hardcode_shlibpath_var_F77
=no
15966 hardcode_direct_F77
=yes
15967 hardcode_shlibpath_var_F77
=no
15968 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15969 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15970 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15971 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15972 export_dynamic_flag_spec_F77
='${wl}-E'
15975 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15976 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15977 hardcode_libdir_flag_spec_F77
='-R$libdir'
15980 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15981 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15988 hardcode_libdir_flag_spec_F77
='-L$libdir'
15989 hardcode_minus_L_F77
=yes
15990 allow_undefined_flag_F77
=unsupported
15991 archive_cmds_F77
='$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'
15992 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15996 if test "$GCC" = yes; then
15997 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15998 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16000 allow_undefined_flag_F77
=' -expect_unresolved \*'
16001 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16003 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16004 hardcode_libdir_separator_F77
=:
16007 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
16008 if test "$GCC" = yes; then
16009 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
16010 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16011 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
16013 allow_undefined_flag_F77
=' -expect_unresolved \*'
16014 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16015 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16016 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16018 # Both c and cxx compiler support -rpath directly
16019 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
16021 hardcode_libdir_separator_F77
=:
16025 no_undefined_flag_F77
=' -z text'
16026 if test "$GCC" = yes; then
16028 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16029 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16030 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16033 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16034 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16035 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16037 hardcode_libdir_flag_spec_F77
='-R$libdir'
16038 hardcode_shlibpath_var_F77
=no
16040 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16042 # The compiler driver will combine linker options so we
16043 # cannot just pass the convience library names through
16044 # without $wl, iff we do not link with $LD.
16045 # Luckily, gcc supports the same syntax we need for Sun Studio.
16046 # Supported since Solaris 2.6 (maybe 2.5.1?)
16049 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
16051 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16054 link_all_deplibs_F77
=yes
16058 if test "x$host_vendor" = xsequent
; then
16059 # Use $CC to link under sequent, because it throws in some extra .o
16060 # files that make .init and .fini sections work.
16061 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16063 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16065 hardcode_libdir_flag_spec_F77
='-L$libdir'
16066 hardcode_direct_F77
=yes
16067 hardcode_minus_L_F77
=yes
16068 hardcode_shlibpath_var_F77
=no
16072 case $host_vendor in
16074 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16075 hardcode_direct_F77
=yes # is this really true???
16078 ## LD is ld it makes a PLAMLIB
16079 ## CC just makes a GrossModule.
16080 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16081 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16082 hardcode_direct_F77
=no
16085 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16086 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16089 runpath_var
='LD_RUN_PATH'
16090 hardcode_shlibpath_var_F77
=no
16094 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16095 hardcode_shlibpath_var_F77
=no
16096 export_dynamic_flag_spec_F77
='-Bexport'
16100 if test -d /usr
/nec
; then
16101 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16102 hardcode_shlibpath_var_F77
=no
16103 runpath_var
=LD_RUN_PATH
16104 hardcode_runpath_var
=yes
16109 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
16110 no_undefined_flag_F77
='${wl}-z,text'
16111 archive_cmds_need_lc_F77
=no
16112 hardcode_shlibpath_var_F77
=no
16113 runpath_var
='LD_RUN_PATH'
16115 if test "$GCC" = yes; then
16116 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16117 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16119 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16120 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16124 sysv5
* | sco3.2v5
* | sco5v6
*)
16125 # Note: We can NOT use -z defs as we might desire, because we do not
16126 # link with -lc, and that would cause any symbols used from libc to
16127 # always be unresolved, which means just about no library would
16128 # ever link correctly. If we're not using GNU ld we use -z text
16129 # though, which does catch some bad symbols but isn't as heavy-handed
16131 no_undefined_flag_F77
='${wl}-z,text'
16132 allow_undefined_flag_F77
='${wl}-z,nodefs'
16133 archive_cmds_need_lc_F77
=no
16134 hardcode_shlibpath_var_F77
=no
16135 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16136 hardcode_libdir_separator_F77
=':'
16137 link_all_deplibs_F77
=yes
16138 export_dynamic_flag_spec_F77
='${wl}-Bexport'
16139 runpath_var
='LD_RUN_PATH'
16141 if test "$GCC" = yes; then
16142 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16143 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16145 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16146 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16151 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16152 hardcode_libdir_flag_spec_F77
='-L$libdir'
16153 hardcode_shlibpath_var_F77
=no
16162 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16163 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16164 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16167 # Do we need to explicitly link libc?
16169 case "x$archive_cmds_need_lc_F77" in
16171 # Assume -lc should be added
16172 archive_cmds_need_lc_F77
=yes
16174 if test "$enable_shared" = yes && test "$GCC" = yes; then
16175 case $archive_cmds_F77 in
16177 # FIXME: we may have to deal with multi-command sequences.
16180 # Test whether the compiler implicitly links with -lc since on some
16181 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16182 # to ld, don't add -lc before -lgcc.
16183 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16184 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16186 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } 2>conftest.err
; then
16195 libobjs
=conftest.
$ac_objext
16197 wl
=$lt_prog_compiler_wl_F77
16198 pic_flag
=$lt_prog_compiler_pic_F77
16204 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16205 allow_undefined_flag_F77
=
16206 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16207 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }
16212 archive_cmds_need_lc_F77
=no
16214 archive_cmds_need_lc_F77
=yes
16216 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16218 cat conftest.err
1>&5
16221 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16222 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16229 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16230 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16231 library_names_spec
=
16232 libname_spec
='lib$name'
16236 postuninstall_cmds
=
16240 shlibpath_overrides_runpath
=unknown
16242 dynamic_linker
="$host_os ld.so"
16243 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16244 if test "$GCC" = yes; then
16245 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16246 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16247 # if the path contains ";" then we assume it to be the separator
16248 # otherwise default to the standard path separator (i.e. ":") - it is
16249 # assumed that no part of a normal pathname contains ";" but that should
16250 # okay in the real world where ";" in dirpaths is itself problematic.
16251 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16253 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16256 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16258 need_lib_prefix
=unknown
16259 hardcode_into_libs
=no
16261 # when you set need_version to no, make sure it does not cause -set_version
16262 # flags to be left without arguments
16263 need_version
=unknown
16268 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16269 shlibpath_var
=LIBPATH
16271 # AIX 3 has no versioning support, so we append a major version to the name.
16272 soname_spec
='${libname}${release}${shared_ext}$major'
16279 hardcode_into_libs
=yes
16280 if test "$host_cpu" = ia64
; then
16281 # AIX 5 supports IA64
16282 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16283 shlibpath_var
=LD_LIBRARY_PATH
16285 # With GCC up to 2.95.x, collect2 would create an import file
16286 # for dependence libraries. The import file would start with
16287 # the line `#! .'. This would cause the generated library to
16288 # depend on `.', always an invalid library. This was fixed in
16289 # development snapshots of GCC prior to 3.0.
16291 aix4 | aix4.
[01] | aix4.
[01].
*)
16292 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16294 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16297 can_build_shared
=no
16301 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16302 # soname into executable. Probably we can add versioning support to
16303 # collect2, so additional links can be useful in future.
16304 if test "$aix_use_runtimelinking" = yes; then
16305 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16306 # instead of lib<name>.a to let people know that these are not
16307 # typical AIX shared libraries.
16308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16310 # We preserve .a as extension for shared libraries through AIX4.2
16311 # and later when we are not doing run time linking.
16312 library_names_spec
='${libname}${release}.a $libname.a'
16313 soname_spec
='${libname}${release}${shared_ext}$major'
16315 shlibpath_var
=LIBPATH
16320 library_names_spec
='$libname.ixlibrary $libname.a'
16321 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16322 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
16326 library_names_spec
='${libname}${shared_ext}'
16327 dynamic_linker
="$host_os ld.so"
16328 shlibpath_var
=LIBRARY_PATH
16334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16335 soname_spec
='${libname}${release}${shared_ext}$major'
16336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16337 shlibpath_var
=LD_LIBRARY_PATH
16338 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16339 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16340 # the default ld.so.conf also contains /usr/contrib/lib and
16341 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16342 # libtool to hard-code these into programs
16345 cygwin
* | mingw
* | pw32
*)
16346 version_type
=windows
16351 case $GCC,$host_os in
16352 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16353 library_names_spec
='$libname.dll.a'
16354 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16355 postinstall_cmds
='base_file=`basename \${file}`~
16356 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16357 dldir=$destdir/`dirname \$dlpath`~
16358 test -d \$dldir || mkdir -p \$dldir~
16359 $install_prog $dir/$dlname \$dldir/$dlname~
16360 chmod a+x \$dldir/$dlname'
16361 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16362 dlpath=$dir/\$dldll~
16364 shlibpath_overrides_runpath
=yes
16368 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16369 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16370 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16373 # MinGW DLLs use traditional 'lib' prefix
16374 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16375 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16376 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16377 # It is most probably a Windows format PATH printed by
16378 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16379 # path with ; separators, and with drive letters. We can handle the
16380 # drive letters (cygwin fileutils understands them), so leave them,
16381 # especially as we might pass files found there to a mingw objdump,
16382 # which wouldn't understand a cygwinified path. Ahh.
16383 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16385 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16389 # pw32 DLLs use 'pw' prefix rather than 'lib'
16390 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16396 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16399 dynamic_linker
='Win32 ld.exe'
16400 # FIXME: first we should search . and the directory the executable is in
16404 darwin
* | rhapsody
*)
16405 dynamic_linker
="$host_os dyld"
16406 version_type
=darwin
16409 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16410 soname_spec
='${libname}${release}${major}$shared_ext'
16411 shlibpath_overrides_runpath
=yes
16412 shlibpath_var
=DYLD_LIBRARY_PATH
16413 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16414 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16415 if test "$GCC" = yes; then
16416 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16418 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16420 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16428 soname_spec
='${libname}${release}${shared_ext}$major'
16429 shlibpath_var
=LD_LIBRARY_PATH
16440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16441 soname_spec
='${libname}${release}${shared_ext}$major'
16442 shlibpath_var
=LD_LIBRARY_PATH
16443 shlibpath_overrides_runpath
=no
16444 hardcode_into_libs
=yes
16445 dynamic_linker
='GNU ld.so'
16448 freebsd
* | dragonfly
*)
16449 # DragonFly does not have aout. When/if they implement a new
16450 # versioning mechanism, adjust this.
16451 if test -x /usr
/bin
/objformat
; then
16452 objformat
=`/usr/bin/objformat`
16455 freebsd
[123]*) objformat
=aout
;;
16456 *) objformat
=elf
;;
16459 version_type
=freebsd-
$objformat
16460 case $version_type in
16462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16467 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16471 shlibpath_var
=LD_LIBRARY_PATH
16474 shlibpath_overrides_runpath
=yes
16476 freebsd3.
[01]* | freebsdelf3.
[01]*)
16477 shlibpath_overrides_runpath
=yes
16478 hardcode_into_libs
=yes
16480 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16481 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16482 shlibpath_overrides_runpath
=no
16483 hardcode_into_libs
=yes
16485 freebsd
*) # from 4.6 on
16486 shlibpath_overrides_runpath
=yes
16487 hardcode_into_libs
=yes
16496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16497 soname_spec
='${libname}${release}${shared_ext}$major'
16498 shlibpath_var
=LD_LIBRARY_PATH
16499 hardcode_into_libs
=yes
16502 hpux9
* | hpux10
* | hpux11
*)
16503 # Give a soname corresponding to the major version so that dld.sl refuses to
16504 # link against other versions.
16511 hardcode_into_libs
=yes
16512 dynamic_linker
="$host_os dld.so"
16513 shlibpath_var
=LD_LIBRARY_PATH
16514 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16516 soname_spec
='${libname}${release}${shared_ext}$major'
16517 if test "X$HPUX_IA64_MODE" = X32
; then
16518 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16520 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16522 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16526 hardcode_into_libs
=yes
16527 dynamic_linker
="$host_os dld.sl"
16528 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16529 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16531 soname_spec
='${libname}${release}${shared_ext}$major'
16532 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16533 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16537 dynamic_linker
="$host_os dld.sl"
16538 shlibpath_var
=SHLIB_PATH
16539 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16541 soname_spec
='${libname}${release}${shared_ext}$major'
16544 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16545 postinstall_cmds
='chmod 555 $lib'
16552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16553 soname_spec
='${libname}${release}${shared_ext}$major'
16554 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16555 shlibpath_var
=LD_LIBRARY_PATH
16556 shlibpath_overrides_runpath
=no
16557 hardcode_into_libs
=yes
16560 irix5
* | irix6
* | nonstopux
*)
16562 nonstopux
*) version_type
=nonstopux
;;
16564 if test "$lt_cv_prog_gnu_ld" = yes; then
16572 soname_spec
='${libname}${release}${shared_ext}$major'
16573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16575 irix5
* | nonstopux
*)
16576 libsuff
= shlibsuff
=
16579 case $LD in # libtool.m4 will add one of these switches to LD
16580 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16581 libsuff
= shlibsuff
= libmagic
=32-bit;;
16582 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16583 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16584 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16585 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16586 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16590 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16591 shlibpath_overrides_runpath
=no
16592 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16593 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16594 hardcode_into_libs
=yes
16597 # No shared lib support for Linux oldld, aout, or coff.
16598 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16602 # This must be Linux ELF.
16607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16608 soname_spec
='${libname}${release}${shared_ext}$major'
16609 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16610 shlibpath_var
=LD_LIBRARY_PATH
16611 shlibpath_overrides_runpath
=no
16612 # This implies no fast_install, which is unacceptable.
16613 # Some rework will be needed to allow for fast_install
16614 # before this can be enabled.
16615 hardcode_into_libs
=yes
16617 # Append ld.so.conf contents to the search path
16618 if test -f /etc
/ld.so.conf
; then
16619 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16620 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16623 # We used to test for /lib/ld.so.1 and disable shared libraries on
16624 # powerpc, because MkLinux only supported shared libraries with the
16625 # GNU dynamic linker. Since this was broken with cross compilers,
16626 # most powerpc-linux boxes support dynamic linking these days and
16627 # people can always --disable-shared, the test was removed, and we
16628 # assume the GNU/Linux dynamic linker is in use.
16629 dynamic_linker
='GNU/Linux ld.so'
16636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16637 soname_spec
='${libname}${release}${shared_ext}$major'
16638 shlibpath_var
=LD_LIBRARY_PATH
16639 shlibpath_overrides_runpath
=no
16640 hardcode_into_libs
=yes
16641 dynamic_linker
='GNU ld.so'
16648 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16650 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16651 dynamic_linker
='NetBSD (a.out) ld.so'
16653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16654 soname_spec
='${libname}${release}${shared_ext}$major'
16655 dynamic_linker
='NetBSD ld.elf_so'
16657 shlibpath_var
=LD_LIBRARY_PATH
16658 shlibpath_overrides_runpath
=yes
16659 hardcode_into_libs
=yes
16664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16665 shlibpath_var
=LD_LIBRARY_PATH
16666 shlibpath_overrides_runpath
=yes
16673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16674 soname_spec
='${libname}${release}${shared_ext}$major'
16675 shlibpath_var
=LD_LIBRARY_PATH
16676 shlibpath_overrides_runpath
=yes
16681 sys_lib_dlsearch_path_spec
="/usr/lib"
16683 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16685 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16686 *) need_version
=no
;;
16688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16689 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16690 shlibpath_var
=LD_LIBRARY_PATH
16691 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16693 openbsd2.
[89] | openbsd2.
[89].
*)
16694 shlibpath_overrides_runpath
=no
16697 shlibpath_overrides_runpath
=yes
16701 shlibpath_overrides_runpath
=yes
16706 libname_spec
='$name'
16709 library_names_spec
='$libname${shared_ext} $libname.a'
16710 dynamic_linker
='OS/2 ld.exe'
16711 shlibpath_var
=LIBPATH
16714 osf3
* | osf4
* | osf5
*)
16718 soname_spec
='${libname}${release}${shared_ext}$major'
16719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16720 shlibpath_var
=LD_LIBRARY_PATH
16721 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16722 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16730 soname_spec
='${libname}${release}${shared_ext}$major'
16731 shlibpath_var
=LD_LIBRARY_PATH
16732 shlibpath_overrides_runpath
=yes
16733 hardcode_into_libs
=yes
16734 # ldd complains unless libraries are executable
16735 postinstall_cmds
='chmod +x $lib'
16740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16741 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16742 shlibpath_var
=LD_LIBRARY_PATH
16743 shlibpath_overrides_runpath
=yes
16744 if test "$with_gnu_ld" = yes; then
16752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 soname_spec
='${libname}${release}${shared_ext}$major'
16754 shlibpath_var
=LD_LIBRARY_PATH
16755 case $host_vendor in
16757 shlibpath_overrides_runpath
=no
16759 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16760 runpath_var
=LD_RUN_PATH
16768 shlibpath_overrides_runpath
=no
16769 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16775 if test -d /usr
/nec
;then
16777 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16778 soname_spec
='$libname${shared_ext}.$major'
16779 shlibpath_var
=LD_LIBRARY_PATH
16783 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16784 version_type
=freebsd-elf
16787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16788 soname_spec
='${libname}${release}${shared_ext}$major'
16789 shlibpath_var
=LD_LIBRARY_PATH
16790 hardcode_into_libs
=yes
16791 if test "$with_gnu_ld" = yes; then
16792 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16793 shlibpath_overrides_runpath
=no
16795 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16796 shlibpath_overrides_runpath
=yes
16799 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16803 sys_lib_dlsearch_path_spec
='/usr/lib'
16808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16809 soname_spec
='${libname}${release}${shared_ext}$major'
16810 shlibpath_var
=LD_LIBRARY_PATH
16817 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16818 echo "${ECHO_T}$dynamic_linker" >&6; }
16819 test "$dynamic_linker" = no
&& can_build_shared
=no
16821 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16822 if test "$GCC" = yes; then
16823 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16826 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16827 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16828 hardcode_action_F77
=
16829 if test -n "$hardcode_libdir_flag_spec_F77" || \
16830 test -n "$runpath_var_F77" || \
16831 test "X$hardcode_automatic_F77" = "Xyes" ; then
16833 # We can hardcode non-existant directories.
16834 if test "$hardcode_direct_F77" != no
&&
16835 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16836 # have to relink, otherwise we might link with an installed library
16837 # when we should be linking with a yet-to-be-installed one
16838 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16839 test "$hardcode_minus_L_F77" != no
; then
16840 # Linking always hardcodes the temporary library directory.
16841 hardcode_action_F77
=relink
16843 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16844 hardcode_action_F77
=immediate
16847 # We cannot hardcode anything, or else we can only hardcode existing
16849 hardcode_action_F77
=unsupported
16851 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16852 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16854 if test "$hardcode_action_F77" = relink
; then
16855 # Fast installation is not supported
16856 enable_fast_install
=no
16857 elif test "$shlibpath_overrides_runpath" = yes ||
16858 test "$enable_shared" = no
; then
16859 # Fast installation is not necessary
16860 enable_fast_install
=needless
16864 # The else clause should only fire when bootstrapping the
16865 # libtool distribution, otherwise you forgot to ship ltmain.sh
16866 # with your package, and you will get complaints that there are
16867 # no rules to generate ltmain.sh.
16868 if test -f "$ltmain"; then
16869 # See if we are running on zsh, and set the options which allow our commands through
16870 # without removal of \ escapes.
16871 if test -n "${ZSH_VERSION+set}" ; then
16872 setopt NO_GLOB_SUBST
16874 # Now quote all the things that may contain metacharacters while being
16875 # careful not to overquote the AC_SUBSTed values. We take copies of the
16876 # variables and quote the copies for generation of the libtool script.
16877 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16879 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16880 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16881 deplibs_check_method reload_flag reload_cmds need_locks \
16882 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16883 lt_cv_sys_global_symbol_to_c_name_address \
16884 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16885 old_postinstall_cmds old_postuninstall_cmds \
16889 lt_prog_compiler_wl_F77 \
16890 lt_prog_compiler_pic_F77 \
16891 lt_prog_compiler_static_F77 \
16892 lt_prog_compiler_no_builtin_flag_F77 \
16893 export_dynamic_flag_spec_F77 \
16894 thread_safe_flag_spec_F77 \
16895 whole_archive_flag_spec_F77 \
16896 enable_shared_with_static_runtimes_F77 \
16897 old_archive_cmds_F77 \
16898 old_archive_from_new_cmds_F77 \
16899 predep_objects_F77 \
16900 postdep_objects_F77 \
16903 compiler_lib_search_path_F77 \
16905 archive_expsym_cmds_F77 \
16906 postinstall_cmds_F77 \
16907 postuninstall_cmds_F77 \
16908 old_archive_from_expsyms_cmds_F77 \
16909 allow_undefined_flag_F77 \
16910 no_undefined_flag_F77 \
16911 export_symbols_cmds_F77 \
16912 hardcode_libdir_flag_spec_F77 \
16913 hardcode_libdir_flag_spec_ld_F77 \
16914 hardcode_libdir_separator_F77 \
16915 hardcode_automatic_F77 \
16917 module_expsym_cmds_F77 \
16918 lt_cv_prog_compiler_c_o_F77 \
16919 exclude_expsyms_F77 \
16920 include_expsyms_F77
; do
16923 old_archive_cmds_F77 | \
16924 old_archive_from_new_cmds_F77 | \
16925 archive_cmds_F77 | \
16926 archive_expsym_cmds_F77 | \
16927 module_cmds_F77 | \
16928 module_expsym_cmds_F77 | \
16929 old_archive_from_expsyms_cmds_F77 | \
16930 export_symbols_cmds_F77 | \
16931 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16932 postinstall_cmds | postuninstall_cmds | \
16933 old_postinstall_cmds | old_postuninstall_cmds | \
16934 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16935 # Double-quote double-evaled strings.
16936 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16939 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16945 *'\$0 --fallback-echo"')
16946 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16952 cat <<__EOF__ >> "$cfgfile"
16953 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16955 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16957 # Shell to use when invoking shell scripts.
16960 # Whether or not to build shared libraries.
16961 build_libtool_libs=$enable_shared
16963 # Whether or not to build static libraries.
16964 build_old_libs=$enable_static
16966 # Whether or not to add -lc for building shared libraries.
16967 build_libtool_need_lc=$archive_cmds_need_lc_F77
16969 # Whether or not to disallow shared libs when runtime libs are static
16970 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16972 # Whether or not to optimize for fast installation.
16973 fast_install=$enable_fast_install
16976 host_alias=$host_alias
16980 # The build system.
16981 build_alias=$build_alias
16985 # An echo program that does not interpret backslashes.
16990 AR_FLAGS=$lt_AR_FLAGS
16995 # LTCC compiler flags.
16996 LTCFLAGS=$lt_LTCFLAGS
16998 # A language-specific compiler.
16999 CC=$lt_compiler_F77
17001 # Is the compiler the GNU C compiler?
17007 # The linker used to build libraries.
17010 # Whether we need hard or soft links.
17013 # A BSD-compatible nm program.
17016 # A symbol stripping program
17019 # Used to examine libraries when file_magic_cmd begins "file"
17020 MAGIC_CMD=$MAGIC_CMD
17022 # Used on cygwin: DLL creation program.
17025 # Used on cygwin: object dumper.
17028 # Used on cygwin: assembler.
17031 # The name of the directory that contains temporary libtool files.
17034 # How to create reloadable object files.
17035 reload_flag=$lt_reload_flag
17036 reload_cmds=$lt_reload_cmds
17038 # How to pass a linker flag through the compiler.
17039 wl=$lt_lt_prog_compiler_wl_F77
17041 # Object file suffix (normally "o").
17042 objext="$ac_objext"
17044 # Old archive suffix (normally "a").
17047 # Shared library suffix (normally ".so").
17048 shrext_cmds='$shrext_cmds'
17050 # Executable file suffix (normally "").
17053 # Additional compiler flags for building library objects.
17054 pic_flag=$lt_lt_prog_compiler_pic_F77
17057 # What is the maximum length of a command?
17058 max_cmd_len=$lt_cv_sys_max_cmd_len
17060 # Does compiler simultaneously support -c and -o options?
17061 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17063 # Must we lock files when doing compilation?
17064 need_locks=$lt_need_locks
17066 # Do we need the lib prefix for modules?
17067 need_lib_prefix=$need_lib_prefix
17069 # Do we need a version for libraries?
17070 need_version=$need_version
17072 # Whether dlopen is supported.
17073 dlopen_support=$enable_dlopen
17075 # Whether dlopen of programs is supported.
17076 dlopen_self=$enable_dlopen_self
17078 # Whether dlopen of statically linked programs is supported.
17079 dlopen_self_static=$enable_dlopen_self_static
17081 # Compiler flag to prevent dynamic linking.
17082 link_static_flag=$lt_lt_prog_compiler_static_F77
17084 # Compiler flag to turn off builtin functions.
17085 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17087 # Compiler flag to allow reflexive dlopens.
17088 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17090 # Compiler flag to generate shared objects directly from archives.
17091 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17093 # Compiler flag to generate thread-safe objects.
17094 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17096 # Library versioning type.
17097 version_type=$version_type
17099 # Format of library name prefix.
17100 libname_spec=$lt_libname_spec
17102 # List of archive names. First name is the real one, the rest are links.
17103 # The last name is the one that the linker finds with -lNAME.
17104 library_names_spec=$lt_library_names_spec
17106 # The coded name of the library, if different from the real name.
17107 soname_spec=$lt_soname_spec
17109 # Commands used to build and install an old-style archive.
17111 old_archive_cmds=$lt_old_archive_cmds_F77
17112 old_postinstall_cmds=$lt_old_postinstall_cmds
17113 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17115 # Create an old-style archive from a shared archive.
17116 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17118 # Create a temporary old-style archive to link instead of a shared archive.
17119 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17121 # Commands used to build and install a shared archive.
17122 archive_cmds=$lt_archive_cmds_F77
17123 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17124 postinstall_cmds=$lt_postinstall_cmds
17125 postuninstall_cmds=$lt_postuninstall_cmds
17127 # Commands used to build a loadable module (assumed same as above if empty)
17128 module_cmds=$lt_module_cmds_F77
17129 module_expsym_cmds=$lt_module_expsym_cmds_F77
17131 # Commands to strip libraries.
17132 old_striplib=$lt_old_striplib
17133 striplib=$lt_striplib
17135 # Dependencies to place before the objects being linked to create a
17137 predep_objects=$lt_predep_objects_F77
17139 # Dependencies to place after the objects being linked to create a
17141 postdep_objects=$lt_postdep_objects_F77
17143 # Dependencies to place before the objects being linked to create a
17145 predeps=$lt_predeps_F77
17147 # Dependencies to place after the objects being linked to create a
17149 postdeps=$lt_postdeps_F77
17151 # The library search path used internally by the compiler when linking
17152 # a shared library.
17153 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17155 # Method to check whether dependent libraries are shared objects.
17156 deplibs_check_method=$lt_deplibs_check_method
17158 # Command to use when deplibs_check_method == file_magic.
17159 file_magic_cmd=$lt_file_magic_cmd
17161 # Flag that allows shared libraries with undefined symbols to be built.
17162 allow_undefined_flag=$lt_allow_undefined_flag_F77
17164 # Flag that forces no undefined symbols.
17165 no_undefined_flag=$lt_no_undefined_flag_F77
17167 # Commands used to finish a libtool library installation in a directory.
17168 finish_cmds=$lt_finish_cmds
17170 # Same as above, but a single script fragment to be evaled but not shown.
17171 finish_eval=$lt_finish_eval
17173 # Take the output of nm and produce a listing of raw symbols and C names.
17174 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17176 # Transform the output of nm in a proper C declaration
17177 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17179 # Transform the output of nm in a C name address pair
17180 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17182 # This is the shared library runtime path variable.
17183 runpath_var=$runpath_var
17185 # This is the shared library path variable.
17186 shlibpath_var=$shlibpath_var
17188 # Is shlibpath searched before the hard-coded library search path?
17189 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17191 # How to hardcode a shared library path into an executable.
17192 hardcode_action=$hardcode_action_F77
17194 # Whether we should hardcode library paths into libraries.
17195 hardcode_into_libs=$hardcode_into_libs
17197 # Flag to hardcode \$libdir into a binary during linking.
17198 # This must work even if \$libdir does not exist.
17199 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17201 # If ld is used when linking, flag to hardcode \$libdir into
17202 # a binary during linking. This must work even if \$libdir does
17204 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17206 # Whether we need a single -rpath flag with a separated argument.
17207 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17209 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17210 # resulting binary.
17211 hardcode_direct=$hardcode_direct_F77
17213 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17214 # resulting binary.
17215 hardcode_minus_L=$hardcode_minus_L_F77
17217 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17218 # the resulting binary.
17219 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17221 # Set to yes if building a shared library automatically hardcodes DIR into the library
17222 # and all subsequent libraries and executables linked against it.
17223 hardcode_automatic=$hardcode_automatic_F77
17225 # Variables whose values should be saved in libtool wrapper scripts and
17226 # restored at relink time.
17227 variables_saved_for_relink="$variables_saved_for_relink"
17229 # Whether libtool must link a program against all its dependency libraries.
17230 link_all_deplibs=$link_all_deplibs_F77
17232 # Compile-time system search path for libraries
17233 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17235 # Run-time system search path for libraries
17236 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17238 # Fix the shell variable \$srcfile for the compiler.
17239 fix_srcfile_path="$fix_srcfile_path_F77"
17241 # Set to yes if exported symbols are required.
17242 always_export_symbols=$always_export_symbols_F77
17244 # The commands to list exported symbols.
17245 export_symbols_cmds=$lt_export_symbols_cmds_F77
17247 # The commands to extract the exported symbol list from a shared archive.
17248 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17250 # Symbols that should not be listed in the preloaded symbols.
17251 exclude_expsyms=$lt_exclude_expsyms_F77
17253 # Symbols that must always be exported.
17254 include_expsyms=$lt_include_expsyms_F77
17256 # ### END LIBTOOL TAG CONFIG: $tagname
17262 # If there is no Makefile yet, we rely on a make rule to execute
17263 # `config.status --recheck' to rerun these tests and create the
17264 # libtool script then.
17265 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17266 if test -f "$ltmain_in"; then
17267 test -f Makefile
&& make "$ltmain"
17273 ac_cpp
='$CPP $CPPFLAGS'
17274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17286 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17289 # Source file extension for Java test sources.
17292 # Object file extension for compiled Java test sources.
17296 # Code to be used in simple compile tests
17297 lt_simple_compile_test_code
="class foo {}\n"
17299 # Code to be used in simple link tests
17300 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
17302 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17304 # If no C compiler was specified, use CC.
17307 # If no C compiler flags were specified, use CFLAGS.
17308 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17310 # Allow CC to be a program name with arguments.
17314 # save warnings/boilerplate of simple test code
17315 ac_outfile
=conftest.
$ac_objext
17316 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
17317 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17318 _lt_compiler_boilerplate
=`cat conftest.err`
17321 ac_outfile
=conftest.
$ac_objext
17322 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
17323 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17324 _lt_linker_boilerplate
=`cat conftest.err`
17328 # Allow CC to be a program name with arguments.
17333 for cc_temp
in $compiler""; do
17335 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17336 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17341 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17344 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17345 archive_cmds_need_lc_GCJ
=no
17347 old_archive_cmds_GCJ
=$old_archive_cmds
17350 lt_prog_compiler_no_builtin_flag_GCJ
=
17352 if test "$GCC" = yes; then
17353 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17356 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17357 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17358 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17361 lt_cv_prog_compiler_rtti_exceptions
=no
17362 ac_outfile
=conftest.
$ac_objext
17363 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17364 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17365 # Insert the option either (1) after the last *FLAGS variable, or
17366 # (2) before a word containing "conftest.", or (3) at the end.
17367 # Note that $ac_compile itself does not contain backslashes and begins
17368 # with a dollar sign (not a hyphen), so the echo should work correctly.
17369 # The option is referenced via a variable to avoid confusing sed.
17370 lt_compile
=`echo "$ac_compile" | $SED \
17371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17373 -e 's:$: $lt_compiler_flag:'`
17374 (eval echo "\"\$as_me:17374: $lt_compile\"" >&5)
17375 (eval "$lt_compile" 2>conftest.err
)
17377 cat conftest.err
>&5
17378 echo "$as_me:17378: \$? = $ac_status" >&5
17379 if (exit $ac_status) && test -s "$ac_outfile"; then
17380 # The compiler can only warn and ignore the option if not recognized
17381 # So say no if there are warnings other than the usual output.
17382 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17383 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17384 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17385 lt_cv_prog_compiler_rtti_exceptions
=yes
17391 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17392 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17394 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17395 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17402 lt_prog_compiler_wl_GCJ
=
17403 lt_prog_compiler_pic_GCJ
=
17404 lt_prog_compiler_static_GCJ
=
17406 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17407 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17409 if test "$GCC" = yes; then
17410 lt_prog_compiler_wl_GCJ
='-Wl,'
17411 lt_prog_compiler_static_GCJ
='-static'
17415 # All AIX code is PIC.
17416 if test "$host_cpu" = ia64
; then
17417 # AIX 5 now supports IA64 processor
17418 lt_prog_compiler_static_GCJ
='-Bstatic'
17423 # FIXME: we need at least 68020 code to build shared libraries, but
17424 # adding the `-m68020' flag to GCC prevents building anything better,
17426 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17429 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17430 # PIC is the default for these OSes.
17433 mingw
* | pw32
* | os2
*)
17434 # This hack is so that the source file can tell whether it is being
17435 # built for inclusion in a dll (and should export symbols for example).
17436 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17439 darwin
* | rhapsody
*)
17440 # PIC is the default on this platform
17441 # Common symbols not allowed in MH_DYLIB files
17442 lt_prog_compiler_pic_GCJ
='-fno-common'
17446 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17447 # Instead, we relocate shared libraries at runtime.
17451 # Just because we use GCC doesn't mean we suddenly get shared libraries
17452 # on systems that don't support them.
17453 lt_prog_compiler_can_build_shared_GCJ
=no
17458 if test -d /usr
/nec
; then
17459 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17464 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17465 # not for PA HP-UX.
17471 lt_prog_compiler_pic_GCJ
='-fPIC'
17477 lt_prog_compiler_pic_GCJ
='-fPIC'
17481 # PORTME Check for flag to pass linker flags through the system compiler.
17484 lt_prog_compiler_wl_GCJ
='-Wl,'
17485 if test "$host_cpu" = ia64
; then
17486 # AIX 5 now supports IA64 processor
17487 lt_prog_compiler_static_GCJ
='-Bstatic'
17489 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17493 # PIC is the default on this platform
17494 # Common symbols not allowed in MH_DYLIB files
17495 case $cc_basename in
17497 lt_prog_compiler_pic_GCJ
='-qnocommon'
17498 lt_prog_compiler_wl_GCJ
='-Wl,'
17503 mingw
* | pw32
* | os2
*)
17504 # This hack is so that the source file can tell whether it is being
17505 # built for inclusion in a dll (and should export symbols for example).
17506 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17509 hpux9
* | hpux10
* | hpux11
*)
17510 lt_prog_compiler_wl_GCJ
='-Wl,'
17511 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17512 # not for PA HP-UX.
17518 lt_prog_compiler_pic_GCJ
='+Z'
17521 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17522 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17525 irix5
* | irix6
* | nonstopux
*)
17526 lt_prog_compiler_wl_GCJ
='-Wl,'
17527 # PIC (with -KPIC) is the default.
17528 lt_prog_compiler_static_GCJ
='-non_shared'
17532 lt_prog_compiler_pic_GCJ
='-KPIC'
17533 lt_prog_compiler_static_GCJ
='-Bstatic'
17537 case $cc_basename in
17539 lt_prog_compiler_wl_GCJ
='-Wl,'
17540 lt_prog_compiler_pic_GCJ
='-KPIC'
17541 lt_prog_compiler_static_GCJ
='-static'
17543 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17544 # Portland Group compilers (*not* the Pentium gcc compiler,
17545 # which looks to be a dead project)
17546 lt_prog_compiler_wl_GCJ
='-Wl,'
17547 lt_prog_compiler_pic_GCJ
='-fpic'
17548 lt_prog_compiler_static_GCJ
='-Bstatic'
17551 lt_prog_compiler_wl_GCJ
='-Wl,'
17552 # All Alpha code is PIC.
17553 lt_prog_compiler_static_GCJ
='-non_shared'
17558 osf3
* | osf4
* | osf5
*)
17559 lt_prog_compiler_wl_GCJ
='-Wl,'
17560 # All OSF/1 code is PIC.
17561 lt_prog_compiler_static_GCJ
='-non_shared'
17565 lt_prog_compiler_pic_GCJ
='-KPIC'
17566 lt_prog_compiler_static_GCJ
='-Bstatic'
17567 case $cc_basename in
17568 f77
* | f90
* | f95
*)
17569 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17571 lt_prog_compiler_wl_GCJ
='-Wl,';;
17576 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17577 lt_prog_compiler_pic_GCJ
='-PIC'
17578 lt_prog_compiler_static_GCJ
='-Bstatic'
17581 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17582 lt_prog_compiler_wl_GCJ
='-Wl,'
17583 lt_prog_compiler_pic_GCJ
='-KPIC'
17584 lt_prog_compiler_static_GCJ
='-Bstatic'
17588 if test -d /usr
/nec
;then
17589 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17590 lt_prog_compiler_static_GCJ
='-Bstatic'
17594 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17595 lt_prog_compiler_wl_GCJ
='-Wl,'
17596 lt_prog_compiler_pic_GCJ
='-KPIC'
17597 lt_prog_compiler_static_GCJ
='-Bstatic'
17601 lt_prog_compiler_wl_GCJ
='-Wl,'
17602 lt_prog_compiler_can_build_shared_GCJ
=no
17606 lt_prog_compiler_pic_GCJ
='-pic'
17607 lt_prog_compiler_static_GCJ
='-Bstatic'
17611 lt_prog_compiler_can_build_shared_GCJ
=no
17616 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17617 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17620 # Check to make sure the PIC flag actually works.
17622 if test -n "$lt_prog_compiler_pic_GCJ"; then
17624 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17625 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17626 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17627 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 lt_prog_compiler_pic_works_GCJ
=no
17630 ac_outfile
=conftest.
$ac_objext
17631 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17632 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17633 # Insert the option either (1) after the last *FLAGS variable, or
17634 # (2) before a word containing "conftest.", or (3) at the end.
17635 # Note that $ac_compile itself does not contain backslashes and begins
17636 # with a dollar sign (not a hyphen), so the echo should work correctly.
17637 # The option is referenced via a variable to avoid confusing sed.
17638 lt_compile
=`echo "$ac_compile" | $SED \
17639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17641 -e 's:$: $lt_compiler_flag:'`
17642 (eval echo "\"\$as_me:17642: $lt_compile\"" >&5)
17643 (eval "$lt_compile" 2>conftest.err
)
17645 cat conftest.err
>&5
17646 echo "$as_me:17646: \$? = $ac_status" >&5
17647 if (exit $ac_status) && test -s "$ac_outfile"; then
17648 # The compiler can only warn and ignore the option if not recognized
17649 # So say no if there are warnings other than the usual output.
17650 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17651 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17652 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17653 lt_prog_compiler_pic_works_GCJ
=yes
17659 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17660 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17662 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17663 case $lt_prog_compiler_pic_GCJ in
17665 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17668 lt_prog_compiler_pic_GCJ
=
17669 lt_prog_compiler_can_build_shared_GCJ
=no
17674 # For platforms which do not support PIC, -DPIC is meaningless:
17676 lt_prog_compiler_pic_GCJ
=
17679 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17684 # Check to make sure the static flag actually works.
17686 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17687 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17688 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17689 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 lt_prog_compiler_static_works_GCJ
=no
17693 save_LDFLAGS
="$LDFLAGS"
17694 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17695 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
17696 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17697 # The linker can only warn and ignore the option if not recognized
17698 # So say no if there are warnings
17699 if test -s conftest.err
; then
17700 # Append any errors to the config.log.
17701 cat conftest.err
1>&5
17702 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17703 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17704 if diff conftest.exp conftest.er2
>/dev
/null
; then
17705 lt_prog_compiler_static_works_GCJ
=yes
17708 lt_prog_compiler_static_works_GCJ
=yes
17712 LDFLAGS
="$save_LDFLAGS"
17715 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17716 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17718 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17721 lt_prog_compiler_static_GCJ
=
17725 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17726 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17727 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 lt_cv_prog_compiler_c_o_GCJ
=no
17731 $rm -r conftest
2>/dev
/null
17735 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17737 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17738 # Insert the option either (1) after the last *FLAGS variable, or
17739 # (2) before a word containing "conftest.", or (3) at the end.
17740 # Note that $ac_compile itself does not contain backslashes and begins
17741 # with a dollar sign (not a hyphen), so the echo should work correctly.
17742 lt_compile
=`echo "$ac_compile" | $SED \
17743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17745 -e 's:$: $lt_compiler_flag:'`
17746 (eval echo "\"\$as_me:17746: $lt_compile\"" >&5)
17747 (eval "$lt_compile" 2>out
/conftest.err
)
17749 cat out
/conftest.err
>&5
17750 echo "$as_me:17750: \$? = $ac_status" >&5
17751 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17753 # The compiler can only warn and ignore the option if not recognized
17754 # So say no if there are warnings
17755 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17756 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17757 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17758 lt_cv_prog_compiler_c_o_GCJ
=yes
17763 # SGI C++ compiler will create directory out/ii_files/ for
17764 # template instantiation
17765 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17766 $rm out
/* && rmdir out
17772 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17773 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17776 hard_links
="nottested"
17777 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17778 # do not overwrite the value of need_locks provided by the user
17779 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17780 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17783 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17785 ln conftest.a conftest.b
2>&5 || hard_links
=no
17786 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17787 { echo "$as_me:$LINENO: result: $hard_links" >&5
17788 echo "${ECHO_T}$hard_links" >&6; }
17789 if test "$hard_links" = no
; then
17790 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17791 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17798 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17799 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17802 allow_undefined_flag_GCJ
=
17803 enable_shared_with_static_runtimes_GCJ
=no
17805 archive_expsym_cmds_GCJ
=
17806 old_archive_From_new_cmds_GCJ
=
17807 old_archive_from_expsyms_cmds_GCJ
=
17808 export_dynamic_flag_spec_GCJ
=
17809 whole_archive_flag_spec_GCJ
=
17810 thread_safe_flag_spec_GCJ
=
17811 hardcode_libdir_flag_spec_GCJ
=
17812 hardcode_libdir_flag_spec_ld_GCJ
=
17813 hardcode_libdir_separator_GCJ
=
17814 hardcode_direct_GCJ
=no
17815 hardcode_minus_L_GCJ
=no
17816 hardcode_shlibpath_var_GCJ
=unsupported
17817 link_all_deplibs_GCJ
=unknown
17818 hardcode_automatic_GCJ
=no
17820 module_expsym_cmds_GCJ
=
17821 always_export_symbols_GCJ
=no
17822 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17823 # include_expsyms should be a list of space-separated symbols to be *always*
17824 # included in the symbol list
17825 include_expsyms_GCJ
=
17826 # exclude_expsyms can be an extended regexp of symbols to exclude
17827 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17828 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17829 # as well as any symbol that contains `d'.
17830 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17831 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17832 # platforms (ab)use it in PIC code, but their linkers get confused if
17833 # the symbol is explicitly referenced. Since portable code cannot
17834 # rely on this symbol name, it's probably fine to never include it in
17835 # preloaded symbol tables.
17836 extract_expsyms_cmds
=
17837 # Just being paranoid about ensuring that cc_basename is set.
17838 for cc_temp
in $compiler""; do
17840 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17841 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17846 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17849 cygwin
* | mingw
* | pw32
*)
17850 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17851 # When not using gcc, we currently assume that we are using
17852 # Microsoft Visual C++.
17853 if test "$GCC" != yes; then
17858 # we just hope/assume this is gcc and not c89 (= MSVC++)
17867 if test "$with_gnu_ld" = yes; then
17868 # If archive_cmds runs LD, not CC, wlarc should be empty
17871 # Set some defaults for GNU ld with shared library support. These
17872 # are reset later if shared libraries are not supported. Putting them
17873 # here allows them to be overridden if necessary.
17874 runpath_var
=LD_RUN_PATH
17875 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17876 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17877 # ancient GNU ld didn't support --whole-archive et. al.
17878 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17879 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17881 whole_archive_flag_spec_GCJ
=
17883 supports_anon_versioning
=no
17884 case `$LD -v 2>/dev/null` in
17885 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17886 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17887 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17888 *\
2.11.
*) ;; # other 2.11 versions
17889 *) supports_anon_versioning
=yes ;;
17892 # See if GNU ld supports shared libraries.
17894 aix3
* | aix4
* | aix5
*)
17895 # On AIX/PPC, the GNU linker is very broken
17896 if test "$host_cpu" != ia64
; then
17900 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17901 *** to be unable to reliably create shared libraries on AIX.
17902 *** Therefore, libtool is disabling shared libraries support. If you
17903 *** really care for shared libraries, you may want to modify your PATH
17904 *** so that a non-GNU linker is found, and then restart.
17911 archive_cmds_GCJ
='$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)'
17912 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17913 hardcode_minus_L_GCJ
=yes
17915 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17916 # that the semantics of dynamic libraries on AmigaOS, at least up
17917 # to version 4, is to share data among multiple programs linked
17918 # with the same dynamic library. Since this doesn't match the
17919 # behavior of shared libraries on other platforms, we can't use
17925 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17926 allow_undefined_flag_GCJ
=unsupported
17927 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17928 # support --undefined. This deserves some investigation. FIXME
17929 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17935 cygwin
* | mingw
* | pw32
*)
17936 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17937 # as there is no search path for DLLs.
17938 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17939 allow_undefined_flag_GCJ
=unsupported
17940 always_export_symbols_GCJ
=no
17941 enable_shared_with_static_runtimes_GCJ
=yes
17942 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17944 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17945 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17946 # If the export-symbols file already is a .def file (1st line
17947 # is EXPORTS), use it as is; otherwise, prepend...
17948 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17949 cp $export_symbols $output_objdir/$soname.def;
17951 echo EXPORTS > $output_objdir/$soname.def;
17952 cat $export_symbols >> $output_objdir/$soname.def;
17954 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17961 hardcode_direct_GCJ
=no
17962 hardcode_shlibpath_var_GCJ
=no
17963 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17964 export_dynamic_flag_spec_GCJ
='${wl}-E'
17965 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17966 # Instead, shared libraries are loaded at an image base (0x10000000 by
17967 # default) and relocated if they conflict, which is a slow very memory
17968 # consuming and fragmenting process. To avoid this, we pick a random,
17969 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17970 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17971 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17972 archive_expsym_cmds_GCJ
='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'
17976 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17978 case $cc_basename,$host_cpu in
17979 pgcc
*) # Portland Group C compiler
17980 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17981 tmp_addflag
=' $pic_flag'
17983 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17984 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17985 tmp_addflag
=' $pic_flag -Mnomain' ;;
17986 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17987 tmp_addflag
=' -i_dynamic' ;;
17988 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17989 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17990 ifc
* | ifort
*) # Intel Fortran compiler
17991 tmp_addflag
=' -nofor_main' ;;
17993 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17995 if test $supports_anon_versioning = yes; then
17996 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17998 $echo "local: *; };" >> $output_objdir/$libname.ver~
17999 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18007 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18008 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18011 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18012 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18017 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
18021 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18022 *** create shared libraries on Solaris systems. Therefore, libtool
18023 *** is disabling shared libraries support. We urge you to upgrade GNU
18024 *** binutils to release 2.9.1 or newer. Another option is to modify
18025 *** your PATH or compiler configuration so that the native linker is
18026 *** used, and then restart.
18029 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18030 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18031 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18037 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18038 case `$LD -v 2>&1` in
18039 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18043 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18044 *** reliably create shared libraries on SCO systems. Therefore, libtool
18045 *** is disabling shared libraries support. We urge you to upgrade GNU
18046 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18047 *** your PATH or compiler configuration so that the native linker is
18048 *** used, and then restart.
18053 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18054 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18055 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18056 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18065 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18067 hardcode_direct_GCJ
=yes
18068 hardcode_shlibpath_var_GCJ
=no
18072 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
18073 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18074 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18081 if test "$ld_shlibs_GCJ" = no
; then
18083 hardcode_libdir_flag_spec_GCJ
=
18084 export_dynamic_flag_spec_GCJ
=
18085 whole_archive_flag_spec_GCJ
=
18088 # PORTME fill in a description of your system's linker (not GNU ld)
18091 allow_undefined_flag_GCJ
=unsupported
18092 always_export_symbols_GCJ
=yes
18093 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18094 # Note: this linker hardcodes the directories in LIBPATH if there
18095 # are no directories specified by -L.
18096 hardcode_minus_L_GCJ
=yes
18097 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18098 # Neither direct hardcoding nor static linking is supported with a
18100 hardcode_direct_GCJ
=unsupported
18105 if test "$host_cpu" = ia64
; then
18106 # On IA64, the linker does run time linking by default, so we don't
18107 # have to do anything special.
18108 aix_use_runtimelinking
=no
18109 exp_sym_flag
='-Bexport'
18112 # If we're using GNU nm, then we don't want the "-C" option.
18113 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18114 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
18115 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18117 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18119 aix_use_runtimelinking
=no
18121 # Test if we are trying to use run time linking or normal
18122 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18123 # need to do runtime linking.
18124 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
18125 for ld_flag
in $LDFLAGS; do
18126 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18127 aix_use_runtimelinking
=yes
18134 exp_sym_flag
='-bexport'
18135 no_entry_flag
='-bnoentry'
18138 # When large executables or shared objects are built, AIX ld can
18139 # have problems creating the table of contents. If linking a library
18140 # or program results in "error TOC overflow" add -mminimal-toc to
18141 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18142 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18144 archive_cmds_GCJ
=''
18145 hardcode_direct_GCJ
=yes
18146 hardcode_libdir_separator_GCJ
=':'
18147 link_all_deplibs_GCJ
=yes
18149 if test "$GCC" = yes; then
18150 case $host_os in aix4.
[012]|aix4.
[012].
*)
18151 # We only want to do this on AIX 4.2 and lower, the check
18152 # below for broken collect2 doesn't work under 4.3+
18153 collect2name
=`${CC} -print-prog-name=collect2`
18154 if test -f "$collect2name" && \
18155 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
18157 # We have reworked collect2
18158 hardcode_direct_GCJ
=yes
18160 # We have old collect2
18161 hardcode_direct_GCJ
=unsupported
18162 # It fails to find uninstalled libraries when the uninstalled
18163 # path is not listed in the libpath. Setting hardcode_minus_L
18164 # to unsupported forces relinking
18165 hardcode_minus_L_GCJ
=yes
18166 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18167 hardcode_libdir_separator_GCJ
=
18171 shared_flag
='-shared'
18172 if test "$aix_use_runtimelinking" = yes; then
18173 shared_flag
="$shared_flag "'${wl}-G'
18177 if test "$host_cpu" = ia64
; then
18178 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18179 # chokes on -Wl,-G. The following line is correct:
18182 if test "$aix_use_runtimelinking" = yes; then
18183 shared_flag
='${wl}-G'
18185 shared_flag
='${wl}-bM:SRE'
18190 # It seems that -bexpall does not export symbols beginning with
18191 # underscore (_), so it is better to generate a list of symbols to export.
18192 always_export_symbols_GCJ
=yes
18193 if test "$aix_use_runtimelinking" = yes; then
18194 # Warning - without using the other runtime loading flags (-brtl),
18195 # -berok will link without error, but may produce a broken library.
18196 allow_undefined_flag_GCJ
='-berok'
18197 # Determine the default libpath from the value encoded in an empty executable.
18198 cat >conftest.
$ac_ext <<_ACEOF
18201 cat confdefs.h
>>conftest.
$ac_ext
18202 cat >>conftest.
$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18213 rm -f conftest.
$ac_objext conftest
$ac_exeext
18214 if { (ac_try
="$ac_link"
18215 case "(($ac_try" in
18216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_link") 2>conftest.er1
18222 grep -v '^ *+' conftest.er1 >conftest.err
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest$ac_exeext &&
18230 $as_test_x conftest$ac_exeext; then
18232 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18234 # Check for a 64-bit object if we didn't find anything.
18235 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18245 conftest$ac_exeext conftest.$ac_ext
18246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18248 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18249 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18251 if test "$host_cpu" = ia64; then
18252 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18253 allow_undefined_flag_GCJ="-z nodefs"
18254 archive_expsym_cmds_GCJ="\$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"
18256 # Determine the default libpath from the value encoded in an empty executable.
18257 cat >conftest.$ac_ext <<_ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18272 rm -f conftest.$ac_objext conftest$ac_exeext
18273 if { (ac_try="$ac_link"
18274 case "(($ac_try" in
18275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18276 *) ac_try_echo
=$ac_try;;
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_link") 2>conftest.er1
18281 grep -v '^ *+' conftest.er1
>conftest.err
18283 cat conftest.err
>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } && {
18286 test -z "$ac_c_werror_flag" ||
18287 test ! -s conftest.err
18288 } && test -s conftest
$ac_exeext &&
18289 $as_test_x conftest
$ac_exeext; then
18291 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18293 # Check for a 64-bit object if we didn't find anything.
18294 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.
$ac_ext >&5
18303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18304 conftest
$ac_exeext conftest.
$ac_ext
18305 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18307 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18308 # Warning - without using the other run time loading flags,
18309 # -berok will link without error, but may produce a broken library.
18310 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18311 allow_undefined_flag_GCJ
=' ${wl}-berok'
18312 # Exported symbols can be pulled into shared objects from archives
18313 whole_archive_flag_spec_GCJ
='$convenience'
18314 archive_cmds_need_lc_GCJ
=yes
18315 # This is similar to how AIX traditionally builds its shared libraries.
18316 archive_expsym_cmds_GCJ
="\$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'
18322 archive_cmds_GCJ
='$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)'
18323 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18324 hardcode_minus_L_GCJ
=yes
18325 # see comment about different semantics on the GNU ld section
18330 export_dynamic_flag_spec_GCJ
=-rdynamic
18333 cygwin
* | mingw
* | pw32
*)
18334 # When not using gcc, we currently assume that we are using
18335 # Microsoft Visual C++.
18336 # hardcode_libdir_flag_spec is actually meaningless, as there is
18337 # no search path for DLLs.
18338 hardcode_libdir_flag_spec_GCJ
=' '
18339 allow_undefined_flag_GCJ
=unsupported
18340 # Tell ltmain to make .lib files, not .a files.
18342 # Tell ltmain to make .dll files, not .so files.
18344 # FIXME: Setting linknames here is a bad hack.
18345 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18346 # The linker will automatically build a .lib file if we build a DLL.
18347 old_archive_From_new_cmds_GCJ
='true'
18348 # FIXME: Should let the user specify the lib program.
18349 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
18350 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18351 enable_shared_with_static_runtimes_GCJ
=yes
18354 darwin
* | rhapsody
*)
18356 rhapsody
* | darwin1.
[012])
18357 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18360 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18361 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18363 case ${MACOSX_DEPLOYMENT_TARGET} in
18365 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18368 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18374 archive_cmds_need_lc_GCJ
=no
18375 hardcode_direct_GCJ
=no
18376 hardcode_automatic_GCJ
=yes
18377 hardcode_shlibpath_var_GCJ
=unsupported
18378 whole_archive_flag_spec_GCJ
=''
18379 link_all_deplibs_GCJ
=yes
18380 if test "$GCC" = yes ; then
18381 output_verbose_link_cmd
='echo'
18382 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18383 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18384 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18385 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18386 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18388 case $cc_basename in
18390 output_verbose_link_cmd
='echo'
18391 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18392 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18393 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18394 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18395 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18405 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18406 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18407 hardcode_shlibpath_var_GCJ
=no
18414 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18415 # support. Future versions do this automatically, but an explicit c++rt0.o
18416 # does not break anything, and helps significantly (at the cost of a little
18419 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18420 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18421 hardcode_direct_GCJ
=yes
18422 hardcode_shlibpath_var_GCJ
=no
18425 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18427 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18428 hardcode_direct_GCJ
=yes
18429 hardcode_minus_L_GCJ
=yes
18430 hardcode_shlibpath_var_GCJ
=no
18433 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18434 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
18435 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18436 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18437 hardcode_direct_GCJ
=yes
18438 hardcode_shlibpath_var_GCJ
=no
18442 if test "$GCC" = yes; then
18443 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18445 archive_cmds_GCJ
='$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'
18447 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18448 hardcode_libdir_separator_GCJ
=:
18449 hardcode_direct_GCJ
=yes
18451 # hardcode_minus_L: Not really in the search PATH,
18452 # but as the default location of the library.
18453 hardcode_minus_L_GCJ
=yes
18454 export_dynamic_flag_spec_GCJ
='${wl}-E'
18458 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18459 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18461 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18463 if test "$with_gnu_ld" = no
; then
18464 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18465 hardcode_libdir_separator_GCJ
=:
18467 hardcode_direct_GCJ
=yes
18468 export_dynamic_flag_spec_GCJ
='${wl}-E'
18470 # hardcode_minus_L: Not really in the search PATH,
18471 # but as the default location of the library.
18472 hardcode_minus_L_GCJ
=yes
18477 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18480 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18483 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18486 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18492 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18495 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18498 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18502 if test "$with_gnu_ld" = no
; then
18503 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18504 hardcode_libdir_separator_GCJ
=:
18508 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18509 hardcode_direct_GCJ
=no
18510 hardcode_shlibpath_var_GCJ
=no
18513 hardcode_direct_GCJ
=yes
18514 export_dynamic_flag_spec_GCJ
='${wl}-E'
18516 # hardcode_minus_L: Not really in the search PATH,
18517 # but as the default location of the library.
18518 hardcode_minus_L_GCJ
=yes
18524 irix5
* | irix6
* | nonstopux
*)
18525 if test "$GCC" = yes; then
18526 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18528 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18529 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18531 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18532 hardcode_libdir_separator_GCJ
=:
18533 link_all_deplibs_GCJ
=yes
18537 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18538 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18540 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18542 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18543 hardcode_direct_GCJ
=yes
18544 hardcode_shlibpath_var_GCJ
=no
18548 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18549 hardcode_direct_GCJ
=yes
18550 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18551 hardcode_libdir_separator_GCJ
=:
18552 hardcode_shlibpath_var_GCJ
=no
18556 hardcode_direct_GCJ
=yes
18557 hardcode_shlibpath_var_GCJ
=no
18558 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18559 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18560 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18561 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18562 export_dynamic_flag_spec_GCJ
='${wl}-E'
18565 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18566 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18567 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18570 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18571 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18578 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18579 hardcode_minus_L_GCJ
=yes
18580 allow_undefined_flag_GCJ
=unsupported
18581 archive_cmds_GCJ
='$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'
18582 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18586 if test "$GCC" = yes; then
18587 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18588 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18590 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18591 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18593 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18594 hardcode_libdir_separator_GCJ
=:
18597 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18598 if test "$GCC" = yes; then
18599 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18600 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18601 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18603 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18604 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18605 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18606 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18608 # Both c and cxx compiler support -rpath directly
18609 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18611 hardcode_libdir_separator_GCJ
=:
18615 no_undefined_flag_GCJ
=' -z text'
18616 if test "$GCC" = yes; then
18618 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18619 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18620 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18623 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18624 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18627 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18628 hardcode_shlibpath_var_GCJ
=no
18630 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18632 # The compiler driver will combine linker options so we
18633 # cannot just pass the convience library names through
18634 # without $wl, iff we do not link with $LD.
18635 # Luckily, gcc supports the same syntax we need for Sun Studio.
18636 # Supported since Solaris 2.6 (maybe 2.5.1?)
18639 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
18641 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
18644 link_all_deplibs_GCJ
=yes
18648 if test "x$host_vendor" = xsequent
; then
18649 # Use $CC to link under sequent, because it throws in some extra .o
18650 # files that make .init and .fini sections work.
18651 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18653 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18655 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18656 hardcode_direct_GCJ
=yes
18657 hardcode_minus_L_GCJ
=yes
18658 hardcode_shlibpath_var_GCJ
=no
18662 case $host_vendor in
18664 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18665 hardcode_direct_GCJ
=yes # is this really true???
18668 ## LD is ld it makes a PLAMLIB
18669 ## CC just makes a GrossModule.
18670 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18671 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18672 hardcode_direct_GCJ
=no
18675 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18676 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18679 runpath_var
='LD_RUN_PATH'
18680 hardcode_shlibpath_var_GCJ
=no
18684 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18685 hardcode_shlibpath_var_GCJ
=no
18686 export_dynamic_flag_spec_GCJ
='-Bexport'
18690 if test -d /usr
/nec
; then
18691 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18692 hardcode_shlibpath_var_GCJ
=no
18693 runpath_var
=LD_RUN_PATH
18694 hardcode_runpath_var
=yes
18699 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
18700 no_undefined_flag_GCJ
='${wl}-z,text'
18701 archive_cmds_need_lc_GCJ
=no
18702 hardcode_shlibpath_var_GCJ
=no
18703 runpath_var
='LD_RUN_PATH'
18705 if test "$GCC" = yes; then
18706 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18707 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18709 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18710 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18714 sysv5
* | sco3.2v5
* | sco5v6
*)
18715 # Note: We can NOT use -z defs as we might desire, because we do not
18716 # link with -lc, and that would cause any symbols used from libc to
18717 # always be unresolved, which means just about no library would
18718 # ever link correctly. If we're not using GNU ld we use -z text
18719 # though, which does catch some bad symbols but isn't as heavy-handed
18721 no_undefined_flag_GCJ
='${wl}-z,text'
18722 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18723 archive_cmds_need_lc_GCJ
=no
18724 hardcode_shlibpath_var_GCJ
=no
18725 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18726 hardcode_libdir_separator_GCJ
=':'
18727 link_all_deplibs_GCJ
=yes
18728 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18729 runpath_var
='LD_RUN_PATH'
18731 if test "$GCC" = yes; then
18732 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18733 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18735 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18736 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18741 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18742 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18743 hardcode_shlibpath_var_GCJ
=no
18752 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18753 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18754 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18757 # Do we need to explicitly link libc?
18759 case "x$archive_cmds_need_lc_GCJ" in
18761 # Assume -lc should be added
18762 archive_cmds_need_lc_GCJ
=yes
18764 if test "$enable_shared" = yes && test "$GCC" = yes; then
18765 case $archive_cmds_GCJ in
18767 # FIXME: we may have to deal with multi-command sequences.
18770 # Test whether the compiler implicitly links with -lc since on some
18771 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18772 # to ld, don't add -lc before -lgcc.
18773 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18774 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18776 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18779 (eval $ac_compile) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); } 2>conftest.err
; then
18785 libobjs
=conftest.
$ac_objext
18787 wl
=$lt_prog_compiler_wl_GCJ
18788 pic_flag
=$lt_prog_compiler_pic_GCJ
18794 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18795 allow_undefined_flag_GCJ
=
18796 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18797 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }
18802 archive_cmds_need_lc_GCJ
=no
18804 archive_cmds_need_lc_GCJ
=yes
18806 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18808 cat conftest.err
1>&5
18811 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18812 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18819 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18820 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18821 library_names_spec
=
18822 libname_spec
='lib$name'
18826 postuninstall_cmds
=
18830 shlibpath_overrides_runpath
=unknown
18832 dynamic_linker
="$host_os ld.so"
18833 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18834 if test "$GCC" = yes; then
18835 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18836 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18837 # if the path contains ";" then we assume it to be the separator
18838 # otherwise default to the standard path separator (i.e. ":") - it is
18839 # assumed that no part of a normal pathname contains ";" but that should
18840 # okay in the real world where ";" in dirpaths is itself problematic.
18841 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18843 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18846 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18848 need_lib_prefix
=unknown
18849 hardcode_into_libs
=no
18851 # when you set need_version to no, make sure it does not cause -set_version
18852 # flags to be left without arguments
18853 need_version
=unknown
18858 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18859 shlibpath_var
=LIBPATH
18861 # AIX 3 has no versioning support, so we append a major version to the name.
18862 soname_spec
='${libname}${release}${shared_ext}$major'
18869 hardcode_into_libs
=yes
18870 if test "$host_cpu" = ia64
; then
18871 # AIX 5 supports IA64
18872 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18873 shlibpath_var
=LD_LIBRARY_PATH
18875 # With GCC up to 2.95.x, collect2 would create an import file
18876 # for dependence libraries. The import file would start with
18877 # the line `#! .'. This would cause the generated library to
18878 # depend on `.', always an invalid library. This was fixed in
18879 # development snapshots of GCC prior to 3.0.
18881 aix4 | aix4.
[01] | aix4.
[01].
*)
18882 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18884 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18887 can_build_shared
=no
18891 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18892 # soname into executable. Probably we can add versioning support to
18893 # collect2, so additional links can be useful in future.
18894 if test "$aix_use_runtimelinking" = yes; then
18895 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18896 # instead of lib<name>.a to let people know that these are not
18897 # typical AIX shared libraries.
18898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18900 # We preserve .a as extension for shared libraries through AIX4.2
18901 # and later when we are not doing run time linking.
18902 library_names_spec
='${libname}${release}.a $libname.a'
18903 soname_spec
='${libname}${release}${shared_ext}$major'
18905 shlibpath_var
=LIBPATH
18910 library_names_spec
='$libname.ixlibrary $libname.a'
18911 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18912 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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'
18916 library_names_spec
='${libname}${shared_ext}'
18917 dynamic_linker
="$host_os ld.so"
18918 shlibpath_var
=LIBRARY_PATH
18924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18925 soname_spec
='${libname}${release}${shared_ext}$major'
18926 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18927 shlibpath_var
=LD_LIBRARY_PATH
18928 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18929 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18930 # the default ld.so.conf also contains /usr/contrib/lib and
18931 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18932 # libtool to hard-code these into programs
18935 cygwin
* | mingw
* | pw32
*)
18936 version_type
=windows
18941 case $GCC,$host_os in
18942 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18943 library_names_spec
='$libname.dll.a'
18944 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18945 postinstall_cmds
='base_file=`basename \${file}`~
18946 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18947 dldir=$destdir/`dirname \$dlpath`~
18948 test -d \$dldir || mkdir -p \$dldir~
18949 $install_prog $dir/$dlname \$dldir/$dlname~
18950 chmod a+x \$dldir/$dlname'
18951 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18952 dlpath=$dir/\$dldll~
18954 shlibpath_overrides_runpath
=yes
18958 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18959 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18960 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18963 # MinGW DLLs use traditional 'lib' prefix
18964 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18965 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18966 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18967 # It is most probably a Windows format PATH printed by
18968 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18969 # path with ; separators, and with drive letters. We can handle the
18970 # drive letters (cygwin fileutils understands them), so leave them,
18971 # especially as we might pass files found there to a mingw objdump,
18972 # which wouldn't understand a cygwinified path. Ahh.
18973 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18975 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18979 # pw32 DLLs use 'pw' prefix rather than 'lib'
18980 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18986 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18989 dynamic_linker
='Win32 ld.exe'
18990 # FIXME: first we should search . and the directory the executable is in
18994 darwin
* | rhapsody
*)
18995 dynamic_linker
="$host_os dyld"
18996 version_type
=darwin
18999 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19000 soname_spec
='${libname}${release}${major}$shared_ext'
19001 shlibpath_overrides_runpath
=yes
19002 shlibpath_var
=DYLD_LIBRARY_PATH
19003 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
19004 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19005 if test "$GCC" = yes; then
19006 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
19008 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
19010 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
19017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19018 soname_spec
='${libname}${release}${shared_ext}$major'
19019 shlibpath_var
=LD_LIBRARY_PATH
19030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19031 soname_spec
='${libname}${release}${shared_ext}$major'
19032 shlibpath_var
=LD_LIBRARY_PATH
19033 shlibpath_overrides_runpath
=no
19034 hardcode_into_libs
=yes
19035 dynamic_linker
='GNU ld.so'
19038 freebsd
* | dragonfly
*)
19039 # DragonFly does not have aout. When/if they implement a new
19040 # versioning mechanism, adjust this.
19041 if test -x /usr
/bin
/objformat
; then
19042 objformat
=`/usr/bin/objformat`
19045 freebsd
[123]*) objformat
=aout
;;
19046 *) objformat
=elf
;;
19049 version_type
=freebsd-
$objformat
19050 case $version_type in
19052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19057 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19061 shlibpath_var
=LD_LIBRARY_PATH
19064 shlibpath_overrides_runpath
=yes
19066 freebsd3.
[01]* | freebsdelf3.
[01]*)
19067 shlibpath_overrides_runpath
=yes
19068 hardcode_into_libs
=yes
19070 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
19071 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
19072 shlibpath_overrides_runpath
=no
19073 hardcode_into_libs
=yes
19075 freebsd
*) # from 4.6 on
19076 shlibpath_overrides_runpath
=yes
19077 hardcode_into_libs
=yes
19086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19087 soname_spec
='${libname}${release}${shared_ext}$major'
19088 shlibpath_var
=LD_LIBRARY_PATH
19089 hardcode_into_libs
=yes
19092 hpux9
* | hpux10
* | hpux11
*)
19093 # Give a soname corresponding to the major version so that dld.sl refuses to
19094 # link against other versions.
19101 hardcode_into_libs
=yes
19102 dynamic_linker
="$host_os dld.so"
19103 shlibpath_var
=LD_LIBRARY_PATH
19104 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19106 soname_spec
='${libname}${release}${shared_ext}$major'
19107 if test "X$HPUX_IA64_MODE" = X32
; then
19108 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19110 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
19112 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19116 hardcode_into_libs
=yes
19117 dynamic_linker
="$host_os dld.sl"
19118 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
19119 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
19120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19121 soname_spec
='${libname}${release}${shared_ext}$major'
19122 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19123 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
19127 dynamic_linker
="$host_os dld.sl"
19128 shlibpath_var
=SHLIB_PATH
19129 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
19130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19131 soname_spec
='${libname}${release}${shared_ext}$major'
19134 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19135 postinstall_cmds
='chmod 555 $lib'
19142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19143 soname_spec
='${libname}${release}${shared_ext}$major'
19144 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
19145 shlibpath_var
=LD_LIBRARY_PATH
19146 shlibpath_overrides_runpath
=no
19147 hardcode_into_libs
=yes
19150 irix5
* | irix6
* | nonstopux
*)
19152 nonstopux
*) version_type
=nonstopux
;;
19154 if test "$lt_cv_prog_gnu_ld" = yes; then
19162 soname_spec
='${libname}${release}${shared_ext}$major'
19163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19165 irix5
* | nonstopux
*)
19166 libsuff
= shlibsuff
=
19169 case $LD in # libtool.m4 will add one of these switches to LD
19170 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
19171 libsuff
= shlibsuff
= libmagic
=32-bit;;
19172 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
19173 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
19174 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
19175 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
19176 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
19180 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
19181 shlibpath_overrides_runpath
=no
19182 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19183 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
19184 hardcode_into_libs
=yes
19187 # No shared lib support for Linux oldld, aout, or coff.
19188 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
19192 # This must be Linux ELF.
19197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19198 soname_spec
='${libname}${release}${shared_ext}$major'
19199 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19200 shlibpath_var
=LD_LIBRARY_PATH
19201 shlibpath_overrides_runpath
=no
19202 # This implies no fast_install, which is unacceptable.
19203 # Some rework will be needed to allow for fast_install
19204 # before this can be enabled.
19205 hardcode_into_libs
=yes
19207 # Append ld.so.conf contents to the search path
19208 if test -f /etc
/ld.so.conf
; then
19209 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19210 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
19213 # We used to test for /lib/ld.so.1 and disable shared libraries on
19214 # powerpc, because MkLinux only supported shared libraries with the
19215 # GNU dynamic linker. Since this was broken with cross compilers,
19216 # most powerpc-linux boxes support dynamic linking these days and
19217 # people can always --disable-shared, the test was removed, and we
19218 # assume the GNU/Linux dynamic linker is in use.
19219 dynamic_linker
='GNU/Linux ld.so'
19226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19227 soname_spec
='${libname}${release}${shared_ext}$major'
19228 shlibpath_var
=LD_LIBRARY_PATH
19229 shlibpath_overrides_runpath
=no
19230 hardcode_into_libs
=yes
19231 dynamic_linker
='GNU ld.so'
19238 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
19239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19240 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19241 dynamic_linker
='NetBSD (a.out) ld.so'
19243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19244 soname_spec
='${libname}${release}${shared_ext}$major'
19245 dynamic_linker
='NetBSD ld.elf_so'
19247 shlibpath_var
=LD_LIBRARY_PATH
19248 shlibpath_overrides_runpath
=yes
19249 hardcode_into_libs
=yes
19254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19255 shlibpath_var
=LD_LIBRARY_PATH
19256 shlibpath_overrides_runpath
=yes
19263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19264 soname_spec
='${libname}${release}${shared_ext}$major'
19265 shlibpath_var
=LD_LIBRARY_PATH
19266 shlibpath_overrides_runpath
=yes
19271 sys_lib_dlsearch_path_spec
="/usr/lib"
19273 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19275 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19276 *) need_version
=no
;;
19278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19279 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19280 shlibpath_var
=LD_LIBRARY_PATH
19281 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19283 openbsd2.
[89] | openbsd2.
[89].
*)
19284 shlibpath_overrides_runpath
=no
19287 shlibpath_overrides_runpath
=yes
19291 shlibpath_overrides_runpath
=yes
19296 libname_spec
='$name'
19299 library_names_spec
='$libname${shared_ext} $libname.a'
19300 dynamic_linker
='OS/2 ld.exe'
19301 shlibpath_var
=LIBPATH
19304 osf3
* | osf4
* | osf5
*)
19308 soname_spec
='${libname}${release}${shared_ext}$major'
19309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19310 shlibpath_var
=LD_LIBRARY_PATH
19311 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19312 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19320 soname_spec
='${libname}${release}${shared_ext}$major'
19321 shlibpath_var
=LD_LIBRARY_PATH
19322 shlibpath_overrides_runpath
=yes
19323 hardcode_into_libs
=yes
19324 # ldd complains unless libraries are executable
19325 postinstall_cmds
='chmod +x $lib'
19330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19331 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19332 shlibpath_var
=LD_LIBRARY_PATH
19333 shlibpath_overrides_runpath
=yes
19334 if test "$with_gnu_ld" = yes; then
19342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19343 soname_spec
='${libname}${release}${shared_ext}$major'
19344 shlibpath_var
=LD_LIBRARY_PATH
19345 case $host_vendor in
19347 shlibpath_overrides_runpath
=no
19349 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19350 runpath_var
=LD_RUN_PATH
19358 shlibpath_overrides_runpath
=no
19359 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19365 if test -d /usr
/nec
;then
19367 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19368 soname_spec
='$libname${shared_ext}.$major'
19369 shlibpath_var
=LD_LIBRARY_PATH
19373 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19374 version_type
=freebsd-elf
19377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19378 soname_spec
='${libname}${release}${shared_ext}$major'
19379 shlibpath_var
=LD_LIBRARY_PATH
19380 hardcode_into_libs
=yes
19381 if test "$with_gnu_ld" = yes; then
19382 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19383 shlibpath_overrides_runpath
=no
19385 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19386 shlibpath_overrides_runpath
=yes
19389 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19393 sys_lib_dlsearch_path_spec
='/usr/lib'
19398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19399 soname_spec
='${libname}${release}${shared_ext}$major'
19400 shlibpath_var
=LD_LIBRARY_PATH
19407 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19408 echo "${ECHO_T}$dynamic_linker" >&6; }
19409 test "$dynamic_linker" = no
&& can_build_shared
=no
19411 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19412 if test "$GCC" = yes; then
19413 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19416 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19417 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19418 hardcode_action_GCJ
=
19419 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19420 test -n "$runpath_var_GCJ" || \
19421 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19423 # We can hardcode non-existant directories.
19424 if test "$hardcode_direct_GCJ" != no
&&
19425 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19426 # have to relink, otherwise we might link with an installed library
19427 # when we should be linking with a yet-to-be-installed one
19428 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19429 test "$hardcode_minus_L_GCJ" != no
; then
19430 # Linking always hardcodes the temporary library directory.
19431 hardcode_action_GCJ
=relink
19433 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19434 hardcode_action_GCJ
=immediate
19437 # We cannot hardcode anything, or else we can only hardcode existing
19439 hardcode_action_GCJ
=unsupported
19441 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19442 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19444 if test "$hardcode_action_GCJ" = relink
; then
19445 # Fast installation is not supported
19446 enable_fast_install
=no
19447 elif test "$shlibpath_overrides_runpath" = yes ||
19448 test "$enable_shared" = no
; then
19449 # Fast installation is not necessary
19450 enable_fast_install
=needless
19454 # The else clause should only fire when bootstrapping the
19455 # libtool distribution, otherwise you forgot to ship ltmain.sh
19456 # with your package, and you will get complaints that there are
19457 # no rules to generate ltmain.sh.
19458 if test -f "$ltmain"; then
19459 # See if we are running on zsh, and set the options which allow our commands through
19460 # without removal of \ escapes.
19461 if test -n "${ZSH_VERSION+set}" ; then
19462 setopt NO_GLOB_SUBST
19464 # Now quote all the things that may contain metacharacters while being
19465 # careful not to overquote the AC_SUBSTed values. We take copies of the
19466 # variables and quote the copies for generation of the libtool script.
19467 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19469 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19470 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19471 deplibs_check_method reload_flag reload_cmds need_locks \
19472 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19473 lt_cv_sys_global_symbol_to_c_name_address \
19474 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19475 old_postinstall_cmds old_postuninstall_cmds \
19479 lt_prog_compiler_wl_GCJ \
19480 lt_prog_compiler_pic_GCJ \
19481 lt_prog_compiler_static_GCJ \
19482 lt_prog_compiler_no_builtin_flag_GCJ \
19483 export_dynamic_flag_spec_GCJ \
19484 thread_safe_flag_spec_GCJ \
19485 whole_archive_flag_spec_GCJ \
19486 enable_shared_with_static_runtimes_GCJ \
19487 old_archive_cmds_GCJ \
19488 old_archive_from_new_cmds_GCJ \
19489 predep_objects_GCJ \
19490 postdep_objects_GCJ \
19493 compiler_lib_search_path_GCJ \
19495 archive_expsym_cmds_GCJ \
19496 postinstall_cmds_GCJ \
19497 postuninstall_cmds_GCJ \
19498 old_archive_from_expsyms_cmds_GCJ \
19499 allow_undefined_flag_GCJ \
19500 no_undefined_flag_GCJ \
19501 export_symbols_cmds_GCJ \
19502 hardcode_libdir_flag_spec_GCJ \
19503 hardcode_libdir_flag_spec_ld_GCJ \
19504 hardcode_libdir_separator_GCJ \
19505 hardcode_automatic_GCJ \
19507 module_expsym_cmds_GCJ \
19508 lt_cv_prog_compiler_c_o_GCJ \
19509 exclude_expsyms_GCJ \
19510 include_expsyms_GCJ
; do
19513 old_archive_cmds_GCJ | \
19514 old_archive_from_new_cmds_GCJ | \
19515 archive_cmds_GCJ | \
19516 archive_expsym_cmds_GCJ | \
19517 module_cmds_GCJ | \
19518 module_expsym_cmds_GCJ | \
19519 old_archive_from_expsyms_cmds_GCJ | \
19520 export_symbols_cmds_GCJ | \
19521 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19522 postinstall_cmds | postuninstall_cmds | \
19523 old_postinstall_cmds | old_postuninstall_cmds | \
19524 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19525 # Double-quote double-evaled strings.
19526 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19529 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19535 *'\$0 --fallback-echo"')
19536 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19542 cat <<__EOF__ >> "$cfgfile"
19543 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19545 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19547 # Shell to use when invoking shell scripts.
19550 # Whether or not to build shared libraries.
19551 build_libtool_libs=$enable_shared
19553 # Whether or not to build static libraries.
19554 build_old_libs=$enable_static
19556 # Whether or not to add -lc for building shared libraries.
19557 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19559 # Whether or not to disallow shared libs when runtime libs are static
19560 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19562 # Whether or not to optimize for fast installation.
19563 fast_install=$enable_fast_install
19566 host_alias=$host_alias
19570 # The build system.
19571 build_alias=$build_alias
19575 # An echo program that does not interpret backslashes.
19580 AR_FLAGS=$lt_AR_FLAGS
19585 # LTCC compiler flags.
19586 LTCFLAGS=$lt_LTCFLAGS
19588 # A language-specific compiler.
19589 CC=$lt_compiler_GCJ
19591 # Is the compiler the GNU C compiler?
19597 # The linker used to build libraries.
19600 # Whether we need hard or soft links.
19603 # A BSD-compatible nm program.
19606 # A symbol stripping program
19609 # Used to examine libraries when file_magic_cmd begins "file"
19610 MAGIC_CMD=$MAGIC_CMD
19612 # Used on cygwin: DLL creation program.
19615 # Used on cygwin: object dumper.
19618 # Used on cygwin: assembler.
19621 # The name of the directory that contains temporary libtool files.
19624 # How to create reloadable object files.
19625 reload_flag=$lt_reload_flag
19626 reload_cmds=$lt_reload_cmds
19628 # How to pass a linker flag through the compiler.
19629 wl=$lt_lt_prog_compiler_wl_GCJ
19631 # Object file suffix (normally "o").
19632 objext="$ac_objext"
19634 # Old archive suffix (normally "a").
19637 # Shared library suffix (normally ".so").
19638 shrext_cmds='$shrext_cmds'
19640 # Executable file suffix (normally "").
19643 # Additional compiler flags for building library objects.
19644 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19647 # What is the maximum length of a command?
19648 max_cmd_len=$lt_cv_sys_max_cmd_len
19650 # Does compiler simultaneously support -c and -o options?
19651 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19653 # Must we lock files when doing compilation?
19654 need_locks=$lt_need_locks
19656 # Do we need the lib prefix for modules?
19657 need_lib_prefix=$need_lib_prefix
19659 # Do we need a version for libraries?
19660 need_version=$need_version
19662 # Whether dlopen is supported.
19663 dlopen_support=$enable_dlopen
19665 # Whether dlopen of programs is supported.
19666 dlopen_self=$enable_dlopen_self
19668 # Whether dlopen of statically linked programs is supported.
19669 dlopen_self_static=$enable_dlopen_self_static
19671 # Compiler flag to prevent dynamic linking.
19672 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19674 # Compiler flag to turn off builtin functions.
19675 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19677 # Compiler flag to allow reflexive dlopens.
19678 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19680 # Compiler flag to generate shared objects directly from archives.
19681 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19683 # Compiler flag to generate thread-safe objects.
19684 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19686 # Library versioning type.
19687 version_type=$version_type
19689 # Format of library name prefix.
19690 libname_spec=$lt_libname_spec
19692 # List of archive names. First name is the real one, the rest are links.
19693 # The last name is the one that the linker finds with -lNAME.
19694 library_names_spec=$lt_library_names_spec
19696 # The coded name of the library, if different from the real name.
19697 soname_spec=$lt_soname_spec
19699 # Commands used to build and install an old-style archive.
19701 old_archive_cmds=$lt_old_archive_cmds_GCJ
19702 old_postinstall_cmds=$lt_old_postinstall_cmds
19703 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19705 # Create an old-style archive from a shared archive.
19706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19708 # Create a temporary old-style archive to link instead of a shared archive.
19709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19711 # Commands used to build and install a shared archive.
19712 archive_cmds=$lt_archive_cmds_GCJ
19713 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19714 postinstall_cmds=$lt_postinstall_cmds
19715 postuninstall_cmds=$lt_postuninstall_cmds
19717 # Commands used to build a loadable module (assumed same as above if empty)
19718 module_cmds=$lt_module_cmds_GCJ
19719 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19721 # Commands to strip libraries.
19722 old_striplib=$lt_old_striplib
19723 striplib=$lt_striplib
19725 # Dependencies to place before the objects being linked to create a
19727 predep_objects=$lt_predep_objects_GCJ
19729 # Dependencies to place after the objects being linked to create a
19731 postdep_objects=$lt_postdep_objects_GCJ
19733 # Dependencies to place before the objects being linked to create a
19735 predeps=$lt_predeps_GCJ
19737 # Dependencies to place after the objects being linked to create a
19739 postdeps=$lt_postdeps_GCJ
19741 # The library search path used internally by the compiler when linking
19742 # a shared library.
19743 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19745 # Method to check whether dependent libraries are shared objects.
19746 deplibs_check_method=$lt_deplibs_check_method
19748 # Command to use when deplibs_check_method == file_magic.
19749 file_magic_cmd=$lt_file_magic_cmd
19751 # Flag that allows shared libraries with undefined symbols to be built.
19752 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19754 # Flag that forces no undefined symbols.
19755 no_undefined_flag=$lt_no_undefined_flag_GCJ
19757 # Commands used to finish a libtool library installation in a directory.
19758 finish_cmds=$lt_finish_cmds
19760 # Same as above, but a single script fragment to be evaled but not shown.
19761 finish_eval=$lt_finish_eval
19763 # Take the output of nm and produce a listing of raw symbols and C names.
19764 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19766 # Transform the output of nm in a proper C declaration
19767 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19769 # Transform the output of nm in a C name address pair
19770 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19772 # This is the shared library runtime path variable.
19773 runpath_var=$runpath_var
19775 # This is the shared library path variable.
19776 shlibpath_var=$shlibpath_var
19778 # Is shlibpath searched before the hard-coded library search path?
19779 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19781 # How to hardcode a shared library path into an executable.
19782 hardcode_action=$hardcode_action_GCJ
19784 # Whether we should hardcode library paths into libraries.
19785 hardcode_into_libs=$hardcode_into_libs
19787 # Flag to hardcode \$libdir into a binary during linking.
19788 # This must work even if \$libdir does not exist.
19789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19791 # If ld is used when linking, flag to hardcode \$libdir into
19792 # a binary during linking. This must work even if \$libdir does
19794 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19796 # Whether we need a single -rpath flag with a separated argument.
19797 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19799 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19800 # resulting binary.
19801 hardcode_direct=$hardcode_direct_GCJ
19803 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19804 # resulting binary.
19805 hardcode_minus_L=$hardcode_minus_L_GCJ
19807 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19808 # the resulting binary.
19809 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19811 # Set to yes if building a shared library automatically hardcodes DIR into the library
19812 # and all subsequent libraries and executables linked against it.
19813 hardcode_automatic=$hardcode_automatic_GCJ
19815 # Variables whose values should be saved in libtool wrapper scripts and
19816 # restored at relink time.
19817 variables_saved_for_relink="$variables_saved_for_relink"
19819 # Whether libtool must link a program against all its dependency libraries.
19820 link_all_deplibs=$link_all_deplibs_GCJ
19822 # Compile-time system search path for libraries
19823 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19825 # Run-time system search path for libraries
19826 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19828 # Fix the shell variable \$srcfile for the compiler.
19829 fix_srcfile_path="$fix_srcfile_path_GCJ"
19831 # Set to yes if exported symbols are required.
19832 always_export_symbols=$always_export_symbols_GCJ
19834 # The commands to list exported symbols.
19835 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19837 # The commands to extract the exported symbol list from a shared archive.
19838 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19840 # Symbols that should not be listed in the preloaded symbols.
19841 exclude_expsyms=$lt_exclude_expsyms_GCJ
19843 # Symbols that must always be exported.
19844 include_expsyms=$lt_include_expsyms_GCJ
19846 # ### END LIBTOOL TAG CONFIG: $tagname
19852 # If there is no Makefile yet, we rely on a make rule to execute
19853 # `config.status --recheck' to rerun these tests and create the
19854 # libtool script then.
19855 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19856 if test -f "$ltmain_in"; then
19857 test -f Makefile
&& make "$ltmain"
19863 ac_cpp
='$CPP $CPPFLAGS'
19864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19878 # Source file extension for RC test sources.
19881 # Object file extension for compiled RC test sources.
19885 # Code to be used in simple compile tests
19886 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19888 # Code to be used in simple link tests
19889 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19891 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19893 # If no C compiler was specified, use CC.
19896 # If no C compiler flags were specified, use CFLAGS.
19897 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19899 # Allow CC to be a program name with arguments.
19903 # save warnings/boilerplate of simple test code
19904 ac_outfile
=conftest.
$ac_objext
19905 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19906 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19907 _lt_compiler_boilerplate
=`cat conftest.err`
19910 ac_outfile
=conftest.
$ac_objext
19911 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19912 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19913 _lt_linker_boilerplate
=`cat conftest.err`
19917 # Allow CC to be a program name with arguments.
19922 for cc_temp
in $compiler""; do
19924 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19925 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19930 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19932 lt_cv_prog_compiler_c_o_RC
=yes
19934 # The else clause should only fire when bootstrapping the
19935 # libtool distribution, otherwise you forgot to ship ltmain.sh
19936 # with your package, and you will get complaints that there are
19937 # no rules to generate ltmain.sh.
19938 if test -f "$ltmain"; then
19939 # See if we are running on zsh, and set the options which allow our commands through
19940 # without removal of \ escapes.
19941 if test -n "${ZSH_VERSION+set}" ; then
19942 setopt NO_GLOB_SUBST
19944 # Now quote all the things that may contain metacharacters while being
19945 # careful not to overquote the AC_SUBSTed values. We take copies of the
19946 # variables and quote the copies for generation of the libtool script.
19947 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19949 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19950 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19951 deplibs_check_method reload_flag reload_cmds need_locks \
19952 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19953 lt_cv_sys_global_symbol_to_c_name_address \
19954 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19955 old_postinstall_cmds old_postuninstall_cmds \
19959 lt_prog_compiler_wl_RC \
19960 lt_prog_compiler_pic_RC \
19961 lt_prog_compiler_static_RC \
19962 lt_prog_compiler_no_builtin_flag_RC \
19963 export_dynamic_flag_spec_RC \
19964 thread_safe_flag_spec_RC \
19965 whole_archive_flag_spec_RC \
19966 enable_shared_with_static_runtimes_RC \
19967 old_archive_cmds_RC \
19968 old_archive_from_new_cmds_RC \
19969 predep_objects_RC \
19970 postdep_objects_RC \
19973 compiler_lib_search_path_RC \
19975 archive_expsym_cmds_RC \
19976 postinstall_cmds_RC \
19977 postuninstall_cmds_RC \
19978 old_archive_from_expsyms_cmds_RC \
19979 allow_undefined_flag_RC \
19980 no_undefined_flag_RC \
19981 export_symbols_cmds_RC \
19982 hardcode_libdir_flag_spec_RC \
19983 hardcode_libdir_flag_spec_ld_RC \
19984 hardcode_libdir_separator_RC \
19985 hardcode_automatic_RC \
19987 module_expsym_cmds_RC \
19988 lt_cv_prog_compiler_c_o_RC \
19989 exclude_expsyms_RC \
19990 include_expsyms_RC
; do
19993 old_archive_cmds_RC | \
19994 old_archive_from_new_cmds_RC | \
19995 archive_cmds_RC | \
19996 archive_expsym_cmds_RC | \
19998 module_expsym_cmds_RC | \
19999 old_archive_from_expsyms_cmds_RC | \
20000 export_symbols_cmds_RC | \
20001 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20002 postinstall_cmds | postuninstall_cmds | \
20003 old_postinstall_cmds | old_postuninstall_cmds | \
20004 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20005 # Double-quote double-evaled strings.
20006 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20009 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20015 *'\$0 --fallback-echo"')
20016 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20022 cat <<__EOF__ >> "$cfgfile"
20023 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20025 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20027 # Shell to use when invoking shell scripts.
20030 # Whether or not to build shared libraries.
20031 build_libtool_libs=$enable_shared
20033 # Whether or not to build static libraries.
20034 build_old_libs=$enable_static
20036 # Whether or not to add -lc for building shared libraries.
20037 build_libtool_need_lc=$archive_cmds_need_lc_RC
20039 # Whether or not to disallow shared libs when runtime libs are static
20040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20042 # Whether or not to optimize for fast installation.
20043 fast_install=$enable_fast_install
20046 host_alias=$host_alias
20050 # The build system.
20051 build_alias=$build_alias
20055 # An echo program that does not interpret backslashes.
20060 AR_FLAGS=$lt_AR_FLAGS
20065 # LTCC compiler flags.
20066 LTCFLAGS=$lt_LTCFLAGS
20068 # A language-specific compiler.
20071 # Is the compiler the GNU C compiler?
20077 # The linker used to build libraries.
20080 # Whether we need hard or soft links.
20083 # A BSD-compatible nm program.
20086 # A symbol stripping program
20089 # Used to examine libraries when file_magic_cmd begins "file"
20090 MAGIC_CMD=$MAGIC_CMD
20092 # Used on cygwin: DLL creation program.
20095 # Used on cygwin: object dumper.
20098 # Used on cygwin: assembler.
20101 # The name of the directory that contains temporary libtool files.
20104 # How to create reloadable object files.
20105 reload_flag=$lt_reload_flag
20106 reload_cmds=$lt_reload_cmds
20108 # How to pass a linker flag through the compiler.
20109 wl=$lt_lt_prog_compiler_wl_RC
20111 # Object file suffix (normally "o").
20112 objext="$ac_objext"
20114 # Old archive suffix (normally "a").
20117 # Shared library suffix (normally ".so").
20118 shrext_cmds='$shrext_cmds'
20120 # Executable file suffix (normally "").
20123 # Additional compiler flags for building library objects.
20124 pic_flag=$lt_lt_prog_compiler_pic_RC
20127 # What is the maximum length of a command?
20128 max_cmd_len=$lt_cv_sys_max_cmd_len
20130 # Does compiler simultaneously support -c and -o options?
20131 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20133 # Must we lock files when doing compilation?
20134 need_locks=$lt_need_locks
20136 # Do we need the lib prefix for modules?
20137 need_lib_prefix=$need_lib_prefix
20139 # Do we need a version for libraries?
20140 need_version=$need_version
20142 # Whether dlopen is supported.
20143 dlopen_support=$enable_dlopen
20145 # Whether dlopen of programs is supported.
20146 dlopen_self=$enable_dlopen_self
20148 # Whether dlopen of statically linked programs is supported.
20149 dlopen_self_static=$enable_dlopen_self_static
20151 # Compiler flag to prevent dynamic linking.
20152 link_static_flag=$lt_lt_prog_compiler_static_RC
20154 # Compiler flag to turn off builtin functions.
20155 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20157 # Compiler flag to allow reflexive dlopens.
20158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20160 # Compiler flag to generate shared objects directly from archives.
20161 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20163 # Compiler flag to generate thread-safe objects.
20164 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20166 # Library versioning type.
20167 version_type=$version_type
20169 # Format of library name prefix.
20170 libname_spec=$lt_libname_spec
20172 # List of archive names. First name is the real one, the rest are links.
20173 # The last name is the one that the linker finds with -lNAME.
20174 library_names_spec=$lt_library_names_spec
20176 # The coded name of the library, if different from the real name.
20177 soname_spec=$lt_soname_spec
20179 # Commands used to build and install an old-style archive.
20181 old_archive_cmds=$lt_old_archive_cmds_RC
20182 old_postinstall_cmds=$lt_old_postinstall_cmds
20183 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20185 # Create an old-style archive from a shared archive.
20186 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20188 # Create a temporary old-style archive to link instead of a shared archive.
20189 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20191 # Commands used to build and install a shared archive.
20192 archive_cmds=$lt_archive_cmds_RC
20193 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20194 postinstall_cmds=$lt_postinstall_cmds
20195 postuninstall_cmds=$lt_postuninstall_cmds
20197 # Commands used to build a loadable module (assumed same as above if empty)
20198 module_cmds=$lt_module_cmds_RC
20199 module_expsym_cmds=$lt_module_expsym_cmds_RC
20201 # Commands to strip libraries.
20202 old_striplib=$lt_old_striplib
20203 striplib=$lt_striplib
20205 # Dependencies to place before the objects being linked to create a
20207 predep_objects=$lt_predep_objects_RC
20209 # Dependencies to place after the objects being linked to create a
20211 postdep_objects=$lt_postdep_objects_RC
20213 # Dependencies to place before the objects being linked to create a
20215 predeps=$lt_predeps_RC
20217 # Dependencies to place after the objects being linked to create a
20219 postdeps=$lt_postdeps_RC
20221 # The library search path used internally by the compiler when linking
20222 # a shared library.
20223 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20225 # Method to check whether dependent libraries are shared objects.
20226 deplibs_check_method=$lt_deplibs_check_method
20228 # Command to use when deplibs_check_method == file_magic.
20229 file_magic_cmd=$lt_file_magic_cmd
20231 # Flag that allows shared libraries with undefined symbols to be built.
20232 allow_undefined_flag=$lt_allow_undefined_flag_RC
20234 # Flag that forces no undefined symbols.
20235 no_undefined_flag=$lt_no_undefined_flag_RC
20237 # Commands used to finish a libtool library installation in a directory.
20238 finish_cmds=$lt_finish_cmds
20240 # Same as above, but a single script fragment to be evaled but not shown.
20241 finish_eval=$lt_finish_eval
20243 # Take the output of nm and produce a listing of raw symbols and C names.
20244 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20246 # Transform the output of nm in a proper C declaration
20247 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20249 # Transform the output of nm in a C name address pair
20250 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20252 # This is the shared library runtime path variable.
20253 runpath_var=$runpath_var
20255 # This is the shared library path variable.
20256 shlibpath_var=$shlibpath_var
20258 # Is shlibpath searched before the hard-coded library search path?
20259 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20261 # How to hardcode a shared library path into an executable.
20262 hardcode_action=$hardcode_action_RC
20264 # Whether we should hardcode library paths into libraries.
20265 hardcode_into_libs=$hardcode_into_libs
20267 # Flag to hardcode \$libdir into a binary during linking.
20268 # This must work even if \$libdir does not exist.
20269 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20271 # If ld is used when linking, flag to hardcode \$libdir into
20272 # a binary during linking. This must work even if \$libdir does
20274 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20276 # Whether we need a single -rpath flag with a separated argument.
20277 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20279 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20280 # resulting binary.
20281 hardcode_direct=$hardcode_direct_RC
20283 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20284 # resulting binary.
20285 hardcode_minus_L=$hardcode_minus_L_RC
20287 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20288 # the resulting binary.
20289 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20291 # Set to yes if building a shared library automatically hardcodes DIR into the library
20292 # and all subsequent libraries and executables linked against it.
20293 hardcode_automatic=$hardcode_automatic_RC
20295 # Variables whose values should be saved in libtool wrapper scripts and
20296 # restored at relink time.
20297 variables_saved_for_relink="$variables_saved_for_relink"
20299 # Whether libtool must link a program against all its dependency libraries.
20300 link_all_deplibs=$link_all_deplibs_RC
20302 # Compile-time system search path for libraries
20303 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20305 # Run-time system search path for libraries
20306 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20308 # Fix the shell variable \$srcfile for the compiler.
20309 fix_srcfile_path="$fix_srcfile_path_RC"
20311 # Set to yes if exported symbols are required.
20312 always_export_symbols=$always_export_symbols_RC
20314 # The commands to list exported symbols.
20315 export_symbols_cmds=$lt_export_symbols_cmds_RC
20317 # The commands to extract the exported symbol list from a shared archive.
20318 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20320 # Symbols that should not be listed in the preloaded symbols.
20321 exclude_expsyms=$lt_exclude_expsyms_RC
20323 # Symbols that must always be exported.
20324 include_expsyms=$lt_include_expsyms_RC
20326 # ### END LIBTOOL TAG CONFIG: $tagname
20332 # If there is no Makefile yet, we rely on a make rule to execute
20333 # `config.status --recheck' to rerun these tests and create the
20334 # libtool script then.
20335 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20336 if test -f "$ltmain_in"; then
20337 test -f Makefile
&& make "$ltmain"
20343 ac_cpp
='$CPP $CPPFLAGS'
20344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20353 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20354 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20355 { (exit 1); exit 1; }; }
20359 # Append the new tag name to the list of available tags.
20360 if test -n "$tagname" ; then
20361 available_tags
="$available_tags $tagname"
20367 # Now substitute the updated list of available tags.
20368 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20369 mv "${ofile}T" "$ofile"
20373 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20374 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20375 { (exit 1); exit 1; }; }
20381 # This can be used to rebuild libtool when needed
20382 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20384 # Always use our own libtool.
20385 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20387 # Prevent multiple expansion
20408 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20409 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20410 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20411 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 cat >conftest.
make <<\_ACEOF
20417 @
echo '@@@%%%=$(MAKE)=@@@%%%'
20419 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20420 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20421 *@@@
%%%=?
*=@@@
%%%*)
20422 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
20424 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
20426 rm -f conftest.
make
20428 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
20429 { echo "$as_me:$LINENO: result: yes" >&5
20430 echo "${ECHO_T}yes" >&6; }
20433 { echo "$as_me:$LINENO: result: no" >&5
20434 echo "${ECHO_T}no" >&6; }
20435 SET_MAKE
="MAKE=${MAKE-make}"
20440 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20441 if test -n "$ac_tool_prefix"; then
20442 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20443 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
20444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20446 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 case $PKG_CONFIG in
20451 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20455 for as_dir
in $PATH
20458 test -z "$as_dir" && as_dir
=.
20459 for ac_exec_ext
in '' $ac_executable_extensions; do
20460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20461 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20472 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20473 if test -n "$PKG_CONFIG"; then
20474 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20475 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20477 { echo "$as_me:$LINENO: result: no" >&5
20478 echo "${ECHO_T}no" >&6; }
20483 if test -z "$ac_cv_path_PKG_CONFIG"; then
20484 ac_pt_PKG_CONFIG
=$PKG_CONFIG
20485 # Extract the first word of "pkg-config", so it can be a program name with args.
20486 set dummy pkg-config
; ac_word
=$2
20487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20489 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20492 case $ac_pt_PKG_CONFIG in
20494 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20498 for as_dir
in $PATH
20501 test -z "$as_dir" && as_dir
=.
20502 for ac_exec_ext
in '' $ac_executable_extensions; do
20503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20504 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20515 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
20516 if test -n "$ac_pt_PKG_CONFIG"; then
20517 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20518 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20520 { echo "$as_me:$LINENO: result: no" >&5
20521 echo "${ECHO_T}no" >&6; }
20524 if test "x$ac_pt_PKG_CONFIG" = x
; then
20527 case $cross_compiling:$ac_tool_warned in
20529 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20530 whose name does not start with the host triplet. If you think this
20531 configuration is useful to you, please write to autoconf@gnu.org." >&5
20532 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20533 whose name does not start with the host triplet. If you think this
20534 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20535 ac_tool_warned
=yes ;;
20537 PKG_CONFIG
=$ac_pt_PKG_CONFIG
20540 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
20544 if test -n "$PKG_CONFIG"; then
20545 _pkg_min_version
=0.9.0
20546 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20547 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20548 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20549 { echo "$as_me:$LINENO: result: yes" >&5
20550 echo "${ECHO_T}yes" >&6; }
20552 { echo "$as_me:$LINENO: result: no" >&5
20553 echo "${ECHO_T}no" >&6; }
20558 for ac_prog
in flex
lex
20560 # Extract the first word of "$ac_prog", so it can be a program name with args.
20561 set dummy
$ac_prog; ac_word
=$2
20562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20564 if test "${ac_cv_prog_LEX+set}" = set; then
20565 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 if test -n "$LEX"; then
20568 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
20570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20571 for as_dir
in $PATH
20574 test -z "$as_dir" && as_dir
=.
20575 for ac_exec_ext
in '' $ac_executable_extensions; do
20576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20577 ac_cv_prog_LEX
="$ac_prog"
20578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20587 LEX
=$ac_cv_prog_LEX
20588 if test -n "$LEX"; then
20589 { echo "$as_me:$LINENO: result: $LEX" >&5
20590 echo "${ECHO_T}$LEX" >&6; }
20592 { echo "$as_me:$LINENO: result: no" >&5
20593 echo "${ECHO_T}no" >&6; }
20597 test -n "$LEX" && break
20599 test -n "$LEX" || LEX
=":"
20601 if test "x$LEX" != "x:"; then
20602 cat >conftest.l
<<_ACEOF
20608 e { yyless (input () != 0); }
20609 f { unput (yytext[0]); }
20610 . { BEGIN INITIAL; }
20612 #ifdef YYTEXT_POINTER
20613 extern char *yytext;
20618 return ! yylex () + ! yywrap ();
20621 { (ac_try
="$LEX conftest.l"
20622 case "(($ac_try" in
20623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20624 *) ac_try_echo=$ac_try;;
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$LEX conftest.l") 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }
20631 { echo "$as_me:$LINENO: checking lex output file root" >&5
20632 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
20633 if test "${ac_cv_prog_lex_root+set}" = set; then
20634 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 if test -f lex.yy.c; then
20638 ac_cv_prog_lex_root=lex.yy
20639 elif test -f lexyy.c; then
20640 ac_cv_prog_lex_root=lexyy
20642 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
20643 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
20644 { (exit 1); exit 1; }; }
20647 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
20648 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
20649 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
20651 if test -z "${LEXLIB+set}"; then
20652 { echo "$as_me:$LINENO: checking lex library" >&5
20653 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
20654 if test "${ac_cv_lib_lex+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 ac_cv_lib_lex='none needed'
20660 for ac_lib in '' -lfl -ll; do
20661 LIBS="$ac_lib $ac_save_LIBS"
20662 cat >conftest.$ac_ext <<_ACEOF
20663 `cat $LEX_OUTPUT_ROOT.c
`
20665 rm -f conftest.$ac_objext conftest$ac_exeext
20666 if { (ac_try="$ac_link"
20667 case "(($ac_try" in
20668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20669 *) ac_try_echo
=$ac_try;;
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_link") 2>conftest.er1
20674 grep -v '^ *+' conftest.er1
>conftest.err
20676 cat conftest.err
>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } && {
20679 test -z "$ac_c_werror_flag" ||
20680 test ! -s conftest.err
20681 } && test -s conftest
$ac_exeext &&
20682 $as_test_x conftest
$ac_exeext; then
20683 ac_cv_lib_lex
=$ac_lib
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.
$ac_ext >&5
20691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20692 conftest
$ac_exeext conftest.
$ac_ext
20693 test "$ac_cv_lib_lex" != 'none needed' && break
20698 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
20699 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
20700 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
20704 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
20705 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
20706 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
20707 echo $ECHO_N "(cached) $ECHO_C" >&6
20709 # POSIX says lex can declare yytext either as a pointer or an array; the
20710 # default is implementation-dependent. Figure out which it is, since
20711 # not all implementations provide the %pointer and %array declarations.
20712 ac_cv_prog_lex_yytext_pointer
=no
20714 LIBS
="$LEXLIB $ac_save_LIBS"
20715 cat >conftest.
$ac_ext <<_ACEOF
20716 #define YYTEXT_POINTER 1
20717 `cat $LEX_OUTPUT_ROOT.c`
20719 rm -f conftest.
$ac_objext conftest
$ac_exeext
20720 if { (ac_try
="$ac_link"
20721 case "(($ac_try" in
20722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20723 *) ac_try_echo=$ac_try;;
20725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20726 (eval "$ac_link") 2>conftest.er1
20728 grep -v '^ *+' conftest.er1 >conftest.err
20730 cat conftest.err >&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); } && {
20733 test -z "$ac_c_werror_flag" ||
20734 test ! -s conftest.err
20735 } && test -s conftest$ac_exeext &&
20736 $as_test_x conftest$ac_exeext; then
20737 ac_cv_prog_lex_yytext_pointer=yes
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20746 conftest$ac_exeext conftest.$ac_ext
20750 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
20751 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
20752 if test $ac_cv_prog_lex_yytext_pointer = yes; then
20754 cat >>confdefs.h <<\_ACEOF
20755 #define YYTEXT_POINTER 1
20759 rm -f conftest.l $LEX_OUTPUT_ROOT.c
20762 for ac_prog in 'bison -y' byacc
20764 # Extract the first word of "$ac_prog", so it can be a program name with args.
20765 set dummy $ac_prog; ac_word=$2
20766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20768 if test "${ac_cv_prog_YACC+set}" = set; then
20769 echo $ECHO_N "(cached) $ECHO_C" >&6
20771 if test -n "$YACC"; then
20772 ac_cv_prog_YACC="$YACC" # Let the user override the test.
20774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20775 for as_dir in $PATH
20778 test -z "$as_dir" && as_dir=.
20779 for ac_exec_ext in '' $ac_executable_extensions; do
20780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20781 ac_cv_prog_YACC="$ac_prog"
20782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20791 YACC=$ac_cv_prog_YACC
20792 if test -n "$YACC"; then
20793 { echo "$as_me:$LINENO: result: $YACC" >&5
20794 echo "${ECHO_T}$YACC" >&6; }
20796 { echo "$as_me:$LINENO: result: no" >&5
20797 echo "${ECHO_T}no" >&6; }
20801 test -n "$YACC" && break
20803 test -n "$YACC" || YACC="yacc"
20805 # Check whether --enable-largefile was given.
20806 if test "${enable_largefile+set}" = set; then
20807 enableval=$enable_largefile;
20810 if test "$enable_largefile" != no; then
20812 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
20813 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
20814 if test "${ac_cv_sys_largefile_CC+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 ac_cv_sys_largefile_CC=no
20818 if test "$GCC" != yes; then
20821 # IRIX 6.2 and later do not support large files by default,
20822 # so use the C compiler's -n32 option if that helps.
20823 cat >conftest.$ac_ext <<_ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 #include <sys/types.h>
20830 /* Check that off_t can represent 2**63 - 1 correctly.
20831 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20832 since some C++ compilers masquerading as C compilers
20833 incorrectly reject 9223372036854775807. */
20834 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20835 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20836 && LARGE_OFF_T % 2147483647 == 1)
20846 rm -f conftest.$ac_objext
20847 if { (ac_try="$ac_compile"
20848 case "(($ac_try" in
20849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20850 *) ac_try_echo
=$ac_try;;
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_compile") 2>conftest.er1
20855 grep -v '^ *+' conftest.er1
>conftest.err
20857 cat conftest.err
>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } && {
20860 test -z "$ac_c_werror_flag" ||
20861 test ! -s conftest.err
20862 } && test -s conftest.
$ac_objext; then
20865 echo "$as_me: failed program was:" >&5
20866 sed 's/^/| /' conftest.
$ac_ext >&5
20871 rm -f core conftest.err conftest.
$ac_objext
20873 rm -f conftest.
$ac_objext
20874 if { (ac_try
="$ac_compile"
20875 case "(($ac_try" in
20876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20877 *) ac_try_echo=$ac_try;;
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20882 grep -v '^ *+' conftest.er1 >conftest.err
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.$ac_objext; then
20890 ac_cv_sys_largefile_CC=' -n32'; break
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.$ac_ext >&5
20898 rm -f core conftest.err conftest.$ac_objext
20902 rm -f conftest.$ac_ext
20905 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
20906 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
20907 if test "$ac_cv_sys_largefile_CC" != no; then
20908 CC=$CC$ac_cv_sys_largefile_CC
20911 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20912 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
20913 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20914 echo $ECHO_N "(cached) $ECHO_C" >&6
20917 cat >conftest.$ac_ext <<_ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 #include <sys/types.h>
20924 /* Check that off_t can represent 2**63 - 1 correctly.
20925 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20926 since some C++ compilers masquerading as C compilers
20927 incorrectly reject 9223372036854775807. */
20928 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20929 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20930 && LARGE_OFF_T % 2147483647 == 1)
20940 rm -f conftest.$ac_objext
20941 if { (ac_try="$ac_compile"
20942 case "(($ac_try" in
20943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20944 *) ac_try_echo
=$ac_try;;
20946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20947 (eval "$ac_compile") 2>conftest.er1
20949 grep -v '^ *+' conftest.er1
>conftest.err
20951 cat conftest.err
>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); } && {
20954 test -z "$ac_c_werror_flag" ||
20955 test ! -s conftest.err
20956 } && test -s conftest.
$ac_objext; then
20957 ac_cv_sys_file_offset_bits
=no
; break
20959 echo "$as_me: failed program was:" >&5
20960 sed 's/^/| /' conftest.
$ac_ext >&5
20965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20966 cat >conftest.
$ac_ext <<_ACEOF
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 #define _FILE_OFFSET_BITS 64
20973 #include <sys/types.h>
20974 /* Check that off_t can represent 2**63 - 1 correctly.
20975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
20976 since some C++ compilers masquerading as C compilers
20977 incorrectly reject 9223372036854775807. */
20978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
20979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
20980 && LARGE_OFF_T % 2147483647 == 1)
20990 rm -f conftest.
$ac_objext
20991 if { (ac_try
="$ac_compile"
20992 case "(($ac_try" in
20993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_compile") 2>conftest.er1
20999 grep -v '^ *+' conftest.er1 >conftest.err
21001 cat conftest.err >&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } && {
21004 test -z "$ac_c_werror_flag" ||
21005 test ! -s conftest.err
21006 } && test -s conftest.$ac_objext; then
21007 ac_cv_sys_file_offset_bits=64; break
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016 ac_cv_sys_file_offset_bits=unknown
21020 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21021 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
21022 case $ac_cv_sys_file_offset_bits in #(
21025 cat >>confdefs.h <<_ACEOF
21026 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21031 if test $ac_cv_sys_file_offset_bits = unknown; then
21032 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21033 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
21034 if test "${ac_cv_sys_large_files+set}" = set; then
21035 echo $ECHO_N "(cached) $ECHO_C" >&6
21038 cat >conftest.$ac_ext <<_ACEOF
21041 cat confdefs.h >>conftest.$ac_ext
21042 cat >>conftest.$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 #include <sys/types.h>
21045 /* Check that off_t can represent 2**63 - 1 correctly.
21046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
21047 since some C++ compilers masquerading as C compilers
21048 incorrectly reject 9223372036854775807. */
21049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
21050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
21051 && LARGE_OFF_T % 2147483647 == 1)
21061 rm -f conftest.$ac_objext
21062 if { (ac_try="$ac_compile"
21063 case "(($ac_try" in
21064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21065 *) ac_try_echo
=$ac_try;;
21067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21068 (eval "$ac_compile") 2>conftest.er1
21070 grep -v '^ *+' conftest.er1
>conftest.err
21072 cat conftest.err
>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); } && {
21075 test -z "$ac_c_werror_flag" ||
21076 test ! -s conftest.err
21077 } && test -s conftest.
$ac_objext; then
21078 ac_cv_sys_large_files
=no
; break
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.
$ac_ext >&5
21086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21087 cat >conftest.
$ac_ext <<_ACEOF
21090 cat confdefs.h
>>conftest.
$ac_ext
21091 cat >>conftest.
$ac_ext <<_ACEOF
21092 /* end confdefs.h. */
21093 #define _LARGE_FILES 1
21094 #include <sys/types.h>
21095 /* Check that off_t can represent 2**63 - 1 correctly.
21096 We can't simply define LARGE_OFF_T to be 9223372036854775807,
21097 since some C++ compilers masquerading as C compilers
21098 incorrectly reject 9223372036854775807. */
21099 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
21100 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
21101 && LARGE_OFF_T % 2147483647 == 1)
21111 rm -f conftest.
$ac_objext
21112 if { (ac_try
="$ac_compile"
21113 case "(($ac_try" in
21114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21115 *) ac_try_echo=$ac_try;;
21117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21118 (eval "$ac_compile") 2>conftest.er1
21120 grep -v '^ *+' conftest.er1 >conftest.err
21122 cat conftest.err >&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } && {
21125 test -z "$ac_c_werror_flag" ||
21126 test ! -s conftest.err
21127 } && test -s conftest.$ac_objext; then
21128 ac_cv_sys_large_files=1; break
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 ac_cv_sys_large_files=unknown
21141 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21142 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
21143 case $ac_cv_sys_large_files in #(
21146 cat >>confdefs.h <<_ACEOF
21147 #define _LARGE_FILES $ac_cv_sys_large_files
21159 # Extract the first word of "$ac_prog", so it can be a program name with args.
21160 set dummy $ac_prog; ac_word=$2
21161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21163 if test "${ac_cv_path_RAWCPP+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21168 ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
21171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21172 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
21173 for as_dir in $as_dummy
21176 test -z "$as_dir" && as_dir=.
21177 for ac_exec_ext in '' $ac_executable_extensions; do
21178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21179 ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
21180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21190 RAWCPP=$ac_cv_path_RAWCPP
21191 if test -n "$RAWCPP"; then
21192 { echo "$as_me:$LINENO: result: $RAWCPP" >&5
21193 echo "${ECHO_T}$RAWCPP" >&6; }
21195 { echo "$as_me:$LINENO: result: no" >&5
21196 echo "${ECHO_T}no" >&6; }
21200 test -n "$RAWCPP" && break
21202 test -n "$RAWCPP" || RAWCPP="${CPP}"
21205 # Check for flag to avoid builtin definitions - assumes unix is predefined,
21206 # which is not the best choice for supporting other OS'es, but covers most
21207 # of the ones we need for now.
21208 { echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
21209 echo $ECHO_N "checking if $RAWCPP requires -undef... $ECHO_C" >&6; }
21210 cat >conftest.$ac_ext <<_ACEOF
21211 Does cpp redefine unix ?
21213 if test `${RAWCPP} < conftest.
$ac_ext |
grep -c 'unix'` -eq 1 ; then
21214 { echo "$as_me:$LINENO: result: no" >&5
21215 echo "${ECHO_T}no" >&6; }
21217 if test `${RAWCPP} -undef < conftest.
$ac_ext |
grep -c 'unix'` -eq 1 ; then
21219 { echo "$as_me:$LINENO: result: yes" >&5
21220 echo "${ECHO_T}yes" >&6; }
21222 { { echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&5
21223 echo "$as_me: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&2;}
21224 { (exit 1); exit 1; }; }
21227 rm -f conftest.$ac_ext
21229 { echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
21230 echo $ECHO_N "checking if $RAWCPP requires -traditional... $ECHO_C" >&6; }
21231 cat >conftest.$ac_ext <<_ACEOF
21232 Does cpp preserve "whitespace"?
21234 if test `${RAWCPP} < conftest.
$ac_ext |
grep -c 'preserve \"'` -eq 1 ; then
21235 { echo "$as_me:$LINENO: result: no" >&5
21236 echo "${ECHO_T}no" >&6; }
21238 if test `${RAWCPP} -traditional < conftest.
$ac_ext |
grep -c 'preserve \"'` -eq 1 ; then
21239 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
21240 { echo "$as_me:$LINENO: result: yes" >&5
21241 echo "${ECHO_T}yes" >&6; }
21243 { { echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&5
21244 echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&2;}
21245 { (exit 1); exit 1; }; }
21248 rm -f conftest.$ac_ext
21253 # Check whether --with-dtrace was given.
21254 if test "${with_dtrace+set}" = set; then
21255 withval=$with_dtrace; WDTRACE=$withval
21260 if test "x$WDTRACE" = "xyes" -o "x$WDTRACE" = "xauto" ; then
21261 # Extract the first word of "dtrace", so it can be a program name with args.
21262 set dummy dtrace; ac_word=$2
21263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21265 if test "${ac_cv_path_DTRACE+set}" = set; then
21266 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
21273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21274 as_dummy="$PATH:/usr/sbin"
21275 for as_dir in $as_dummy
21278 test -z "$as_dir" && as_dir=.
21279 for ac_exec_ext in '' $ac_executable_extensions; do
21280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21281 ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
21282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21289 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not_found"
21293 DTRACE=$ac_cv_path_DTRACE
21294 if test -n "$DTRACE"; then
21295 { echo "$as_me:$LINENO: result: $DTRACE" >&5
21296 echo "${ECHO_T}$DTRACE" >&6; }
21298 { echo "$as_me:$LINENO: result: no" >&5
21299 echo "${ECHO_T}no" >&6; }
21303 if test "x$DTRACE" = "xnot_found" ; then
21304 if test "x$WDTRACE" = "xyes" ; then
21305 { { echo "$as_me:$LINENO: error: dtrace requested but not found
21306 See \`config.log
' for more details." >&5
21307 echo "$as_me: error: dtrace requested but not found
21308 See \`config.log' for more details.
" >&2;}
21309 { (exit 1); exit 1; }; }
21314 if test "x
$WDTRACE" != "xno
" ; then
21316 cat >>confdefs.h <<\_ACEOF
21317 #define XSERVER_DTRACE 1
21321 if test "x
$WDTRACE" != "xno
"; then
21322 XSERVER_DTRACE_TRUE=
21323 XSERVER_DTRACE_FALSE='#'
21325 XSERVER_DTRACE_TRUE='#'
21326 XSERVER_DTRACE_FALSE=
21330 # DTrace support uses XErrorDB to get request names
21332 # Check whether --with-xerrordb was given.
21333 if test "${with_xerrordb+set}" = set; then
21334 withval=$with_xerrordb; XERRORDB_PATH="$withval"
21336 XERRORDB_PATH="${datadir}/X11
/XErrorDB
"
21342 test "x
$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
21343 test "x
$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
21344 eval ac_define_dir="\"$XERRORDB_PATH\""
21345 eval ac_define_dir="\"$ac_define_dir\""
21346 XERRORDB_PATH="$ac_define_dir"
21349 cat >>confdefs.h <<_ACEOF
21350 #define XERRORDB_PATH "$ac_define_dir"
21353 test "$prefix_NONE" && prefix=NONE
21354 test "$exec_prefix_NONE" && exec_prefix=NONE
21362 ac_header_dirent=no
21363 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
21364 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
21365 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
21366 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
21367 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21368 echo $ECHO_N "(cached
) $ECHO_C" >&6
21370 cat >conftest.$ac_ext <<_ACEOF
21373 cat confdefs.h >>conftest.$ac_ext
21374 cat >>conftest.$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 #include <sys/types.h>
21388 rm -f conftest.$ac_objext
21389 if { (ac_try="$ac_compile"
21390 case "(($ac_try" in
21391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21392 *) ac_try_echo=$ac_try;;
21394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21395 (eval "$ac_compile") 2>conftest.er1
21397 grep -v '^ *+' conftest.er1 >conftest.err
21399 cat conftest.err >&5
21400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21401 (exit $ac_status); } && {
21402 test -z "$ac_c_werror_flag" ||
21403 test ! -s conftest.err
21404 } && test -s conftest.$ac_objext; then
21405 eval "$as_ac_Header=yes"
21407 echo "$as_me: failed program was
:" >&5
21408 sed 's/^/| /' conftest.$ac_ext >&5
21410 eval "$as_ac_Header=no
"
21413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21415 ac_res=`eval echo '${'$as_ac_Header'}'`
21416 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21417 echo "${ECHO_T}$ac_res" >&6; }
21418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21419 cat >>confdefs.h <<_ACEOF
21420 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
21423 ac_header_dirent=$ac_hdr; break
21427 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21428 if test $ac_header_dirent = dirent.h; then
21429 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
21430 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
21431 if test "${ac_cv_search_opendir+set}" = set; then
21432 echo $ECHO_N "(cached
) $ECHO_C" >&6
21434 ac_func_search_save_LIBS=$LIBS
21435 cat >conftest.$ac_ext <<_ACEOF
21438 cat confdefs.h >>conftest.$ac_ext
21439 cat >>conftest.$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21442 /* Override any GCC internal prototype to avoid an error.
21443 Use char because int might match the return type of a GCC
21444 builtin and then its argument prototype would still apply. */
21457 for ac_lib in '' dir; do
21458 if test -z "$ac_lib"; then
21459 ac_res="none required
"
21462 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21464 rm -f conftest.$ac_objext conftest$ac_exeext
21465 if { (ac_try="$ac_link"
21466 case "(($ac_try" in
21467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_link") 2>conftest.er1
21473 grep -v '^ *+' conftest.er1 >conftest.err
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest$ac_exeext &&
21481 $as_test_x conftest$ac_exeext; then
21482 ac_cv_search_opendir=$ac_res
21484 echo "$as_me: failed program was
:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21492 if test "${ac_cv_search_opendir+set}" = set; then
21496 if test "${ac_cv_search_opendir+set}" = set; then
21499 ac_cv_search_opendir=no
21501 rm conftest.$ac_ext
21502 LIBS=$ac_func_search_save_LIBS
21504 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
21505 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21506 ac_res=$ac_cv_search_opendir
21507 if test "$ac_res" != no; then
21508 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21513 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
21514 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
21515 if test "${ac_cv_search_opendir+set}" = set; then
21516 echo $ECHO_N "(cached
) $ECHO_C" >&6
21518 ac_func_search_save_LIBS=$LIBS
21519 cat >conftest.$ac_ext <<_ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21526 /* Override any GCC internal prototype to avoid an error.
21527 Use char because int might match the return type of a GCC
21528 builtin and then its argument prototype would still apply. */
21541 for ac_lib in '' x; do
21542 if test -z "$ac_lib"; then
21543 ac_res="none required
"
21546 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21548 rm -f conftest.$ac_objext conftest$ac_exeext
21549 if { (ac_try="$ac_link"
21550 case "(($ac_try" in
21551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21552 *) ac_try_echo=$ac_try;;
21554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21555 (eval "$ac_link") 2>conftest.er1
21557 grep -v '^ *+' conftest.er1 >conftest.err
21559 cat conftest.err >&5
21560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21561 (exit $ac_status); } && {
21562 test -z "$ac_c_werror_flag" ||
21563 test ! -s conftest.err
21564 } && test -s conftest$ac_exeext &&
21565 $as_test_x conftest$ac_exeext; then
21566 ac_cv_search_opendir=$ac_res
21568 echo "$as_me: failed program was
:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21576 if test "${ac_cv_search_opendir+set}" = set; then
21580 if test "${ac_cv_search_opendir+set}" = set; then
21583 ac_cv_search_opendir=no
21585 rm conftest.$ac_ext
21586 LIBS=$ac_func_search_save_LIBS
21588 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
21589 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21590 ac_res=$ac_cv_search_opendir
21591 if test "$ac_res" != no; then
21592 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21598 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
21599 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
21600 if test "${ac_cv_header_stdc+set}" = set; then
21601 echo $ECHO_N "(cached
) $ECHO_C" >&6
21603 cat >conftest.$ac_ext <<_ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 #include <stdlib.h>
21610 #include <stdarg.h>
21611 #include <string.h>
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21628 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21631 grep -v '^ *+' conftest.er1 >conftest.err
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21639 ac_cv_header_stdc=yes
21641 echo "$as_me: failed program was
:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21644 ac_cv_header_stdc=no
21647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649 if test $ac_cv_header_stdc = yes; then
21650 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21651 cat >conftest.$ac_ext <<_ACEOF
21654 cat confdefs.h >>conftest.$ac_ext
21655 cat >>conftest.$ac_ext <<_ACEOF
21656 /* end confdefs.h. */
21657 #include <string.h>
21660 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21661 $EGREP "memchr
" >/dev/null 2>&1; then
21664 ac_cv_header_stdc=no
21670 if test $ac_cv_header_stdc = yes; then
21671 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21672 cat >conftest.$ac_ext <<_ACEOF
21675 cat confdefs.h >>conftest.$ac_ext
21676 cat >>conftest.$ac_ext <<_ACEOF
21677 /* end confdefs.h. */
21678 #include <stdlib.h>
21681 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21682 $EGREP "free
" >/dev/null 2>&1; then
21685 ac_cv_header_stdc=no
21691 if test $ac_cv_header_stdc = yes; then
21692 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21693 if test "$cross_compiling" = yes; then
21696 cat >conftest.$ac_ext <<_ACEOF
21699 cat confdefs.h >>conftest.$ac_ext
21700 cat >>conftest.$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21703 #include <stdlib.h>
21704 #if ((' ' & 0x0FF) == 0x020)
21705 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21706 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21708 # define ISLOWER(c) \
21709 (('a' <= (c) && (c) <= 'i') \
21710 || ('j' <= (c) && (c) <= 'r') \
21711 || ('s' <= (c) && (c) <= 'z'))
21712 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21720 for (i = 0; i < 256; i++)
21721 if (XOR (islower (i), ISLOWER (i))
21722 || toupper (i) != TOUPPER (i))
21727 rm -f conftest$ac_exeext
21728 if { (ac_try="$ac_link"
21729 case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_link") 2>&5
21736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21738 { (case "(($ac_try" in
21739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21740 *) ac_try_echo=$ac_try;;
21742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21743 (eval "$ac_try") 2>&5
21745 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21746 (exit $ac_status); }; }; then
21749 echo "$as_me: program exited with status
$ac_status" >&5
21750 echo "$as_me: failed program was
:" >&5
21751 sed 's/^/| /' conftest.$ac_ext >&5
21753 ( exit $ac_status )
21754 ac_cv_header_stdc=no
21756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21762 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21763 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21764 if test $ac_cv_header_stdc = yes; then
21766 cat >>confdefs.h <<\_ACEOF
21767 #define STDC_HEADERS 1
21776 for ac_header in fcntl.h stdlib.h string.h unistd.h
21778 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21779 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21780 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21781 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21782 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21783 echo $ECHO_N "(cached
) $ECHO_C" >&6
21785 ac_res=`eval echo '${'$as_ac_Header'}'`
21786 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21787 echo "${ECHO_T}$ac_res" >&6; }
21789 # Is the header compilable?
21790 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21791 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21792 cat >conftest.$ac_ext <<_ACEOF
21795 cat confdefs.h >>conftest.$ac_ext
21796 cat >>conftest.$ac_ext <<_ACEOF
21797 /* end confdefs.h. */
21798 $ac_includes_default
21799 #include <$ac_header>
21801 rm -f conftest.$ac_objext
21802 if { (ac_try="$ac_compile"
21803 case "(($ac_try" in
21804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21805 *) ac_try_echo=$ac_try;;
21807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21808 (eval "$ac_compile") 2>conftest.er1
21810 grep -v '^ *+' conftest.er1 >conftest.err
21812 cat conftest.err >&5
21813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21814 (exit $ac_status); } && {
21815 test -z "$ac_c_werror_flag" ||
21816 test ! -s conftest.err
21817 } && test -s conftest.$ac_objext; then
21818 ac_header_compiler=yes
21820 echo "$as_me: failed program was
:" >&5
21821 sed 's/^/| /' conftest.$ac_ext >&5
21823 ac_header_compiler=no
21826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21827 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21828 echo "${ECHO_T}$ac_header_compiler" >&6; }
21830 # Is the header present?
21831 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21832 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21833 cat >conftest.$ac_ext <<_ACEOF
21836 cat confdefs.h >>conftest.$ac_ext
21837 cat >>conftest.$ac_ext <<_ACEOF
21838 /* end confdefs.h. */
21839 #include <$ac_header>
21841 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21842 case "(($ac_try" in
21843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21844 *) ac_try_echo=$ac_try;;
21846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21847 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21849 grep -v '^ *+' conftest.er1 >conftest.err
21851 cat conftest.err >&5
21852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21853 (exit $ac_status); } >/dev/null && {
21854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21855 test ! -s conftest.err
21857 ac_header_preproc=yes
21859 echo "$as_me: failed program was
:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21862 ac_header_preproc=no
21865 rm -f conftest.err conftest.$ac_ext
21866 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21867 echo "${ECHO_T}$ac_header_preproc" >&6; }
21869 # So? What about this header?
21870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21872 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21873 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21874 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21875 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21876 ac_header_preproc=yes
21879 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21880 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21881 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21882 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21883 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21884 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21885 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21886 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21887 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21889 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21890 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21892 ## ---------------------------------------------------------------------- ##
21893 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
21894 ## ---------------------------------------------------------------------- ##
21896 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
21899 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21900 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21901 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21902 echo $ECHO_N "(cached
) $ECHO_C" >&6
21904 eval "$as_ac_Header=\
$ac_header_preproc"
21906 ac_res=`eval echo '${'$as_ac_Header'}'`
21907 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21908 echo "${ECHO_T}$ac_res" >&6; }
21911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21912 cat >>confdefs.h <<_ACEOF
21913 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21921 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
21922 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
21923 if test "${ac_cv_c_const+set}" = set; then
21924 echo $ECHO_N "(cached
) $ECHO_C" >&6
21926 cat >conftest.$ac_ext <<_ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21936 /* FIXME: Include the comments suggested by Paul. */
21937 #ifndef __cplusplus
21938 /* Ultrix mips cc rejects this. */
21939 typedef int charset[2];
21941 /* SunOS 4.1.1 cc rejects this. */
21942 char const *const *pcpcc;
21944 /* NEC SVR4.0.2 mips cc rejects this. */
21945 struct point {int x, y;};
21946 static struct point const zero = {0,0};
21947 /* AIX XL C 1.02.0.0 rejects this.
21948 It does not let you subtract one const X* pointer from another in
21949 an arm of an if-expression whose if-part is not a constant
21951 const char *g = "string
";
21952 pcpcc = &g + (g ? g-g : 0);
21953 /* HPUX 7.0 cc rejects these. */
21955 ppc = (char**) pcpcc;
21956 pcpcc = (char const *const *) ppc;
21957 { /* SCO 3.2v4 cc rejects this. */
21959 char const *s = 0 ? (char *) 0 : (char const *) 0;
21964 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21965 int x[] = {25, 17};
21966 const int *foo = &x[0];
21969 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21970 typedef const int *iptr;
21974 { /* AIX XL C 1.02.0.0 rejects this saying
21975 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21976 struct s { int j; const int *ap[3]; };
21977 struct s *b; b->j = 5;
21979 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21980 const int foo = 10;
21981 if (!foo) return 0;
21983 return !cs[0] && !zero.x;
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21999 grep -v '^ *+' conftest.er1 >conftest.err
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22003 (exit $ac_status); } && {
22004 test -z "$ac_c_werror_flag" ||
22005 test ! -s conftest.err
22006 } && test -s conftest.$ac_objext; then
22009 echo "$as_me: failed program was
:" >&5
22010 sed 's/^/| /' conftest.$ac_ext >&5
22015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
22018 echo "${ECHO_T}$ac_cv_c_const" >&6; }
22019 if test $ac_cv_c_const = no; then
22021 cat >>confdefs.h <<\_ACEOF
22027 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian
" >&5
22028 echo $ECHO_N "checking whether byte ordering is bigendian...
$ECHO_C" >&6; }
22029 if test "${ac_cv_c_bigendian+set}" = set; then
22030 echo $ECHO_N "(cached
) $ECHO_C" >&6
22032 # See if sys/param.h defines the BYTE_ORDER macro.
22033 cat >conftest.$ac_ext <<_ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 #include <sys/types.h>
22040 #include <sys/param.h>
22045 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
22046 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
22047 bogus endian macros
22054 rm -f conftest.$ac_objext
22055 if { (ac_try="$ac_compile"
22056 case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_compile") 2>conftest.er1
22063 grep -v '^ *+' conftest.er1 >conftest.err
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22067 (exit $ac_status); } && {
22068 test -z "$ac_c_werror_flag" ||
22069 test ! -s conftest.err
22070 } && test -s conftest.$ac_objext; then
22071 # It does; now see whether it defined to BIG_ENDIAN or not.
22072 cat >conftest.$ac_ext <<_ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 #include <sys/types.h>
22079 #include <sys/param.h>
22084 #if BYTE_ORDER != BIG_ENDIAN
22092 rm -f conftest.$ac_objext
22093 if { (ac_try="$ac_compile"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_compile") 2>conftest.er1
22101 grep -v '^ *+' conftest.er1 >conftest.err
22103 cat conftest.err >&5
22104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22105 (exit $ac_status); } && {
22106 test -z "$ac_c_werror_flag" ||
22107 test ! -s conftest.err
22108 } && test -s conftest.$ac_objext; then
22109 ac_cv_c_bigendian=yes
22111 echo "$as_me: failed program was
:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22114 ac_cv_c_bigendian=no
22117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22119 echo "$as_me: failed program was
:" >&5
22120 sed 's/^/| /' conftest.$ac_ext >&5
22122 # It does not; compile a test program.
22123 if test "$cross_compiling" = yes; then
22124 # try to guess the endianness by grepping values into an object file
22125 ac_cv_c_bigendian=unknown
22126 cat >conftest.$ac_ext <<_ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h. */
22132 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22133 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22134 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22135 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22136 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22137 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22141 _ascii (); _ebcdic ();
22146 rm -f conftest.$ac_objext
22147 if { (ac_try="$ac_compile"
22148 case "(($ac_try" in
22149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22150 *) ac_try_echo=$ac_try;;
22152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22153 (eval "$ac_compile") 2>conftest.er1
22155 grep -v '^ *+' conftest.er1 >conftest.err
22157 cat conftest.err >&5
22158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22159 (exit $ac_status); } && {
22160 test -z "$ac_c_werror_flag" ||
22161 test ! -s conftest.err
22162 } && test -s conftest.$ac_objext; then
22163 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22164 ac_cv_c_bigendian=yes
22166 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22167 if test "$ac_cv_c_bigendian" = unknown; then
22168 ac_cv_c_bigendian=no
22170 # finding both strings is unlikely to happen, but who knows?
22171 ac_cv_c_bigendian=unknown
22175 echo "$as_me: failed program was
:" >&5
22176 sed 's/^/| /' conftest.$ac_ext >&5
22181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 cat >conftest.$ac_ext <<_ACEOF
22186 cat confdefs.h >>conftest.$ac_ext
22187 cat >>conftest.$ac_ext <<_ACEOF
22188 /* end confdefs.h. */
22189 $ac_includes_default
22194 /* Are we little or big endian? From Harbison&Steele. */
22198 char c[sizeof (long int)];
22201 return u.c[sizeof (long int) - 1] == 1;
22207 rm -f conftest$ac_exeext
22208 if { (ac_try="$ac_link"
22209 case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_link") 2>&5
22216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22218 { (case "(($ac_try" in
22219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22220 *) ac_try_echo=$ac_try;;
22222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22223 (eval "$ac_try") 2>&5
22225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 ac_cv_c_bigendian=no
22229 echo "$as_me: program exited with status
$ac_status" >&5
22230 echo "$as_me: failed program was
:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22233 ( exit $ac_status )
22234 ac_cv_c_bigendian=yes
22236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22244 { echo "$as_me:$LINENO: result
: $ac_cv_c_bigendian" >&5
22245 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22246 case $ac_cv_c_bigendian in
22248 ENDIAN="X_BIG_ENDIAN
" ;;
22250 ENDIAN="X_LITTLE_ENDIAN
" ;;
22252 { { echo "$as_me:$LINENO: error
: unknown endianness
22253 presetting ac_cv_c_bigendian
=no
(or
yes) will
help" >&5
22254 echo "$as_me: error
: unknown endianness
22255 presetting ac_cv_c_bigendian
=no
(or
yes) will
help" >&2;}
22256 { (exit 1); exit 1; }; } ;;
22260 { echo "$as_me:$LINENO: checking
for unsigned long
" >&5
22261 echo $ECHO_N "checking
for unsigned long...
$ECHO_C" >&6; }
22262 if test "${ac_cv_type_unsigned_long+set}" = set; then
22263 echo $ECHO_N "(cached
) $ECHO_C" >&6
22265 cat >conftest.$ac_ext <<_ACEOF
22268 cat confdefs.h >>conftest.$ac_ext
22269 cat >>conftest.$ac_ext <<_ACEOF
22270 /* end confdefs.h. */
22271 $ac_includes_default
22272 typedef unsigned long ac__type_new_;
22276 if ((ac__type_new_ *) 0)
22278 if (sizeof (ac__type_new_))
22284 rm -f conftest.$ac_objext
22285 if { (ac_try="$ac_compile"
22286 case "(($ac_try" in
22287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22288 *) ac_try_echo=$ac_try;;
22290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22291 (eval "$ac_compile") 2>conftest.er1
22293 grep -v '^ *+' conftest.er1 >conftest.err
22295 cat conftest.err >&5
22296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22297 (exit $ac_status); } && {
22298 test -z "$ac_c_werror_flag" ||
22299 test ! -s conftest.err
22300 } && test -s conftest.$ac_objext; then
22301 ac_cv_type_unsigned_long=yes
22303 echo "$as_me: failed program was
:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22306 ac_cv_type_unsigned_long=no
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311 { echo "$as_me:$LINENO: result
: $ac_cv_type_unsigned_long" >&5
22312 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
22314 # The cast to long int works around a bug in the HP C Compiler
22315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22317 # This bug is HP SR number 8606223364.
22318 { echo "$as_me:$LINENO: checking size of unsigned long
" >&5
22319 echo $ECHO_N "checking size of unsigned long...
$ECHO_C" >&6; }
22320 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
22321 echo $ECHO_N "(cached
) $ECHO_C" >&6
22323 if test "$cross_compiling" = yes; then
22324 # Depending upon the size, compute the lo and hi bounds.
22325 cat >conftest.$ac_ext <<_ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22331 $ac_includes_default
22332 typedef unsigned long ac__type_sizeof_;
22336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22343 rm -f conftest.$ac_objext
22344 if { (ac_try="$ac_compile"
22345 case "(($ac_try" in
22346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22347 *) ac_try_echo=$ac_try;;
22349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22350 (eval "$ac_compile") 2>conftest.er1
22352 grep -v '^ *+' conftest.er1 >conftest.err
22354 cat conftest.err >&5
22355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22356 (exit $ac_status); } && {
22357 test -z "$ac_c_werror_flag" ||
22358 test ! -s conftest.err
22359 } && test -s conftest.$ac_objext; then
22362 cat >conftest.$ac_ext <<_ACEOF
22365 cat confdefs.h >>conftest.$ac_ext
22366 cat >>conftest.$ac_ext <<_ACEOF
22367 /* end confdefs.h. */
22368 $ac_includes_default
22369 typedef unsigned long ac__type_sizeof_;
22373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22380 rm -f conftest.$ac_objext
22381 if { (ac_try="$ac_compile"
22382 case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_compile") 2>conftest.er1
22389 grep -v '^ *+' conftest.er1 >conftest.err
22391 cat conftest.err >&5
22392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22393 (exit $ac_status); } && {
22394 test -z "$ac_c_werror_flag" ||
22395 test ! -s conftest.err
22396 } && test -s conftest.$ac_objext; then
22397 ac_hi=$ac_mid; break
22399 echo "$as_me: failed program was
:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22402 ac_lo=`expr $ac_mid + 1`
22403 if test $ac_lo -le $ac_mid; then
22407 ac_mid=`expr 2 '*' $ac_mid + 1`
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22413 echo "$as_me: failed program was
:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22416 cat >conftest.$ac_ext <<_ACEOF
22419 cat confdefs.h >>conftest.$ac_ext
22420 cat >>conftest.$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 $ac_includes_default
22423 typedef unsigned long ac__type_sizeof_;
22427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22434 rm -f conftest.$ac_objext
22435 if { (ac_try="$ac_compile"
22436 case "(($ac_try" in
22437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22438 *) ac_try_echo=$ac_try;;
22440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22441 (eval "$ac_compile") 2>conftest.er1
22443 grep -v '^ *+' conftest.er1 >conftest.err
22445 cat conftest.err >&5
22446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22447 (exit $ac_status); } && {
22448 test -z "$ac_c_werror_flag" ||
22449 test ! -s conftest.err
22450 } && test -s conftest.$ac_objext; then
22453 cat >conftest.$ac_ext <<_ACEOF
22456 cat confdefs.h >>conftest.$ac_ext
22457 cat >>conftest.$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22459 $ac_includes_default
22460 typedef unsigned long ac__type_sizeof_;
22464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22471 rm -f conftest.$ac_objext
22472 if { (ac_try="$ac_compile"
22473 case "(($ac_try" in
22474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22475 *) ac_try_echo=$ac_try;;
22477 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22478 (eval "$ac_compile") 2>conftest.er1
22480 grep -v '^ *+' conftest.er1 >conftest.err
22482 cat conftest.err >&5
22483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22484 (exit $ac_status); } && {
22485 test -z "$ac_c_werror_flag" ||
22486 test ! -s conftest.err
22487 } && test -s conftest.$ac_objext; then
22488 ac_lo=$ac_mid; break
22490 echo "$as_me: failed program was
:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22493 ac_hi=`expr '(' $ac_mid ')' - 1`
22494 if test $ac_mid -le $ac_hi; then
22498 ac_mid=`expr 2 '*' $ac_mid`
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22504 echo "$as_me: failed program was
:" >&5
22505 sed 's/^/| /' conftest.$ac_ext >&5
22510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514 # Binary search between lo and hi bounds.
22515 while test "x
$ac_lo" != "x
$ac_hi"; do
22516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22517 cat >conftest.$ac_ext <<_ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 $ac_includes_default
22524 typedef unsigned long ac__type_sizeof_;
22528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22535 rm -f conftest.$ac_objext
22536 if { (ac_try="$ac_compile"
22537 case "(($ac_try" in
22538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22541 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_compile") 2>conftest.er1
22544 grep -v '^ *+' conftest.er1 >conftest.err
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22548 (exit $ac_status); } && {
22549 test -z "$ac_c_werror_flag" ||
22550 test ! -s conftest.err
22551 } && test -s conftest.$ac_objext; then
22554 echo "$as_me: failed program was
:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22557 ac_lo=`expr '(' $ac_mid ')' + 1`
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22563 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
22564 '') if test "$ac_cv_type_unsigned_long" = yes; then
22565 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long
)
22566 See \
`config.log' for more details." >&5
22567 echo "$as_me: error: cannot compute sizeof (unsigned long)
22568 See \`config.log
' for more details." >&2;}
22569 { (exit 77); exit 77; }; }
22571 ac_cv_sizeof_unsigned_long=0
22575 cat >conftest.$ac_ext <<_ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 $ac_includes_default
22582 typedef unsigned long ac__type_sizeof_;
22583 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22584 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22586 #include <stdlib.h>
22591 FILE *f = fopen ("conftest.val", "w");
22594 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22596 long int i = longval ();
22597 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22599 fprintf (f, "%ld\n", i);
22603 unsigned long int i = ulongval ();
22604 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22606 fprintf (f, "%lu\n", i);
22608 return ferror (f) || fclose (f) != 0;
22614 rm -f conftest$ac_exeext
22615 if { (ac_try="$ac_link"
22616 case "(($ac_try" in
22617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618 *) ac_try_echo=$ac_try;;
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621 (eval "$ac_link") 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22625 { (case "(($ac_try" in
22626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22627 *) ac_try_echo=$ac_try;;
22629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22630 (eval "$ac_try") 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 ac_cv_sizeof_unsigned_long=`cat conftest.val`
22636 echo "$as_me: program exited with status $ac_status" >&5
22637 echo "$as_me: failed program was:" >&5
22638 sed 's
/^
/|
/' conftest.$ac_ext >&5
22640 ( exit $ac_status )
22641 if test "$ac_cv_type_unsigned_long" = yes; then
22642 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
22643 See \`config.log' for more details.
" >&5
22644 echo "$as_me: error
: cannot compute sizeof
(unsigned long
)
22645 See \
`config.log' for more details." >&2;}
22646 { (exit 77); exit 77; }; }
22648 ac_cv_sizeof_unsigned_long=0
22651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22655 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
22656 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
22660 cat >>confdefs.h <<_ACEOF
22661 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
22665 if test "$ac_cv_sizeof_unsigned_long" = 8; then
22667 cat >>confdefs.h <<\_ACEOF
22668 #define _XSERVER64 1
22673 { echo "$as_me:$LINENO: checking for pid_t" >&5
22674 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
22675 if test "${ac_cv_type_pid_t+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 cat >conftest.$ac_ext <<_ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684 $ac_includes_default
22685 typedef pid_t ac__type_new_;
22689 if ((ac__type_new_ *) 0)
22691 if (sizeof (ac__type_new_))
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22701 *) ac_try_echo
=$ac_try;;
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22706 grep -v '^ *+' conftest.er1
>conftest.err
22708 cat conftest.err
>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.
$ac_objext; then
22714 ac_cv_type_pid_t
=yes
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.
$ac_ext >&5
22719 ac_cv_type_pid_t
=no
22722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22724 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22725 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
22726 if test $ac_cv_type_pid_t = yes; then
22730 cat >>confdefs.h
<<_ACEOF
22737 # Checks for headers/macros for byte swapping
22739 # <byteswap.h> bswap_16, bswap_32, bswap_64 (glibc)
22740 # <sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
22741 # <sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
22742 # and a fallback to local macros if none of the above are found
22744 # if <byteswap.h> is found, assume it's the correct version
22746 for ac_header
in byteswap.h
22748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22749 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22750 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22752 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22753 echo $ECHO_N "(cached) $ECHO_C" >&6
22755 ac_res
=`eval echo '${'$as_ac_Header'}'`
22756 { echo "$as_me:$LINENO: result: $ac_res" >&5
22757 echo "${ECHO_T}$ac_res" >&6; }
22759 # Is the header compilable?
22760 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22762 cat >conftest.
$ac_ext <<_ACEOF
22765 cat confdefs.h
>>conftest.
$ac_ext
22766 cat >>conftest.
$ac_ext <<_ACEOF
22767 /* end confdefs.h. */
22768 $ac_includes_default
22769 #include <$ac_header>
22771 rm -f conftest.
$ac_objext
22772 if { (ac_try
="$ac_compile"
22773 case "(($ac_try" in
22774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22775 *) ac_try_echo=$ac_try;;
22777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22778 (eval "$ac_compile") 2>conftest.er1
22780 grep -v '^ *+' conftest.er1 >conftest.err
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } && {
22785 test -z "$ac_c_werror_flag" ||
22786 test ! -s conftest.err
22787 } && test -s conftest.$ac_objext; then
22788 ac_header_compiler=yes
22790 echo "$as_me: failed program was:" >&5
22791 sed 's/^/| /' conftest.$ac_ext >&5
22793 ac_header_compiler=no
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22798 echo "${ECHO_T}$ac_header_compiler" >&6; }
22800 # Is the header present?
22801 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22803 cat >conftest.$ac_ext <<_ACEOF
22806 cat confdefs.h >>conftest.$ac_ext
22807 cat >>conftest.$ac_ext <<_ACEOF
22808 /* end confdefs.h. */
22809 #include <$ac_header>
22811 if { (ac_try="$ac_cpp conftest.$ac_ext"
22812 case "(($ac_try" in
22813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22814 *) ac_try_echo
=$ac_try;;
22816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22819 grep -v '^ *+' conftest.er1
>conftest.err
22821 cat conftest.err
>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } >/dev
/null
&& {
22824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22825 test ! -s conftest.err
22827 ac_header_preproc
=yes
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22832 ac_header_preproc
=no
22835 rm -f conftest.err conftest.
$ac_ext
22836 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22837 echo "${ECHO_T}$ac_header_preproc" >&6; }
22839 # So? What about this header?
22840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22846 ac_header_preproc
=yes
22849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22862 ## ---------------------------------------------------------------------- ##
22863 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
22864 ## ---------------------------------------------------------------------- ##
22866 ) |
sed "s/^/$as_me: WARNING: /" >&2
22869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22871 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 eval "$as_ac_Header=\$ac_header_preproc"
22876 ac_res
=`eval echo '${'$as_ac_Header'}'`
22877 { echo "$as_me:$LINENO: result: $ac_res" >&5
22878 echo "${ECHO_T}$ac_res" >&6; }
22881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22882 cat >>confdefs.h
<<_ACEOF
22883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22891 # if <sys/endian.h> is found, have to check which version
22892 if test "${ac_cv_header_sys_endian_h+set}" = set; then
22893 { echo "$as_me:$LINENO: checking for sys/endian.h" >&5
22894 echo $ECHO_N "checking for sys/endian.h... $ECHO_C" >&6; }
22895 if test "${ac_cv_header_sys_endian_h+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6
22898 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
22899 echo "${ECHO_T}$ac_cv_header_sys_endian_h" >&6; }
22901 # Is the header compilable?
22902 { echo "$as_me:$LINENO: checking sys/endian.h usability" >&5
22903 echo $ECHO_N "checking sys/endian.h usability... $ECHO_C" >&6; }
22904 cat >conftest.
$ac_ext <<_ACEOF
22907 cat confdefs.h
>>conftest.
$ac_ext
22908 cat >>conftest.
$ac_ext <<_ACEOF
22909 /* end confdefs.h. */
22910 $ac_includes_default
22911 #include <sys/endian.h>
22913 rm -f conftest.
$ac_objext
22914 if { (ac_try
="$ac_compile"
22915 case "(($ac_try" in
22916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_compile") 2>conftest.er1
22922 grep -v '^ *+' conftest.er1 >conftest.err
22924 cat conftest.err >&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } && {
22927 test -z "$ac_c_werror_flag" ||
22928 test ! -s conftest.err
22929 } && test -s conftest.$ac_objext; then
22930 ac_header_compiler=yes
22932 echo "$as_me: failed program was:" >&5
22933 sed 's/^/| /' conftest.$ac_ext >&5
22935 ac_header_compiler=no
22938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22939 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22940 echo "${ECHO_T}$ac_header_compiler" >&6; }
22942 # Is the header present?
22943 { echo "$as_me:$LINENO: checking sys/endian.h presence" >&5
22944 echo $ECHO_N "checking sys/endian.h presence... $ECHO_C" >&6; }
22945 cat >conftest.$ac_ext <<_ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #include <sys/endian.h>
22953 if { (ac_try="$ac_cpp conftest.$ac_ext"
22954 case "(($ac_try" in
22955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22956 *) ac_try_echo
=$ac_try;;
22958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22961 grep -v '^ *+' conftest.er1
>conftest.err
22963 cat conftest.err
>&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); } >/dev
/null
&& {
22966 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22967 test ! -s conftest.err
22969 ac_header_preproc
=yes
22971 echo "$as_me: failed program was:" >&5
22972 sed 's/^/| /' conftest.
$ac_ext >&5
22974 ac_header_preproc
=no
22977 rm -f conftest.err conftest.
$ac_ext
22978 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22979 echo "${ECHO_T}$ac_header_preproc" >&6; }
22981 # So? What about this header?
22982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22984 { echo "$as_me:$LINENO: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
22985 echo "$as_me: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22986 { echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the compiler's result" >&5
22987 echo "$as_me: WARNING: sys/endian.h: proceeding with the compiler's result" >&2;}
22988 ac_header_preproc
=yes
22991 { echo "$as_me:$LINENO: WARNING: sys/endian.h: present but cannot be compiled" >&5
22992 echo "$as_me: WARNING: sys/endian.h: present but cannot be compiled" >&2;}
22993 { echo "$as_me:$LINENO: WARNING: sys/endian.h: check for missing prerequisite headers?" >&5
22994 echo "$as_me: WARNING: sys/endian.h: check for missing prerequisite headers?" >&2;}
22995 { echo "$as_me:$LINENO: WARNING: sys/endian.h: see the Autoconf documentation" >&5
22996 echo "$as_me: WARNING: sys/endian.h: see the Autoconf documentation" >&2;}
22997 { echo "$as_me:$LINENO: WARNING: sys/endian.h: section \"Present But Cannot Be Compiled\"" >&5
22998 echo "$as_me: WARNING: sys/endian.h: section \"Present But Cannot Be Compiled\"" >&2;}
22999 { echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&5
23000 echo "$as_me: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&2;}
23001 { echo "$as_me:$LINENO: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&5
23002 echo "$as_me: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&2;}
23004 ## ---------------------------------------------------------------------- ##
23005 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
23006 ## ---------------------------------------------------------------------- ##
23008 ) |
sed "s/^/$as_me: WARNING: /" >&2
23011 { echo "$as_me:$LINENO: checking for sys/endian.h" >&5
23012 echo $ECHO_N "checking for sys/endian.h... $ECHO_C" >&6; }
23013 if test "${ac_cv_header_sys_endian_h+set}" = set; then
23014 echo $ECHO_N "(cached) $ECHO_C" >&6
23016 ac_cv_header_sys_endian_h
=$ac_header_preproc
23018 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5
23019 echo "${ECHO_T}$ac_cv_header_sys_endian_h" >&6; }
23022 if test $ac_cv_header_sys_endian_h = yes; then
23023 HAVE_SYS_ENDIAN_H
="yes"
23025 HAVE_SYS_ENDIAN_H
="no"
23030 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
23031 { echo "$as_me:$LINENO: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
23032 echo $ECHO_N "checking for __swap16 variant of <sys/endian.h> byteswapping macros... $ECHO_C" >&6; }
23033 cat >conftest.
$ac_ext <<_ACEOF
23036 cat confdefs.h
>>conftest.
$ac_ext
23037 cat >>conftest.
$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23040 #include <sys/endian.h>
23054 rm -f conftest.
$ac_objext conftest
$ac_exeext
23055 if { (ac_try
="$ac_link"
23056 case "(($ac_try" in
23057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_link") 2>conftest.er1
23063 grep -v '^ *+' conftest.er1 >conftest.err
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } && {
23068 test -z "$ac_c_werror_flag" ||
23069 test ! -s conftest.err
23070 } && test -s conftest$ac_exeext &&
23071 $as_test_x conftest$ac_exeext; then
23072 SYS_ENDIAN__SWAP='yes'
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23077 SYS_ENDIAN__SWAP='no'
23080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23081 conftest$ac_exeext conftest.$ac_ext
23082 { echo "$as_me:$LINENO: result: $SYS_ENDIAN__SWAP" >&5
23083 echo "${ECHO_T}$SYS_ENDIAN__SWAP" >&6; }
23085 { echo "$as_me:$LINENO: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
23086 echo $ECHO_N "checking for bswap16 variant of <sys/endian.h> byteswapping macros... $ECHO_C" >&6; }
23087 cat >conftest.$ac_ext <<_ACEOF
23090 cat confdefs.h >>conftest.$ac_ext
23091 cat >>conftest.$ac_ext <<_ACEOF
23092 /* end confdefs.h. */
23094 #include <sys/endian.h>
23108 rm -f conftest.$ac_objext conftest$ac_exeext
23109 if { (ac_try="$ac_link"
23110 case "(($ac_try" in
23111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23112 *) ac_try_echo
=$ac_try;;
23114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23115 (eval "$ac_link") 2>conftest.er1
23117 grep -v '^ *+' conftest.er1
>conftest.err
23119 cat conftest.err
>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } && {
23122 test -z "$ac_c_werror_flag" ||
23123 test ! -s conftest.err
23124 } && test -s conftest
$ac_exeext &&
23125 $as_test_x conftest
$ac_exeext; then
23126 SYS_ENDIAN_BSWAP
='yes'
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.
$ac_ext >&5
23131 SYS_ENDIAN_BSWAP
='no'
23134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23135 conftest
$ac_exeext conftest.
$ac_ext
23136 { echo "$as_me:$LINENO: result: $SYS_ENDIAN_BSWAP" >&5
23137 echo "${ECHO_T}$SYS_ENDIAN_BSWAP" >&6; }
23139 if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
23140 USE_SYS_ENDIAN_H
=yes
23143 if test "$SYS_ENDIAN__SWAP" = "yes" ; then
23144 USE_SYS_ENDIAN_H
=yes
23147 USE_SYS_ENDIAN_H
=no
23151 if test "$USE_SYS_ENDIAN_H" = "yes" ; then
23153 cat >>confdefs.h
<<\_ACEOF
23154 #define USE_SYS_ENDIAN_H 1
23158 cat >>confdefs.h
<<_ACEOF
23159 #define bswap_16 ${BSWAP}16
23163 cat >>confdefs.h
<<_ACEOF
23164 #define bswap_32 ${BSWAP}32
23168 cat >>confdefs.h
<<_ACEOF
23169 #define bswap_64 ${BSWAP}64
23176 for ac_func
in vprintf
23178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23181 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23182 echo $ECHO_N "(cached) $ECHO_C" >&6
23184 cat >conftest.
$ac_ext <<_ACEOF
23187 cat confdefs.h
>>conftest.
$ac_ext
23188 cat >>conftest.
$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23192 #define $ac_func innocuous_$ac_func
23194 /* System header to define __stub macros and hopefully few prototypes,
23195 which can conflict with char $ac_func (); below.
23196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23197 <limits.h> exists even on freestanding compilers. */
23200 # include <limits.h>
23202 # include <assert.h>
23207 /* Override any GCC internal prototype to avoid an error.
23208 Use char because int might match the return type of a GCC
23209 builtin and then its argument prototype would still apply. */
23214 /* The GNU C library defines this for functions which it implements
23215 to always fail with ENOSYS. Some functions are actually named
23216 something starting with __ and the normal name is an alias. */
23217 #if defined __stub_$ac_func || defined __stub___$ac_func
23224 return $ac_func ();
23229 rm -f conftest.
$ac_objext conftest
$ac_exeext
23230 if { (ac_try
="$ac_link"
23231 case "(($ac_try" in
23232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_link") 2>conftest.er1
23238 grep -v '^ *+' conftest.er1 >conftest.err
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_c_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest$ac_exeext &&
23246 $as_test_x conftest$ac_exeext; then
23247 eval "$as_ac_var=yes"
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.$ac_ext >&5
23252 eval "$as_ac_var=no"
23255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23256 conftest$ac_exeext conftest.$ac_ext
23258 ac_res=`eval echo '${'$as_ac_var'}'`
23259 { echo "$as_me:$LINENO: result: $ac_res" >&5
23260 echo "${ECHO_T}$ac_res" >&6; }
23261 if test `eval echo '${'$as_ac_var'}'` = yes; then
23262 cat >>confdefs.h <<_ACEOF
23263 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23266 { echo "$as_me:$LINENO: checking for _doprnt" >&5
23267 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
23268 if test "${ac_cv_func__doprnt+set}" = set; then
23269 echo $ECHO_N "(cached) $ECHO_C" >&6
23271 cat >conftest.$ac_ext <<_ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23277 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
23278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23279 #define _doprnt innocuous__doprnt
23281 /* System header to define __stub macros and hopefully few prototypes,
23282 which can conflict with char _doprnt (); below.
23283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23284 <limits.h> exists even on freestanding compilers. */
23287 # include <limits.h>
23289 # include <assert.h>
23294 /* Override any GCC internal prototype to avoid an error.
23295 Use char because int might match the return type of a GCC
23296 builtin and then its argument prototype would still apply. */
23301 /* The GNU C library defines this for functions which it implements
23302 to always fail with ENOSYS. Some functions are actually named
23303 something starting with __ and the normal name is an alias. */
23304 #if defined __stub__doprnt || defined __stub____doprnt
23316 rm -f conftest.$ac_objext conftest$ac_exeext
23317 if { (ac_try="$ac_link"
23318 case "(($ac_try" in
23319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23320 *) ac_try_echo
=$ac_try;;
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_link") 2>conftest.er1
23325 grep -v '^ *+' conftest.er1
>conftest.err
23327 cat conftest.err
>&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } && {
23330 test -z "$ac_c_werror_flag" ||
23331 test ! -s conftest.err
23332 } && test -s conftest
$ac_exeext &&
23333 $as_test_x conftest
$ac_exeext; then
23334 ac_cv_func__doprnt
=yes
23336 echo "$as_me: failed program was:" >&5
23337 sed 's/^/| /' conftest.
$ac_ext >&5
23339 ac_cv_func__doprnt
=no
23342 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23343 conftest
$ac_exeext conftest.
$ac_ext
23345 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
23346 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
23347 if test $ac_cv_func__doprnt = yes; then
23349 cat >>confdefs.h
<<\_ACEOF
23350 #define HAVE_DOPRNT 1
23374 for ac_func
in geteuid getuid link memmove memset mkstemp strchr strrchr \
23375 strtol getopt getopt_long vsnprintf walkcontext backtrace \
23378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23379 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23381 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23382 echo $ECHO_N "(cached) $ECHO_C" >&6
23384 cat >conftest.
$ac_ext <<_ACEOF
23387 cat confdefs.h
>>conftest.
$ac_ext
23388 cat >>conftest.
$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23392 #define $ac_func innocuous_$ac_func
23394 /* System header to define __stub macros and hopefully few prototypes,
23395 which can conflict with char $ac_func (); below.
23396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23397 <limits.h> exists even on freestanding compilers. */
23400 # include <limits.h>
23402 # include <assert.h>
23407 /* Override any GCC internal prototype to avoid an error.
23408 Use char because int might match the return type of a GCC
23409 builtin and then its argument prototype would still apply. */
23414 /* The GNU C library defines this for functions which it implements
23415 to always fail with ENOSYS. Some functions are actually named
23416 something starting with __ and the normal name is an alias. */
23417 #if defined __stub_$ac_func || defined __stub___$ac_func
23424 return $ac_func ();
23429 rm -f conftest.
$ac_objext conftest
$ac_exeext
23430 if { (ac_try
="$ac_link"
23431 case "(($ac_try" in
23432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23433 *) ac_try_echo=$ac_try;;
23435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23436 (eval "$ac_link") 2>conftest.er1
23438 grep -v '^ *+' conftest.er1 >conftest.err
23440 cat conftest.err >&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); } && {
23443 test -z "$ac_c_werror_flag" ||
23444 test ! -s conftest.err
23445 } && test -s conftest$ac_exeext &&
23446 $as_test_x conftest$ac_exeext; then
23447 eval "$as_ac_var=yes"
23449 echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.$ac_ext >&5
23452 eval "$as_ac_var=no"
23455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23456 conftest$ac_exeext conftest.$ac_ext
23458 ac_res=`eval echo '${'$as_ac_var'}'`
23459 { echo "$as_me:$LINENO: result: $ac_res" >&5
23460 echo "${ECHO_T}$ac_res" >&6; }
23461 if test `eval echo '${'$as_ac_var'}'` = yes; then
23462 cat >>confdefs.h <<_ACEOF
23463 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23469 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
23470 # for constant arguments. Useless!
23471 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
23472 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
23473 if test "${ac_cv_working_alloca_h+set}" = set; then
23474 echo $ECHO_N "(cached) $ECHO_C" >&6
23476 cat >conftest.$ac_ext <<_ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 #include <alloca.h>
23486 char *p = (char *) alloca (2 * sizeof (int));
23492 rm -f conftest.$ac_objext conftest$ac_exeext
23493 if { (ac_try="$ac_link"
23494 case "(($ac_try" in
23495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23496 *) ac_try_echo
=$ac_try;;
23498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23499 (eval "$ac_link") 2>conftest.er1
23501 grep -v '^ *+' conftest.er1
>conftest.err
23503 cat conftest.err
>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); } && {
23506 test -z "$ac_c_werror_flag" ||
23507 test ! -s conftest.err
23508 } && test -s conftest
$ac_exeext &&
23509 $as_test_x conftest
$ac_exeext; then
23510 ac_cv_working_alloca_h
=yes
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.
$ac_ext >&5
23515 ac_cv_working_alloca_h
=no
23518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23519 conftest
$ac_exeext conftest.
$ac_ext
23521 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
23522 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
23523 if test $ac_cv_working_alloca_h = yes; then
23525 cat >>confdefs.h
<<\_ACEOF
23526 #define HAVE_ALLOCA_H 1
23531 { echo "$as_me:$LINENO: checking for alloca" >&5
23532 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
23533 if test "${ac_cv_func_alloca_works+set}" = set; then
23534 echo $ECHO_N "(cached) $ECHO_C" >&6
23536 cat >conftest.
$ac_ext <<_ACEOF
23539 cat confdefs.h
>>conftest.
$ac_ext
23540 cat >>conftest.
$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23543 # define alloca __builtin_alloca
23546 # include <malloc.h>
23547 # define alloca _alloca
23549 # ifdef HAVE_ALLOCA_H
23550 # include <alloca.h>
23555 # ifndef alloca /* predefined by HP cc +Olibcalls */
23566 char *p = (char *) alloca (1);
23572 rm -f conftest.
$ac_objext conftest
$ac_exeext
23573 if { (ac_try
="$ac_link"
23574 case "(($ac_try" in
23575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23576 *) ac_try_echo=$ac_try;;
23578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23579 (eval "$ac_link") 2>conftest.er1
23581 grep -v '^ *+' conftest.er1 >conftest.err
23583 cat conftest.err >&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } && {
23586 test -z "$ac_c_werror_flag" ||
23587 test ! -s conftest.err
23588 } && test -s conftest$ac_exeext &&
23589 $as_test_x conftest$ac_exeext; then
23590 ac_cv_func_alloca_works=yes
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23595 ac_cv_func_alloca_works=no
23598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23599 conftest$ac_exeext conftest.$ac_ext
23601 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
23602 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
23604 if test $ac_cv_func_alloca_works = yes; then
23606 cat >>confdefs.h <<\_ACEOF
23607 #define HAVE_ALLOCA 1
23611 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
23612 # that cause trouble. Some versions do not even contain alloca or
23613 # contain a buggy version. If you still want to use their alloca,
23614 # use ar to extract alloca.o from them instead of compiling alloca.c.
23616 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
23618 cat >>confdefs.h <<\_ACEOF
23623 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
23624 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
23625 if test "${ac_cv_os_cray+set}" = set; then
23626 echo $ECHO_N "(cached
) $ECHO_C" >&6
23628 cat >conftest.$ac_ext <<_ACEOF
23631 cat confdefs.h >>conftest.$ac_ext
23632 cat >>conftest.$ac_ext <<_ACEOF
23633 /* end confdefs.h. */
23634 #if defined CRAY && ! defined CRAY2
23641 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
23642 $EGREP "webecray
" >/dev/null 2>&1; then
23650 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
23651 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
23652 if test $ac_cv_os_cray = yes; then
23653 for ac_func in _getb67 GETB67 getb67; do
23654 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
23655 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
23656 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
23657 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
23658 echo $ECHO_N "(cached
) $ECHO_C" >&6
23660 cat >conftest.$ac_ext <<_ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23668 #define $ac_func innocuous_$ac_func
23670 /* System header to define __stub macros and hopefully few prototypes,
23671 which can conflict with char $ac_func (); below.
23672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23673 <limits.h> exists even on freestanding compilers. */
23676 # include <limits.h>
23678 # include <assert.h>
23683 /* Override any GCC internal prototype to avoid an error.
23684 Use char because int might match the return type of a GCC
23685 builtin and then its argument prototype would still apply. */
23690 /* The GNU C library defines this for functions which it implements
23691 to always fail with ENOSYS. Some functions are actually named
23692 something starting with __ and the normal name is an alias. */
23693 #if defined __stub_$ac_func || defined __stub___$ac_func
23700 return $ac_func ();
23705 rm -f conftest.$ac_objext conftest$ac_exeext
23706 if { (ac_try="$ac_link"
23707 case "(($ac_try" in
23708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23709 *) ac_try_echo=$ac_try;;
23711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23712 (eval "$ac_link") 2>conftest.er1
23714 grep -v '^ *+' conftest.er1 >conftest.err
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23718 (exit $ac_status); } && {
23719 test -z "$ac_c_werror_flag" ||
23720 test ! -s conftest.err
23721 } && test -s conftest$ac_exeext &&
23722 $as_test_x conftest$ac_exeext; then
23723 eval "$as_ac_var=yes"
23725 echo "$as_me: failed program was
:" >&5
23726 sed 's/^/| /' conftest.$ac_ext >&5
23728 eval "$as_ac_var=no
"
23731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23732 conftest$ac_exeext conftest.$ac_ext
23734 ac_res=`eval echo '${'$as_ac_var'}'`
23735 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23736 echo "${ECHO_T}$ac_res" >&6; }
23737 if test `eval echo '${'$as_ac_var'}'` = yes; then
23739 cat >>confdefs.h <<_ACEOF
23740 #define CRAY_STACKSEG_END $ac_func
23749 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
23750 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
23751 if test "${ac_cv_c_stack_direction+set}" = set; then
23752 echo $ECHO_N "(cached
) $ECHO_C" >&6
23754 if test "$cross_compiling" = yes; then
23755 ac_cv_c_stack_direction=0
23757 cat >conftest.$ac_ext <<_ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 $ac_includes_default
23765 find_stack_direction ()
23767 static char *addr = 0;
23772 return find_stack_direction ();
23775 return (&dummy > addr) ? 1 : -1;
23781 return find_stack_direction () < 0;
23784 rm -f conftest$ac_exeext
23785 if { (ac_try="$ac_link"
23786 case "(($ac_try" in
23787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23788 *) ac_try_echo=$ac_try;;
23790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_link") 2>&5
23793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23795 { (case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_try") 2>&5
23802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23803 (exit $ac_status); }; }; then
23804 ac_cv_c_stack_direction=1
23806 echo "$as_me: program exited with status
$ac_status" >&5
23807 echo "$as_me: failed program was
:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23810 ( exit $ac_status )
23811 ac_cv_c_stack_direction=-1
23813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23818 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
23819 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
23821 cat >>confdefs.h <<_ACEOF
23822 #define STACK_DIRECTION $ac_cv_c_stack_direction
23828 { echo "$as_me:$LINENO: checking
for getdtablesize
" >&5
23829 echo $ECHO_N "checking
for getdtablesize...
$ECHO_C" >&6; }
23830 if test "${ac_cv_func_getdtablesize+set}" = set; then
23831 echo $ECHO_N "(cached
) $ECHO_C" >&6
23833 cat >conftest.$ac_ext <<_ACEOF
23836 cat confdefs.h >>conftest.$ac_ext
23837 cat >>conftest.$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23839 /* Define getdtablesize to an innocuous variant, in case <limits.h> declares getdtablesize.
23840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23841 #define getdtablesize innocuous_getdtablesize
23843 /* System header to define __stub macros and hopefully few prototypes,
23844 which can conflict with char getdtablesize (); below.
23845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23846 <limits.h> exists even on freestanding compilers. */
23849 # include <limits.h>
23851 # include <assert.h>
23854 #undef getdtablesize
23856 /* Override any GCC internal prototype to avoid an error.
23857 Use char because int might match the return type of a GCC
23858 builtin and then its argument prototype would still apply. */
23862 char getdtablesize ();
23863 /* The GNU C library defines this for functions which it implements
23864 to always fail with ENOSYS. Some functions are actually named
23865 something starting with __ and the normal name is an alias. */
23866 #if defined __stub_getdtablesize || defined __stub___getdtablesize
23873 return getdtablesize ();
23878 rm -f conftest.$ac_objext conftest$ac_exeext
23879 if { (ac_try="$ac_link"
23880 case "(($ac_try" in
23881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23882 *) ac_try_echo=$ac_try;;
23884 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23885 (eval "$ac_link") 2>conftest.er1
23887 grep -v '^ *+' conftest.er1 >conftest.err
23889 cat conftest.err >&5
23890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23891 (exit $ac_status); } && {
23892 test -z "$ac_c_werror_flag" ||
23893 test ! -s conftest.err
23894 } && test -s conftest$ac_exeext &&
23895 $as_test_x conftest$ac_exeext; then
23896 ac_cv_func_getdtablesize=yes
23898 echo "$as_me: failed program was
:" >&5
23899 sed 's/^/| /' conftest.$ac_ext >&5
23901 ac_cv_func_getdtablesize=no
23904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23905 conftest$ac_exeext conftest.$ac_ext
23907 { echo "$as_me:$LINENO: result
: $ac_cv_func_getdtablesize" >&5
23908 echo "${ECHO_T}$ac_cv_func_getdtablesize" >&6; }
23909 if test $ac_cv_func_getdtablesize = yes; then
23911 cat >>confdefs.h <<\_ACEOF
23912 #define HAS_GETDTABLESIZE 1
23917 { echo "$as_me:$LINENO: checking
for getifaddrs
" >&5
23918 echo $ECHO_N "checking
for getifaddrs...
$ECHO_C" >&6; }
23919 if test "${ac_cv_func_getifaddrs+set}" = set; then
23920 echo $ECHO_N "(cached
) $ECHO_C" >&6
23922 cat >conftest.$ac_ext <<_ACEOF
23925 cat confdefs.h >>conftest.$ac_ext
23926 cat >>conftest.$ac_ext <<_ACEOF
23927 /* end confdefs.h. */
23928 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs.
23929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23930 #define getifaddrs innocuous_getifaddrs
23932 /* System header to define __stub macros and hopefully few prototypes,
23933 which can conflict with char getifaddrs (); below.
23934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23935 <limits.h> exists even on freestanding compilers. */
23938 # include <limits.h>
23940 # include <assert.h>
23945 /* Override any GCC internal prototype to avoid an error.
23946 Use char because int might match the return type of a GCC
23947 builtin and then its argument prototype would still apply. */
23951 char getifaddrs ();
23952 /* The GNU C library defines this for functions which it implements
23953 to always fail with ENOSYS. Some functions are actually named
23954 something starting with __ and the normal name is an alias. */
23955 #if defined __stub_getifaddrs || defined __stub___getifaddrs
23962 return getifaddrs ();
23967 rm -f conftest.$ac_objext conftest$ac_exeext
23968 if { (ac_try="$ac_link"
23969 case "(($ac_try" in
23970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23971 *) ac_try_echo=$ac_try;;
23973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23974 (eval "$ac_link") 2>conftest.er1
23976 grep -v '^ *+' conftest.er1 >conftest.err
23978 cat conftest.err >&5
23979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23980 (exit $ac_status); } && {
23981 test -z "$ac_c_werror_flag" ||
23982 test ! -s conftest.err
23983 } && test -s conftest$ac_exeext &&
23984 $as_test_x conftest$ac_exeext; then
23985 ac_cv_func_getifaddrs=yes
23987 echo "$as_me: failed program was
:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23990 ac_cv_func_getifaddrs=no
23993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23994 conftest$ac_exeext conftest.$ac_ext
23996 { echo "$as_me:$LINENO: result
: $ac_cv_func_getifaddrs" >&5
23997 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; }
23998 if test $ac_cv_func_getifaddrs = yes; then
24000 cat >>confdefs.h <<\_ACEOF
24001 #define HAS_GETIFADDRS 1
24006 { echo "$as_me:$LINENO: checking
for getpeereid
" >&5
24007 echo $ECHO_N "checking
for getpeereid...
$ECHO_C" >&6; }
24008 if test "${ac_cv_func_getpeereid+set}" = set; then
24009 echo $ECHO_N "(cached
) $ECHO_C" >&6
24011 cat >conftest.$ac_ext <<_ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017 /* Define getpeereid to an innocuous variant, in case <limits.h> declares getpeereid.
24018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24019 #define getpeereid innocuous_getpeereid
24021 /* System header to define __stub macros and hopefully few prototypes,
24022 which can conflict with char getpeereid (); below.
24023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24024 <limits.h> exists even on freestanding compilers. */
24027 # include <limits.h>
24029 # include <assert.h>
24034 /* Override any GCC internal prototype to avoid an error.
24035 Use char because int might match the return type of a GCC
24036 builtin and then its argument prototype would still apply. */
24040 char getpeereid ();
24041 /* The GNU C library defines this for functions which it implements
24042 to always fail with ENOSYS. Some functions are actually named
24043 something starting with __ and the normal name is an alias. */
24044 #if defined __stub_getpeereid || defined __stub___getpeereid
24051 return getpeereid ();
24056 rm -f conftest.$ac_objext conftest$ac_exeext
24057 if { (ac_try="$ac_link"
24058 case "(($ac_try" in
24059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24060 *) ac_try_echo=$ac_try;;
24062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24063 (eval "$ac_link") 2>conftest.er1
24065 grep -v '^ *+' conftest.er1 >conftest.err
24067 cat conftest.err >&5
24068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24069 (exit $ac_status); } && {
24070 test -z "$ac_c_werror_flag" ||
24071 test ! -s conftest.err
24072 } && test -s conftest$ac_exeext &&
24073 $as_test_x conftest$ac_exeext; then
24074 ac_cv_func_getpeereid=yes
24076 echo "$as_me: failed program was
:" >&5
24077 sed 's/^/| /' conftest.$ac_ext >&5
24079 ac_cv_func_getpeereid=no
24082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24083 conftest$ac_exeext conftest.$ac_ext
24085 { echo "$as_me:$LINENO: result
: $ac_cv_func_getpeereid" >&5
24086 echo "${ECHO_T}$ac_cv_func_getpeereid" >&6; }
24087 if test $ac_cv_func_getpeereid = yes; then
24089 cat >>confdefs.h <<\_ACEOF
24090 #define HAS_GETPEEREID 1
24095 { echo "$as_me:$LINENO: checking
for getpeerucred
" >&5
24096 echo $ECHO_N "checking
for getpeerucred...
$ECHO_C" >&6; }
24097 if test "${ac_cv_func_getpeerucred+set}" = set; then
24098 echo $ECHO_N "(cached
) $ECHO_C" >&6
24100 cat >conftest.$ac_ext <<_ACEOF
24103 cat confdefs.h >>conftest.$ac_ext
24104 cat >>conftest.$ac_ext <<_ACEOF
24105 /* end confdefs.h. */
24106 /* Define getpeerucred to an innocuous variant, in case <limits.h> declares getpeerucred.
24107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24108 #define getpeerucred innocuous_getpeerucred
24110 /* System header to define __stub macros and hopefully few prototypes,
24111 which can conflict with char getpeerucred (); below.
24112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24113 <limits.h> exists even on freestanding compilers. */
24116 # include <limits.h>
24118 # include <assert.h>
24121 #undef getpeerucred
24123 /* Override any GCC internal prototype to avoid an error.
24124 Use char because int might match the return type of a GCC
24125 builtin and then its argument prototype would still apply. */
24129 char getpeerucred ();
24130 /* The GNU C library defines this for functions which it implements
24131 to always fail with ENOSYS. Some functions are actually named
24132 something starting with __ and the normal name is an alias. */
24133 #if defined __stub_getpeerucred || defined __stub___getpeerucred
24140 return getpeerucred ();
24145 rm -f conftest.$ac_objext conftest$ac_exeext
24146 if { (ac_try="$ac_link"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_link") 2>conftest.er1
24154 grep -v '^ *+' conftest.er1 >conftest.err
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_c_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest$ac_exeext &&
24162 $as_test_x conftest$ac_exeext; then
24163 ac_cv_func_getpeerucred=yes
24165 echo "$as_me: failed program was
:" >&5
24166 sed 's/^/| /' conftest.$ac_ext >&5
24168 ac_cv_func_getpeerucred=no
24171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24172 conftest$ac_exeext conftest.$ac_ext
24174 { echo "$as_me:$LINENO: result
: $ac_cv_func_getpeerucred" >&5
24175 echo "${ECHO_T}$ac_cv_func_getpeerucred" >&6; }
24176 if test $ac_cv_func_getpeerucred = yes; then
24178 cat >>confdefs.h <<\_ACEOF
24179 #define HAS_GETPEERUCRED 1
24184 { echo "$as_me:$LINENO: checking
for strlcat
" >&5
24185 echo $ECHO_N "checking
for strlcat...
$ECHO_C" >&6; }
24186 if test "${ac_cv_func_strlcat+set}" = set; then
24187 echo $ECHO_N "(cached
) $ECHO_C" >&6
24189 cat >conftest.$ac_ext <<_ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195 /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
24196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24197 #define strlcat innocuous_strlcat
24199 /* System header to define __stub macros and hopefully few prototypes,
24200 which can conflict with char strlcat (); below.
24201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24202 <limits.h> exists even on freestanding compilers. */
24205 # include <limits.h>
24207 # include <assert.h>
24212 /* Override any GCC internal prototype to avoid an error.
24213 Use char because int might match the return type of a GCC
24214 builtin and then its argument prototype would still apply. */
24219 /* The GNU C library defines this for functions which it implements
24220 to always fail with ENOSYS. Some functions are actually named
24221 something starting with __ and the normal name is an alias. */
24222 #if defined __stub_strlcat || defined __stub___strlcat
24234 rm -f conftest.$ac_objext conftest$ac_exeext
24235 if { (ac_try="$ac_link"
24236 case "(($ac_try" in
24237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24238 *) ac_try_echo=$ac_try;;
24240 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24241 (eval "$ac_link") 2>conftest.er1
24243 grep -v '^ *+' conftest.er1 >conftest.err
24245 cat conftest.err >&5
24246 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24247 (exit $ac_status); } && {
24248 test -z "$ac_c_werror_flag" ||
24249 test ! -s conftest.err
24250 } && test -s conftest$ac_exeext &&
24251 $as_test_x conftest$ac_exeext; then
24252 ac_cv_func_strlcat=yes
24254 echo "$as_me: failed program was
:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24257 ac_cv_func_strlcat=no
24260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24261 conftest$ac_exeext conftest.$ac_ext
24263 { echo "$as_me:$LINENO: result
: $ac_cv_func_strlcat" >&5
24264 echo "${ECHO_T}$ac_cv_func_strlcat" >&6; }
24265 if test $ac_cv_func_strlcat = yes; then
24271 if test x$HAVE_STRLCAT = xno; then
24273 NEED_STRLCAT_FALSE='#'
24275 NEED_STRLCAT_TRUE='#'
24276 NEED_STRLCAT_FALSE=
24280 if test x$HAVE_VSNPRINTF = xno; then
24281 NEED_VSNPRINTF_TRUE=
24282 NEED_VSNPRINTF_FALSE='#'
24284 NEED_VSNPRINTF_TRUE='#'
24285 NEED_VSNPRINTF_FALSE=
24289 { echo "$as_me:$LINENO: checking
for mmap
" >&5
24290 echo $ECHO_N "checking
for mmap...
$ECHO_C" >&6; }
24291 if test "${ac_cv_func_mmap+set}" = set; then
24292 echo $ECHO_N "(cached
) $ECHO_C" >&6
24294 cat >conftest.$ac_ext <<_ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
24301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24302 #define mmap innocuous_mmap
24304 /* System header to define __stub macros and hopefully few prototypes,
24305 which can conflict with char mmap (); below.
24306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24307 <limits.h> exists even on freestanding compilers. */
24310 # include <limits.h>
24312 # include <assert.h>
24317 /* Override any GCC internal prototype to avoid an error.
24318 Use char because int might match the return type of a GCC
24319 builtin and then its argument prototype would still apply. */
24324 /* The GNU C library defines this for functions which it implements
24325 to always fail with ENOSYS. Some functions are actually named
24326 something starting with __ and the normal name is an alias. */
24327 #if defined __stub_mmap || defined __stub___mmap
24339 rm -f conftest.$ac_objext conftest$ac_exeext
24340 if { (ac_try="$ac_link"
24341 case "(($ac_try" in
24342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24343 *) ac_try_echo=$ac_try;;
24345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24346 (eval "$ac_link") 2>conftest.er1
24348 grep -v '^ *+' conftest.er1 >conftest.err
24350 cat conftest.err >&5
24351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24352 (exit $ac_status); } && {
24353 test -z "$ac_c_werror_flag" ||
24354 test ! -s conftest.err
24355 } && test -s conftest$ac_exeext &&
24356 $as_test_x conftest$ac_exeext; then
24357 ac_cv_func_mmap=yes
24359 echo "$as_me: failed program was
:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24366 conftest$ac_exeext conftest.$ac_ext
24368 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap" >&5
24369 echo "${ECHO_T}$ac_cv_func_mmap" >&6; }
24370 if test $ac_cv_func_mmap = yes; then
24372 cat >>confdefs.h <<\_ACEOF
24380 { echo "$as_me:$LINENO: checking
for sqrt
in -lm" >&5
24381 echo $ECHO_N "checking
for sqrt
in -lm...
$ECHO_C" >&6; }
24382 if test "${ac_cv_lib_m_sqrt+set}" = set; then
24383 echo $ECHO_N "(cached
) $ECHO_C" >&6
24385 ac_check_lib_save_LIBS=$LIBS
24387 cat >conftest.$ac_ext <<_ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24394 /* Override any GCC internal prototype to avoid an error.
24395 Use char because int might match the return type of a GCC
24396 builtin and then its argument prototype would still apply. */
24409 rm -f conftest.$ac_objext conftest$ac_exeext
24410 if { (ac_try="$ac_link"
24411 case "(($ac_try" in
24412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24413 *) ac_try_echo=$ac_try;;
24415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24416 (eval "$ac_link") 2>conftest.er1
24418 grep -v '^ *+' conftest.er1 >conftest.err
24420 cat conftest.err >&5
24421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24422 (exit $ac_status); } && {
24423 test -z "$ac_c_werror_flag" ||
24424 test ! -s conftest.err
24425 } && test -s conftest$ac_exeext &&
24426 $as_test_x conftest$ac_exeext; then
24427 ac_cv_lib_m_sqrt=yes
24429 echo "$as_me: failed program was
:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24432 ac_cv_lib_m_sqrt=no
24435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24436 conftest$ac_exeext conftest.$ac_ext
24437 LIBS=$ac_check_lib_save_LIBS
24439 { echo "$as_me:$LINENO: result
: $ac_cv_lib_m_sqrt" >&5
24440 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
24441 if test $ac_cv_lib_m_sqrt = yes; then
24442 cat >>confdefs.h <<_ACEOF
24443 #define HAVE_LIBM 1
24450 { echo "$as_me:$LINENO: checking
for cbrt
in -lm" >&5
24451 echo $ECHO_N "checking
for cbrt
in -lm...
$ECHO_C" >&6; }
24452 if test "${ac_cv_lib_m_cbrt+set}" = set; then
24453 echo $ECHO_N "(cached
) $ECHO_C" >&6
24455 ac_check_lib_save_LIBS=$LIBS
24457 cat >conftest.$ac_ext <<_ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24464 /* Override any GCC internal prototype to avoid an error.
24465 Use char because int might match the return type of a GCC
24466 builtin and then its argument prototype would still apply. */
24479 rm -f conftest.$ac_objext conftest$ac_exeext
24480 if { (ac_try="$ac_link"
24481 case "(($ac_try" in
24482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24483 *) ac_try_echo=$ac_try;;
24485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24486 (eval "$ac_link") 2>conftest.er1
24488 grep -v '^ *+' conftest.er1 >conftest.err
24490 cat conftest.err >&5
24491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24492 (exit $ac_status); } && {
24493 test -z "$ac_c_werror_flag" ||
24494 test ! -s conftest.err
24495 } && test -s conftest$ac_exeext &&
24496 $as_test_x conftest$ac_exeext; then
24497 ac_cv_lib_m_cbrt=yes
24499 echo "$as_me: failed program was
:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24502 ac_cv_lib_m_cbrt=no
24505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24506 conftest$ac_exeext conftest.$ac_ext
24507 LIBS=$ac_check_lib_save_LIBS
24509 { echo "$as_me:$LINENO: result
: $ac_cv_lib_m_cbrt" >&5
24510 echo "${ECHO_T}$ac_cv_lib_m_cbrt" >&6; }
24511 if test $ac_cv_lib_m_cbrt = yes; then
24513 cat >>confdefs.h <<\_ACEOF
24514 #define HAVE_CBRT 1
24523 for ac_header in ndbm.h dbm.h rpcsvc/dbm.h
24525 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
24526 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24527 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24528 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24529 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24530 echo $ECHO_N "(cached
) $ECHO_C" >&6
24532 ac_res=`eval echo '${'$as_ac_Header'}'`
24533 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24534 echo "${ECHO_T}$ac_res" >&6; }
24536 # Is the header compilable?
24537 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
24538 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
24539 cat >conftest.$ac_ext <<_ACEOF
24542 cat confdefs.h >>conftest.$ac_ext
24543 cat >>conftest.$ac_ext <<_ACEOF
24544 /* end confdefs.h. */
24545 $ac_includes_default
24546 #include <$ac_header>
24548 rm -f conftest.$ac_objext
24549 if { (ac_try="$ac_compile"
24550 case "(($ac_try" in
24551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24552 *) ac_try_echo=$ac_try;;
24554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24555 (eval "$ac_compile") 2>conftest.er1
24557 grep -v '^ *+' conftest.er1 >conftest.err
24559 cat conftest.err >&5
24560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24561 (exit $ac_status); } && {
24562 test -z "$ac_c_werror_flag" ||
24563 test ! -s conftest.err
24564 } && test -s conftest.$ac_objext; then
24565 ac_header_compiler=yes
24567 echo "$as_me: failed program was
:" >&5
24568 sed 's/^/| /' conftest.$ac_ext >&5
24570 ac_header_compiler=no
24573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24574 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24575 echo "${ECHO_T}$ac_header_compiler" >&6; }
24577 # Is the header present?
24578 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
24579 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
24580 cat >conftest.$ac_ext <<_ACEOF
24583 cat confdefs.h >>conftest.$ac_ext
24584 cat >>conftest.$ac_ext <<_ACEOF
24585 /* end confdefs.h. */
24586 #include <$ac_header>
24588 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24589 case "(($ac_try" in
24590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24591 *) ac_try_echo=$ac_try;;
24593 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24594 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24596 grep -v '^ *+' conftest.er1 >conftest.err
24598 cat conftest.err >&5
24599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24600 (exit $ac_status); } >/dev/null && {
24601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24602 test ! -s conftest.err
24604 ac_header_preproc=yes
24606 echo "$as_me: failed program was
:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24609 ac_header_preproc=no
24612 rm -f conftest.err conftest.$ac_ext
24613 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24614 echo "${ECHO_T}$ac_header_preproc" >&6; }
24616 # So? What about this header?
24617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24619 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
24620 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24621 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
24622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
24623 ac_header_preproc=yes
24626 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
24627 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
24628 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
24629 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
24630 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
24631 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
24632 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
24633 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
24634 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
24635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
24636 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
24637 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
24639 ## ---------------------------------------------------------------------- ##
24640 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
24641 ## ---------------------------------------------------------------------- ##
24643 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
24646 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24647 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24648 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24649 echo $ECHO_N "(cached
) $ECHO_C" >&6
24651 eval "$as_ac_Header=\
$ac_header_preproc"
24653 ac_res=`eval echo '${'$as_ac_Header'}'`
24654 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24655 echo "${ECHO_T}$ac_res" >&6; }
24658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24659 cat >>confdefs.h <<_ACEOF
24660 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
24670 for ac_header in linux/agpgart.h sys/agpio.h
24672 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
24673 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24674 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24675 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24676 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24677 echo $ECHO_N "(cached
) $ECHO_C" >&6
24679 ac_res=`eval echo '${'$as_ac_Header'}'`
24680 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24681 echo "${ECHO_T}$ac_res" >&6; }
24683 # Is the header compilable?
24684 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
24685 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
24686 cat >conftest.$ac_ext <<_ACEOF
24689 cat confdefs.h >>conftest.$ac_ext
24690 cat >>conftest.$ac_ext <<_ACEOF
24691 /* end confdefs.h. */
24692 $ac_includes_default
24693 #include <$ac_header>
24695 rm -f conftest.$ac_objext
24696 if { (ac_try="$ac_compile"
24697 case "(($ac_try" in
24698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24699 *) ac_try_echo=$ac_try;;
24701 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24702 (eval "$ac_compile") 2>conftest.er1
24704 grep -v '^ *+' conftest.er1 >conftest.err
24706 cat conftest.err >&5
24707 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24708 (exit $ac_status); } && {
24709 test -z "$ac_c_werror_flag" ||
24710 test ! -s conftest.err
24711 } && test -s conftest.$ac_objext; then
24712 ac_header_compiler=yes
24714 echo "$as_me: failed program was
:" >&5
24715 sed 's/^/| /' conftest.$ac_ext >&5
24717 ac_header_compiler=no
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24722 echo "${ECHO_T}$ac_header_compiler" >&6; }
24724 # Is the header present?
24725 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
24726 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
24727 cat >conftest.$ac_ext <<_ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24733 #include <$ac_header>
24735 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24743 grep -v '^ *+' conftest.er1 >conftest.err
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24747 (exit $ac_status); } >/dev/null && {
24748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24749 test ! -s conftest.err
24751 ac_header_preproc=yes
24753 echo "$as_me: failed program was
:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24756 ac_header_preproc=no
24759 rm -f conftest.err conftest.$ac_ext
24760 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24761 echo "${ECHO_T}$ac_header_preproc" >&6; }
24763 # So? What about this header?
24764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24766 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
24767 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24768 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
24769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
24770 ac_header_preproc=yes
24773 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
24774 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
24775 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
24776 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
24777 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
24778 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
24779 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
24780 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
24781 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
24782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
24783 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
24784 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
24786 ## ---------------------------------------------------------------------- ##
24787 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
24788 ## ---------------------------------------------------------------------- ##
24790 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
24793 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24794 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24795 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24796 echo $ECHO_N "(cached
) $ECHO_C" >&6
24798 eval "$as_ac_Header=\
$ac_header_preproc"
24800 ac_res=`eval echo '${'$as_ac_Header'}'`
24801 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24802 echo "${ECHO_T}$ac_res" >&6; }
24805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24806 cat >>confdefs.h <<_ACEOF
24807 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
24814 if test "x
$AGP" = xyes; then
24824 for ac_header in linux/apm_bios.h
24826 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
24827 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24828 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24829 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24830 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24831 echo $ECHO_N "(cached
) $ECHO_C" >&6
24833 ac_res=`eval echo '${'$as_ac_Header'}'`
24834 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24835 echo "${ECHO_T}$ac_res" >&6; }
24837 # Is the header compilable?
24838 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
24839 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
24840 cat >conftest.$ac_ext <<_ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846 $ac_includes_default
24847 #include <$ac_header>
24849 rm -f conftest.$ac_objext
24850 if { (ac_try="$ac_compile"
24851 case "(($ac_try" in
24852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24853 *) ac_try_echo=$ac_try;;
24855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24856 (eval "$ac_compile") 2>conftest.er1
24858 grep -v '^ *+' conftest.er1 >conftest.err
24860 cat conftest.err >&5
24861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24862 (exit $ac_status); } && {
24863 test -z "$ac_c_werror_flag" ||
24864 test ! -s conftest.err
24865 } && test -s conftest.$ac_objext; then
24866 ac_header_compiler=yes
24868 echo "$as_me: failed program was
:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24871 ac_header_compiler=no
24874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24876 echo "${ECHO_T}$ac_header_compiler" >&6; }
24878 # Is the header present?
24879 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
24880 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
24881 cat >conftest.$ac_ext <<_ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887 #include <$ac_header>
24889 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24890 case "(($ac_try" in
24891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24892 *) ac_try_echo=$ac_try;;
24894 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24895 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24897 grep -v '^ *+' conftest.er1 >conftest.err
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24901 (exit $ac_status); } >/dev/null && {
24902 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24903 test ! -s conftest.err
24905 ac_header_preproc=yes
24907 echo "$as_me: failed program was
:" >&5
24908 sed 's/^/| /' conftest.$ac_ext >&5
24910 ac_header_preproc=no
24913 rm -f conftest.err conftest.$ac_ext
24914 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24915 echo "${ECHO_T}$ac_header_preproc" >&6; }
24917 # So? What about this header?
24918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24920 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
24921 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24922 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
24923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
24924 ac_header_preproc=yes
24927 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
24928 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
24929 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
24930 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
24931 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
24932 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
24933 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
24934 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
24935 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
24936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
24937 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
24938 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
24940 ## ---------------------------------------------------------------------- ##
24941 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
24942 ## ---------------------------------------------------------------------- ##
24944 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
24947 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24948 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24949 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24950 echo $ECHO_N "(cached
) $ECHO_C" >&6
24952 eval "$as_ac_Header=\
$ac_header_preproc"
24954 ac_res=`eval echo '${'$as_ac_Header'}'`
24955 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24956 echo "${ECHO_T}$ac_res" >&6; }
24959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24960 cat >>confdefs.h <<_ACEOF
24961 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
24968 if test "x
$LNXAPM" = xyes; then
24978 for ac_header in linux/fb.h
24980 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
24981 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24982 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
24983 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
24984 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24985 echo $ECHO_N "(cached
) $ECHO_C" >&6
24987 ac_res=`eval echo '${'$as_ac_Header'}'`
24988 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24989 echo "${ECHO_T}$ac_res" >&6; }
24991 # Is the header compilable?
24992 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
24993 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
24994 cat >conftest.$ac_ext <<_ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25000 $ac_includes_default
25001 #include <$ac_header>
25003 rm -f conftest.$ac_objext
25004 if { (ac_try="$ac_compile"
25005 case "(($ac_try" in
25006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007 *) ac_try_echo=$ac_try;;
25009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25010 (eval "$ac_compile") 2>conftest.er1
25012 grep -v '^ *+' conftest.er1 >conftest.err
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25016 (exit $ac_status); } && {
25017 test -z "$ac_c_werror_flag" ||
25018 test ! -s conftest.err
25019 } && test -s conftest.$ac_objext; then
25020 ac_header_compiler=yes
25022 echo "$as_me: failed program was
:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25025 ac_header_compiler=no
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25030 echo "${ECHO_T}$ac_header_compiler" >&6; }
25032 # Is the header present?
25033 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
25034 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
25035 cat >conftest.$ac_ext <<_ACEOF
25038 cat confdefs.h >>conftest.$ac_ext
25039 cat >>conftest.$ac_ext <<_ACEOF
25040 /* end confdefs.h. */
25041 #include <$ac_header>
25043 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25044 case "(($ac_try" in
25045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25046 *) ac_try_echo=$ac_try;;
25048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25049 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25051 grep -v '^ *+' conftest.er1 >conftest.err
25053 cat conftest.err >&5
25054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25055 (exit $ac_status); } >/dev/null && {
25056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25057 test ! -s conftest.err
25059 ac_header_preproc=yes
25061 echo "$as_me: failed program was
:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25064 ac_header_preproc=no
25067 rm -f conftest.err conftest.$ac_ext
25068 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25069 echo "${ECHO_T}$ac_header_preproc" >&6; }
25071 # So? What about this header?
25072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25074 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
25075 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25076 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
25077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
25078 ac_header_preproc=yes
25081 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
25082 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
25083 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
25084 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
25085 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
25086 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
25087 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
25088 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
25089 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
25090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
25091 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
25092 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
25094 ## ---------------------------------------------------------------------- ##
25095 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
25096 ## ---------------------------------------------------------------------- ##
25098 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25101 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25102 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25103 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25104 echo $ECHO_N "(cached
) $ECHO_C" >&6
25106 eval "$as_ac_Header=\
$ac_header_preproc"
25108 ac_res=`eval echo '${'$as_ac_Header'}'`
25109 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25110 echo "${ECHO_T}$ac_res" >&6; }
25113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25114 cat >>confdefs.h <<_ACEOF
25115 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25122 if test "x
$FBDEV" = xyes; then
25132 for ac_header in asm/mtrr.h
25134 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
25135 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25136 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25137 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25138 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25139 echo $ECHO_N "(cached
) $ECHO_C" >&6
25141 ac_res=`eval echo '${'$as_ac_Header'}'`
25142 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25143 echo "${ECHO_T}$ac_res" >&6; }
25145 # Is the header compilable?
25146 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
25147 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
25148 cat >conftest.$ac_ext <<_ACEOF
25151 cat confdefs.h >>conftest.$ac_ext
25152 cat >>conftest.$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25154 $ac_includes_default
25155 #include <$ac_header>
25157 rm -f conftest.$ac_objext
25158 if { (ac_try="$ac_compile"
25159 case "(($ac_try" in
25160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25161 *) ac_try_echo=$ac_try;;
25163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25164 (eval "$ac_compile") 2>conftest.er1
25166 grep -v '^ *+' conftest.er1 >conftest.err
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25170 (exit $ac_status); } && {
25171 test -z "$ac_c_werror_flag" ||
25172 test ! -s conftest.err
25173 } && test -s conftest.$ac_objext; then
25174 ac_header_compiler=yes
25176 echo "$as_me: failed program was
:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25179 ac_header_compiler=no
25182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25183 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25184 echo "${ECHO_T}$ac_header_compiler" >&6; }
25186 # Is the header present?
25187 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
25188 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
25189 cat >conftest.$ac_ext <<_ACEOF
25192 cat confdefs.h >>conftest.$ac_ext
25193 cat >>conftest.$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195 #include <$ac_header>
25197 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25198 case "(($ac_try" in
25199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25200 *) ac_try_echo=$ac_try;;
25202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25203 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25205 grep -v '^ *+' conftest.er1 >conftest.err
25207 cat conftest.err >&5
25208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25209 (exit $ac_status); } >/dev/null && {
25210 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25211 test ! -s conftest.err
25213 ac_header_preproc=yes
25215 echo "$as_me: failed program was
:" >&5
25216 sed 's/^/| /' conftest.$ac_ext >&5
25218 ac_header_preproc=no
25221 rm -f conftest.err conftest.$ac_ext
25222 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25223 echo "${ECHO_T}$ac_header_preproc" >&6; }
25225 # So? What about this header?
25226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25228 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
25229 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25230 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
25231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
25232 ac_header_preproc=yes
25235 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
25236 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
25237 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
25238 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
25239 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
25240 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
25241 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
25242 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
25243 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
25244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
25245 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
25246 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
25248 ## ---------------------------------------------------------------------- ##
25249 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
25250 ## ---------------------------------------------------------------------- ##
25252 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25255 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25256 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25257 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25258 echo $ECHO_N "(cached
) $ECHO_C" >&6
25260 eval "$as_ac_Header=\
$ac_header_preproc"
25262 ac_res=`eval echo '${'$as_ac_Header'}'`
25263 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25264 echo "${ECHO_T}$ac_res" >&6; }
25267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25268 cat >>confdefs.h <<_ACEOF
25269 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25271 ac_cv_asm_mtrr_h=yes
25276 if test "x
$ac_cv_asm_mtrr_h" = xyes; then
25281 for ac_header in sys/memrange.h
25283 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
25284 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25285 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25286 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25287 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25288 echo $ECHO_N "(cached
) $ECHO_C" >&6
25290 ac_res=`eval echo '${'$as_ac_Header'}'`
25291 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25292 echo "${ECHO_T}$ac_res" >&6; }
25294 # Is the header compilable?
25295 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
25296 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
25297 cat >conftest.$ac_ext <<_ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303 $ac_includes_default
25304 #include <$ac_header>
25306 rm -f conftest.$ac_objext
25307 if { (ac_try="$ac_compile"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_compile") 2>conftest.er1
25315 grep -v '^ *+' conftest.er1 >conftest.err
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_c_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest.$ac_objext; then
25323 ac_header_compiler=yes
25325 echo "$as_me: failed program was
:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25328 ac_header_compiler=no
25331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25332 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25333 echo "${ECHO_T}$ac_header_compiler" >&6; }
25335 # Is the header present?
25336 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
25337 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
25338 cat >conftest.$ac_ext <<_ACEOF
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h. */
25344 #include <$ac_header>
25346 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25347 case "(($ac_try" in
25348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25349 *) ac_try_echo=$ac_try;;
25351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25352 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25354 grep -v '^ *+' conftest.er1 >conftest.err
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25358 (exit $ac_status); } >/dev/null && {
25359 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25360 test ! -s conftest.err
25362 ac_header_preproc=yes
25364 echo "$as_me: failed program was
:" >&5
25365 sed 's/^/| /' conftest.$ac_ext >&5
25367 ac_header_preproc=no
25370 rm -f conftest.err conftest.$ac_ext
25371 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25372 echo "${ECHO_T}$ac_header_preproc" >&6; }
25374 # So? What about this header?
25375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25377 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
25378 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25379 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
25380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
25381 ac_header_preproc=yes
25384 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
25385 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
25386 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
25387 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
25388 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
25389 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
25390 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
25391 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
25392 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
25393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
25394 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
25395 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
25397 ## ---------------------------------------------------------------------- ##
25398 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
25399 ## ---------------------------------------------------------------------- ##
25401 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25404 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25405 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25406 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25407 echo $ECHO_N "(cached
) $ECHO_C" >&6
25409 eval "$as_ac_Header=\
$ac_header_preproc"
25411 ac_res=`eval echo '${'$as_ac_Header'}'`
25412 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25413 echo "${ECHO_T}$ac_res" >&6; }
25416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25417 cat >>confdefs.h <<_ACEOF
25418 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25420 ac_cv_memrange_h=yes
25425 if test "x
$ac_cv_memrange_h" = xyes; then
25429 if test "x
$HAVE_MTRR" = xyes; then
25431 cat >>confdefs.h <<\_ACEOF
25432 #define HAS_MTRR_SUPPORT 1
25438 for ac_header in machine/mtrr.h
25440 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
25441 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25442 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25443 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25444 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25445 echo $ECHO_N "(cached
) $ECHO_C" >&6
25447 ac_res=`eval echo '${'$as_ac_Header'}'`
25448 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25449 echo "${ECHO_T}$ac_res" >&6; }
25451 # Is the header compilable?
25452 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
25453 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
25454 cat >conftest.$ac_ext <<_ACEOF
25457 cat confdefs.h >>conftest.$ac_ext
25458 cat >>conftest.$ac_ext <<_ACEOF
25459 /* end confdefs.h. */
25460 $ac_includes_default
25461 #include <$ac_header>
25463 rm -f conftest.$ac_objext
25464 if { (ac_try="$ac_compile"
25465 case "(($ac_try" in
25466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25467 *) ac_try_echo=$ac_try;;
25469 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25470 (eval "$ac_compile") 2>conftest.er1
25472 grep -v '^ *+' conftest.er1 >conftest.err
25474 cat conftest.err >&5
25475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25476 (exit $ac_status); } && {
25477 test -z "$ac_c_werror_flag" ||
25478 test ! -s conftest.err
25479 } && test -s conftest.$ac_objext; then
25480 ac_header_compiler=yes
25482 echo "$as_me: failed program was
:" >&5
25483 sed 's/^/| /' conftest.$ac_ext >&5
25485 ac_header_compiler=no
25488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25489 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25490 echo "${ECHO_T}$ac_header_compiler" >&6; }
25492 # Is the header present?
25493 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
25494 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
25495 cat >conftest.$ac_ext <<_ACEOF
25498 cat confdefs.h >>conftest.$ac_ext
25499 cat >>conftest.$ac_ext <<_ACEOF
25500 /* end confdefs.h. */
25501 #include <$ac_header>
25503 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25504 case "(($ac_try" in
25505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25506 *) ac_try_echo=$ac_try;;
25508 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25509 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25511 grep -v '^ *+' conftest.er1 >conftest.err
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25515 (exit $ac_status); } >/dev/null && {
25516 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25517 test ! -s conftest.err
25519 ac_header_preproc=yes
25521 echo "$as_me: failed program was
:" >&5
25522 sed 's/^/| /' conftest.$ac_ext >&5
25524 ac_header_preproc=no
25527 rm -f conftest.err conftest.$ac_ext
25528 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25529 echo "${ECHO_T}$ac_header_preproc" >&6; }
25531 # So? What about this header?
25532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25534 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
25535 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25536 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
25537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
25538 ac_header_preproc=yes
25541 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
25542 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
25543 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
25544 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
25545 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
25546 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
25547 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
25548 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
25549 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
25550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
25551 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
25552 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
25554 ## ---------------------------------------------------------------------- ##
25555 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
25556 ## ---------------------------------------------------------------------- ##
25558 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25561 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25562 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25563 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25564 echo $ECHO_N "(cached
) $ECHO_C" >&6
25566 eval "$as_ac_Header=\
$ac_header_preproc"
25568 ac_res=`eval echo '${'$as_ac_Header'}'`
25569 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25570 echo "${ECHO_T}$ac_res" >&6; }
25573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25574 cat >>confdefs.h <<_ACEOF
25575 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25577 ac_cv_machine_mtrr_h=yes
25582 if test "x
$ac_cv_machine_mtrr_h" = xyes; then
25584 cat >>confdefs.h <<\_ACEOF
25585 #define HAS_MTRR_BUILTIN 1
25591 for ac_header in sys/linker.h
25593 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
25594 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
25595 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
25596 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25597 echo $ECHO_N "(cached
) $ECHO_C" >&6
25599 cat >conftest.$ac_ext <<_ACEOF
25602 cat confdefs.h >>conftest.$ac_ext
25603 cat >>conftest.$ac_ext <<_ACEOF
25604 /* end confdefs.h. */
25605 #include <sys/param.h>
25607 #include <$ac_header>
25609 rm -f conftest.$ac_objext
25610 if { (ac_try="$ac_compile"
25611 case "(($ac_try" in
25612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25613 *) ac_try_echo=$ac_try;;
25615 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25616 (eval "$ac_compile") 2>conftest.er1
25618 grep -v '^ *+' conftest.er1 >conftest.err
25620 cat conftest.err >&5
25621 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25622 (exit $ac_status); } && {
25623 test -z "$ac_c_werror_flag" ||
25624 test ! -s conftest.err
25625 } && test -s conftest.$ac_objext; then
25626 eval "$as_ac_Header=yes"
25628 echo "$as_me: failed program was
:" >&5
25629 sed 's/^/| /' conftest.$ac_ext >&5
25631 eval "$as_ac_Header=no
"
25634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636 ac_res=`eval echo '${'$as_ac_Header'}'`
25637 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25638 echo "${ECHO_T}$ac_res" >&6; }
25639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25640 cat >>confdefs.h <<_ACEOF
25641 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
25643 ac_cv_sys_linker_h=yes
25645 ac_cv_sys_linker_h=no
25650 if test "x
$ac_cv_sys_linker_h" = xyes; then
25651 FREEBSD_KLDLOAD_TRUE=
25652 FREEBSD_KLDLOAD_FALSE='#'
25654 FREEBSD_KLDLOAD_TRUE='#'
25655 FREEBSD_KLDLOAD_FALSE=
25659 { echo "$as_me:$LINENO: checking
for SYSV IPC
" >&5
25660 echo $ECHO_N "checking
for SYSV IPC...
$ECHO_C" >&6; }
25661 if test "${ac_cv_sysv_ipc+set}" = set; then
25662 echo $ECHO_N "(cached
) $ECHO_C" >&6
25664 cat >conftest.$ac_ext <<_ACEOF
25667 cat confdefs.h >>conftest.$ac_ext
25668 cat >>conftest.$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25671 #include <sys/shm.h>
25679 id = shmget(IPC_PRIVATE, 512, SHM_W | SHM_R);
25680 if (id < 0) return -1;
25681 return shmctl(id, IPC_RMID, 0);
25687 rm -f conftest.$ac_objext conftest$ac_exeext
25688 if { (ac_try="$ac_link"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25691 *) ac_try_echo=$ac_try;;
25693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_link") 2>conftest.er1
25696 grep -v '^ *+' conftest.er1 >conftest.err
25698 cat conftest.err >&5
25699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25700 (exit $ac_status); } && {
25701 test -z "$ac_c_werror_flag" ||
25702 test ! -s conftest.err
25703 } && test -s conftest$ac_exeext &&
25704 $as_test_x conftest$ac_exeext; then
25707 echo "$as_me: failed program was
:" >&5
25708 sed 's/^/| /' conftest.$ac_ext >&5
25713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25714 conftest$ac_exeext conftest.$ac_ext
25716 { echo "$as_me:$LINENO: result
: $ac_cv_sysv_ipc" >&5
25717 echo "${ECHO_T}$ac_cv_sysv_ipc" >&6; }
25718 if test "x
$ac_cv_sysv_ipc" = xyes; then
25720 cat >>confdefs.h <<\_ACEOF
25721 #define HAVE_SYSV_IPC 1
25726 if test -c /dev/xf86 ; then
25728 cat >>confdefs.h <<\_ACEOF
25729 #define HAS_APERTURE_DRV 1
25734 if test "${ac_cv_header_execinfo_h+set}" = set; then
25735 { echo "$as_me:$LINENO: checking
for execinfo.h
" >&5
25736 echo $ECHO_N "checking
for execinfo.h...
$ECHO_C" >&6; }
25737 if test "${ac_cv_header_execinfo_h+set}" = set; then
25738 echo $ECHO_N "(cached
) $ECHO_C" >&6
25740 { echo "$as_me:$LINENO: result
: $ac_cv_header_execinfo_h" >&5
25741 echo "${ECHO_T}$ac_cv_header_execinfo_h" >&6; }
25743 # Is the header compilable?
25744 { echo "$as_me:$LINENO: checking execinfo.h usability
" >&5
25745 echo $ECHO_N "checking execinfo.h usability...
$ECHO_C" >&6; }
25746 cat >conftest.$ac_ext <<_ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 $ac_includes_default
25753 #include <execinfo.h>
25755 rm -f conftest.$ac_objext
25756 if { (ac_try="$ac_compile"
25757 case "(($ac_try" in
25758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25759 *) ac_try_echo=$ac_try;;
25761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25762 (eval "$ac_compile") 2>conftest.er1
25764 grep -v '^ *+' conftest.er1 >conftest.err
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25768 (exit $ac_status); } && {
25769 test -z "$ac_c_werror_flag" ||
25770 test ! -s conftest.err
25771 } && test -s conftest.$ac_objext; then
25772 ac_header_compiler=yes
25774 echo "$as_me: failed program was
:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25777 ac_header_compiler=no
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25782 echo "${ECHO_T}$ac_header_compiler" >&6; }
25784 # Is the header present?
25785 { echo "$as_me:$LINENO: checking execinfo.h presence
" >&5
25786 echo $ECHO_N "checking execinfo.h presence...
$ECHO_C" >&6; }
25787 cat >conftest.$ac_ext <<_ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793 #include <execinfo.h>
25795 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25803 grep -v '^ *+' conftest.er1 >conftest.err
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25807 (exit $ac_status); } >/dev/null && {
25808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25809 test ! -s conftest.err
25811 ac_header_preproc=yes
25813 echo "$as_me: failed program was
:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25816 ac_header_preproc=no
25819 rm -f conftest.err conftest.$ac_ext
25820 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25821 echo "${ECHO_T}$ac_header_preproc" >&6; }
25823 # So? What about this header?
25824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25826 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25827 echo "$as_me: WARNING
: execinfo.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25828 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: proceeding with the compiler
's result" >&5
25829 echo "$as_me: WARNING: execinfo.h: proceeding with the compiler's result
" >&2;}
25830 ac_header_preproc=yes
25833 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: present but cannot be compiled
" >&5
25834 echo "$as_me: WARNING
: execinfo.h
: present but cannot be compiled
" >&2;}
25835 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: check
for missing prerequisite headers?
" >&5
25836 echo "$as_me: WARNING
: execinfo.h
: check
for missing prerequisite headers?
" >&2;}
25837 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: see the Autoconf documentation
" >&5
25838 echo "$as_me: WARNING
: execinfo.h
: see the Autoconf documentation
" >&2;}
25839 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25840 echo "$as_me: WARNING
: execinfo.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25841 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: proceeding with the preprocessor
's result" >&5
25842 echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result
" >&2;}
25843 { echo "$as_me:$LINENO: WARNING
: execinfo.h
: in the future
, the compiler will take precedence
" >&5
25844 echo "$as_me: WARNING
: execinfo.h
: in the future
, the compiler will take precedence
" >&2;}
25846 ## ---------------------------------------------------------------------- ##
25847 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
25848 ## ---------------------------------------------------------------------- ##
25850 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
25853 { echo "$as_me:$LINENO: checking
for execinfo.h
" >&5
25854 echo $ECHO_N "checking
for execinfo.h...
$ECHO_C" >&6; }
25855 if test "${ac_cv_header_execinfo_h+set}" = set; then
25856 echo $ECHO_N "(cached
) $ECHO_C" >&6
25858 ac_cv_header_execinfo_h=$ac_header_preproc
25860 { echo "$as_me:$LINENO: result
: $ac_cv_header_execinfo_h" >&5
25861 echo "${ECHO_T}$ac_cv_header_execinfo_h" >&6; }
25864 if test $ac_cv_header_execinfo_h = yes; then
25866 { echo "$as_me:$LINENO: checking
for backtrace
in -lc" >&5
25867 echo $ECHO_N "checking
for backtrace
in -lc...
$ECHO_C" >&6; }
25868 if test "${ac_cv_lib_c_backtrace+set}" = set; then
25869 echo $ECHO_N "(cached
) $ECHO_C" >&6
25871 ac_check_lib_save_LIBS=$LIBS
25873 cat >conftest.$ac_ext <<_ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25880 /* Override any GCC internal prototype to avoid an error.
25881 Use char because int might match the return type of a GCC
25882 builtin and then its argument prototype would still apply. */
25890 return backtrace ();
25895 rm -f conftest.$ac_objext conftest$ac_exeext
25896 if { (ac_try="$ac_link"
25897 case "(($ac_try" in
25898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25899 *) ac_try_echo=$ac_try;;
25901 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25902 (eval "$ac_link") 2>conftest.er1
25904 grep -v '^ *+' conftest.er1 >conftest.err
25906 cat conftest.err >&5
25907 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25908 (exit $ac_status); } && {
25909 test -z "$ac_c_werror_flag" ||
25910 test ! -s conftest.err
25911 } && test -s conftest$ac_exeext &&
25912 $as_test_x conftest$ac_exeext; then
25913 ac_cv_lib_c_backtrace=yes
25915 echo "$as_me: failed program was
:" >&5
25916 sed 's/^/| /' conftest.$ac_ext >&5
25918 ac_cv_lib_c_backtrace=no
25921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25922 conftest$ac_exeext conftest.$ac_ext
25923 LIBS=$ac_check_lib_save_LIBS
25925 { echo "$as_me:$LINENO: result
: $ac_cv_lib_c_backtrace" >&5
25926 echo "${ECHO_T}$ac_cv_lib_c_backtrace" >&6; }
25927 if test $ac_cv_lib_c_backtrace = yes; then
25930 cat >>confdefs.h <<\_ACEOF
25931 #define HAVE_BACKTRACE 1
25935 cat >>confdefs.h <<\_ACEOF
25936 #define HAVE_EXECINFO_H 1
25947 DEFAULT_INT10="x86emu
"
25956 cat >>confdefs.h <<\_ACEOF
25957 #define USE_ALPHA_PIO 1
25969 darwin*) use_x86_asm="no
" ;;
25970 *linux*) DEFAULT_INT10=vm86 ;;
25971 *freebsd*) cat >>confdefs.h <<\_ACEOF
25972 #define USE_DEV_IO 1
25975 *netbsd*) cat >>confdefs.h <<\_ACEOF
25976 #define USE_I386_IOPL 1
25981 *openbsd*) cat >>confdefs.h <<\_ACEOF
25982 #define USE_I386_IOPL 1
25992 *freebsd*) DEFAULT_INT10=stub ;;
25996 xorg_loader_sparcmuldiv="yes"
25998 BSD_ARCH_SOURCES="sparc64_video.c ioperm_noop.c
"
26004 darwin*) use_x86_asm="no
" ;;
26006 cat >>confdefs.h <<\_ACEOF
26007 #define USE_DEV_IO 1
26011 cat >>confdefs.h <<\_ACEOF
26012 #define USE_I386_IOPL 1
26018 cat >>confdefs.h <<\_ACEOF
26019 #define USE_AMD64_IOPL 1
26028 if test "x
$ALPHA_VIDEO" = xyes; then
26030 ALPHA_VIDEO_FALSE='#'
26032 ALPHA_VIDEO_TRUE='#'
26036 if test "x
$ARM_VIDEO" = xyes; then
26038 ARM_VIDEO_FALSE='#'
26044 if test "x
$I386_VIDEO" = xyes; then
26046 I386_VIDEO_FALSE='#'
26048 I386_VIDEO_TRUE='#'
26052 if test "x
$PPC_VIDEO" = xyes; then
26054 PPC_VIDEO_FALSE='#'
26060 if test "x
$SPARC64_VIDEO" = xyes; then
26061 SPARC64_VIDEO_TRUE=
26062 SPARC64_VIDEO_FALSE='#'
26064 SPARC64_VIDEO_TRUE='#'
26065 SPARC64_VIDEO_FALSE=
26076 cat >>confdefs.h <<\_ACEOF
26077 #define CSRG_BASED 1
26082 cat >>confdefs.h <<\_ACEOF
26083 #define PCCONS_SUPPORT 1
26087 cat >>confdefs.h <<\_ACEOF
26088 #define PCVT_SUPPORT 1
26092 cat >>confdefs.h <<\_ACEOF
26093 #define SYSCONS_SUPPORT 1
26100 cat >>confdefs.h <<\_ACEOF
26101 #define CSRG_BASED 1
26105 cat >>confdefs.h <<\_ACEOF
26106 #define PCCONS_SUPPORT 1
26110 cat >>confdefs.h <<\_ACEOF
26111 #define PCVT_SUPPORT 1
26115 cat >>confdefs.h <<\_ACEOF
26116 #define WSCONS_SUPPORT 1
26123 cat >>confdefs.h <<\_ACEOF
26124 #define CSRG_BASED 1
26128 cat >>confdefs.h <<\_ACEOF
26129 #define PCVT_SUPPORT 1
26133 cat >>confdefs.h <<\_ACEOF
26134 #define WSCONS_SUPPORT 1
26143 if test -n "$PKG_CONFIG" && \
26144 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libdrm
\"") >&5
26145 ($PKG_CONFIG --exists --print-errors "libdrm
") 2>&5
26147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26148 (exit $ac_status); }; then
26155 if test "x
$KDRIVE_HW" = xyes; then
26157 KDRIVE_HW_FALSE='#'
26166 # Check whether --with-release-version was given.
26167 if test "${with_release_version+set}" = set; then
26168 withval=$with_release_version; RELEASE_VERSION="$withval"
26173 if test "x
$RELEASE_VERSION" != "x
"; then
26174 PACKAGE="$PACKAGE-$RELEASE_VERSION"
26175 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
26176 { echo "$as_me:$LINENO: Building with package name
set to
$PACKAGE" >&5
26177 echo "$as_me: Building with package name
set to
$PACKAGE" >&6;}
26180 cat >>confdefs.h <<_ACEOF
26181 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
26184 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
26185 if test "x
$PVM" = "x
"; then
26189 cat >>confdefs.h <<_ACEOF
26190 #define PACKAGE_VERSION_MINOR $PVM
26193 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
26194 if test "x
$PVP" = "x
"; then
26198 cat >>confdefs.h <<_ACEOF
26199 #define PACKAGE_VERSION_PATCHLEVEL $PVP
26203 PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1`
26204 PVS=`echo $PACKAGE_VERSION | cut -d . -f 4`
26205 if test "x
$PVS" = "x
"; then
26209 VENDOR_RELEASE="((($PVMAJOR) * 10000000) + (($PVM) * 100000) + (($PVP) * 1000) + $PVS)"
26210 VENDOR_MAN_VERSION="Version
${PACKAGE_VERSION}"
26212 VENDOR_NAME="The X.Org Foundation
"
26213 VENDOR_NAME_SHORT="X.Org
"
26214 RELEASE_DATE="5 September
2007"
26215 VENDOR_WEB="http
://wiki.x.org
"
26219 # Check whether --enable-werror was given.
26220 if test "${enable_werror+set}" = set; then
26221 enableval=$enable_werror; WERROR=$enableval
26226 # Check whether --enable-debug was given.
26227 if test "${enable_debug+set}" = set; then
26228 enableval=$enable_debug; DEBUGGING=$enableval
26234 # Check whether --with-int10 was given.
26235 if test "${with_int10+set}" = set; then
26236 withval=$with_int10; INT10="$withval"
26238 INT10="$DEFAULT_INT10"
26242 # Check whether --with-vendor-name was given.
26243 if test "${with_vendor_name+set}" = set; then
26244 withval=$with_vendor_name; VENDOR_NAME="$withval"
26248 # Check whether --with-vendor-name-short was given.
26249 if test "${with_vendor_name_short+set}" = set; then
26250 withval=$with_vendor_name_short; VENDOR_NAME_SHORT="$withval"
26254 # Check whether --with-vendor-web was given.
26255 if test "${with_vendor_web+set}" = set; then
26256 withval=$with_vendor_web; VENDOR_WEB="$withval"
26260 # Check whether --with-module-dir was given.
26261 if test "${with_module_dir+set}" = set; then
26262 withval=$with_module_dir; moduledir="$withval"
26264 moduledir="${libdir}/xorg
/modules
"
26268 # Check whether --with-log-dir was given.
26269 if test "${with_log_dir+set}" = set; then
26270 withval=$with_log_dir; logdir="$withval"
26272 logdir="$localstatedir/log
"
26276 # Check whether --with-builder-addr was given.
26277 if test "${with_builder_addr+set}" = set; then
26278 withval=$with_builder_addr; BUILDERADDR="$withval"
26280 BUILDERADDR="xorg@lists.freedesktop.org
"
26284 # Check whether --with-os-name was given.
26285 if test "${with_os_name+set}" = set; then
26286 withval=$with_os_name; OSNAME="$withval"
26288 OSNAME=`uname -srm`
26292 # Check whether --with-os-vendor was given.
26293 if test "${with_os_vendor+set}" = set; then
26294 withval=$with_os_vendor; OSVENDOR="$withval"
26300 # Check whether --with-builderstring was given.
26301 if test "${with_builderstring+set}" = set; then
26302 withval=$with_builderstring; BUILDERSTRING="$withval"
26307 # Check whether --with-fontdir was given.
26308 if test "${with_fontdir+set}" = set; then
26309 withval=$with_fontdir; FONTDIR="$withval"
26311 FONTDIR="${libdir}/X11
/fonts
"
26314 DEFAULT_FONT_PATH="${FONTDIR}/misc/,${FONTDIR}/TTF/,${FONTDIR}/OTF,${FONTDIR}/Type1/,${FONTDIR}/100dpi/,${FONTDIR}/75dpi
/"
26316 # Check whether --with-default-font-path was given.
26317 if test "${with_default_font_path+set}" = set; then
26318 withval=$with_default_font_path; FONTPATH="$withval"
26320 FONTPATH="${DEFAULT_FONT_PATH}"
26324 # Check whether --with-xkb-path was given.
26325 if test "${with_xkb_path+set}" = set; then
26326 withval=$with_xkb_path; XKBPATH="$withval"
26328 XKBPATH="${datadir}/X11
/xkb
"
26332 # Check whether --with-xkb-output was given.
26333 if test "${with_xkb_output+set}" = set; then
26334 withval=$with_xkb_output; XKBOUTPUT="$withval"
26336 XKBOUTPUT="compiled
"
26340 # Check whether --with-rgb-path was given.
26341 if test "${with_rgb_path+set}" = set; then
26342 withval=$with_rgb_path; RGBPATH="$withval"
26344 RGBPATH="${datadir}/X11
/rgb
"
26348 # Check whether --with-serverconfig-path was given.
26349 if test "${with_serverconfig_path+set}" = set; then
26350 withval=$with_serverconfig_path; SERVERCONFIG="$withval"
26352 SERVERCONFIG="${libdir}/xserver
"
26355 APPLE_APPLICATIONS_DIR="${bindir}/Applications
"
26357 # Check whether --with-apple-applications-dir was given.
26358 if test "${with_apple_applications_dir+set}" = set; then
26359 withval=$with_apple_applications_dir; APPLE_APPLICATIONS_DIR="${withval}" .
26360 APPLE_APPLICATIONS_DIR="${bindir}/Applications
"
26363 # Check whether --enable-builddocs was given.
26364 if test "${enable_builddocs+set}" = set; then
26365 enableval=$enable_builddocs; BUILDDOCS=$enableval
26370 # Check whether --enable-install-libxf86config was given.
26371 if test "${enable_install_libxf86config+set}" = set; then
26372 enableval=$enable_install_libxf86config; INSTALL_LIBXF86CONFIG=$enableval
26374 INSTALL_LIBXF86CONFIG=no
26377 # Check whether --enable-builtin-fonts was given.
26378 if test "${enable_builtin_fonts+set}" = set; then
26379 enableval=$enable_builtin_fonts; BUILTIN_FONTS=$enableval
26384 # Check whether --enable-null-root-cursor was given.
26385 if test "${enable_null_root_cursor+set}" = set; then
26386 enableval=$enable_null_root_cursor; NULL_ROOT_CURSOR=$enableval
26388 NULL_ROOT_CURSOR=no
26393 # Check whether --with-mesa-source was given.
26394 if test "${with_mesa_source+set}" = set; then
26395 withval=$with_mesa_source; MESA_SOURCE="$withval"
26401 # Check whether --with-dri-driver-path was given.
26402 if test "${with_dri_driver_path+set}" = set; then
26403 withval=$with_dri_driver_path; DRI_DRIVER_PATH="$withval"
26405 DRI_DRIVER_PATH="${libdir}/dri
"
26408 # Check whether --enable-aiglx was given.
26409 if test "${enable_aiglx+set}" = set; then
26410 enableval=$enable_aiglx; AIGLX=$enableval
26415 # Check whether --enable-glx-tls was given.
26416 if test "${enable_glx_tls+set}" = set; then
26417 enableval=$enable_glx_tls; GLX_USE_TLS=$enableval
26423 # Check whether --enable-composite was given.
26424 if test "${enable_composite+set}" = set; then
26425 enableval=$enable_composite; COMPOSITE=$enableval
26430 # Check whether --enable-mitshm was given.
26431 if test "${enable_mitshm+set}" = set; then
26432 enableval=$enable_mitshm; MITSHM=$enableval
26437 # Check whether --enable-xres was given.
26438 if test "${enable_xres+set}" = set; then
26439 enableval=$enable_xres; RES=$enableval
26444 # Check whether --enable-xtrap was given.
26445 if test "${enable_xtrap+set}" = set; then
26446 enableval=$enable_xtrap; XTRAP=$enableval
26451 # Check whether --enable-record was given.
26452 if test "${enable_record+set}" = set; then
26453 enableval=$enable_record; RECORD=$enableval
26458 # Check whether --enable-xv was given.
26459 if test "${enable_xv+set}" = set; then
26460 enableval=$enable_xv; XV=$enableval
26465 # Check whether --enable-quartz was given.
26466 if test "${enable_quartz+set}" = set; then
26467 enableval=$enable_quartz; XQUARTZ=$enableval
26472 # Check whether --enable-xvmc was given.
26473 if test "${enable_xvmc+set}" = set; then
26474 enableval=$enable_xvmc; XVMC=$enableval
26479 # Check whether --enable-dga was given.
26480 if test "${enable_dga+set}" = set; then
26481 enableval=$enable_dga; DGA=$enableval
26486 # Check whether --enable-screensaver was given.
26487 if test "${enable_screensaver+set}" = set; then
26488 enableval=$enable_screensaver; SCREENSAVER=$enableval
26493 # Check whether --enable-xdmcp was given.
26494 if test "${enable_xdmcp+set}" = set; then
26495 enableval=$enable_xdmcp; XDMCP=$enableval
26500 # Check whether --enable-xdm-auth-1 was given.
26501 if test "${enable_xdm_auth_1+set}" = set; then
26502 enableval=$enable_xdm_auth_1; XDMAUTH=$enableval
26507 # Check whether --enable-glx was given.
26508 if test "${enable_glx+set}" = set; then
26509 enableval=$enable_glx; GLX=$enableval
26514 # Check whether --enable-dri was given.
26515 if test "${enable_dri+set}" = set; then
26516 enableval=$enable_dri; DRI=$enableval
26519 # Check whether --enable-xinerama was given.
26520 if test "${enable_xinerama+set}" = set; then
26521 enableval=$enable_xinerama; XINERAMA=$enableval
26526 # Check whether --enable-xf86vidmode was given.
26527 if test "${enable_xf86vidmode+set}" = set; then
26528 enableval=$enable_xf86vidmode; XF86VIDMODE=$enableval
26533 # Check whether --enable-xf86misc was given.
26534 if test "${enable_xf86misc+set}" = set; then
26535 enableval=$enable_xf86misc; XF86MISC=$enableval
26540 # Check whether --enable-xace was given.
26541 if test "${enable_xace+set}" = set; then
26542 enableval=$enable_xace; XACE=$enableval
26547 # Check whether --enable-xcsecurity was given.
26548 if test "${enable_xcsecurity+set}" = set; then
26549 enableval=$enable_xcsecurity; XCSECURITY=$enableval
26554 # Check whether --enable-appgroup was given.
26555 if test "${enable_appgroup+set}" = set; then
26556 enableval=$enable_appgroup; APPGROUP=$enableval
26558 APPGROUP=$XCSECURITY
26561 # Check whether --enable-xcalibrate was given.
26562 if test "${enable_xcalibrate+set}" = set; then
26563 enableval=$enable_xcalibrate; XCALIBRATE=$enableval
26568 # Check whether --enable-tslib was given.
26569 if test "${enable_tslib+set}" = set; then
26570 enableval=$enable_tslib; TSLIB=$enableval
26575 # Check whether --enable-xevie was given.
26576 if test "${enable_xevie+set}" = set; then
26577 enableval=$enable_xevie; XEVIE=$enableval
26582 # Check whether --enable-cup was given.
26583 if test "${enable_cup+set}" = set; then
26584 enableval=$enable_cup; CUP=$enableval
26589 # Check whether --enable-evi was given.
26590 if test "${enable_evi+set}" = set; then
26591 enableval=$enable_evi; EVI=$enableval
26596 # Check whether --enable-multibuffer was given.
26597 if test "${enable_multibuffer+set}" = set; then
26598 enableval=$enable_multibuffer; MULTIBUFFER=$enableval
26603 # Check whether --enable-fontcache was given.
26604 if test "${enable_fontcache+set}" = set; then
26605 enableval=$enable_fontcache; FONTCACHE=$enableval
26610 # Check whether --enable-dbe was given.
26611 if test "${enable_dbe+set}" = set; then
26612 enableval=$enable_dbe; DBE=$enableval
26617 # Check whether --enable-xf86bigfont was given.
26618 if test "${enable_xf86bigfont+set}" = set; then
26619 enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
26624 # Check whether --enable-dpms was given.
26625 if test "${enable_dpms+set}" = set; then
26626 enableval=$enable_dpms; DPMSExtension=$enableval
26631 # Check whether --enable-config-dbus was given.
26632 if test "${enable_config_dbus+set}" = set; then
26633 enableval=$enable_config_dbus; CONFIG_DBUS_API=$enableval
26638 # Check whether --enable-config-hal was given.
26639 if test "${enable_config_hal+set}" = set; then
26640 enableval=$enable_config_hal; CONFIG_HAL=$enableval
26645 # Check whether --enable-xfree86-utils was given.
26646 if test "${enable_xfree86_utils+set}" = set; then
26647 enableval=$enable_xfree86_utils; XF86UTILS=$enableval
26653 # Check whether --enable-xorg was given.
26654 if test "${enable_xorg+set}" = set; then
26655 enableval=$enable_xorg; XORG=$enableval
26660 # Check whether --enable-dmx was given.
26661 if test "${enable_dmx+set}" = set; then
26662 enableval=$enable_dmx; DMX=$enableval
26667 # Check whether --enable-xvfb was given.
26668 if test "${enable_xvfb+set}" = set; then
26669 enableval=$enable_xvfb; XVFB=$enableval
26674 # Check whether --enable-xnest was given.
26675 if test "${enable_xnest+set}" = set; then
26676 enableval=$enable_xnest; XNEST=$enableval
26681 # Check whether --enable-xwin was given.
26682 if test "${enable_xwin+set}" = set; then
26683 enableval=$enable_xwin; XWIN=$enableval
26688 # Check whether --enable-xprint was given.
26689 if test "${enable_xprint+set}" = set; then
26690 enableval=$enable_xprint; XPRINT=$enableval
26695 # Check whether --enable-xgl was given.
26696 if test "${enable_xgl+set}" = set; then
26697 enableval=$enable_xgl; XGL=$enableval
26702 # Check whether --enable-xglx was given.
26703 if test "${enable_xglx+set}" = set; then
26704 enableval=$enable_xglx; XGLX=$enableval
26709 # Check whether --enable-xegl was given.
26710 if test "${enable_xegl+set}" = set; then
26711 enableval=$enable_xegl; XEGL=$enableval
26716 # Check whether --enable-mfb was given.
26717 if test "${enable_mfb+set}" = set; then
26718 enableval=$enable_mfb; MFB=$enableval
26723 # Check whether --enable-cfb was given.
26724 if test "${enable_cfb+set}" = set; then
26725 enableval=$enable_cfb; CFB=$enableval
26730 # Check whether --enable-afb was given.
26731 if test "${enable_afb+set}" = set; then
26732 enableval=$enable_afb; AFB=$enableval
26737 # Check whether --enable-kdrive was given.
26738 if test "${enable_kdrive+set}" = set; then
26739 enableval=$enable_kdrive; KDRIVE=$enableval
26744 # Check whether --enable-xephyr was given.
26745 if test "${enable_xephyr+set}" = set; then
26746 enableval=$enable_xephyr; XEPHYR=$enableval
26751 # Check whether --enable-xsdl was given.
26752 if test "${enable_xsdl+set}" = set; then
26753 enableval=$enable_xsdl; XSDL=$enableval
26758 # Check whether --enable-xfake was given.
26759 if test "${enable_xfake+set}" = set; then
26760 enableval=$enable_xfake; XFAKE=$enableval
26765 # Check whether --enable-xfbdev was given.
26766 if test "${enable_xfbdev+set}" = set; then
26767 enableval=$enable_xfbdev; XFBDEV=$enableval
26772 # Check whether --enable-kdrive-vesa was given.
26773 if test "${enable_kdrive_vesa+set}" = set; then
26774 enableval=$enable_kdrive_vesa; KDRIVEVESA=$enableval
26779 # Check whether --enable-freetype was given.
26780 if test "${enable_freetype+set}" = set; then
26781 enableval=$enable_freetype; XP_USE_FREETYPE=$enableval
26787 # Check whether --with-freetype-config was given.
26788 if test "${with_freetype_config+set}" = set; then
26789 withval=$with_freetype_config; freetype_config=$withval
26791 freetype_config=auto
26796 # Check whether --enable-install-setuid was given.
26797 if test "${enable_install_setuid+set}" = set; then
26798 enableval=$enable_install_setuid; SETUID=$enableval
26803 { echo "$as_me:$LINENO: checking to see
if we can
install the Xorg server as root
" >&5
26804 echo $ECHO_N "checking to see
if we can
install the Xorg server as root...
$ECHO_C" >&6; }
26805 if test "x
$SETUID" = "xauto
" ; then
26807 darwin*) SETUID="no
" ;;
26810 sparc) SETUID="no
" ;;
26814 if test "x
$SETUID" = xyes; then
26816 chown root testfile > /dev/null 2>&1 || SETUID="no
"
26820 { echo "$as_me:$LINENO: result
: $SETUID" >&5
26821 echo "${ECHO_T}$SETUID" >&6; }
26822 if test "x
$SETUID" = "xyes
"; then
26823 INSTALL_SETUID_TRUE=
26824 INSTALL_SETUID_FALSE='#'
26826 INSTALL_SETUID_TRUE='#'
26827 INSTALL_SETUID_FALSE=
26833 # Transport selection macro from xtrans.m4
26837 # Check whether --enable-unix-transport was given.
26838 if test "${enable_unix_transport+set}" = set; then
26839 enableval=$enable_unix_transport; UNIXCONN=$enableval
26844 # Check whether --enable-tcp-transport was given.
26845 if test "${enable_tcp_transport+set}" = set; then
26846 enableval=$enable_tcp_transport; TCPCONN=$enableval
26851 { echo "$as_me:$LINENO: checking
if Xtrans should support UNIX socket connections
" >&5
26852 echo $ECHO_N "checking
if Xtrans should support UNIX socket connections...
$ECHO_C" >&6; }
26853 if test "$UNIXCONN" = "yes"; then
26855 cat >>confdefs.h <<\_ACEOF
26860 { echo "$as_me:$LINENO: result
: $UNIXCONN" >&5
26861 echo "${ECHO_T}$UNIXCONN" >&6; }
26862 { echo "$as_me:$LINENO: checking
if Xtrans should support TCP socket connections
" >&5
26863 echo $ECHO_N "checking
if Xtrans should support TCP socket connections...
$ECHO_C" >&6; }
26864 { echo "$as_me:$LINENO: result
: $TCPCONN" >&5
26865 echo "${ECHO_T}$TCPCONN" >&6; }
26866 if test "$TCPCONN" = "yes"; then
26868 cat >>confdefs.h <<\_ACEOF
26873 # SVR4 hides these in libraries other than libc
26874 { echo "$as_me:$LINENO: checking
for library containing socket
" >&5
26875 echo $ECHO_N "checking
for library containing socket...
$ECHO_C" >&6; }
26876 if test "${ac_cv_search_socket+set}" = set; then
26877 echo $ECHO_N "(cached
) $ECHO_C" >&6
26879 ac_func_search_save_LIBS=$LIBS
26880 cat >conftest.$ac_ext <<_ACEOF
26883 cat confdefs.h >>conftest.$ac_ext
26884 cat >>conftest.$ac_ext <<_ACEOF
26885 /* end confdefs.h. */
26887 /* Override any GCC internal prototype to avoid an error.
26888 Use char because int might match the return type of a GCC
26889 builtin and then its argument prototype would still apply. */
26902 for ac_lib in '' socket; do
26903 if test -z "$ac_lib"; then
26904 ac_res="none required
"
26907 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26909 rm -f conftest.$ac_objext conftest$ac_exeext
26910 if { (ac_try="$ac_link"
26911 case "(($ac_try" in
26912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26913 *) ac_try_echo=$ac_try;;
26915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26916 (eval "$ac_link") 2>conftest.er1
26918 grep -v '^ *+' conftest.er1 >conftest.err
26920 cat conftest.err >&5
26921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
26922 (exit $ac_status); } && {
26923 test -z "$ac_c_werror_flag" ||
26924 test ! -s conftest.err
26925 } && test -s conftest$ac_exeext &&
26926 $as_test_x conftest$ac_exeext; then
26927 ac_cv_search_socket=$ac_res
26929 echo "$as_me: failed program was
:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26937 if test "${ac_cv_search_socket+set}" = set; then
26941 if test "${ac_cv_search_socket+set}" = set; then
26944 ac_cv_search_socket=no
26946 rm conftest.$ac_ext
26947 LIBS=$ac_func_search_save_LIBS
26949 { echo "$as_me:$LINENO: result
: $ac_cv_search_socket" >&5
26950 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
26951 ac_res=$ac_cv_search_socket
26952 if test "$ac_res" != no; then
26953 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
26957 { echo "$as_me:$LINENO: checking
for library containing gethostbyname
" >&5
26958 echo $ECHO_N "checking
for library containing gethostbyname...
$ECHO_C" >&6; }
26959 if test "${ac_cv_search_gethostbyname+set}" = set; then
26960 echo $ECHO_N "(cached
) $ECHO_C" >&6
26962 ac_func_search_save_LIBS=$LIBS
26963 cat >conftest.$ac_ext <<_ACEOF
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26970 /* Override any GCC internal prototype to avoid an error.
26971 Use char because int might match the return type of a GCC
26972 builtin and then its argument prototype would still apply. */
26976 char gethostbyname ();
26980 return gethostbyname ();
26985 for ac_lib in '' nsl; do
26986 if test -z "$ac_lib"; then
26987 ac_res="none required
"
26990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26992 rm -f conftest.$ac_objext conftest$ac_exeext
26993 if { (ac_try="$ac_link"
26994 case "(($ac_try" in
26995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26996 *) ac_try_echo=$ac_try;;
26998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
26999 (eval "$ac_link") 2>conftest.er1
27001 grep -v '^ *+' conftest.er1 >conftest.err
27003 cat conftest.err >&5
27004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27005 (exit $ac_status); } && {
27006 test -z "$ac_c_werror_flag" ||
27007 test ! -s conftest.err
27008 } && test -s conftest$ac_exeext &&
27009 $as_test_x conftest$ac_exeext; then
27010 ac_cv_search_gethostbyname=$ac_res
27012 echo "$as_me: failed program was
:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27020 if test "${ac_cv_search_gethostbyname+set}" = set; then
27024 if test "${ac_cv_search_gethostbyname+set}" = set; then
27027 ac_cv_search_gethostbyname=no
27029 rm conftest.$ac_ext
27030 LIBS=$ac_func_search_save_LIBS
27032 { echo "$as_me:$LINENO: result
: $ac_cv_search_gethostbyname" >&5
27033 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
27034 ac_res=$ac_cv_search_gethostbyname
27035 if test "$ac_res" != no; then
27036 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
27041 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
27042 # Check whether --enable-ipv6 was given.
27043 if test "${enable_ipv6+set}" = set; then
27044 enableval=$enable_ipv6; IPV6CONN=$enableval
27046 { echo "$as_me:$LINENO: checking
for getaddrinfo
" >&5
27047 echo $ECHO_N "checking
for getaddrinfo...
$ECHO_C" >&6; }
27048 if test "${ac_cv_func_getaddrinfo+set}" = set; then
27049 echo $ECHO_N "(cached
) $ECHO_C" >&6
27051 cat >conftest.$ac_ext <<_ACEOF
27054 cat confdefs.h >>conftest.$ac_ext
27055 cat >>conftest.$ac_ext <<_ACEOF
27056 /* end confdefs.h. */
27057 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
27058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27059 #define getaddrinfo innocuous_getaddrinfo
27061 /* System header to define __stub macros and hopefully few prototypes,
27062 which can conflict with char getaddrinfo (); below.
27063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27064 <limits.h> exists even on freestanding compilers. */
27067 # include <limits.h>
27069 # include <assert.h>
27074 /* Override any GCC internal prototype to avoid an error.
27075 Use char because int might match the return type of a GCC
27076 builtin and then its argument prototype would still apply. */
27080 char getaddrinfo ();
27081 /* The GNU C library defines this for functions which it implements
27082 to always fail with ENOSYS. Some functions are actually named
27083 something starting with __ and the normal name is an alias. */
27084 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
27091 return getaddrinfo ();
27096 rm -f conftest.$ac_objext conftest$ac_exeext
27097 if { (ac_try="$ac_link"
27098 case "(($ac_try" in
27099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27100 *) ac_try_echo=$ac_try;;
27102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27103 (eval "$ac_link") 2>conftest.er1
27105 grep -v '^ *+' conftest.er1 >conftest.err
27107 cat conftest.err >&5
27108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27109 (exit $ac_status); } && {
27110 test -z "$ac_c_werror_flag" ||
27111 test ! -s conftest.err
27112 } && test -s conftest$ac_exeext &&
27113 $as_test_x conftest$ac_exeext; then
27114 ac_cv_func_getaddrinfo=yes
27116 echo "$as_me: failed program was
:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27119 ac_cv_func_getaddrinfo=no
27122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27123 conftest$ac_exeext conftest.$ac_ext
27125 { echo "$as_me:$LINENO: result
: $ac_cv_func_getaddrinfo" >&5
27126 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
27127 if test $ac_cv_func_getaddrinfo = yes; then
27135 { echo "$as_me:$LINENO: checking
if IPv6 support should be built
" >&5
27136 echo $ECHO_N "checking
if IPv6 support should be built...
$ECHO_C" >&6; }
27137 if test "$IPV6CONN" = "yes"; then
27139 cat >>confdefs.h <<\_ACEOF
27144 { echo "$as_me:$LINENO: result
: $IPV6CONN" >&5
27145 echo "${ECHO_T}$IPV6CONN" >&6; }
27147 # 4.3BSD-Reno added a new member to struct sockaddr_in
27148 { echo "$as_me:$LINENO: checking
for struct sockaddr_in.sin_len
" >&5
27149 echo $ECHO_N "checking
for struct sockaddr_in.sin_len...
$ECHO_C" >&6; }
27150 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
27151 echo $ECHO_N "(cached
) $ECHO_C" >&6
27153 cat >conftest.$ac_ext <<_ACEOF
27156 cat confdefs.h >>conftest.$ac_ext
27157 cat >>conftest.$ac_ext <<_ACEOF
27158 /* end confdefs.h. */
27160 #include <sys/types.h>
27161 #include <sys/socket.h>
27162 #include <netinet/in.h>
27168 static struct sockaddr_in ac_aggr;
27169 if (ac_aggr.sin_len)
27175 rm -f conftest.$ac_objext
27176 if { (ac_try="$ac_compile"
27177 case "(($ac_try" in
27178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27179 *) ac_try_echo=$ac_try;;
27181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27182 (eval "$ac_compile") 2>conftest.er1
27184 grep -v '^ *+' conftest.er1 >conftest.err
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27188 (exit $ac_status); } && {
27189 test -z "$ac_c_werror_flag" ||
27190 test ! -s conftest.err
27191 } && test -s conftest.$ac_objext; then
27192 ac_cv_member_struct_sockaddr_in_sin_len=yes
27194 echo "$as_me: failed program was
:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27197 cat >conftest.$ac_ext <<_ACEOF
27200 cat confdefs.h >>conftest.$ac_ext
27201 cat >>conftest.$ac_ext <<_ACEOF
27202 /* end confdefs.h. */
27204 #include <sys/types.h>
27205 #include <sys/socket.h>
27206 #include <netinet/in.h>
27212 static struct sockaddr_in ac_aggr;
27213 if (sizeof ac_aggr.sin_len)
27219 rm -f conftest.$ac_objext
27220 if { (ac_try="$ac_compile"
27221 case "(($ac_try" in
27222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27223 *) ac_try_echo=$ac_try;;
27225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27226 (eval "$ac_compile") 2>conftest.er1
27228 grep -v '^ *+' conftest.er1 >conftest.err
27230 cat conftest.err >&5
27231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27232 (exit $ac_status); } && {
27233 test -z "$ac_c_werror_flag" ||
27234 test ! -s conftest.err
27235 } && test -s conftest.$ac_objext; then
27236 ac_cv_member_struct_sockaddr_in_sin_len=yes
27238 echo "$as_me: failed program was
:" >&5
27239 sed 's/^/| /' conftest.$ac_ext >&5
27241 ac_cv_member_struct_sockaddr_in_sin_len=no
27244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249 { echo "$as_me:$LINENO: result
: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
27250 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
27251 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
27253 cat >>confdefs.h <<\_ACEOF
27254 #define BSD44SOCKETS 1
27262 solaris*|sco*|sysv4*) localdef="yes" ;;
27263 *) localdef="no
" ;;
27265 # Check whether --enable-local-transport was given.
27266 if test "${enable_local_transport+set}" = set; then
27267 enableval=$enable_local_transport; LOCALCONN=$enableval
27269 LOCALCONN=$localdef
27272 { echo "$as_me:$LINENO: checking
if Xtrans should support os-specific
local connections
" >&5
27273 echo $ECHO_N "checking
if Xtrans should support os-specific
local connections...
$ECHO_C" >&6; }
27274 { echo "$as_me:$LINENO: result
: $LOCALCONN" >&5
27275 echo "${ECHO_T}$LOCALCONN" >&6; }
27276 if test "$LOCALCONN" = "yes"; then
27278 cat >>confdefs.h <<\_ACEOF
27279 #define LOCALCONN 1
27286 # Secure RPC detection macro from xtrans.m4
27288 # Check whether --enable-secure-rpc was given.
27289 if test "${enable_secure_rpc+set}" = set; then
27290 enableval=$enable_secure_rpc; SECURE_RPC=$enableval
27296 if test "x
$SECURE_RPC" = "xyes
" -o "x
$SECURE_RPC" = "xtry
" ; then
27297 FOUND_SECURE_RPC="no
"
27300 for ac_func in authdes_seccreate authdes_create
27302 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
27303 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
27304 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
27305 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
27306 echo $ECHO_N "(cached
) $ECHO_C" >&6
27308 cat >conftest.$ac_ext <<_ACEOF
27311 cat confdefs.h >>conftest.$ac_ext
27312 cat >>conftest.$ac_ext <<_ACEOF
27313 /* end confdefs.h. */
27314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27316 #define $ac_func innocuous_$ac_func
27318 /* System header to define __stub macros and hopefully few prototypes,
27319 which can conflict with char $ac_func (); below.
27320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27321 <limits.h> exists even on freestanding compilers. */
27324 # include <limits.h>
27326 # include <assert.h>
27331 /* Override any GCC internal prototype to avoid an error.
27332 Use char because int might match the return type of a GCC
27333 builtin and then its argument prototype would still apply. */
27338 /* The GNU C library defines this for functions which it implements
27339 to always fail with ENOSYS. Some functions are actually named
27340 something starting with __ and the normal name is an alias. */
27341 #if defined __stub_$ac_func || defined __stub___$ac_func
27348 return $ac_func ();
27353 rm -f conftest.$ac_objext conftest$ac_exeext
27354 if { (ac_try="$ac_link"
27355 case "(($ac_try" in
27356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27357 *) ac_try_echo=$ac_try;;
27359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27360 (eval "$ac_link") 2>conftest.er1
27362 grep -v '^ *+' conftest.er1 >conftest.err
27364 cat conftest.err >&5
27365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27366 (exit $ac_status); } && {
27367 test -z "$ac_c_werror_flag" ||
27368 test ! -s conftest.err
27369 } && test -s conftest$ac_exeext &&
27370 $as_test_x conftest$ac_exeext; then
27371 eval "$as_ac_var=yes"
27373 echo "$as_me: failed program was
:" >&5
27374 sed 's/^/| /' conftest.$ac_ext >&5
27376 eval "$as_ac_var=no
"
27379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27380 conftest$ac_exeext conftest.$ac_ext
27382 ac_res=`eval echo '${'$as_ac_var'}'`
27383 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27384 echo "${ECHO_T}$ac_res" >&6; }
27385 if test `eval echo '${'$as_ac_var'}'` = yes; then
27386 cat >>confdefs.h <<_ACEOF
27387 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
27389 FOUND_SECURE_RPC="yes"
27393 if test "x
$FOUND_SECURE_RPC" = "xno
" ; then
27394 if test "x
$SECURE_RPC" = "xyes
" ; then
27395 { { echo "$as_me:$LINENO: error
: Secure RPC requested
, but required functions not found
" >&5
27396 echo "$as_me: error
: Secure RPC requested
, but required functions not found
" >&2;}
27397 { (exit 1); exit 1; }; }
27401 { echo "$as_me:$LINENO: checking
for library containing getsecretkey
" >&5
27402 echo $ECHO_N "checking
for library containing getsecretkey...
$ECHO_C" >&6; }
27403 if test "${ac_cv_search_getsecretkey+set}" = set; then
27404 echo $ECHO_N "(cached
) $ECHO_C" >&6
27406 ac_func_search_save_LIBS=$LIBS
27407 cat >conftest.$ac_ext <<_ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27414 /* Override any GCC internal prototype to avoid an error.
27415 Use char because int might match the return type of a GCC
27416 builtin and then its argument prototype would still apply. */
27420 char getsecretkey ();
27424 return getsecretkey ();
27429 for ac_lib in '' rpcsvc; do
27430 if test -z "$ac_lib"; then
27431 ac_res="none required
"
27434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27436 rm -f conftest.$ac_objext conftest$ac_exeext
27437 if { (ac_try="$ac_link"
27438 case "(($ac_try" in
27439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27440 *) ac_try_echo=$ac_try;;
27442 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27443 (eval "$ac_link") 2>conftest.er1
27445 grep -v '^ *+' conftest.er1 >conftest.err
27447 cat conftest.err >&5
27448 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27449 (exit $ac_status); } && {
27450 test -z "$ac_c_werror_flag" ||
27451 test ! -s conftest.err
27452 } && test -s conftest$ac_exeext &&
27453 $as_test_x conftest$ac_exeext; then
27454 ac_cv_search_getsecretkey=$ac_res
27456 echo "$as_me: failed program was
:" >&5
27457 sed 's/^/| /' conftest.$ac_ext >&5
27462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27464 if test "${ac_cv_search_getsecretkey+set}" = set; then
27468 if test "${ac_cv_search_getsecretkey+set}" = set; then
27471 ac_cv_search_getsecretkey=no
27473 rm conftest.$ac_ext
27474 LIBS=$ac_func_search_save_LIBS
27476 { echo "$as_me:$LINENO: result
: $ac_cv_search_getsecretkey" >&5
27477 echo "${ECHO_T}$ac_cv_search_getsecretkey" >&6; }
27478 ac_res=$ac_cv_search_getsecretkey
27479 if test "$ac_res" != no; then
27480 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
27487 { echo "$as_me:$LINENO: checking
if Secure RPC authentication
(\"SUN-DES-1
\") should be supported
" >&5
27488 echo $ECHO_N "checking
if Secure RPC authentication
(\"SUN-DES-1
\") should be supported...
$ECHO_C" >&6; }
27489 if test "x
$SECURE_RPC" = "xyes
" ; then
27491 cat >>confdefs.h <<\_ACEOF
27492 #define SECURE_RPC 1
27496 { echo "$as_me:$LINENO: result
: $SECURE_RPC" >&5
27497 echo "${ECHO_T}$SECURE_RPC" >&6; }
27500 if test "x
$INT10" = xvm86; then
27502 INT10_VM86_FALSE='#'
27504 INT10_VM86_TRUE='#'
27508 if test "x
$INT10" = xx86emu; then
27510 INT10_X86EMU_FALSE='#'
27512 INT10_X86EMU_TRUE='#'
27513 INT10_X86EMU_FALSE=
27516 if test "x
$INT10" = xstub; then
27518 INT10_STUB_FALSE='#'
27520 INT10_STUB_TRUE='#'
27524 if test "x
$INT10" = xyes; then
27527 for ac_header in sys/vm86.h sys/io.h
27529 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
27530 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27531 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27532 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27533 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27534 echo $ECHO_N "(cached
) $ECHO_C" >&6
27536 ac_res=`eval echo '${'$as_ac_Header'}'`
27537 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27538 echo "${ECHO_T}$ac_res" >&6; }
27540 # Is the header compilable?
27541 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
27542 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
27543 cat >conftest.$ac_ext <<_ACEOF
27546 cat confdefs.h >>conftest.$ac_ext
27547 cat >>conftest.$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 $ac_includes_default
27550 #include <$ac_header>
27552 rm -f conftest.$ac_objext
27553 if { (ac_try="$ac_compile"
27554 case "(($ac_try" in
27555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_compile") 2>conftest.er1
27561 grep -v '^ *+' conftest.er1 >conftest.err
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27565 (exit $ac_status); } && {
27566 test -z "$ac_c_werror_flag" ||
27567 test ! -s conftest.err
27568 } && test -s conftest.$ac_objext; then
27569 ac_header_compiler=yes
27571 echo "$as_me: failed program was
:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27574 ac_header_compiler=no
27577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27578 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
27579 echo "${ECHO_T}$ac_header_compiler" >&6; }
27581 # Is the header present?
27582 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
27583 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
27584 cat >conftest.$ac_ext <<_ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 #include <$ac_header>
27592 if { (ac_try="$ac_cpp conftest.
$ac_ext"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
27600 grep -v '^ *+' conftest.er1 >conftest.err
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27604 (exit $ac_status); } >/dev/null && {
27605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27608 ac_header_preproc=yes
27610 echo "$as_me: failed program was
:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27613 ac_header_preproc=no
27616 rm -f conftest.err conftest.$ac_ext
27617 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
27618 echo "${ECHO_T}$ac_header_preproc" >&6; }
27620 # So? What about this header?
27621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27623 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
27624 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
27625 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
27626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
27627 ac_header_preproc=yes
27630 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
27631 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
27632 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
27633 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
27634 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
27635 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
27636 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
27637 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
27638 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
27639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
27640 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
27641 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
27643 ## ---------------------------------------------------------------------- ##
27644 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
27645 ## ---------------------------------------------------------------------- ##
27647 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
27650 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
27651 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
27652 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
27653 echo $ECHO_N "(cached
) $ECHO_C" >&6
27655 eval "$as_ac_Header=\
$ac_header_preproc"
27657 ac_res=`eval echo '${'$as_ac_Header'}'`
27658 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27659 echo "${ECHO_T}$ac_res" >&6; }
27662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27663 cat >>confdefs.h <<_ACEOF
27664 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
27673 if test "x
$BUILDDOCS" = xyes; then
27675 BUILDDOCS_FALSE='#'
27683 XORG_SGML_PATH=$prefix/share/sgml
27686 as_ac_File=`echo "ac_cv_file_
$XORG_SGML_PATH/X11
/defs.ent
" | $as_tr_sh`
27687 { echo "$as_me:$LINENO: checking
for $XORG_SGML_PATH/X11
/defs.ent
" >&5
27688 echo $ECHO_N "checking
for $XORG_SGML_PATH/X11
/defs.ent...
$ECHO_C" >&6; }
27689 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
27690 echo $ECHO_N "(cached
) $ECHO_C" >&6
27692 test "$cross_compiling" = yes &&
27693 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
27694 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
27695 { (exit 1); exit 1; }; }
27696 if test -r "$XORG_SGML_PATH/X11
/defs.ent
"; then
27697 eval "$as_ac_File=yes"
27699 eval "$as_ac_File=no
"
27702 ac_res=`eval echo '${'$as_ac_File'}'`
27703 { echo "$as_me:$LINENO: result
: $ac_res" >&5
27704 echo "${ECHO_T}$ac_res" >&6; }
27705 if test `eval echo '${'$as_ac_File'}'` = yes; then
27710 # Extract the first word of "linuxdoc
", so it can be a program name with args.
27711 set dummy linuxdoc; ac_word=$2
27712 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27713 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27714 if test "${ac_cv_path_LINUXDOC+set}" = set; then
27715 echo $ECHO_N "(cached
) $ECHO_C" >&6
27719 ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
27722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27726 test -z "$as_dir" && as_dir=.
27727 for ac_exec_ext in '' $ac_executable_extensions; do
27728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27729 ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
27730 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27740 LINUXDOC=$ac_cv_path_LINUXDOC
27741 if test -n "$LINUXDOC"; then
27742 { echo "$as_me:$LINENO: result
: $LINUXDOC" >&5
27743 echo "${ECHO_T}$LINUXDOC" >&6; }
27745 { echo "$as_me:$LINENO: result
: no
" >&5
27746 echo "${ECHO_T}no
" >&6; }
27750 # Extract the first word of "ps2pdf
", so it can be a program name with args.
27751 set dummy ps2pdf; ac_word=$2
27752 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
27753 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
27754 if test "${ac_cv_path_PS2PDF+set}" = set; then
27755 echo $ECHO_N "(cached
) $ECHO_C" >&6
27759 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
27762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27763 for as_dir in $PATH
27766 test -z "$as_dir" && as_dir=.
27767 for ac_exec_ext in '' $ac_executable_extensions; do
27768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27769 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
27770 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
27780 PS2PDF=$ac_cv_path_PS2PDF
27781 if test -n "$PS2PDF"; then
27782 { echo "$as_me:$LINENO: result
: $PS2PDF" >&5
27783 echo "${ECHO_T}$PS2PDF" >&6; }
27785 { echo "$as_me:$LINENO: result
: no
" >&5
27786 echo "${ECHO_T}no
" >&6; }
27791 { echo "$as_me:$LINENO: checking Whether to build documentation
" >&5
27792 echo $ECHO_N "checking Whether to build documentation...
$ECHO_C" >&6; }
27794 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
27800 if test x$BUILDDOC = xyes; then
27801 BUILD_LINUXDOC_TRUE=
27802 BUILD_LINUXDOC_FALSE='#'
27804 BUILD_LINUXDOC_TRUE='#'
27805 BUILD_LINUXDOC_FALSE=
27809 { echo "$as_me:$LINENO: result
: $BUILDDOC" >&5
27810 echo "${ECHO_T}$BUILDDOC" >&6; }
27812 { echo "$as_me:$LINENO: checking Whether to build pdf documentation
" >&5
27813 echo $ECHO_N "checking Whether to build pdf documentation...
$ECHO_C" >&6; }
27815 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
27821 if test x$BUILDPDFDOC = xyes; then
27823 BUILD_PDFDOC_FALSE='#'
27825 BUILD_PDFDOC_TRUE='#'
27826 BUILD_PDFDOC_FALSE=
27830 { echo "$as_me:$LINENO: result
: $BUILDPDFDOC" >&5
27831 echo "${ECHO_T}$BUILDPDFDOC" >&6; }
27833 MAKE_TEXT="SGML_SEARCH_PATH
=$XORG_SGML_PATH GROFF_NO_SGR
=y
$LINUXDOC -B txt
"
27834 MAKE_PS="SGML_SEARCH_PATH
=$XORG_SGML_PATH $LINUXDOC -B latex
--papersize=letter
--output=ps
"
27836 MAKE_HTML="SGML_SEARCH_PATH
=$XORG_SGML_PATH $LINUXDOC -B html
--split=0"
27844 if test "x
$INSTALL_LIBXF86CONFIG" = xyes; then
27845 INSTALL_LIBXF86CONFIG_TRUE=
27846 INSTALL_LIBXF86CONFIG_FALSE='#'
27848 INSTALL_LIBXF86CONFIG_TRUE='#'
27849 INSTALL_LIBXF86CONFIG_FALSE=
27853 XEXT_INC='-I$(top_srcdir)/Xext'
27854 XEXT_LIB='$(top_builddir)/Xext/libXext.la'
27855 XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la'
27857 PIXMAN="pixman-1
>= 0.9.5"
27860 { echo "$as_me:$LINENO: checking
for PIXMAN
" >&5
27861 echo $ECHO_N "checking
for PIXMAN...
$ECHO_C" >&6; }
27863 if test -n "$PKG_CONFIG"; then
27864 if test -n "$PIXMAN_CFLAGS"; then
27865 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
27867 if test -n "$PKG_CONFIG" && \
27868 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$PIXMAN\"") >&5
27869 ($PKG_CONFIG --exists --print-errors "$PIXMAN") 2>&5
27871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27872 (exit $ac_status); }; then
27873 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "$PIXMAN" 2>/dev/null`
27881 if test -n "$PKG_CONFIG"; then
27882 if test -n "$PIXMAN_LIBS"; then
27883 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
27885 if test -n "$PKG_CONFIG" && \
27886 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$PIXMAN\"") >&5
27887 ($PKG_CONFIG --exists --print-errors "$PIXMAN") 2>&5
27889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27890 (exit $ac_status); }; then
27891 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "$PIXMAN" 2>/dev/null`
27902 if test $pkg_failed = yes; then
27904 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27905 _pkg_short_errors_supported=yes
27907 _pkg_short_errors_supported=no
27909 if test $_pkg_short_errors_supported = yes; then
27910 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$PIXMAN"`
27912 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$PIXMAN"`
27914 # Put the nasty error message in config.log where it belongs
27915 echo "$PIXMAN_PKG_ERRORS" >&5
27917 { { echo "$as_me:$LINENO: error
: Package requirements
($PIXMAN) were not met
:
27921 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
27922 installed software
in a non-standard prefix.
27924 Alternatively
, you may
set the environment variables PIXMAN_CFLAGS
27925 and PIXMAN_LIBS to avoid the need to call pkg-config.
27926 See the pkg-config man page
for more details.
27928 echo "$as_me: error
: Package requirements
($PIXMAN) were not met
:
27932 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
27933 installed software
in a non-standard prefix.
27935 Alternatively
, you may
set the environment variables PIXMAN_CFLAGS
27936 and PIXMAN_LIBS to avoid the need to call pkg-config.
27937 See the pkg-config man page
for more details.
27939 { (exit 1); exit 1; }; }
27940 elif test $pkg_failed = untried; then
27941 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
27942 is
in your PATH or
set the PKG_CONFIG environment variable to the full
27943 path to pkg-config.
27945 Alternatively
, you may
set the environment variables PIXMAN_CFLAGS
27946 and PIXMAN_LIBS to avoid the need to call pkg-config.
27947 See the pkg-config man page
for more details.
27949 To get pkg-config
, see
<http
://www.freedesktop.org
/software
/pkgconfig
>.
27950 See \
`config.log' for more details." >&5
27951 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
27952 is in your PATH or set the PKG_CONFIG environment variable to the full
27953 path to pkg-config.
27955 Alternatively, you may set the environment variables PIXMAN_CFLAGS
27956 and PIXMAN_LIBS to avoid the need to call pkg-config.
27957 See the pkg-config man page for more details.
27959 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
27960 See \`config.log
' for more details." >&2;}
27961 { (exit 1); exit 1; }; }
27963 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
27964 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
27965 { echo "$as_me:$LINENO: result: yes" >&5
27966 echo "${ECHO_T}yes" >&6; }
27971 # Require updated renderproto for ABI sanity if we're
64-bit.
27972 if test "$ac_cv_sizeof_unsigned_long" = 8; then
27973 RENDERPROTO
="renderproto >= 0.9.3"
27975 RENDERPROTO
="renderproto"
27977 REQUIRED_MODULES
="randrproto >= 1.2 $RENDERPROTO fixesproto >= 4.0 damageproto >= 1.1 xcmiscproto xextproto xproto >= 7.0.9 xtrans scrnsaverproto >= 1.1 bigreqsproto resourceproto fontsproto inputproto >= 1.4.2 kbproto >= 1.0.3"
27978 REQUIRED_LIBS
="xfont xau fontenc $PIXMAN"
27982 { echo "$as_me:$LINENO: checking for DBUS" >&5
27983 echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; }
27985 if test -n "$PKG_CONFIG"; then
27986 if test -n "$DBUS_CFLAGS"; then
27987 pkg_cv_DBUS_CFLAGS
="$DBUS_CFLAGS"
27989 if test -n "$PKG_CONFIG" && \
27990 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
27991 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); }; then
27995 pkg_cv_DBUS_CFLAGS
=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
28003 if test -n "$PKG_CONFIG"; then
28004 if test -n "$DBUS_LIBS"; then
28005 pkg_cv_DBUS_LIBS
="$DBUS_LIBS"
28007 if test -n "$PKG_CONFIG" && \
28008 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5
28009 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; then
28013 pkg_cv_DBUS_LIBS
=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
28024 if test $pkg_failed = yes; then
28026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28027 _pkg_short_errors_supported
=yes
28029 _pkg_short_errors_supported
=no
28031 if test $_pkg_short_errors_supported = yes; then
28032 DBUS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"`
28034 DBUS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"`
28036 # Put the nasty error message in config.log where it belongs
28037 echo "$DBUS_PKG_ERRORS" >&5
28039 { echo "$as_me:$LINENO: result: no" >&5
28040 echo "${ECHO_T}no" >&6; }
28042 elif test $pkg_failed = untried
; then
28045 DBUS_CFLAGS
=$pkg_cv_DBUS_CFLAGS
28046 DBUS_LIBS
=$pkg_cv_DBUS_LIBS
28047 { echo "$as_me:$LINENO: result: yes" >&5
28048 echo "${ECHO_T}yes" >&6; }
28051 if test "x$HAVE_DBUS" = xyes
; then
28053 cat >>confdefs.h
<<\_ACEOF
28054 #define HAVE_DBUS 1
28058 if test "x$HAVE_DBUS" = xyes
; then
28060 HAVE_DBUS_FALSE
='#'
28067 if test "x$CONFIG_DBUS_API" = xauto
; then
28068 CONFIG_DBUS_API
="$HAVE_DBUS"
28070 if test "x$CONFIG_DBUS_API" = xyes
; then
28071 if ! test "x$HAVE_DBUS" = xyes
; then
28072 { { echo "$as_me:$LINENO: error: D-Bus configuration API requested, but D-Bus is not installed." >&5
28073 echo "$as_me: error: D-Bus configuration API requested, but D-Bus is not installed." >&2;}
28074 { (exit 1); exit 1; }; }
28078 cat >>confdefs.h
<<\_ACEOF
28079 #define CONFIG_DBUS_API 1
28084 if test "x$CONFIG_DBUS_API" = xyes
; then
28085 CONFIG_DBUS_API_TRUE
=
28086 CONFIG_DBUS_API_FALSE
='#'
28088 CONFIG_DBUS_API_TRUE
='#'
28089 CONFIG_DBUS_API_FALSE
=
28095 { echo "$as_me:$LINENO: checking for HAL" >&5
28096 echo $ECHO_N "checking for HAL... $ECHO_C" >&6; }
28098 if test -n "$PKG_CONFIG"; then
28099 if test -n "$HAL_CFLAGS"; then
28100 pkg_cv_HAL_CFLAGS
="$HAL_CFLAGS"
28102 if test -n "$PKG_CONFIG" && \
28103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
28104 ($PKG_CONFIG --exists --print-errors "hal") 2>&5
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; then
28108 pkg_cv_HAL_CFLAGS
=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
28116 if test -n "$PKG_CONFIG"; then
28117 if test -n "$HAL_LIBS"; then
28118 pkg_cv_HAL_LIBS
="$HAL_LIBS"
28120 if test -n "$PKG_CONFIG" && \
28121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
28122 ($PKG_CONFIG --exists --print-errors "hal") 2>&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); }; then
28126 pkg_cv_HAL_LIBS
=`$PKG_CONFIG --libs "hal" 2>/dev/null`
28137 if test $pkg_failed = yes; then
28139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28140 _pkg_short_errors_supported
=yes
28142 _pkg_short_errors_supported
=no
28144 if test $_pkg_short_errors_supported = yes; then
28145 HAL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"`
28147 HAL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"`
28149 # Put the nasty error message in config.log where it belongs
28150 echo "$HAL_PKG_ERRORS" >&5
28152 { echo "$as_me:$LINENO: result: no" >&5
28153 echo "${ECHO_T}no" >&6; }
28155 elif test $pkg_failed = untried
; then
28158 HAL_CFLAGS
=$pkg_cv_HAL_CFLAGS
28159 HAL_LIBS
=$pkg_cv_HAL_LIBS
28160 { echo "$as_me:$LINENO: result: yes" >&5
28161 echo "${ECHO_T}yes" >&6; }
28164 if test "x$CONFIG_HAL" = xauto
; then
28165 CONFIG_HAL
="$HAVE_HAL"
28167 if test "x$CONFIG_HAL" = xyes
; then
28168 if ! test "x$HAVE_HAL" = xyes
; then
28169 { { echo "$as_me:$LINENO: error: HAL hotplug API requested, but HAL is not installed." >&5
28170 echo "$as_me: error: HAL hotplug API requested, but HAL is not installed." >&2;}
28171 { (exit 1); exit 1; }; }
28175 cat >>confdefs.h
<<\_ACEOF
28176 #define CONFIG_HAL 1
28179 REQUIRED_LIBS
="$REQUIRED_LIBS hal"
28182 if test "x$CONFIG_HAL" = xyes
; then
28184 CONFIG_HAL_FALSE
='#'
28186 CONFIG_HAL_TRUE
='#'
28191 if test "x$NEED_DBUS" = xyes
; then
28192 REQUIRED_LIBS
="$REQUIRED_LIBS dbus-1"
28194 CONFIG_LIB
='$(top_builddir)/config/libconfig.a'
28196 if test "x$XV" = xyes
; then
28204 if test "x$XV" = xyes
; then
28206 cat >>confdefs.h
<<\_ACEOF
28211 cat >>confdefs.h
<<\_ACEOF
28212 #define XvExtension 1
28215 REQUIRED_MODULES
="$REQUIRED_MODULES videoproto"
28220 if test "x$XVMC" = xyes
; then
28228 if test "x$XVMC" = xyes
; then
28230 cat >>confdefs.h
<<\_ACEOF
28231 #define XvMCExtension 1
28237 if test "x$COMPOSITE" = xyes
; then
28239 COMPOSITE_FALSE
='#'
28245 if test "x$COMPOSITE" = xyes
; then
28247 cat >>confdefs.h
<<\_ACEOF
28248 #define COMPOSITE 1
28251 REQUIRED_MODULES
="$REQUIRED_MODULES compositeproto >= 0.4"
28252 COMPOSITE_LIB
='$(top_builddir)/composite/libcomposite.la'
28253 COMPOSITE_INC
='-I$(top_srcdir)/composite'
28256 if test "x$MITSHM" = xyes
; then
28264 if test "x$MITSHM" = xyes
; then
28266 cat >>confdefs.h
<<\_ACEOF
28271 cat >>confdefs.h
<<\_ACEOF
28277 if test "x$XTRAP" = xyes
; then
28285 if test "x$XTRAP" = xyes
; then
28287 cat >>confdefs.h
<<\_ACEOF
28291 REQUIRED_MODULES
="$REQUIRED_MODULES trapproto"
28292 XTRAP_LIB
='$(top_builddir)/XTrap/libxtrap.la'
28295 if test "x$RECORD" = xyes
; then
28303 if test "x$RECORD" = xyes
; then
28305 cat >>confdefs.h
<<\_ACEOF
28309 REQUIRED_MODULES
="$REQUIRED_MODULES recordproto"
28310 RECORD_LIB
='$(top_builddir)/record/librecord.la'
28313 if test "x$SCREENSAVER" = xyes
; then
28315 SCREENSAVER_FALSE
='#'
28317 SCREENSAVER_TRUE
='#'
28321 if test "x$SCREENSAVER" = xyes
; then
28323 cat >>confdefs.h
<<\_ACEOF
28324 #define SCREENSAVER 1
28329 if test "x$RES" = xyes
; then
28337 if test "x$RES" = xyes
; then
28339 cat >>confdefs.h
<<\_ACEOF
28343 REQUIRED_MODULES
="$REQUIRED_MODULES resourceproto"
28346 if test "x$GLX" = xyes
&& ! test "x$MESA_SOURCE" = x
; then
28349 { echo "$as_me:$LINENO: checking for XLIB" >&5
28350 echo $ECHO_N "checking for XLIB... $ECHO_C" >&6; }
28352 if test -n "$PKG_CONFIG"; then
28353 if test -n "$XLIB_CFLAGS"; then
28354 pkg_cv_XLIB_CFLAGS
="$XLIB_CFLAGS"
28356 if test -n "$PKG_CONFIG" && \
28357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
28358 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; then
28362 pkg_cv_XLIB_CFLAGS
=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
28370 if test -n "$PKG_CONFIG"; then
28371 if test -n "$XLIB_LIBS"; then
28372 pkg_cv_XLIB_LIBS
="$XLIB_LIBS"
28374 if test -n "$PKG_CONFIG" && \
28375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
28376 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; then
28380 pkg_cv_XLIB_LIBS
=`$PKG_CONFIG --libs "x11" 2>/dev/null`
28391 if test $pkg_failed = yes; then
28393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28394 _pkg_short_errors_supported
=yes
28396 _pkg_short_errors_supported
=no
28398 if test $_pkg_short_errors_supported = yes; then
28399 XLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
28401 XLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
28403 # Put the nasty error message in config.log where it belongs
28404 echo "$XLIB_PKG_ERRORS" >&5
28406 { { echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
28410 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28411 installed software in a non-standard prefix.
28413 Alternatively, you may set the environment variables XLIB_CFLAGS
28414 and XLIB_LIBS to avoid the need to call pkg-config.
28415 See the pkg-config man page for more details.
28417 echo "$as_me: error: Package requirements (x11) were not met:
28421 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28422 installed software in a non-standard prefix.
28424 Alternatively, you may set the environment variables XLIB_CFLAGS
28425 and XLIB_LIBS to avoid the need to call pkg-config.
28426 See the pkg-config man page for more details.
28428 { (exit 1); exit 1; }; }
28429 elif test $pkg_failed = untried
; then
28430 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28431 is in your PATH or set the PKG_CONFIG environment variable to the full
28432 path to pkg-config.
28434 Alternatively, you may set the environment variables XLIB_CFLAGS
28435 and XLIB_LIBS to avoid the need to call pkg-config.
28436 See the pkg-config man page for more details.
28438 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28439 See \`config.log' for more details." >&5
28440 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28441 is in your PATH or set the PKG_CONFIG environment variable to the full
28442 path to pkg-config.
28444 Alternatively, you may set the environment variables XLIB_CFLAGS
28445 and XLIB_LIBS to avoid the need to call pkg-config.
28446 See the pkg-config man page for more details.
28448 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28449 See \`config.log' for more details." >&2;}
28450 { (exit 1); exit 1; }; }
28452 XLIB_CFLAGS
=$pkg_cv_XLIB_CFLAGS
28453 XLIB_LIBS
=$pkg_cv_XLIB_LIBS
28454 { echo "$as_me:$LINENO: result: yes" >&5
28455 echo "${ECHO_T}yes" >&6; }
28460 { echo "$as_me:$LINENO: checking for GL" >&5
28461 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
28463 if test -n "$PKG_CONFIG"; then
28464 if test -n "$GL_CFLAGS"; then
28465 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
28467 if test -n "$PKG_CONFIG" && \
28468 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.8\"") >&5
28469 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.8") 2>&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; then
28473 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "glproto >= 1.4.8" 2>/dev/null`
28481 if test -n "$PKG_CONFIG"; then
28482 if test -n "$GL_LIBS"; then
28483 pkg_cv_GL_LIBS
="$GL_LIBS"
28485 if test -n "$PKG_CONFIG" && \
28486 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.8\"") >&5
28487 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.8") 2>&5
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; then
28491 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "glproto >= 1.4.8" 2>/dev/null`
28502 if test $pkg_failed = yes; then
28504 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28505 _pkg_short_errors_supported
=yes
28507 _pkg_short_errors_supported
=no
28509 if test $_pkg_short_errors_supported = yes; then
28510 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glproto >= 1.4.8"`
28512 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glproto >= 1.4.8"`
28514 # Put the nasty error message in config.log where it belongs
28515 echo "$GL_PKG_ERRORS" >&5
28517 { { echo "$as_me:$LINENO: error: Package requirements (glproto >= 1.4.8) were not met:
28521 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28522 installed software in a non-standard prefix.
28524 Alternatively, you may set the environment variables GL_CFLAGS
28525 and GL_LIBS to avoid the need to call pkg-config.
28526 See the pkg-config man page for more details.
28528 echo "$as_me: error: Package requirements (glproto >= 1.4.8) were not met:
28532 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28533 installed software in a non-standard prefix.
28535 Alternatively, you may set the environment variables GL_CFLAGS
28536 and GL_LIBS to avoid the need to call pkg-config.
28537 See the pkg-config man page for more details.
28539 { (exit 1); exit 1; }; }
28540 elif test $pkg_failed = untried
; then
28541 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28542 is in your PATH or set the PKG_CONFIG environment variable to the full
28543 path to pkg-config.
28545 Alternatively, you may set the environment variables GL_CFLAGS
28546 and GL_LIBS to avoid the need to call pkg-config.
28547 See the pkg-config man page for more details.
28549 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28550 See \`config.log' for more details." >&5
28551 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28552 is in your PATH or set the PKG_CONFIG environment variable to the full
28553 path to pkg-config.
28555 Alternatively, you may set the environment variables GL_CFLAGS
28556 and GL_LIBS to avoid the need to call pkg-config.
28557 See the pkg-config man page for more details.
28559 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28560 See \`config.log' for more details." >&2;}
28561 { (exit 1); exit 1; }; }
28563 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28564 GL_LIBS
=$pkg_cv_GL_LIBS
28565 { echo "$as_me:$LINENO: result: yes" >&5
28566 echo "${ECHO_T}yes" >&6; }
28571 cat >>confdefs.h
<<\_ACEOF
28575 GLX_LIBS
='$(top_builddir)/GL/glx/libglx.la $(top_builddir)/GL/mesa/libGLcore.la'
28576 test -d GL || mkdir GL
28579 SYMLINK_MESA
="/usr/bin/bash $srcdir/GL/symlink-mesa.sh" ;;
28580 *) SYMLINK_MESA
=$srcdir/GL
/symlink-mesa.sh
;;
28582 $SYMLINK_MESA $MESA_SOURCE GL
/
28583 if test $?
-ne 0; then
28584 { { echo "$as_me:$LINENO: error: Failed to link Mesa source tree. Please specify a proper path to Mesa sources, or disable GLX." >&5
28585 echo "$as_me: error: Failed to link Mesa source tree. Please specify a proper path to Mesa sources, or disable GLX." >&2;}
28586 { (exit 1); exit 1; }; }
28591 if test "x$GLX" = xyes
; then
28601 if test "x$AIGLX" = xyes
-a "x$GLX" = xyes
-a "x$DRI" = xyes
; then
28603 cat >>confdefs.h
<<\_ACEOF
28610 if test "x$AIGLX" = xyes
; then
28619 if test "x$GLX_USE_TLS" = xyes
-a "x$AIGLX" = xyes
; then
28620 GLX_DEFINES
="-DGLX_USE_TLS -DPTHREADS"
28621 GLX_LIBS
="$GLX_LIBS -lpthread"
28625 if test "x$DRI" = xyes
; then
28633 if test "x$DRI" = xyes
; then
28635 cat >>confdefs.h
<<\_ACEOF
28641 { echo "$as_me:$LINENO: checking for DRIPROTO" >&5
28642 echo $ECHO_N "checking for DRIPROTO... $ECHO_C" >&6; }
28644 if test -n "$PKG_CONFIG"; then
28645 if test -n "$DRIPROTO_CFLAGS"; then
28646 pkg_cv_DRIPROTO_CFLAGS
="$DRIPROTO_CFLAGS"
28648 if test -n "$PKG_CONFIG" && \
28649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86driproto\"") >&5
28650 ($PKG_CONFIG --exists --print-errors "xf86driproto") 2>&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); }; then
28654 pkg_cv_DRIPROTO_CFLAGS
=`$PKG_CONFIG --cflags "xf86driproto" 2>/dev/null`
28662 if test -n "$PKG_CONFIG"; then
28663 if test -n "$DRIPROTO_LIBS"; then
28664 pkg_cv_DRIPROTO_LIBS
="$DRIPROTO_LIBS"
28666 if test -n "$PKG_CONFIG" && \
28667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86driproto\"") >&5
28668 ($PKG_CONFIG --exists --print-errors "xf86driproto") 2>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; then
28672 pkg_cv_DRIPROTO_LIBS
=`$PKG_CONFIG --libs "xf86driproto" 2>/dev/null`
28683 if test $pkg_failed = yes; then
28685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28686 _pkg_short_errors_supported
=yes
28688 _pkg_short_errors_supported
=no
28690 if test $_pkg_short_errors_supported = yes; then
28691 DRIPROTO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86driproto"`
28693 DRIPROTO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86driproto"`
28695 # Put the nasty error message in config.log where it belongs
28696 echo "$DRIPROTO_PKG_ERRORS" >&5
28698 { { echo "$as_me:$LINENO: error: Package requirements (xf86driproto) were not met:
28700 $DRIPROTO_PKG_ERRORS
28702 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28703 installed software in a non-standard prefix.
28705 Alternatively, you may set the environment variables DRIPROTO_CFLAGS
28706 and DRIPROTO_LIBS to avoid the need to call pkg-config.
28707 See the pkg-config man page for more details.
28709 echo "$as_me: error: Package requirements (xf86driproto) were not met:
28711 $DRIPROTO_PKG_ERRORS
28713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28714 installed software in a non-standard prefix.
28716 Alternatively, you may set the environment variables DRIPROTO_CFLAGS
28717 and DRIPROTO_LIBS to avoid the need to call pkg-config.
28718 See the pkg-config man page for more details.
28720 { (exit 1); exit 1; }; }
28721 elif test $pkg_failed = untried
; then
28722 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28723 is in your PATH or set the PKG_CONFIG environment variable to the full
28724 path to pkg-config.
28726 Alternatively, you may set the environment variables DRIPROTO_CFLAGS
28727 and DRIPROTO_LIBS to avoid the need to call pkg-config.
28728 See the pkg-config man page for more details.
28730 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28731 See \`config.log' for more details." >&5
28732 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28733 is in your PATH or set the PKG_CONFIG environment variable to the full
28734 path to pkg-config.
28736 Alternatively, you may set the environment variables DRIPROTO_CFLAGS
28737 and DRIPROTO_LIBS to avoid the need to call pkg-config.
28738 See the pkg-config man page for more details.
28740 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28741 See \`config.log' for more details." >&2;}
28742 { (exit 1); exit 1; }; }
28744 DRIPROTO_CFLAGS
=$pkg_cv_DRIPROTO_CFLAGS
28745 DRIPROTO_LIBS
=$pkg_cv_DRIPROTO_LIBS
28746 { echo "$as_me:$LINENO: result: yes" >&5
28747 echo "${ECHO_T}yes" >&6; }
28752 { echo "$as_me:$LINENO: checking for LIBDRM" >&5
28753 echo $ECHO_N "checking for LIBDRM... $ECHO_C" >&6; }
28755 if test -n "$PKG_CONFIG"; then
28756 if test -n "$LIBDRM_CFLAGS"; then
28757 pkg_cv_LIBDRM_CFLAGS
="$LIBDRM_CFLAGS"
28759 if test -n "$PKG_CONFIG" && \
28760 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.3.0\"") >&5
28761 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.3.0") 2>&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); }; then
28765 pkg_cv_LIBDRM_CFLAGS
=`$PKG_CONFIG --cflags "libdrm >= 2.3.0" 2>/dev/null`
28773 if test -n "$PKG_CONFIG"; then
28774 if test -n "$LIBDRM_LIBS"; then
28775 pkg_cv_LIBDRM_LIBS
="$LIBDRM_LIBS"
28777 if test -n "$PKG_CONFIG" && \
28778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.3.0\"") >&5
28779 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.3.0") 2>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; then
28783 pkg_cv_LIBDRM_LIBS
=`$PKG_CONFIG --libs "libdrm >= 2.3.0" 2>/dev/null`
28794 if test $pkg_failed = yes; then
28796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28797 _pkg_short_errors_supported
=yes
28799 _pkg_short_errors_supported
=no
28801 if test $_pkg_short_errors_supported = yes; then
28802 LIBDRM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.3.0"`
28804 LIBDRM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.3.0"`
28806 # Put the nasty error message in config.log where it belongs
28807 echo "$LIBDRM_PKG_ERRORS" >&5
28809 { { echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.3.0) were not met:
28813 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28814 installed software in a non-standard prefix.
28816 Alternatively, you may set the environment variables LIBDRM_CFLAGS
28817 and LIBDRM_LIBS to avoid the need to call pkg-config.
28818 See the pkg-config man page for more details.
28820 echo "$as_me: error: Package requirements (libdrm >= 2.3.0) were not met:
28824 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28825 installed software in a non-standard prefix.
28827 Alternatively, you may set the environment variables LIBDRM_CFLAGS
28828 and LIBDRM_LIBS to avoid the need to call pkg-config.
28829 See the pkg-config man page for more details.
28831 { (exit 1); exit 1; }; }
28832 elif test $pkg_failed = untried
; then
28833 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28834 is in your PATH or set the PKG_CONFIG environment variable to the full
28835 path to pkg-config.
28837 Alternatively, you may set the environment variables LIBDRM_CFLAGS
28838 and LIBDRM_LIBS to avoid the need to call pkg-config.
28839 See the pkg-config man page for more details.
28841 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28842 See \`config.log' for more details." >&5
28843 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28844 is in your PATH or set the PKG_CONFIG environment variable to the full
28845 path to pkg-config.
28847 Alternatively, you may set the environment variables LIBDRM_CFLAGS
28848 and LIBDRM_LIBS to avoid the need to call pkg-config.
28849 See the pkg-config man page for more details.
28851 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28852 See \`config.log' for more details." >&2;}
28853 { (exit 1); exit 1; }; }
28855 LIBDRM_CFLAGS
=$pkg_cv_LIBDRM_CFLAGS
28856 LIBDRM_LIBS
=$pkg_cv_LIBDRM_LIBS
28857 { echo "$as_me:$LINENO: result: yes" >&5
28858 echo "${ECHO_T}yes" >&6; }
28863 { echo "$as_me:$LINENO: checking for GL" >&5
28864 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
28866 if test -n "$PKG_CONFIG"; then
28867 if test -n "$GL_CFLAGS"; then
28868 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
28870 if test -n "$PKG_CONFIG" && \
28871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.1\"") >&5
28872 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.1") 2>&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); }; then
28876 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "glproto >= 1.4.1" 2>/dev/null`
28884 if test -n "$PKG_CONFIG"; then
28885 if test -n "$GL_LIBS"; then
28886 pkg_cv_GL_LIBS
="$GL_LIBS"
28888 if test -n "$PKG_CONFIG" && \
28889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.1\"") >&5
28890 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.1") 2>&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); }; then
28894 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "glproto >= 1.4.1" 2>/dev/null`
28905 if test $pkg_failed = yes; then
28907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28908 _pkg_short_errors_supported
=yes
28910 _pkg_short_errors_supported
=no
28912 if test $_pkg_short_errors_supported = yes; then
28913 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glproto >= 1.4.1"`
28915 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glproto >= 1.4.1"`
28917 # Put the nasty error message in config.log where it belongs
28918 echo "$GL_PKG_ERRORS" >&5
28920 { { echo "$as_me:$LINENO: error: Package requirements (glproto >= 1.4.1) were not met:
28924 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28925 installed software in a non-standard prefix.
28927 Alternatively, you may set the environment variables GL_CFLAGS
28928 and GL_LIBS to avoid the need to call pkg-config.
28929 See the pkg-config man page for more details.
28931 echo "$as_me: error: Package requirements (glproto >= 1.4.1) were not met:
28935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
28936 installed software in a non-standard prefix.
28938 Alternatively, you may set the environment variables GL_CFLAGS
28939 and GL_LIBS to avoid the need to call pkg-config.
28940 See the pkg-config man page for more details.
28942 { (exit 1); exit 1; }; }
28943 elif test $pkg_failed = untried
; then
28944 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
28945 is in your PATH or set the PKG_CONFIG environment variable to the full
28946 path to pkg-config.
28948 Alternatively, you may set the environment variables GL_CFLAGS
28949 and GL_LIBS to avoid the need to call pkg-config.
28950 See the pkg-config man page for more details.
28952 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28953 See \`config.log' for more details." >&5
28954 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
28955 is in your PATH or set the PKG_CONFIG environment variable to the full
28956 path to pkg-config.
28958 Alternatively, you may set the environment variables GL_CFLAGS
28959 and GL_LIBS to avoid the need to call pkg-config.
28960 See the pkg-config man page for more details.
28962 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
28963 See \`config.log' for more details." >&2;}
28964 { (exit 1); exit 1; }; }
28966 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28967 GL_LIBS
=$pkg_cv_GL_LIBS
28968 { echo "$as_me:$LINENO: result: yes" >&5
28969 echo "${ECHO_T}yes" >&6; }
28972 if test -n "$PKG_CONFIG" && \
28973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.2.0\"") >&5
28974 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.2.0") 2>&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; then
28979 cat >>confdefs.h
<<\_ACEOF
28980 #define HAVE_LIBDRM_2_2 1
28990 if test "x$XINERAMA" = xyes
; then
28998 if test "x$XINERAMA" = xyes
; then
29000 cat >>confdefs.h
<<\_ACEOF
29005 cat >>confdefs.h
<<\_ACEOF
29006 #define PANORAMIX 1
29009 REQUIRED_MODULES
="$REQUIRED_MODULES xineramaproto"
29012 if test "x$XACE" = xyes
; then
29020 if test "x$XACE" = xyes
; then
29022 cat >>confdefs.h
<<\_ACEOF
29028 if test "x$XCSECURITY" = xyes
; then
29030 XCSECURITY_FALSE
='#'
29032 XCSECURITY_TRUE
='#'
29036 if test "x$XCSECURITY" = xyes
; then
29037 if test "x$XACE" != xyes
; then
29038 { { echo "$as_me:$LINENO: error: cannot build Security extension without X-ACE" >&5
29039 echo "$as_me: error: cannot build Security extension without X-ACE" >&2;}
29040 { (exit 1); exit 1; }; }
29043 cat >>confdefs.h
<<\_ACEOF
29044 #define XCSECURITY 1
29049 if test "x$XEVIE" = xyes
; then
29057 if test "x$XEVIE" = xyes
; then
29059 cat >>confdefs.h
<<\_ACEOF
29063 REQUIRED_MODULES
="$REQUIRED_MODULES evieproto"
29066 if test "x$APPGROUP" = xyes
; then
29074 if test "x$APPGROUP" = xyes
; then
29075 if test "x$XACE" != xyes ||
test "x$XCSECURITY" != xyes
; then
29076 { { echo "$as_me:$LINENO: error: cannot build APPGROUP extension without X-ACE and XC-SECURITY" >&5
29077 echo "$as_me: error: cannot build APPGROUP extension without X-ACE and XC-SECURITY" >&2;}
29078 { (exit 1); exit 1; }; }
29081 cat >>confdefs.h
<<\_ACEOF
29082 #define XAPPGROUP 1
29087 if test "x$CUP" = xyes
; then
29095 if test "x$CUP" = xyes
; then
29097 cat >>confdefs.h
<<\_ACEOF
29101 # Requires xextproto which is always required
29104 if test "x$EVI" = xyes
; then
29112 if test "x$EVI" = xyes
; then
29114 cat >>confdefs.h
<<\_ACEOF
29118 # Requires xextproto which is always required
29121 if test "x$MULTIBUFFER" = xyes
; then
29123 MULTIBUFFER_FALSE
='#'
29125 MULTIBUFFER_TRUE
='#'
29129 if test "x$MULTIBUFFER" = xyes
; then
29131 cat >>confdefs.h
<<\_ACEOF
29132 #define MULTIBUFFER 1
29135 # Requires xextproto which is always required
29138 if test "x$FONTCACHE" = xyes
; then
29140 FONTCACHE_FALSE
='#'
29146 if test "x$FONTCACHE" = xyes
; then
29148 cat >>confdefs.h
<<\_ACEOF
29149 #define FONTCACHE 1
29152 REQUIRED_MODULES
="$REQUIRED_MODULES fontcacheproto"
29155 if test "x$DBE" = xyes
; then
29163 if test "x$DBE" = xyes
; then
29165 cat >>confdefs.h
<<\_ACEOF
29169 DBE_LIB
='$(top_builddir)/dbe/libdbe.la'
29172 if test "x$XF86BIGFONT" = xyes
; then
29174 XF86BIGFONT_FALSE
='#'
29176 XF86BIGFONT_TRUE
='#'
29180 if test "x$XF86BIGFONT" = xyes
; then
29182 cat >>confdefs.h
<<\_ACEOF
29183 #define XF86BIGFONT 1
29188 if test "x$DPMSExtension" = xyes
; then
29189 DPMSExtension_TRUE
=
29190 DPMSExtension_FALSE
='#'
29192 DPMSExtension_TRUE
='#'
29193 DPMSExtension_FALSE
=
29196 if test "x$DPMSExtension" = xyes
; then
29198 cat >>confdefs.h
<<\_ACEOF
29199 #define DPMSExtension 1
29204 if test "x$XPRINT" = xauto
; then
29207 { echo "$as_me:$LINENO: checking for XPRINTPROTO" >&5
29208 echo $ECHO_N "checking for XPRINTPROTO... $ECHO_C" >&6; }
29210 if test -n "$PKG_CONFIG"; then
29211 if test -n "$XPRINTPROTO_CFLAGS"; then
29212 pkg_cv_XPRINTPROTO_CFLAGS
="$XPRINTPROTO_CFLAGS"
29214 if test -n "$PKG_CONFIG" && \
29215 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"printproto\"") >&5
29216 ($PKG_CONFIG --exists --print-errors "printproto") 2>&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; then
29220 pkg_cv_XPRINTPROTO_CFLAGS
=`$PKG_CONFIG --cflags "printproto" 2>/dev/null`
29228 if test -n "$PKG_CONFIG"; then
29229 if test -n "$XPRINTPROTO_LIBS"; then
29230 pkg_cv_XPRINTPROTO_LIBS
="$XPRINTPROTO_LIBS"
29232 if test -n "$PKG_CONFIG" && \
29233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"printproto\"") >&5
29234 ($PKG_CONFIG --exists --print-errors "printproto") 2>&5
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; then
29238 pkg_cv_XPRINTPROTO_LIBS
=`$PKG_CONFIG --libs "printproto" 2>/dev/null`
29249 if test $pkg_failed = yes; then
29251 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29252 _pkg_short_errors_supported
=yes
29254 _pkg_short_errors_supported
=no
29256 if test $_pkg_short_errors_supported = yes; then
29257 XPRINTPROTO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "printproto"`
29259 XPRINTPROTO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "printproto"`
29261 # Put the nasty error message in config.log where it belongs
29262 echo "$XPRINTPROTO_PKG_ERRORS" >&5
29264 { echo "$as_me:$LINENO: result: no" >&5
29265 echo "${ECHO_T}no" >&6; }
29267 elif test $pkg_failed = untried
; then
29270 XPRINTPROTO_CFLAGS
=$pkg_cv_XPRINTPROTO_CFLAGS
29271 XPRINTPROTO_LIBS
=$pkg_cv_XPRINTPROTO_LIBS
29272 { echo "$as_me:$LINENO: result: yes" >&5
29273 echo "${ECHO_T}yes" >&6; }
29277 if test "x$XPRINT" = xyes
; then
29285 if test "x$XPRINT" = xyes
; then
29287 cat >>confdefs.h
<<\_ACEOF
29291 REQUIRED_MODULES
="$REQUIRED_MODULES printproto"
29294 if test "x$BUILTIN_FONTS" = xyes
; then
29296 cat >>confdefs.h
<<\_ACEOF
29297 #define BUILTIN_FONTS 1
29301 cat >>confdefs.h
<<\_ACEOF
29302 #define NOFONTSERVERACCESS 1
29305 FONTPATH
="built-ins"
29308 if test "x$XCALIBRATE" = xyes
&& test "$KDRIVE" = yes; then
29310 cat >>confdefs.h
<<\_ACEOF
29311 #define XCALIBRATE 1
29314 REQUIRED_MODULES
="$REQUIRED_MODULES xcalibrateproto"
29318 if test "x$XCALIBRATE" = xyes
; then
29320 XCALIBRATE_FALSE
='#'
29322 XCALIBRATE_TRUE
='#'
29328 cat >>confdefs.h
<<\_ACEOF
29332 RENDER_LIB
='$(top_builddir)/render/librender.la'
29333 RENDER_INC
='-I$(top_srcdir)/render'
29336 cat >>confdefs.h
<<\_ACEOF
29340 RANDR_LIB
='$(top_builddir)/randr/librandr.la'
29341 RANDR_INC
='-I$(top_srcdir)/randr'
29344 cat >>confdefs.h
<<\_ACEOF
29348 FIXES_LIB
='$(top_builddir)/xfixes/libxfixes.la'
29349 FIXES_INC
='-I$(top_srcdir)/xfixes'
29352 cat >>confdefs.h
<<\_ACEOF
29356 DAMAGE_LIB
='$(top_builddir)/damageext/libdamageext.la'
29357 DAMAGE_INC
='-I$(top_srcdir)/damageext'
29358 MIEXT_DAMAGE_LIB
='$(top_builddir)/miext/damage/libdamage.la'
29359 MIEXT_DAMAGE_INC
='-I$(top_srcdir)/miext/damage'
29362 cat >>confdefs.h
<<\_ACEOF
29366 XI_LIB
='$(top_builddir)/Xi/libXi.la'
29367 XI_INC
='-I$(top_srcdir)/Xi'
29369 if test "x$XF86UTILS" = xyes
; then
29371 XF86UTILS_FALSE
='#'
29379 cat >>confdefs.h
<<\_ACEOF
29385 cat >>confdefs.h
<<\_ACEOF
29390 cat >>confdefs.h
<<\_ACEOF
29391 #define XKB_IN_SERVER 1
29395 cat >>confdefs.h
<<\_ACEOF
29396 #define XKB_DFLT_DISABLED 0
29399 REQUIRED_MODULES
="$REQUIRED_MODULES xkbfile"
29400 XKB_LIB
='$(top_builddir)/xkb/libxkb.la'
29401 XKB_STUB_LIB
='$(top_builddir)/xkb/libxkbstubs.la'
29403 { echo "$as_me:$LINENO: checking for strcasecmp" >&5
29404 echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; }
29405 if test "${ac_cv_func_strcasecmp+set}" = set; then
29406 echo $ECHO_N "(cached) $ECHO_C" >&6
29408 cat >conftest.
$ac_ext <<_ACEOF
29411 cat confdefs.h
>>conftest.
$ac_ext
29412 cat >>conftest.
$ac_ext <<_ACEOF
29413 /* end confdefs.h. */
29414 /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
29415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29416 #define strcasecmp innocuous_strcasecmp
29418 /* System header to define __stub macros and hopefully few prototypes,
29419 which can conflict with char strcasecmp (); below.
29420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29421 <limits.h> exists even on freestanding compilers. */
29424 # include <limits.h>
29426 # include <assert.h>
29431 /* Override any GCC internal prototype to avoid an error.
29432 Use char because int might match the return type of a GCC
29433 builtin and then its argument prototype would still apply. */
29437 char strcasecmp ();
29438 /* The GNU C library defines this for functions which it implements
29439 to always fail with ENOSYS. Some functions are actually named
29440 something starting with __ and the normal name is an alias. */
29441 #if defined __stub_strcasecmp || defined __stub___strcasecmp
29448 return strcasecmp ();
29453 rm -f conftest.
$ac_objext conftest
$ac_exeext
29454 if { (ac_try
="$ac_link"
29455 case "(($ac_try" in
29456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29457 *) ac_try_echo=$ac_try;;
29459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29460 (eval "$ac_link") 2>conftest.er1
29462 grep -v '^ *+' conftest.er1 >conftest.err
29464 cat conftest.err >&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); } && {
29467 test -z "$ac_c_werror_flag" ||
29468 test ! -s conftest.err
29469 } && test -s conftest$ac_exeext &&
29470 $as_test_x conftest$ac_exeext; then
29471 ac_cv_func_strcasecmp=yes
29473 echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29476 ac_cv_func_strcasecmp=no
29479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29480 conftest$ac_exeext conftest.$ac_ext
29482 { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
29483 echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; }
29484 if test $ac_cv_func_strcasecmp = yes; then
29488 cat >>confdefs.h <<\_ACEOF
29489 #define NEED_STRCASECMP 1
29495 if test "x$NULL_ROOT_CURSOR" = xyes; then
29497 cat >>confdefs.h <<\_ACEOF
29498 #define NULL_ROOT_CURSOR 1
29505 { echo "$as_me:$LINENO: checking for XDMCP" >&5
29506 echo $ECHO_N "checking for XDMCP... $ECHO_C" >&6; }
29508 if test -n "$PKG_CONFIG"; then
29509 if test -n "$XDMCP_CFLAGS"; then
29510 pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
29512 if test -n "$PKG_CONFIG" && \
29513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xdmcp\"") >&5
29514 ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; then
29518 pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev
/null
`
29526 if test -n "$PKG_CONFIG"; then
29527 if test -n "$XDMCP_LIBS"; then
29528 pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
29530 if test -n "$PKG_CONFIG" && \
29531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xdmcp\"") >&5
29532 ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; then
29536 pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev
/null
`
29547 if test $pkg_failed = yes; then
29549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29550 _pkg_short_errors_supported=yes
29552 _pkg_short_errors_supported=no
29554 if test $_pkg_short_errors_supported = yes; then
29555 XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xdmcp"`
29557 XDMCP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xdmcp"`
29559 # Put the nasty error message in config.log where it belongs
29560 echo "$XDMCP_PKG_ERRORS" >&5
29562 { echo "$as_me:$LINENO: result: no" >&5
29563 echo "${ECHO_T}no" >&6; }
29565 elif test $pkg_failed = untried; then
29568 XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
29569 XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
29570 { echo "$as_me:$LINENO: result: yes" >&5
29571 echo "${ECHO_T}yes" >&6; }
29572 have_libxdmcp="yes"
29574 if test "x$have_libxdmcp" = xyes; then
29575 { echo "$as_me:$LINENO: checking for XdmcpWrap in -lXdmcp" >&5
29576 echo $ECHO_N "checking for XdmcpWrap in -lXdmcp... $ECHO_C" >&6; }
29577 if test "${ac_cv_lib_Xdmcp_XdmcpWrap+set}" = set; then
29578 echo $ECHO_N "(cached) $ECHO_C" >&6
29580 ac_check_lib_save_LIBS=$LIBS
29581 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
29582 cat >conftest.$ac_ext <<_ACEOF
29585 cat confdefs.h >>conftest.$ac_ext
29586 cat >>conftest.$ac_ext <<_ACEOF
29587 /* end confdefs.h. */
29589 /* Override any GCC internal prototype to avoid an error.
29590 Use char because int might match the return type of a GCC
29591 builtin and then its argument prototype would still apply. */
29599 return XdmcpWrap ();
29604 rm -f conftest.$ac_objext conftest$ac_exeext
29605 if { (ac_try="$ac_link"
29606 case "(($ac_try" in
29607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29608 *) ac_try_echo
=$ac_try;;
29610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29611 (eval "$ac_link") 2>conftest.er1
29613 grep -v '^ *+' conftest.er1
>conftest.err
29615 cat conftest.err
>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } && {
29618 test -z "$ac_c_werror_flag" ||
29619 test ! -s conftest.err
29620 } && test -s conftest
$ac_exeext &&
29621 $as_test_x conftest
$ac_exeext; then
29622 ac_cv_lib_Xdmcp_XdmcpWrap
=yes
29624 echo "$as_me: failed program was:" >&5
29625 sed 's/^/| /' conftest.
$ac_ext >&5
29627 ac_cv_lib_Xdmcp_XdmcpWrap
=no
29630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29631 conftest
$ac_exeext conftest.
$ac_ext
29632 LIBS
=$ac_check_lib_save_LIBS
29634 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
29635 echo "${ECHO_T}$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
29636 if test $ac_cv_lib_Xdmcp_XdmcpWrap = yes; then
29637 have_xdmcpwrap
="yes"
29639 have_xdmcpwrap
="no"
29643 if test "x$XDMCP" = xauto
; then
29644 if test "x$have_libxdmcp" = xyes
; then
29650 if test "x$XDMAUTH" = xauto
; then
29651 if test "x$have_libxdmcp" = xyes
&& test "x$have_xdmcpwrap" = xyes
; then
29658 if test "x$XDMCP" = xyes
; then
29666 if test "x$XDMCP" = xyes
; then
29668 cat >>confdefs.h
<<\_ACEOF
29672 REQUIRED_LIBS
="$REQUIRED_LIBS xdmcp"
29673 XDMCP_MODULES
="xdmcp"
29676 if test "x$XDMAUTH" = xyes
; then
29684 if test "x$XDMAUTH" = xyes
; then
29686 cat >>confdefs.h
<<\_ACEOF
29687 #define HASXDMAUTH 1
29690 if ! test "x$XDMCP" = xyes
; then
29691 REQUIRED_LIBS
="$REQUIRED_LIBS xdmcp"
29692 XDMCP_MODULES
="xdmcp"
29696 if test "x$USE_RGB_BUILTIN" = xyes
; then
29697 USE_RGB_BUILTIN_TRUE
=
29698 USE_RGB_BUILTIN_FALSE
='#'
29700 USE_RGB_BUILTIN_TRUE
='#'
29701 USE_RGB_BUILTIN_FALSE
=
29704 if test "x$USE_RGB_BUILTIN" = xyes
; then
29706 cat >>confdefs.h
<<\_ACEOF
29707 #define USE_RGB_BUILTIN 1
29715 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
29716 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
29717 eval ac_define_dir
="\"$FONTPATH\""
29718 eval ac_define_dir
="\"$ac_define_dir\""
29719 COMPILEDDEFAULTFONTPATH
="$ac_define_dir"
29722 cat >>confdefs.h
<<_ACEOF
29723 #define COMPILEDDEFAULTFONTPATH "$ac_define_dir"
29726 test "$prefix_NONE" && prefix
=NONE
29727 test "$exec_prefix_NONE" && exec_prefix
=NONE
29732 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
29733 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
29734 eval ac_define_dir
="\"$RGBPATH\""
29735 eval ac_define_dir
="\"$ac_define_dir\""
29736 RGB_DB
="$ac_define_dir"
29739 cat >>confdefs.h
<<_ACEOF
29740 #define RGB_DB "$ac_define_dir"
29743 test "$prefix_NONE" && prefix
=NONE
29744 test "$exec_prefix_NONE" && exec_prefix
=NONE
29749 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
29750 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
29751 eval ac_define_dir
="\"$SERVERCONFIG\""
29752 eval ac_define_dir
="\"$ac_define_dir\""
29753 SERVERCONFIGdir
="$ac_define_dir"
29756 cat >>confdefs.h
<<_ACEOF
29757 #define SERVERCONFIGdir "$ac_define_dir"
29760 test "$prefix_NONE" && prefix
=NONE
29761 test "$exec_prefix_NONE" && exec_prefix
=NONE
29766 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
29767 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
29768 eval ac_define_dir
="\"$FONTDIR\""
29769 eval ac_define_dir
="\"$ac_define_dir\""
29770 BASE_FONT_PATH
="$ac_define_dir"
29773 cat >>confdefs.h
<<_ACEOF
29774 #define BASE_FONT_PATH "$ac_define_dir"
29777 test "$prefix_NONE" && prefix
=NONE
29778 test "$exec_prefix_NONE" && exec_prefix
=NONE
29783 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
29784 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
29785 eval ac_define_dir
="\"$DRI_DRIVER_PATH\""
29786 eval ac_define_dir
="\"$ac_define_dir\""
29787 DRI_DRIVER_PATH
="$ac_define_dir"
29790 cat >>confdefs.h
<<_ACEOF
29791 #define DRI_DRIVER_PATH "$ac_define_dir"
29794 test "$prefix_NONE" && prefix
=NONE
29795 test "$exec_prefix_NONE" && exec_prefix
=NONE
29798 cat >>confdefs.h
<<_ACEOF
29799 #define XVENDORNAME "$VENDOR_NAME"
29803 cat >>confdefs.h
<<_ACEOF
29804 #define XVENDORNAMESHORT "$VENDOR_NAME_SHORT"
29808 cat >>confdefs.h
<<_ACEOF
29809 #define XORG_DATE "$RELEASE_DATE"
29813 cat >>confdefs.h
<<_ACEOF
29814 #define XORG_MAN_VERSION "$VENDOR_MAN_VERSION"
29818 cat >>confdefs.h
<<_ACEOF
29819 #define BUILDERADDR "$BUILDERADDR"
29823 if test -z "$OSNAME"; then
29828 cat >>confdefs.h
<<_ACEOF
29829 #define OSNAME "$OSNAME"
29833 cat >>confdefs.h
<<_ACEOF
29834 #define OSVENDOR "$OSVENDOR"
29838 cat >>confdefs.h
<<_ACEOF
29839 #define BUILDERSTRING "$BUILDERSTRING"
29849 cat >>confdefs.h
<<\_ACEOF
29850 #define DDXOSINIT 1
29854 cat >>confdefs.h
<<\_ACEOF
29855 #define SERVER_LOCK 1
29859 cat >>confdefs.h
<<\_ACEOF
29860 #define SMART_SCHEDULE 1
29864 cat >>confdefs.h
<<\_ACEOF
29865 #define NO_LIBCWRAPPER 1
29869 if test "x$DEBUGGING" = xyes
; then
29871 cat >>confdefs.h
<<\_ACEOF
29877 cat >>confdefs.h
<<\_ACEOF
29882 if test "x$DEBUGGING" = xyes
; then
29892 cat >>confdefs.h
<<\_ACEOF
29893 #define USE_RGB_TXT 1
29897 cat >>confdefs.h
<<\_ACEOF
29902 cat >>confdefs.h
<<\_ACEOF
29907 cat >>confdefs.h
<<\_ACEOF
29912 cat >>confdefs.h
<<\_ACEOF
29917 cat >>confdefs.h
<<\_ACEOF
29922 cat >>confdefs.h
<<\_ACEOF
29927 if test "x$WDTRACE" != "xno" ; then
29928 DIX_LIB
='$(top_builddir)/dix/dix.O'
29929 OS_LIB
='$(top_builddir)/os/os.O'
29931 DIX_LIB
='$(top_builddir)/dix/libdix.la'
29932 OS_LIB
='$(top_builddir)/os/libos.la'
29934 CWRAP_LIB
='$(top_builddir)/os/libcwrapper.la'
29935 MI_LIB
='$(top_builddir)/mi/libmi.la'
29936 MI_EXT_LIB
='$(top_builddir)/mi/libmiext.la'
29937 MI_INC
='-I$(top_srcdir)/mi'
29938 FB_LIB
='$(top_builddir)/fb/libfb.la'
29939 FB_INC
='-I$(top_srcdir)/fb'
29940 MIEXT_SHADOW_INC
='-I$(top_srcdir)/miext/shadow'
29941 MIEXT_SHADOW_LIB
='$(top_builddir)/miext/shadow/libshadow.la'
29942 XPSTUBS_LIB
='$(top_builddir)/dix/libxpstubs.la'
29943 CORE_INCS
='-I$(top_srcdir)/include -I$(top_builddir)/include'
29947 { echo "$as_me:$LINENO: checking for XSERVERCFLAGS" >&5
29948 echo $ECHO_N "checking for XSERVERCFLAGS... $ECHO_C" >&6; }
29950 if test -n "$PKG_CONFIG"; then
29951 if test -n "$XSERVERCFLAGS_CFLAGS"; then
29952 pkg_cv_XSERVERCFLAGS_CFLAGS
="$XSERVERCFLAGS_CFLAGS"
29954 if test -n "$PKG_CONFIG" && \
29955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\"") >&5
29956 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; then
29960 pkg_cv_XSERVERCFLAGS_CFLAGS
=`$PKG_CONFIG --cflags "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null`
29968 if test -n "$PKG_CONFIG"; then
29969 if test -n "$XSERVERCFLAGS_LIBS"; then
29970 pkg_cv_XSERVERCFLAGS_LIBS
="$XSERVERCFLAGS_LIBS"
29972 if test -n "$PKG_CONFIG" && \
29973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\"") >&5
29974 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; then
29978 pkg_cv_XSERVERCFLAGS_LIBS
=`$PKG_CONFIG --libs "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null`
29989 if test $pkg_failed = yes; then
29991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29992 _pkg_short_errors_supported
=yes
29994 _pkg_short_errors_supported
=no
29996 if test $_pkg_short_errors_supported = yes; then
29997 XSERVERCFLAGS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS"`
29999 XSERVERCFLAGS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS"`
30001 # Put the nasty error message in config.log where it belongs
30002 echo "$XSERVERCFLAGS_PKG_ERRORS" >&5
30004 { { echo "$as_me:$LINENO: error: Package requirements ($REQUIRED_MODULES $REQUIRED_LIBS) were not met:
30006 $XSERVERCFLAGS_PKG_ERRORS
30008 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30009 installed software in a non-standard prefix.
30011 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
30012 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
30013 See the pkg-config man page for more details.
30015 echo "$as_me: error: Package requirements ($REQUIRED_MODULES $REQUIRED_LIBS) were not met:
30017 $XSERVERCFLAGS_PKG_ERRORS
30019 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30020 installed software in a non-standard prefix.
30022 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
30023 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
30024 See the pkg-config man page for more details.
30026 { (exit 1); exit 1; }; }
30027 elif test $pkg_failed = untried
; then
30028 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
30029 is in your PATH or set the PKG_CONFIG environment variable to the full
30030 path to pkg-config.
30032 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
30033 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
30034 See the pkg-config man page for more details.
30036 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
30037 See \`config.log' for more details." >&5
30038 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
30039 is in your PATH or set the PKG_CONFIG environment variable to the full
30040 path to pkg-config.
30042 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
30043 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
30044 See the pkg-config man page for more details.
30046 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
30047 See \`config.log' for more details." >&2;}
30048 { (exit 1); exit 1; }; }
30050 XSERVERCFLAGS_CFLAGS
=$pkg_cv_XSERVERCFLAGS_CFLAGS
30051 XSERVERCFLAGS_LIBS
=$pkg_cv_XSERVERCFLAGS_LIBS
30052 { echo "$as_me:$LINENO: result: yes" >&5
30053 echo "${ECHO_T}yes" >&6; }
30058 { echo "$as_me:$LINENO: checking for XSERVERLIBS" >&5
30059 echo $ECHO_N "checking for XSERVERLIBS... $ECHO_C" >&6; }
30061 if test -n "$PKG_CONFIG"; then
30062 if test -n "$XSERVERLIBS_CFLAGS"; then
30063 pkg_cv_XSERVERLIBS_CFLAGS
="$XSERVERLIBS_CFLAGS"
30065 if test -n "$PKG_CONFIG" && \
30066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\"") >&5
30067 ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; then
30071 pkg_cv_XSERVERLIBS_CFLAGS
=`$PKG_CONFIG --cflags "$REQUIRED_LIBS" 2>/dev/null`
30079 if test -n "$PKG_CONFIG"; then
30080 if test -n "$XSERVERLIBS_LIBS"; then
30081 pkg_cv_XSERVERLIBS_LIBS
="$XSERVERLIBS_LIBS"
30083 if test -n "$PKG_CONFIG" && \
30084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\"") >&5
30085 ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); }; then
30089 pkg_cv_XSERVERLIBS_LIBS
=`$PKG_CONFIG --libs "$REQUIRED_LIBS" 2>/dev/null`
30100 if test $pkg_failed = yes; then
30102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30103 _pkg_short_errors_supported
=yes
30105 _pkg_short_errors_supported
=no
30107 if test $_pkg_short_errors_supported = yes; then
30108 XSERVERLIBS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$REQUIRED_LIBS"`
30110 XSERVERLIBS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$REQUIRED_LIBS"`
30112 # Put the nasty error message in config.log where it belongs
30113 echo "$XSERVERLIBS_PKG_ERRORS" >&5
30115 { { echo "$as_me:$LINENO: error: Package requirements ($REQUIRED_LIBS) were not met:
30117 $XSERVERLIBS_PKG_ERRORS
30119 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30120 installed software in a non-standard prefix.
30122 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
30123 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
30124 See the pkg-config man page for more details.
30126 echo "$as_me: error: Package requirements ($REQUIRED_LIBS) were not met:
30128 $XSERVERLIBS_PKG_ERRORS
30130 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30131 installed software in a non-standard prefix.
30133 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
30134 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
30135 See the pkg-config man page for more details.
30137 { (exit 1); exit 1; }; }
30138 elif test $pkg_failed = untried
; then
30139 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
30140 is in your PATH or set the PKG_CONFIG environment variable to the full
30141 path to pkg-config.
30143 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
30144 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
30145 See the pkg-config man page for more details.
30147 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
30148 See \`config.log' for more details." >&5
30149 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
30150 is in your PATH or set the PKG_CONFIG environment variable to the full
30151 path to pkg-config.
30153 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
30154 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
30155 See the pkg-config man page for more details.
30157 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
30158 See \`config.log' for more details." >&2;}
30159 { (exit 1); exit 1; }; }
30161 XSERVERLIBS_CFLAGS
=$pkg_cv_XSERVERLIBS_CFLAGS
30162 XSERVERLIBS_LIBS
=$pkg_cv_XSERVERLIBS_LIBS
30163 { echo "$as_me:$LINENO: result: yes" >&5
30164 echo "${ECHO_T}yes" >&6; }
30168 XSERVER_CFLAGS
="${XSERVERCFLAGS_CFLAGS}"
30169 XSERVER_LIBS
="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS}"
30172 # The Xorg binary needs to export symbols so that they can be used from modules
30173 # Some platforms require extra flags to do this. gcc should set these flags
30174 # when -rdynamic is passed to it, other compilers/linkers may need to be added
30176 if test "x$GCC" = "xyes"; then
30177 GCC_WARNINGS1
="-Wall -Wpointer-arith -Wstrict-prototypes"
30178 GCC_WARNINGS2
="-Wmissing-prototypes -Wmissing-declarations"
30179 GCC_WARNINGS3
="-Wnested-externs -fno-strict-aliasing"
30180 GCC_WARNINGS
="$GCC_WARNINGS1 $GCC_WARNINGS2 $GCC_WARNINGS3"
30181 if test "x$WERROR" = "xyes"; then
30182 GCC_WARNINGS
="${GCC_WARNINGS} -Werror"
30184 XSERVER_CFLAGS
="$GCC_WARNINGS $XSERVER_CFLAGS"
30186 LD_EXPORT_SYMBOLS_FLAG
="-rdynamic"
30190 LD_EXPORT_SYMBOLS_FLAG
=""
30193 LD_EXPORT_SYMBOLS_FLAG
="-Wl,--export-dynamic"
30199 for ac_func
in clock_gettime
30201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30204 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30205 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 cat >conftest.
$ac_ext <<_ACEOF
30210 cat confdefs.h
>>conftest.
$ac_ext
30211 cat >>conftest.
$ac_ext <<_ACEOF
30212 /* end confdefs.h. */
30213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30215 #define $ac_func innocuous_$ac_func
30217 /* System header to define __stub macros and hopefully few prototypes,
30218 which can conflict with char $ac_func (); below.
30219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30220 <limits.h> exists even on freestanding compilers. */
30223 # include <limits.h>
30225 # include <assert.h>
30230 /* Override any GCC internal prototype to avoid an error.
30231 Use char because int might match the return type of a GCC
30232 builtin and then its argument prototype would still apply. */
30237 /* The GNU C library defines this for functions which it implements
30238 to always fail with ENOSYS. Some functions are actually named
30239 something starting with __ and the normal name is an alias. */
30240 #if defined __stub_$ac_func || defined __stub___$ac_func
30247 return $ac_func ();
30252 rm -f conftest.
$ac_objext conftest
$ac_exeext
30253 if { (ac_try
="$ac_link"
30254 case "(($ac_try" in
30255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30256 *) ac_try_echo=$ac_try;;
30258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30259 (eval "$ac_link") 2>conftest.er1
30261 grep -v '^ *+' conftest.er1 >conftest.err
30263 cat conftest.err >&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); } && {
30266 test -z "$ac_c_werror_flag" ||
30267 test ! -s conftest.err
30268 } && test -s conftest$ac_exeext &&
30269 $as_test_x conftest$ac_exeext; then
30270 eval "$as_ac_var=yes"
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30275 eval "$as_ac_var=no"
30278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30279 conftest$ac_exeext conftest.$ac_ext
30281 ac_res=`eval echo '${'$as_ac_var'}'`
30282 { echo "$as_me:$LINENO: result: $ac_res" >&5
30283 echo "${ECHO_T}$ac_res" >&6; }
30284 if test `eval echo '${'$as_ac_var'}'` = yes; then
30285 cat >>confdefs.h <<_ACEOF
30286 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
30288 have_clock_gettime=yes
30290 { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
30291 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
30292 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
30293 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 ac_check_lib_save_LIBS=$LIBS
30297 cat >conftest.$ac_ext <<_ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30304 /* Override any GCC internal prototype to avoid an error.
30305 Use char because int might match the return type of a GCC
30306 builtin and then its argument prototype would still apply. */
30310 char clock_gettime ();
30314 return clock_gettime ();
30319 rm -f conftest.$ac_objext conftest$ac_exeext
30320 if { (ac_try="$ac_link"
30321 case "(($ac_try" in
30322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30323 *) ac_try_echo
=$ac_try;;
30325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30326 (eval "$ac_link") 2>conftest.er1
30328 grep -v '^ *+' conftest.er1
>conftest.err
30330 cat conftest.err
>&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); } && {
30333 test -z "$ac_c_werror_flag" ||
30334 test ! -s conftest.err
30335 } && test -s conftest
$ac_exeext &&
30336 $as_test_x conftest
$ac_exeext; then
30337 ac_cv_lib_rt_clock_gettime
=yes
30339 echo "$as_me: failed program was:" >&5
30340 sed 's/^/| /' conftest.
$ac_ext >&5
30342 ac_cv_lib_rt_clock_gettime
=no
30345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30346 conftest
$ac_exeext conftest.
$ac_ext
30347 LIBS
=$ac_check_lib_save_LIBS
30349 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
30350 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
30351 if test $ac_cv_lib_rt_clock_gettime = yes; then
30352 have_clock_gettime
=-lrt
30354 have_clock_gettime
=no
30361 { echo "$as_me:$LINENO: checking for a useful monotonic clock ..." >&5
30362 echo $ECHO_N "checking for a useful monotonic clock ...... $ECHO_C" >&6; }
30364 if ! test "x$have_clock_gettime" = xno
; then
30365 if ! test "x$have_clock_gettime" = xyes
; then
30366 CLOCK_LIBS
="$have_clock_gettime"
30374 if test "$cross_compiling" = yes; then
30375 MONOTONIC_CLOCK
="cross compiling"
30377 cat >conftest.
$ac_ext <<_ACEOF
30379 #define _POSIX_C_SOURCE 199309L
30382 int main(int argc, char *argv[]) {
30383 struct timespec tp;
30385 if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
30392 rm -f conftest
$ac_exeext
30393 if { (ac_try
="$ac_link"
30394 case "(($ac_try" in
30395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30396 *) ac_try_echo=$ac_try;;
30398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30399 (eval "$ac_link") 2>&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30403 { (case "(($ac_try" in
30404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30405 *) ac_try_echo
=$ac_try;;
30407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30408 (eval "$ac_try") 2>&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); }; }; then
30412 MONOTONIC_CLOCK
=yes
30414 echo "$as_me: program exited with status $ac_status" >&5
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.
$ac_ext >&5
30418 ( exit $ac_status )
30421 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30431 { echo "$as_me:$LINENO: result: $MONOTONIC_CLOCK" >&5
30432 echo "${ECHO_T}$MONOTONIC_CLOCK" >&6; }
30434 if test "x$MONOTONIC_CLOCK" = xyes
; then
30436 cat >>confdefs.h
<<\_ACEOF
30437 #define MONOTONIC_CLOCK 1
30440 XSERVER_LIBS
="$XSERVER_LIBS $CLOCK_LIBS"
30441 LIBS
="$LIBS $CLOCK_LIBS"
30444 { echo "$as_me:$LINENO: checking if SVR4 needs to be defined" >&5
30445 echo $ECHO_N "checking if SVR4 needs to be defined... $ECHO_C" >&6; }
30446 cat >conftest.
$ac_ext <<_ACEOF
30449 cat confdefs.h
>>conftest.
$ac_ext
30450 cat >>conftest.
$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30453 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4)
30458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30459 $EGREP "I_AM_SVR4" >/dev
/null
2>&1; then
30462 cat >>confdefs.h
<<\_ACEOF
30466 { echo "$as_me:$LINENO: result: yes" >&5
30467 echo "${ECHO_T}yes" >&6; }
30469 { echo "$as_me:$LINENO: result: no" >&5
30470 echo "${ECHO_T}no" >&6; }
30475 XSERVER_CFLAGS
="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC"
30477 cat >>confdefs.h
<<_ACEOF
30478 #define _X_BYTE_ORDER $ENDIAN
30488 { echo "$as_me:$LINENO: checking whether to build Xdmx DDX" >&5
30489 echo $ECHO_N "checking whether to build Xdmx DDX... $ECHO_C" >&6; }
30492 { echo "$as_me:$LINENO: checking for DMXMODULES" >&5
30493 echo $ECHO_N "checking for DMXMODULES... $ECHO_C" >&6; }
30495 if test -n "$PKG_CONFIG"; then
30496 if test -n "$DMXMODULES_CFLAGS"; then
30497 pkg_cv_DMXMODULES_CFLAGS
="$DMXMODULES_CFLAGS"
30499 if test -n "$PKG_CONFIG" && \
30500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu xext x11 xrender xfixes xfont xi dmxproto xau \$XDMCP_MODULES \$PIXMAN\"") >&5
30501 ($PKG_CONFIG --exists --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES $PIXMAN") 2>&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; then
30505 pkg_cv_DMXMODULES_CFLAGS
=`$PKG_CONFIG --cflags "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES $PIXMAN" 2>/dev/null`
30513 if test -n "$PKG_CONFIG"; then
30514 if test -n "$DMXMODULES_LIBS"; then
30515 pkg_cv_DMXMODULES_LIBS
="$DMXMODULES_LIBS"
30517 if test -n "$PKG_CONFIG" && \
30518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu xext x11 xrender xfixes xfont xi dmxproto xau \$XDMCP_MODULES \$PIXMAN\"") >&5
30519 ($PKG_CONFIG --exists --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES $PIXMAN") 2>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; then
30523 pkg_cv_DMXMODULES_LIBS
=`$PKG_CONFIG --libs "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES $PIXMAN" 2>/dev/null`
30534 if test $pkg_failed = yes; then
30536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30537 _pkg_short_errors_supported
=yes
30539 _pkg_short_errors_supported
=no
30541 if test $_pkg_short_errors_supported = yes; then
30542 DMXMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES $PIXMAN"`
30544 DMXMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES $PIXMAN"`
30546 # Put the nasty error message in config.log where it belongs
30547 echo "$DMXMODULES_PKG_ERRORS" >&5
30549 { echo "$as_me:$LINENO: result: no" >&5
30550 echo "${ECHO_T}no" >&6; }
30552 elif test $pkg_failed = untried
; then
30555 DMXMODULES_CFLAGS
=$pkg_cv_DMXMODULES_CFLAGS
30556 DMXMODULES_LIBS
=$pkg_cv_DMXMODULES_LIBS
30557 { echo "$as_me:$LINENO: result: yes" >&5
30558 echo "${ECHO_T}yes" >&6; }
30561 if test "x$DMX" = xauto
; then
30564 { echo "$as_me:$LINENO: result: $DMX" >&5
30565 echo "${ECHO_T}$DMX" >&6; }
30566 if test "x$DMX" = xyes
; then
30575 if test "x$DMX" = xyes
; then
30576 if test "x$have_dmx" = xno
; then
30577 { { echo "$as_me:$LINENO: error: Xdmx build explicitly requested, but required
30578 modules not found." >&5
30579 echo "$as_me: error: Xdmx build explicitly requested, but required
30580 modules not found." >&2;}
30581 { (exit 1); exit 1; }; }
30583 DMX_INCLUDES
="$XEXT_INC $RENDER_INC $XTRAP_INC $RECORD_INC"
30584 XDMX_LIBS
="$FB_LIB $MI_LIB $XEXT_LIB $CONFIG_LIB $RENDER_LIB $XTRAP_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $OS_LIB $CWRAP_LIB"
30587 if test "${ac_cv_header_linux_input_h+set}" = set; then
30588 { echo "$as_me:$LINENO: checking for linux/input.h" >&5
30589 echo $ECHO_N "checking for linux/input.h... $ECHO_C" >&6; }
30590 if test "${ac_cv_header_linux_input_h+set}" = set; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_input_h" >&5
30594 echo "${ECHO_T}$ac_cv_header_linux_input_h" >&6; }
30596 # Is the header compilable?
30597 { echo "$as_me:$LINENO: checking linux/input.h usability" >&5
30598 echo $ECHO_N "checking linux/input.h usability... $ECHO_C" >&6; }
30599 cat >conftest.
$ac_ext <<_ACEOF
30602 cat confdefs.h
>>conftest.
$ac_ext
30603 cat >>conftest.
$ac_ext <<_ACEOF
30604 /* end confdefs.h. */
30605 $ac_includes_default
30606 #include <linux/input.h>
30608 rm -f conftest.
$ac_objext
30609 if { (ac_try
="$ac_compile"
30610 case "(($ac_try" in
30611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30612 *) ac_try_echo=$ac_try;;
30614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30615 (eval "$ac_compile") 2>conftest.er1
30617 grep -v '^ *+' conftest.er1 >conftest.err
30619 cat conftest.err >&5
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); } && {
30622 test -z "$ac_c_werror_flag" ||
30623 test ! -s conftest.err
30624 } && test -s conftest.$ac_objext; then
30625 ac_header_compiler=yes
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30630 ac_header_compiler=no
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30635 echo "${ECHO_T}$ac_header_compiler" >&6; }
30637 # Is the header present?
30638 { echo "$as_me:$LINENO: checking linux/input.h presence" >&5
30639 echo $ECHO_N "checking linux/input.h presence... $ECHO_C" >&6; }
30640 cat >conftest.$ac_ext <<_ACEOF
30643 cat confdefs.h >>conftest.$ac_ext
30644 cat >>conftest.$ac_ext <<_ACEOF
30645 /* end confdefs.h. */
30646 #include <linux/input.h>
30648 if { (ac_try="$ac_cpp conftest.$ac_ext"
30649 case "(($ac_try" in
30650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30651 *) ac_try_echo
=$ac_try;;
30653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30656 grep -v '^ *+' conftest.er1
>conftest.err
30658 cat conftest.err
>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } >/dev
/null
&& {
30661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30662 test ! -s conftest.err
30664 ac_header_preproc
=yes
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.
$ac_ext >&5
30669 ac_header_preproc
=no
30672 rm -f conftest.err conftest.
$ac_ext
30673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30674 echo "${ECHO_T}$ac_header_preproc" >&6; }
30676 # So? What about this header?
30677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30679 { echo "$as_me:$LINENO: WARNING: linux/input.h: accepted by the compiler, rejected by the preprocessor!" >&5
30680 echo "$as_me: WARNING: linux/input.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30681 { echo "$as_me:$LINENO: WARNING: linux/input.h: proceeding with the compiler's result" >&5
30682 echo "$as_me: WARNING: linux/input.h: proceeding with the compiler's result" >&2;}
30683 ac_header_preproc
=yes
30686 { echo "$as_me:$LINENO: WARNING: linux/input.h: present but cannot be compiled" >&5
30687 echo "$as_me: WARNING: linux/input.h: present but cannot be compiled" >&2;}
30688 { echo "$as_me:$LINENO: WARNING: linux/input.h: check for missing prerequisite headers?" >&5
30689 echo "$as_me: WARNING: linux/input.h: check for missing prerequisite headers?" >&2;}
30690 { echo "$as_me:$LINENO: WARNING: linux/input.h: see the Autoconf documentation" >&5
30691 echo "$as_me: WARNING: linux/input.h: see the Autoconf documentation" >&2;}
30692 { echo "$as_me:$LINENO: WARNING: linux/input.h: section \"Present But Cannot Be Compiled\"" >&5
30693 echo "$as_me: WARNING: linux/input.h: section \"Present But Cannot Be Compiled\"" >&2;}
30694 { echo "$as_me:$LINENO: WARNING: linux/input.h: proceeding with the preprocessor's result" >&5
30695 echo "$as_me: WARNING: linux/input.h: proceeding with the preprocessor's result" >&2;}
30696 { echo "$as_me:$LINENO: WARNING: linux/input.h: in the future, the compiler will take precedence" >&5
30697 echo "$as_me: WARNING: linux/input.h: in the future, the compiler will take precedence" >&2;}
30699 ## ---------------------------------------------------------------------- ##
30700 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
30701 ## ---------------------------------------------------------------------- ##
30703 ) |
sed "s/^/$as_me: WARNING: /" >&2
30706 { echo "$as_me:$LINENO: checking for linux/input.h" >&5
30707 echo $ECHO_N "checking for linux/input.h... $ECHO_C" >&6; }
30708 if test "${ac_cv_header_linux_input_h+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 ac_cv_header_linux_input_h
=$ac_header_preproc
30713 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_input_h" >&5
30714 echo "${ECHO_T}$ac_cv_header_linux_input_h" >&6; }
30717 if test $ac_cv_header_linux_input_h = yes; then
30718 DMX_BUILD_USB
="yes"
30724 if test "${ac_cv_header_linux_keyboard_h+set}" = set; then
30725 { echo "$as_me:$LINENO: checking for linux/keyboard.h" >&5
30726 echo $ECHO_N "checking for linux/keyboard.h... $ECHO_C" >&6; }
30727 if test "${ac_cv_header_linux_keyboard_h+set}" = set; then
30728 echo $ECHO_N "(cached) $ECHO_C" >&6
30730 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_keyboard_h" >&5
30731 echo "${ECHO_T}$ac_cv_header_linux_keyboard_h" >&6; }
30733 # Is the header compilable?
30734 { echo "$as_me:$LINENO: checking linux/keyboard.h usability" >&5
30735 echo $ECHO_N "checking linux/keyboard.h usability... $ECHO_C" >&6; }
30736 cat >conftest.
$ac_ext <<_ACEOF
30739 cat confdefs.h
>>conftest.
$ac_ext
30740 cat >>conftest.
$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 $ac_includes_default
30743 #include <linux/keyboard.h>
30745 rm -f conftest.
$ac_objext
30746 if { (ac_try
="$ac_compile"
30747 case "(($ac_try" in
30748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30749 *) ac_try_echo=$ac_try;;
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752 (eval "$ac_compile") 2>conftest.er1
30754 grep -v '^ *+' conftest.er1 >conftest.err
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } && {
30759 test -z "$ac_c_werror_flag" ||
30760 test ! -s conftest.err
30761 } && test -s conftest.$ac_objext; then
30762 ac_header_compiler=yes
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30767 ac_header_compiler=no
30770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30771 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30772 echo "${ECHO_T}$ac_header_compiler" >&6; }
30774 # Is the header present?
30775 { echo "$as_me:$LINENO: checking linux/keyboard.h presence" >&5
30776 echo $ECHO_N "checking linux/keyboard.h presence... $ECHO_C" >&6; }
30777 cat >conftest.$ac_ext <<_ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30783 #include <linux/keyboard.h>
30785 if { (ac_try="$ac_cpp conftest.$ac_ext"
30786 case "(($ac_try" in
30787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30788 *) ac_try_echo
=$ac_try;;
30790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30793 grep -v '^ *+' conftest.er1
>conftest.err
30795 cat conftest.err
>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); } >/dev
/null
&& {
30798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30799 test ! -s conftest.err
30801 ac_header_preproc
=yes
30803 echo "$as_me: failed program was:" >&5
30804 sed 's/^/| /' conftest.
$ac_ext >&5
30806 ac_header_preproc
=no
30809 rm -f conftest.err conftest.
$ac_ext
30810 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30811 echo "${ECHO_T}$ac_header_preproc" >&6; }
30813 # So? What about this header?
30814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30816 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: accepted by the compiler, rejected by the preprocessor!" >&5
30817 echo "$as_me: WARNING: linux/keyboard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30818 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: proceeding with the compiler's result" >&5
30819 echo "$as_me: WARNING: linux/keyboard.h: proceeding with the compiler's result" >&2;}
30820 ac_header_preproc
=yes
30823 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: present but cannot be compiled" >&5
30824 echo "$as_me: WARNING: linux/keyboard.h: present but cannot be compiled" >&2;}
30825 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: check for missing prerequisite headers?" >&5
30826 echo "$as_me: WARNING: linux/keyboard.h: check for missing prerequisite headers?" >&2;}
30827 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: see the Autoconf documentation" >&5
30828 echo "$as_me: WARNING: linux/keyboard.h: see the Autoconf documentation" >&2;}
30829 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: section \"Present But Cannot Be Compiled\"" >&5
30830 echo "$as_me: WARNING: linux/keyboard.h: section \"Present But Cannot Be Compiled\"" >&2;}
30831 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: proceeding with the preprocessor's result" >&5
30832 echo "$as_me: WARNING: linux/keyboard.h: proceeding with the preprocessor's result" >&2;}
30833 { echo "$as_me:$LINENO: WARNING: linux/keyboard.h: in the future, the compiler will take precedence" >&5
30834 echo "$as_me: WARNING: linux/keyboard.h: in the future, the compiler will take precedence" >&2;}
30836 ## ---------------------------------------------------------------------- ##
30837 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
30838 ## ---------------------------------------------------------------------- ##
30840 ) |
sed "s/^/$as_me: WARNING: /" >&2
30843 { echo "$as_me:$LINENO: checking for linux/keyboard.h" >&5
30844 echo $ECHO_N "checking for linux/keyboard.h... $ECHO_C" >&6; }
30845 if test "${ac_cv_header_linux_keyboard_h+set}" = set; then
30846 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 ac_cv_header_linux_keyboard_h
=$ac_header_preproc
30850 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_keyboard_h" >&5
30851 echo "${ECHO_T}$ac_cv_header_linux_keyboard_h" >&6; }
30854 if test $ac_cv_header_linux_keyboard_h = yes; then
30855 DMX_BUILD_LNX
="yes"
30861 if test "x$GLX" = xyes
; then
30864 { echo "$as_me:$LINENO: checking for GL" >&5
30865 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
30867 if test -n "$PKG_CONFIG"; then
30868 if test -n "$GL_CFLAGS"; then
30869 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
30871 if test -n "$PKG_CONFIG" && \
30872 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto\"") >&5
30873 ($PKG_CONFIG --exists --print-errors "glproto") 2>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; then
30877 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "glproto" 2>/dev/null`
30885 if test -n "$PKG_CONFIG"; then
30886 if test -n "$GL_LIBS"; then
30887 pkg_cv_GL_LIBS
="$GL_LIBS"
30889 if test -n "$PKG_CONFIG" && \
30890 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto\"") >&5
30891 ($PKG_CONFIG --exists --print-errors "glproto") 2>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; then
30895 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "glproto" 2>/dev/null`
30906 if test $pkg_failed = yes; then
30908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30909 _pkg_short_errors_supported
=yes
30911 _pkg_short_errors_supported
=no
30913 if test $_pkg_short_errors_supported = yes; then
30914 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glproto"`
30916 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glproto"`
30918 # Put the nasty error message in config.log where it belongs
30919 echo "$GL_PKG_ERRORS" >&5
30921 { { echo "$as_me:$LINENO: error: Package requirements (glproto) were not met:
30925 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30926 installed software in a non-standard prefix.
30928 Alternatively, you may set the environment variables GL_CFLAGS
30929 and GL_LIBS to avoid the need to call pkg-config.
30930 See the pkg-config man page for more details.
30932 echo "$as_me: error: Package requirements (glproto) were not met:
30936 Consider adjusting the PKG_CONFIG_PATH environment variable if you
30937 installed software in a non-standard prefix.
30939 Alternatively, you may set the environment variables GL_CFLAGS
30940 and GL_LIBS to avoid the need to call pkg-config.
30941 See the pkg-config man page for more details.
30943 { (exit 1); exit 1; }; }
30944 elif test $pkg_failed = untried
; then
30945 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
30946 is in your PATH or set the PKG_CONFIG environment variable to the full
30947 path to pkg-config.
30949 Alternatively, you may set the environment variables GL_CFLAGS
30950 and GL_LIBS to avoid the need to call pkg-config.
30951 See the pkg-config man page for more details.
30953 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
30954 See \`config.log' for more details." >&5
30955 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
30956 is in your PATH or set the PKG_CONFIG environment variable to the full
30957 path to pkg-config.
30959 Alternatively, you may set the environment variables GL_CFLAGS
30960 and GL_LIBS to avoid the need to call pkg-config.
30961 See the pkg-config man page for more details.
30963 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
30964 See \`config.log' for more details." >&2;}
30965 { (exit 1); exit 1; }; }
30967 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
30968 GL_LIBS
=$pkg_cv_GL_LIBS
30969 { echo "$as_me:$LINENO: result: yes" >&5
30970 echo "${ECHO_T}yes" >&6; }
30976 { echo "$as_me:$LINENO: checking for XDMXCONFIG_DEP" >&5
30977 echo $ECHO_N "checking for XDMXCONFIG_DEP... $ECHO_C" >&6; }
30979 if test -n "$PKG_CONFIG"; then
30980 if test -n "$XDMXCONFIG_DEP_CFLAGS"; then
30981 pkg_cv_XDMXCONFIG_DEP_CFLAGS
="$XDMXCONFIG_DEP_CFLAGS"
30983 if test -n "$PKG_CONFIG" && \
30984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\"") >&5
30985 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); }; then
30989 pkg_cv_XDMXCONFIG_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xaw7 xmu xt xpm x11" 2>/dev/null`
30997 if test -n "$PKG_CONFIG"; then
30998 if test -n "$XDMXCONFIG_DEP_LIBS"; then
30999 pkg_cv_XDMXCONFIG_DEP_LIBS
="$XDMXCONFIG_DEP_LIBS"
31001 if test -n "$PKG_CONFIG" && \
31002 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\"") >&5
31003 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); }; then
31007 pkg_cv_XDMXCONFIG_DEP_LIBS
=`$PKG_CONFIG --libs "xaw7 xmu xt xpm x11" 2>/dev/null`
31018 if test $pkg_failed = yes; then
31020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31021 _pkg_short_errors_supported
=yes
31023 _pkg_short_errors_supported
=no
31025 if test $_pkg_short_errors_supported = yes; then
31026 XDMXCONFIG_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xaw7 xmu xt xpm x11"`
31028 XDMXCONFIG_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xaw7 xmu xt xpm x11"`
31030 # Put the nasty error message in config.log where it belongs
31031 echo "$XDMXCONFIG_DEP_PKG_ERRORS" >&5
31033 { { echo "$as_me:$LINENO: error: Package requirements (xaw7 xmu xt xpm x11) were not met:
31035 $XDMXCONFIG_DEP_PKG_ERRORS
31037 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31038 installed software in a non-standard prefix.
31040 Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS
31041 and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config.
31042 See the pkg-config man page for more details.
31044 echo "$as_me: error: Package requirements (xaw7 xmu xt xpm x11) were not met:
31046 $XDMXCONFIG_DEP_PKG_ERRORS
31048 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31049 installed software in a non-standard prefix.
31051 Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS
31052 and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config.
31053 See the pkg-config man page for more details.
31055 { (exit 1); exit 1; }; }
31056 elif test $pkg_failed = untried
; then
31057 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31058 is in your PATH or set the PKG_CONFIG environment variable to the full
31059 path to pkg-config.
31061 Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS
31062 and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config.
31063 See the pkg-config man page for more details.
31065 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31066 See \`config.log' for more details." >&5
31067 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31068 is in your PATH or set the PKG_CONFIG environment variable to the full
31069 path to pkg-config.
31071 Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS
31072 and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config.
31073 See the pkg-config man page for more details.
31075 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31076 See \`config.log' for more details." >&2;}
31077 { (exit 1); exit 1; }; }
31079 XDMXCONFIG_DEP_CFLAGS
=$pkg_cv_XDMXCONFIG_DEP_CFLAGS
31080 XDMXCONFIG_DEP_LIBS
=$pkg_cv_XDMXCONFIG_DEP_LIBS
31081 { echo "$as_me:$LINENO: result: yes" >&5
31082 echo "${ECHO_T}yes" >&6; }
31089 { echo "$as_me:$LINENO: checking for DMXEXAMPLES_DEP" >&5
31090 echo $ECHO_N "checking for DMXEXAMPLES_DEP... $ECHO_C" >&6; }
31092 if test -n "$PKG_CONFIG"; then
31093 if test -n "$DMXEXAMPLES_DEP_CFLAGS"; then
31094 pkg_cv_DMXEXAMPLES_DEP_CFLAGS
="$DMXEXAMPLES_DEP_CFLAGS"
31096 if test -n "$PKG_CONFIG" && \
31097 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xext x11\"") >&5
31098 ($PKG_CONFIG --exists --print-errors "dmx xext x11") 2>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; then
31102 pkg_cv_DMXEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "dmx xext x11" 2>/dev/null`
31110 if test -n "$PKG_CONFIG"; then
31111 if test -n "$DMXEXAMPLES_DEP_LIBS"; then
31112 pkg_cv_DMXEXAMPLES_DEP_LIBS
="$DMXEXAMPLES_DEP_LIBS"
31114 if test -n "$PKG_CONFIG" && \
31115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xext x11\"") >&5
31116 ($PKG_CONFIG --exists --print-errors "dmx xext x11") 2>&5
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; then
31120 pkg_cv_DMXEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "dmx xext x11" 2>/dev/null`
31131 if test $pkg_failed = yes; then
31133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31134 _pkg_short_errors_supported
=yes
31136 _pkg_short_errors_supported
=no
31138 if test $_pkg_short_errors_supported = yes; then
31139 DMXEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dmx xext x11"`
31141 DMXEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dmx xext x11"`
31143 # Put the nasty error message in config.log where it belongs
31144 echo "$DMXEXAMPLES_DEP_PKG_ERRORS" >&5
31146 { { echo "$as_me:$LINENO: error: Package requirements (dmx xext x11) were not met:
31148 $DMXEXAMPLES_DEP_PKG_ERRORS
31150 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31151 installed software in a non-standard prefix.
31153 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
31154 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31155 See the pkg-config man page for more details.
31157 echo "$as_me: error: Package requirements (dmx xext x11) were not met:
31159 $DMXEXAMPLES_DEP_PKG_ERRORS
31161 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31162 installed software in a non-standard prefix.
31164 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
31165 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31166 See the pkg-config man page for more details.
31168 { (exit 1); exit 1; }; }
31169 elif test $pkg_failed = untried
; then
31170 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31171 is in your PATH or set the PKG_CONFIG environment variable to the full
31172 path to pkg-config.
31174 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
31175 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31176 See the pkg-config man page for more details.
31178 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31179 See \`config.log' for more details." >&5
31180 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31181 is in your PATH or set the PKG_CONFIG environment variable to the full
31182 path to pkg-config.
31184 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
31185 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31186 See the pkg-config man page for more details.
31188 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31189 See \`config.log' for more details." >&2;}
31190 { (exit 1); exit 1; }; }
31192 DMXEXAMPLES_DEP_CFLAGS
=$pkg_cv_DMXEXAMPLES_DEP_CFLAGS
31193 DMXEXAMPLES_DEP_LIBS
=$pkg_cv_DMXEXAMPLES_DEP_LIBS
31194 { echo "$as_me:$LINENO: result: yes" >&5
31195 echo "${ECHO_T}yes" >&6; }
31201 { echo "$as_me:$LINENO: checking for DMXXMUEXAMPLES_DEP" >&5
31202 echo $ECHO_N "checking for DMXXMUEXAMPLES_DEP... $ECHO_C" >&6; }
31204 if test -n "$PKG_CONFIG"; then
31205 if test -n "$DMXXMUEXAMPLES_DEP_CFLAGS"; then
31206 pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
="$DMXXMUEXAMPLES_DEP_CFLAGS"
31208 if test -n "$PKG_CONFIG" && \
31209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xmu xext x11\"") >&5
31210 ($PKG_CONFIG --exists --print-errors "dmx xmu xext x11") 2>&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; then
31214 pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "dmx xmu xext x11" 2>/dev/null`
31222 if test -n "$PKG_CONFIG"; then
31223 if test -n "$DMXXMUEXAMPLES_DEP_LIBS"; then
31224 pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
="$DMXXMUEXAMPLES_DEP_LIBS"
31226 if test -n "$PKG_CONFIG" && \
31227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xmu xext x11\"") >&5
31228 ($PKG_CONFIG --exists --print-errors "dmx xmu xext x11") 2>&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; then
31232 pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "dmx xmu xext x11" 2>/dev/null`
31243 if test $pkg_failed = yes; then
31245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31246 _pkg_short_errors_supported
=yes
31248 _pkg_short_errors_supported
=no
31250 if test $_pkg_short_errors_supported = yes; then
31251 DMXXMUEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dmx xmu xext x11"`
31253 DMXXMUEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dmx xmu xext x11"`
31255 # Put the nasty error message in config.log where it belongs
31256 echo "$DMXXMUEXAMPLES_DEP_PKG_ERRORS" >&5
31258 { { echo "$as_me:$LINENO: error: Package requirements (dmx xmu xext x11) were not met:
31260 $DMXXMUEXAMPLES_DEP_PKG_ERRORS
31262 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31263 installed software in a non-standard prefix.
31265 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
31266 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31267 See the pkg-config man page for more details.
31269 echo "$as_me: error: Package requirements (dmx xmu xext x11) were not met:
31271 $DMXXMUEXAMPLES_DEP_PKG_ERRORS
31273 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31274 installed software in a non-standard prefix.
31276 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
31277 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31278 See the pkg-config man page for more details.
31280 { (exit 1); exit 1; }; }
31281 elif test $pkg_failed = untried
; then
31282 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31283 is in your PATH or set the PKG_CONFIG environment variable to the full
31284 path to pkg-config.
31286 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
31287 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31288 See the pkg-config man page for more details.
31290 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31291 See \`config.log' for more details." >&5
31292 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31293 is in your PATH or set the PKG_CONFIG environment variable to the full
31294 path to pkg-config.
31296 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
31297 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31298 See the pkg-config man page for more details.
31300 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31301 See \`config.log' for more details." >&2;}
31302 { (exit 1); exit 1; }; }
31304 DMXXMUEXAMPLES_DEP_CFLAGS
=$pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
31305 DMXXMUEXAMPLES_DEP_LIBS
=$pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
31306 { echo "$as_me:$LINENO: result: yes" >&5
31307 echo "${ECHO_T}yes" >&6; }
31313 { echo "$as_me:$LINENO: checking for DMXXIEXAMPLES_DEP" >&5
31314 echo $ECHO_N "checking for DMXXIEXAMPLES_DEP... $ECHO_C" >&6; }
31316 if test -n "$PKG_CONFIG"; then
31317 if test -n "$DMXXIEXAMPLES_DEP_CFLAGS"; then
31318 pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
="$DMXXIEXAMPLES_DEP_CFLAGS"
31320 if test -n "$PKG_CONFIG" && \
31321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xi xext x11\"") >&5
31322 ($PKG_CONFIG --exists --print-errors "dmx xi xext x11") 2>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; then
31326 pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "dmx xi xext x11" 2>/dev/null`
31334 if test -n "$PKG_CONFIG"; then
31335 if test -n "$DMXXIEXAMPLES_DEP_LIBS"; then
31336 pkg_cv_DMXXIEXAMPLES_DEP_LIBS
="$DMXXIEXAMPLES_DEP_LIBS"
31338 if test -n "$PKG_CONFIG" && \
31339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xi xext x11\"") >&5
31340 ($PKG_CONFIG --exists --print-errors "dmx xi xext x11") 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; then
31344 pkg_cv_DMXXIEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "dmx xi xext x11" 2>/dev/null`
31355 if test $pkg_failed = yes; then
31357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31358 _pkg_short_errors_supported
=yes
31360 _pkg_short_errors_supported
=no
31362 if test $_pkg_short_errors_supported = yes; then
31363 DMXXIEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dmx xi xext x11"`
31365 DMXXIEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dmx xi xext x11"`
31367 # Put the nasty error message in config.log where it belongs
31368 echo "$DMXXIEXAMPLES_DEP_PKG_ERRORS" >&5
31370 { { echo "$as_me:$LINENO: error: Package requirements (dmx xi xext x11) were not met:
31372 $DMXXIEXAMPLES_DEP_PKG_ERRORS
31374 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31375 installed software in a non-standard prefix.
31377 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
31378 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31379 See the pkg-config man page for more details.
31381 echo "$as_me: error: Package requirements (dmx xi xext x11) were not met:
31383 $DMXXIEXAMPLES_DEP_PKG_ERRORS
31385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31386 installed software in a non-standard prefix.
31388 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
31389 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31390 See the pkg-config man page for more details.
31392 { (exit 1); exit 1; }; }
31393 elif test $pkg_failed = untried
; then
31394 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31395 is in your PATH or set the PKG_CONFIG environment variable to the full
31396 path to pkg-config.
31398 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
31399 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31400 See the pkg-config man page for more details.
31402 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31403 See \`config.log' for more details." >&5
31404 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31405 is in your PATH or set the PKG_CONFIG environment variable to the full
31406 path to pkg-config.
31408 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
31409 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31410 See the pkg-config man page for more details.
31412 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31413 See \`config.log' for more details." >&2;}
31414 { (exit 1); exit 1; }; }
31416 DMXXIEXAMPLES_DEP_CFLAGS
=$pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
31417 DMXXIEXAMPLES_DEP_LIBS
=$pkg_cv_DMXXIEXAMPLES_DEP_LIBS
31418 { echo "$as_me:$LINENO: result: yes" >&5
31419 echo "${ECHO_T}yes" >&6; }
31425 { echo "$as_me:$LINENO: checking for XTSTEXAMPLES_DEP" >&5
31426 echo $ECHO_N "checking for XTSTEXAMPLES_DEP... $ECHO_C" >&6; }
31428 if test -n "$PKG_CONFIG"; then
31429 if test -n "$XTSTEXAMPLES_DEP_CFLAGS"; then
31430 pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
="$XTSTEXAMPLES_DEP_CFLAGS"
31432 if test -n "$PKG_CONFIG" && \
31433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtst xext x11\"") >&5
31434 ($PKG_CONFIG --exists --print-errors "xtst xext x11") 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; then
31438 pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xtst xext x11" 2>/dev/null`
31446 if test -n "$PKG_CONFIG"; then
31447 if test -n "$XTSTEXAMPLES_DEP_LIBS"; then
31448 pkg_cv_XTSTEXAMPLES_DEP_LIBS
="$XTSTEXAMPLES_DEP_LIBS"
31450 if test -n "$PKG_CONFIG" && \
31451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtst xext x11\"") >&5
31452 ($PKG_CONFIG --exists --print-errors "xtst xext x11") 2>&5
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); }; then
31456 pkg_cv_XTSTEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "xtst xext x11" 2>/dev/null`
31467 if test $pkg_failed = yes; then
31469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31470 _pkg_short_errors_supported
=yes
31472 _pkg_short_errors_supported
=no
31474 if test $_pkg_short_errors_supported = yes; then
31475 XTSTEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xtst xext x11"`
31477 XTSTEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xtst xext x11"`
31479 # Put the nasty error message in config.log where it belongs
31480 echo "$XTSTEXAMPLES_DEP_PKG_ERRORS" >&5
31482 { { echo "$as_me:$LINENO: error: Package requirements (xtst xext x11) were not met:
31484 $XTSTEXAMPLES_DEP_PKG_ERRORS
31486 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31487 installed software in a non-standard prefix.
31489 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
31490 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31491 See the pkg-config man page for more details.
31493 echo "$as_me: error: Package requirements (xtst xext x11) were not met:
31495 $XTSTEXAMPLES_DEP_PKG_ERRORS
31497 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31498 installed software in a non-standard prefix.
31500 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
31501 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31502 See the pkg-config man page for more details.
31504 { (exit 1); exit 1; }; }
31505 elif test $pkg_failed = untried
; then
31506 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31507 is in your PATH or set the PKG_CONFIG environment variable to the full
31508 path to pkg-config.
31510 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
31511 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31512 See the pkg-config man page for more details.
31514 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31515 See \`config.log' for more details." >&5
31516 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31517 is in your PATH or set the PKG_CONFIG environment variable to the full
31518 path to pkg-config.
31520 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
31521 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31522 See the pkg-config man page for more details.
31524 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31525 See \`config.log' for more details." >&2;}
31526 { (exit 1); exit 1; }; }
31528 XTSTEXAMPLES_DEP_CFLAGS
=$pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
31529 XTSTEXAMPLES_DEP_LIBS
=$pkg_cv_XTSTEXAMPLES_DEP_LIBS
31530 { echo "$as_me:$LINENO: result: yes" >&5
31531 echo "${ECHO_T}yes" >&6; }
31537 { echo "$as_me:$LINENO: checking for XRESEXAMPLES_DEP" >&5
31538 echo $ECHO_N "checking for XRESEXAMPLES_DEP... $ECHO_C" >&6; }
31540 if test -n "$PKG_CONFIG"; then
31541 if test -n "$XRESEXAMPLES_DEP_CFLAGS"; then
31542 pkg_cv_XRESEXAMPLES_DEP_CFLAGS
="$XRESEXAMPLES_DEP_CFLAGS"
31544 if test -n "$PKG_CONFIG" && \
31545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xres xext x11\"") >&5
31546 ($PKG_CONFIG --exists --print-errors "xres xext x11") 2>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); }; then
31550 pkg_cv_XRESEXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xres xext x11" 2>/dev/null`
31558 if test -n "$PKG_CONFIG"; then
31559 if test -n "$XRESEXAMPLES_DEP_LIBS"; then
31560 pkg_cv_XRESEXAMPLES_DEP_LIBS
="$XRESEXAMPLES_DEP_LIBS"
31562 if test -n "$PKG_CONFIG" && \
31563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xres xext x11\"") >&5
31564 ($PKG_CONFIG --exists --print-errors "xres xext x11") 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; then
31568 pkg_cv_XRESEXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "xres xext x11" 2>/dev/null`
31579 if test $pkg_failed = yes; then
31581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31582 _pkg_short_errors_supported
=yes
31584 _pkg_short_errors_supported
=no
31586 if test $_pkg_short_errors_supported = yes; then
31587 XRESEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xres xext x11"`
31589 XRESEXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xres xext x11"`
31591 # Put the nasty error message in config.log where it belongs
31592 echo "$XRESEXAMPLES_DEP_PKG_ERRORS" >&5
31594 { { echo "$as_me:$LINENO: error: Package requirements (xres xext x11) were not met:
31596 $XRESEXAMPLES_DEP_PKG_ERRORS
31598 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31599 installed software in a non-standard prefix.
31601 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
31602 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31603 See the pkg-config man page for more details.
31605 echo "$as_me: error: Package requirements (xres xext x11) were not met:
31607 $XRESEXAMPLES_DEP_PKG_ERRORS
31609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31610 installed software in a non-standard prefix.
31612 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
31613 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31614 See the pkg-config man page for more details.
31616 { (exit 1); exit 1; }; }
31617 elif test $pkg_failed = untried
; then
31618 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31619 is in your PATH or set the PKG_CONFIG environment variable to the full
31620 path to pkg-config.
31622 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
31623 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31624 See the pkg-config man page for more details.
31626 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31627 See \`config.log' for more details." >&5
31628 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31629 is in your PATH or set the PKG_CONFIG environment variable to the full
31630 path to pkg-config.
31632 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
31633 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31634 See the pkg-config man page for more details.
31636 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31637 See \`config.log' for more details." >&2;}
31638 { (exit 1); exit 1; }; }
31640 XRESEXAMPLES_DEP_CFLAGS
=$pkg_cv_XRESEXAMPLES_DEP_CFLAGS
31641 XRESEXAMPLES_DEP_LIBS
=$pkg_cv_XRESEXAMPLES_DEP_LIBS
31642 { echo "$as_me:$LINENO: result: yes" >&5
31643 echo "${ECHO_T}yes" >&6; }
31649 { echo "$as_me:$LINENO: checking for X11EXAMPLES_DEP" >&5
31650 echo $ECHO_N "checking for X11EXAMPLES_DEP... $ECHO_C" >&6; }
31652 if test -n "$PKG_CONFIG"; then
31653 if test -n "$X11EXAMPLES_DEP_CFLAGS"; then
31654 pkg_cv_X11EXAMPLES_DEP_CFLAGS
="$X11EXAMPLES_DEP_CFLAGS"
31656 if test -n "$PKG_CONFIG" && \
31657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xext x11\"") >&5
31658 ($PKG_CONFIG --exists --print-errors "xext x11") 2>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); }; then
31662 pkg_cv_X11EXAMPLES_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xext x11" 2>/dev/null`
31670 if test -n "$PKG_CONFIG"; then
31671 if test -n "$X11EXAMPLES_DEP_LIBS"; then
31672 pkg_cv_X11EXAMPLES_DEP_LIBS
="$X11EXAMPLES_DEP_LIBS"
31674 if test -n "$PKG_CONFIG" && \
31675 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xext x11\"") >&5
31676 ($PKG_CONFIG --exists --print-errors "xext x11") 2>&5
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; then
31680 pkg_cv_X11EXAMPLES_DEP_LIBS
=`$PKG_CONFIG --libs "xext x11" 2>/dev/null`
31691 if test $pkg_failed = yes; then
31693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31694 _pkg_short_errors_supported
=yes
31696 _pkg_short_errors_supported
=no
31698 if test $_pkg_short_errors_supported = yes; then
31699 X11EXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xext x11"`
31701 X11EXAMPLES_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xext x11"`
31703 # Put the nasty error message in config.log where it belongs
31704 echo "$X11EXAMPLES_DEP_PKG_ERRORS" >&5
31706 { { echo "$as_me:$LINENO: error: Package requirements (xext x11) were not met:
31708 $X11EXAMPLES_DEP_PKG_ERRORS
31710 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31711 installed software in a non-standard prefix.
31713 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
31714 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31715 See the pkg-config man page for more details.
31717 echo "$as_me: error: Package requirements (xext x11) were not met:
31719 $X11EXAMPLES_DEP_PKG_ERRORS
31721 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31722 installed software in a non-standard prefix.
31724 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
31725 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31726 See the pkg-config man page for more details.
31728 { (exit 1); exit 1; }; }
31729 elif test $pkg_failed = untried
; then
31730 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
31731 is in your PATH or set the PKG_CONFIG environment variable to the full
31732 path to pkg-config.
31734 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
31735 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31736 See the pkg-config man page for more details.
31738 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31739 See \`config.log' for more details." >&5
31740 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
31741 is in your PATH or set the PKG_CONFIG environment variable to the full
31742 path to pkg-config.
31744 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
31745 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
31746 See the pkg-config man page for more details.
31748 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
31749 See \`config.log' for more details." >&2;}
31750 { (exit 1); exit 1; }; }
31752 X11EXAMPLES_DEP_CFLAGS
=$pkg_cv_X11EXAMPLES_DEP_CFLAGS
31753 X11EXAMPLES_DEP_LIBS
=$pkg_cv_X11EXAMPLES_DEP_LIBS
31754 { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31760 if test "x$DMX_BUILD_LNX" = xyes
; then
31761 DMX_BUILD_LNX_TRUE
=
31762 DMX_BUILD_LNX_FALSE
='#'
31764 DMX_BUILD_LNX_TRUE
='#'
31765 DMX_BUILD_LNX_FALSE
=
31768 if test "x$DMX_BUILD_USB" = xyes
; then
31769 DMX_BUILD_USB_TRUE
=
31770 DMX_BUILD_USB_FALSE
='#'
31772 DMX_BUILD_USB_TRUE
='#'
31773 DMX_BUILD_USB_FALSE
=
31779 { echo "$as_me:$LINENO: checking whether to build Xvfb DDX" >&5
31780 echo $ECHO_N "checking whether to build Xvfb DDX... $ECHO_C" >&6; }
31781 { echo "$as_me:$LINENO: result: $XVFB" >&5
31782 echo "${ECHO_T}$XVFB" >&6; }
31783 if test "x$XVFB" = xyes
; then
31792 if test "x$XVFB" = xyes
; then
31793 XVFB_LIBS
="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS"
31799 { echo "$as_me:$LINENO: checking whether to build Xnest DDX" >&5
31800 echo $ECHO_N "checking whether to build Xnest DDX... $ECHO_C" >&6; }
31803 { echo "$as_me:$LINENO: checking for XNESTMODULES" >&5
31804 echo $ECHO_N "checking for XNESTMODULES... $ECHO_C" >&6; }
31806 if test -n "$PKG_CONFIG"; then
31807 if test -n "$XNESTMODULES_CFLAGS"; then
31808 pkg_cv_XNESTMODULES_CFLAGS
="$XNESTMODULES_CFLAGS"
31810 if test -n "$PKG_CONFIG" && \
31811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xfont xext x11 xau \$XDMCP_MODULES\"") >&5
31812 ($PKG_CONFIG --exists --print-errors "xfont xext x11 xau $XDMCP_MODULES") 2>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); }; then
31816 pkg_cv_XNESTMODULES_CFLAGS
=`$PKG_CONFIG --cflags "xfont xext x11 xau $XDMCP_MODULES" 2>/dev/null`
31824 if test -n "$PKG_CONFIG"; then
31825 if test -n "$XNESTMODULES_LIBS"; then
31826 pkg_cv_XNESTMODULES_LIBS
="$XNESTMODULES_LIBS"
31828 if test -n "$PKG_CONFIG" && \
31829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xfont xext x11 xau \$XDMCP_MODULES\"") >&5
31830 ($PKG_CONFIG --exists --print-errors "xfont xext x11 xau $XDMCP_MODULES") 2>&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); }; then
31834 pkg_cv_XNESTMODULES_LIBS
=`$PKG_CONFIG --libs "xfont xext x11 xau $XDMCP_MODULES" 2>/dev/null`
31845 if test $pkg_failed = yes; then
31847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31848 _pkg_short_errors_supported
=yes
31850 _pkg_short_errors_supported
=no
31852 if test $_pkg_short_errors_supported = yes; then
31853 XNESTMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xfont xext x11 xau $XDMCP_MODULES"`
31855 XNESTMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xfont xext x11 xau $XDMCP_MODULES"`
31857 # Put the nasty error message in config.log where it belongs
31858 echo "$XNESTMODULES_PKG_ERRORS" >&5
31860 { echo "$as_me:$LINENO: result: no" >&5
31861 echo "${ECHO_T}no" >&6; }
31863 elif test $pkg_failed = untried
; then
31866 XNESTMODULES_CFLAGS
=$pkg_cv_XNESTMODULES_CFLAGS
31867 XNESTMODULES_LIBS
=$pkg_cv_XNESTMODULES_LIBS
31868 { echo "$as_me:$LINENO: result: yes" >&5
31869 echo "${ECHO_T}yes" >&6; }
31872 if test "x$XNEST" = xauto
; then
31873 XNEST
="$have_xnest"
31875 { echo "$as_me:$LINENO: result: $XNEST" >&5
31876 echo "${ECHO_T}$XNEST" >&6; }
31877 if test "x$XNEST" = xyes
; then
31886 if test "x$XNEST" = xyes
; then
31887 XNEST_LIBS
="$MI_LIB $CONFIG_LIB $XSERVER_LIBS $FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS"
31893 { echo "$as_me:$LINENO: checking whether to build Xorg DDX" >&5
31894 echo $ECHO_N "checking whether to build Xorg DDX... $ECHO_C" >&6; }
31895 if test "x$XORG" = xauto
; then
31898 cygwin
*) XORG
="no" ;;
31901 { echo "$as_me:$LINENO: result: $XORG" >&5
31902 echo "${ECHO_T}$XORG" >&6; }
31905 { echo "$as_me:$LINENO: checking whether to build Xgl DDX" >&5
31906 echo $ECHO_N "checking whether to build Xgl DDX... $ECHO_C" >&6; }
31907 if test "x$XGL" != xno
; then
31910 { echo "$as_me:$LINENO: checking for XGLMODULES" >&5
31911 echo $ECHO_N "checking for XGLMODULES... $ECHO_C" >&6; }
31913 if test -n "$PKG_CONFIG"; then
31914 if test -n "$XGLMODULES_CFLAGS"; then
31915 pkg_cv_XGLMODULES_CFLAGS
="$XGLMODULES_CFLAGS"
31917 if test -n "$PKG_CONFIG" && \
31918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx >= 0.4.3\"") >&5
31919 ($PKG_CONFIG --exists --print-errors "glitz-glx >= 0.4.3") 2>&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; then
31923 pkg_cv_XGLMODULES_CFLAGS
=`$PKG_CONFIG --cflags "glitz-glx >= 0.4.3" 2>/dev/null`
31931 if test -n "$PKG_CONFIG"; then
31932 if test -n "$XGLMODULES_LIBS"; then
31933 pkg_cv_XGLMODULES_LIBS
="$XGLMODULES_LIBS"
31935 if test -n "$PKG_CONFIG" && \
31936 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx >= 0.4.3\"") >&5
31937 ($PKG_CONFIG --exists --print-errors "glitz-glx >= 0.4.3") 2>&5
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; then
31941 pkg_cv_XGLMODULES_LIBS
=`$PKG_CONFIG --libs "glitz-glx >= 0.4.3" 2>/dev/null`
31952 if test $pkg_failed = yes; then
31954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31955 _pkg_short_errors_supported
=yes
31957 _pkg_short_errors_supported
=no
31959 if test $_pkg_short_errors_supported = yes; then
31960 XGLMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glitz-glx >= 0.4.3"`
31962 XGLMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glitz-glx >= 0.4.3"`
31964 # Put the nasty error message in config.log where it belongs
31965 echo "$XGLMODULES_PKG_ERRORS" >&5
31967 { echo "$as_me:$LINENO: result: no" >&5
31968 echo "${ECHO_T}no" >&6; }
31970 elif test $pkg_failed = untried
; then
31973 XGLMODULES_CFLAGS
=$pkg_cv_XGLMODULES_CFLAGS
31974 XGLMODULES_LIBS
=$pkg_cv_XGLMODULES_LIBS
31975 { echo "$as_me:$LINENO: result: yes" >&5
31976 echo "${ECHO_T}yes" >&6; }
31982 { echo "$as_me:$LINENO: result: $XGL" >&5
31983 echo "${ECHO_T}$XGL" >&6; }
31984 if test "x$XGL" = xyes
; then
31993 if test "x$XGL" = xyes
; then
31994 XGL_LIBS
="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB"
31997 cat >>confdefs.h
<<\_ACEOF
31998 #define XGL_MODULAR 1
32002 xglmoduledir
="$moduledir/xgl"
32007 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
32008 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
32009 eval ac_define_dir
="\"$xglmoduledir\""
32010 eval ac_define_dir
="\"$ac_define_dir\""
32011 XGL_MODULE_PATH
="$ac_define_dir"
32014 cat >>confdefs.h
<<_ACEOF
32015 #define XGL_MODULE_PATH "$ac_define_dir"
32018 test "$prefix_NONE" && prefix
=NONE
32019 test "$exec_prefix_NONE" && exec_prefix
=NONE
32024 { echo "$as_me:$LINENO: checking whether to build Xegl DDX" >&5
32025 echo $ECHO_N "checking whether to build Xegl DDX... $ECHO_C" >&6; }
32026 if test "x$XEGL" != xno
; then
32029 { echo "$as_me:$LINENO: checking for XGLMODULES" >&5
32030 echo $ECHO_N "checking for XGLMODULES... $ECHO_C" >&6; }
32032 if test -n "$PKG_CONFIG"; then
32033 if test -n "$XGLMODULES_CFLAGS"; then
32034 pkg_cv_XGLMODULES_CFLAGS
="$XGLMODULES_CFLAGS"
32036 if test -n "$PKG_CONFIG" && \
32037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx >= 0.4.3\"") >&5
32038 ($PKG_CONFIG --exists --print-errors "glitz-glx >= 0.4.3") 2>&5
32040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32041 (exit $ac_status); }; then
32042 pkg_cv_XGLMODULES_CFLAGS
=`$PKG_CONFIG --cflags "glitz-glx >= 0.4.3" 2>/dev/null`
32050 if test -n "$PKG_CONFIG"; then
32051 if test -n "$XGLMODULES_LIBS"; then
32052 pkg_cv_XGLMODULES_LIBS
="$XGLMODULES_LIBS"
32054 if test -n "$PKG_CONFIG" && \
32055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx >= 0.4.3\"") >&5
32056 ($PKG_CONFIG --exists --print-errors "glitz-glx >= 0.4.3") 2>&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; then
32060 pkg_cv_XGLMODULES_LIBS
=`$PKG_CONFIG --libs "glitz-glx >= 0.4.3" 2>/dev/null`
32071 if test $pkg_failed = yes; then
32073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32074 _pkg_short_errors_supported
=yes
32076 _pkg_short_errors_supported
=no
32078 if test $_pkg_short_errors_supported = yes; then
32079 XGLMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glitz-glx >= 0.4.3"`
32081 XGLMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glitz-glx >= 0.4.3"`
32083 # Put the nasty error message in config.log where it belongs
32084 echo "$XGLMODULES_PKG_ERRORS" >&5
32086 { echo "$as_me:$LINENO: result: no" >&5
32087 echo "${ECHO_T}no" >&6; }
32089 elif test $pkg_failed = untried
; then
32092 XGLMODULES_CFLAGS
=$pkg_cv_XGLMODULES_CFLAGS
32093 XGLMODULES_LIBS
=$pkg_cv_XGLMODULES_LIBS
32094 { echo "$as_me:$LINENO: result: yes" >&5
32095 echo "${ECHO_T}yes" >&6; }
32101 { echo "$as_me:$LINENO: result: $XEGL" >&5
32102 echo "${ECHO_T}$XEGL" >&6; }
32103 if test "x$XEGL" = xyes
; then
32112 if test "x$XEGL" = xyes
; then
32113 XEGL_LIBS
="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB"
32118 { echo "$as_me:$LINENO: checking whether to build Xglx DDX" >&5
32119 echo $ECHO_N "checking whether to build Xglx DDX... $ECHO_C" >&6; }
32120 if test "x$XGLX" != xno
; then
32123 { echo "$as_me:$LINENO: checking for XGLXMODULES" >&5
32124 echo $ECHO_N "checking for XGLXMODULES... $ECHO_C" >&6; }
32126 if test -n "$PKG_CONFIG"; then
32127 if test -n "$XGLXMODULES_CFLAGS"; then
32128 pkg_cv_XGLXMODULES_CFLAGS
="$XGLXMODULES_CFLAGS"
32130 if test -n "$PKG_CONFIG" && \
32131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx >= 0.4.3 xrender\"") >&5
32132 ($PKG_CONFIG --exists --print-errors "glitz-glx >= 0.4.3 xrender") 2>&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); }; then
32136 pkg_cv_XGLXMODULES_CFLAGS
=`$PKG_CONFIG --cflags "glitz-glx >= 0.4.3 xrender" 2>/dev/null`
32144 if test -n "$PKG_CONFIG"; then
32145 if test -n "$XGLXMODULES_LIBS"; then
32146 pkg_cv_XGLXMODULES_LIBS
="$XGLXMODULES_LIBS"
32148 if test -n "$PKG_CONFIG" && \
32149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx >= 0.4.3 xrender\"") >&5
32150 ($PKG_CONFIG --exists --print-errors "glitz-glx >= 0.4.3 xrender") 2>&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); }; then
32154 pkg_cv_XGLXMODULES_LIBS
=`$PKG_CONFIG --libs "glitz-glx >= 0.4.3 xrender" 2>/dev/null`
32165 if test $pkg_failed = yes; then
32167 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32168 _pkg_short_errors_supported
=yes
32170 _pkg_short_errors_supported
=no
32172 if test $_pkg_short_errors_supported = yes; then
32173 XGLXMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glitz-glx >= 0.4.3 xrender"`
32175 XGLXMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glitz-glx >= 0.4.3 xrender"`
32177 # Put the nasty error message in config.log where it belongs
32178 echo "$XGLXMODULES_PKG_ERRORS" >&5
32180 { echo "$as_me:$LINENO: result: no" >&5
32181 echo "${ECHO_T}no" >&6; }
32183 elif test $pkg_failed = untried
; then
32186 XGLXMODULES_CFLAGS
=$pkg_cv_XGLXMODULES_CFLAGS
32187 XGLXMODULES_LIBS
=$pkg_cv_XGLXMODULES_LIBS
32188 { echo "$as_me:$LINENO: result: yes" >&5
32189 echo "${ECHO_T}yes" >&6; }
32195 { echo "$as_me:$LINENO: result: $XGLX" >&5
32196 echo "${ECHO_T}$XGLX" >&6; }
32197 if test "x$XGLX" = xyes
; then
32206 if test "x$XGLX" = xyes
; then
32207 XGLX_LIBS
="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB"
32211 # XORG_CORE_LIBS is needed even if you're not building the Xorg DDX
32212 XORG_CORE_LIBS
="$DIX_LIB $CONFIG_LIB"
32215 xorg_bus_linuxpci
=no
32216 xorg_bus_freebsdpci
=no
32217 xorg_bus_netbsdpci
=no
32218 xorg_bus_ix86pci
=no
32220 xorg_bus_sparcpci
=no
32223 if test "x$XORG" = xyes
-o "x$XGL" = xyes
; then
32224 XORG_DDXINCS
='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common'
32225 XORG_OSINCS
='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
32226 XORG_INCS
="$XORG_DDXINCS $XORG_OSINCS"
32227 XORG_CFLAGS
="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H"
32228 XORG_LIBS
="$COMPOSITE_LIB $MI_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XPSTUBS_LIB $OS_LIB"
32230 { echo "$as_me:$LINENO: checking for dlopen" >&5
32231 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
32232 if test "${ac_cv_func_dlopen+set}" = set; then
32233 echo $ECHO_N "(cached) $ECHO_C" >&6
32235 cat >conftest.
$ac_ext <<_ACEOF
32238 cat confdefs.h
>>conftest.
$ac_ext
32239 cat >>conftest.
$ac_ext <<_ACEOF
32240 /* end confdefs.h. */
32241 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
32242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32243 #define dlopen innocuous_dlopen
32245 /* System header to define __stub macros and hopefully few prototypes,
32246 which can conflict with char dlopen (); below.
32247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32248 <limits.h> exists even on freestanding compilers. */
32251 # include <limits.h>
32253 # include <assert.h>
32258 /* Override any GCC internal prototype to avoid an error.
32259 Use char because int might match the return type of a GCC
32260 builtin and then its argument prototype would still apply. */
32265 /* The GNU C library defines this for functions which it implements
32266 to always fail with ENOSYS. Some functions are actually named
32267 something starting with __ and the normal name is an alias. */
32268 #if defined __stub_dlopen || defined __stub___dlopen
32280 rm -f conftest.
$ac_objext conftest
$ac_exeext
32281 if { (ac_try
="$ac_link"
32282 case "(($ac_try" in
32283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32284 *) ac_try_echo=$ac_try;;
32286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32287 (eval "$ac_link") 2>conftest.er1
32289 grep -v '^ *+' conftest.er1 >conftest.err
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } && {
32294 test -z "$ac_c_werror_flag" ||
32295 test ! -s conftest.err
32296 } && test -s conftest$ac_exeext &&
32297 $as_test_x conftest$ac_exeext; then
32298 ac_cv_func_dlopen=yes
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32303 ac_cv_func_dlopen=no
32306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32307 conftest$ac_exeext conftest.$ac_ext
32309 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
32310 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
32311 if test $ac_cv_func_dlopen = yes; then
32314 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32315 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
32316 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 ac_check_lib_save_LIBS=$LIBS
32321 cat >conftest.$ac_ext <<_ACEOF
32324 cat confdefs.h >>conftest.$ac_ext
32325 cat >>conftest.$ac_ext <<_ACEOF
32326 /* end confdefs.h. */
32328 /* Override any GCC internal prototype to avoid an error.
32329 Use char because int might match the return type of a GCC
32330 builtin and then its argument prototype would still apply. */
32343 rm -f conftest.$ac_objext conftest$ac_exeext
32344 if { (ac_try="$ac_link"
32345 case "(($ac_try" in
32346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32347 *) ac_try_echo
=$ac_try;;
32349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32350 (eval "$ac_link") 2>conftest.er1
32352 grep -v '^ *+' conftest.er1
>conftest.err
32354 cat conftest.err
>&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); } && {
32357 test -z "$ac_c_werror_flag" ||
32358 test ! -s conftest.err
32359 } && test -s conftest
$ac_exeext &&
32360 $as_test_x conftest
$ac_exeext; then
32361 ac_cv_lib_dl_dlopen
=yes
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.
$ac_ext >&5
32366 ac_cv_lib_dl_dlopen
=no
32369 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32370 conftest
$ac_exeext conftest.
$ac_ext
32371 LIBS
=$ac_check_lib_save_LIBS
32373 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32374 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
32375 if test $ac_cv_lib_dl_dlopen = yes; then
32376 XORG_LIBS
="$XORG_LIBS -ldl"
32386 if test "X$XQUARTZ" = Xauto
; then
32387 { echo "$as_me:$LINENO: checking for Carbon framework" >&5
32388 echo $ECHO_N "checking for Carbon framework... $ECHO_C" >&6; }
32389 if test "${xorg_cv_Carbon_framework+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 save_LDFLAGS
=$LDFLAGS
32394 LDFLAGS
="$LDFLAGS -framework Carbon"
32395 cat >conftest.
$ac_ext <<_ACEOF
32396 char FSFindFolder();
32402 rm -f conftest.
$ac_objext conftest
$ac_exeext
32403 if { (ac_try
="$ac_link"
32404 case "(($ac_try" in
32405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32406 *) ac_try_echo=$ac_try;;
32408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32409 (eval "$ac_link") 2>conftest.er1
32411 grep -v '^ *+' conftest.er1 >conftest.err
32413 cat conftest.err >&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } && {
32416 test -z "$ac_c_werror_flag" ||
32417 test ! -s conftest.err
32418 } && test -s conftest$ac_exeext &&
32419 $as_test_x conftest$ac_exeext; then
32420 xorg_cv_Carbon_framework=yes
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.$ac_ext >&5
32425 xorg_cv_Carbon_framework=no
32428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32429 conftest$ac_exeext conftest.$ac_ext
32430 LDFLAGS=$save_LDFLAGS
32432 { echo "$as_me:$LINENO: result: $xorg_cv_Carbon_framework" >&5
32433 echo "${ECHO_T}$xorg_cv_Carbon_framework" >&6; }
32434 if test "X$xorg_cv_Carbon_framework" = Xyes; then
32436 cat >>confdefs.h <<\_ACEOF
32437 #define DARWIN_WITH_QUARTZ 1
32445 # glxAGL / glxCGL don't work yet
32446 # AC_CACHE_CHECK([for AGL framework],xorg_cv_AGL_framework,[
32447 # save_LDFLAGS=$LDFLAGS
32448 # LDFLAGS="$LDFLAGS -framework AGL"
32449 # AC_LINK_IFELSE([char aglEnable();
32453 # ],[xorg_cv_AGL_framework=yes],
32454 # [xorg_cv_AGL_framework=no])
32455 # LDFLAGS=$save_LDFLAGS
32457 xorg_cv_AGL_framework=no
32458 DARWIN_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $OS_LIB"
32460 { echo "$as_me:$LINENO: checking for xp_init in -lXplugin" >&5
32461 echo $ECHO_N "checking for xp_init in -lXplugin... $ECHO_C" >&6; }
32462 if test "${ac_cv_lib_Xplugin_xp_init+set}" = set; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 ac_check_lib_save_LIBS=$LIBS
32466 LIBS="-lXplugin $LIBS"
32467 cat >conftest.$ac_ext <<_ACEOF
32470 cat confdefs.h >>conftest.$ac_ext
32471 cat >>conftest.$ac_ext <<_ACEOF
32472 /* end confdefs.h. */
32474 /* Override any GCC internal prototype to avoid an error.
32475 Use char because int might match the return type of a GCC
32476 builtin and then its argument prototype would still apply. */
32489 rm -f conftest.$ac_objext conftest$ac_exeext
32490 if { (ac_try="$ac_link"
32491 case "(($ac_try" in
32492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32493 *) ac_try_echo
=$ac_try;;
32495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32496 (eval "$ac_link") 2>conftest.er1
32498 grep -v '^ *+' conftest.er1
>conftest.err
32500 cat conftest.err
>&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } && {
32503 test -z "$ac_c_werror_flag" ||
32504 test ! -s conftest.err
32505 } && test -s conftest
$ac_exeext &&
32506 $as_test_x conftest
$ac_exeext; then
32507 ac_cv_lib_Xplugin_xp_init
=yes
32509 echo "$as_me: failed program was:" >&5
32510 sed 's/^/| /' conftest.
$ac_ext >&5
32512 ac_cv_lib_Xplugin_xp_init
=no
32515 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32516 conftest
$ac_exeext conftest.
$ac_ext
32517 LIBS
=$ac_check_lib_save_LIBS
32519 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xplugin_xp_init" >&5
32520 echo "${ECHO_T}$ac_cv_lib_Xplugin_xp_init" >&6; }
32521 if test $ac_cv_lib_Xplugin_xp_init = yes; then
32526 CFLAGS
="${CFLAGS} -D__DARWIN__"
32527 PLIST_VERSION_STRING
=$PACKAGE_VERSION
32529 PLIST_VENDOR_WEB
=$VENDOR_WEB
32531 # Not sure that we should be disabling all these...
32532 if test "x$XF86MISC" = xyes ||
test "x$XF86MISC" = xauto
; then
32533 { echo "$as_me:$LINENO: Disabling XF86Misc extension" >&5
32534 echo "$as_me: Disabling XF86Misc extension" >&6;}
32537 if test "x$XF86VIDMODE" = xyes ||
test "x$XF86VIDMODE" = xauto
; then
32538 { echo "$as_me:$LINENO: Disabling XF86VidMode extension" >&5
32539 echo "$as_me: Disabling XF86VidMode extension" >&6;}
32542 if test "x$DGA" = xyes ||
test "x$DGA" = xauto
; then
32543 { echo "$as_me:$LINENO: Disabling DGA extension" >&5
32544 echo "$as_me: Disabling DGA extension" >&6;}
32549 if test "x$LNXAPM" = xyes
; then
32550 XORG_CFLAGS
="$XORG_CFLAGS -DXF86PM"
32553 XORG_OS_SUBDIR
="linux"
32554 xorg_bus_linuxpci
="yes"
32564 xorg_bus_linuxpci
="no"
32566 i
*86|amd64
*|x86_64
*)
32573 freebsd
* | kfreebsd
*-gnu)
32575 XORG_OS_SUBDIR
="bsd"
32580 xorg_bus_freebsdpci
="yes"
32586 XORG_OS_SUBDIR
="bsd"
32588 i
*86|amd64
*|x86_64
*|ia64
*)
32591 xorg_bus_netbsdpci
="yes"
32597 XORG_OS_SUBDIR
="bsd"
32599 i
*86|amd64
*|x86_64
*|ia64
*)
32602 xorg_bus_freebsdpci
="yes"
32608 XORG_OS_SUBDIR
="solaris"
32609 # This really should be tests for specific features, but the #ifdef's
32610 # were done as a simple version check in XFree86 4.x and haven't been
32612 { echo "$as_me:$LINENO: checking Solaris version" >&5
32613 echo $ECHO_N "checking Solaris version... $ECHO_C" >&6; }
32614 OS_MINOR
=`echo ${host_os}|sed -e 's/^.*solaris2\.//' -e s'/\..*$//'`
32615 if test "${OS_MINOR}" -ge 7 ; then
32616 { echo "$as_me:$LINENO: result: Solaris ${OS_MINOR}" >&5
32617 echo "${ECHO_T}Solaris ${OS_MINOR}" >&6; }
32619 { echo "$as_me:$LINENO: result
: Solaris \
`echo ${host_os}|sed -e 's/^.*solaris//\`" >&5
32620 echo "${ECHO_T}Solaris \`echo ${host_os}|sed -e 's/^.*solaris//\`" >&6; }
32622 if test "${OS_MINOR}" -ge 8 ; then
32624 cat >>confdefs.h
<<\_ACEOF
32629 { echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
32630 echo $ECHO_N "checking whether __SUNPRO_C is declared... $ECHO_C" >&6; }
32631 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 cat >conftest.
$ac_ext <<_ACEOF
32637 cat confdefs.h
>>conftest.
$ac_ext
32638 cat >>conftest.
$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32640 $ac_includes_default
32652 rm -f conftest.
$ac_objext
32653 if { (ac_try
="$ac_compile"
32654 case "(($ac_try" in
32655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32656 *) ac_try_echo=$ac_try;;
32658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32659 (eval "$ac_compile") 2>conftest.er1
32661 grep -v '^ *+' conftest.er1 >conftest.err
32663 cat conftest.err >&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } && {
32666 test -z "$ac_c_werror_flag" ||
32667 test ! -s conftest.err
32668 } && test -s conftest.$ac_objext; then
32669 ac_cv_have_decl___SUNPRO_C=yes
32671 echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.$ac_ext >&5
32674 ac_cv_have_decl___SUNPRO_C=no
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32679 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
32680 echo "${ECHO_T}$ac_cv_have_decl___SUNPRO_C" >&6; }
32681 if test $ac_cv_have_decl___SUNPRO_C = yes; then
32687 if test "x$SUNCC" = "xyes"; then
32688 solaris_asm_inline="yes"
32690 { echo "$as_me:$LINENO: checking whether _LP64 is declared" >&5
32691 echo $ECHO_N "checking whether _LP64 is declared... $ECHO_C" >&6; }
32692 if test "${ac_cv_have_decl__LP64+set}" = set; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 cat >conftest.$ac_ext <<_ACEOF
32698 cat confdefs.h >>conftest.$ac_ext
32699 cat >>conftest.$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32701 $ac_includes_default
32713 rm -f conftest.$ac_objext
32714 if { (ac_try="$ac_compile"
32715 case "(($ac_try" in
32716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32717 *) ac_try_echo
=$ac_try;;
32719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32720 (eval "$ac_compile") 2>conftest.er1
32722 grep -v '^ *+' conftest.er1
>conftest.err
32724 cat conftest.err
>&5
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); } && {
32727 test -z "$ac_c_werror_flag" ||
32728 test ! -s conftest.err
32729 } && test -s conftest.
$ac_objext; then
32730 ac_cv_have_decl__LP64
=yes
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.
$ac_ext >&5
32735 ac_cv_have_decl__LP64
=no
32738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32740 { echo "$as_me:$LINENO: result: $ac_cv_have_decl__LP64" >&5
32741 echo "${ECHO_T}$ac_cv_have_decl__LP64" >&6; }
32742 if test $ac_cv_have_decl__LP64 = yes; then
32751 SOLARIS_INOUT_ARCH
="sparcv8plus"
32754 if test x
$SOLARIS_64 = xyes
; then
32755 SOLARIS_INOUT_ARCH
="amd64"
32757 SOLARIS_INOUT_ARCH
="ia32"
32759 if test "${OS_MINOR}" -lt 8 ; then
32760 solaris_usl_console
="yes"
32762 XORG_CFLAGS
="$XORG_CFLAGS -DXF86PM"
32766 { { echo "$as_me:$LINENO: error: Unsupported Solaris platform. Only SPARC & x86 \
32767 are supported on Solaris in this release. If you are \
32768 interested in porting Xorg to your platform, please email \
32769 xorg@lists.freedesktop.org." >&5
32770 echo "$as_me: error: Unsupported Solaris platform. Only SPARC & x86 \
32771 are supported on Solaris in this release. If you are \
32772 interested in porting Xorg to your platform, please email \
32773 xorg@lists.freedesktop.org." >&2;}
32774 { (exit 1); exit 1; }; } ;;
32777 if test x
$solaris_asm_inline = xyes
; then
32778 SOLARIS_ASM_CFLAGS
='$(top_srcdir)/hw/xfree86/os-support/solaris/solaris-$(SOLARIS_INOUT_ARCH).il'
32779 XORG_CFLAGS
="${XORG_CFLAGS} "'$(SOLARIS_ASM_CFLAGS)'
32785 XORG_OS_SUBDIR
="hurd"
32789 XORG_OS_SUBDIR
="unknown"
32790 { { echo "$as_me:$LINENO: error: Your OS is unknown. Xorg currently only supports Linux, \
32791 Free/Open/NetBSD, Solaris, and OS X. If you are interested in porting \
32792 Xorg to your platform, please email xorg@lists.freedesktop.org." >&5
32793 echo "$as_me: error: Your OS is unknown. Xorg currently only supports Linux, \
32794 Free/Open/NetBSD, Solaris, and OS X. If you are interested in porting \
32795 Xorg to your platform, please email xorg@lists.freedesktop.org." >&2;}
32796 { (exit 1); exit 1; }; }
32804 *) xorg_bus_ix86pci
=yes ;;
32809 darwin
*|linux
*|freebsd
*|netbsd
*|openbsd
*|kfreebsd
*-gnu)
32812 xorg_bus_ppcpci
="yes"
32817 xorg_bus_sparcpci
="yes"
32818 xorg_bus_sparc
="yes"
32822 darwin
*|freebsd
*|kfreebsd
*-gnu)
32823 # FreeBSD uses the system pci interface
32826 xorg_bus_ix86pci
="yes"
32832 if test "x$XORG_OS_PCI" = x
; then
32833 XORG_OS_PCI
=$XORG_OS
32835 if test "x$DGA" = xauto
; then
32838 { echo "$as_me:$LINENO: checking for DGA" >&5
32839 echo $ECHO_N "checking for DGA... $ECHO_C" >&6; }
32841 if test -n "$PKG_CONFIG"; then
32842 if test -n "$DGA_CFLAGS"; then
32843 pkg_cv_DGA_CFLAGS
="$DGA_CFLAGS"
32845 if test -n "$PKG_CONFIG" && \
32846 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5
32847 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; then
32851 pkg_cv_DGA_CFLAGS
=`$PKG_CONFIG --cflags "xf86dgaproto" 2>/dev/null`
32859 if test -n "$PKG_CONFIG"; then
32860 if test -n "$DGA_LIBS"; then
32861 pkg_cv_DGA_LIBS
="$DGA_LIBS"
32863 if test -n "$PKG_CONFIG" && \
32864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5
32865 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; then
32869 pkg_cv_DGA_LIBS
=`$PKG_CONFIG --libs "xf86dgaproto" 2>/dev/null`
32880 if test $pkg_failed = yes; then
32882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32883 _pkg_short_errors_supported
=yes
32885 _pkg_short_errors_supported
=no
32887 if test $_pkg_short_errors_supported = yes; then
32888 DGA_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86dgaproto"`
32890 DGA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86dgaproto"`
32892 # Put the nasty error message in config.log where it belongs
32893 echo "$DGA_PKG_ERRORS" >&5
32895 { echo "$as_me:$LINENO: result: no" >&5
32896 echo "${ECHO_T}no" >&6; }
32898 elif test $pkg_failed = untried
; then
32901 DGA_CFLAGS
=$pkg_cv_DGA_CFLAGS
32902 DGA_LIBS
=$pkg_cv_DGA_LIBS
32903 { echo "$as_me:$LINENO: result: yes" >&5
32904 echo "${ECHO_T}yes" >&6; }
32908 if test "x$DGA" = xyes
; then
32909 XORG_MODULES
="$XORG_MODULES xf86dgaproto"
32912 { echo "$as_me:$LINENO: checking for DGA" >&5
32913 echo $ECHO_N "checking for DGA... $ECHO_C" >&6; }
32915 if test -n "$PKG_CONFIG"; then
32916 if test -n "$DGA_CFLAGS"; then
32917 pkg_cv_DGA_CFLAGS
="$DGA_CFLAGS"
32919 if test -n "$PKG_CONFIG" && \
32920 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5
32921 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; then
32925 pkg_cv_DGA_CFLAGS
=`$PKG_CONFIG --cflags "xf86dgaproto" 2>/dev/null`
32933 if test -n "$PKG_CONFIG"; then
32934 if test -n "$DGA_LIBS"; then
32935 pkg_cv_DGA_LIBS
="$DGA_LIBS"
32937 if test -n "$PKG_CONFIG" && \
32938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5
32939 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); }; then
32943 pkg_cv_DGA_LIBS
=`$PKG_CONFIG --libs "xf86dgaproto" 2>/dev/null`
32954 if test $pkg_failed = yes; then
32956 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32957 _pkg_short_errors_supported
=yes
32959 _pkg_short_errors_supported
=no
32961 if test $_pkg_short_errors_supported = yes; then
32962 DGA_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86dgaproto"`
32964 DGA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86dgaproto"`
32966 # Put the nasty error message in config.log where it belongs
32967 echo "$DGA_PKG_ERRORS" >&5
32969 { { echo "$as_me:$LINENO: error: Package requirements (xf86dgaproto) were not met:
32973 Consider adjusting the PKG_CONFIG_PATH environment variable if you
32974 installed software in a non-standard prefix.
32976 Alternatively, you may set the environment variables DGA_CFLAGS
32977 and DGA_LIBS to avoid the need to call pkg-config.
32978 See the pkg-config man page for more details.
32980 echo "$as_me: error: Package requirements (xf86dgaproto) were not met:
32984 Consider adjusting the PKG_CONFIG_PATH environment variable if you
32985 installed software in a non-standard prefix.
32987 Alternatively, you may set the environment variables DGA_CFLAGS
32988 and DGA_LIBS to avoid the need to call pkg-config.
32989 See the pkg-config man page for more details.
32991 { (exit 1); exit 1; }; }
32992 elif test $pkg_failed = untried
; then
32993 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
32994 is in your PATH or set the PKG_CONFIG environment variable to the full
32995 path to pkg-config.
32997 Alternatively, you may set the environment variables DGA_CFLAGS
32998 and DGA_LIBS to avoid the need to call pkg-config.
32999 See the pkg-config man page for more details.
33001 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33002 See \`config.log' for more details." >&5
33003 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
33004 is in your PATH or set the PKG_CONFIG environment variable to the full
33005 path to pkg-config.
33007 Alternatively, you may set the environment variables DGA_CFLAGS
33008 and DGA_LIBS to avoid the need to call pkg-config.
33009 See the pkg-config man page for more details.
33011 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33012 See \`config.log' for more details." >&2;}
33013 { (exit 1); exit 1; }; }
33015 DGA_CFLAGS
=$pkg_cv_DGA_CFLAGS
33016 DGA_LIBS
=$pkg_cv_DGA_LIBS
33017 { echo "$as_me:$LINENO: result: yes" >&5
33018 echo "${ECHO_T}yes" >&6; }
33022 cat >>confdefs.h
<<\_ACEOF
33027 cat >>confdefs.h
<<\_ACEOF
33028 #define XFreeXDGA 1
33033 if test "x$XF86MISC" = xauto
; then
33036 { echo "$as_me:$LINENO: checking for XF86MISC" >&5
33037 echo $ECHO_N "checking for XF86MISC... $ECHO_C" >&6; }
33039 if test -n "$PKG_CONFIG"; then
33040 if test -n "$XF86MISC_CFLAGS"; then
33041 pkg_cv_XF86MISC_CFLAGS
="$XF86MISC_CFLAGS"
33043 if test -n "$PKG_CONFIG" && \
33044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86miscproto\"") >&5
33045 ($PKG_CONFIG --exists --print-errors "xf86miscproto") 2>&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); }; then
33049 pkg_cv_XF86MISC_CFLAGS
=`$PKG_CONFIG --cflags "xf86miscproto" 2>/dev/null`
33057 if test -n "$PKG_CONFIG"; then
33058 if test -n "$XF86MISC_LIBS"; then
33059 pkg_cv_XF86MISC_LIBS
="$XF86MISC_LIBS"
33061 if test -n "$PKG_CONFIG" && \
33062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86miscproto\"") >&5
33063 ($PKG_CONFIG --exists --print-errors "xf86miscproto") 2>&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); }; then
33067 pkg_cv_XF86MISC_LIBS
=`$PKG_CONFIG --libs "xf86miscproto" 2>/dev/null`
33078 if test $pkg_failed = yes; then
33080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33081 _pkg_short_errors_supported
=yes
33083 _pkg_short_errors_supported
=no
33085 if test $_pkg_short_errors_supported = yes; then
33086 XF86MISC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86miscproto"`
33088 XF86MISC_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86miscproto"`
33090 # Put the nasty error message in config.log where it belongs
33091 echo "$XF86MISC_PKG_ERRORS" >&5
33093 { echo "$as_me:$LINENO: result: no" >&5
33094 echo "${ECHO_T}no" >&6; }
33096 elif test $pkg_failed = untried
; then
33099 XF86MISC_CFLAGS
=$pkg_cv_XF86MISC_CFLAGS
33100 XF86MISC_LIBS
=$pkg_cv_XF86MISC_LIBS
33101 { echo "$as_me:$LINENO: result: yes" >&5
33102 echo "${ECHO_T}yes" >&6; }
33106 if test "x$XF86MISC" = xyes
; then
33107 XORG_MODULES
="$XORG_MODULES xf86miscproto"
33110 { echo "$as_me:$LINENO: checking for XF86MISC" >&5
33111 echo $ECHO_N "checking for XF86MISC... $ECHO_C" >&6; }
33113 if test -n "$PKG_CONFIG"; then
33114 if test -n "$XF86MISC_CFLAGS"; then
33115 pkg_cv_XF86MISC_CFLAGS
="$XF86MISC_CFLAGS"
33117 if test -n "$PKG_CONFIG" && \
33118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86miscproto\"") >&5
33119 ($PKG_CONFIG --exists --print-errors "xf86miscproto") 2>&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); }; then
33123 pkg_cv_XF86MISC_CFLAGS
=`$PKG_CONFIG --cflags "xf86miscproto" 2>/dev/null`
33131 if test -n "$PKG_CONFIG"; then
33132 if test -n "$XF86MISC_LIBS"; then
33133 pkg_cv_XF86MISC_LIBS
="$XF86MISC_LIBS"
33135 if test -n "$PKG_CONFIG" && \
33136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86miscproto\"") >&5
33137 ($PKG_CONFIG --exists --print-errors "xf86miscproto") 2>&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); }; then
33141 pkg_cv_XF86MISC_LIBS
=`$PKG_CONFIG --libs "xf86miscproto" 2>/dev/null`
33152 if test $pkg_failed = yes; then
33154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33155 _pkg_short_errors_supported
=yes
33157 _pkg_short_errors_supported
=no
33159 if test $_pkg_short_errors_supported = yes; then
33160 XF86MISC_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86miscproto"`
33162 XF86MISC_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86miscproto"`
33164 # Put the nasty error message in config.log where it belongs
33165 echo "$XF86MISC_PKG_ERRORS" >&5
33167 { { echo "$as_me:$LINENO: error: Package requirements (xf86miscproto) were not met:
33169 $XF86MISC_PKG_ERRORS
33171 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33172 installed software in a non-standard prefix.
33174 Alternatively, you may set the environment variables XF86MISC_CFLAGS
33175 and XF86MISC_LIBS to avoid the need to call pkg-config.
33176 See the pkg-config man page for more details.
33178 echo "$as_me: error: Package requirements (xf86miscproto) were not met:
33180 $XF86MISC_PKG_ERRORS
33182 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33183 installed software in a non-standard prefix.
33185 Alternatively, you may set the environment variables XF86MISC_CFLAGS
33186 and XF86MISC_LIBS to avoid the need to call pkg-config.
33187 See the pkg-config man page for more details.
33189 { (exit 1); exit 1; }; }
33190 elif test $pkg_failed = untried
; then
33191 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
33192 is in your PATH or set the PKG_CONFIG environment variable to the full
33193 path to pkg-config.
33195 Alternatively, you may set the environment variables XF86MISC_CFLAGS
33196 and XF86MISC_LIBS to avoid the need to call pkg-config.
33197 See the pkg-config man page for more details.
33199 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33200 See \`config.log' for more details." >&5
33201 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
33202 is in your PATH or set the PKG_CONFIG environment variable to the full
33203 path to pkg-config.
33205 Alternatively, you may set the environment variables XF86MISC_CFLAGS
33206 and XF86MISC_LIBS to avoid the need to call pkg-config.
33207 See the pkg-config man page for more details.
33209 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33210 See \`config.log' for more details." >&2;}
33211 { (exit 1); exit 1; }; }
33213 XF86MISC_CFLAGS
=$pkg_cv_XF86MISC_CFLAGS
33214 XF86MISC_LIBS
=$pkg_cv_XF86MISC_LIBS
33215 { echo "$as_me:$LINENO: result: yes" >&5
33216 echo "${ECHO_T}yes" >&6; }
33220 cat >>confdefs.h
<<\_ACEOF
33226 if test "x$XF86VIDMODE" = xauto
; then
33229 { echo "$as_me:$LINENO: checking for XF86VIDMODE" >&5
33230 echo $ECHO_N "checking for XF86VIDMODE... $ECHO_C" >&6; }
33232 if test -n "$PKG_CONFIG"; then
33233 if test -n "$XF86VIDMODE_CFLAGS"; then
33234 pkg_cv_XF86VIDMODE_CFLAGS
="$XF86VIDMODE_CFLAGS"
33236 if test -n "$PKG_CONFIG" && \
33237 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5
33238 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; then
33242 pkg_cv_XF86VIDMODE_CFLAGS
=`$PKG_CONFIG --cflags "xf86vidmodeproto" 2>/dev/null`
33250 if test -n "$PKG_CONFIG"; then
33251 if test -n "$XF86VIDMODE_LIBS"; then
33252 pkg_cv_XF86VIDMODE_LIBS
="$XF86VIDMODE_LIBS"
33254 if test -n "$PKG_CONFIG" && \
33255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5
33256 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5
33258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259 (exit $ac_status); }; then
33260 pkg_cv_XF86VIDMODE_LIBS
=`$PKG_CONFIG --libs "xf86vidmodeproto" 2>/dev/null`
33271 if test $pkg_failed = yes; then
33273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33274 _pkg_short_errors_supported
=yes
33276 _pkg_short_errors_supported
=no
33278 if test $_pkg_short_errors_supported = yes; then
33279 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86vidmodeproto"`
33281 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86vidmodeproto"`
33283 # Put the nasty error message in config.log where it belongs
33284 echo "$XF86VIDMODE_PKG_ERRORS" >&5
33286 { echo "$as_me:$LINENO: result: no" >&5
33287 echo "${ECHO_T}no" >&6; }
33289 elif test $pkg_failed = untried
; then
33292 XF86VIDMODE_CFLAGS
=$pkg_cv_XF86VIDMODE_CFLAGS
33293 XF86VIDMODE_LIBS
=$pkg_cv_XF86VIDMODE_LIBS
33294 { echo "$as_me:$LINENO: result: yes" >&5
33295 echo "${ECHO_T}yes" >&6; }
33299 if test "x$XF86VIDMODE" = xyes
; then
33300 XORG_MODULES
="$XORG_MODULES xf86vidmodeproto"
33303 { echo "$as_me:$LINENO: checking for XF86VIDMODE" >&5
33304 echo $ECHO_N "checking for XF86VIDMODE... $ECHO_C" >&6; }
33306 if test -n "$PKG_CONFIG"; then
33307 if test -n "$XF86VIDMODE_CFLAGS"; then
33308 pkg_cv_XF86VIDMODE_CFLAGS
="$XF86VIDMODE_CFLAGS"
33310 if test -n "$PKG_CONFIG" && \
33311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5
33312 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; then
33316 pkg_cv_XF86VIDMODE_CFLAGS
=`$PKG_CONFIG --cflags "xf86vidmodeproto" 2>/dev/null`
33324 if test -n "$PKG_CONFIG"; then
33325 if test -n "$XF86VIDMODE_LIBS"; then
33326 pkg_cv_XF86VIDMODE_LIBS
="$XF86VIDMODE_LIBS"
33328 if test -n "$PKG_CONFIG" && \
33329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5
33330 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); }; then
33334 pkg_cv_XF86VIDMODE_LIBS
=`$PKG_CONFIG --libs "xf86vidmodeproto" 2>/dev/null`
33345 if test $pkg_failed = yes; then
33347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33348 _pkg_short_errors_supported
=yes
33350 _pkg_short_errors_supported
=no
33352 if test $_pkg_short_errors_supported = yes; then
33353 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86vidmodeproto"`
33355 XF86VIDMODE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86vidmodeproto"`
33357 # Put the nasty error message in config.log where it belongs
33358 echo "$XF86VIDMODE_PKG_ERRORS" >&5
33360 { { echo "$as_me:$LINENO: error: Package requirements (xf86vidmodeproto) were not met:
33362 $XF86VIDMODE_PKG_ERRORS
33364 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33365 installed software in a non-standard prefix.
33367 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
33368 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
33369 See the pkg-config man page for more details.
33371 echo "$as_me: error: Package requirements (xf86vidmodeproto) were not met:
33373 $XF86VIDMODE_PKG_ERRORS
33375 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33376 installed software in a non-standard prefix.
33378 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
33379 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
33380 See the pkg-config man page for more details.
33382 { (exit 1); exit 1; }; }
33383 elif test $pkg_failed = untried
; then
33384 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
33385 is in your PATH or set the PKG_CONFIG environment variable to the full
33386 path to pkg-config.
33388 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
33389 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
33390 See the pkg-config man page for more details.
33392 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33393 See \`config.log' for more details." >&5
33394 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
33395 is in your PATH or set the PKG_CONFIG environment variable to the full
33396 path to pkg-config.
33398 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
33399 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
33400 See the pkg-config man page for more details.
33402 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33403 See \`config.log' for more details." >&2;}
33404 { (exit 1); exit 1; }; }
33406 XF86VIDMODE_CFLAGS
=$pkg_cv_XF86VIDMODE_CFLAGS
33407 XF86VIDMODE_LIBS
=$pkg_cv_XF86VIDMODE_LIBS
33408 { echo "$as_me:$LINENO: result: yes" >&5
33409 echo "${ECHO_T}yes" >&6; }
33413 cat >>confdefs.h
<<\_ACEOF
33414 #define XF86VIDMODE 1
33419 if test -n "$XORG_MODULES"; then
33422 { echo "$as_me:$LINENO: checking for XORG_MODULES" >&5
33423 echo $ECHO_N "checking for XORG_MODULES... $ECHO_C" >&6; }
33425 if test -n "$PKG_CONFIG"; then
33426 if test -n "$XORG_MODULES_CFLAGS"; then
33427 pkg_cv_XORG_MODULES_CFLAGS
="$XORG_MODULES_CFLAGS"
33429 if test -n "$PKG_CONFIG" && \
33430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\"") >&5
33431 ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); }; then
33435 pkg_cv_XORG_MODULES_CFLAGS
=`$PKG_CONFIG --cflags "$XORG_MODULES" 2>/dev/null`
33443 if test -n "$PKG_CONFIG"; then
33444 if test -n "$XORG_MODULES_LIBS"; then
33445 pkg_cv_XORG_MODULES_LIBS
="$XORG_MODULES_LIBS"
33447 if test -n "$PKG_CONFIG" && \
33448 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\"") >&5
33449 ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; then
33453 pkg_cv_XORG_MODULES_LIBS
=`$PKG_CONFIG --libs "$XORG_MODULES" 2>/dev/null`
33464 if test $pkg_failed = yes; then
33466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33467 _pkg_short_errors_supported
=yes
33469 _pkg_short_errors_supported
=no
33471 if test $_pkg_short_errors_supported = yes; then
33472 XORG_MODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$XORG_MODULES"`
33474 XORG_MODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$XORG_MODULES"`
33476 # Put the nasty error message in config.log where it belongs
33477 echo "$XORG_MODULES_PKG_ERRORS" >&5
33479 { { echo "$as_me:$LINENO: error: Package requirements ($XORG_MODULES) were not met:
33481 $XORG_MODULES_PKG_ERRORS
33483 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33484 installed software in a non-standard prefix.
33486 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
33487 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
33488 See the pkg-config man page for more details.
33490 echo "$as_me: error: Package requirements ($XORG_MODULES) were not met:
33492 $XORG_MODULES_PKG_ERRORS
33494 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33495 installed software in a non-standard prefix.
33497 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
33498 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
33499 See the pkg-config man page for more details.
33501 { (exit 1); exit 1; }; }
33502 elif test $pkg_failed = untried
; then
33503 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
33504 is in your PATH or set the PKG_CONFIG environment variable to the full
33505 path to pkg-config.
33507 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
33508 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
33509 See the pkg-config man page for more details.
33511 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33512 See \`config.log' for more details." >&5
33513 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
33514 is in your PATH or set the PKG_CONFIG environment variable to the full
33515 path to pkg-config.
33517 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
33518 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
33519 See the pkg-config man page for more details.
33521 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
33522 See \`config.log' for more details." >&2;}
33523 { (exit 1); exit 1; }; }
33525 XORG_MODULES_CFLAGS
=$pkg_cv_XORG_MODULES_CFLAGS
33526 XORG_MODULES_LIBS
=$pkg_cv_XORG_MODULES_LIBS
33527 { echo "$as_me:$LINENO: result: yes" >&5
33528 echo "${ECHO_T}yes" >&6; }
33531 XORG_CFLAGS
="$XORG_CFLAGS $XORG_MODULES_CFLAGS"
33532 XORG_LIBS
="$XORG_LIBS $XORG_MODULES_LIBS"
33540 # Extract the first word of "perl", so it can be a program name with args.
33541 set dummy perl
; ac_word
=$2
33542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33544 if test "${ac_cv_path_PERL+set}" = set; then
33545 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
33552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33553 for as_dir
in $PATH
33556 test -z "$as_dir" && as_dir
=.
33557 for ac_exec_ext
in '' $ac_executable_extensions; do
33558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33559 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
33560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33567 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="no"
33571 PERL
=$ac_cv_path_PERL
33572 if test -n "$PERL"; then
33573 { echo "$as_me:$LINENO: result: $PERL" >&5
33574 echo "${ECHO_T}$PERL" >&6; }
33576 { echo "$as_me:$LINENO: result: no" >&5
33577 echo "${ECHO_T}no" >&6; }
33581 if test "x$PERL" = xno
; then
33582 { { echo "$as_me:$LINENO: error: Perl is required to build the XFree86/Xorg DDX." >&5
33583 echo "$as_me: error: Perl is required to build the XFree86/Xorg DDX." >&2;}
33584 { (exit 1); exit 1; }; }
33590 XF86CONFIGFILE
="xorg.conf"
33591 CONFIGFILE
="$sysconfdir/$XF86CONFIGFILE"
33592 LOGPREFIX
="$logdir/Xorg."
33594 cat >>confdefs.h
<<\_ACEOF
33595 #define XORG_SERVER 1
33599 cat >>confdefs.h
<<\_ACEOF
33600 #define XORGSERVER 1
33604 cat >>confdefs.h
<<\_ACEOF
33605 #define XFree86Server 1
33609 cat >>confdefs.h
<<\_ACEOF
33610 #define XFree86LOADER 1
33614 cat >>confdefs.h
<<_ACEOF
33615 #define XORG_VERSION_CURRENT $VENDOR_RELEASE
33619 cat >>confdefs.h
<<\_ACEOF
33620 #define NEED_XF86_TYPES 1
33624 cat >>confdefs.h
<<\_ACEOF
33625 #define NEED_XF86_PROTOTYPES 1
33629 cat >>confdefs.h
<<\_ACEOF
33630 #define __XSERVERNAME__ "Xorg"
33634 cat >>confdefs.h
<<\_ACEOF
33635 #define WITH_VGAHW 1
33639 cat >>confdefs.h
<<\_ACEOF
33644 cat >>confdefs.h
<<\_ACEOF
33645 #define IDRIVERS {}
33651 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
33652 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
33653 eval ac_define_dir
="\"$XF86CONFIGFILE\""
33654 eval ac_define_dir
="\"$ac_define_dir\""
33655 __XCONFIGFILE__
="$ac_define_dir"
33658 cat >>confdefs.h
<<_ACEOF
33659 #define __XCONFIGFILE__ "$ac_define_dir"
33662 test "$prefix_NONE" && prefix
=NONE
33663 test "$exec_prefix_NONE" && exec_prefix
=NONE
33668 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
33669 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
33670 eval ac_define_dir
="\"$XF86CONFIGFILE\""
33671 eval ac_define_dir
="\"$ac_define_dir\""
33672 XF86CONFIGFILE
="$ac_define_dir"
33675 cat >>confdefs.h
<<_ACEOF
33676 #define XF86CONFIGFILE "$ac_define_dir"
33679 test "$prefix_NONE" && prefix
=NONE
33680 test "$exec_prefix_NONE" && exec_prefix
=NONE
33685 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
33686 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
33687 eval ac_define_dir
="\"$moduledir\""
33688 eval ac_define_dir
="\"$ac_define_dir\""
33689 DEFAULT_MODULE_PATH
="$ac_define_dir"
33692 cat >>confdefs.h
<<_ACEOF
33693 #define DEFAULT_MODULE_PATH "$ac_define_dir"
33696 test "$prefix_NONE" && prefix
=NONE
33697 test "$exec_prefix_NONE" && exec_prefix
=NONE
33702 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
33703 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
33704 eval ac_define_dir
="\"$libdir\""
33705 eval ac_define_dir
="\"$ac_define_dir\""
33706 DEFAULT_LIBRARY_PATH
="$ac_define_dir"
33709 cat >>confdefs.h
<<_ACEOF
33710 #define DEFAULT_LIBRARY_PATH "$ac_define_dir"
33713 test "$prefix_NONE" && prefix
=NONE
33714 test "$exec_prefix_NONE" && exec_prefix
=NONE
33719 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
33720 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
33721 eval ac_define_dir
="\"$LOGPREFIX\""
33722 eval ac_define_dir
="\"$ac_define_dir\""
33723 DEFAULT_LOGPREFIX
="$ac_define_dir"
33726 cat >>confdefs.h
<<_ACEOF
33727 #define DEFAULT_LOGPREFIX "$ac_define_dir"
33730 test "$prefix_NONE" && prefix
=NONE
33731 test "$exec_prefix_NONE" && exec_prefix
=NONE
33734 cat >>confdefs.h
<<_ACEOF
33735 #define __VENDORDWEBSUPPORT__ "$VENDOR_WEB"
33739 driverdir
="$moduledir/drivers"
33742 sdkdir
="$includedir/xorg"
33743 extdir
="$includedir/X11/extensions"
33748 if test "x$XORG" = xyes
; then
33756 if test "x$xorg_bus_linuxpci" = xyes
; then
33757 XORG_BUS_LINUXPCI_TRUE
=
33758 XORG_BUS_LINUXPCI_FALSE
='#'
33760 XORG_BUS_LINUXPCI_TRUE
='#'
33761 XORG_BUS_LINUXPCI_FALSE
=
33764 if test "x$xorg_bus_freebsdpci" = xyes
; then
33765 XORG_BUS_FREEBSDPCI_TRUE
=
33766 XORG_BUS_FREEBSDPCI_FALSE
='#'
33768 XORG_BUS_FREEBSDPCI_TRUE
='#'
33769 XORG_BUS_FREEBSDPCI_FALSE
=
33772 if test "x$xorg_bus_netbsdpci" = xyes
; then
33773 XORG_BUS_NETBSDPCI_TRUE
=
33774 XORG_BUS_NETBSDPCI_FALSE
='#'
33776 XORG_BUS_NETBSDPCI_TRUE
='#'
33777 XORG_BUS_NETBSDPCI_FALSE
=
33780 if test "x$xorg_bus_ix86pci" = xyes
; then
33781 XORG_BUS_IX86PCI_TRUE
=
33782 XORG_BUS_IX86PCI_FALSE
='#'
33784 XORG_BUS_IX86PCI_TRUE
='#'
33785 XORG_BUS_IX86PCI_FALSE
=
33788 if test "x$xorg_bus_ppcpci" = xyes
; then
33789 XORG_BUS_PPCPCI_TRUE
=
33790 XORG_BUS_PPCPCI_FALSE
='#'
33792 XORG_BUS_PPCPCI_TRUE
='#'
33793 XORG_BUS_PPCPCI_FALSE
=
33796 if test "x$xorg_bus_sparcpci" = xyes
; then
33797 XORG_BUS_SPARCPCI_TRUE
=
33798 XORG_BUS_SPARCPCI_FALSE
='#'
33800 XORG_BUS_SPARCPCI_TRUE
='#'
33801 XORG_BUS_SPARCPCI_FALSE
=
33804 if test "x$xorg_bus_sparc" = xyes
; then
33805 XORG_BUS_SPARC_TRUE
=
33806 XORG_BUS_SPARC_FALSE
='#'
33808 XORG_BUS_SPARC_TRUE
='#'
33809 XORG_BUS_SPARC_FALSE
=
33812 if test "x$xorg_loader_sparcmuldiv" = xyes
; then
33813 XORG_LOADER_SPARC_TRUE
=
33814 XORG_LOADER_SPARC_FALSE
='#'
33816 XORG_LOADER_SPARC_TRUE
='#'
33817 XORG_LOADER_SPARC_FALSE
=
33820 if test "x$linux_ia64" = xyes
; then
33822 LINUX_IA64_FALSE
='#'
33824 LINUX_IA64_TRUE
='#'
33828 if test "x$linux_alpha" = xyes
; then
33830 LINUX_ALPHA_FALSE
='#'
33832 LINUX_ALPHA_TRUE
='#'
33836 if test "x$linux_acpi" = xyes
; then
33844 if test "x$solaris_usl_console" = xyes
; then
33845 SOLARIS_USL_CONSOLE_TRUE
=
33846 SOLARIS_USL_CONSOLE_FALSE
='#'
33848 SOLARIS_USL_CONSOLE_TRUE
='#'
33849 SOLARIS_USL_CONSOLE_FALSE
=
33852 if test "x$solaris_asm_inline" = xyes
; then
33853 SOLARIS_ASM_INLINE_TRUE
=
33854 SOLARIS_ASM_INLINE_FALSE
='#'
33856 SOLARIS_ASM_INLINE_TRUE
='#'
33857 SOLARIS_ASM_INLINE_FALSE
=
33860 if test "X$build_darwin" = Xyes
; then
33862 BUILD_DARWIN_FALSE
='#'
33864 BUILD_DARWIN_TRUE
='#'
33865 BUILD_DARWIN_FALSE
=
33868 if test "X$XQUARTZ" = Xyes
; then
33876 if test "x$DGA" = xyes
; then
33885 test "x$MFB" = xauto
&& MFB
="$XORG"
33886 test "x$CFB" = xauto
&& CFB
="$XORG"
33887 test "x$AFB" = xauto
&& AFB
="$XORG"
33888 if test "x$MFB" = xyes
; then
33896 if test "x$CFB" = xyes
; then
33904 if test "x$AFB" = xyes
; then
33912 if test "x$MFB" = xyes
-o "x$CFB" = xyes
-o "x$AFB" = xyes
; then
33913 if test "x$XORG" != xyes
; then
33914 { { echo "$as_me:$LINENO: error: legacy fb support requires the Xorg server" >&5
33915 echo "$as_me: error: legacy fb support requires the Xorg server" >&2;}
33916 { (exit 1); exit 1; }; }
33921 { echo "$as_me:$LINENO: checking whether to build Xprint DDX" >&5
33922 echo $ECHO_N "checking whether to build Xprint DDX... $ECHO_C" >&6; }
33923 { echo "$as_me:$LINENO: result: $XPRINT" >&5
33924 echo "${ECHO_T}$XPRINT" >&6; }
33926 if test "x$XPRINT" = xyes
; then
33929 { echo "$as_me:$LINENO: checking for XPRINT" >&5
33930 echo $ECHO_N "checking for XPRINT... $ECHO_C" >&6; }
33932 if test -n "$PKG_CONFIG"; then
33933 if test -n "$XPRINT_CFLAGS"; then
33934 pkg_cv_XPRINT_CFLAGS
="$XPRINT_CFLAGS"
33936 if test -n "$PKG_CONFIG" && \
33937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"printproto x11 xfont \$XDMCP_MODULES xau \$PIXMAN\"") >&5
33938 ($PKG_CONFIG --exists --print-errors "printproto x11 xfont $XDMCP_MODULES xau $PIXMAN") 2>&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; then
33942 pkg_cv_XPRINT_CFLAGS
=`$PKG_CONFIG --cflags "printproto x11 xfont $XDMCP_MODULES xau $PIXMAN" 2>/dev/null`
33950 if test -n "$PKG_CONFIG"; then
33951 if test -n "$XPRINT_LIBS"; then
33952 pkg_cv_XPRINT_LIBS
="$XPRINT_LIBS"
33954 if test -n "$PKG_CONFIG" && \
33955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"printproto x11 xfont \$XDMCP_MODULES xau \$PIXMAN\"") >&5
33956 ($PKG_CONFIG --exists --print-errors "printproto x11 xfont $XDMCP_MODULES xau $PIXMAN") 2>&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); }; then
33960 pkg_cv_XPRINT_LIBS
=`$PKG_CONFIG --libs "printproto x11 xfont $XDMCP_MODULES xau $PIXMAN" 2>/dev/null`
33971 if test $pkg_failed = yes; then
33973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33974 _pkg_short_errors_supported
=yes
33976 _pkg_short_errors_supported
=no
33978 if test $_pkg_short_errors_supported = yes; then
33979 XPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "printproto x11 xfont $XDMCP_MODULES xau $PIXMAN"`
33981 XPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "printproto x11 xfont $XDMCP_MODULES xau $PIXMAN"`
33983 # Put the nasty error message in config.log where it belongs
33984 echo "$XPRINT_PKG_ERRORS" >&5
33986 { { echo "$as_me:$LINENO: error: Package requirements (printproto x11 xfont $XDMCP_MODULES xau $PIXMAN) were not met:
33990 Consider adjusting the PKG_CONFIG_PATH environment variable if you
33991 installed software in a non-standard prefix.
33993 Alternatively, you may set the environment variables XPRINT_CFLAGS
33994 and XPRINT_LIBS to avoid the need to call pkg-config.
33995 See the pkg-config man page for more details.
33997 echo "$as_me: error: Package requirements (printproto x11 xfont $XDMCP_MODULES xau $PIXMAN) were not met:
34001 Consider adjusting the PKG_CONFIG_PATH environment variable if you
34002 installed software in a non-standard prefix.
34004 Alternatively, you may set the environment variables XPRINT_CFLAGS
34005 and XPRINT_LIBS to avoid the need to call pkg-config.
34006 See the pkg-config man page for more details.
34008 { (exit 1); exit 1; }; }
34009 elif test $pkg_failed = untried
; then
34010 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
34011 is in your PATH or set the PKG_CONFIG environment variable to the full
34012 path to pkg-config.
34014 Alternatively, you may set the environment variables XPRINT_CFLAGS
34015 and XPRINT_LIBS to avoid the need to call pkg-config.
34016 See the pkg-config man page for more details.
34018 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34019 See \`config.log' for more details." >&5
34020 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
34021 is in your PATH or set the PKG_CONFIG environment variable to the full
34022 path to pkg-config.
34024 Alternatively, you may set the environment variables XPRINT_CFLAGS
34025 and XPRINT_LIBS to avoid the need to call pkg-config.
34026 See the pkg-config man page for more details.
34028 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34029 See \`config.log' for more details." >&2;}
34030 { (exit 1); exit 1; }; }
34032 XPRINT_CFLAGS
=$pkg_cv_XPRINT_CFLAGS
34033 XPRINT_LIBS
=$pkg_cv_XPRINT_LIBS
34034 { echo "$as_me:$LINENO: result: yes" >&5
34035 echo "${ECHO_T}yes" >&6; }
34038 XPRINT_EXTENSIONS
="$XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $RENDER_LIB $COMPOSITE_LIB $RANDR_LIB $XI_LIB $FIXES_LIB $DAMAGE_LIB $XI_LIB $GLX_LIBS"
34039 XPRINT_LIBS
="$DIX_LIB $XKB_LIB $XKB_STUB_LIB $XPRINT_EXTENSIONS $MI_LIB $MIEXT_DAMAGE_LIB $CWRAP_LIB $OS_LIB $LIBS $XPRINT_LIBS"
34043 xpconfigdir
=$libdir/X11
/xserver
34046 # Extract the first word of "mkfontscale", so it can be a program name with args.
34047 set dummy mkfontscale
; ac_word
=$2
34048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34050 if test "${ac_cv_path_MKFONTSCALE+set}" = set; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34053 case $MKFONTSCALE in
34055 ac_cv_path_MKFONTSCALE
="$MKFONTSCALE" # Let the user override the test with a path.
34058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34059 for as_dir
in $PATH
34062 test -z "$as_dir" && as_dir
=.
34063 for ac_exec_ext
in '' $ac_executable_extensions; do
34064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34065 ac_cv_path_MKFONTSCALE
="$as_dir/$ac_word$ac_exec_ext"
34066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34076 MKFONTSCALE
=$ac_cv_path_MKFONTSCALE
34077 if test -n "$MKFONTSCALE"; then
34078 { echo "$as_me:$LINENO: result: $MKFONTSCALE" >&5
34079 echo "${ECHO_T}$MKFONTSCALE" >&6; }
34081 { echo "$as_me:$LINENO: result: no" >&5
34082 echo "${ECHO_T}no" >&6; }
34086 # Extract the first word of "mkfontdir", so it can be a program name with args.
34087 set dummy mkfontdir
; ac_word
=$2
34088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34090 if test "${ac_cv_path_MKFONTDIR+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34095 ac_cv_path_MKFONTDIR
="$MKFONTDIR" # Let the user override the test with a path.
34098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34099 for as_dir
in $PATH
34102 test -z "$as_dir" && as_dir
=.
34103 for ac_exec_ext
in '' $ac_executable_extensions; do
34104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34105 ac_cv_path_MKFONTDIR
="$as_dir/$ac_word$ac_exec_ext"
34106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34116 MKFONTDIR
=$ac_cv_path_MKFONTDIR
34117 if test -n "$MKFONTDIR"; then
34118 { echo "$as_me:$LINENO: result: $MKFONTDIR" >&5
34119 echo "${ECHO_T}$MKFONTDIR" >&6; }
34121 { echo "$as_me:$LINENO: result: no" >&5
34122 echo "${ECHO_T}no" >&6; }
34127 # freetype support code borrowed from lib/XFont
34128 if test x
$XP_USE_FREETYPE = xyes
; then
34130 cat >>confdefs.h
<<\_ACEOF
34131 #define XP_USE_FREETYPE 1
34135 if test "$freetype_config" = "auto" ; then
34138 { echo "$as_me:$LINENO: checking for FREETYPE" >&5
34139 echo $ECHO_N "checking for FREETYPE... $ECHO_C" >&6; }
34141 if test -n "$PKG_CONFIG"; then
34142 if test -n "$FREETYPE_CFLAGS"; then
34143 pkg_cv_FREETYPE_CFLAGS
="$FREETYPE_CFLAGS"
34145 if test -n "$PKG_CONFIG" && \
34146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
34147 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; then
34151 pkg_cv_FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
34159 if test -n "$PKG_CONFIG"; then
34160 if test -n "$FREETYPE_LIBS"; then
34161 pkg_cv_FREETYPE_LIBS
="$FREETYPE_LIBS"
34163 if test -n "$PKG_CONFIG" && \
34164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
34165 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); }; then
34169 pkg_cv_FREETYPE_LIBS
=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
34180 if test $pkg_failed = yes; then
34182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34183 _pkg_short_errors_supported
=yes
34185 _pkg_short_errors_supported
=no
34187 if test $_pkg_short_errors_supported = yes; then
34188 FREETYPE_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"`
34190 FREETYPE_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
34192 # Put the nasty error message in config.log where it belongs
34193 echo "$FREETYPE_PKG_ERRORS" >&5
34195 { echo "$as_me:$LINENO: result: no" >&5
34196 echo "${ECHO_T}no" >&6; }
34197 freetype_config
=yes
34198 elif test $pkg_failed = untried
; then
34199 freetype_config
=yes
34201 FREETYPE_CFLAGS
=$pkg_cv_FREETYPE_CFLAGS
34202 FREETYPE_LIBS
=$pkg_cv_FREETYPE_LIBS
34203 { echo "$as_me:$LINENO: result: yes" >&5
34204 echo "${ECHO_T}yes" >&6; }
34209 if test "$freetype_config" = "yes"; then
34210 # Extract the first word of "freetype-config", so it can be a program name with args.
34211 set dummy freetype-config
; ac_word
=$2
34212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34214 if test "${ac_cv_path_ft_config+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34219 ac_cv_path_ft_config
="$ft_config" # Let the user override the test with a path.
34222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34223 for as_dir
in $PATH
34226 test -z "$as_dir" && as_dir
=.
34227 for ac_exec_ext
in '' $ac_executable_extensions; do
34228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34229 ac_cv_path_ft_config
="$as_dir/$ac_word$ac_exec_ext"
34230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34237 test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config
="no"
34241 ft_config
=$ac_cv_path_ft_config
34242 if test -n "$ft_config"; then
34243 { echo "$as_me:$LINENO: result: $ft_config" >&5
34244 echo "${ECHO_T}$ft_config" >&6; }
34246 { echo "$as_me:$LINENO: result: no" >&5
34247 echo "${ECHO_T}no" >&6; }
34251 if test "$ft_config" = "no"; then
34252 { { echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5
34253 echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;}
34254 { (exit 1); exit 1; }; }
34257 ft_config
="$freetype_config"
34260 if test "$freetype_config" != "no"; then
34261 FREETYPE_CFLAGS
="`$ft_config --cflags`"
34262 FREETYPE_LIBS
="`$ft_config --libs`"
34264 FREETYPE_REQUIRES
="freetype2"
34268 FREETYPE_REQUIRES
=""
34273 # end freetype support
34275 if test "x$XPRINT" = xyes
&& test "x$XP_USE_FREETYPE" = xyes
; then
34276 XP_USE_FREETYPE_TRUE
=
34277 XP_USE_FREETYPE_FALSE
='#'
34279 XP_USE_FREETYPE_TRUE
='#'
34280 XP_USE_FREETYPE_FALSE
=
34286 { echo "$as_me:$LINENO: checking whether to build XWin DDX" >&5
34287 echo $ECHO_N "checking whether to build XWin DDX... $ECHO_C" >&6; }
34288 if test "x$XWIN" = xauto
; then
34290 cygwin
*) XWIN
="yes" ;;
34291 mingw
*) XWIN
="yes" ;;
34294 XWIN_LIBS
="$FB_LIB $MI_LIB $XEXT_LIB $CONFIG_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $DAMAGE_LIB $LAYER_LIB $XPSTUBS_LIB $OS_LIB $SHADOW_LIB"
34297 { echo "$as_me:$LINENO: result: $XWIN" >&5
34298 echo "${ECHO_T}$XWIN" >&6; }
34300 if test "x$XWIN" = xyes
; then
34301 XWIN_SERVER_NAME
=XWin
34306 { echo "$as_me:$LINENO: checking for XWINMODULES" >&5
34307 echo $ECHO_N "checking for XWINMODULES... $ECHO_C" >&6; }
34309 if test -n "$PKG_CONFIG"; then
34310 if test -n "$XWINMODULES_CFLAGS"; then
34311 pkg_cv_XWINMODULES_CFLAGS
="$XWINMODULES_CFLAGS"
34313 if test -n "$PKG_CONFIG" && \
34314 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5
34315 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5
34317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34318 (exit $ac_status); }; then
34319 pkg_cv_XWINMODULES_CFLAGS
=`$PKG_CONFIG --cflags "x11 xdmcp xau xfont" 2>/dev/null`
34327 if test -n "$PKG_CONFIG"; then
34328 if test -n "$XWINMODULES_LIBS"; then
34329 pkg_cv_XWINMODULES_LIBS
="$XWINMODULES_LIBS"
34331 if test -n "$PKG_CONFIG" && \
34332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5
34333 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; then
34337 pkg_cv_XWINMODULES_LIBS
=`$PKG_CONFIG --libs "x11 xdmcp xau xfont" 2>/dev/null`
34348 if test $pkg_failed = yes; then
34350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34351 _pkg_short_errors_supported
=yes
34353 _pkg_short_errors_supported
=no
34355 if test $_pkg_short_errors_supported = yes; then
34356 XWINMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xdmcp xau xfont"`
34358 XWINMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xdmcp xau xfont"`
34360 # Put the nasty error message in config.log where it belongs
34361 echo "$XWINMODULES_PKG_ERRORS" >&5
34363 { { echo "$as_me:$LINENO: error: Package requirements (x11 xdmcp xau xfont) were not met:
34365 $XWINMODULES_PKG_ERRORS
34367 Consider adjusting the PKG_CONFIG_PATH environment variable if you
34368 installed software in a non-standard prefix.
34370 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34371 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34372 See the pkg-config man page for more details.
34374 echo "$as_me: error: Package requirements (x11 xdmcp xau xfont) were not met:
34376 $XWINMODULES_PKG_ERRORS
34378 Consider adjusting the PKG_CONFIG_PATH environment variable if you
34379 installed software in a non-standard prefix.
34381 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34382 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34383 See the pkg-config man page for more details.
34385 { (exit 1); exit 1; }; }
34386 elif test $pkg_failed = untried
; then
34387 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
34388 is in your PATH or set the PKG_CONFIG environment variable to the full
34389 path to pkg-config.
34391 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34392 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34393 See the pkg-config man page for more details.
34395 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34396 See \`config.log' for more details." >&5
34397 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
34398 is in your PATH or set the PKG_CONFIG environment variable to the full
34399 path to pkg-config.
34401 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34402 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34403 See the pkg-config man page for more details.
34405 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34406 See \`config.log' for more details." >&2;}
34407 { (exit 1); exit 1; }; }
34409 XWINMODULES_CFLAGS
=$pkg_cv_XWINMODULES_CFLAGS
34410 XWINMODULES_LIBS
=$pkg_cv_XWINMODULES_LIBS
34411 { echo "$as_me:$LINENO: result: yes" >&5
34412 echo "${ECHO_T}yes" >&6; }
34416 cat >>confdefs.h
<<\_ACEOF
34417 #define HAS_DEVWINDOWS 1
34421 cat >>confdefs.h
<<\_ACEOF
34425 CFLAGS
="$CFLAGS -DFD_SETSIZE=256"
34430 { echo "$as_me:$LINENO: checking for XWINMODULES" >&5
34431 echo $ECHO_N "checking for XWINMODULES... $ECHO_C" >&6; }
34433 if test -n "$PKG_CONFIG"; then
34434 if test -n "$XWINMODULES_CFLAGS"; then
34435 pkg_cv_XWINMODULES_CFLAGS
="$XWINMODULES_CFLAGS"
34437 if test -n "$PKG_CONFIG" && \
34438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5
34439 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; then
34443 pkg_cv_XWINMODULES_CFLAGS
=`$PKG_CONFIG --cflags "x11 xdmcp xau xfont" 2>/dev/null`
34451 if test -n "$PKG_CONFIG"; then
34452 if test -n "$XWINMODULES_LIBS"; then
34453 pkg_cv_XWINMODULES_LIBS
="$XWINMODULES_LIBS"
34455 if test -n "$PKG_CONFIG" && \
34456 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5
34457 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; then
34461 pkg_cv_XWINMODULES_LIBS
=`$PKG_CONFIG --libs "x11 xdmcp xau xfont" 2>/dev/null`
34472 if test $pkg_failed = yes; then
34474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34475 _pkg_short_errors_supported
=yes
34477 _pkg_short_errors_supported
=no
34479 if test $_pkg_short_errors_supported = yes; then
34480 XWINMODULES_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xdmcp xau xfont"`
34482 XWINMODULES_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xdmcp xau xfont"`
34484 # Put the nasty error message in config.log where it belongs
34485 echo "$XWINMODULES_PKG_ERRORS" >&5
34487 { { echo "$as_me:$LINENO: error: Package requirements (x11 xdmcp xau xfont) were not met:
34489 $XWINMODULES_PKG_ERRORS
34491 Consider adjusting the PKG_CONFIG_PATH environment variable if you
34492 installed software in a non-standard prefix.
34494 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34495 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34496 See the pkg-config man page for more details.
34498 echo "$as_me: error: Package requirements (x11 xdmcp xau xfont) were not met:
34500 $XWINMODULES_PKG_ERRORS
34502 Consider adjusting the PKG_CONFIG_PATH environment variable if you
34503 installed software in a non-standard prefix.
34505 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34506 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34507 See the pkg-config man page for more details.
34509 { (exit 1); exit 1; }; }
34510 elif test $pkg_failed = untried
; then
34511 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
34512 is in your PATH or set the PKG_CONFIG environment variable to the full
34513 path to pkg-config.
34515 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34516 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34517 See the pkg-config man page for more details.
34519 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34520 See \`config.log' for more details." >&5
34521 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
34522 is in your PATH or set the PKG_CONFIG environment variable to the full
34523 path to pkg-config.
34525 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
34526 and XWINMODULES_LIBS to avoid the need to call pkg-config.
34527 See the pkg-config man page for more details.
34529 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
34530 See \`config.log' for more details." >&2;}
34531 { (exit 1); exit 1; }; }
34533 XWINMODULES_CFLAGS
=$pkg_cv_XWINMODULES_CFLAGS
34534 XWINMODULES_LIBS
=$pkg_cv_XWINMODULES_LIBS
34535 { echo "$as_me:$LINENO: result: yes" >&5
34536 echo "${ECHO_T}yes" >&6; }
34539 XWIN_SERVER_NAME
=Xming
34541 cat >>confdefs.h
<<\_ACEOF
34542 #define RELOCATE_PROJECTROOT 1
34546 cat >>confdefs.h
<<\_ACEOF
34547 #define HAS_WINSOCK 1
34550 XWIN_SYSTEM_LIBS
=-lwinsock2
34556 if test "x$DEBUGGING" = xyes
; then
34558 cat >>confdefs.h
<<\_ACEOF
34563 cat >>confdefs.h
<<\_ACEOF
34564 #define CYGWINDOWING_DEBUG 1
34568 cat >>confdefs.h
<<\_ACEOF
34569 #define CYGMULTIWINDOW_DEBUG 1
34575 cat >>confdefs.h
<<\_ACEOF
34576 #define DDXOSINIT 1
34580 cat >>confdefs.h
<<\_ACEOF
34585 cat >>confdefs.h
<<\_ACEOF
34586 #define DDXOSFATALERROR 1
34590 cat >>confdefs.h
<<\_ACEOF
34591 #define DDXOSVERRORF 1
34595 cat >>confdefs.h
<<\_ACEOF
34596 #define DDXBEFORERESET 1
34599 if test "x$XF86VIDMODE" = xyes
; then
34600 { echo "$as_me:$LINENO: Disabling XF86VidMode extension" >&5
34601 echo "$as_me: Disabling XF86VidMode extension" >&6;}
34604 if test "x$XF86MISC" = xyes
; then
34605 { echo "$as_me:$LINENO: Disabling XF86Misc extension" >&5
34606 echo "$as_me: Disabling XF86Misc extension" >&6;}
34609 if test "x$COMPOSITE" = xyes
; then
34610 { echo "$as_me:$LINENO: Disabling Composite extension" >&5
34611 echo "$as_me: Disabling Composite extension" >&6;}
34615 if test "x$XWIN" = xyes
; then
34623 if test "x$XWIN" = xyes
; then
34624 XWIN_MULTIWINDOW_TRUE
=
34625 XWIN_MULTIWINDOW_FALSE
='#'
34627 XWIN_MULTIWINDOW_TRUE
='#'
34628 XWIN_MULTIWINDOW_FALSE
=
34631 if test "x$XWIN" = xyes
&& false
; then
34632 XWIN_MULTIWINDOWEXTWM_TRUE
=
34633 XWIN_MULTIWINDOWEXTWM_FALSE
='#'
34635 XWIN_MULTIWINDOWEXTWM_TRUE
='#'
34636 XWIN_MULTIWINDOWEXTWM_FALSE
=
34639 if test "x$XWIN" = xyes
; then
34640 XWIN_CLIPBOARD_TRUE
=
34641 XWIN_CLIPBOARD_FALSE
='#'
34643 XWIN_CLIPBOARD_TRUE
='#'
34644 XWIN_CLIPBOARD_FALSE
=
34647 if test "x$XWIN" = xyes
&& false
; then
34648 XWIN_GLX_WINDOWS_TRUE
=
34649 XWIN_GLX_WINDOWS_FALSE
='#'
34651 XWIN_GLX_WINDOWS_TRUE
='#'
34652 XWIN_GLX_WINDOWS_FALSE
=
34655 if test "x$XWIN" = xyes
&& false
; then
34656 XWIN_NATIVEGDI_TRUE
=
34657 XWIN_NATIVEGDI_FALSE
='#'
34659 XWIN_NATIVEGDI_TRUE
='#'
34660 XWIN_NATIVEGDI_FALSE
=
34663 if test "x$XWIN" = xyes
&& false
; then
34664 XWIN_PRIMARYFB_TRUE
=
34665 XWIN_PRIMARYFB_FALSE
='#'
34667 XWIN_PRIMARYFB_TRUE
='#'
34668 XWIN_PRIMARYFB_FALSE
=
34671 if test "x$XWIN" = xyes
; then
34673 XWIN_RANDR_FALSE
='#'
34675 XWIN_RANDR_TRUE
='#'
34679 if test "x$XWIN" = xyes
&& test "x$XV" = xyes
; then
34688 if test "x$ac_cv_lib_Xplugin_xp_init" = xyes
; then
34689 HAVE_X_PLUGIN_TRUE
=
34690 HAVE_X_PLUGIN_FALSE
='#'
34692 HAVE_X_PLUGIN_TRUE
='#'
34693 HAVE_X_PLUGIN_FALSE
=
34696 if test "x$xorg_cv_AGL_framework" = xyes
; then
34697 HAVE_AGL_FRAMEWORK_TRUE
=
34698 HAVE_AGL_FRAMEWORK_FALSE
='#'
34700 HAVE_AGL_FRAMEWORK_TRUE
='#'
34701 HAVE_AGL_FRAMEWORK_FALSE
=
34704 # Support for objc in autotools is minimal and not
34709 OBJCFLAGS
='$(CFLAGS)'
34714 # internal, undocumented automake func follows :(
34716 depcc
="$OBJC" am_compiler_list
='gcc3 gcc'
34718 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
34719 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
34720 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
34721 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
34724 # We make a subdir and do the tests there. Otherwise we can end up
34725 # making bogus files that we don't know about and never remove. For
34726 # instance it was reported that on HP-UX the gcc test will end up
34727 # making a dummy file named `D' -- because `-MD' means `put the output
34730 # Copy depcomp to subdir because otherwise we won't find it if we're
34731 # using a relative directory.
34732 cp "$am_depcomp" conftest.dir
34734 # We will build objects and dependencies in a subdirectory because
34735 # it helps to detect inapplicable dependency modes. For instance
34736 # both Tru64's cc and ICC support -MD to output dependencies as a
34737 # side effect of compilation, but ICC will put the dependencies in
34738 # the current directory while Tru64 will put them in the object
34742 am_cv_OBJC_dependencies_compiler_type
=none
34743 if test "$am_compiler_list" = ""; then
34744 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
34746 for depmode
in $am_compiler_list; do
34747 # Setup a source with many dependencies, because some compilers
34748 # like to wrap large dependency lists on column 80 (with \), and
34749 # we should not choose a depcomp mode which is confused by this.
34751 # We need to recreate these files for each test, as the compiler may
34752 # overwrite some of them when testing with obscure command lines.
34753 # This happens at least with the AIX C compiler.
34755 for i
in 1 2 3 4 5 6; do
34756 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
34757 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
34758 # Solaris 8's {/usr,}/bin/sh.
34759 touch sub
/conftst
$i.h
34761 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
34765 # after this tag, mechanisms are not by side-effect, so they'll
34766 # only be used when explicitly requested
34767 if test "x$enable_dependency_tracking" = xyes
; then
34775 # We check with `-c' and `-o' for the sake of the "dashmstdout"
34776 # mode. It turns out that the SunPro C++ compiler does not properly
34777 # handle `-M -o', and we need to detect this.
34778 if depmode
=$depmode \
34779 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
34780 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
34781 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
34782 >/dev
/null
2>conftest.err
&&
34783 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
34784 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
34785 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
34786 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
34787 # icc doesn't choke on unknown options, it will just issue warnings
34788 # or remarks (even with -Werror). So we grep stderr for any message
34789 # that says an option was ignored or not supported.
34790 # When given -MP, icc 7.0 and 7.1 complain thusly:
34791 # icc: Command line warning: ignoring option '-M'; no argument required
34792 # The diagnosis changed in icc 8.0:
34793 # icc: Command line remark: option '-MP' not supported
34794 if (grep 'ignoring option' conftest.err ||
34795 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
34796 am_cv_OBJC_dependencies_compiler_type
=$depmode
34803 rm -rf conftest.dir
34805 am_cv_OBJC_dependencies_compiler_type
=none
34809 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
34810 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
34811 OBJCDEPMODE
=depmode
=$am_cv_OBJC_dependencies_compiler_type
34814 test "x$enable_dependency_tracking" != xno \
34815 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3
; then
34816 am__fastdepOBJC_TRUE
=
34817 am__fastdepOBJC_FALSE
='#'
34819 am__fastdepOBJC_TRUE
='#'
34820 am__fastdepOBJC_FALSE
=
34832 if test x
$KDRIVE = xyes
; then
34840 if test "$KDRIVE" = yes; then
34842 cat >>confdefs.h
<<\_ACEOF
34843 #define KDRIVESERVER 1
34847 cat >>confdefs.h
<<\_ACEOF
34848 #define KDRIVEDDXACTIONS
34854 for ac_header
in sys
/vm86.h sys
/io.h
34856 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34857 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34858 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34860 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34861 echo $ECHO_N "(cached) $ECHO_C" >&6
34863 ac_res
=`eval echo '${'$as_ac_Header'}'`
34864 { echo "$as_me:$LINENO: result: $ac_res" >&5
34865 echo "${ECHO_T}$ac_res" >&6; }
34867 # Is the header compilable?
34868 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
34869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
34870 cat >conftest.
$ac_ext <<_ACEOF
34873 cat confdefs.h
>>conftest.
$ac_ext
34874 cat >>conftest.
$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34876 $ac_includes_default
34877 #include <$ac_header>
34879 rm -f conftest.
$ac_objext
34880 if { (ac_try
="$ac_compile"
34881 case "(($ac_try" in
34882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
34883 *) ac_try_echo=$ac_try;;
34885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34886 (eval "$ac_compile") 2>conftest.er1
34888 grep -v '^ *+' conftest.er1 >conftest.err
34890 cat conftest.err >&5
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); } && {
34893 test -z "$ac_c_werror_flag" ||
34894 test ! -s conftest.err
34895 } && test -s conftest.$ac_objext; then
34896 ac_header_compiler=yes
34898 echo "$as_me: failed program was:" >&5
34899 sed 's/^/| /' conftest.$ac_ext >&5
34901 ac_header_compiler=no
34904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34905 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34906 echo "${ECHO_T}$ac_header_compiler" >&6; }
34908 # Is the header present?
34909 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
34910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
34911 cat >conftest.$ac_ext <<_ACEOF
34914 cat confdefs.h >>conftest.$ac_ext
34915 cat >>conftest.$ac_ext <<_ACEOF
34916 /* end confdefs.h. */
34917 #include <$ac_header>
34919 if { (ac_try="$ac_cpp conftest.$ac_ext"
34920 case "(($ac_try" in
34921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
34922 *) ac_try_echo
=$ac_try;;
34924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34927 grep -v '^ *+' conftest.er1
>conftest.err
34929 cat conftest.err
>&5
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); } >/dev
/null
&& {
34932 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34933 test ! -s conftest.err
34935 ac_header_preproc
=yes
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.
$ac_ext >&5
34940 ac_header_preproc
=no
34943 rm -f conftest.err conftest.
$ac_ext
34944 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34945 echo "${ECHO_T}$ac_header_preproc" >&6; }
34947 # So? What about this header?
34948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34953 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34954 ac_header_preproc
=yes
34957 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34959 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34961 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34962 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34963 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34964 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34966 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34967 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34968 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34970 ## ---------------------------------------------------------------------- ##
34971 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
34972 ## ---------------------------------------------------------------------- ##
34974 ) |
sed "s/^/$as_me: WARNING: /" >&2
34977 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34979 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34980 echo $ECHO_N "(cached) $ECHO_C" >&6
34982 eval "$as_ac_Header=\$ac_header_preproc"
34984 ac_res
=`eval echo '${'$as_ac_Header'}'`
34985 { echo "$as_me:$LINENO: result: $ac_res" >&5
34986 echo "${ECHO_T}$ac_res" >&6; }
34989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34990 cat >>confdefs.h
<<_ACEOF
34991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34998 if test "$ac_cv_header_sys_vm86_h" = yes && test "x$KDRIVEVESA" = xauto
; then
35002 if test "x$KDRIVEVESA" = xyes
; then
35005 cat >>confdefs.h
<<\_ACEOF
35006 #define KDRIVEVESA 1
35012 for ac_header
in linux
/fb.h
35014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35015 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35016 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35018 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35021 ac_res
=`eval echo '${'$as_ac_Header'}'`
35022 { echo "$as_me:$LINENO: result: $ac_res" >&5
35023 echo "${ECHO_T}$ac_res" >&6; }
35025 # Is the header compilable?
35026 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
35027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
35028 cat >conftest.
$ac_ext <<_ACEOF
35031 cat confdefs.h
>>conftest.
$ac_ext
35032 cat >>conftest.
$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 $ac_includes_default
35035 #include <$ac_header>
35037 rm -f conftest.
$ac_objext
35038 if { (ac_try
="$ac_compile"
35039 case "(($ac_try" in
35040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
35041 *) ac_try_echo=$ac_try;;
35043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35044 (eval "$ac_compile") 2>conftest.er1
35046 grep -v '^ *+' conftest.er1 >conftest.err
35048 cat conftest.err >&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } && {
35051 test -z "$ac_c_werror_flag" ||
35052 test ! -s conftest.err
35053 } && test -s conftest.$ac_objext; then
35054 ac_header_compiler=yes
35056 echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.$ac_ext >&5
35059 ac_header_compiler=no
35062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35063 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35064 echo "${ECHO_T}$ac_header_compiler" >&6; }
35066 # Is the header present?
35067 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
35068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
35069 cat >conftest.$ac_ext <<_ACEOF
35072 cat confdefs.h >>conftest.$ac_ext
35073 cat >>conftest.$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35075 #include <$ac_header>
35077 if { (ac_try="$ac_cpp conftest.$ac_ext"
35078 case "(($ac_try" in
35079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35080 *) ac_try_echo
=$ac_try;;
35082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35085 grep -v '^ *+' conftest.er1
>conftest.err
35087 cat conftest.err
>&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); } >/dev
/null
&& {
35090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35091 test ! -s conftest.err
35093 ac_header_preproc
=yes
35095 echo "$as_me: failed program was:" >&5
35096 sed 's/^/| /' conftest.
$ac_ext >&5
35098 ac_header_preproc
=no
35101 rm -f conftest.err conftest.
$ac_ext
35102 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35103 echo "${ECHO_T}$ac_header_preproc" >&6; }
35105 # So? What about this header?
35106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35112 ac_header_preproc
=yes
35115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35128 ## ---------------------------------------------------------------------- ##
35129 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
35130 ## ---------------------------------------------------------------------- ##
35132 ) |
sed "s/^/$as_me: WARNING: /" >&2
35135 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 eval "$as_ac_Header=\$ac_header_preproc"
35142 ac_res
=`eval echo '${'$as_ac_Header'}'`
35143 { echo "$as_me:$LINENO: result: $ac_res" >&5
35144 echo "${ECHO_T}$ac_res" >&6; }
35147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35148 cat >>confdefs.h
<<_ACEOF
35149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35156 if test "$ac_cv_header_linux_fb_h" = yes && test "x$XFBDEV" = xauto
; then
35160 if test "x$XFBDEV" = xyes
; then
35163 cat >>confdefs.h
<<\_ACEOF
35164 #define KDRIVEFBDEV 1
35170 { echo "$as_me:$LINENO: checking for ts_open in -lts" >&5
35171 echo $ECHO_N "checking for ts_open in -lts... $ECHO_C" >&6; }
35172 if test "${ac_cv_lib_ts_ts_open+set}" = set; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35175 ac_check_lib_save_LIBS
=$LIBS
35177 cat >conftest.
$ac_ext <<_ACEOF
35180 cat confdefs.h
>>conftest.
$ac_ext
35181 cat >>conftest.
$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35184 /* Override any GCC internal prototype to avoid an error.
35185 Use char because int might match the return type of a GCC
35186 builtin and then its argument prototype would still apply. */
35199 rm -f conftest.
$ac_objext conftest
$ac_exeext
35200 if { (ac_try
="$ac_link"
35201 case "(($ac_try" in
35202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
35203 *) ac_try_echo=$ac_try;;
35205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35206 (eval "$ac_link") 2>conftest.er1
35208 grep -v '^ *+' conftest.er1 >conftest.err
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && {
35213 test -z "$ac_c_werror_flag" ||
35214 test ! -s conftest.err
35215 } && test -s conftest$ac_exeext &&
35216 $as_test_x conftest$ac_exeext; then
35217 ac_cv_lib_ts_ts_open=yes
35219 echo "$as_me: failed program was:" >&5
35220 sed 's/^/| /' conftest.$ac_ext >&5
35222 ac_cv_lib_ts_ts_open=no
35225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35226 conftest$ac_exeext conftest.$ac_ext
35227 LIBS=$ac_check_lib_save_LIBS
35229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ts_ts_open" >&5
35230 echo "${ECHO_T}$ac_cv_lib_ts_ts_open" >&6; }
35231 if test $ac_cv_lib_ts_ts_open = yes; then
35235 if test "x$TSLIB" = xauto && test "x$HAVE_TSLIB" = xyes; then
35239 if test "x$TSLIB" = xyes; then
35240 if ! test "x$HAVE_TSLIB" = xyes; then
35241 { { echo "$as_me:$LINENO: error: tslib must be installed to build the tslib input driver." >&5
35242 echo "$as_me: error: tslib must be installed to build the tslib input driver." >&2;}
35243 { (exit 1); exit 1; }; }
35247 cat >>confdefs.h <<\_ACEOF
35254 for ac_header in SDL/SDL.h
35256 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
35257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35263 ac_res=`eval echo '${'$as_ac_Header'}'`
35264 { echo "$as_me:$LINENO: result: $ac_res" >&5
35265 echo "${ECHO_T}$ac_res" >&6; }
35267 # Is the header compilable?
35268 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
35269 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
35270 cat >conftest.$ac_ext <<_ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 $ac_includes_default
35277 #include <$ac_header>
35279 rm -f conftest.$ac_objext
35280 if { (ac_try="$ac_compile"
35281 case "(($ac_try" in
35282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35283 *) ac_try_echo
=$ac_try;;
35285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35286 (eval "$ac_compile") 2>conftest.er1
35288 grep -v '^ *+' conftest.er1
>conftest.err
35290 cat conftest.err
>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } && {
35293 test -z "$ac_c_werror_flag" ||
35294 test ! -s conftest.err
35295 } && test -s conftest.
$ac_objext; then
35296 ac_header_compiler
=yes
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.
$ac_ext >&5
35301 ac_header_compiler
=no
35304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35305 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35306 echo "${ECHO_T}$ac_header_compiler" >&6; }
35308 # Is the header present?
35309 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
35310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
35311 cat >conftest.
$ac_ext <<_ACEOF
35314 cat confdefs.h
>>conftest.
$ac_ext
35315 cat >>conftest.
$ac_ext <<_ACEOF
35316 /* end confdefs.h. */
35317 #include <$ac_header>
35319 if { (ac_try
="$ac_cpp conftest.$ac_ext"
35320 case "(($ac_try" in
35321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
35322 *) ac_try_echo=$ac_try;;
35324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35327 grep -v '^ *+' conftest.er1 >conftest.err
35329 cat conftest.err >&5
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); } >/dev/null && {
35332 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35333 test ! -s conftest.err
35335 ac_header_preproc=yes
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.$ac_ext >&5
35340 ac_header_preproc=no
35343 rm -f conftest.err conftest.$ac_ext
35344 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35345 echo "${ECHO_T}$ac_header_preproc" >&6; }
35347 # So? What about this header?
35348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35354 ac_header_preproc=yes
35357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35370 ## ---------------------------------------------------------------------- ##
35371 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
35372 ## ---------------------------------------------------------------------- ##
35374 ) | sed "s/^/$as_me: WARNING: /" >&2
35377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35380 echo $ECHO_N "(cached) $ECHO_C" >&6
35382 eval "$as_ac_Header=\$ac_header_preproc"
35384 ac_res=`eval echo '${'$as_ac_Header'}'`
35385 { echo "$as_me:$LINENO: result: $ac_res" >&5
35386 echo "${ECHO_T}$ac_res" >&6; }
35389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35390 cat >>confdefs.h <<_ACEOF
35391 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
35398 if test x"$ac_cv_header_SDL_SDL_h" = xyes && test "x$XSDL" = xauto; then
35402 if test x"$XSDL" = xyes; then
35403 # PKG_CHECK_MODULES(XSDL_EXTRA, Xfont xau $XDMCP_MODULES)
35405 cat >>confdefs.h <<\_ACEOF
35406 #define XSDLSERVER 1
35409 XSDL_LIBS="`sdl-config
--libs` $XSERVER_LIBS"
35410 XSDL_INCS="`sdl-config
--cflags` $XSERVER_CFLAGS"
35415 { echo "$as_me:$LINENO: checking for XEPHYR" >&5
35416 echo $ECHO_N "checking for XEPHYR... $ECHO_C" >&6; }
35418 if test -n "$PKG_CONFIG"; then
35419 if test -n "$XEPHYR_CFLAGS"; then
35420 pkg_cv_XEPHYR_CFLAGS="$XEPHYR_CFLAGS"
35422 if test -n "$PKG_CONFIG" && \
35423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xfont xau xdmcp\"") >&5
35424 ($PKG_CONFIG --exists --print-errors "x11 xext xfont xau xdmcp") 2>&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); }; then
35428 pkg_cv_XEPHYR_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xfont xau xdmcp" 2>/dev
/null
`
35436 if test -n "$PKG_CONFIG"; then
35437 if test -n "$XEPHYR_LIBS"; then
35438 pkg_cv_XEPHYR_LIBS="$XEPHYR_LIBS"
35440 if test -n "$PKG_CONFIG" && \
35441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xfont xau xdmcp\"") >&5
35442 ($PKG_CONFIG --exists --print-errors "x11 xext xfont xau xdmcp") 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; then
35446 pkg_cv_XEPHYR_LIBS=`$PKG_CONFIG --libs "x11 xext xfont xau xdmcp" 2>/dev
/null
`
35457 if test $pkg_failed = yes; then
35459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35460 _pkg_short_errors_supported=yes
35462 _pkg_short_errors_supported=no
35464 if test $_pkg_short_errors_supported = yes; then
35465 XEPHYR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xext xfont xau xdmcp"`
35467 XEPHYR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xext xfont xau xdmcp"`
35469 # Put the nasty error message in config.log where it belongs
35470 echo "$XEPHYR_PKG_ERRORS" >&5
35472 { echo "$as_me:$LINENO: result: no" >&5
35473 echo "${ECHO_T}no" >&6; }
35475 elif test $pkg_failed = untried; then
35478 XEPHYR_CFLAGS=$pkg_cv_XEPHYR_CFLAGS
35479 XEPHYR_LIBS=$pkg_cv_XEPHYR_LIBS
35480 { echo "$as_me:$LINENO: result: yes" >&5
35481 echo "${ECHO_T}yes" >&6; }
35484 if test "x$XEPHYR" = xauto; then
35488 # Xephyr needs nanosleep() which is in librt on Solaris
35489 { echo "$as_me:$LINENO: checking for nanosleep" >&5
35490 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
35491 if test "${ac_cv_func_nanosleep+set}" = set; then
35492 echo $ECHO_N "(cached) $ECHO_C" >&6
35494 cat >conftest.$ac_ext <<_ACEOF
35497 cat confdefs.h >>conftest.$ac_ext
35498 cat >>conftest.$ac_ext <<_ACEOF
35499 /* end confdefs.h. */
35500 /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
35501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35502 #define nanosleep innocuous_nanosleep
35504 /* System header to define __stub macros and hopefully few prototypes,
35505 which can conflict with char nanosleep (); below.
35506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35507 <limits.h> exists even on freestanding compilers. */
35510 # include <limits.h>
35512 # include <assert.h>
35517 /* Override any GCC internal prototype to avoid an error.
35518 Use char because int might match the return type of a GCC
35519 builtin and then its argument prototype would still apply. */
35524 /* The GNU C library defines this for functions which it implements
35525 to always fail with ENOSYS. Some functions are actually named
35526 something starting with __ and the normal name is an alias. */
35527 #if defined __stub_nanosleep || defined __stub___nanosleep
35534 return nanosleep ();
35539 rm -f conftest.$ac_objext conftest$ac_exeext
35540 if { (ac_try="$ac_link"
35541 case "(($ac_try" in
35542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
35543 *) ac_try_echo
=$ac_try;;
35545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35546 (eval "$ac_link") 2>conftest.er1
35548 grep -v '^ *+' conftest.er1
>conftest.err
35550 cat conftest.err
>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } && {
35553 test -z "$ac_c_werror_flag" ||
35554 test ! -s conftest.err
35555 } && test -s conftest
$ac_exeext &&
35556 $as_test_x conftest
$ac_exeext; then
35557 ac_cv_func_nanosleep
=yes
35559 echo "$as_me: failed program was:" >&5
35560 sed 's/^/| /' conftest.
$ac_ext >&5
35562 ac_cv_func_nanosleep
=no
35565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35566 conftest
$ac_exeext conftest.
$ac_ext
35568 { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
35569 echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
35570 if test $ac_cv_func_nanosleep = yes; then
35573 { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
35574 echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
35575 if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
35576 echo $ECHO_N "(cached) $ECHO_C" >&6
35578 ac_check_lib_save_LIBS
=$LIBS
35580 cat >conftest.
$ac_ext <<_ACEOF
35583 cat confdefs.h
>>conftest.
$ac_ext
35584 cat >>conftest.
$ac_ext <<_ACEOF
35585 /* end confdefs.h. */
35587 /* Override any GCC internal prototype to avoid an error.
35588 Use char because int might match the return type of a GCC
35589 builtin and then its argument prototype would still apply. */
35597 return nanosleep ();
35602 rm -f conftest.
$ac_objext conftest
$ac_exeext
35603 if { (ac_try
="$ac_link"
35604 case "(($ac_try" in
35605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
35606 *) ac_try_echo=$ac_try;;
35608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35609 (eval "$ac_link") 2>conftest.er1
35611 grep -v '^ *+' conftest.er1 >conftest.err
35613 cat conftest.err >&5
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); } && {
35616 test -z "$ac_c_werror_flag" ||
35617 test ! -s conftest.err
35618 } && test -s conftest$ac_exeext &&
35619 $as_test_x conftest$ac_exeext; then
35620 ac_cv_lib_rt_nanosleep=yes
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35625 ac_cv_lib_rt_nanosleep=no
35628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35629 conftest$ac_exeext conftest.$ac_ext
35630 LIBS=$ac_check_lib_save_LIBS
35632 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
35633 echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
35634 if test $ac_cv_lib_rt_nanosleep = yes; then
35635 XEPHYR_LIBS="$XEPHYR_LIBS -lrt"
35641 if test "x$TSLIB" = xyes; then
35644 { echo "$as_me:$LINENO: checking for TSLIB" >&5
35645 echo $ECHO_N "checking for TSLIB... $ECHO_C" >&6; }
35647 if test -n "$PKG_CONFIG"; then
35648 if test -n "$TSLIB_CFLAGS"; then
35649 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
35651 if test -n "$PKG_CONFIG" && \
35652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\"") >&5
35653 ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; then
35657 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-0.0" 2>/dev
/null
`
35665 if test -n "$PKG_CONFIG"; then
35666 if test -n "$TSLIB_LIBS"; then
35667 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
35669 if test -n "$PKG_CONFIG" && \
35670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\"") >&5
35671 ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; then
35675 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-0.0" 2>/dev
/null
`
35686 if test $pkg_failed = yes; then
35688 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35689 _pkg_short_errors_supported=yes
35691 _pkg_short_errors_supported=no
35693 if test $_pkg_short_errors_supported = yes; then
35694 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tslib-0.0"`
35696 TSLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tslib-0.0"`
35698 # Put the nasty error message in config.log where it belongs
35699 echo "$TSLIB_PKG_ERRORS" >&5
35701 { echo "$as_me:$LINENO: result: no" >&5
35702 echo "${ECHO_T}no" >&6; }
35704 elif test $pkg_failed = untried; then
35707 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
35708 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
35709 { echo "$as_me:$LINENO: result: yes" >&5
35710 echo "${ECHO_T}yes" >&6; }
35713 if test "x$HAVE_TSLIB" = xno; then
35714 { { echo "$as_me:$LINENO: error: tslib must be installed to build the tslib driver. See http://tslib.berlios.de/" >&5
35715 echo "$as_me: error: tslib must be installed to build the tslib driver. See http://tslib.berlios.de/" >&2;}
35716 { (exit 1); exit 1; }; }
35719 cat >>confdefs.h <<\_ACEOF
35725 # damage shadow extension glx (NOTYET) fb mi
35726 KDRIVE_INC='-I$(top_srcdir)/hw/kdrive/src'
35727 KDRIVE_PURE_INCS="$KDRIVE_INC $MIEXT_DAMAGE_INC $MIEXT_SHADOW_INC $XEXT_INC $FB_INC $MI_INC"
35728 KDRIVE_OS_INC='-I$(top_srcdir)/hw/kdrive/linux'
35729 KDRIVE_INCS="$KDRIVE_PURE_INCS $KDRIVE_OS_INC"
35731 KDRIVE_CFLAGS="$XSERVER_CFLAGS -DHAVE_KDRIVE_CONFIG_H $TSLIB_CFLAGS"
35733 KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $OS_LIB"
35734 KDRIVE_LIB='$(top_builddir)/hw/kdrive/src/libkdrive.a'
35737 KDRIVE_OS_LIB='$(top_builddir)/hw/kdrive/linux/liblinux.a'
35741 KDRIVE_STUB_LIB='$(top_builddir)/hw/kdrive/src/libkdrivestubs.a'
35742 KDRIVE_LOCAL_LIBS="$DIX_LIB $CONFIG_LIB $KDRIVE_LIB $TSLIB_LIBS $KDRIVE_OS_LIB $KDRIVE_PURE_LIBS $KDRIVE_STUB_LIB"
35743 KDRIVE_LIBS="$XSERVERLIBS_LIBS $KDRIVE_LOCAL_LIBS"
35745 # check if we can build Xephyr
35748 { echo "$as_me:$LINENO: checking for XEPHYR" >&5
35749 echo $ECHO_N "checking for XEPHYR... $ECHO_C" >&6; }
35751 if test -n "$PKG_CONFIG"; then
35752 if test -n "$XEPHYR_CFLAGS"; then
35753 pkg_cv_XEPHYR_CFLAGS="$XEPHYR_CFLAGS"
35755 if test -n "$PKG_CONFIG" && \
35756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xfont xau xdmcp\"") >&5
35757 ($PKG_CONFIG --exists --print-errors "x11 xext xfont xau xdmcp") 2>&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; then
35761 pkg_cv_XEPHYR_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xfont xau xdmcp" 2>/dev
/null
`
35769 if test -n "$PKG_CONFIG"; then
35770 if test -n "$XEPHYR_LIBS"; then
35771 pkg_cv_XEPHYR_LIBS="$XEPHYR_LIBS"
35773 if test -n "$PKG_CONFIG" && \
35774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xfont xau xdmcp\"") >&5
35775 ($PKG_CONFIG --exists --print-errors "x11 xext xfont xau xdmcp") 2>&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); }; then
35779 pkg_cv_XEPHYR_LIBS=`$PKG_CONFIG --libs "x11 xext xfont xau xdmcp" 2>/dev
/null
`
35790 if test $pkg_failed = yes; then
35792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35793 _pkg_short_errors_supported=yes
35795 _pkg_short_errors_supported=no
35797 if test $_pkg_short_errors_supported = yes; then
35798 XEPHYR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xext xfont xau xdmcp"`
35800 XEPHYR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xext xfont xau xdmcp"`
35802 # Put the nasty error message in config.log where it belongs
35803 echo "$XEPHYR_PKG_ERRORS" >&5
35805 { echo "$as_me:$LINENO: result: no" >&5
35806 echo "${ECHO_T}no" >&6; }
35808 elif test $pkg_failed = untried; then
35811 XEPHYR_CFLAGS=$pkg_cv_XEPHYR_CFLAGS
35812 XEPHYR_LIBS=$pkg_cv_XEPHYR_LIBS
35813 { echo "$as_me:$LINENO: result: yes" >&5
35814 echo "${ECHO_T}yes" >&6; }
35829 if test "x$KDRIVELINUX" = xyes; then
35831 KDRIVELINUX_FALSE='#'
35833 KDRIVELINUX_TRUE='#'
35837 if test "x$HAVE_TSLIB" = xyes; then
35853 if test "x$KDRIVEVESA" = xyes; then
35855 KDRIVEVESA_FALSE='#'
35857 KDRIVEVESA_TRUE='#'
35861 if test "x$XFBDEV" = xyes; then
35863 KDRIVEFBDEV_FALSE='#'
35865 KDRIVEFBDEV_TRUE='#'
35869 if test x"$XSDL" = xyes; then
35871 XSDLSERVER_FALSE='#'
35873 XSDLSERVER_TRUE='#'
35877 if test "x$KDRIVE" = xyes && test "x$XEPHYR" = xyes; then
35885 if test "x$KDRIVE" = xyes && test "x$KDRIVEFBDEVLIB" = xyes; then
35886 BUILD_KDRIVEFBDEVLIB_TRUE=
35887 BUILD_KDRIVEFBDEVLIB_FALSE='#'
35889 BUILD_KDRIVEFBDEVLIB_TRUE='#'
35890 BUILD_KDRIVEFBDEVLIB_FALSE=
35893 if test "x$KDRIVE" = xyes && test "x$XFAKE" = xyes; then
35895 XFAKESERVER_FALSE='#'
35897 XFAKESERVER_TRUE='#'
35903 cat >>confdefs.h <<\_ACEOF
35904 #define __XKBDEFRULES__ "xorg"
35910 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
35911 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
35912 eval ac_define_dir="\"$XKBPATH\""
35913 eval ac_define_dir="\"$ac_define_dir\""
35914 XKB_BASE_DIRECTORY="$ac_define_dir"
35917 cat >>confdefs.h <<_ACEOF
35918 #define XKB_BASE_DIRECTORY "$ac_define_dir"
35921 test "$prefix_NONE" && prefix=NONE
35922 test "$exec_prefix_NONE" && exec_prefix=NONE
35927 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
35928 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
35929 eval ac_define_dir="\"$bindir\""
35930 eval ac_define_dir="\"$ac_define_dir\""
35931 XKB_BIN_DIRECTORY="$ac_define_dir"
35934 cat >>confdefs.h <<_ACEOF
35935 #define XKB_BIN_DIRECTORY "$ac_define_dir"
35938 test "$prefix_NONE" && prefix=NONE
35939 test "$exec_prefix_NONE" && exec_prefix=NONE
35942 # Make sure XKM_OUTPUT_DIR is an absolute path
35943 XKBOUTPUT_FIRSTCHAR=`echo $XKBOUTPUT | cut
-b 1`
35945 if [ x$XKBOUTPUT_FIRSTCHAR != x/ ] ; then
35946 XKBOUTPUT="$XKB_BASE_DIRECTORY/$XKBOUTPUT"
35949 # XKM_OUTPUT_DIR (used in code) must end in / or file names get hosed
35950 # XKB_COMPILED_DIR (used in Makefiles) must not or install-sh gets confused
35952 XKBOUTPUT=`echo $XKBOUTPUT/ |
sed 's|/*$|/|'`
35953 XKB_COMPILED_DIR=`echo $XKBOUTPUT |
sed 's|/*$||'`
35958 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
35959 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
35960 eval ac_define_dir="\"$XKBOUTPUT\""
35961 eval ac_define_dir="\"$ac_define_dir\""
35962 XKM_OUTPUT_DIR="$ac_define_dir"
35965 cat >>confdefs.h <<_ACEOF
35966 #define XKM_OUTPUT_DIR "$ac_define_dir"
35969 test "$prefix_NONE" && prefix=NONE
35970 test "$exec_prefix_NONE" && exec_prefix=NONE
35976 cat >>confdefs.h <<\_ACEOF
35977 #define XResExtension 1
35981 cat >conftest.$ac_ext <<_ACEOF
35984 cat confdefs.h >>conftest.$ac_ext
35985 cat >>conftest.$ac_ext <<_ACEOF
35986 /* end confdefs.h. */
35988 #include <features.h>
36001 rm -f conftest.$ac_objext
36002 if { (ac_try="$ac_compile"
36003 case "(($ac_try" in
36004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
36005 *) ac_try_echo
=$ac_try;;
36007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36008 (eval "$ac_compile") 2>conftest.er1
36010 grep -v '^ *+' conftest.er1
>conftest.err
36012 cat conftest.err
>&5
36013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36014 (exit $ac_status); } && {
36015 test -z "$ac_c_werror_flag" ||
36016 test ! -s conftest.err
36017 } && test -s conftest.
$ac_objext; then
36019 cat >>confdefs.h
<<\_ACEOF
36020 #define _GNU_SOURCE 1
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.
$ac_ext >&5
36030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36035 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
36036 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
36037 eval ac_define_dir
="\"$prefix\""
36038 eval ac_define_dir
="\"$ac_define_dir\""
36039 PROJECTROOT
="$ac_define_dir"
36042 cat >>confdefs.h
<<_ACEOF
36043 #define PROJECTROOT "$ac_define_dir"
36046 test "$prefix_NONE" && prefix
=NONE
36047 test "$exec_prefix_NONE" && exec_prefix
=NONE
36050 if test "x$XORG" = xyes
; then
36053 { echo "$as_me:$LINENO: checking for XORGCONFIG_DEP" >&5
36054 echo $ECHO_N "checking for XORGCONFIG_DEP... $ECHO_C" >&6; }
36056 if test -n "$PKG_CONFIG"; then
36057 if test -n "$XORGCONFIG_DEP_CFLAGS"; then
36058 pkg_cv_XORGCONFIG_DEP_CFLAGS
="$XORGCONFIG_DEP_CFLAGS"
36060 if test -n "$PKG_CONFIG" && \
36061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\"") >&5
36062 ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); }; then
36066 pkg_cv_XORGCONFIG_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xkbfile x11" 2>/dev/null`
36074 if test -n "$PKG_CONFIG"; then
36075 if test -n "$XORGCONFIG_DEP_LIBS"; then
36076 pkg_cv_XORGCONFIG_DEP_LIBS
="$XORGCONFIG_DEP_LIBS"
36078 if test -n "$PKG_CONFIG" && \
36079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\"") >&5
36080 ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; then
36084 pkg_cv_XORGCONFIG_DEP_LIBS
=`$PKG_CONFIG --libs "xkbfile x11" 2>/dev/null`
36095 if test $pkg_failed = yes; then
36097 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36098 _pkg_short_errors_supported
=yes
36100 _pkg_short_errors_supported
=no
36102 if test $_pkg_short_errors_supported = yes; then
36103 XORGCONFIG_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xkbfile x11"`
36105 XORGCONFIG_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xkbfile x11"`
36107 # Put the nasty error message in config.log where it belongs
36108 echo "$XORGCONFIG_DEP_PKG_ERRORS" >&5
36110 { { echo "$as_me:$LINENO: error: Package requirements (xkbfile x11) were not met:
36112 $XORGCONFIG_DEP_PKG_ERRORS
36114 Consider adjusting the PKG_CONFIG_PATH environment variable if you
36115 installed software in a non-standard prefix.
36117 Alternatively, you may set the environment variables XORGCONFIG_DEP_CFLAGS
36118 and XORGCONFIG_DEP_LIBS to avoid the need to call pkg-config.
36119 See the pkg-config man page for more details.
36121 echo "$as_me: error: Package requirements (xkbfile x11) were not met:
36123 $XORGCONFIG_DEP_PKG_ERRORS
36125 Consider adjusting the PKG_CONFIG_PATH environment variable if you
36126 installed software in a non-standard prefix.
36128 Alternatively, you may set the environment variables XORGCONFIG_DEP_CFLAGS
36129 and XORGCONFIG_DEP_LIBS to avoid the need to call pkg-config.
36130 See the pkg-config man page for more details.
36132 { (exit 1); exit 1; }; }
36133 elif test $pkg_failed = untried
; then
36134 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
36135 is in your PATH or set the PKG_CONFIG environment variable to the full
36136 path to pkg-config.
36138 Alternatively, you may set the environment variables XORGCONFIG_DEP_CFLAGS
36139 and XORGCONFIG_DEP_LIBS to avoid the need to call pkg-config.
36140 See the pkg-config man page for more details.
36142 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36143 See \`config.log' for more details." >&5
36144 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
36145 is in your PATH or set the PKG_CONFIG environment variable to the full
36146 path to pkg-config.
36148 Alternatively, you may set the environment variables XORGCONFIG_DEP_CFLAGS
36149 and XORGCONFIG_DEP_LIBS to avoid the need to call pkg-config.
36150 See the pkg-config man page for more details.
36152 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36153 See \`config.log' for more details." >&2;}
36154 { (exit 1); exit 1; }; }
36156 XORGCONFIG_DEP_CFLAGS
=$pkg_cv_XORGCONFIG_DEP_CFLAGS
36157 XORGCONFIG_DEP_LIBS
=$pkg_cv_XORGCONFIG_DEP_LIBS
36158 { echo "$as_me:$LINENO: result: yes" >&5
36159 echo "${ECHO_T}yes" >&6; }
36166 # Check whether --enable-xorgcfg was given.
36167 if test "${enable_xorgcfg+set}" = set; then
36168 enableval
=$enable_xorgcfg; XORGCFG
=$enableval
36173 if test x
$XORGCFG = xyes
; then
36176 { echo "$as_me:$LINENO: checking for XORGCFG_DEP" >&5
36177 echo $ECHO_N "checking for XORGCFG_DEP... $ECHO_C" >&6; }
36179 if test -n "$PKG_CONFIG"; then
36180 if test -n "$XORGCFG_DEP_CFLAGS"; then
36181 pkg_cv_XORGCFG_DEP_CFLAGS
="$XORGCFG_DEP_CFLAGS"
36183 if test -n "$PKG_CONFIG" && \
36184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11\"") >&5
36185 ($PKG_CONFIG --exists --print-errors "xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11") 2>&5
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; then
36189 pkg_cv_XORGCFG_DEP_CFLAGS
=`$PKG_CONFIG --cflags "xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11" 2>/dev/null`
36197 if test -n "$PKG_CONFIG"; then
36198 if test -n "$XORGCFG_DEP_LIBS"; then
36199 pkg_cv_XORGCFG_DEP_LIBS
="$XORGCFG_DEP_LIBS"
36201 if test -n "$PKG_CONFIG" && \
36202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11\"") >&5
36203 ($PKG_CONFIG --exists --print-errors "xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11") 2>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); }; then
36207 pkg_cv_XORGCFG_DEP_LIBS
=`$PKG_CONFIG --libs "xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11" 2>/dev/null`
36218 if test $pkg_failed = yes; then
36220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36221 _pkg_short_errors_supported
=yes
36223 _pkg_short_errors_supported
=no
36225 if test $_pkg_short_errors_supported = yes; then
36226 XORGCFG_DEP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11"`
36228 XORGCFG_DEP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11"`
36230 # Put the nasty error message in config.log where it belongs
36231 echo "$XORGCFG_DEP_PKG_ERRORS" >&5
36233 { { echo "$as_me:$LINENO: error: Package requirements (xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11) were not met:
36235 $XORGCFG_DEP_PKG_ERRORS
36237 Consider adjusting the PKG_CONFIG_PATH environment variable if you
36238 installed software in a non-standard prefix.
36240 Alternatively, you may set the environment variables XORGCFG_DEP_CFLAGS
36241 and XORGCFG_DEP_LIBS to avoid the need to call pkg-config.
36242 See the pkg-config man page for more details.
36244 echo "$as_me: error: Package requirements (xkbui >= 1.0.2 xkbfile xxf86misc xxf86vm xaw7 xmu xt xpm xext x11) were not met:
36246 $XORGCFG_DEP_PKG_ERRORS
36248 Consider adjusting the PKG_CONFIG_PATH environment variable if you
36249 installed software in a non-standard prefix.
36251 Alternatively, you may set the environment variables XORGCFG_DEP_CFLAGS
36252 and XORGCFG_DEP_LIBS to avoid the need to call pkg-config.
36253 See the pkg-config man page for more details.
36255 { (exit 1); exit 1; }; }
36256 elif test $pkg_failed = untried
; then
36257 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
36258 is in your PATH or set the PKG_CONFIG environment variable to the full
36259 path to pkg-config.
36261 Alternatively, you may set the environment variables XORGCFG_DEP_CFLAGS
36262 and XORGCFG_DEP_LIBS to avoid the need to call pkg-config.
36263 See the pkg-config man page for more details.
36265 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36266 See \`config.log' for more details." >&5
36267 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
36268 is in your PATH or set the PKG_CONFIG environment variable to the full
36269 path to pkg-config.
36271 Alternatively, you may set the environment variables XORGCFG_DEP_CFLAGS
36272 and XORGCFG_DEP_LIBS to avoid the need to call pkg-config.
36273 See the pkg-config man page for more details.
36275 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
36276 See \`config.log' for more details." >&2;}
36277 { (exit 1); exit 1; }; }
36279 XORGCFG_DEP_CFLAGS
=$pkg_cv_XORGCFG_DEP_CFLAGS
36280 XORGCFG_DEP_LIBS
=$pkg_cv_XORGCFG_DEP_LIBS
36281 { echo "$as_me:$LINENO: result: yes" >&5
36282 echo "${ECHO_T}yes" >&6; }
36285 XORGCFG_DEP_CFLAGS
="$XORGCFG_DEP_CFLAGS $PIXMAN_CFLAGS"
36286 { echo "$as_me:$LINENO: checking for waddstr in -lcurses" >&5
36287 echo $ECHO_N "checking for waddstr in -lcurses... $ECHO_C" >&6; }
36288 if test "${ac_cv_lib_curses_waddstr+set}" = set; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36291 ac_check_lib_save_LIBS
=$LIBS
36292 LIBS
="-lcurses $LIBS"
36293 cat >conftest.
$ac_ext <<_ACEOF
36296 cat confdefs.h
>>conftest.
$ac_ext
36297 cat >>conftest.
$ac_ext <<_ACEOF
36298 /* end confdefs.h. */
36300 /* Override any GCC internal prototype to avoid an error.
36301 Use char because int might match the return type of a GCC
36302 builtin and then its argument prototype would still apply. */
36315 rm -f conftest.
$ac_objext conftest
$ac_exeext
36316 if { (ac_try
="$ac_link"
36317 case "(($ac_try" in
36318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
36319 *) ac_try_echo=$ac_try;;
36321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36322 (eval "$ac_link") 2>conftest.er1
36324 grep -v '^ *+' conftest.er1 >conftest.err
36326 cat conftest.err >&5
36327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36328 (exit $ac_status); } && {
36329 test -z "$ac_c_werror_flag" ||
36330 test ! -s conftest.err
36331 } && test -s conftest$ac_exeext &&
36332 $as_test_x conftest$ac_exeext; then
36333 ac_cv_lib_curses_waddstr=yes
36335 echo "$as_me: failed program was:" >&5
36336 sed 's/^/| /' conftest.$ac_ext >&5
36338 ac_cv_lib_curses_waddstr=no
36341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36342 conftest$ac_exeext conftest.$ac_ext
36343 LIBS=$ac_check_lib_save_LIBS
36345 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddstr" >&5
36346 echo "${ECHO_T}$ac_cv_lib_curses_waddstr" >&6; }
36347 if test $ac_cv_lib_curses_waddstr = yes; then
36348 XORGCFG_DEP_LIBS="$XORGCFG_DEP_LIBS -lcurses"; CURSES=yes
36350 { echo "$as_me:$LINENO: checking for waddstr in -lncurses" >&5
36351 echo $ECHO_N "checking for waddstr in -lncurses... $ECHO_C" >&6; }
36352 if test "${ac_cv_lib_ncurses_waddstr+set}" = set; then
36353 echo $ECHO_N "(cached) $ECHO_C" >&6
36355 ac_check_lib_save_LIBS=$LIBS
36356 LIBS="-lncurses $LIBS"
36357 cat >conftest.$ac_ext <<_ACEOF
36360 cat confdefs.h >>conftest.$ac_ext
36361 cat >>conftest.$ac_ext <<_ACEOF
36362 /* end confdefs.h. */
36364 /* Override any GCC internal prototype to avoid an error.
36365 Use char because int might match the return type of a GCC
36366 builtin and then its argument prototype would still apply. */
36379 rm -f conftest.$ac_objext conftest$ac_exeext
36380 if { (ac_try="$ac_link"
36381 case "(($ac_try" in
36382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
36383 *) ac_try_echo
=$ac_try;;
36385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36386 (eval "$ac_link") 2>conftest.er1
36388 grep -v '^ *+' conftest.er1
>conftest.err
36390 cat conftest.err
>&5
36391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36392 (exit $ac_status); } && {
36393 test -z "$ac_c_werror_flag" ||
36394 test ! -s conftest.err
36395 } && test -s conftest
$ac_exeext &&
36396 $as_test_x conftest
$ac_exeext; then
36397 ac_cv_lib_ncurses_waddstr
=yes
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 ac_cv_lib_ncurses_waddstr
=no
36405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36406 conftest
$ac_exeext conftest.
$ac_ext
36407 LIBS
=$ac_check_lib_save_LIBS
36409 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddstr" >&5
36410 echo "${ECHO_T}$ac_cv_lib_ncurses_waddstr" >&6; }
36411 if test $ac_cv_lib_ncurses_waddstr = yes; then
36412 XORGCFG_DEP_LIBS
="$XORGCFG_DEP_LIBS -lncurses" ; CURSES
=yes
36422 APPDEFAULTDIR
=$
(pkg-config
--variable=appdefaultdir xt
)
36425 if test x
$XORGCFG = xyes
; then
36426 BUILD_XORGCFG_TRUE
=
36427 BUILD_XORGCFG_FALSE
='#'
36429 BUILD_XORGCFG_TRUE
='#'
36430 BUILD_XORGCFG_FALSE
=
36433 if test x
$CURSES = xyes
; then
36435 USE_CURSES_FALSE
='#'
36437 USE_CURSES_TRUE
='#'
36442 # Check whether --enable-kbd_mode was given.
36443 if test "${enable_kbd_mode+set}" = set; then
36444 enableval
=$enable_kbd_mode; BUILD_KBD_MODE
=$enable_val
36446 BUILD_KBD_MODE
="auto"
36449 if test x
$BUILD_KBD_MODE != xno
; then
36452 KBD_MODE_TYPE
="bsd"
36453 # BUILD_KBD_MODE="yes" # need to test on BSD before enabling
36457 KBD_MODE_TYPE
="sun"
36458 BUILD_KBD_MODE
="yes" # enabled by default
36461 BUILD_KBD_MODE
="no" # disabled by default
36465 if test x
$BUILD_KBD_MODE = xyes
; then
36466 BUILD_KBD_MODE_TRUE
=
36467 BUILD_KBD_MODE_FALSE
='#'
36469 BUILD_KBD_MODE_TRUE
='#'
36470 BUILD_KBD_MODE_FALSE
=
36473 if test x
$KBD_MODE_TYPE = xbsd
; then
36475 BSD_KBD_MODE_FALSE
='#'
36477 BSD_KBD_MODE_TRUE
='#'
36478 BSD_KBD_MODE_FALSE
=
36481 if test x
$KBD_MODE_TYPE = xsun
; then
36483 SUN_KBD_MODE_FALSE
='#'
36485 SUN_KBD_MODE_TRUE
='#'
36486 SUN_KBD_MODE_FALSE
=
36490 BUILD_DATE
="$(date +'%Y%m%d')"
36492 BUILD_TIME
="$(date +'1%H%M%S')"
36495 DIX_CFLAGS
="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"
36501 # Man page sections - used in config utils & generating man pages
36505 if test x
$APP_MAN_SUFFIX = x
; then
36508 if test x
$APP_MAN_DIR = x
; then
36509 APP_MAN_DIR
='$(mandir)/man$(APP_MAN_SUFFIX)'
36512 if test x
$LIB_MAN_SUFFIX = x
; then
36515 if test x
$LIB_MAN_DIR = x
; then
36516 LIB_MAN_DIR
='$(mandir)/man$(LIB_MAN_SUFFIX)'
36519 if test x
$FILE_MAN_SUFFIX = x
; then
36521 solaris
*) FILE_MAN_SUFFIX
=4 ;;
36522 *) FILE_MAN_SUFFIX
=5 ;;
36525 if test x
$FILE_MAN_DIR = x
; then
36526 FILE_MAN_DIR
='$(mandir)/man$(FILE_MAN_SUFFIX)'
36529 if test x
$MISC_MAN_SUFFIX = x
; then
36531 solaris
*) MISC_MAN_SUFFIX
=5 ;;
36532 *) MISC_MAN_SUFFIX
=7 ;;
36535 if test x
$MISC_MAN_DIR = x
; then
36536 MISC_MAN_DIR
='$(mandir)/man$(MISC_MAN_SUFFIX)'
36539 if test x
$DRIVER_MAN_SUFFIX = x
; then
36541 solaris
*) DRIVER_MAN_SUFFIX
=7 ;;
36542 *) DRIVER_MAN_SUFFIX
=4 ;;
36545 if test x
$DRIVER_MAN_DIR = x
; then
36546 DRIVER_MAN_DIR
='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
36549 if test x
$ADMIN_MAN_SUFFIX = x
; then
36551 solaris
*) ADMIN_MAN_SUFFIX
=1m
;;
36552 *) ADMIN_MAN_SUFFIX
=8 ;;
36555 if test x
$ADMIN_MAN_DIR = x
; then
36556 ADMIN_MAN_DIR
='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
36574 ac_config_files
="$ac_config_files Makefile GL/Makefile GL/apple/Makefile GL/glx/Makefile GL/mesa/Makefile GL/mesa/glapi/Makefile GL/mesa/main/Makefile GL/mesa/math/Makefile GL/mesa/shader/Makefile GL/mesa/shader/grammar/Makefile GL/mesa/shader/slang/Makefile GL/mesa/swrast/Makefile GL/mesa/swrast_setup/Makefile GL/mesa/tnl/Makefile GL/mesa/vbo/Makefile GL/mesa/X/Makefile include/Makefile afb/Makefile composite/Makefile damageext/Makefile dbe/Makefile dix/Makefile doc/Makefile fb/Makefile record/Makefile XTrap/Makefile mfb/Makefile cfb/Makefile cfb32/Makefile config/Makefile mi/Makefile miext/Makefile miext/damage/Makefile miext/shadow/Makefile miext/cw/Makefile miext/rootless/Makefile miext/rootless/safeAlpha/Makefile miext/rootless/accel/Makefile os/Makefile randr/Makefile render/Makefile xkb/Makefile Xext/Makefile Xi/Makefile xfixes/Makefile exa/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/dixmods/extmod/Makefile hw/xfree86/doc/Makefile hw/xfree86/doc/devel/Makefile hw/xfree86/doc/man/Makefile hw/xfree86/doc/sgml/Makefile hw/xfree86/dri/Makefile hw/xfree86/dummylib/Makefile hw/xfree86/exa/Makefile hw/xfree86/fbdevhw/Makefile hw/xfree86/i2c/Makefile hw/xfree86/int10/Makefile hw/xfree86/loader/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/lynxos/Makefile hw/xfree86/os-support/sco/Makefile hw/xfree86/os-support/solaris/Makefile hw/xfree86/os-support/sysv/Makefile hw/xfree86/os-support/usl/Makefile hw/xfree86/parser/Makefile hw/xfree86/rac/Makefile hw/xfree86/ramdac/Makefile hw/xfree86/scanpci/Makefile hw/xfree86/shadowfb/Makefile hw/xfree86/vbe/Makefile hw/xfree86/vgahw/Makefile hw/xfree86/x86emu/Makefile hw/xfree86/xaa/Makefile hw/xfree86/xf1bpp/Makefile hw/xfree86/xf4bpp/Makefile hw/xfree86/xf8_16bpp/Makefile hw/xfree86/xf8_32bpp/Makefile hw/xfree86/utils/Makefile hw/xfree86/utils/cvt/Makefile hw/xfree86/utils/gtf/Makefile hw/xfree86/utils/ioport/Makefile hw/xfree86/utils/kbd_mode/Makefile hw/xfree86/utils/pcitweak/Makefile hw/xfree86/utils/scanpci/Makefile hw/xfree86/utils/xorgcfg/Makefile hw/xfree86/utils/xorgconfig/Makefile hw/dmx/config/Makefile hw/dmx/doc/Makefile hw/dmx/examples/Makefile hw/dmx/input/Makefile hw/dmx/glxProxy/Makefile hw/dmx/Makefile hw/vfb/Makefile hw/xgl/Makefile hw/xgl/egl/Makefile hw/xgl/egl/module/Makefile hw/xgl/glx/Makefile hw/xgl/glx/module/Makefile hw/xgl/glxext/Makefile hw/xgl/glxext/module/Makefile hw/xnest/Makefile hw/xwin/Makefile hw/darwin/Makefile hw/darwin/bundle/Makefile hw/darwin/bundle/Dutch.lproj/Makefile hw/darwin/bundle/English.lproj/Makefile hw/darwin/bundle/French.lproj/Makefile hw/darwin/bundle/German.lproj/Makefile hw/darwin/bundle/Japanese.lproj/Makefile hw/darwin/bundle/Portuguese.lproj/Makefile hw/darwin/bundle/Spanish.lproj/Makefile hw/darwin/bundle/Swedish.lproj/Makefile hw/darwin/bundle/ko.lproj/Makefile hw/darwin/iokit/Makefile hw/darwin/quartz/Makefile hw/darwin/utils/Makefile hw/kdrive/Makefile hw/kdrive/ati/Makefile hw/kdrive/chips/Makefile hw/kdrive/ephyr/Makefile hw/kdrive/epson/Makefile hw/kdrive/fake/Makefile hw/kdrive/fbdev/Makefile hw/kdrive/i810/Makefile hw/kdrive/linux/Makefile hw/kdrive/mach64/Makefile hw/kdrive/mga/Makefile hw/kdrive/neomagic/Makefile hw/kdrive/nvidia/Makefile hw/kdrive/pm2/Makefile hw/kdrive/r128/Makefile hw/kdrive/sdl/Makefile hw/kdrive/sis300/Makefile hw/kdrive/smi/Makefile hw/kdrive/src/Makefile hw/kdrive/vesa/Makefile hw/kdrive/via/Makefile hw/xprint/Makefile hw/xprint/doc/Makefile hw/xprint/pcl/Makefile hw/xprint/pcl-mono/Makefile hw/xprint/raster/Makefile hw/xprint/ps/Makefile hw/xprint/etc/Makefile hw/xprint/etc/Xsession.d/Makefile hw/xprint/etc/init.d/Makefile hw/xprint/etc/profile.d/Makefile hw/xprint/config/Makefile hw/xprint/config/C/print/attributes/Makefile hw/xprint/config/C/print/ddx-config/Makefile hw/xprint/config/C/print/ddx-config/raster/Makefile hw/xprint/config/C/print/models/CANONBJ10E-GS/Makefile hw/xprint/config/C/print/models/PSdefault/fonts/Makefile hw/xprint/config/C/print/models/PSdefault/Makefile hw/xprint/config/C/print/models/PSspooldir/Makefile hw/xprint/config/C/print/models/SPSPARC2/Makefile hw/xprint/config/C/print/models/SPSPARC2/fonts/Makefile hw/xprint/config/C/print/models/GSdefault/Makefile hw/xprint/config/C/print/models/HPLJ4050-PS/Makefile hw/xprint/config/C/print/models/HPLJ4050-PS/fonts/Makefile hw/xprint/config/C/print/models/Makefile hw/xprint/config/C/print/models/PS2PDFspooldir-GS/Makefile hw/xprint/config/C/print/models/CANONC3200-PS/Makefile hw/xprint/config/C/print/models/CANONC3200-PS/fonts/Makefile hw/xprint/config/C/print/models/HPLJ4family/fonts/Makefile hw/xprint/config/C/print/models/HPLJ4family/Makefile hw/xprint/config/C/print/models/HPDJ1600C/Makefile hw/xprint/config/C/print/models/HPDJ1600C/fonts/Makefile hw/xprint/config/C/print/Makefile hw/xprint/config/C/Makefile hw/xprint/config/en_US/print/attributes/Makefile hw/xprint/config/en_US/print/Makefile hw/xprint/config/en_US/Makefile xorg-server.pc"
36576 cat >confcache
<<\_ACEOF
36577 # This file is a shell script that caches the results of configure
36578 # tests run on this system so they can be shared between configure
36579 # scripts and configure runs, see configure's option --config-cache.
36580 # It is not useful on other systems. If it contains results you don't
36581 # want to keep, you may remove or edit it.
36583 # config.status only pays attention to the cache file if you give it
36584 # the --recheck option to rerun configure.
36586 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36587 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36588 # following values.
36592 # The following way of writing the cache mishandles newlines in values,
36593 # but we know of no workaround that is simple, portable, and efficient.
36594 # So, we kill variables containing newlines.
36595 # Ultrix sh set writes to stderr and can't be redirected directly,
36596 # and sets the high bit in the cache file unless we assign to the vars.
36598 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
36599 eval ac_val
=\$
$ac_var
36603 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
36604 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
36607 _ | IFS | as_nl
) ;; #(
36608 *) $as_unset $ac_var ;;
36614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
36615 *${as_nl}ac_space
=\
*)
36616 # `set' does not quote correctly, so add quotes (double-quote
36617 # substitution turns \\\\ into \\, and sed turns \\ into \).
36620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36623 # `set' quotes correctly as required by POSIX, so do not add quotes.
36624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
36633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36637 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
36638 if test -w "$cache_file"; then
36639 test "x$cache_file" != "x/dev/null" &&
36640 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
36641 echo "$as_me: updating cache $cache_file" >&6;}
36642 cat confcache
>$cache_file
36644 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
36645 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
36650 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
36651 # Let make expand exec_prefix.
36652 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
36654 DEFS
=-DHAVE_CONFIG_H
36658 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
36659 # 1. Remove the extension, and $U if already installed.
36660 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
36661 ac_i
=`echo "$ac_i" | sed "$ac_script"`
36662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
36663 # will be set to the directory where LIBOBJS objects are built.
36664 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
36665 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
36667 LIBOBJS
=$ac_libobjs
36669 LTLIBOBJS
=$ac_ltlibobjs
36672 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
36673 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
36674 Usually this means the macro was only invoked conditionally." >&5
36675 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
36676 Usually this means the macro was only invoked conditionally." >&2;}
36677 { (exit 1); exit 1; }; }
36679 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
36680 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
36681 Usually this means the macro was only invoked conditionally." >&5
36682 echo "$as_me: error: conditional \"AMDEP\" was never defined.
36683 Usually this means the macro was only invoked conditionally." >&2;}
36684 { (exit 1); exit 1; }; }
36686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
36687 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
36688 Usually this means the macro was only invoked conditionally." >&5
36689 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
36690 Usually this means the macro was only invoked conditionally." >&2;}
36691 { (exit 1); exit 1; }; }
36693 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
36694 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
36695 Usually this means the macro was only invoked conditionally." >&5
36696 echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
36697 Usually this means the macro was only invoked conditionally." >&2;}
36698 { (exit 1); exit 1; }; }
36700 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
36701 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
36702 Usually this means the macro was only invoked conditionally." >&5
36703 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
36704 Usually this means the macro was only invoked conditionally." >&2;}
36705 { (exit 1); exit 1; }; }
36707 if test -z "${XSERVER_DTRACE_TRUE}" && test -z "${XSERVER_DTRACE_FALSE}"; then
36708 { { echo "$as_me:$LINENO: error: conditional \"XSERVER_DTRACE\" was never defined.
36709 Usually this means the macro was only invoked conditionally." >&5
36710 echo "$as_me: error: conditional \"XSERVER_DTRACE\" was never defined.
36711 Usually this means the macro was only invoked conditionally." >&2;}
36712 { (exit 1); exit 1; }; }
36714 if test -z "${NEED_STRLCAT_TRUE}" && test -z "${NEED_STRLCAT_FALSE}"; then
36715 { { echo "$as_me:$LINENO: error: conditional \"NEED_STRLCAT\" was never defined.
36716 Usually this means the macro was only invoked conditionally." >&5
36717 echo "$as_me: error: conditional \"NEED_STRLCAT\" was never defined.
36718 Usually this means the macro was only invoked conditionally." >&2;}
36719 { (exit 1); exit 1; }; }
36721 if test -z "${NEED_VSNPRINTF_TRUE}" && test -z "${NEED_VSNPRINTF_FALSE}"; then
36722 { { echo "$as_me:$LINENO: error: conditional \"NEED_VSNPRINTF\" was never defined.
36723 Usually this means the macro was only invoked conditionally." >&5
36724 echo "$as_me: error: conditional \"NEED_VSNPRINTF\" was never defined.
36725 Usually this means the macro was only invoked conditionally." >&2;}
36726 { (exit 1); exit 1; }; }
36728 if test -z "${AGP_TRUE}" && test -z "${AGP_FALSE}"; then
36729 { { echo "$as_me:$LINENO: error: conditional \"AGP\" was never defined.
36730 Usually this means the macro was only invoked conditionally." >&5
36731 echo "$as_me: error: conditional \"AGP\" was never defined.
36732 Usually this means the macro was only invoked conditionally." >&2;}
36733 { (exit 1); exit 1; }; }
36735 if test -z "${LNXAPM_TRUE}" && test -z "${LNXAPM_FALSE}"; then
36736 { { echo "$as_me:$LINENO: error: conditional \"LNXAPM\" was never defined.
36737 Usually this means the macro was only invoked conditionally." >&5
36738 echo "$as_me: error: conditional \"LNXAPM\" was never defined.
36739 Usually this means the macro was only invoked conditionally." >&2;}
36740 { (exit 1); exit 1; }; }
36742 if test -z "${FBDEVHW_TRUE}" && test -z "${FBDEVHW_FALSE}"; then
36743 { { echo "$as_me:$LINENO: error: conditional \"FBDEVHW\" was never defined.
36744 Usually this means the macro was only invoked conditionally." >&5
36745 echo "$as_me: error: conditional \"FBDEVHW\" was never defined.
36746 Usually this means the macro was only invoked conditionally." >&2;}
36747 { (exit 1); exit 1; }; }
36749 if test -z "${FREEBSD_KLDLOAD_TRUE}" && test -z "${FREEBSD_KLDLOAD_FALSE}"; then
36750 { { echo "$as_me:$LINENO: error: conditional \"FREEBSD_KLDLOAD\" was never defined.
36751 Usually this means the macro was only invoked conditionally." >&5
36752 echo "$as_me: error: conditional \"FREEBSD_KLDLOAD\" was never defined.
36753 Usually this means the macro was only invoked conditionally." >&2;}
36754 { (exit 1); exit 1; }; }
36756 if test -z "${ALPHA_VIDEO_TRUE}" && test -z "${ALPHA_VIDEO_FALSE}"; then
36757 { { echo "$as_me:$LINENO: error: conditional \"ALPHA_VIDEO\" was never defined.
36758 Usually this means the macro was only invoked conditionally." >&5
36759 echo "$as_me: error: conditional \"ALPHA_VIDEO\" was never defined.
36760 Usually this means the macro was only invoked conditionally." >&2;}
36761 { (exit 1); exit 1; }; }
36763 if test -z "${ARM_VIDEO_TRUE}" && test -z "${ARM_VIDEO_FALSE}"; then
36764 { { echo "$as_me:$LINENO: error: conditional \"ARM_VIDEO\" was never defined.
36765 Usually this means the macro was only invoked conditionally." >&5
36766 echo "$as_me: error: conditional \"ARM_VIDEO\" was never defined.
36767 Usually this means the macro was only invoked conditionally." >&2;}
36768 { (exit 1); exit 1; }; }
36770 if test -z "${I386_VIDEO_TRUE}" && test -z "${I386_VIDEO_FALSE}"; then
36771 { { echo "$as_me:$LINENO: error: conditional \"I386_VIDEO\" was never defined.
36772 Usually this means the macro was only invoked conditionally." >&5
36773 echo "$as_me: error: conditional \"I386_VIDEO\" was never defined.
36774 Usually this means the macro was only invoked conditionally." >&2;}
36775 { (exit 1); exit 1; }; }
36777 if test -z "${PPC_VIDEO_TRUE}" && test -z "${PPC_VIDEO_FALSE}"; then
36778 { { echo "$as_me:$LINENO: error: conditional \"PPC_VIDEO\" was never defined.
36779 Usually this means the macro was only invoked conditionally." >&5
36780 echo "$as_me: error: conditional \"PPC_VIDEO\" was never defined.
36781 Usually this means the macro was only invoked conditionally." >&2;}
36782 { (exit 1); exit 1; }; }
36784 if test -z "${SPARC64_VIDEO_TRUE}" && test -z "${SPARC64_VIDEO_FALSE}"; then
36785 { { echo "$as_me:$LINENO: error: conditional \"SPARC64_VIDEO\" was never defined.
36786 Usually this means the macro was only invoked conditionally." >&5
36787 echo "$as_me: error: conditional \"SPARC64_VIDEO\" was never defined.
36788 Usually this means the macro was only invoked conditionally." >&2;}
36789 { (exit 1); exit 1; }; }
36791 if test -z "${KDRIVE_HW_TRUE}" && test -z "${KDRIVE_HW_FALSE}"; then
36792 { { echo "$as_me:$LINENO: error: conditional \"KDRIVE_HW\" was never defined.
36793 Usually this means the macro was only invoked conditionally." >&5
36794 echo "$as_me: error: conditional \"KDRIVE_HW\" was never defined.
36795 Usually this means the macro was only invoked conditionally." >&2;}
36796 { (exit 1); exit 1; }; }
36798 if test -z "${INSTALL_SETUID_TRUE}" && test -z "${INSTALL_SETUID_FALSE}"; then
36799 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SETUID\" was never defined.
36800 Usually this means the macro was only invoked conditionally." >&5
36801 echo "$as_me: error: conditional \"INSTALL_SETUID\" was never defined.
36802 Usually this means the macro was only invoked conditionally." >&2;}
36803 { (exit 1); exit 1; }; }
36805 if test -z "${INT10_VM86_TRUE}" && test -z "${INT10_VM86_FALSE}"; then
36806 { { echo "$as_me:$LINENO: error: conditional \"INT10_VM86\" was never defined.
36807 Usually this means the macro was only invoked conditionally." >&5
36808 echo "$as_me: error: conditional \"INT10_VM86\" was never defined.
36809 Usually this means the macro was only invoked conditionally." >&2;}
36810 { (exit 1); exit 1; }; }
36812 if test -z "${INT10_X86EMU_TRUE}" && test -z "${INT10_X86EMU_FALSE}"; then
36813 { { echo "$as_me:$LINENO: error: conditional \"INT10_X86EMU\" was never defined.
36814 Usually this means the macro was only invoked conditionally." >&5
36815 echo "$as_me: error: conditional \"INT10_X86EMU\" was never defined.
36816 Usually this means the macro was only invoked conditionally." >&2;}
36817 { (exit 1); exit 1; }; }
36819 if test -z "${INT10_STUB_TRUE}" && test -z "${INT10_STUB_FALSE}"; then
36820 { { echo "$as_me:$LINENO: error: conditional \"INT10_STUB\" was never defined.
36821 Usually this means the macro was only invoked conditionally." >&5
36822 echo "$as_me: error: conditional \"INT10_STUB\" was never defined.
36823 Usually this means the macro was only invoked conditionally." >&2;}
36824 { (exit 1); exit 1; }; }
36826 if test -z "${BUILDDOCS_TRUE}" && test -z "${BUILDDOCS_FALSE}"; then
36827 { { echo "$as_me:$LINENO: error: conditional \"BUILDDOCS\" was never defined.
36828 Usually this means the macro was only invoked conditionally." >&5
36829 echo "$as_me: error: conditional \"BUILDDOCS\" was never defined.
36830 Usually this means the macro was only invoked conditionally." >&2;}
36831 { (exit 1); exit 1; }; }
36833 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
36834 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
36835 Usually this means the macro was only invoked conditionally." >&5
36836 echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
36837 Usually this means the macro was only invoked conditionally." >&2;}
36838 { (exit 1); exit 1; }; }
36840 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
36841 { { echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
36842 Usually this means the macro was only invoked conditionally." >&5
36843 echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
36844 Usually this means the macro was only invoked conditionally." >&2;}
36845 { (exit 1); exit 1; }; }
36847 if test -z "${INSTALL_LIBXF86CONFIG_TRUE}" && test -z "${INSTALL_LIBXF86CONFIG_FALSE}"; then
36848 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBXF86CONFIG\" was never defined.
36849 Usually this means the macro was only invoked conditionally." >&5
36850 echo "$as_me: error: conditional \"INSTALL_LIBXF86CONFIG\" was never defined.
36851 Usually this means the macro was only invoked conditionally." >&2;}
36852 { (exit 1); exit 1; }; }
36854 if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
36855 { { echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
36856 Usually this means the macro was only invoked conditionally." >&5
36857 echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
36858 Usually this means the macro was only invoked conditionally." >&2;}
36859 { (exit 1); exit 1; }; }
36861 if test -z "${CONFIG_DBUS_API_TRUE}" && test -z "${CONFIG_DBUS_API_FALSE}"; then
36862 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_DBUS_API\" was never defined.
36863 Usually this means the macro was only invoked conditionally." >&5
36864 echo "$as_me: error: conditional \"CONFIG_DBUS_API\" was never defined.
36865 Usually this means the macro was only invoked conditionally." >&2;}
36866 { (exit 1); exit 1; }; }
36868 if test -z "${CONFIG_HAL_TRUE}" && test -z "${CONFIG_HAL_FALSE}"; then
36869 { { echo "$as_me:$LINENO: error: conditional \"CONFIG_HAL\" was never defined.
36870 Usually this means the macro was only invoked conditionally." >&5
36871 echo "$as_me: error: conditional \"CONFIG_HAL\" was never defined.
36872 Usually this means the macro was only invoked conditionally." >&2;}
36873 { (exit 1); exit 1; }; }
36875 if test -z "${XV_TRUE}" && test -z "${XV_FALSE}"; then
36876 { { echo "$as_me:$LINENO: error: conditional \"XV\" was never defined.
36877 Usually this means the macro was only invoked conditionally." >&5
36878 echo "$as_me: error: conditional \"XV\" was never defined.
36879 Usually this means the macro was only invoked conditionally." >&2;}
36880 { (exit 1); exit 1; }; }
36882 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
36883 { { echo "$as_me:$LINENO: error: conditional \"XVMC\" was never defined.
36884 Usually this means the macro was only invoked conditionally." >&5
36885 echo "$as_me: error: conditional \"XVMC\" was never defined.
36886 Usually this means the macro was only invoked conditionally." >&2;}
36887 { (exit 1); exit 1; }; }
36889 if test -z "${COMPOSITE_TRUE}" && test -z "${COMPOSITE_FALSE}"; then
36890 { { echo "$as_me:$LINENO: error: conditional \"COMPOSITE\" was never defined.
36891 Usually this means the macro was only invoked conditionally." >&5
36892 echo "$as_me: error: conditional \"COMPOSITE\" was never defined.
36893 Usually this means the macro was only invoked conditionally." >&2;}
36894 { (exit 1); exit 1; }; }
36896 if test -z "${MITSHM_TRUE}" && test -z "${MITSHM_FALSE}"; then
36897 { { echo "$as_me:$LINENO: error: conditional \"MITSHM\" was never defined.
36898 Usually this means the macro was only invoked conditionally." >&5
36899 echo "$as_me: error: conditional \"MITSHM\" was never defined.
36900 Usually this means the macro was only invoked conditionally." >&2;}
36901 { (exit 1); exit 1; }; }
36903 if test -z "${XTRAP_TRUE}" && test -z "${XTRAP_FALSE}"; then
36904 { { echo "$as_me:$LINENO: error: conditional \"XTRAP\" was never defined.
36905 Usually this means the macro was only invoked conditionally." >&5
36906 echo "$as_me: error: conditional \"XTRAP\" was never defined.
36907 Usually this means the macro was only invoked conditionally." >&2;}
36908 { (exit 1); exit 1; }; }
36910 if test -z "${RECORD_TRUE}" && test -z "${RECORD_FALSE}"; then
36911 { { echo "$as_me:$LINENO: error: conditional \"RECORD\" was never defined.
36912 Usually this means the macro was only invoked conditionally." >&5
36913 echo "$as_me: error: conditional \"RECORD\" was never defined.
36914 Usually this means the macro was only invoked conditionally." >&2;}
36915 { (exit 1); exit 1; }; }
36917 if test -z "${SCREENSAVER_TRUE}" && test -z "${SCREENSAVER_FALSE}"; then
36918 { { echo "$as_me:$LINENO: error: conditional \"SCREENSAVER\" was never defined.
36919 Usually this means the macro was only invoked conditionally." >&5
36920 echo "$as_me: error: conditional \"SCREENSAVER\" was never defined.
36921 Usually this means the macro was only invoked conditionally." >&2;}
36922 { (exit 1); exit 1; }; }
36924 if test -z "${RES_TRUE}" && test -z "${RES_FALSE}"; then
36925 { { echo "$as_me:$LINENO: error: conditional \"RES\" was never defined.
36926 Usually this means the macro was only invoked conditionally." >&5
36927 echo "$as_me: error: conditional \"RES\" was never defined.
36928 Usually this means the macro was only invoked conditionally." >&2;}
36929 { (exit 1); exit 1; }; }
36931 if test -z "${GLX_TRUE}" && test -z "${GLX_FALSE}"; then
36932 { { echo "$as_me:$LINENO: error: conditional \"GLX\" was never defined.
36933 Usually this means the macro was only invoked conditionally." >&5
36934 echo "$as_me: error: conditional \"GLX\" was never defined.
36935 Usually this means the macro was only invoked conditionally." >&2;}
36936 { (exit 1); exit 1; }; }
36938 if test -z "${AIGLX_TRUE}" && test -z "${AIGLX_FALSE}"; then
36939 { { echo "$as_me:$LINENO: error: conditional \"AIGLX\" was never defined.
36940 Usually this means the macro was only invoked conditionally." >&5
36941 echo "$as_me: error: conditional \"AIGLX\" was never defined.
36942 Usually this means the macro was only invoked conditionally." >&2;}
36943 { (exit 1); exit 1; }; }
36945 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
36946 { { echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined.
36947 Usually this means the macro was only invoked conditionally." >&5
36948 echo "$as_me: error: conditional \"DRI\" was never defined.
36949 Usually this means the macro was only invoked conditionally." >&2;}
36950 { (exit 1); exit 1; }; }
36952 if test -z "${XINERAMA_TRUE}" && test -z "${XINERAMA_FALSE}"; then
36953 { { echo "$as_me:$LINENO: error: conditional \"XINERAMA\" was never defined.
36954 Usually this means the macro was only invoked conditionally." >&5
36955 echo "$as_me: error: conditional \"XINERAMA\" was never defined.
36956 Usually this means the macro was only invoked conditionally." >&2;}
36957 { (exit 1); exit 1; }; }
36959 if test -z "${XACE_TRUE}" && test -z "${XACE_FALSE}"; then
36960 { { echo "$as_me:$LINENO: error: conditional \"XACE\" was never defined.
36961 Usually this means the macro was only invoked conditionally." >&5
36962 echo "$as_me: error: conditional \"XACE\" was never defined.
36963 Usually this means the macro was only invoked conditionally." >&2;}
36964 { (exit 1); exit 1; }; }
36966 if test -z "${XCSECURITY_TRUE}" && test -z "${XCSECURITY_FALSE}"; then
36967 { { echo "$as_me:$LINENO: error: conditional \"XCSECURITY\" was never defined.
36968 Usually this means the macro was only invoked conditionally." >&5
36969 echo "$as_me: error: conditional \"XCSECURITY\" was never defined.
36970 Usually this means the macro was only invoked conditionally." >&2;}
36971 { (exit 1); exit 1; }; }
36973 if test -z "${XEVIE_TRUE}" && test -z "${XEVIE_FALSE}"; then
36974 { { echo "$as_me:$LINENO: error: conditional \"XEVIE\" was never defined.
36975 Usually this means the macro was only invoked conditionally." >&5
36976 echo "$as_me: error: conditional \"XEVIE\" was never defined.
36977 Usually this means the macro was only invoked conditionally." >&2;}
36978 { (exit 1); exit 1; }; }
36980 if test -z "${APPGROUP_TRUE}" && test -z "${APPGROUP_FALSE}"; then
36981 { { echo "$as_me:$LINENO: error: conditional \"APPGROUP\" was never defined.
36982 Usually this means the macro was only invoked conditionally." >&5
36983 echo "$as_me: error: conditional \"APPGROUP\" was never defined.
36984 Usually this means the macro was only invoked conditionally." >&2;}
36985 { (exit 1); exit 1; }; }
36987 if test -z "${CUP_TRUE}" && test -z "${CUP_FALSE}"; then
36988 { { echo "$as_me:$LINENO: error: conditional \"CUP\" was never defined.
36989 Usually this means the macro was only invoked conditionally." >&5
36990 echo "$as_me: error: conditional \"CUP\" was never defined.
36991 Usually this means the macro was only invoked conditionally." >&2;}
36992 { (exit 1); exit 1; }; }
36994 if test -z "${EVI_TRUE}" && test -z "${EVI_FALSE}"; then
36995 { { echo "$as_me:$LINENO: error: conditional \"EVI\" was never defined.
36996 Usually this means the macro was only invoked conditionally." >&5
36997 echo "$as_me: error: conditional \"EVI\" was never defined.
36998 Usually this means the macro was only invoked conditionally." >&2;}
36999 { (exit 1); exit 1; }; }
37001 if test -z "${MULTIBUFFER_TRUE}" && test -z "${MULTIBUFFER_FALSE}"; then
37002 { { echo "$as_me:$LINENO: error: conditional \"MULTIBUFFER\" was never defined.
37003 Usually this means the macro was only invoked conditionally." >&5
37004 echo "$as_me: error: conditional \"MULTIBUFFER\" was never defined.
37005 Usually this means the macro was only invoked conditionally." >&2;}
37006 { (exit 1); exit 1; }; }
37008 if test -z "${FONTCACHE_TRUE}" && test -z "${FONTCACHE_FALSE}"; then
37009 { { echo "$as_me:$LINENO: error: conditional \"FONTCACHE\" was never defined.
37010 Usually this means the macro was only invoked conditionally." >&5
37011 echo "$as_me: error: conditional \"FONTCACHE\" was never defined.
37012 Usually this means the macro was only invoked conditionally." >&2;}
37013 { (exit 1); exit 1; }; }
37015 if test -z "${DBE_TRUE}" && test -z "${DBE_FALSE}"; then
37016 { { echo "$as_me:$LINENO: error: conditional \"DBE\" was never defined.
37017 Usually this means the macro was only invoked conditionally." >&5
37018 echo "$as_me: error: conditional \"DBE\" was never defined.
37019 Usually this means the macro was only invoked conditionally." >&2;}
37020 { (exit 1); exit 1; }; }
37022 if test -z "${XF86BIGFONT_TRUE}" && test -z "${XF86BIGFONT_FALSE}"; then
37023 { { echo "$as_me:$LINENO: error: conditional \"XF86BIGFONT\" was never defined.
37024 Usually this means the macro was only invoked conditionally." >&5
37025 echo "$as_me: error: conditional \"XF86BIGFONT\" was never defined.
37026 Usually this means the macro was only invoked conditionally." >&2;}
37027 { (exit 1); exit 1; }; }
37029 if test -z "${DPMSExtension_TRUE}" && test -z "${DPMSExtension_FALSE}"; then
37030 { { echo "$as_me:$LINENO: error: conditional \"DPMSExtension\" was never defined.
37031 Usually this means the macro was only invoked conditionally." >&5
37032 echo "$as_me: error: conditional \"DPMSExtension\" was never defined.
37033 Usually this means the macro was only invoked conditionally." >&2;}
37034 { (exit 1); exit 1; }; }
37036 if test -z "${XPRINT_TRUE}" && test -z "${XPRINT_FALSE}"; then
37037 { { echo "$as_me:$LINENO: error: conditional \"XPRINT\" was never defined.
37038 Usually this means the macro was only invoked conditionally." >&5
37039 echo "$as_me: error: conditional \"XPRINT\" was never defined.
37040 Usually this means the macro was only invoked conditionally." >&2;}
37041 { (exit 1); exit 1; }; }
37043 if test -z "${XCALIBRATE_TRUE}" && test -z "${XCALIBRATE_FALSE}"; then
37044 { { echo "$as_me:$LINENO: error: conditional \"XCALIBRATE\" was never defined.
37045 Usually this means the macro was only invoked conditionally." >&5
37046 echo "$as_me: error: conditional \"XCALIBRATE\" was never defined.
37047 Usually this means the macro was only invoked conditionally." >&2;}
37048 { (exit 1); exit 1; }; }
37050 if test -z "${XF86UTILS_TRUE}" && test -z "${XF86UTILS_FALSE}"; then
37051 { { echo "$as_me:$LINENO: error: conditional \"XF86UTILS\" was never defined.
37052 Usually this means the macro was only invoked conditionally." >&5
37053 echo "$as_me: error: conditional \"XF86UTILS\" was never defined.
37054 Usually this means the macro was only invoked conditionally." >&2;}
37055 { (exit 1); exit 1; }; }
37057 if test -z "${XDMCP_TRUE}" && test -z "${XDMCP_FALSE}"; then
37058 { { echo "$as_me:$LINENO: error: conditional \"XDMCP\" was never defined.
37059 Usually this means the macro was only invoked conditionally." >&5
37060 echo "$as_me: error: conditional \"XDMCP\" was never defined.
37061 Usually this means the macro was only invoked conditionally." >&2;}
37062 { (exit 1); exit 1; }; }
37064 if test -z "${XDMAUTH_TRUE}" && test -z "${XDMAUTH_FALSE}"; then
37065 { { echo "$as_me:$LINENO: error: conditional \"XDMAUTH\" was never defined.
37066 Usually this means the macro was only invoked conditionally." >&5
37067 echo "$as_me: error: conditional \"XDMAUTH\" was never defined.
37068 Usually this means the macro was only invoked conditionally." >&2;}
37069 { (exit 1); exit 1; }; }
37071 if test -z "${USE_RGB_BUILTIN_TRUE}" && test -z "${USE_RGB_BUILTIN_FALSE}"; then
37072 { { echo "$as_me:$LINENO: error: conditional \"USE_RGB_BUILTIN\" was never defined.
37073 Usually this means the macro was only invoked conditionally." >&5
37074 echo "$as_me: error: conditional \"USE_RGB_BUILTIN\" was never defined.
37075 Usually this means the macro was only invoked conditionally." >&2;}
37076 { (exit 1); exit 1; }; }
37078 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
37079 { { echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined.
37080 Usually this means the macro was only invoked conditionally." >&5
37081 echo "$as_me: error: conditional \"DEBUG\" was never defined.
37082 Usually this means the macro was only invoked conditionally." >&2;}
37083 { (exit 1); exit 1; }; }
37085 if test -z "${DMX_TRUE}" && test -z "${DMX_FALSE}"; then
37086 { { echo "$as_me:$LINENO: error: conditional \"DMX\" was never defined.
37087 Usually this means the macro was only invoked conditionally." >&5
37088 echo "$as_me: error: conditional \"DMX\" was never defined.
37089 Usually this means the macro was only invoked conditionally." >&2;}
37090 { (exit 1); exit 1; }; }
37092 if test -z "${DMX_BUILD_LNX_TRUE}" && test -z "${DMX_BUILD_LNX_FALSE}"; then
37093 { { echo "$as_me:$LINENO: error: conditional \"DMX_BUILD_LNX\" was never defined.
37094 Usually this means the macro was only invoked conditionally." >&5
37095 echo "$as_me: error: conditional \"DMX_BUILD_LNX\" was never defined.
37096 Usually this means the macro was only invoked conditionally." >&2;}
37097 { (exit 1); exit 1; }; }
37099 if test -z "${DMX_BUILD_USB_TRUE}" && test -z "${DMX_BUILD_USB_FALSE}"; then
37100 { { echo "$as_me:$LINENO: error: conditional \"DMX_BUILD_USB\" was never defined.
37101 Usually this means the macro was only invoked conditionally." >&5
37102 echo "$as_me: error: conditional \"DMX_BUILD_USB\" was never defined.
37103 Usually this means the macro was only invoked conditionally." >&2;}
37104 { (exit 1); exit 1; }; }
37106 if test -z "${XVFB_TRUE}" && test -z "${XVFB_FALSE}"; then
37107 { { echo "$as_me:$LINENO: error: conditional \"XVFB\" was never defined.
37108 Usually this means the macro was only invoked conditionally." >&5
37109 echo "$as_me: error: conditional \"XVFB\" was never defined.
37110 Usually this means the macro was only invoked conditionally." >&2;}
37111 { (exit 1); exit 1; }; }
37113 if test -z "${XNEST_TRUE}" && test -z "${XNEST_FALSE}"; then
37114 { { echo "$as_me:$LINENO: error: conditional \"XNEST\" was never defined.
37115 Usually this means the macro was only invoked conditionally." >&5
37116 echo "$as_me: error: conditional \"XNEST\" was never defined.
37117 Usually this means the macro was only invoked conditionally." >&2;}
37118 { (exit 1); exit 1; }; }
37120 if test -z "${XGL_TRUE}" && test -z "${XGL_FALSE}"; then
37121 { { echo "$as_me:$LINENO: error: conditional \"XGL\" was never defined.
37122 Usually this means the macro was only invoked conditionally." >&5
37123 echo "$as_me: error: conditional \"XGL\" was never defined.
37124 Usually this means the macro was only invoked conditionally." >&2;}
37125 { (exit 1); exit 1; }; }
37127 if test -z "${XEGL_TRUE}" && test -z "${XEGL_FALSE}"; then
37128 { { echo "$as_me:$LINENO: error: conditional \"XEGL\" was never defined.
37129 Usually this means the macro was only invoked conditionally." >&5
37130 echo "$as_me: error: conditional \"XEGL\" was never defined.
37131 Usually this means the macro was only invoked conditionally." >&2;}
37132 { (exit 1); exit 1; }; }
37134 if test -z "${XGLX_TRUE}" && test -z "${XGLX_FALSE}"; then
37135 { { echo "$as_me:$LINENO: error: conditional \"XGLX\" was never defined.
37136 Usually this means the macro was only invoked conditionally." >&5
37137 echo "$as_me: error: conditional \"XGLX\" was never defined.
37138 Usually this means the macro was only invoked conditionally." >&2;}
37139 { (exit 1); exit 1; }; }
37141 if test -z "${XORG_TRUE}" && test -z "${XORG_FALSE}"; then
37142 { { echo "$as_me:$LINENO: error: conditional \"XORG\" was never defined.
37143 Usually this means the macro was only invoked conditionally." >&5
37144 echo "$as_me: error: conditional \"XORG\" was never defined.
37145 Usually this means the macro was only invoked conditionally." >&2;}
37146 { (exit 1); exit 1; }; }
37148 if test -z "${XORG_BUS_LINUXPCI_TRUE}" && test -z "${XORG_BUS_LINUXPCI_FALSE}"; then
37149 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_LINUXPCI\" was never defined.
37150 Usually this means the macro was only invoked conditionally." >&5
37151 echo "$as_me: error: conditional \"XORG_BUS_LINUXPCI\" was never defined.
37152 Usually this means the macro was only invoked conditionally." >&2;}
37153 { (exit 1); exit 1; }; }
37155 if test -z "${XORG_BUS_FREEBSDPCI_TRUE}" && test -z "${XORG_BUS_FREEBSDPCI_FALSE}"; then
37156 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_FREEBSDPCI\" was never defined.
37157 Usually this means the macro was only invoked conditionally." >&5
37158 echo "$as_me: error: conditional \"XORG_BUS_FREEBSDPCI\" was never defined.
37159 Usually this means the macro was only invoked conditionally." >&2;}
37160 { (exit 1); exit 1; }; }
37162 if test -z "${XORG_BUS_NETBSDPCI_TRUE}" && test -z "${XORG_BUS_NETBSDPCI_FALSE}"; then
37163 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_NETBSDPCI\" was never defined.
37164 Usually this means the macro was only invoked conditionally." >&5
37165 echo "$as_me: error: conditional \"XORG_BUS_NETBSDPCI\" was never defined.
37166 Usually this means the macro was only invoked conditionally." >&2;}
37167 { (exit 1); exit 1; }; }
37169 if test -z "${XORG_BUS_IX86PCI_TRUE}" && test -z "${XORG_BUS_IX86PCI_FALSE}"; then
37170 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_IX86PCI\" was never defined.
37171 Usually this means the macro was only invoked conditionally." >&5
37172 echo "$as_me: error: conditional \"XORG_BUS_IX86PCI\" was never defined.
37173 Usually this means the macro was only invoked conditionally." >&2;}
37174 { (exit 1); exit 1; }; }
37176 if test -z "${XORG_BUS_PPCPCI_TRUE}" && test -z "${XORG_BUS_PPCPCI_FALSE}"; then
37177 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_PPCPCI\" was never defined.
37178 Usually this means the macro was only invoked conditionally." >&5
37179 echo "$as_me: error: conditional \"XORG_BUS_PPCPCI\" was never defined.
37180 Usually this means the macro was only invoked conditionally." >&2;}
37181 { (exit 1); exit 1; }; }
37183 if test -z "${XORG_BUS_SPARCPCI_TRUE}" && test -z "${XORG_BUS_SPARCPCI_FALSE}"; then
37184 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_SPARCPCI\" was never defined.
37185 Usually this means the macro was only invoked conditionally." >&5
37186 echo "$as_me: error: conditional \"XORG_BUS_SPARCPCI\" was never defined.
37187 Usually this means the macro was only invoked conditionally." >&2;}
37188 { (exit 1); exit 1; }; }
37190 if test -z "${XORG_BUS_SPARC_TRUE}" && test -z "${XORG_BUS_SPARC_FALSE}"; then
37191 { { echo "$as_me:$LINENO: error: conditional \"XORG_BUS_SPARC\" was never defined.
37192 Usually this means the macro was only invoked conditionally." >&5
37193 echo "$as_me: error: conditional \"XORG_BUS_SPARC\" was never defined.
37194 Usually this means the macro was only invoked conditionally." >&2;}
37195 { (exit 1); exit 1; }; }
37197 if test -z "${XORG_LOADER_SPARC_TRUE}" && test -z "${XORG_LOADER_SPARC_FALSE}"; then
37198 { { echo "$as_me:$LINENO: error: conditional \"XORG_LOADER_SPARC\" was never defined.
37199 Usually this means the macro was only invoked conditionally." >&5
37200 echo "$as_me: error: conditional \"XORG_LOADER_SPARC\" was never defined.
37201 Usually this means the macro was only invoked conditionally." >&2;}
37202 { (exit 1); exit 1; }; }
37204 if test -z "${LINUX_IA64_TRUE}" && test -z "${LINUX_IA64_FALSE}"; then
37205 { { echo "$as_me:$LINENO: error: conditional \"LINUX_IA64\" was never defined.
37206 Usually this means the macro was only invoked conditionally." >&5
37207 echo "$as_me: error: conditional \"LINUX_IA64\" was never defined.
37208 Usually this means the macro was only invoked conditionally." >&2;}
37209 { (exit 1); exit 1; }; }
37211 if test -z "${LINUX_ALPHA_TRUE}" && test -z "${LINUX_ALPHA_FALSE}"; then
37212 { { echo "$as_me:$LINENO: error: conditional \"LINUX_ALPHA\" was never defined.
37213 Usually this means the macro was only invoked conditionally." >&5
37214 echo "$as_me: error: conditional \"LINUX_ALPHA\" was never defined.
37215 Usually this means the macro was only invoked conditionally." >&2;}
37216 { (exit 1); exit 1; }; }
37218 if test -z "${LNXACPI_TRUE}" && test -z "${LNXACPI_FALSE}"; then
37219 { { echo "$as_me:$LINENO: error: conditional \"LNXACPI\" was never defined.
37220 Usually this means the macro was only invoked conditionally." >&5
37221 echo "$as_me: error: conditional \"LNXACPI\" was never defined.
37222 Usually this means the macro was only invoked conditionally." >&2;}
37223 { (exit 1); exit 1; }; }
37225 if test -z "${SOLARIS_USL_CONSOLE_TRUE}" && test -z "${SOLARIS_USL_CONSOLE_FALSE}"; then
37226 { { echo "$as_me:$LINENO: error: conditional \"SOLARIS_USL_CONSOLE\" was never defined.
37227 Usually this means the macro was only invoked conditionally." >&5
37228 echo "$as_me: error: conditional \"SOLARIS_USL_CONSOLE\" was never defined.
37229 Usually this means the macro was only invoked conditionally." >&2;}
37230 { (exit 1); exit 1; }; }
37232 if test -z "${SOLARIS_ASM_INLINE_TRUE}" && test -z "${SOLARIS_ASM_INLINE_FALSE}"; then
37233 { { echo "$as_me:$LINENO: error: conditional \"SOLARIS_ASM_INLINE\" was never defined.
37234 Usually this means the macro was only invoked conditionally." >&5
37235 echo "$as_me: error: conditional \"SOLARIS_ASM_INLINE\" was never defined.
37236 Usually this means the macro was only invoked conditionally." >&2;}
37237 { (exit 1); exit 1; }; }
37239 if test -z "${BUILD_DARWIN_TRUE}" && test -z "${BUILD_DARWIN_FALSE}"; then
37240 { { echo "$as_me:$LINENO: error: conditional \"BUILD_DARWIN\" was never defined.
37241 Usually this means the macro was only invoked conditionally." >&5
37242 echo "$as_me: error: conditional \"BUILD_DARWIN\" was never defined.
37243 Usually this means the macro was only invoked conditionally." >&2;}
37244 { (exit 1); exit 1; }; }
37246 if test -z "${XQUARTZ_TRUE}" && test -z "${XQUARTZ_FALSE}"; then
37247 { { echo "$as_me:$LINENO: error: conditional \"XQUARTZ\" was never defined.
37248 Usually this means the macro was only invoked conditionally." >&5
37249 echo "$as_me: error: conditional \"XQUARTZ\" was never defined.
37250 Usually this means the macro was only invoked conditionally." >&2;}
37251 { (exit 1); exit 1; }; }
37253 if test -z "${DGA_TRUE}" && test -z "${DGA_FALSE}"; then
37254 { { echo "$as_me:$LINENO: error: conditional \"DGA\" was never defined.
37255 Usually this means the macro was only invoked conditionally." >&5
37256 echo "$as_me: error: conditional \"DGA\" was never defined.
37257 Usually this means the macro was only invoked conditionally." >&2;}
37258 { (exit 1); exit 1; }; }
37260 if test -z "${MFB_TRUE}" && test -z "${MFB_FALSE}"; then
37261 { { echo "$as_me:$LINENO: error: conditional \"MFB\" was never defined.
37262 Usually this means the macro was only invoked conditionally." >&5
37263 echo "$as_me: error: conditional \"MFB\" was never defined.
37264 Usually this means the macro was only invoked conditionally." >&2;}
37265 { (exit 1); exit 1; }; }
37267 if test -z "${CFB_TRUE}" && test -z "${CFB_FALSE}"; then
37268 { { echo "$as_me:$LINENO: error: conditional \"CFB\" was never defined.
37269 Usually this means the macro was only invoked conditionally." >&5
37270 echo "$as_me: error: conditional \"CFB\" was never defined.
37271 Usually this means the macro was only invoked conditionally." >&2;}
37272 { (exit 1); exit 1; }; }
37274 if test -z "${AFB_TRUE}" && test -z "${AFB_FALSE}"; then
37275 { { echo "$as_me:$LINENO: error: conditional \"AFB\" was never defined.
37276 Usually this means the macro was only invoked conditionally." >&5
37277 echo "$as_me: error: conditional \"AFB\" was never defined.
37278 Usually this means the macro was only invoked conditionally." >&2;}
37279 { (exit 1); exit 1; }; }
37281 if test -z "${XP_USE_FREETYPE_TRUE}" && test -z "${XP_USE_FREETYPE_FALSE}"; then
37282 { { echo "$as_me:$LINENO: error: conditional \"XP_USE_FREETYPE\" was never defined.
37283 Usually this means the macro was only invoked conditionally." >&5
37284 echo "$as_me: error: conditional \"XP_USE_FREETYPE\" was never defined.
37285 Usually this means the macro was only invoked conditionally." >&2;}
37286 { (exit 1); exit 1; }; }
37288 if test -z "${XWIN_TRUE}" && test -z "${XWIN_FALSE}"; then
37289 { { echo "$as_me:$LINENO: error: conditional \"XWIN\" was never defined.
37290 Usually this means the macro was only invoked conditionally." >&5
37291 echo "$as_me: error: conditional \"XWIN\" was never defined.
37292 Usually this means the macro was only invoked conditionally." >&2;}
37293 { (exit 1); exit 1; }; }
37295 if test -z "${XWIN_MULTIWINDOW_TRUE}" && test -z "${XWIN_MULTIWINDOW_FALSE}"; then
37296 { { echo "$as_me:$LINENO: error: conditional \"XWIN_MULTIWINDOW\" was never defined.
37297 Usually this means the macro was only invoked conditionally." >&5
37298 echo "$as_me: error: conditional \"XWIN_MULTIWINDOW\" was never defined.
37299 Usually this means the macro was only invoked conditionally." >&2;}
37300 { (exit 1); exit 1; }; }
37302 if test -z "${XWIN_MULTIWINDOWEXTWM_TRUE}" && test -z "${XWIN_MULTIWINDOWEXTWM_FALSE}"; then
37303 { { echo "$as_me:$LINENO: error: conditional \"XWIN_MULTIWINDOWEXTWM\" was never defined.
37304 Usually this means the macro was only invoked conditionally." >&5
37305 echo "$as_me: error: conditional \"XWIN_MULTIWINDOWEXTWM\" was never defined.
37306 Usually this means the macro was only invoked conditionally." >&2;}
37307 { (exit 1); exit 1; }; }
37309 if test -z "${XWIN_CLIPBOARD_TRUE}" && test -z "${XWIN_CLIPBOARD_FALSE}"; then
37310 { { echo "$as_me:$LINENO: error: conditional \"XWIN_CLIPBOARD\" was never defined.
37311 Usually this means the macro was only invoked conditionally." >&5
37312 echo "$as_me: error: conditional \"XWIN_CLIPBOARD\" was never defined.
37313 Usually this means the macro was only invoked conditionally." >&2;}
37314 { (exit 1); exit 1; }; }
37316 if test -z "${XWIN_GLX_WINDOWS_TRUE}" && test -z "${XWIN_GLX_WINDOWS_FALSE}"; then
37317 { { echo "$as_me:$LINENO: error: conditional \"XWIN_GLX_WINDOWS\" was never defined.
37318 Usually this means the macro was only invoked conditionally." >&5
37319 echo "$as_me: error: conditional \"XWIN_GLX_WINDOWS\" was never defined.
37320 Usually this means the macro was only invoked conditionally." >&2;}
37321 { (exit 1); exit 1; }; }
37323 if test -z "${XWIN_NATIVEGDI_TRUE}" && test -z "${XWIN_NATIVEGDI_FALSE}"; then
37324 { { echo "$as_me:$LINENO: error: conditional \"XWIN_NATIVEGDI\" was never defined.
37325 Usually this means the macro was only invoked conditionally." >&5
37326 echo "$as_me: error: conditional \"XWIN_NATIVEGDI\" was never defined.
37327 Usually this means the macro was only invoked conditionally." >&2;}
37328 { (exit 1); exit 1; }; }
37330 if test -z "${XWIN_PRIMARYFB_TRUE}" && test -z "${XWIN_PRIMARYFB_FALSE}"; then
37331 { { echo "$as_me:$LINENO: error: conditional \"XWIN_PRIMARYFB\" was never defined.
37332 Usually this means the macro was only invoked conditionally." >&5
37333 echo "$as_me: error: conditional \"XWIN_PRIMARYFB\" was never defined.
37334 Usually this means the macro was only invoked conditionally." >&2;}
37335 { (exit 1); exit 1; }; }
37337 if test -z "${XWIN_RANDR_TRUE}" && test -z "${XWIN_RANDR_FALSE}"; then
37338 { { echo "$as_me:$LINENO: error: conditional \"XWIN_RANDR\" was never defined.
37339 Usually this means the macro was only invoked conditionally." >&5
37340 echo "$as_me: error: conditional \"XWIN_RANDR\" was never defined.
37341 Usually this means the macro was only invoked conditionally." >&2;}
37342 { (exit 1); exit 1; }; }
37344 if test -z "${XWIN_XV_TRUE}" && test -z "${XWIN_XV_FALSE}"; then
37345 { { echo "$as_me:$LINENO: error: conditional \"XWIN_XV\" was never defined.
37346 Usually this means the macro was only invoked conditionally." >&5
37347 echo "$as_me: error: conditional \"XWIN_XV\" was never defined.
37348 Usually this means the macro was only invoked conditionally." >&2;}
37349 { (exit 1); exit 1; }; }
37351 if test -z "${HAVE_X_PLUGIN_TRUE}" && test -z "${HAVE_X_PLUGIN_FALSE}"; then
37352 { { echo "$as_me:$LINENO: error: conditional \"HAVE_X_PLUGIN\" was never defined.
37353 Usually this means the macro was only invoked conditionally." >&5
37354 echo "$as_me: error: conditional \"HAVE_X_PLUGIN\" was never defined.
37355 Usually this means the macro was only invoked conditionally." >&2;}
37356 { (exit 1); exit 1; }; }
37358 if test -z "${HAVE_AGL_FRAMEWORK_TRUE}" && test -z "${HAVE_AGL_FRAMEWORK_FALSE}"; then
37359 { { echo "$as_me:$LINENO: error: conditional \"HAVE_AGL_FRAMEWORK\" was never defined.
37360 Usually this means the macro was only invoked conditionally." >&5
37361 echo "$as_me: error: conditional \"HAVE_AGL_FRAMEWORK\" was never defined.
37362 Usually this means the macro was only invoked conditionally." >&2;}
37363 { (exit 1); exit 1; }; }
37365 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
37366 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
37367 Usually this means the macro was only invoked conditionally." >&5
37368 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
37369 Usually this means the macro was only invoked conditionally." >&2;}
37370 { (exit 1); exit 1; }; }
37372 if test -z "${KDRIVE_TRUE}" && test -z "${KDRIVE_FALSE}"; then
37373 { { echo "$as_me:$LINENO: error: conditional \"KDRIVE\" was never defined.
37374 Usually this means the macro was only invoked conditionally." >&5
37375 echo "$as_me: error: conditional \"KDRIVE\" was never defined.
37376 Usually this means the macro was only invoked conditionally." >&2;}
37377 { (exit 1); exit 1; }; }
37379 if test -z "${KDRIVELINUX_TRUE}" && test -z "${KDRIVELINUX_FALSE}"; then
37380 { { echo "$as_me:$LINENO: error: conditional \"KDRIVELINUX\" was never defined.
37381 Usually this means the macro was only invoked conditionally." >&5
37382 echo "$as_me: error: conditional \"KDRIVELINUX\" was never defined.
37383 Usually this means the macro was only invoked conditionally." >&2;}
37384 { (exit 1); exit 1; }; }
37386 if test -z "${TSLIB_TRUE}" && test -z "${TSLIB_FALSE}"; then
37387 { { echo "$as_me:$LINENO: error: conditional \"TSLIB\" was never defined.
37388 Usually this means the macro was only invoked conditionally." >&5
37389 echo "$as_me: error: conditional \"TSLIB\" was never defined.
37390 Usually this means the macro was only invoked conditionally." >&2;}
37391 { (exit 1); exit 1; }; }
37393 if test -z "${H3600_TS_TRUE}" && test -z "${H3600_TS_FALSE}"; then
37394 { { echo "$as_me:$LINENO: error: conditional \"H3600_TS\" was never defined.
37395 Usually this means the macro was only invoked conditionally." >&5
37396 echo "$as_me: error: conditional \"H3600_TS\" was never defined.
37397 Usually this means the macro was only invoked conditionally." >&2;}
37398 { (exit 1); exit 1; }; }
37400 if test -z "${KDRIVEVESA_TRUE}" && test -z "${KDRIVEVESA_FALSE}"; then
37401 { { echo "$as_me:$LINENO: error: conditional \"KDRIVEVESA\" was never defined.
37402 Usually this means the macro was only invoked conditionally." >&5
37403 echo "$as_me: error: conditional \"KDRIVEVESA\" was never defined.
37404 Usually this means the macro was only invoked conditionally." >&2;}
37405 { (exit 1); exit 1; }; }
37407 if test -z "${KDRIVEFBDEV_TRUE}" && test -z "${KDRIVEFBDEV_FALSE}"; then
37408 { { echo "$as_me:$LINENO: error: conditional \"KDRIVEFBDEV\" was never defined.
37409 Usually this means the macro was only invoked conditionally." >&5
37410 echo "$as_me: error: conditional \"KDRIVEFBDEV\" was never defined.
37411 Usually this means the macro was only invoked conditionally." >&2;}
37412 { (exit 1); exit 1; }; }
37414 if test -z "${XSDLSERVER_TRUE}" && test -z "${XSDLSERVER_FALSE}"; then
37415 { { echo "$as_me:$LINENO: error: conditional \"XSDLSERVER\" was never defined.
37416 Usually this means the macro was only invoked conditionally." >&5
37417 echo "$as_me: error: conditional \"XSDLSERVER\" was never defined.
37418 Usually this means the macro was only invoked conditionally." >&2;}
37419 { (exit 1); exit 1; }; }
37421 if test -z "${XEPHYR_TRUE}" && test -z "${XEPHYR_FALSE}"; then
37422 { { echo "$as_me:$LINENO: error: conditional \"XEPHYR\" was never defined.
37423 Usually this means the macro was only invoked conditionally." >&5
37424 echo "$as_me: error: conditional \"XEPHYR\" was never defined.
37425 Usually this means the macro was only invoked conditionally." >&2;}
37426 { (exit 1); exit 1; }; }
37428 if test -z "${BUILD_KDRIVEFBDEVLIB_TRUE}" && test -z "${BUILD_KDRIVEFBDEVLIB_FALSE}"; then
37429 { { echo "$as_me:$LINENO: error: conditional \"BUILD_KDRIVEFBDEVLIB\" was never defined.
37430 Usually this means the macro was only invoked conditionally." >&5
37431 echo "$as_me: error: conditional \"BUILD_KDRIVEFBDEVLIB\" was never defined.
37432 Usually this means the macro was only invoked conditionally." >&2;}
37433 { (exit 1); exit 1; }; }
37435 if test -z "${XFAKESERVER_TRUE}" && test -z "${XFAKESERVER_FALSE}"; then
37436 { { echo "$as_me:$LINENO: error: conditional \"XFAKESERVER\" was never defined.
37437 Usually this means the macro was only invoked conditionally." >&5
37438 echo "$as_me: error: conditional \"XFAKESERVER\" was never defined.
37439 Usually this means the macro was only invoked conditionally." >&2;}
37440 { (exit 1); exit 1; }; }
37442 if test -z "${BUILD_XORGCFG_TRUE}" && test -z "${BUILD_XORGCFG_FALSE}"; then
37443 { { echo "$as_me:$LINENO: error: conditional \"BUILD_XORGCFG\" was never defined.
37444 Usually this means the macro was only invoked conditionally." >&5
37445 echo "$as_me: error: conditional \"BUILD_XORGCFG\" was never defined.
37446 Usually this means the macro was only invoked conditionally." >&2;}
37447 { (exit 1); exit 1; }; }
37449 if test -z "${USE_CURSES_TRUE}" && test -z "${USE_CURSES_FALSE}"; then
37450 { { echo "$as_me:$LINENO: error: conditional \"USE_CURSES\" was never defined.
37451 Usually this means the macro was only invoked conditionally." >&5
37452 echo "$as_me: error: conditional \"USE_CURSES\" was never defined.
37453 Usually this means the macro was only invoked conditionally." >&2;}
37454 { (exit 1); exit 1; }; }
37456 if test -z "${BUILD_KBD_MODE_TRUE}" && test -z "${BUILD_KBD_MODE_FALSE}"; then
37457 { { echo "$as_me:$LINENO: error: conditional \"BUILD_KBD_MODE\" was never defined.
37458 Usually this means the macro was only invoked conditionally." >&5
37459 echo "$as_me: error: conditional \"BUILD_KBD_MODE\" was never defined.
37460 Usually this means the macro was only invoked conditionally." >&2;}
37461 { (exit 1); exit 1; }; }
37463 if test -z "${BSD_KBD_MODE_TRUE}" && test -z "${BSD_KBD_MODE_FALSE}"; then
37464 { { echo "$as_me:$LINENO: error: conditional \"BSD_KBD_MODE\" was never defined.
37465 Usually this means the macro was only invoked conditionally." >&5
37466 echo "$as_me: error: conditional \"BSD_KBD_MODE\" was never defined.
37467 Usually this means the macro was only invoked conditionally." >&2;}
37468 { (exit 1); exit 1; }; }
37470 if test -z "${SUN_KBD_MODE_TRUE}" && test -z "${SUN_KBD_MODE_FALSE}"; then
37471 { { echo "$as_me:$LINENO: error: conditional \"SUN_KBD_MODE\" was never defined.
37472 Usually this means the macro was only invoked conditionally." >&5
37473 echo "$as_me: error: conditional \"SUN_KBD_MODE\" was never defined.
37474 Usually this means the macro was only invoked conditionally." >&2;}
37475 { (exit 1); exit 1; }; }
37478 : ${CONFIG_STATUS=./config.status}
37479 ac_clean_files_save
=$ac_clean_files
37480 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
37481 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37482 echo "$as_me: creating $CONFIG_STATUS" >&6;}
37483 cat >$CONFIG_STATUS <<_ACEOF
37485 # Generated by $as_me.
37486 # Run this file to recreate the current configuration.
37487 # Compiler output produced by configure, useful for debugging
37488 # configure, is in config.log if it exists.
37491 ac_cs_recheck=false
37493 SHELL=\${CONFIG_SHELL-$SHELL}
37496 cat >>$CONFIG_STATUS <<\_ACEOF
37497 ## --------------------- ##
37498 ## M4sh Initialization. ##
37499 ## --------------------- ##
37501 # Be more Bourne compatible
37502 DUALCASE
=1; export DUALCASE
# for MKS sh
37503 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
37506 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37507 # is contrary to our usage. Disable this feature.
37508 alias -g '${1+"$@"}'='"$@"'
37509 setopt NO_GLOB_SUBST
37511 case `(set -o) 2>/dev/null` in
37512 *posix
*) set -o posix
;;
37521 # Avoid depending upon Character Ranges.
37522 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37523 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37524 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37525 as_cr_digits
='0123456789'
37526 as_cr_alnum
=$as_cr_Letters$as_cr_digits
37528 # The user is always right.
37529 if test "${PATH_SEPARATOR+set}" != set; then
37530 echo "#! /bin/sh" >conf$$.sh
37531 echo "exit 0" >>conf$$.sh
37533 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
37541 # Support unset when possible.
37542 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
37550 # We need space, tab and new line, in precisely that order. Quoting is
37551 # there to prevent editors from complaining about space-tab.
37552 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
37553 # splitting by setting IFS to empty value.)
37558 # Find who we are. Look in the path if we contain no directory separator.
37560 *[\\/]* ) as_myself
=$0 ;;
37561 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37562 for as_dir
in $PATH
37565 test -z "$as_dir" && as_dir
=.
37566 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
37572 # We did not find ourselves, most probably we were run as `sh COMMAND'
37573 # in which case we are not to be found in the path.
37574 if test "x$as_myself" = x
; then
37577 if test ! -f "$as_myself"; then
37578 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
37579 { (exit 1); exit 1; }
37582 # Work around bugs in pre-3.0 UWIN ksh.
37583 for as_var
in ENV MAIL MAILPATH
37584 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
37592 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
37593 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
37594 LC_TELEPHONE LC_TIME
37596 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
37597 eval $as_var=C
; export $as_var
37599 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
37603 # Required to use basename.
37604 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
37605 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
37611 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
37612 as_basename
=basename
37618 # Name of the executable.
37619 as_me
=`$as_basename -- "$0" ||
37620 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37621 X"$0" : 'X\(//\)$' \| \
37622 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37624 sed '/^.*\/\([^/][^/]*\)\/*$/{
37643 as_lineno_1
=$LINENO
37644 as_lineno_2
=$LINENO
37645 test "x$as_lineno_1" != "x$as_lineno_2" &&
37646 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
37648 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37649 # uniformly replaced by the line number. The first 'sed' inserts a
37650 # line-number line after each line using $LINENO; the second 'sed'
37651 # does the real work. The second script uses 'N' to pair each
37652 # line-number line with the line containing $LINENO, and appends
37653 # trailing '-' during substitution so that $LINENO is not a special
37654 # case at line end.
37655 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37656 # scripts with optimization help from Paolo Bonzini. Blame Lee
37657 # E. McMahon (1931-1989) for sed's syntax. :-)
37669 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
37672 ' >$as_me.lineno
&&
37673 chmod +x
"$as_me.lineno" ||
37674 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
37675 { (exit 1); exit 1; }; }
37677 # Don't try to exec as it changes $[0], causing all sort of problems
37678 # (the dirname of $[0] is not the place where we might find the
37679 # original and so on. Autoconf is especially sensitive to this).
37680 .
"./$as_me.lineno"
37681 # Exit status is that of the last command.
37686 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
37692 ECHO_C
= ECHO_N
= ECHO_T
=
37693 case `echo -n x` in
37695 case `echo 'x\c'` in
37696 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
37703 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
37704 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
37710 rm -f conf$$ conf$$.exe conf$$.
file
37711 if test -d conf$$.dir
; then
37712 rm -f conf$$.dir
/conf$$.
file
37718 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
37720 # ... but there are two gotchas:
37721 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37722 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
37723 # In both cases, we have to default to `cp -p'.
37724 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
37726 elif ln conf$$.
file conf$$
2>/dev
/null
; then
37731 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
37732 rmdir conf$$.dir
2>/dev
/null
37734 if mkdir
-p .
2>/dev
/null
; then
37737 test -d .
/-p && rmdir .
/-p
37741 if test -x / >/dev
/null
2>&1; then
37742 as_test_x
='test -x'
37744 if ls -dL / >/dev
/null
2>&1; then
37751 if test -d "$1"; then
37757 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
37758 ???[sx]*):;;*)false;;esac;fi
37762 as_executable_p
=$as_test_x
37764 # Sed expression to map a string onto a valid CPP name.
37765 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
37767 # Sed expression to map a string onto a valid variable name.
37768 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
37773 # Save the log message, to keep $[0] and so on meaningful, and to
37774 # report actual input values of CONFIG_FILES etc. instead of their
37775 # values after options handling.
37777 This file was extended by xorg-server $as_me 1.4, which was
37778 generated by GNU Autoconf 2.61. Invocation command line was
37780 CONFIG_FILES = $CONFIG_FILES
37781 CONFIG_HEADERS = $CONFIG_HEADERS
37782 CONFIG_LINKS = $CONFIG_LINKS
37783 CONFIG_COMMANDS = $CONFIG_COMMANDS
37786 on `(hostname || uname -n) 2>/dev/null | sed 1q`
37791 cat >>$CONFIG_STATUS <<_ACEOF
37792 # Files that config.status was made for.
37793 config_files="$ac_config_files"
37794 config_headers="$ac_config_headers"
37795 config_commands="$ac_config_commands"
37799 cat >>$CONFIG_STATUS <<\_ACEOF
37801 \`$as_me' instantiates files from templates according to the
37802 current configuration.
37804 Usage: $0 [OPTIONS] [FILE]...
37806 -h, --help print this help, then exit
37807 -V, --version print version number and configuration settings, then exit
37808 -q, --quiet do not print progress messages
37809 -d, --debug don't remove temporary files
37810 --recheck update $as_me by reconfiguring in the same conditions
37811 --file=FILE[:TEMPLATE]
37812 instantiate the configuration file FILE
37813 --header=FILE[:TEMPLATE]
37814 instantiate the configuration header FILE
37816 Configuration files:
37819 Configuration headers:
37822 Configuration commands:
37825 Report bugs to <bug-autoconf@gnu.org>."
37828 cat >>$CONFIG_STATUS <<_ACEOF
37830 xorg-server config.status 1.4
37831 configured by $0, generated by GNU Autoconf 2.61,
37832 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
37834 Copyright (C) 2006 Free Software Foundation, Inc.
37835 This config.status script is free software; the Free Software Foundation
37836 gives unlimited permission to copy, distribute and modify it."
37844 cat >>$CONFIG_STATUS <<\_ACEOF
37845 # If no file are specified by the user, then we need to provide default
37846 # value. By we need to know if files were specified by the user.
37852 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
37853 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
37864 # Handling of the options.
37865 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
37867 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
37868 echo "$ac_cs_version"; exit ;;
37869 --debug |
--debu |
--deb |
--de |
--d |
-d )
37871 --file |
--fil |
--fi |
--f )
37873 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
37874 ac_need_defaults
=false
;;
37875 --header |
--heade |
--head |
--hea )
37877 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
37878 ac_need_defaults
=false
;;
37880 # Conflict between --help and --header
37881 { echo "$as_me: error: ambiguous option: $1
37882 Try \`$0 --help' for more information." >&2
37883 { (exit 1); exit 1; }; };;
37884 --help |
--hel |
-h )
37885 echo "$ac_cs_usage"; exit ;;
37886 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
37887 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
37890 # This is an error.
37891 -*) { echo "$as_me: error: unrecognized option: $1
37892 Try \`$0 --help' for more information." >&2
37893 { (exit 1); exit 1; }; } ;;
37895 *) ac_config_targets
="$ac_config_targets $1"
37896 ac_need_defaults
=false
;;
37902 ac_configure_extra_args
=
37904 if $ac_cs_silent; then
37906 ac_configure_extra_args
="$ac_configure_extra_args --silent"
37910 cat >>$CONFIG_STATUS <<_ACEOF
37911 if \$ac_cs_recheck; then
37912 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37913 CONFIG_SHELL=$SHELL
37914 export CONFIG_SHELL
37915 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37919 cat >>$CONFIG_STATUS <<\_ACEOF
37923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37924 ## Running $as_me. ##
37930 cat >>$CONFIG_STATUS <<_ACEOF
37934 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
37938 cat >>$CONFIG_STATUS <<\_ACEOF
37940 # Handling of arguments.
37941 for ac_config_target
in $ac_config_targets
37943 case $ac_config_target in
37944 "include/do-not-use-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/do-not-use-config.h" ;;
37945 "include/xorg-server.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xorg-server.h" ;;
37946 "include/dix-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/dix-config.h" ;;
37947 "include/xgl-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xgl-config.h" ;;
37948 "include/xorg-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xorg-config.h" ;;
37949 "include/xkb-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xkb-config.h" ;;
37950 "include/xwin-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/xwin-config.h" ;;
37951 "include/kdrive-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/kdrive-config.h" ;;
37952 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
37953 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
37954 "GL/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/Makefile" ;;
37955 "GL/apple/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/apple/Makefile" ;;
37956 "GL/glx/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/glx/Makefile" ;;
37957 "GL/mesa/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/Makefile" ;;
37958 "GL/mesa/glapi/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/glapi/Makefile" ;;
37959 "GL/mesa/main/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/main/Makefile" ;;
37960 "GL/mesa/math/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/math/Makefile" ;;
37961 "GL/mesa/shader/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/shader/Makefile" ;;
37962 "GL/mesa/shader/grammar/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/shader/grammar/Makefile" ;;
37963 "GL/mesa/shader/slang/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/shader/slang/Makefile" ;;
37964 "GL/mesa/swrast/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/swrast/Makefile" ;;
37965 "GL/mesa/swrast_setup/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/swrast_setup/Makefile" ;;
37966 "GL/mesa/tnl/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/tnl/Makefile" ;;
37967 "GL/mesa/vbo/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/vbo/Makefile" ;;
37968 "GL/mesa/X/Makefile") CONFIG_FILES
="$CONFIG_FILES GL/mesa/X/Makefile" ;;
37969 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
37970 "afb/Makefile") CONFIG_FILES
="$CONFIG_FILES afb/Makefile" ;;
37971 "composite/Makefile") CONFIG_FILES
="$CONFIG_FILES composite/Makefile" ;;
37972 "damageext/Makefile") CONFIG_FILES
="$CONFIG_FILES damageext/Makefile" ;;
37973 "dbe/Makefile") CONFIG_FILES
="$CONFIG_FILES dbe/Makefile" ;;
37974 "dix/Makefile") CONFIG_FILES
="$CONFIG_FILES dix/Makefile" ;;
37975 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
37976 "fb/Makefile") CONFIG_FILES
="$CONFIG_FILES fb/Makefile" ;;
37977 "record/Makefile") CONFIG_FILES
="$CONFIG_FILES record/Makefile" ;;
37978 "XTrap/Makefile") CONFIG_FILES
="$CONFIG_FILES XTrap/Makefile" ;;
37979 "mfb/Makefile") CONFIG_FILES
="$CONFIG_FILES mfb/Makefile" ;;
37980 "cfb/Makefile") CONFIG_FILES
="$CONFIG_FILES cfb/Makefile" ;;
37981 "cfb32/Makefile") CONFIG_FILES
="$CONFIG_FILES cfb32/Makefile" ;;
37982 "config/Makefile") CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
37983 "mi/Makefile") CONFIG_FILES
="$CONFIG_FILES mi/Makefile" ;;
37984 "miext/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/Makefile" ;;
37985 "miext/damage/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/damage/Makefile" ;;
37986 "miext/shadow/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/shadow/Makefile" ;;
37987 "miext/cw/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/cw/Makefile" ;;
37988 "miext/rootless/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/rootless/Makefile" ;;
37989 "miext/rootless/safeAlpha/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/rootless/safeAlpha/Makefile" ;;
37990 "miext/rootless/accel/Makefile") CONFIG_FILES
="$CONFIG_FILES miext/rootless/accel/Makefile" ;;
37991 "os/Makefile") CONFIG_FILES
="$CONFIG_FILES os/Makefile" ;;
37992 "randr/Makefile") CONFIG_FILES
="$CONFIG_FILES randr/Makefile" ;;
37993 "render/Makefile") CONFIG_FILES
="$CONFIG_FILES render/Makefile" ;;
37994 "xkb/Makefile") CONFIG_FILES
="$CONFIG_FILES xkb/Makefile" ;;
37995 "Xext/Makefile") CONFIG_FILES
="$CONFIG_FILES Xext/Makefile" ;;
37996 "Xi/Makefile") CONFIG_FILES
="$CONFIG_FILES Xi/Makefile" ;;
37997 "xfixes/Makefile") CONFIG_FILES
="$CONFIG_FILES xfixes/Makefile" ;;
37998 "exa/Makefile") CONFIG_FILES
="$CONFIG_FILES exa/Makefile" ;;
37999 "hw/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/Makefile" ;;
38000 "hw/xfree86/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/Makefile" ;;
38001 "hw/xfree86/common/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/common/Makefile" ;;
38002 "hw/xfree86/common/xf86Build.h") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/common/xf86Build.h" ;;
38003 "hw/xfree86/ddc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/ddc/Makefile" ;;
38004 "hw/xfree86/dixmods/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dixmods/Makefile" ;;
38005 "hw/xfree86/dixmods/extmod/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dixmods/extmod/Makefile" ;;
38006 "hw/xfree86/doc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/doc/Makefile" ;;
38007 "hw/xfree86/doc/devel/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/doc/devel/Makefile" ;;
38008 "hw/xfree86/doc/man/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/doc/man/Makefile" ;;
38009 "hw/xfree86/doc/sgml/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/doc/sgml/Makefile" ;;
38010 "hw/xfree86/dri/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dri/Makefile" ;;
38011 "hw/xfree86/dummylib/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/dummylib/Makefile" ;;
38012 "hw/xfree86/exa/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/exa/Makefile" ;;
38013 "hw/xfree86/fbdevhw/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/fbdevhw/Makefile" ;;
38014 "hw/xfree86/i2c/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/i2c/Makefile" ;;
38015 "hw/xfree86/int10/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/int10/Makefile" ;;
38016 "hw/xfree86/loader/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/loader/Makefile" ;;
38017 "hw/xfree86/modes/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/modes/Makefile" ;;
38018 "hw/xfree86/os-support/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/Makefile" ;;
38019 "hw/xfree86/os-support/bsd/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/bsd/Makefile" ;;
38020 "hw/xfree86/os-support/bus/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/bus/Makefile" ;;
38021 "hw/xfree86/os-support/hurd/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/hurd/Makefile" ;;
38022 "hw/xfree86/os-support/misc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/misc/Makefile" ;;
38023 "hw/xfree86/os-support/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/linux/Makefile" ;;
38024 "hw/xfree86/os-support/lynxos/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/lynxos/Makefile" ;;
38025 "hw/xfree86/os-support/sco/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/sco/Makefile" ;;
38026 "hw/xfree86/os-support/solaris/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/solaris/Makefile" ;;
38027 "hw/xfree86/os-support/sysv/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/sysv/Makefile" ;;
38028 "hw/xfree86/os-support/usl/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/os-support/usl/Makefile" ;;
38029 "hw/xfree86/parser/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/parser/Makefile" ;;
38030 "hw/xfree86/rac/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/rac/Makefile" ;;
38031 "hw/xfree86/ramdac/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/ramdac/Makefile" ;;
38032 "hw/xfree86/scanpci/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/scanpci/Makefile" ;;
38033 "hw/xfree86/shadowfb/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/shadowfb/Makefile" ;;
38034 "hw/xfree86/vbe/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/vbe/Makefile" ;;
38035 "hw/xfree86/vgahw/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/vgahw/Makefile" ;;
38036 "hw/xfree86/x86emu/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/x86emu/Makefile" ;;
38037 "hw/xfree86/xaa/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/xaa/Makefile" ;;
38038 "hw/xfree86/xf1bpp/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/xf1bpp/Makefile" ;;
38039 "hw/xfree86/xf4bpp/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/xf4bpp/Makefile" ;;
38040 "hw/xfree86/xf8_16bpp/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/xf8_16bpp/Makefile" ;;
38041 "hw/xfree86/xf8_32bpp/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/xf8_32bpp/Makefile" ;;
38042 "hw/xfree86/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/Makefile" ;;
38043 "hw/xfree86/utils/cvt/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/cvt/Makefile" ;;
38044 "hw/xfree86/utils/gtf/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/gtf/Makefile" ;;
38045 "hw/xfree86/utils/ioport/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/ioport/Makefile" ;;
38046 "hw/xfree86/utils/kbd_mode/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/kbd_mode/Makefile" ;;
38047 "hw/xfree86/utils/pcitweak/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/pcitweak/Makefile" ;;
38048 "hw/xfree86/utils/scanpci/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/scanpci/Makefile" ;;
38049 "hw/xfree86/utils/xorgcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/xorgcfg/Makefile" ;;
38050 "hw/xfree86/utils/xorgconfig/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xfree86/utils/xorgconfig/Makefile" ;;
38051 "hw/dmx/config/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/config/Makefile" ;;
38052 "hw/dmx/doc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/doc/Makefile" ;;
38053 "hw/dmx/examples/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/examples/Makefile" ;;
38054 "hw/dmx/input/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/input/Makefile" ;;
38055 "hw/dmx/glxProxy/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/glxProxy/Makefile" ;;
38056 "hw/dmx/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/dmx/Makefile" ;;
38057 "hw/vfb/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/vfb/Makefile" ;;
38058 "hw/xgl/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/Makefile" ;;
38059 "hw/xgl/egl/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/egl/Makefile" ;;
38060 "hw/xgl/egl/module/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/egl/module/Makefile" ;;
38061 "hw/xgl/glx/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/glx/Makefile" ;;
38062 "hw/xgl/glx/module/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/glx/module/Makefile" ;;
38063 "hw/xgl/glxext/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/glxext/Makefile" ;;
38064 "hw/xgl/glxext/module/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xgl/glxext/module/Makefile" ;;
38065 "hw/xnest/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xnest/Makefile" ;;
38066 "hw/xwin/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xwin/Makefile" ;;
38067 "hw/darwin/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/Makefile" ;;
38068 "hw/darwin/bundle/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/Makefile" ;;
38069 "hw/darwin/bundle/Dutch.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/Dutch.lproj/Makefile" ;;
38070 "hw/darwin/bundle/English.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/English.lproj/Makefile" ;;
38071 "hw/darwin/bundle/French.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/French.lproj/Makefile" ;;
38072 "hw/darwin/bundle/German.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/German.lproj/Makefile" ;;
38073 "hw/darwin/bundle/Japanese.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/Japanese.lproj/Makefile" ;;
38074 "hw/darwin/bundle/Portuguese.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/Portuguese.lproj/Makefile" ;;
38075 "hw/darwin/bundle/Spanish.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/Spanish.lproj/Makefile" ;;
38076 "hw/darwin/bundle/Swedish.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/Swedish.lproj/Makefile" ;;
38077 "hw/darwin/bundle/ko.lproj/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/bundle/ko.lproj/Makefile" ;;
38078 "hw/darwin/iokit/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/iokit/Makefile" ;;
38079 "hw/darwin/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/quartz/Makefile" ;;
38080 "hw/darwin/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/darwin/utils/Makefile" ;;
38081 "hw/kdrive/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/Makefile" ;;
38082 "hw/kdrive/ati/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/ati/Makefile" ;;
38083 "hw/kdrive/chips/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/chips/Makefile" ;;
38084 "hw/kdrive/ephyr/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/ephyr/Makefile" ;;
38085 "hw/kdrive/epson/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/epson/Makefile" ;;
38086 "hw/kdrive/fake/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/fake/Makefile" ;;
38087 "hw/kdrive/fbdev/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/fbdev/Makefile" ;;
38088 "hw/kdrive/i810/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/i810/Makefile" ;;
38089 "hw/kdrive/linux/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/linux/Makefile" ;;
38090 "hw/kdrive/mach64/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/mach64/Makefile" ;;
38091 "hw/kdrive/mga/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/mga/Makefile" ;;
38092 "hw/kdrive/neomagic/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/neomagic/Makefile" ;;
38093 "hw/kdrive/nvidia/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/nvidia/Makefile" ;;
38094 "hw/kdrive/pm2/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/pm2/Makefile" ;;
38095 "hw/kdrive/r128/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/r128/Makefile" ;;
38096 "hw/kdrive/sdl/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/sdl/Makefile" ;;
38097 "hw/kdrive/sis300/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/sis300/Makefile" ;;
38098 "hw/kdrive/smi/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/smi/Makefile" ;;
38099 "hw/kdrive/src/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/src/Makefile" ;;
38100 "hw/kdrive/vesa/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/vesa/Makefile" ;;
38101 "hw/kdrive/via/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/kdrive/via/Makefile" ;;
38102 "hw/xprint/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/Makefile" ;;
38103 "hw/xprint/doc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/doc/Makefile" ;;
38104 "hw/xprint/pcl/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/pcl/Makefile" ;;
38105 "hw/xprint/pcl-mono/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/pcl-mono/Makefile" ;;
38106 "hw/xprint/raster/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/raster/Makefile" ;;
38107 "hw/xprint/ps/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/ps/Makefile" ;;
38108 "hw/xprint/etc/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/etc/Makefile" ;;
38109 "hw/xprint/etc/Xsession.d/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/etc/Xsession.d/Makefile" ;;
38110 "hw/xprint/etc/init.d/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/etc/init.d/Makefile" ;;
38111 "hw/xprint/etc/profile.d/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/etc/profile.d/Makefile" ;;
38112 "hw/xprint/config/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/Makefile" ;;
38113 "hw/xprint/config/C/print/attributes/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/attributes/Makefile" ;;
38114 "hw/xprint/config/C/print/ddx-config/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/ddx-config/Makefile" ;;
38115 "hw/xprint/config/C/print/ddx-config/raster/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/ddx-config/raster/Makefile" ;;
38116 "hw/xprint/config/C/print/models/CANONBJ10E-GS/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/CANONBJ10E-GS/Makefile" ;;
38117 "hw/xprint/config/C/print/models/PSdefault/fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/PSdefault/fonts/Makefile" ;;
38118 "hw/xprint/config/C/print/models/PSdefault/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/PSdefault/Makefile" ;;
38119 "hw/xprint/config/C/print/models/PSspooldir/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/PSspooldir/Makefile" ;;
38120 "hw/xprint/config/C/print/models/SPSPARC2/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/SPSPARC2/Makefile" ;;
38121 "hw/xprint/config/C/print/models/SPSPARC2/fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/SPSPARC2/fonts/Makefile" ;;
38122 "hw/xprint/config/C/print/models/GSdefault/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/GSdefault/Makefile" ;;
38123 "hw/xprint/config/C/print/models/HPLJ4050-PS/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/HPLJ4050-PS/Makefile" ;;
38124 "hw/xprint/config/C/print/models/HPLJ4050-PS/fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/HPLJ4050-PS/fonts/Makefile" ;;
38125 "hw/xprint/config/C/print/models/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/Makefile" ;;
38126 "hw/xprint/config/C/print/models/PS2PDFspooldir-GS/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/PS2PDFspooldir-GS/Makefile" ;;
38127 "hw/xprint/config/C/print/models/CANONC3200-PS/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/CANONC3200-PS/Makefile" ;;
38128 "hw/xprint/config/C/print/models/CANONC3200-PS/fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/CANONC3200-PS/fonts/Makefile" ;;
38129 "hw/xprint/config/C/print/models/HPLJ4family/fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/HPLJ4family/fonts/Makefile" ;;
38130 "hw/xprint/config/C/print/models/HPLJ4family/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/HPLJ4family/Makefile" ;;
38131 "hw/xprint/config/C/print/models/HPDJ1600C/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/HPDJ1600C/Makefile" ;;
38132 "hw/xprint/config/C/print/models/HPDJ1600C/fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/models/HPDJ1600C/fonts/Makefile" ;;
38133 "hw/xprint/config/C/print/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/print/Makefile" ;;
38134 "hw/xprint/config/C/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/C/Makefile" ;;
38135 "hw/xprint/config/en_US/print/attributes/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/en_US/print/attributes/Makefile" ;;
38136 "hw/xprint/config/en_US/print/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/en_US/print/Makefile" ;;
38137 "hw/xprint/config/en_US/Makefile") CONFIG_FILES
="$CONFIG_FILES hw/xprint/config/en_US/Makefile" ;;
38138 "xorg-server.pc") CONFIG_FILES
="$CONFIG_FILES xorg-server.pc" ;;
38140 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
38141 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
38142 { (exit 1); exit 1; }; };;
38147 # If the user did not use the arguments to specify the items to instantiate,
38148 # then the envvar interface is used. Set only those that are not.
38149 # We use the long form for the default assignment because of an extremely
38150 # bizarre bug on SunOS 4.1.3.
38151 if $ac_need_defaults; then
38152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
38153 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
38154 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
38157 # Have a temporary directory for convenience. Make it in the build tree
38158 # simply because there is no reason against having it here, and in addition,
38159 # creating and moving files from /tmp can sometimes cause problems.
38160 # Hook for its removal unless debugging.
38161 # Note that there is a small window in which the directory will not be cleaned:
38162 # after its creation but before its name has been assigned to `$tmp'.
38166 trap 'exit_status=$?
38167 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
38169 trap '{ (exit 1); exit 1; }' 1 2 13 15
38171 # Create a (secure) tmp directory for tmp files.
38174 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
38175 test -n "$tmp" && test -d "$tmp"
38178 tmp
=.
/conf$$
-$RANDOM
38179 (umask 077 && mkdir
"$tmp")
38182 echo "$me: cannot create a temporary directory in ." >&2
38183 { (exit 1); exit 1; }
38187 # Set up the sed scripts for CONFIG_FILES section.
38190 # No need to generate the scripts if there are no CONFIG_FILES.
38191 # This happens for instance when ./config.status config.h
38192 if test -n "$CONFIG_FILES"; then
38199 for ac_last_try
in false false false false false
:; do
38200 cat >conf$
$subs.
sed <<_ACEOF
38201 SHELL!$SHELL$ac_delim
38202 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
38203 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
38204 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
38205 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
38206 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
38207 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
38208 exec_prefix!$exec_prefix$ac_delim
38209 prefix!$prefix$ac_delim
38210 program_transform_name!$program_transform_name$ac_delim
38211 bindir!$bindir$ac_delim
38212 sbindir!$sbindir$ac_delim
38213 libexecdir!$libexecdir$ac_delim
38214 datarootdir!$datarootdir$ac_delim
38215 datadir!$datadir$ac_delim
38216 sysconfdir!$sysconfdir$ac_delim
38217 sharedstatedir!$sharedstatedir$ac_delim
38218 localstatedir!$localstatedir$ac_delim
38219 includedir!$includedir$ac_delim
38220 oldincludedir!$oldincludedir$ac_delim
38221 docdir!$docdir$ac_delim
38222 infodir!$infodir$ac_delim
38223 htmldir!$htmldir$ac_delim
38224 dvidir!$dvidir$ac_delim
38225 pdfdir!$pdfdir$ac_delim
38226 psdir!$psdir$ac_delim
38227 libdir!$libdir$ac_delim
38228 localedir!$localedir$ac_delim
38229 mandir!$mandir$ac_delim
38230 DEFS!$DEFS$ac_delim
38231 ECHO_C!$ECHO_C$ac_delim
38232 ECHO_N!$ECHO_N$ac_delim
38233 ECHO_T!$ECHO_T$ac_delim
38234 LIBS!$LIBS$ac_delim
38235 build_alias!$build_alias$ac_delim
38236 host_alias!$host_alias$ac_delim
38237 target_alias!$target_alias$ac_delim
38238 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
38239 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
38240 INSTALL_DATA!$INSTALL_DATA$ac_delim
38241 am__isrc!$am__isrc$ac_delim
38242 CYGPATH_W!$CYGPATH_W$ac_delim
38243 PACKAGE!$PACKAGE$ac_delim
38244 VERSION!$VERSION$ac_delim
38245 ACLOCAL!$ACLOCAL$ac_delim
38246 AUTOCONF!$AUTOCONF$ac_delim
38247 AUTOMAKE!$AUTOMAKE$ac_delim
38248 AUTOHEADER!$AUTOHEADER$ac_delim
38249 MAKEINFO!$MAKEINFO$ac_delim
38250 install_sh!$install_sh$ac_delim
38251 STRIP!$STRIP$ac_delim
38252 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
38253 mkdir_p!$mkdir_p$ac_delim
38255 SET_MAKE!$SET_MAKE$ac_delim
38256 am__leading_dot!$am__leading_dot$ac_delim
38257 AMTAR!$AMTAR$ac_delim
38258 am__tar!$am__tar$ac_delim
38259 am__untar!$am__untar$ac_delim
38260 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
38261 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
38262 MAINT!$MAINT$ac_delim
38264 CFLAGS!$CFLAGS$ac_delim
38265 LDFLAGS!$LDFLAGS$ac_delim
38266 CPPFLAGS!$CPPFLAGS$ac_delim
38267 ac_ct_CC!$ac_ct_CC$ac_delim
38268 EXEEXT!$EXEEXT$ac_delim
38269 OBJEXT!$OBJEXT$ac_delim
38270 DEPDIR!$DEPDIR$ac_delim
38271 am__include!$am__include$ac_delim
38272 am__quote!$am__quote$ac_delim
38273 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
38274 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
38275 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
38276 CCDEPMODE!$CCDEPMODE$ac_delim
38277 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
38278 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
38279 CCAS!$CCAS$ac_delim
38280 CCASFLAGS!$CCASFLAGS$ac_delim
38281 CCASDEPMODE!$CCASDEPMODE$ac_delim
38282 am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
38283 am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
38284 LN_S!$LN_S$ac_delim
38285 build!$build$ac_delim
38286 build_cpu!$build_cpu$ac_delim
38287 build_vendor!$build_vendor$ac_delim
38288 build_os!$build_os$ac_delim
38289 host!$host$ac_delim
38290 host_cpu!$host_cpu$ac_delim
38291 host_vendor!$host_vendor$ac_delim
38292 host_os!$host_os$ac_delim
38293 GREP!$GREP$ac_delim
38294 EGREP!$EGREP$ac_delim
38295 ECHO!$ECHO$ac_delim
38297 RANLIB!$RANLIB$ac_delim
38300 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38302 elif $ac_last_try; then
38303 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38304 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38305 { (exit 1); exit 1; }; }
38307 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
38311 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38312 if test -n "$ac_eof"; then
38313 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
38314 ac_eof
=`expr $ac_eof + 1`
38317 cat >>$CONFIG_STATUS <<_ACEOF
38318 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
38319 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38322 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38323 s/^/s,@/; s/!/@,|#_!!_#|/
38326 s/'"$ac_delim"'$/,g/; t
38328 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38329 ' >>$CONFIG_STATUS <conf$
$subs.
sed
38330 rm -f conf$
$subs.
sed
38331 cat >>$CONFIG_STATUS <<_ACEOF
38337 for ac_last_try
in false false false false false
:; do
38338 cat >conf$
$subs.
sed <<_ACEOF
38339 DLLTOOL!$DLLTOOL$ac_delim
38341 OBJDUMP!$OBJDUMP$ac_delim
38344 CXXFLAGS!$CXXFLAGS$ac_delim
38345 ac_ct_CXX!$ac_ct_CXX$ac_delim
38346 CXXDEPMODE!$CXXDEPMODE$ac_delim
38347 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
38348 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
38349 CXXCPP!$CXXCPP$ac_delim
38351 FFLAGS!$FFLAGS$ac_delim
38352 ac_ct_F77!$ac_ct_F77$ac_delim
38353 LIBTOOL!$LIBTOOL$ac_delim
38354 PKG_CONFIG!$PKG_CONFIG$ac_delim
38356 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
38357 LEXLIB!$LEXLIB$ac_delim
38358 YACC!$YACC$ac_delim
38359 YFLAGS!$YFLAGS$ac_delim
38360 RAWCPP!$RAWCPP$ac_delim
38361 RAWCPPFLAGS!$RAWCPPFLAGS$ac_delim
38362 DTRACE!$DTRACE$ac_delim
38363 XSERVER_DTRACE_TRUE!$XSERVER_DTRACE_TRUE$ac_delim
38364 XSERVER_DTRACE_FALSE!$XSERVER_DTRACE_FALSE$ac_delim
38365 XERRORDB_PATH!$XERRORDB_PATH$ac_delim
38366 ALLOCA!$ALLOCA$ac_delim
38367 NEED_STRLCAT_TRUE!$NEED_STRLCAT_TRUE$ac_delim
38368 NEED_STRLCAT_FALSE!$NEED_STRLCAT_FALSE$ac_delim
38369 NEED_VSNPRINTF_TRUE!$NEED_VSNPRINTF_TRUE$ac_delim
38370 NEED_VSNPRINTF_FALSE!$NEED_VSNPRINTF_FALSE$ac_delim
38371 AGP_TRUE!$AGP_TRUE$ac_delim
38372 AGP_FALSE!$AGP_FALSE$ac_delim
38373 LNXAPM_TRUE!$LNXAPM_TRUE$ac_delim
38374 LNXAPM_FALSE!$LNXAPM_FALSE$ac_delim
38375 FBDEVHW_TRUE!$FBDEVHW_TRUE$ac_delim
38376 FBDEVHW_FALSE!$FBDEVHW_FALSE$ac_delim
38377 FREEBSD_KLDLOAD_TRUE!$FREEBSD_KLDLOAD_TRUE$ac_delim
38378 FREEBSD_KLDLOAD_FALSE!$FREEBSD_KLDLOAD_FALSE$ac_delim
38379 ALPHA_VIDEO_TRUE!$ALPHA_VIDEO_TRUE$ac_delim
38380 ALPHA_VIDEO_FALSE!$ALPHA_VIDEO_FALSE$ac_delim
38381 ARM_VIDEO_TRUE!$ARM_VIDEO_TRUE$ac_delim
38382 ARM_VIDEO_FALSE!$ARM_VIDEO_FALSE$ac_delim
38383 I386_VIDEO_TRUE!$I386_VIDEO_TRUE$ac_delim
38384 I386_VIDEO_FALSE!$I386_VIDEO_FALSE$ac_delim
38385 PPC_VIDEO_TRUE!$PPC_VIDEO_TRUE$ac_delim
38386 PPC_VIDEO_FALSE!$PPC_VIDEO_FALSE$ac_delim
38387 SPARC64_VIDEO_TRUE!$SPARC64_VIDEO_TRUE$ac_delim
38388 SPARC64_VIDEO_FALSE!$SPARC64_VIDEO_FALSE$ac_delim
38389 KDRIVE_HW_TRUE!$KDRIVE_HW_TRUE$ac_delim
38390 KDRIVE_HW_FALSE!$KDRIVE_HW_FALSE$ac_delim
38391 INSTALL_SETUID_TRUE!$INSTALL_SETUID_TRUE$ac_delim
38392 INSTALL_SETUID_FALSE!$INSTALL_SETUID_FALSE$ac_delim
38393 INT10_VM86_TRUE!$INT10_VM86_TRUE$ac_delim
38394 INT10_VM86_FALSE!$INT10_VM86_FALSE$ac_delim
38395 INT10_X86EMU_TRUE!$INT10_X86EMU_TRUE$ac_delim
38396 INT10_X86EMU_FALSE!$INT10_X86EMU_FALSE$ac_delim
38397 INT10_STUB_TRUE!$INT10_STUB_TRUE$ac_delim
38398 INT10_STUB_FALSE!$INT10_STUB_FALSE$ac_delim
38399 BUILDDOCS_TRUE!$BUILDDOCS_TRUE$ac_delim
38400 BUILDDOCS_FALSE!$BUILDDOCS_FALSE$ac_delim
38401 LINUXDOC!$LINUXDOC$ac_delim
38402 PS2PDF!$PS2PDF$ac_delim
38403 BUILD_LINUXDOC_TRUE!$BUILD_LINUXDOC_TRUE$ac_delim
38404 BUILD_LINUXDOC_FALSE!$BUILD_LINUXDOC_FALSE$ac_delim
38405 BUILD_PDFDOC_TRUE!$BUILD_PDFDOC_TRUE$ac_delim
38406 BUILD_PDFDOC_FALSE!$BUILD_PDFDOC_FALSE$ac_delim
38407 MAKE_TEXT!$MAKE_TEXT$ac_delim
38408 MAKE_PS!$MAKE_PS$ac_delim
38409 MAKE_PDF!$MAKE_PDF$ac_delim
38410 MAKE_HTML!$MAKE_HTML$ac_delim
38411 INSTALL_LIBXF86CONFIG_TRUE!$INSTALL_LIBXF86CONFIG_TRUE$ac_delim
38412 INSTALL_LIBXF86CONFIG_FALSE!$INSTALL_LIBXF86CONFIG_FALSE$ac_delim
38413 PIXMAN_CFLAGS!$PIXMAN_CFLAGS$ac_delim
38414 PIXMAN_LIBS!$PIXMAN_LIBS$ac_delim
38415 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
38416 DBUS_LIBS!$DBUS_LIBS$ac_delim
38417 HAVE_DBUS_TRUE!$HAVE_DBUS_TRUE$ac_delim
38418 HAVE_DBUS_FALSE!$HAVE_DBUS_FALSE$ac_delim
38419 CONFIG_DBUS_API_TRUE!$CONFIG_DBUS_API_TRUE$ac_delim
38420 CONFIG_DBUS_API_FALSE!$CONFIG_DBUS_API_FALSE$ac_delim
38421 HAL_CFLAGS!$HAL_CFLAGS$ac_delim
38422 HAL_LIBS!$HAL_LIBS$ac_delim
38423 CONFIG_HAL_TRUE!$CONFIG_HAL_TRUE$ac_delim
38424 CONFIG_HAL_FALSE!$CONFIG_HAL_FALSE$ac_delim
38425 XV_TRUE!$XV_TRUE$ac_delim
38426 XV_FALSE!$XV_FALSE$ac_delim
38427 XVMC_TRUE!$XVMC_TRUE$ac_delim
38428 XVMC_FALSE!$XVMC_FALSE$ac_delim
38429 COMPOSITE_TRUE!$COMPOSITE_TRUE$ac_delim
38430 COMPOSITE_FALSE!$COMPOSITE_FALSE$ac_delim
38431 MITSHM_TRUE!$MITSHM_TRUE$ac_delim
38432 MITSHM_FALSE!$MITSHM_FALSE$ac_delim
38433 XTRAP_TRUE!$XTRAP_TRUE$ac_delim
38434 XTRAP_FALSE!$XTRAP_FALSE$ac_delim
38435 RECORD_TRUE!$RECORD_TRUE$ac_delim
38438 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38440 elif $ac_last_try; then
38441 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38442 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38443 { (exit 1); exit 1; }; }
38445 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
38449 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38450 if test -n "$ac_eof"; then
38451 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
38452 ac_eof
=`expr $ac_eof + 1`
38455 cat >>$CONFIG_STATUS <<_ACEOF
38456 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
38457 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38460 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38461 s/^/s,@/; s/!/@,|#_!!_#|/
38464 s/'"$ac_delim"'$/,g/; t
38466 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38467 ' >>$CONFIG_STATUS <conf$
$subs.
sed
38468 rm -f conf$
$subs.
sed
38469 cat >>$CONFIG_STATUS <<_ACEOF
38475 for ac_last_try
in false false false false false
:; do
38476 cat >conf$
$subs.
sed <<_ACEOF
38477 RECORD_FALSE!$RECORD_FALSE$ac_delim
38478 SCREENSAVER_TRUE!$SCREENSAVER_TRUE$ac_delim
38479 SCREENSAVER_FALSE!$SCREENSAVER_FALSE$ac_delim
38480 RES_TRUE!$RES_TRUE$ac_delim
38481 RES_FALSE!$RES_FALSE$ac_delim
38482 XLIB_CFLAGS!$XLIB_CFLAGS$ac_delim
38483 XLIB_LIBS!$XLIB_LIBS$ac_delim
38484 GL_CFLAGS!$GL_CFLAGS$ac_delim
38485 GL_LIBS!$GL_LIBS$ac_delim
38486 GLX_TRUE!$GLX_TRUE$ac_delim
38487 GLX_FALSE!$GLX_FALSE$ac_delim
38488 MESA_SOURCE!$MESA_SOURCE$ac_delim
38489 AIGLX_TRUE!$AIGLX_TRUE$ac_delim
38490 AIGLX_FALSE!$AIGLX_FALSE$ac_delim
38491 GLX_DEFINES!$GLX_DEFINES$ac_delim
38492 DRI_TRUE!$DRI_TRUE$ac_delim
38493 DRI_FALSE!$DRI_FALSE$ac_delim
38494 DRIPROTO_CFLAGS!$DRIPROTO_CFLAGS$ac_delim
38495 DRIPROTO_LIBS!$DRIPROTO_LIBS$ac_delim
38496 LIBDRM_CFLAGS!$LIBDRM_CFLAGS$ac_delim
38497 LIBDRM_LIBS!$LIBDRM_LIBS$ac_delim
38498 XINERAMA_TRUE!$XINERAMA_TRUE$ac_delim
38499 XINERAMA_FALSE!$XINERAMA_FALSE$ac_delim
38500 XACE_TRUE!$XACE_TRUE$ac_delim
38501 XACE_FALSE!$XACE_FALSE$ac_delim
38502 XCSECURITY_TRUE!$XCSECURITY_TRUE$ac_delim
38503 XCSECURITY_FALSE!$XCSECURITY_FALSE$ac_delim
38504 XEVIE_TRUE!$XEVIE_TRUE$ac_delim
38505 XEVIE_FALSE!$XEVIE_FALSE$ac_delim
38506 APPGROUP_TRUE!$APPGROUP_TRUE$ac_delim
38507 APPGROUP_FALSE!$APPGROUP_FALSE$ac_delim
38508 CUP_TRUE!$CUP_TRUE$ac_delim
38509 CUP_FALSE!$CUP_FALSE$ac_delim
38510 EVI_TRUE!$EVI_TRUE$ac_delim
38511 EVI_FALSE!$EVI_FALSE$ac_delim
38512 MULTIBUFFER_TRUE!$MULTIBUFFER_TRUE$ac_delim
38513 MULTIBUFFER_FALSE!$MULTIBUFFER_FALSE$ac_delim
38514 FONTCACHE_TRUE!$FONTCACHE_TRUE$ac_delim
38515 FONTCACHE_FALSE!$FONTCACHE_FALSE$ac_delim
38516 DBE_TRUE!$DBE_TRUE$ac_delim
38517 DBE_FALSE!$DBE_FALSE$ac_delim
38518 XF86BIGFONT_TRUE!$XF86BIGFONT_TRUE$ac_delim
38519 XF86BIGFONT_FALSE!$XF86BIGFONT_FALSE$ac_delim
38520 DPMSExtension_TRUE!$DPMSExtension_TRUE$ac_delim
38521 DPMSExtension_FALSE!$DPMSExtension_FALSE$ac_delim
38522 XPRINTPROTO_CFLAGS!$XPRINTPROTO_CFLAGS$ac_delim
38523 XPRINTPROTO_LIBS!$XPRINTPROTO_LIBS$ac_delim
38524 XPRINT_TRUE!$XPRINT_TRUE$ac_delim
38525 XPRINT_FALSE!$XPRINT_FALSE$ac_delim
38526 XCALIBRATE_TRUE!$XCALIBRATE_TRUE$ac_delim
38527 XCALIBRATE_FALSE!$XCALIBRATE_FALSE$ac_delim
38528 XF86UTILS_TRUE!$XF86UTILS_TRUE$ac_delim
38529 XF86UTILS_FALSE!$XF86UTILS_FALSE$ac_delim
38530 XDMCP_CFLAGS!$XDMCP_CFLAGS$ac_delim
38531 XDMCP_LIBS!$XDMCP_LIBS$ac_delim
38532 XDMCP_TRUE!$XDMCP_TRUE$ac_delim
38533 XDMCP_FALSE!$XDMCP_FALSE$ac_delim
38534 XDMAUTH_TRUE!$XDMAUTH_TRUE$ac_delim
38535 XDMAUTH_FALSE!$XDMAUTH_FALSE$ac_delim
38536 USE_RGB_BUILTIN_TRUE!$USE_RGB_BUILTIN_TRUE$ac_delim
38537 USE_RGB_BUILTIN_FALSE!$USE_RGB_BUILTIN_FALSE$ac_delim
38538 COMPILEDDEFAULTFONTPATH!$COMPILEDDEFAULTFONTPATH$ac_delim
38539 RGB_DB!$RGB_DB$ac_delim
38540 SERVERCONFIGdir!$SERVERCONFIGdir$ac_delim
38541 BASE_FONT_PATH!$BASE_FONT_PATH$ac_delim
38542 DRI_DRIVER_PATH!$DRI_DRIVER_PATH$ac_delim
38543 VENDOR_NAME!$VENDOR_NAME$ac_delim
38544 VENDOR_NAME_SHORT!$VENDOR_NAME_SHORT$ac_delim
38545 VENDOR_RELEASE!$VENDOR_RELEASE$ac_delim
38546 VENDOR_MAN_VERSION!$VENDOR_MAN_VERSION$ac_delim
38547 DEBUG_TRUE!$DEBUG_TRUE$ac_delim
38548 DEBUG_FALSE!$DEBUG_FALSE$ac_delim
38549 XSERVERCFLAGS_CFLAGS!$XSERVERCFLAGS_CFLAGS$ac_delim
38550 XSERVERCFLAGS_LIBS!$XSERVERCFLAGS_LIBS$ac_delim
38551 XSERVERLIBS_CFLAGS!$XSERVERLIBS_CFLAGS$ac_delim
38552 XSERVERLIBS_LIBS!$XSERVERLIBS_LIBS$ac_delim
38553 SYS_LIBS!$SYS_LIBS$ac_delim
38554 LD_EXPORT_SYMBOLS_FLAG!$LD_EXPORT_SYMBOLS_FLAG$ac_delim
38555 XSERVER_LIBS!$XSERVER_LIBS$ac_delim
38556 DMXMODULES_CFLAGS!$DMXMODULES_CFLAGS$ac_delim
38557 DMXMODULES_LIBS!$DMXMODULES_LIBS$ac_delim
38558 DMX_TRUE!$DMX_TRUE$ac_delim
38559 DMX_FALSE!$DMX_FALSE$ac_delim
38560 XDMX_LIBS!$XDMX_LIBS$ac_delim
38561 XDMXCONFIG_DEP_CFLAGS!$XDMXCONFIG_DEP_CFLAGS$ac_delim
38562 XDMXCONFIG_DEP_LIBS!$XDMXCONFIG_DEP_LIBS$ac_delim
38563 DMXEXAMPLES_DEP_CFLAGS!$DMXEXAMPLES_DEP_CFLAGS$ac_delim
38564 DMXEXAMPLES_DEP_LIBS!$DMXEXAMPLES_DEP_LIBS$ac_delim
38565 DMXXMUEXAMPLES_DEP_CFLAGS!$DMXXMUEXAMPLES_DEP_CFLAGS$ac_delim
38566 DMXXMUEXAMPLES_DEP_LIBS!$DMXXMUEXAMPLES_DEP_LIBS$ac_delim
38567 DMXXIEXAMPLES_DEP_CFLAGS!$DMXXIEXAMPLES_DEP_CFLAGS$ac_delim
38568 DMXXIEXAMPLES_DEP_LIBS!$DMXXIEXAMPLES_DEP_LIBS$ac_delim
38569 XTSTEXAMPLES_DEP_CFLAGS!$XTSTEXAMPLES_DEP_CFLAGS$ac_delim
38570 XTSTEXAMPLES_DEP_LIBS!$XTSTEXAMPLES_DEP_LIBS$ac_delim
38571 XRESEXAMPLES_DEP_CFLAGS!$XRESEXAMPLES_DEP_CFLAGS$ac_delim
38572 XRESEXAMPLES_DEP_LIBS!$XRESEXAMPLES_DEP_LIBS$ac_delim
38573 X11EXAMPLES_DEP_CFLAGS!$X11EXAMPLES_DEP_CFLAGS$ac_delim
38576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38578 elif $ac_last_try; then
38579 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38580 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38581 { (exit 1); exit 1; }; }
38583 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
38587 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38588 if test -n "$ac_eof"; then
38589 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
38590 ac_eof
=`expr $ac_eof + 1`
38593 cat >>$CONFIG_STATUS <<_ACEOF
38594 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
38595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38598 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38599 s/^/s,@/; s/!/@,|#_!!_#|/
38602 s/'"$ac_delim"'$/,g/; t
38604 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38605 ' >>$CONFIG_STATUS <conf$
$subs.
sed
38606 rm -f conf$
$subs.
sed
38607 cat >>$CONFIG_STATUS <<_ACEOF
38613 for ac_last_try
in false false false false false
:; do
38614 cat >conf$
$subs.
sed <<_ACEOF
38615 X11EXAMPLES_DEP_LIBS!$X11EXAMPLES_DEP_LIBS$ac_delim
38616 DMX_BUILD_LNX_TRUE!$DMX_BUILD_LNX_TRUE$ac_delim
38617 DMX_BUILD_LNX_FALSE!$DMX_BUILD_LNX_FALSE$ac_delim
38618 DMX_BUILD_USB_TRUE!$DMX_BUILD_USB_TRUE$ac_delim
38619 DMX_BUILD_USB_FALSE!$DMX_BUILD_USB_FALSE$ac_delim
38620 XVFB_TRUE!$XVFB_TRUE$ac_delim
38621 XVFB_FALSE!$XVFB_FALSE$ac_delim
38622 XVFB_LIBS!$XVFB_LIBS$ac_delim
38623 XNESTMODULES_CFLAGS!$XNESTMODULES_CFLAGS$ac_delim
38624 XNESTMODULES_LIBS!$XNESTMODULES_LIBS$ac_delim
38625 XNEST_TRUE!$XNEST_TRUE$ac_delim
38626 XNEST_FALSE!$XNEST_FALSE$ac_delim
38627 XNEST_LIBS!$XNEST_LIBS$ac_delim
38628 XGLMODULES_CFLAGS!$XGLMODULES_CFLAGS$ac_delim
38629 XGLMODULES_LIBS!$XGLMODULES_LIBS$ac_delim
38630 XGL_TRUE!$XGL_TRUE$ac_delim
38631 XGL_FALSE!$XGL_FALSE$ac_delim
38632 XGL_LIBS!$XGL_LIBS$ac_delim
38633 xglmoduledir!$xglmoduledir$ac_delim
38634 XGL_MODULE_PATH!$XGL_MODULE_PATH$ac_delim
38635 XEGLMODULES_CFLAGS!$XEGLMODULES_CFLAGS$ac_delim
38636 XEGLMODULES_LIBS!$XEGLMODULES_LIBS$ac_delim
38637 XEGL_TRUE!$XEGL_TRUE$ac_delim
38638 XEGL_FALSE!$XEGL_FALSE$ac_delim
38639 XEGL_LIBS!$XEGL_LIBS$ac_delim
38640 XGLXMODULES_CFLAGS!$XGLXMODULES_CFLAGS$ac_delim
38641 XGLXMODULES_LIBS!$XGLXMODULES_LIBS$ac_delim
38642 XGLX_TRUE!$XGLX_TRUE$ac_delim
38643 XGLX_FALSE!$XGLX_FALSE$ac_delim
38644 XGLX_LIBS!$XGLX_LIBS$ac_delim
38645 XORG_CORE_LIBS!$XORG_CORE_LIBS$ac_delim
38646 DARWIN_LIBS!$DARWIN_LIBS$ac_delim
38647 APPLE_APPLICATIONS_DIR!$APPLE_APPLICATIONS_DIR$ac_delim
38648 PLIST_VERSION_STRING!$PLIST_VERSION_STRING$ac_delim
38649 PLIST_VENDOR_WEB!$PLIST_VENDOR_WEB$ac_delim
38650 SOLARIS_INOUT_ARCH!$SOLARIS_INOUT_ARCH$ac_delim
38651 SOLARIS_ASM_CFLAGS!$SOLARIS_ASM_CFLAGS$ac_delim
38652 DGA_CFLAGS!$DGA_CFLAGS$ac_delim
38653 DGA_LIBS!$DGA_LIBS$ac_delim
38654 XF86MISC_CFLAGS!$XF86MISC_CFLAGS$ac_delim
38655 XF86MISC_LIBS!$XF86MISC_LIBS$ac_delim
38656 XF86VIDMODE_CFLAGS!$XF86VIDMODE_CFLAGS$ac_delim
38657 XF86VIDMODE_LIBS!$XF86VIDMODE_LIBS$ac_delim
38658 XORG_MODULES_CFLAGS!$XORG_MODULES_CFLAGS$ac_delim
38659 XORG_MODULES_LIBS!$XORG_MODULES_LIBS$ac_delim
38660 XORG_LIBS!$XORG_LIBS$ac_delim
38661 XORG_INCS!$XORG_INCS$ac_delim
38662 XORG_OS!$XORG_OS$ac_delim
38663 XORG_OS_SUBDIR!$XORG_OS_SUBDIR$ac_delim
38664 PERL!$PERL$ac_delim
38665 XORG_CFLAGS!$XORG_CFLAGS$ac_delim
38666 __XCONFIGFILE__!$__XCONFIGFILE__$ac_delim
38667 XF86CONFIGFILE!$XF86CONFIGFILE$ac_delim
38668 DEFAULT_MODULE_PATH!$DEFAULT_MODULE_PATH$ac_delim
38669 DEFAULT_LIBRARY_PATH!$DEFAULT_LIBRARY_PATH$ac_delim
38670 DEFAULT_LOGPREFIX!$DEFAULT_LOGPREFIX$ac_delim
38671 moduledir!$moduledir$ac_delim
38672 driverdir!$driverdir$ac_delim
38673 sdkdir!$sdkdir$ac_delim
38674 extdir!$extdir$ac_delim
38675 logdir!$logdir$ac_delim
38676 XORG_TRUE!$XORG_TRUE$ac_delim
38677 XORG_FALSE!$XORG_FALSE$ac_delim
38678 XORG_BUS_LINUXPCI_TRUE!$XORG_BUS_LINUXPCI_TRUE$ac_delim
38679 XORG_BUS_LINUXPCI_FALSE!$XORG_BUS_LINUXPCI_FALSE$ac_delim
38680 XORG_BUS_FREEBSDPCI_TRUE!$XORG_BUS_FREEBSDPCI_TRUE$ac_delim
38681 XORG_BUS_FREEBSDPCI_FALSE!$XORG_BUS_FREEBSDPCI_FALSE$ac_delim
38682 XORG_BUS_NETBSDPCI_TRUE!$XORG_BUS_NETBSDPCI_TRUE$ac_delim
38683 XORG_BUS_NETBSDPCI_FALSE!$XORG_BUS_NETBSDPCI_FALSE$ac_delim
38684 XORG_BUS_IX86PCI_TRUE!$XORG_BUS_IX86PCI_TRUE$ac_delim
38685 XORG_BUS_IX86PCI_FALSE!$XORG_BUS_IX86PCI_FALSE$ac_delim
38686 XORG_BUS_PPCPCI_TRUE!$XORG_BUS_PPCPCI_TRUE$ac_delim
38687 XORG_BUS_PPCPCI_FALSE!$XORG_BUS_PPCPCI_FALSE$ac_delim
38688 XORG_BUS_SPARCPCI_TRUE!$XORG_BUS_SPARCPCI_TRUE$ac_delim
38689 XORG_BUS_SPARCPCI_FALSE!$XORG_BUS_SPARCPCI_FALSE$ac_delim
38690 XORG_BUS_SPARC_TRUE!$XORG_BUS_SPARC_TRUE$ac_delim
38691 XORG_BUS_SPARC_FALSE!$XORG_BUS_SPARC_FALSE$ac_delim
38692 XORG_LOADER_SPARC_TRUE!$XORG_LOADER_SPARC_TRUE$ac_delim
38693 XORG_LOADER_SPARC_FALSE!$XORG_LOADER_SPARC_FALSE$ac_delim
38694 LINUX_IA64_TRUE!$LINUX_IA64_TRUE$ac_delim
38695 LINUX_IA64_FALSE!$LINUX_IA64_FALSE$ac_delim
38696 LINUX_ALPHA_TRUE!$LINUX_ALPHA_TRUE$ac_delim
38697 LINUX_ALPHA_FALSE!$LINUX_ALPHA_FALSE$ac_delim
38698 LNXACPI_TRUE!$LNXACPI_TRUE$ac_delim
38699 LNXACPI_FALSE!$LNXACPI_FALSE$ac_delim
38700 SOLARIS_USL_CONSOLE_TRUE!$SOLARIS_USL_CONSOLE_TRUE$ac_delim
38701 SOLARIS_USL_CONSOLE_FALSE!$SOLARIS_USL_CONSOLE_FALSE$ac_delim
38702 SOLARIS_ASM_INLINE_TRUE!$SOLARIS_ASM_INLINE_TRUE$ac_delim
38703 SOLARIS_ASM_INLINE_FALSE!$SOLARIS_ASM_INLINE_FALSE$ac_delim
38704 BUILD_DARWIN_TRUE!$BUILD_DARWIN_TRUE$ac_delim
38705 BUILD_DARWIN_FALSE!$BUILD_DARWIN_FALSE$ac_delim
38706 XQUARTZ_TRUE!$XQUARTZ_TRUE$ac_delim
38707 XQUARTZ_FALSE!$XQUARTZ_FALSE$ac_delim
38708 DGA_TRUE!$DGA_TRUE$ac_delim
38709 DGA_FALSE!$DGA_FALSE$ac_delim
38710 MFB_TRUE!$MFB_TRUE$ac_delim
38711 MFB_FALSE!$MFB_FALSE$ac_delim
38714 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38716 elif $ac_last_try; then
38717 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38718 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38719 { (exit 1); exit 1; }; }
38721 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
38725 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38726 if test -n "$ac_eof"; then
38727 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
38728 ac_eof
=`expr $ac_eof + 1`
38731 cat >>$CONFIG_STATUS <<_ACEOF
38732 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
38733 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38736 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38737 s/^/s,@/; s/!/@,|#_!!_#|/
38740 s/'"$ac_delim"'$/,g/; t
38742 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38743 ' >>$CONFIG_STATUS <conf$
$subs.
sed
38744 rm -f conf$
$subs.
sed
38745 cat >>$CONFIG_STATUS <<_ACEOF
38751 for ac_last_try
in false false false false false
:; do
38752 cat >conf$
$subs.
sed <<_ACEOF
38753 CFB_TRUE!$CFB_TRUE$ac_delim
38754 CFB_FALSE!$CFB_FALSE$ac_delim
38755 AFB_TRUE!$AFB_TRUE$ac_delim
38756 AFB_FALSE!$AFB_FALSE$ac_delim
38757 XPRINT_CFLAGS!$XPRINT_CFLAGS$ac_delim
38758 XPRINT_LIBS!$XPRINT_LIBS$ac_delim
38759 xpconfigdir!$xpconfigdir$ac_delim
38760 MKFONTSCALE!$MKFONTSCALE$ac_delim
38761 MKFONTDIR!$MKFONTDIR$ac_delim
38762 FREETYPE_CFLAGS!$FREETYPE_CFLAGS$ac_delim
38763 FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
38764 ft_config!$ft_config$ac_delim
38765 FREETYPE_REQUIRES!$FREETYPE_REQUIRES$ac_delim
38766 XP_USE_FREETYPE_TRUE!$XP_USE_FREETYPE_TRUE$ac_delim
38767 XP_USE_FREETYPE_FALSE!$XP_USE_FREETYPE_FALSE$ac_delim
38768 XWIN_LIBS!$XWIN_LIBS$ac_delim
38769 XWINMODULES_CFLAGS!$XWINMODULES_CFLAGS$ac_delim
38770 XWINMODULES_LIBS!$XWINMODULES_LIBS$ac_delim
38771 XWIN_SERVER_NAME!$XWIN_SERVER_NAME$ac_delim
38772 XWIN_SYSTEM_LIBS!$XWIN_SYSTEM_LIBS$ac_delim
38773 XWIN_TRUE!$XWIN_TRUE$ac_delim
38774 XWIN_FALSE!$XWIN_FALSE$ac_delim
38775 XWIN_MULTIWINDOW_TRUE!$XWIN_MULTIWINDOW_TRUE$ac_delim
38776 XWIN_MULTIWINDOW_FALSE!$XWIN_MULTIWINDOW_FALSE$ac_delim
38777 XWIN_MULTIWINDOWEXTWM_TRUE!$XWIN_MULTIWINDOWEXTWM_TRUE$ac_delim
38778 XWIN_MULTIWINDOWEXTWM_FALSE!$XWIN_MULTIWINDOWEXTWM_FALSE$ac_delim
38779 XWIN_CLIPBOARD_TRUE!$XWIN_CLIPBOARD_TRUE$ac_delim
38780 XWIN_CLIPBOARD_FALSE!$XWIN_CLIPBOARD_FALSE$ac_delim
38781 XWIN_GLX_WINDOWS_TRUE!$XWIN_GLX_WINDOWS_TRUE$ac_delim
38782 XWIN_GLX_WINDOWS_FALSE!$XWIN_GLX_WINDOWS_FALSE$ac_delim
38783 XWIN_NATIVEGDI_TRUE!$XWIN_NATIVEGDI_TRUE$ac_delim
38784 XWIN_NATIVEGDI_FALSE!$XWIN_NATIVEGDI_FALSE$ac_delim
38785 XWIN_PRIMARYFB_TRUE!$XWIN_PRIMARYFB_TRUE$ac_delim
38786 XWIN_PRIMARYFB_FALSE!$XWIN_PRIMARYFB_FALSE$ac_delim
38787 XWIN_RANDR_TRUE!$XWIN_RANDR_TRUE$ac_delim
38788 XWIN_RANDR_FALSE!$XWIN_RANDR_FALSE$ac_delim
38789 XWIN_XV_TRUE!$XWIN_XV_TRUE$ac_delim
38790 XWIN_XV_FALSE!$XWIN_XV_FALSE$ac_delim
38791 HAVE_X_PLUGIN_TRUE!$HAVE_X_PLUGIN_TRUE$ac_delim
38792 HAVE_X_PLUGIN_FALSE!$HAVE_X_PLUGIN_FALSE$ac_delim
38793 HAVE_AGL_FRAMEWORK_TRUE!$HAVE_AGL_FRAMEWORK_TRUE$ac_delim
38794 HAVE_AGL_FRAMEWORK_FALSE!$HAVE_AGL_FRAMEWORK_FALSE$ac_delim
38795 OBJC!$OBJC$ac_delim
38796 OBJCCLD!$OBJCCLD$ac_delim
38797 OBJCLINK!$OBJCLINK$ac_delim
38798 OBJCFLAGS!$OBJCFLAGS$ac_delim
38799 OBJCDEPMODE!$OBJCDEPMODE$ac_delim
38800 am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
38801 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
38802 KDRIVE_TRUE!$KDRIVE_TRUE$ac_delim
38803 KDRIVE_FALSE!$KDRIVE_FALSE$ac_delim
38804 XEPHYR_CFLAGS!$XEPHYR_CFLAGS$ac_delim
38805 XEPHYR_LIBS!$XEPHYR_LIBS$ac_delim
38806 TSLIB_CFLAGS!$TSLIB_CFLAGS$ac_delim
38807 TSLIB_LIBS!$TSLIB_LIBS$ac_delim
38808 XEPHYR_INCS!$XEPHYR_INCS$ac_delim
38809 XSDL_LIBS!$XSDL_LIBS$ac_delim
38810 XSDL_INCS!$XSDL_INCS$ac_delim
38811 KDRIVE_INCS!$KDRIVE_INCS$ac_delim
38812 KDRIVE_PURE_INCS!$KDRIVE_PURE_INCS$ac_delim
38813 KDRIVE_CFLAGS!$KDRIVE_CFLAGS$ac_delim
38814 KDRIVE_PURE_LIBS!$KDRIVE_PURE_LIBS$ac_delim
38815 KDRIVE_LOCAL_LIBS!$KDRIVE_LOCAL_LIBS$ac_delim
38816 KDRIVE_LIBS!$KDRIVE_LIBS$ac_delim
38817 KDRIVELINUX_TRUE!$KDRIVELINUX_TRUE$ac_delim
38818 KDRIVELINUX_FALSE!$KDRIVELINUX_FALSE$ac_delim
38819 TSLIB_TRUE!$TSLIB_TRUE$ac_delim
38820 TSLIB_FALSE!$TSLIB_FALSE$ac_delim
38821 H3600_TS_TRUE!$H3600_TS_TRUE$ac_delim
38822 H3600_TS_FALSE!$H3600_TS_FALSE$ac_delim
38823 KDRIVEVESA_TRUE!$KDRIVEVESA_TRUE$ac_delim
38824 KDRIVEVESA_FALSE!$KDRIVEVESA_FALSE$ac_delim
38825 KDRIVEFBDEV_TRUE!$KDRIVEFBDEV_TRUE$ac_delim
38826 KDRIVEFBDEV_FALSE!$KDRIVEFBDEV_FALSE$ac_delim
38827 XSDLSERVER_TRUE!$XSDLSERVER_TRUE$ac_delim
38828 XSDLSERVER_FALSE!$XSDLSERVER_FALSE$ac_delim
38829 XEPHYR_TRUE!$XEPHYR_TRUE$ac_delim
38830 XEPHYR_FALSE!$XEPHYR_FALSE$ac_delim
38831 BUILD_KDRIVEFBDEVLIB_TRUE!$BUILD_KDRIVEFBDEVLIB_TRUE$ac_delim
38832 BUILD_KDRIVEFBDEVLIB_FALSE!$BUILD_KDRIVEFBDEVLIB_FALSE$ac_delim
38833 XFAKESERVER_TRUE!$XFAKESERVER_TRUE$ac_delim
38834 XFAKESERVER_FALSE!$XFAKESERVER_FALSE$ac_delim
38835 XKB_BASE_DIRECTORY!$XKB_BASE_DIRECTORY$ac_delim
38836 XKB_BIN_DIRECTORY!$XKB_BIN_DIRECTORY$ac_delim
38837 XKM_OUTPUT_DIR!$XKM_OUTPUT_DIR$ac_delim
38838 XKB_COMPILED_DIR!$XKB_COMPILED_DIR$ac_delim
38839 PROJECTROOT!$PROJECTROOT$ac_delim
38840 XORGCONFIG_DEP_CFLAGS!$XORGCONFIG_DEP_CFLAGS$ac_delim
38841 XORGCONFIG_DEP_LIBS!$XORGCONFIG_DEP_LIBS$ac_delim
38842 XORGCFG_DEP_CFLAGS!$XORGCFG_DEP_CFLAGS$ac_delim
38843 XORGCFG_DEP_LIBS!$XORGCFG_DEP_LIBS$ac_delim
38844 APPDEFAULTDIR!$APPDEFAULTDIR$ac_delim
38845 BUILD_XORGCFG_TRUE!$BUILD_XORGCFG_TRUE$ac_delim
38846 BUILD_XORGCFG_FALSE!$BUILD_XORGCFG_FALSE$ac_delim
38847 USE_CURSES_TRUE!$USE_CURSES_TRUE$ac_delim
38848 USE_CURSES_FALSE!$USE_CURSES_FALSE$ac_delim
38849 BUILD_KBD_MODE_TRUE!$BUILD_KBD_MODE_TRUE$ac_delim
38852 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38854 elif $ac_last_try; then
38855 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38856 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38857 { (exit 1); exit 1; }; }
38859 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
38863 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38864 if test -n "$ac_eof"; then
38865 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
38866 ac_eof
=`expr $ac_eof + 1`
38869 cat >>$CONFIG_STATUS <<_ACEOF
38870 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
38871 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38874 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38875 s/^/s,@/; s/!/@,|#_!!_#|/
38878 s/'"$ac_delim"'$/,g/; t
38880 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38881 ' >>$CONFIG_STATUS <conf$
$subs.
sed
38882 rm -f conf$
$subs.
sed
38883 cat >>$CONFIG_STATUS <<_ACEOF
38889 for ac_last_try
in false false false false false
:; do
38890 cat >conf$
$subs.
sed <<_ACEOF
38891 BUILD_KBD_MODE_FALSE!$BUILD_KBD_MODE_FALSE$ac_delim
38892 BSD_KBD_MODE_TRUE!$BSD_KBD_MODE_TRUE$ac_delim
38893 BSD_KBD_MODE_FALSE!$BSD_KBD_MODE_FALSE$ac_delim
38894 SUN_KBD_MODE_TRUE!$SUN_KBD_MODE_TRUE$ac_delim
38895 SUN_KBD_MODE_FALSE!$SUN_KBD_MODE_FALSE$ac_delim
38896 BUILD_DATE!$BUILD_DATE$ac_delim
38897 BUILD_TIME!$BUILD_TIME$ac_delim
38898 DIX_CFLAGS!$DIX_CFLAGS$ac_delim
38899 libdir!$libdir$ac_delim
38900 exec_prefix!$exec_prefix$ac_delim
38901 prefix!$prefix$ac_delim
38902 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
38903 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
38904 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
38905 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
38906 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
38907 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
38908 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
38909 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
38910 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
38911 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
38912 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
38913 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
38914 LIBOBJS!$LIBOBJS$ac_delim
38915 LTLIBOBJS!$LTLIBOBJS$ac_delim
38918 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
38920 elif $ac_last_try; then
38921 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38922 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38923 { (exit 1); exit 1; }; }
38925 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
38929 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38930 if test -n "$ac_eof"; then
38931 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
38932 ac_eof
=`expr $ac_eof + 1`
38935 cat >>$CONFIG_STATUS <<_ACEOF
38936 cat >"\$tmp/subs-6.sed" <<\CEOF$ac_eof
38937 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
38940 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38941 s/^/s,@/; s/!/@,|#_!!_#|/
38944 s/'"$ac_delim"'$/,g/; t
38946 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38947 ' >>$CONFIG_STATUS <conf$
$subs.
sed
38948 rm -f conf$
$subs.
sed
38949 cat >>$CONFIG_STATUS <<_ACEOF
38956 # VPATH may cause trouble with some makes, so we remove $(srcdir),
38957 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38958 # trailing colons and then remove the whole line if VPATH becomes empty
38959 # (actually we leave an empty line to preserve line numbers).
38960 if test "x$srcdir" = x.
; then
38961 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
38962 s/:*\$(srcdir):*/:/
38963 s/:*\${srcdir}:*/:/
38965 s/^\([^=]*=[ ]*\):*/\1/
38971 cat >>$CONFIG_STATUS <<\_ACEOF
38972 fi # test -n "$CONFIG_FILES"
38975 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
38978 :[FHLC
]) ac_mode
=$ac_tag; continue;;
38980 case $ac_mode$ac_tag in
38982 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
38983 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
38984 { (exit 1); exit 1; }; };;
38985 :[FH
]-) ac_tag
=-:-;;
38986 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
39003 -) ac_f
="$tmp/stdin";;
39004 *) # Look for the file first in the build tree, then in the source tree
39005 # (if the path is not absolute). The absolute path cannot be DOS-style,
39006 # because $ac_f cannot contain `:'.
39010 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
39012 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
39013 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
39014 { (exit 1); exit 1; }; };;
39016 ac_file_inputs
="$ac_file_inputs $ac_f"
39019 # Let's still pretend it is `configure' which instantiates (i.e., don't
39020 # use $as_me), people would be surprised to read:
39021 # /* config.h. Generated by config.status. */
39022 configure_input
="Generated from "`IFS=:
39023 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
39024 if test x
"$ac_file" != x-
; then
39025 configure_input
="$ac_file. $configure_input"
39026 { echo "$as_me:$LINENO: creating $ac_file" >&5
39027 echo "$as_me: creating $ac_file" >&6;}
39031 *:-:* |
*:-) cat >"$tmp/stdin";;
39036 ac_dir
=`$as_dirname -- "$ac_file" ||
39037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39038 X"$ac_file" : 'X\(//\)[^/]' \| \
39039 X"$ac_file" : 'X\(//\)$' \| \
39040 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
39042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39046 /^X\(\/\/\)[^/].*/{
39061 -*) as_dir
=.
/$as_dir;;
39063 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
39067 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
39068 *) as_qdir
=$as_dir;;
39070 as_dirs
="'$as_qdir' $as_dirs"
39071 as_dir
=`$as_dirname -- "$as_dir" ||
39072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39073 X"$as_dir" : 'X\(//\)[^/]' \| \
39074 X"$as_dir" : 'X\(//\)$' \| \
39075 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
39077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39081 /^X\(\/\/\)[^/].*/{
39094 test -d "$as_dir" && break
39096 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
39097 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
39098 echo "$as_me: error: cannot create directory $as_dir" >&2;}
39099 { (exit 1); exit 1; }; }; }
39103 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
39105 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
39106 # A ".." for each directory in $ac_dir_suffix.
39107 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
39108 case $ac_top_builddir_sub in
39109 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
39110 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
39113 ac_abs_top_builddir
=$ac_pwd
39114 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
39115 # for backward compatibility:
39116 ac_top_builddir
=$ac_top_build_prefix
39119 .
) # We are building in place.
39121 ac_top_srcdir
=$ac_top_builddir_sub
39122 ac_abs_top_srcdir
=$ac_pwd ;;
39123 [\\/]* | ?
:[\\/]* ) # Absolute name.
39124 ac_srcdir
=$srcdir$ac_dir_suffix;
39125 ac_top_srcdir
=$srcdir
39126 ac_abs_top_srcdir
=$srcdir ;;
39127 *) # Relative name.
39128 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
39129 ac_top_srcdir
=$ac_top_build_prefix$srcdir
39130 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
39132 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
39142 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
39143 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
39145 ac_MKDIR_P
=$MKDIR_P
39147 [\\/$
]* | ?
:[\\/]* ) ;;
39148 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
39152 cat >>$CONFIG_STATUS <<\_ACEOF
39153 # If the template does not know about datarootdir, expand it.
39154 # FIXME: This hack should be removed a few years after 2.60.
39155 ac_datarootdir_hack
=; ac_datarootdir_seen
=
39157 case `sed -n '/datarootdir/ {
39166 ' $ac_file_inputs` in
39167 *datarootdir
*) ac_datarootdir_seen
=yes;;
39168 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
39169 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
39170 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
39172 cat >>$CONFIG_STATUS <<_ACEOF
39173 ac_datarootdir_hack='
39174 s&@datadir@&$datadir&g
39175 s&@docdir@&$docdir&g
39176 s&@infodir@&$infodir&g
39177 s&@localedir@&$localedir&g
39178 s&@mandir@&$mandir&g
39179 s&\\\${datarootdir}&$datarootdir&g' ;;
39183 # Neutralize VPATH when `$srcdir' = `.'.
39184 # Shell code in configure.ac might set extrasub.
39185 # FIXME: do we really want to maintain this feature?
39186 cat >>$CONFIG_STATUS <<_ACEOF
39190 cat >>$CONFIG_STATUS <<\_ACEOF
39192 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
39193 s
&@configure_input@
&$configure_input&;t t
39194 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
39195 s
&@srcdir@
&$ac_srcdir&;t t
39196 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
39197 s
&@top_srcdir@
&$ac_top_srcdir&;t t
39198 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
39199 s
&@builddir@
&$ac_builddir&;t t
39200 s
&@abs_builddir@
&$ac_abs_builddir&;t t
39201 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
39202 s
&@INSTALL@
&$ac_INSTALL&;t t
39203 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
39204 $ac_datarootdir_hack
39205 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" | sed -f "$tmp/subs-4.
sed" | sed -f "$tmp/subs-5.
sed" | sed -f "$tmp/subs-6.
sed" >$tmp/out
39207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
39208 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
39209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
39210 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
39211 which seems to be undefined. Please make sure it is defined." >&5
39212 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
39213 which seems to be undefined. Please make sure it is defined." >&2;}
39217 -) cat "$tmp/out"; rm -f "$tmp/out";;
39218 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
39227 # Transform confdefs.h into a sed script `conftest.defines', that
39228 # substitutes the proper values into config.h.in to produce config.h.
39229 rm -f conftest.defines conftest.
tail
39230 # First, append a space to every undef/define line, to ease matching.
39231 echo 's/$/ /' >conftest.defines
39232 # Then, protect against being on the right side of a sed subst, or in
39233 # an unquoted here document, in config.status. If some macros were
39234 # called several times there might be several #defines for the same
39235 # symbol, which is useless. But do not sort them, since the last
39236 # AC_DEFINE must be honored.
39237 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
39238 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
39239 # NAME is the cpp macro being defined, VALUE is the value it is being given.
39240 # PARAMS is the parameter list in the macro definition--in most cases, it's
39241 # just an empty string.
39242 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
39243 ac_dB
='\\)[ (].*,\\1define\\2'
39251 s/^[ ]*#[ ]*define[ ][ ]*//
39256 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
39257 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
39258 ' >>conftest.defines
39260 # Remove the space that was appended to ease matching.
39261 # Then replace #undef with comments. This is necessary, for
39262 # example, in the case of _POSIX_SOURCE, which is predefined and required
39263 # on some systems where configure will not decide to define it.
39264 # (The regexp can be short, since the line contains either #define or #undef.)
39266 s,^[ #]*u.*,/* & */,' >>conftest.defines
39268 # Break up conftest.defines:
39269 ac_max_sed_lines
=50
39271 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
39272 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
39273 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
39275 ac_in
='$ac_file_inputs'
39276 ac_out
='"$tmp/out1"'
39277 ac_nxt
='"$tmp/out2"'
39281 # Write a here document:
39282 cat >>$CONFIG_STATUS <<_ACEOF
39283 # First, check the format of the line:
39284 cat >"\$tmp/defines.sed" <<\\CEOF
39285 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
39286 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
39290 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
39292 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
39293 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
39294 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
39295 grep . conftest.
tail >/dev
/null ||
break
39296 rm -f conftest.defines
39297 mv conftest.
tail conftest.defines
39299 rm -f conftest.defines conftest.
tail
39301 echo "ac_result=$ac_in" >>$CONFIG_STATUS
39302 cat >>$CONFIG_STATUS <<\_ACEOF
39303 if test x
"$ac_file" != x-
; then
39304 echo "/* $configure_input */" >"$tmp/config.h"
39305 cat "$ac_result" >>"$tmp/config.h"
39306 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
39307 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
39308 echo "$as_me: $ac_file is unchanged" >&6;}
39311 mv "$tmp/config.h" $ac_file
39314 echo "/* $configure_input */"
39318 # Compute $ac_file's index in $config_headers.
39320 for _am_header
in $config_headers :; do
39321 case $_am_header in
39322 $ac_file |
$ac_file:* )
39325 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
39328 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
39329 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39330 X$ac_file : 'X\(//\)[^/]' \| \
39331 X$ac_file : 'X\(//\)$' \| \
39332 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
39334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39338 /^X\(\/\/\)[^/].*/{
39350 s/.*/./; q'`/stamp-h
$_am_stamp_count
39353 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
39354 echo "$as_me: executing $ac_file commands" >&6;}
39359 case $ac_file$ac_mode in
39360 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
39361 # Strip MF so we end up with the name of the file.
39362 mf
=`echo "$mf" | sed -e 's/:.*$//'`
39363 # Check whether this is an Automake generated Makefile or not.
39364 # We used to match only the files named `Makefile.in', but
39365 # some people rename them; so instead we look at the file content.
39366 # Grep'ing the first line is not enough: some people post-process
39367 # each Makefile.in and add a new line on top of each file to say so.
39368 # Grep'ing the whole file is not good either: AIX grep has a line
39369 # limit of 2048, but all sed's we know have understand at least 4000.
39370 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
39371 dirpart
=`$as_dirname -- "$mf" ||
39372 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39373 X"$mf" : 'X\(//\)[^/]' \| \
39374 X"$mf" : 'X\(//\)$' \| \
39375 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
39377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39381 /^X\(\/\/\)[^/].*/{
39397 # Extract the definition of DEPDIR, am__include, and am__quote
39398 # from the Makefile without running `make'.
39399 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
39400 test -z "$DEPDIR" && continue
39401 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
39402 test -z "am__include" && continue
39403 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
39404 # When using ansi2knr, U may be empty or an underscore; expand it
39405 U
=`sed -n 's/^U = //p' < "$mf"`
39406 # Find all dependency output files, they are included files with
39407 # $(DEPDIR) in their names. We invoke sed twice because it is the
39408 # simplest approach to changing $(DEPDIR) to its actual value in the
39410 for file in `sed -n "
39411 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
39412 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
39413 # Make sure the directory exists.
39414 test -f "$dirpart/$file" && continue
39415 fdir
=`$as_dirname -- "$file" ||
39416 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39417 X"$file" : 'X\(//\)[^/]' \| \
39418 X"$file" : 'X\(//\)$' \| \
39419 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
39421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39425 /^X\(\/\/\)[^/].*/{
39438 { as_dir
=$dirpart/$fdir
39440 -*) as_dir
=.
/$as_dir;;
39442 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
39446 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
39447 *) as_qdir
=$as_dir;;
39449 as_dirs
="'$as_qdir' $as_dirs"
39450 as_dir
=`$as_dirname -- "$as_dir" ||
39451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39452 X"$as_dir" : 'X\(//\)[^/]' \| \
39453 X"$as_dir" : 'X\(//\)$' \| \
39454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
39456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39460 /^X\(\/\/\)[^/].*/{
39473 test -d "$as_dir" && break
39475 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
39476 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
39477 echo "$as_me: error: cannot create directory $as_dir" >&2;}
39478 { (exit 1); exit 1; }; }; }
39479 # echo "creating $dirpart/$file"
39480 echo '# dummy' > "$dirpart/$file"
39489 { (exit 0); exit 0; }
39491 chmod +x
$CONFIG_STATUS
39492 ac_clean_files
=$ac_clean_files_save
39495 # configure is writing to config.log, and then calls config.status.
39496 # config.status does its own redirection, appending to config.log.
39497 # Unfortunately, on DOS this fails, as config.log is still kept open
39498 # by configure, so config.status won't be able to write to it; its
39499 # output is simply discarded. So we exec the FD to /dev/null,
39500 # effectively closing config.log, so it can be properly (re)opened and
39501 # appended to by config.status. When coming back to configure, we
39502 # need to make the FD available again.
39503 if test "$no_create" != yes; then
39505 ac_config_status_args
=
39506 test "$silent" = yes &&
39507 ac_config_status_args
="$ac_config_status_args --quiet"
39509 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
39511 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
39512 # would make configure fail if this is the last instruction.
39513 $ac_cs_success ||
{ (exit 1); exit 1; }