2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for xf86-video-intel 2.15.0.
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
703 PACKAGE_NAME='xf86-video-intel'
704 PACKAGE_TARNAME='xf86-video-intel'
705 PACKAGE_VERSION='2.15.0'
706 PACKAGE_STRING='xf86-video-intel 2.15.0'
707 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
710 ac_unique_file="Makefile.am"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
747 ac_subst_vars='am__EXEEXT_FALSE
842 MAINTAINER_MODE_FALSE
852 INSTALL_STRIP_PROGRAM
894 program_transform_name
907 enable_option_checking
908 enable_maintainer_mode
910 enable_dependency_tracking
911 enable_strict_compilation
924 ac_precious_vars='build_alias
952 # Initialize some variables set by options.
954 ac_init_version=false
955 ac_unrecognized_opts=
957 # The variables have the same names as the options, with
958 # dashes changed to underlines.
966 program_transform_name=s,x,x,
974 # Installation directory options.
975 # These are left unexpanded so users can "make install exec_prefix=/foo"
976 # and all the variables that are supposed to be based on exec_prefix
977 # by default will actually change.
978 # Use braces instead of parens because sh, perl, etc. also accept them.
979 # (The list follows the same order as the GNU Coding Standards.)
980 bindir='${exec_prefix}/bin'
981 sbindir='${exec_prefix}/sbin'
982 libexecdir='${exec_prefix}/libexec'
983 datarootdir='${prefix}/share'
984 datadir='${datarootdir}'
985 sysconfdir='${prefix}/etc'
986 sharedstatedir='${prefix}/com'
987 localstatedir='${prefix}/var'
988 includedir='${prefix}/include'
989 oldincludedir='/usr/include'
990 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
991 infodir='${datarootdir}/info'
996 libdir='${exec_prefix}/lib'
997 localedir='${datarootdir}/locale'
998 mandir='${datarootdir}/man'
1004 # If the previous option needs an argument, assign it.
1005 if test -n "$ac_prev"; then
1006 eval $ac_prev=\$ac_option
1012 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1025 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1026 bindir=$ac_optarg ;;
1028 -build | --build | --buil | --bui | --bu)
1029 ac_prev=build_alias ;;
1030 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1031 build_alias=$ac_optarg ;;
1033 -cache-file | --cache-file | --cache-fil | --cache-fi \
1034 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1035 ac_prev=cache_file ;;
1036 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1037 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1038 cache_file=$ac_optarg ;;
1040 --config-cache | -C)
1041 cache_file=config.cache ;;
1043 -datadir | --datadir | --datadi | --datad)
1045 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1046 datadir=$ac_optarg ;;
1048 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1049 | --dataroo | --dataro | --datar)
1050 ac_prev=datarootdir ;;
1051 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1052 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1053 datarootdir=$ac_optarg ;;
1055 -disable-* | --disable-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid feature name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "enable_$ac_useropt"
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval enable_$ac_useropt=no ;;
1071 -docdir | --docdir | --docdi | --doc | --do)
1073 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1074 docdir=$ac_optarg ;;
1076 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1078 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1079 dvidir=$ac_optarg ;;
1081 -enable-* | --enable-*)
1082 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 as_fn_error $? "invalid feature name: $ac_useropt"
1086 ac_useropt_orig=$ac_useropt
1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1090 "enable_$ac_useropt"
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1095 eval enable_$ac_useropt=\$ac_optarg ;;
1097 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1098 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1099 | --exec | --exe | --ex)
1100 ac_prev=exec_prefix ;;
1101 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1102 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1103 | --exec=* | --exe=* | --ex=*)
1104 exec_prefix=$ac_optarg ;;
1106 -gas | --gas | --ga | --g)
1107 # Obsolete; use --with-gas.
1110 -help | --help | --hel | --he | -h)
1111 ac_init_help=long ;;
1112 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1113 ac_init_help=recursive ;;
1114 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1115 ac_init_help=short ;;
1117 -host | --host | --hos | --ho)
1118 ac_prev=host_alias ;;
1119 -host=* | --host=* | --hos=* | --ho=*)
1120 host_alias=$ac_optarg ;;
1122 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1124 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1126 htmldir=$ac_optarg ;;
1128 -includedir | --includedir | --includedi | --included | --include \
1129 | --includ | --inclu | --incl | --inc)
1130 ac_prev=includedir ;;
1131 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1132 | --includ=* | --inclu=* | --incl=* | --inc=*)
1133 includedir=$ac_optarg ;;
1135 -infodir | --infodir | --infodi | --infod | --info | --inf)
1137 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1138 infodir=$ac_optarg ;;
1140 -libdir | --libdir | --libdi | --libd)
1142 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1143 libdir=$ac_optarg ;;
1145 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1146 | --libexe | --libex | --libe)
1147 ac_prev=libexecdir ;;
1148 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1149 | --libexe=* | --libex=* | --libe=*)
1150 libexecdir=$ac_optarg ;;
1152 -localedir | --localedir | --localedi | --localed | --locale)
1153 ac_prev=localedir ;;
1154 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1155 localedir=$ac_optarg ;;
1157 -localstatedir | --localstatedir | --localstatedi | --localstated \
1158 | --localstate | --localstat | --localsta | --localst | --locals)
1159 ac_prev=localstatedir ;;
1160 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1161 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1162 localstatedir=$ac_optarg ;;
1164 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1166 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1167 mandir=$ac_optarg ;;
1169 -nfp | --nfp | --nf)
1170 # Obsolete; use --without-fp.
1173 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1174 | --no-cr | --no-c | -n)
1177 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1178 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1182 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1183 | --oldin | --oldi | --old | --ol | --o)
1184 ac_prev=oldincludedir ;;
1185 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1186 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1187 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1188 oldincludedir=$ac_optarg ;;
1190 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1192 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1193 prefix=$ac_optarg ;;
1195 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1196 | --program-pre | --program-pr | --program-p)
1197 ac_prev=program_prefix ;;
1198 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1199 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1200 program_prefix=$ac_optarg ;;
1202 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1203 | --program-suf | --program-su | --program-s)
1204 ac_prev=program_suffix ;;
1205 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1206 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1207 program_suffix=$ac_optarg ;;
1209 -program-transform-name | --program-transform-name \
1210 | --program-transform-nam | --program-transform-na \
1211 | --program-transform-n | --program-transform- \
1212 | --program-transform | --program-transfor \
1213 | --program-transfo | --program-transf \
1214 | --program-trans | --program-tran \
1215 | --progr-tra | --program-tr | --program-t)
1216 ac_prev=program_transform_name ;;
1217 -program-transform-name=* | --program-transform-name=* \
1218 | --program-transform-nam=* | --program-transform-na=* \
1219 | --program-transform-n=* | --program-transform-=* \
1220 | --program-transform=* | --program-transfor=* \
1221 | --program-transfo=* | --program-transf=* \
1222 | --program-trans=* | --program-tran=* \
1223 | --progr-tra=* | --program-tr=* | --program-t=*)
1224 program_transform_name=$ac_optarg ;;
1226 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1228 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1229 pdfdir=$ac_optarg ;;
1231 -psdir | --psdir | --psdi | --psd | --ps)
1233 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1240 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1242 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1244 sbindir=$ac_optarg ;;
1246 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1247 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1248 | --sharedst | --shareds | --shared | --share | --shar \
1250 ac_prev=sharedstatedir ;;
1251 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1252 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1253 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1255 sharedstatedir=$ac_optarg ;;
1257 -site | --site | --sit)
1259 -site=* | --site=* | --sit=*)
1262 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1264 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1265 srcdir=$ac_optarg ;;
1267 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1268 | --syscon | --sysco | --sysc | --sys | --sy)
1269 ac_prev=sysconfdir ;;
1270 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1271 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1272 sysconfdir=$ac_optarg ;;
1274 -target | --target | --targe | --targ | --tar | --ta | --t)
1275 ac_prev=target_alias ;;
1276 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1277 target_alias=$ac_optarg ;;
1279 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282 -version | --version | --versio | --versi | --vers | -V)
1283 ac_init_version=: ;;
1286 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1289 as_fn_error $? "invalid package name: $ac_useropt"
1290 ac_useropt_orig=$ac_useropt
1291 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1297 ac_unrecognized_sep=', ';;
1299 eval with_$ac_useropt=\$ac_optarg ;;
1301 -without-* | --without-*)
1302 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1303 # Reject names that are not valid shell variable names.
1304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1305 as_fn_error $? "invalid package name: $ac_useropt"
1306 ac_useropt_orig=$ac_useropt
1307 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308 case $ac_user_opts in
1312 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1313 ac_unrecognized_sep=', ';;
1315 eval with_$ac_useropt=no ;;
1318 # Obsolete; use --with-x.
1321 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1322 | --x-incl | --x-inc | --x-in | --x-i)
1323 ac_prev=x_includes ;;
1324 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1325 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1326 x_includes=$ac_optarg ;;
1328 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1329 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1330 ac_prev=x_libraries ;;
1331 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1332 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1333 x_libraries=$ac_optarg ;;
1335 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1336 Try \`$0 --help' for more information"
1340 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1341 # Reject names that are not valid shell variable names.
1342 case $ac_envvar in #(
1343 '' | [0-9]* | *[!_$as_cr_alnum]* )
1344 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1346 eval $ac_envvar=\$ac_optarg
1347 export $ac_envvar ;;
1350 # FIXME: should be removed in autoconf 3.0.
1351 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1352 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1353 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1354 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1360 if test -n "$ac_prev"; then
1361 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1362 as_fn_error $? "missing argument to $ac_option"
1365 if test -n "$ac_unrecognized_opts"; then
1366 case $enable_option_checking in
1368 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1369 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1373 # Check all directory arguments for consistency.
1374 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1375 datadir sysconfdir sharedstatedir localstatedir includedir \
1376 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1377 libdir localedir mandir
1379 eval ac_val=\$$ac_var
1380 # Remove trailing slashes.
1383 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1384 eval $ac_var=\$ac_val;;
1386 # Be sure to have absolute directory names.
1388 [\\/$]* | ?:[\\/]* ) continue;;
1389 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1391 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1394 # There might be people who depend on the old broken behavior: `$host'
1395 # used to hold the argument of --host etc.
1396 # FIXME: To remove some day.
1399 target=$target_alias
1401 # FIXME: To remove some day.
1402 if test "x$host_alias" != x; then
1403 if test "x$build_alias" = x; then
1404 cross_compiling=maybe
1405 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1406 If a cross compiler is detected then cross compile mode will be used" >&2
1407 elif test "x$build_alias" != "x$host_alias"; then
1413 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1415 test "$silent" = yes && exec 6>/dev/null
1418 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1419 ac_ls_di=`ls -di .` &&
1420 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1421 as_fn_error $? "working directory cannot be determined"
1422 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1423 as_fn_error $? "pwd does not report name of working directory"
1426 # Find the source files, if location was not specified.
1427 if test -z "$srcdir"; then
1428 ac_srcdir_defaulted=yes
1429 # Try the directory containing this script, then the parent directory.
1430 ac_confdir=`$as_dirname -- "$as_myself" ||
1431 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1432 X"$as_myself" : 'X\(//\)[^/]' \| \
1433 X"$as_myself" : 'X\(//\)$' \| \
1434 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1435 $as_echo X"$as_myself" |
1436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1458 ac_srcdir_defaulted=no
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1461 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1462 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1464 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1468 # When building in place, set srcdir=.
1469 if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 # Remove unnecessary trailing slashes from srcdir.
1473 # Double slashes in file names in object file debugging info
1474 # mess up M-x gdb in Emacs.
1476 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1478 for ac_var in $ac_precious_vars; do
1479 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1480 eval ac_env_${ac_var}_value=\$${ac_var}
1481 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1482 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1486 # Report the --help message.
1488 if test "$ac_init_help" = "long"; then
1489 # Omit some internal or obsolete options to make the list less imposing.
1490 # This message is too long to be a string in the A/UX 3.1 sh.
1492 \`configure' configures xf86-video-intel 2.15.0 to adapt to many kinds of systems.
1494 Usage: $0 [OPTION]... [VAR=VALUE]...
1496 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1497 VAR=VALUE. See below for descriptions of some of the useful variables.
1499 Defaults for the options are specified in brackets.
1502 -h, --help display this help and exit
1503 --help=short display options specific to this package
1504 --help=recursive display the short help of all the included packages
1505 -V, --version display version information and exit
1506 -q, --quiet, --silent do not print \`checking ...' messages
1507 --cache-file=FILE cache test results in FILE [disabled]
1508 -C, --config-cache alias for \`--cache-file=config.cache'
1509 -n, --no-create do not create output files
1510 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1512 Installation directories:
1513 --prefix=PREFIX install architecture-independent files in PREFIX
1514 [$ac_default_prefix]
1515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1518 By default, \`make install' will install all the files in
1519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1520 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1521 for instance \`--prefix=\$HOME'.
1523 For better control, use the options below.
1525 Fine tuning of the installation directories:
1526 --bindir=DIR user executables [EPREFIX/bin]
1527 --sbindir=DIR system admin executables [EPREFIX/sbin]
1528 --libexecdir=DIR program executables [EPREFIX/libexec]
1529 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1530 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1531 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1532 --libdir=DIR object code libraries [EPREFIX/lib]
1533 --includedir=DIR C header files [PREFIX/include]
1534 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1535 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1536 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1537 --infodir=DIR info documentation [DATAROOTDIR/info]
1538 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1539 --mandir=DIR man documentation [DATAROOTDIR/man]
1540 --docdir=DIR documentation root
1541 [DATAROOTDIR/doc/xf86-video-intel]
1542 --htmldir=DIR html documentation [DOCDIR]
1543 --dvidir=DIR dvi documentation [DOCDIR]
1544 --pdfdir=DIR pdf documentation [DOCDIR]
1545 --psdir=DIR ps documentation [DOCDIR]
1551 --program-prefix=PREFIX prepend PREFIX to installed program names
1552 --program-suffix=SUFFIX append SUFFIX to installed program names
1553 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1556 --build=BUILD configure for building on BUILD [guessed]
1557 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1561 if test -n "$ac_init_help"; then
1562 case $ac_init_help in
1563 short | recursive ) echo "Configuration of xf86-video-intel 2.15.0:";;
1568 --disable-option-checking ignore unrecognized --enable/--with options
1569 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1570 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1571 --disable-maintainer-mode disable make rules and dependencies not useful
1572 (and sometimes confusing) to the casual installer
1573 --enable-silent-rules less verbose build output (undo: `make V=1')
1574 --disable-silent-rules verbose build output (undo: `make V=0')
1575 --disable-dependency-tracking speeds up one-time build
1576 --enable-dependency-tracking do not reject slow dependency extractors
1577 --enable-strict-compilation
1578 Enable all warnings from compiler and make them
1579 errors (default: disabled)
1580 --enable-static[=PKGS] build static libraries [default=no]
1581 --enable-shared[=PKGS] build shared libraries [default=yes]
1582 --enable-fast-install[=PKGS]
1583 optimize for fast installation [default=yes]
1584 --disable-libtool-lock avoid locking (might break parallel builds)
1585 --disable-dri Disable DRI support [[default=auto]]
1586 --disable-xvmc Disable XvMC support [[default=yes]]
1587 --enable-kms-only Assume KMS support [[default=no]]
1588 --enable-debug Enables internal debugging [[default=yes]]
1591 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1592 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1593 --with-pic try to use only PIC/non-PIC objects [default=use
1595 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1596 --with-xorg-module-dir=DIR
1597 Default xorg module directory
1598 [[default=$libdir/xorg/modules]]
1600 Some influential environment variables:
1601 CC C compiler command
1602 CFLAGS C compiler flags
1603 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1604 nonstandard directory <lib dir>
1605 LIBS libraries to pass to the linker, e.g. -l<library>
1606 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1607 you have headers in a nonstandard directory <include dir>
1609 PKG_CONFIG path to pkg-config utility
1611 directories to add to pkg-config's search path
1613 path overriding pkg-config's built-in search path
1615 C compiler flags for GEN4ASM, overriding pkg-config
1617 linker flags for GEN4ASM, overriding pkg-config
1618 UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1619 UDEV_LIBS linker flags for UDEV, overriding pkg-config
1620 XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
1621 XORG_LIBS linker flags for XORG, overriding pkg-config
1622 DRM_CFLAGS C compiler flags for DRM, overriding pkg-config
1623 DRM_LIBS linker flags for DRM, overriding pkg-config
1625 C compiler flags for PCIACCESS, overriding pkg-config
1627 linker flags for PCIACCESS, overriding pkg-config
1628 DRI_CFLAGS C compiler flags for DRI, overriding pkg-config
1629 DRI_LIBS linker flags for DRI, overriding pkg-config
1631 C compiler flags for XVMCLIB, overriding pkg-config
1633 linker flags for XVMCLIB, overriding pkg-config
1635 Use these variables to override the choices made by `configure' or to help
1636 it to find libraries and programs with nonstandard names/locations.
1638 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1662 ac_abs_top_builddir=$ac_pwd
1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir=$ac_top_build_prefix
1668 .) # We are building in place.
1670 ac_top_srcdir=$ac_top_builddir_sub
1671 ac_abs_top_srcdir=$ac_pwd ;;
1672 [\\/]* | ?:[\\/]* ) # Absolute name.
1673 ac_srcdir=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir=$srcdir
1675 ac_abs_top_srcdir=$srcdir ;;
1677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1683 cd "$ac_dir" || { ac_status=$?; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1694 cd "$ac_pwd" || { ac_status=$?; break; }
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1701 xf86-video-intel configure 2.15.0
1702 generated by GNU Autoconf 2.67
1704 Copyright (C) 2010 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 as_fn_set_status $ac_retval
1751 } # ac_fn_c_try_compile
1753 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1754 # ---------------------------------------------
1755 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1757 ac_fn_c_check_decl ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 as_decl_name=`echo $2|sed 's/ *(.*//'`
1761 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1763 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1764 if eval "test \"\${$3+set}\"" = set; then :
1765 $as_echo_n "(cached) " >&6
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1773 #ifndef $as_decl_name
1775 (void) $as_decl_use;
1777 (void) $as_decl_name;
1785 if ac_fn_c_try_compile "$LINENO"; then :
1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1797 } # ac_fn_c_check_decl
1799 # ac_fn_c_try_cpp LINENO
1800 # ----------------------
1801 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_cpp conftest.$ac_ext"
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } > conftest.i && {
1821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 as_fn_set_status $ac_retval
1836 # ac_fn_c_try_run LINENO
1837 # ----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1839 # that executables *can* be run.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 if { { ac_try="$ac_link"
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>&5
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1854 { { case "(($ac_try" in
1855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_try") 2>&5
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; }; }; then :
1866 $as_echo "$as_me: program exited with status $ac_status" >&5
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1870 ac_retval=$ac_status
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 as_fn_set_status $ac_retval
1878 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists and can be compiled using the include files in
1881 # INCLUDES, setting the cache variable VAR accordingly.
1882 ac_fn_c_check_header_compile ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if eval "test \"\${$3+set}\"" = set; then :
1888 $as_echo_n "(cached) " >&6
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1895 if ac_fn_c_try_compile "$LINENO"; then :
1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 } # ac_fn_c_check_header_compile
1909 # ac_fn_c_try_link LINENO
1910 # -----------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 rm -f conftest.$ac_objext conftest$ac_exeext
1916 if { { ac_try="$ac_link"
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>conftest.err
1925 if test -s conftest.err; then
1926 grep -v '^ *+' conftest.err >conftest.er1
1927 cat conftest.er1 >&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_c_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest$ac_exeext && {
1935 test "$cross_compiling" = yes ||
1936 $as_test_x conftest$ac_exeext
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947 # interfere with the next link command; also delete a directory that is
1948 # left behind by Apple's compiler. We do this before executing the actions.
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 as_fn_set_status $ac_retval
1953 } # ac_fn_c_try_link
1955 # ac_fn_c_check_func LINENO FUNC VAR
1956 # ----------------------------------
1957 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1958 ac_fn_c_check_func ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if eval "test \"\${$3+set}\"" = set; then :
1964 $as_echo_n "(cached) " >&6
1966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1968 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1970 #define $2 innocuous_$2
1972 /* System header to define __stub macros and hopefully few prototypes,
1973 which can conflict with char $2 (); below.
1974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1975 <limits.h> exists even on freestanding compilers. */
1978 # include <limits.h>
1980 # include <assert.h>
1985 /* Override any GCC internal prototype to avoid an error.
1986 Use char because int might match the return type of a GCC
1987 builtin and then its argument prototype would still apply. */
1992 /* The GNU C library defines this for functions which it implements
1993 to always fail with ENOSYS. Some functions are actually named
1994 something starting with __ and the normal name is an alias. */
1995 #if defined __stub_$2 || defined __stub___$2
2007 if ac_fn_c_try_link "$LINENO"; then :
2012 rm -f core conftest.err conftest.$ac_objext \
2013 conftest$ac_exeext conftest.$ac_ext
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017 $as_echo "$ac_res" >&6; }
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020 } # ac_fn_c_check_func
2021 cat >config.log <<_ACEOF
2022 This file contains any messages produced by compilers while
2023 running configure, to aid debugging if configure makes a mistake.
2025 It was created by xf86-video-intel $as_me 2.15.0, which was
2026 generated by GNU Autoconf 2.67. Invocation command line was
2038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2050 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 $as_echo "PATH: $as_dir"
2078 # Keep a trace of the command line.
2079 # Strip out --no-create and --no-recursion so they do not pile up.
2080 # Strip out --silent because we don't want to record it for future runs.
2081 # Also quote any args containing shell meta-characters.
2082 # Make two passes to allow for proper duplicate-argument suppression.
2086 ac_must_keep_next=false
2092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094 | -silent | --silent | --silen | --sile | --sil)
2097 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2100 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2102 as_fn_append ac_configure_args1 " '$ac_arg'"
2103 if test $ac_must_keep_next = true; then
2104 ac_must_keep_next=false # Got value, back to normal.
2107 *=* | --config-cache | -C | -disable-* | --disable-* \
2108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2110 | -with-* | --with-* | -without-* | --without-* | --x)
2111 case "$ac_configure_args0 " in
2112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2115 -* ) ac_must_keep_next=true ;;
2118 as_fn_append ac_configure_args " '$ac_arg'"
2123 { ac_configure_args0=; unset ac_configure_args0;}
2124 { ac_configure_args1=; unset ac_configure_args1;}
2126 # When interrupted or exit'd, cleanup temporary files, and complete
2127 # config.log. We remove comments because anyway the quotes in there
2128 # would cause problems or look ugly.
2129 # WARNING: Use '\'' to represent an apostrophe within the trap.
2130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2131 trap 'exit_status=$?
2132 # Save into config.log some information that might help in debugging.
2136 $as_echo "## ---------------- ##
2137 ## Cache variables. ##
2138 ## ---------------- ##"
2140 # The following way of writing the cache mishandles newlines in values,
2142 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2143 eval ac_val=\$$ac_var
2147 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2151 _ | IFS | as_nl) ;; #(
2152 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2153 *) { eval $ac_var=; unset $ac_var;} ;;
2158 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2159 *${as_nl}ac_space=\ *)
2161 "s/'\''/'\''\\\\'\'''\''/g;
2162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2172 $as_echo "## ----------------- ##
2173 ## Output variables. ##
2174 ## ----------------- ##"
2176 for ac_var in $ac_subst_vars
2178 eval ac_val=\$$ac_var
2180 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 $as_echo "$ac_var='\''$ac_val'\''"
2186 if test -n "$ac_subst_files"; then
2187 $as_echo "## ------------------- ##
2188 ## File substitutions. ##
2189 ## ------------------- ##"
2191 for ac_var in $ac_subst_files
2193 eval ac_val=\$$ac_var
2195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 $as_echo "$ac_var='\''$ac_val'\''"
2202 if test -s confdefs.h; then
2203 $as_echo "## ----------- ##
2210 test "$ac_signal" != 0 &&
2211 $as_echo "$as_me: caught signal $ac_signal"
2212 $as_echo "$as_me: exit $exit_status"
2214 rm -f core *.core core.conftest.* &&
2215 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2218 for ac_signal in 1 2 13 15; do
2219 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2224 rm -f -r conftest* confdefs.h
2226 $as_echo "/* confdefs.h */" > confdefs.h
2228 # Predefined preprocessor variables.
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_NAME "$PACKAGE_NAME"
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_STRING "$PACKAGE_STRING"
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_URL "$PACKAGE_URL"
2255 # Let the site file select an alternate cache file if it wants to.
2256 # Prefer an explicitly selected file to automatically selected ones.
2259 if test -n "$CONFIG_SITE"; then
2260 # We do not want a PATH search for config.site.
2261 case $CONFIG_SITE in #((
2262 -*) ac_site_file1=./$CONFIG_SITE;;
2263 */*) ac_site_file1=$CONFIG_SITE;;
2264 *) ac_site_file1=./$CONFIG_SITE;;
2266 elif test "x$prefix" != xNONE; then
2267 ac_site_file1=$prefix/share/config.site
2268 ac_site_file2=$prefix/etc/config.site
2270 ac_site_file1=$ac_default_prefix/share/config.site
2271 ac_site_file2=$ac_default_prefix/etc/config.site
2273 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2275 test "x$ac_site_file" = xNONE && continue
2276 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2278 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2279 sed 's/^/| /' "$ac_site_file" >&5
2281 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 as_fn_error $? "failed to load site script $ac_site_file
2284 See \`config.log' for more details" "$LINENO" 5 ; }
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special files
2290 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2291 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2293 $as_echo "$as_me: loading cache $cache_file" >&6;}
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2301 $as_echo "$as_me: creating cache $cache_file" >&6;}
2305 # Check that the precious variables saved in the cache have kept the same
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2320 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 # differences in whitespace do not lead to failure.
2326 ac_old_val_w=`echo x $ac_old_val`
2327 ac_new_val_w=`echo x $ac_new_val`
2328 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2330 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2331 ac_cache_corrupted=:
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2334 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2335 eval $ac_var=\$ac_old_val
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2338 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2340 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2346 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg=$ac_var=$ac_new_val ;;
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2355 if $ac_cache_corrupted; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2359 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2360 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2362 ## -------------------- ##
2363 ## Main body of script. ##
2364 ## -------------------- ##
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2374 ac_config_headers="$ac_config_headers config.h"
2377 for ac_dir in build-aux "$srcdir"/build-aux; do
2378 if test -f "$ac_dir/install-sh"; then
2380 ac_install_sh="$ac_aux_dir/install-sh -c"
2382 elif test -f "$ac_dir/install.sh"; then
2384 ac_install_sh="$ac_aux_dir/install.sh -c"
2386 elif test -f "$ac_dir/shtool"; then
2388 ac_install_sh="$ac_aux_dir/shtool install -c"
2392 if test -z "$ac_aux_dir"; then
2393 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2396 # These three variables are undocumented and unsupported,
2397 # and are intended to be withdrawn in a future Autoconf release.
2398 # They can cause serious problems if a builder's source tree is in a directory
2399 # whose full name contains unusual characters.
2400 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2401 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2402 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2407 # Initialize Automake
2408 am__api_version='1.11'
2410 # Find a good install program. We prefer a C program (faster),
2411 # so one script is as good as another. But avoid the broken or
2412 # incompatible versions:
2413 # SysV /etc/install, /usr/sbin/install
2414 # SunOS /usr/etc/install
2415 # IRIX /sbin/install
2417 # AmigaOS /C/install, which installs bootblocks on floppy discs
2418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2421 # OS/2's system install, which has a completely different semantic
2422 # ./install, which can be erroneously created by make from ./install.sh.
2423 # Reject install programs that cannot install multiple files.
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2425 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2426 if test -z "$INSTALL"; then
2427 if test "${ac_cv_path_install+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 # Account for people who put trailing slashes in PATH elements.
2436 case $as_dir/ in #((
2437 ./ | .// | /[cC]/* | \
2438 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2439 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2442 # OSF1 and SCO ODT 3.0 have their own names for install.
2443 # Don't use installbsd from OSF since it installs stuff as root
2445 for ac_prog in ginstall scoinst install; do
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2448 if test $ac_prog = install &&
2449 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2450 # AIX install. It has an incompatible calling convention.
2452 elif test $ac_prog = install &&
2453 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454 # program-specific install script used by HP pwplus--don't use.
2457 rm -rf conftest.one conftest.two conftest.dir
2458 echo one > conftest.one
2459 echo two > conftest.two
2461 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2462 test -s conftest.one && test -s conftest.two &&
2463 test -s conftest.dir/conftest.one &&
2464 test -s conftest.dir/conftest.two
2466 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2479 rm -rf conftest.one conftest.two conftest.dir
2482 if test "${ac_cv_path_install+set}" = set; then
2483 INSTALL=$ac_cv_path_install
2485 # As a last resort, use the slow shell script. Don't cache a
2486 # value for INSTALL within a source directory, because that will
2487 # break other packages using the cache if that directory is
2488 # removed, or if the value is a relative name.
2489 INSTALL=$ac_install_sh
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2493 $as_echo "$INSTALL" >&6; }
2495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2496 # It thinks the first close brace ends the variable substitution.
2497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2501 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2504 $as_echo_n "checking whether build environment is sane... " >&6; }
2507 echo timestamp > conftest.file
2508 # Reject unsafe characters in $srcdir or the absolute working directory
2509 # name. Accept space and tab only in the latter.
2513 *[\\\"\#\$\&\'\`$am_lf]*)
2514 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2517 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2518 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2521 # Do `set' in a subshell so we don't clobber the current shell's
2522 # arguments. Must try -L first in case configure is actually a
2523 # symlink; some systems play weird games with the mod time of symlinks
2524 # (eg FreeBSD returns the mod time of the symlink's containing
2527 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2528 if test "$*" = "X"; then
2530 set X `ls -t "$srcdir/configure" conftest.file`
2533 if test "$*" != "X $srcdir/configure conftest.file" \
2534 && test "$*" != "X conftest.file $srcdir/configure"; then
2536 # If neither matched, then we have a broken ls. This can happen
2537 # if, for instance, CONFIG_SHELL is bash and it inherits a
2538 # broken ls alias from the environment. This has actually
2539 # happened. Such a system could not be considered "sane".
2540 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2541 alias in your environment" "$LINENO" 5
2544 test "$2" = conftest.file
2550 as_fn_error $? "newly created file is older than distributed files!
2551 Check your system clock" "$LINENO" 5
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2554 $as_echo "yes" >&6; }
2555 test "$program_prefix" != NONE &&
2556 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2557 # Use a double $ so make ignores it.
2558 test "$program_suffix" != NONE &&
2559 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2560 # Double any \ or $.
2561 # By default was `s,x,x', remove it if useless.
2562 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2563 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2565 # expand $ac_aux_dir to an absolute path
2566 am_aux_dir=`cd $ac_aux_dir && pwd`
2568 if test x"${MISSING+set}" != xset; then
2571 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2573 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2576 # Use eval to expand $SHELL
2577 if eval "$MISSING --run true"; then
2578 am_missing_run="$MISSING --run "
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2582 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2585 if test x"${install_sh}" != xset; then
2588 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2590 install_sh="\${SHELL} $am_aux_dir/install-sh"
2594 # Installed binaries are usually stripped using `strip' when the user
2595 # run `make install-strip'. However `strip' might not be the right
2596 # tool to use in cross-compilation environments, therefore Automake
2597 # will honor the `STRIP' environment variable to overrule this program.
2598 if test "$cross_compiling" != no; then
2599 if test -n "$ac_tool_prefix"; then
2600 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2601 set dummy ${ac_tool_prefix}strip; ac_word=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if test "${ac_cv_prog_STRIP+set}" = set; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$STRIP"; then
2608 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 STRIP=$ac_cv_prog_STRIP
2628 if test -n "$STRIP"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2630 $as_echo "$STRIP" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2638 if test -z "$ac_cv_prog_STRIP"; then
2640 # Extract the first word of "strip", so it can be a program name with args.
2641 set dummy strip; ac_word=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$ac_ct_STRIP"; then
2648 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_ac_ct_STRIP="strip"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2668 if test -n "$ac_ct_STRIP"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2670 $as_echo "$ac_ct_STRIP" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2676 if test "x$ac_ct_STRIP" = x; then
2679 case $cross_compiling:$ac_tool_warned in
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2683 ac_tool_warned=yes ;;
2688 STRIP="$ac_cv_prog_STRIP"
2692 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2695 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2696 if test -z "$MKDIR_P"; then
2697 if test "${ac_cv_path_mkdir+set}" = set; then :
2698 $as_echo_n "(cached) " >&6
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2704 test -z "$as_dir" && as_dir=.
2705 for ac_prog in mkdir gmkdir; do
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2708 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2709 'mkdir (GNU coreutils) '* | \
2710 'mkdir (coreutils) '* | \
2711 'mkdir (fileutils) '4.1*)
2712 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2722 test -d ./--version && rmdir ./--version
2723 if test "${ac_cv_path_mkdir+set}" = set; then
2724 MKDIR_P="$ac_cv_path_mkdir -p"
2726 # As a last resort, use the slow shell script. Don't cache a
2727 # value for MKDIR_P within a source directory, because that will
2728 # break other packages using the cache if that directory is
2729 # removed, or if the value is a relative name.
2730 MKDIR_P="$ac_install_sh -d"
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2734 $as_echo "$MKDIR_P" >&6; }
2738 [\\/$]* | ?:[\\/]*) ;;
2739 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2742 for ac_prog in gawk mawk nawk awk
2744 # Extract the first word of "$ac_prog", so it can be a program name with args.
2745 set dummy $ac_prog; ac_word=$2
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747 $as_echo_n "checking for $ac_word... " >&6; }
2748 if test "${ac_cv_prog_AWK+set}" = set; then :
2749 $as_echo_n "(cached) " >&6
2751 if test -n "$AWK"; then
2752 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 ac_cv_prog_AWK="$ac_prog"
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 if test -n "$AWK"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2774 $as_echo "$AWK" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2781 test -n "$AWK" && break
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2785 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2787 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2789 $as_echo_n "(cached) " >&6
2791 cat >conftest.make <<\_ACEOF
2794 @echo '@@@%%%=$(MAKE)=@@@%%%'
2796 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2797 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2799 eval ac_cv_prog_make_${ac_make}_set=yes;;
2801 eval ac_cv_prog_make_${ac_make}_set=no;;
2805 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2807 $as_echo "yes" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2812 SET_MAKE="MAKE=${MAKE-make}"
2815 rm -rf .tst 2>/dev/null
2816 mkdir .tst 2>/dev/null
2817 if test -d .tst; then
2822 rmdir .tst 2>/dev/null
2824 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2825 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2826 # is not polluted with repeated "-I."
2827 am__isrc=' -I$(srcdir)'
2828 # test to see if srcdir already configured
2829 if test -f $srcdir/config.status; then
2830 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2834 # test whether we have cygpath
2835 if test -z "$CYGPATH_W"; then
2836 if (cygpath --version) >/dev/null 2>/dev/null; then
2837 CYGPATH_W='cygpath -w'
2844 # Define the identity of the package.
2845 PACKAGE='xf86-video-intel'
2849 cat >>confdefs.h <<_ACEOF
2850 #define PACKAGE "$PACKAGE"
2854 cat >>confdefs.h <<_ACEOF
2855 #define VERSION "$VERSION"
2858 # Some tools Automake needs.
2860 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2863 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2866 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2869 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2872 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2874 # We need awk for the "check" target. The system "awk" is bad on
2876 # Always define AMTAR for backward compatibility.
2878 AMTAR=${AMTAR-"${am_missing_run}tar"}
2880 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2888 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2889 # Check whether --enable-maintainer-mode was given.
2890 if test "${enable_maintainer_mode+set}" = set; then :
2891 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2893 USE_MAINTAINER_MODE=yes
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2898 if test $USE_MAINTAINER_MODE = yes; then
2899 MAINTAINER_MODE_TRUE=
2900 MAINTAINER_MODE_FALSE='#'
2902 MAINTAINER_MODE_TRUE='#'
2903 MAINTAINER_MODE_FALSE=
2906 MAINT=$MAINTAINER_MODE_TRUE
2910 # Support silent build rules, requires at least automake-1.11. Disable
2911 # by either passing --disable-silent-rules to configure or passing V=1
2913 # Check whether --enable-silent-rules was given.
2914 if test "${enable_silent_rules+set}" = set; then :
2915 enableval=$enable_silent_rules;
2918 case $enable_silent_rules in
2919 yes) AM_DEFAULT_VERBOSITY=0;;
2920 no) AM_DEFAULT_VERBOSITY=1;;
2921 *) AM_DEFAULT_VERBOSITY=0;;
2926 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2939 DEPDIR="${am__leading_dot}deps"
2941 ac_config_commands="$ac_config_commands depfiles"
2944 am_make=${MAKE-make}
2945 cat > confinc << 'END'
2947 @echo this is the am__doit target
2950 # If we don't find an include directive, just comment out the code.
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2952 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2956 # First try GNU make style include.
2957 echo "include confinc" > confmf
2958 # Ignore all kinds of additional output from `make'.
2959 case `$am_make -s -f confmf 2> /dev/null` in #(
2960 *the\ am__doit\ target*)
2966 # Now try BSD make style include.
2967 if test "$am__include" = "#"; then
2968 echo '.include "confinc"' > confmf
2969 case `$am_make -s -f confmf 2> /dev/null` in #(
2970 *the\ am__doit\ target*)
2971 am__include=.include
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2980 $as_echo "$_am_result" >&6; }
2981 rm -f confinc confmf
2983 # Check whether --enable-dependency-tracking was given.
2984 if test "${enable_dependency_tracking+set}" = set; then :
2985 enableval=$enable_dependency_tracking;
2988 if test "x$enable_dependency_tracking" != xno; then
2989 am_depcomp="$ac_aux_dir/depcomp"
2992 if test "x$enable_dependency_tracking" != xno; then
3002 ac_cpp='$CPP $CPPFLAGS'
3003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if test "${ac_cv_prog_CC+set}" = set; then :
3012 $as_echo_n "(cached) " >&6
3014 if test -n "$CC"; then
3015 ac_cv_prog_CC="$CC" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 if test -n "$CC"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3037 $as_echo "$CC" >&6; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3045 if test -z "$ac_cv_prog_CC"; then
3047 # Extract the first word of "gcc", so it can be a program name with args.
3048 set dummy gcc; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$ac_ct_CC"; then
3055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_ac_ct_CC="gcc"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3074 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3075 if test -n "$ac_ct_CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3077 $as_echo "$ac_ct_CC" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3083 if test "x$ac_ct_CC" = x; then
3086 case $cross_compiling:$ac_tool_warned in
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3090 ac_tool_warned=yes ;;
3098 if test -z "$CC"; then
3099 if test -n "$ac_tool_prefix"; then
3100 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3101 set dummy ${ac_tool_prefix}cc; ac_word=$2
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103 $as_echo_n "checking for $ac_word... " >&6; }
3104 if test "${ac_cv_prog_CC+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3107 if test -n "$CC"; then
3108 ac_cv_prog_CC="$CC" # Let the user override the test.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117 ac_cv_prog_CC="${ac_tool_prefix}cc"
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 if test -n "$CC"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130 $as_echo "$CC" >&6; }
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133 $as_echo "no" >&6; }
3139 if test -z "$CC"; then
3140 # Extract the first word of "cc", so it can be a program name with args.
3141 set dummy cc; ac_word=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if test "${ac_cv_prog_CC+set}" = set; then :
3145 $as_echo_n "(cached) " >&6
3147 if test -n "$CC"; then
3148 ac_cv_prog_CC="$CC" # Let the user override the test.
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3159 ac_prog_rejected=yes
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 if test $ac_prog_rejected = yes; then
3171 # We found a bogon in the path, so make sure we never use it.
3172 set dummy $ac_cv_prog_CC
3174 if test $# != 0; then
3175 # We chose a different compiler from the bogus one.
3176 # However, it has the same basename, so the bogon will be chosen
3177 # first if we set CC to just the basename; use the full file name.
3179 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3185 if test -n "$CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187 $as_echo "$CC" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3195 if test -z "$CC"; then
3196 if test -n "$ac_tool_prefix"; then
3197 for ac_prog in cl.exe
3199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3200 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202 $as_echo_n "checking for $ac_word... " >&6; }
3203 if test "${ac_cv_prog_CC+set}" = set; then :
3204 $as_echo_n "(cached) " >&6
3206 if test -n "$CC"; then
3207 ac_cv_prog_CC="$CC" # Let the user override the test.
3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir=.
3214 for ac_exec_ext in '' $ac_executable_extensions; do
3215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3216 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 if test -n "$CC"; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3229 $as_echo "$CC" >&6; }
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232 $as_echo "no" >&6; }
3236 test -n "$CC" && break
3239 if test -z "$CC"; then
3241 for ac_prog in cl.exe
3243 # Extract the first word of "$ac_prog", so it can be a program name with args.
3244 set dummy $ac_prog; ac_word=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3248 $as_echo_n "(cached) " >&6
3250 if test -n "$ac_ct_CC"; then
3251 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir=.
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260 ac_cv_prog_ac_ct_CC="$ac_prog"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3271 if test -n "$ac_ct_CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3273 $as_echo "$ac_ct_CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3280 test -n "$ac_ct_CC" && break
3283 if test "x$ac_ct_CC" = x; then
3286 case $cross_compiling:$ac_tool_warned in
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290 ac_tool_warned=yes ;;
3299 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 as_fn_error $? "no acceptable C compiler found in \$PATH
3302 See \`config.log' for more details" "$LINENO" 5 ; }
3304 # Provide some information about the compiler.
3305 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3308 for ac_option in --version -v -V -qversion; do
3309 { { ac_try="$ac_compiler $ac_option >&5"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3318 if test -s conftest.err; then
3320 ... rest of stderr output deleted ...
3321 10q' conftest.err >conftest.er1
3322 cat conftest.er1 >&5
3324 rm -f conftest.er1 conftest.err
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 ac_clean_files_save=$ac_clean_files
3341 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3342 # Try to create an executable without -o first, disregard a.out.
3343 # It will help us diagnose broken compilers, and finding out an intuition
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3346 $as_echo_n "checking whether the C compiler works... " >&6; }
3347 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3349 # The possible output files:
3350 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3353 for ac_file in $ac_files
3356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3357 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3362 if { { ac_try="$ac_link_default"
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_link_default") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3374 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3375 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3376 # so that the user can short-circuit this test for compilers unknown to
3378 for ac_file in $ac_files ''
3380 test -f "$ac_file" || continue
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3385 # We found the default executable, but exeext='' is most
3389 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3391 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3393 # We set ac_cv_exeext here because the later test for it is not
3394 # safe: cross compilers may not add the suffix if given an `-o'
3395 # argument, so we may need to know it at that point already.
3396 # Even if this section looks crufty: it has the advantage of
3403 test "$ac_cv_exeext" = no && ac_cv_exeext=
3408 if test -z "$ac_file"; then :
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3411 $as_echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416 as_fn_error 77 "C compiler cannot create executables
3417 See \`config.log' for more details" "$LINENO" 5 ; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3420 $as_echo "yes" >&6; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3423 $as_echo_n "checking for C compiler default output file name... " >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3425 $as_echo "$ac_file" >&6; }
3426 ac_exeext=$ac_cv_exeext
3428 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3429 ac_clean_files=$ac_clean_files_save
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3431 $as_echo_n "checking for suffix of executables... " >&6; }
3432 if { { ac_try="$ac_link"
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_link") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }; then :
3443 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3444 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3445 # work properly (i.e., refer to `conftest.exe'), while it won't with
3447 for ac_file in conftest.exe conftest conftest.*; do
3448 test -f "$ac_file" || continue
3450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3451 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3460 See \`config.log' for more details" "$LINENO" 5 ; }
3462 rm -f conftest conftest$ac_cv_exeext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3464 $as_echo "$ac_cv_exeext" >&6; }
3466 rm -f conftest.$ac_ext
3467 EXEEXT=$ac_cv_exeext
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3475 FILE *f = fopen ("conftest.out", "w");
3476 return ferror (f) || fclose (f) != 0;
3482 ac_clean_files="$ac_clean_files conftest.out"
3483 # Check that the compiler produces executables we can run. If not, either
3484 # the compiler is broken, or we cross compile.
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3486 $as_echo_n "checking whether we are cross compiling... " >&6; }
3487 if test "$cross_compiling" != yes; then
3488 { { ac_try="$ac_link"
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494 $as_echo "$ac_try_echo"; } >&5
3495 (eval "$ac_link") 2>&5
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }
3499 if { ac_try='./conftest$ac_cv_exeext'
3500 { { case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3505 $as_echo "$ac_try_echo"; } >&5
3506 (eval "$ac_try") 2>&5
3508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3509 test $ac_status = 0; }; }; then
3512 if test "$cross_compiling" = maybe; then
3515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3517 as_fn_error $? "cannot run C compiled programs.
3518 If you meant to cross compile, use \`--host'.
3519 See \`config.log' for more details" "$LINENO" 5 ; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3524 $as_echo "$cross_compiling" >&6; }
3526 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3527 ac_clean_files=$ac_clean_files_save
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3529 $as_echo_n "checking for suffix of object files... " >&6; }
3530 if test "${ac_cv_objext+set}" = set; then :
3531 $as_echo_n "(cached) " >&6
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 rm -f conftest.o conftest.obj
3545 if { { ac_try="$ac_compile"
3547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551 $as_echo "$ac_try_echo"; } >&5
3552 (eval "$ac_compile") 2>&5
3554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555 test $ac_status = 0; }; then :
3556 for ac_file in conftest.o conftest.obj conftest.*; do
3557 test -f "$ac_file" || continue;
3559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3560 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570 as_fn_error $? "cannot compute suffix of object files: cannot compile
3571 See \`config.log' for more details" "$LINENO" 5 ; }
3573 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3576 $as_echo "$ac_cv_objext" >&6; }
3577 OBJEXT=$ac_cv_objext
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3580 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3581 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3598 if ac_fn_c_try_compile "$LINENO"; then :
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3608 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3609 if test $ac_compiler_gnu = yes; then
3614 ac_test_CFLAGS=${CFLAGS+set}
3615 ac_save_CFLAGS=$CFLAGS
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3617 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3618 if test "${ac_cv_prog_cc_g+set}" = set; then :
3619 $as_echo_n "(cached) " >&6
3621 ac_save_c_werror_flag=$ac_c_werror_flag
3622 ac_c_werror_flag=yes
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 if ac_fn_c_try_compile "$LINENO"; then :
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3651 if ac_fn_c_try_compile "$LINENO"; then :
3654 ac_c_werror_flag=$ac_save_c_werror_flag
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3667 if ac_fn_c_try_compile "$LINENO"; then :
3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 ac_c_werror_flag=$ac_save_c_werror_flag
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3678 $as_echo "$ac_cv_prog_cc_g" >&6; }
3679 if test "$ac_test_CFLAGS" = set; then
3680 CFLAGS=$ac_save_CFLAGS
3681 elif test $ac_cv_prog_cc_g = yes; then
3682 if test "$GCC" = yes; then
3688 if test "$GCC" = yes; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3695 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3696 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3697 $as_echo_n "(cached) " >&6
3699 ac_cv_prog_cc_c89=no
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3705 #include <sys/types.h>
3706 #include <sys/stat.h>
3707 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3708 struct buf { int x; };
3709 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3710 static char *e (p, i)
3716 static char *f (char * (*g) (char **, int), char **p, ...)
3721 s = g (p, va_arg (v,int));
3726 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3727 function prototypes and stuff, but not '\xHH' hex character constants.
3728 These don't provoke an error unfortunately, instead are silently treated
3729 as 'x'. The following induces an error, until -std is added to get
3730 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3731 array size at least. It's necessary to write '\x00'==0 to get something
3732 that's true only with -std. */
3733 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3735 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3736 inside strings and character constants. */
3738 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3740 int test (int i, double x);
3741 struct s1 {int (*f) (int a);};
3742 struct s2 {int (*f) (double a);};
3743 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3749 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3754 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3755 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3757 CC="$ac_save_CC $ac_arg"
3758 if ac_fn_c_try_compile "$LINENO"; then :
3759 ac_cv_prog_cc_c89=$ac_arg
3761 rm -f core conftest.err conftest.$ac_objext
3762 test "x$ac_cv_prog_cc_c89" != "xno" && break
3764 rm -f conftest.$ac_ext
3769 case "x$ac_cv_prog_cc_c89" in
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3772 $as_echo "none needed" >&6; } ;;
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3775 $as_echo "unsupported" >&6; } ;;
3777 CC="$CC $ac_cv_prog_cc_c89"
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3779 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3781 if test "x$ac_cv_prog_cc_c89" != xno; then :
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791 depcc="$CC" am_compiler_list=
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3794 $as_echo_n "checking dependency style of $depcc... " >&6; }
3795 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799 # We make a subdir and do the tests there. Otherwise we can end up
3800 # making bogus files that we don't know about and never remove. For
3801 # instance it was reported that on HP-UX the gcc test will end up
3802 # making a dummy file named `D' -- because `-MD' means `put the output
3805 # Copy depcomp to subdir because otherwise we won't find it if we're
3806 # using a relative directory.
3807 cp "$am_depcomp" conftest.dir
3809 # We will build objects and dependencies in a subdirectory because
3810 # it helps to detect inapplicable dependency modes. For instance
3811 # both Tru64's cc and ICC support -MD to output dependencies as a
3812 # side effect of compilation, but ICC will put the dependencies in
3813 # the current directory while Tru64 will put them in the object
3817 am_cv_CC_dependencies_compiler_type=none
3818 if test "$am_compiler_list" = ""; then
3819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3822 case " $depcc " in #(
3823 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3826 for depmode in $am_compiler_list; do
3827 # Setup a source with many dependencies, because some compilers
3828 # like to wrap large dependency lists on column 80 (with \), and
3829 # we should not choose a depcomp mode which is confused by this.
3831 # We need to recreate these files for each test, as the compiler may
3832 # overwrite some of them when testing with obscure command lines.
3833 # This happens at least with the AIX C compiler.
3835 for i in 1 2 3 4 5 6; do
3836 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3837 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3838 # Solaris 8's {/usr,}/bin/sh.
3839 touch sub/conftst$i.h
3841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3843 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3844 # mode. It turns out that the SunPro C++ compiler does not properly
3845 # handle `-M -o', and we need to detect this. Also, some Intel
3846 # versions had trouble with output in subdirs
3847 am__obj=sub/conftest.${OBJEXT-o}
3848 am__minus_obj="-o $am__obj"
3851 # This depmode causes a compiler race in universal mode.
3852 test "$am__universal" = false || continue
3855 # after this tag, mechanisms are not by side-effect, so they'll
3856 # only be used when explicitly requested
3857 if test "x$enable_dependency_tracking" = xyes; then
3863 msvisualcpp | msvcmsys)
3864 # This compiler won't grok `-c -o', but also, the minuso test has
3865 # not run yet. These depmodes are late enough in the game, and
3866 # so weak that their functioning should not be impacted.
3867 am__obj=conftest.${OBJEXT-o}
3872 if depmode=$depmode \
3873 source=sub/conftest.c object=$am__obj \
3874 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3875 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3876 >/dev/null 2>conftest.err &&
3877 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3878 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3879 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3880 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3881 # icc doesn't choke on unknown options, it will just issue warnings
3882 # or remarks (even with -Werror). So we grep stderr for any message
3883 # that says an option was ignored or not supported.
3884 # When given -MP, icc 7.0 and 7.1 complain thusly:
3885 # icc: Command line warning: ignoring option '-M'; no argument required
3886 # The diagnosis changed in icc 8.0:
3887 # icc: Command line remark: option '-MP' not supported
3888 if (grep 'ignoring option' conftest.err ||
3889 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3890 am_cv_CC_dependencies_compiler_type=$depmode
3899 am_cv_CC_dependencies_compiler_type=none
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3904 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3905 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908 test "x$enable_dependency_tracking" != xno \
3909 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3911 am__fastdepCC_FALSE='#'
3913 am__fastdepCC_TRUE='#'
3914 am__fastdepCC_FALSE=
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3919 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3920 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3921 $as_echo_n "(cached) " >&6
3923 ac_cv_prog_cc_c99=no
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3928 #include <stdbool.h>
3933 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3934 #define debug(...) fprintf (stderr, __VA_ARGS__)
3935 #define showlist(...) puts (#__VA_ARGS__)
3936 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3938 test_varargs_macros (void)
3943 debug ("X = %d\n", x);
3944 showlist (The first, second, and third items.);
3945 report (x>y, "x is %d but y is %d", x, y);
3948 // Check long long types.
3949 #define BIG64 18446744073709551615ull
3950 #define BIG32 4294967295ul
3951 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3953 your preprocessor is broken;
3957 your preprocessor is broken;
3959 static long long int bignum = -9223372036854775807LL;
3960 static unsigned long long int ubignum = BIG64;
3962 struct incomplete_array
3970 const wchar_t *name;
3974 typedef const char *ccp;
3977 test_restrict (ccp restrict text)
3979 // See if C++-style comments work.
3980 // Iterate through items via the restricted pointer.
3981 // Also check for declarations in for loops.
3982 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3987 // Check varargs and va_copy.
3989 test_varargs (const char *format, ...)
3992 va_start (args, format);
3994 va_copy (args_copy, args);
4005 str = va_arg (args_copy, const char *);
4008 number = va_arg (args_copy, int);
4011 fnumber = va_arg (args_copy, double);
4026 _Bool success = false;
4029 if (test_restrict ("String literal") == 0)
4031 char *restrict newvar = "Another string";
4034 test_varargs ("s, d' f .", "string", 65, 34.234);
4035 test_varargs_macros ();
4037 // Check flexible array members.
4038 struct incomplete_array *ia =
4039 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4041 for (int i = 0; i < ia->datasize; ++i)
4042 ia->data[i] = i * 1.234;
4044 // Check named initializers.
4045 struct named_init ni = {
4047 .name = L"Test wide string",
4048 .average = 543.34343,
4053 int dynamic_array[ni.number];
4054 dynamic_array[ni.number - 1] = 543;
4056 // work around unused variable warnings
4057 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4058 || dynamic_array[ni.number - 1] != 543);
4064 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4066 CC="$ac_save_CC $ac_arg"
4067 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_cv_prog_cc_c99=$ac_arg
4070 rm -f core conftest.err conftest.$ac_objext
4071 test "x$ac_cv_prog_cc_c99" != "xno" && break
4073 rm -f conftest.$ac_ext
4078 case "x$ac_cv_prog_cc_c99" in
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4081 $as_echo "none needed" >&6; } ;;
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4084 $as_echo "unsupported" >&6; } ;;
4086 CC="$CC $ac_cv_prog_cc_c99"
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4088 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4090 if test "x$ac_cv_prog_cc_c99" != xno; then :
4097 ac_cpp='$CPP $CPPFLAGS'
4098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4102 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4103 # On Suns, sometimes $CPP names a directory.
4104 if test -n "$CPP" && test -d "$CPP"; then
4107 if test -z "$CPP"; then
4108 if test "${ac_cv_prog_CPP+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 # Double quotes because CPP needs to be expanded
4112 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4115 for ac_c_preproc_warn_flag in '' yes
4117 # Use a header file that comes with gcc, so configuring glibc
4118 # with a fresh cross-compiler works.
4119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4120 # <limits.h> exists even on freestanding compilers.
4121 # On the NeXT, cc -E runs the code through the compiler's parser,
4122 # not just through cpp. "Syntax error" is here to catch this case.
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4126 # include <limits.h>
4128 # include <assert.h>
4132 if ac_fn_c_try_cpp "$LINENO"; then :
4135 # Broken: fails on valid input.
4138 rm -f conftest.err conftest.i conftest.$ac_ext
4140 # OK, works on sane cases. Now check whether nonexistent headers
4141 # can be detected and how.
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4144 #include <ac_nonexistent.h>
4146 if ac_fn_c_try_cpp "$LINENO"; then :
4147 # Broken: success on invalid input.
4150 # Passes both tests.
4154 rm -f conftest.err conftest.i conftest.$ac_ext
4157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4158 rm -f conftest.i conftest.err conftest.$ac_ext
4159 if $ac_preproc_ok; then :
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4172 $as_echo "$CPP" >&6; }
4174 for ac_c_preproc_warn_flag in '' yes
4176 # Use a header file that comes with gcc, so configuring glibc
4177 # with a fresh cross-compiler works.
4178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4179 # <limits.h> exists even on freestanding compilers.
4180 # On the NeXT, cc -E runs the code through the compiler's parser,
4181 # not just through cpp. "Syntax error" is here to catch this case.
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4185 # include <limits.h>
4187 # include <assert.h>
4191 if ac_fn_c_try_cpp "$LINENO"; then :
4194 # Broken: fails on valid input.
4197 rm -f conftest.err conftest.i conftest.$ac_ext
4199 # OK, works on sane cases. Now check whether nonexistent headers
4200 # can be detected and how.
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4203 #include <ac_nonexistent.h>
4205 if ac_fn_c_try_cpp "$LINENO"; then :
4206 # Broken: success on invalid input.
4209 # Passes both tests.
4213 rm -f conftest.err conftest.i conftest.$ac_ext
4216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4217 rm -f conftest.i conftest.err conftest.$ac_ext
4218 if $ac_preproc_ok; then :
4221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4223 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4224 See \`config.log' for more details" "$LINENO" 5 ; }
4228 ac_cpp='$CPP $CPPFLAGS'
4229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4235 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4236 if test "${ac_cv_path_GREP+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4239 if test -z "$GREP"; then
4240 ac_path_GREP_found=false
4241 # Loop through the user's path and test for each of PROGNAME-LIST
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4246 test -z "$as_dir" && as_dir=.
4247 for ac_prog in grep ggrep; do
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4250 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4251 # Check for GNU ac_path_GREP and select it if it is found.
4252 # Check for GNU $ac_path_GREP
4253 case `"$ac_path_GREP" --version 2>&1` in
4255 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4258 $as_echo_n 0123456789 >"conftest.in"
4261 cat "conftest.in" "conftest.in" >"conftest.tmp"
4262 mv "conftest.tmp" "conftest.in"
4263 cp "conftest.in" "conftest.nl"
4264 $as_echo 'GREP' >> "conftest.nl"
4265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4266 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4267 as_fn_arith $ac_count + 1 && ac_count=$as_val
4268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4269 # Best one so far, save it but keep looking for a better one
4270 ac_cv_path_GREP="$ac_path_GREP"
4271 ac_path_GREP_max=$ac_count
4273 # 10*(2^10) chars as input seems more than enough
4274 test $ac_count -gt 10 && break
4276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4279 $ac_path_GREP_found && break 3
4284 if test -z "$ac_cv_path_GREP"; then
4285 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4288 ac_cv_path_GREP=$GREP
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4293 $as_echo "$ac_cv_path_GREP" >&6; }
4294 GREP="$ac_cv_path_GREP"
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4298 $as_echo_n "checking for egrep... " >&6; }
4299 if test "${ac_cv_path_EGREP+set}" = set; then :
4300 $as_echo_n "(cached) " >&6
4302 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4303 then ac_cv_path_EGREP="$GREP -E"
4305 if test -z "$EGREP"; then
4306 ac_path_EGREP_found=false
4307 # Loop through the user's path and test for each of PROGNAME-LIST
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4312 test -z "$as_dir" && as_dir=.
4313 for ac_prog in egrep; do
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4316 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4317 # Check for GNU ac_path_EGREP and select it if it is found.
4318 # Check for GNU $ac_path_EGREP
4319 case `"$ac_path_EGREP" --version 2>&1` in
4321 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4324 $as_echo_n 0123456789 >"conftest.in"
4327 cat "conftest.in" "conftest.in" >"conftest.tmp"
4328 mv "conftest.tmp" "conftest.in"
4329 cp "conftest.in" "conftest.nl"
4330 $as_echo 'EGREP' >> "conftest.nl"
4331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4332 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4333 as_fn_arith $ac_count + 1 && ac_count=$as_val
4334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4335 # Best one so far, save it but keep looking for a better one
4336 ac_cv_path_EGREP="$ac_path_EGREP"
4337 ac_path_EGREP_max=$ac_count
4339 # 10*(2^10) chars as input seems more than enough
4340 test $ac_count -gt 10 && break
4342 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4345 $ac_path_EGREP_found && break 3
4350 if test -z "$ac_cv_path_EGREP"; then
4351 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4354 ac_cv_path_EGREP=$EGREP
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4360 $as_echo "$ac_cv_path_EGREP" >&6; }
4361 EGREP="$ac_cv_path_EGREP"
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4365 $as_echo_n "checking for ANSI C header files... " >&6; }
4366 if test "${ac_cv_header_stdc+set}" = set; then :
4367 $as_echo_n "(cached) " >&6
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4384 if ac_fn_c_try_compile "$LINENO"; then :
4385 ac_cv_header_stdc=yes
4387 ac_cv_header_stdc=no
4389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4391 if test $ac_cv_header_stdc = yes; then
4392 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4399 $EGREP "memchr" >/dev/null 2>&1; then :
4402 ac_cv_header_stdc=no
4408 if test $ac_cv_header_stdc = yes; then
4409 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h. */
4415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4416 $EGREP "free" >/dev/null 2>&1; then :
4419 ac_cv_header_stdc=no
4425 if test $ac_cv_header_stdc = yes; then
4426 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4427 if test "$cross_compiling" = yes; then :
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4434 #if ((' ' & 0x0FF) == 0x020)
4435 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4436 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4438 # define ISLOWER(c) \
4439 (('a' <= (c) && (c) <= 'i') \
4440 || ('j' <= (c) && (c) <= 'r') \
4441 || ('s' <= (c) && (c) <= 'z'))
4442 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4445 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4450 for (i = 0; i < 256; i++)
4451 if (XOR (islower (i), ISLOWER (i))
4452 || toupper (i) != TOUPPER (i))
4457 if ac_fn_c_try_run "$LINENO"; then :
4460 ac_cv_header_stdc=no
4462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4463 conftest.$ac_objext conftest.beam conftest.$ac_ext
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4469 $as_echo "$ac_cv_header_stdc" >&6; }
4470 if test $ac_cv_header_stdc = yes; then
4472 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4476 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4477 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4478 inttypes.h stdint.h unistd.h
4480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4481 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4484 cat >>confdefs.h <<_ACEOF
4485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4499 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4500 if test -n "$ac_tool_prefix"; then
4501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4502 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4506 $as_echo_n "(cached) " >&6
4510 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir=.
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4520 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4532 if test -n "$PKG_CONFIG"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4534 $as_echo "$PKG_CONFIG" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4542 if test -z "$ac_cv_path_PKG_CONFIG"; then
4543 ac_pt_PKG_CONFIG=$PKG_CONFIG
4544 # Extract the first word of "pkg-config", so it can be a program name with args.
4545 set dummy pkg-config; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 case $ac_pt_PKG_CONFIG in
4553 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir=.
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4575 if test -n "$ac_pt_PKG_CONFIG"; then
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4577 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4583 if test "x$ac_pt_PKG_CONFIG" = x; then
4586 case $cross_compiling:$ac_tool_warned in
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4590 ac_tool_warned=yes ;;
4592 PKG_CONFIG=$ac_pt_PKG_CONFIG
4595 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4599 if test -n "$PKG_CONFIG"; then
4600 _pkg_min_version=0.9.0
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4602 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4605 $as_echo "yes" >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4612 # Make sure we can run config.sub.
4613 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4614 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4617 $as_echo_n "checking build system type... " >&6; }
4618 if test "${ac_cv_build+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4621 ac_build_alias=$build_alias
4622 test "x$ac_build_alias" = x &&
4623 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4624 test "x$ac_build_alias" = x &&
4625 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4626 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4627 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4631 $as_echo "$ac_cv_build" >&6; }
4632 case $ac_cv_build in
4634 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4637 ac_save_IFS=$IFS; IFS='-'
4643 # Remember, the first character of IFS is used to create $*,
4644 # except with old shells:
4647 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4651 $as_echo_n "checking host system type... " >&6; }
4652 if test "${ac_cv_host+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if test "x$host_alias" = x; then
4656 ac_cv_host=$ac_cv_build
4658 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4659 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4664 $as_echo "$ac_cv_host" >&6; }
4667 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4670 ac_save_IFS=$IFS; IFS='-'
4676 # Remember, the first character of IFS is used to create $*,
4677 # except with old shells:
4680 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4684 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4685 if test "${ac_cv_path_SED+set}" = set; then :
4686 $as_echo_n "(cached) " >&6
4688 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4689 for ac_i in 1 2 3 4 5 6 7; do
4690 ac_script="$ac_script$as_nl$ac_script"
4692 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4693 { ac_script=; unset ac_script;}
4694 if test -z "$SED"; then
4695 ac_path_SED_found=false
4696 # Loop through the user's path and test for each of PROGNAME-LIST
4697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir=.
4702 for ac_prog in sed gsed; do
4703 for ac_exec_ext in '' $ac_executable_extensions; do
4704 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4705 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4706 # Check for GNU ac_path_SED and select it if it is found.
4707 # Check for GNU $ac_path_SED
4708 case `"$ac_path_SED" --version 2>&1` in
4710 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4713 $as_echo_n 0123456789 >"conftest.in"
4716 cat "conftest.in" "conftest.in" >"conftest.tmp"
4717 mv "conftest.tmp" "conftest.in"
4718 cp "conftest.in" "conftest.nl"
4719 $as_echo '' >> "conftest.nl"
4720 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4721 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4722 as_fn_arith $ac_count + 1 && ac_count=$as_val
4723 if test $ac_count -gt ${ac_path_SED_max-0}; then
4724 # Best one so far, save it but keep looking for a better one
4725 ac_cv_path_SED="$ac_path_SED"
4726 ac_path_SED_max=$ac_count
4728 # 10*(2^10) chars as input seems more than enough
4729 test $ac_count -gt 10 && break
4731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4734 $ac_path_SED_found && break 3
4739 if test -z "$ac_cv_path_SED"; then
4740 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4748 $as_echo "$ac_cv_path_SED" >&6; }
4749 SED="$ac_cv_path_SED"
4756 if test "x$GCC" = xyes ; then
4757 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4758 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4759 -Wbad-function-cast -Wformat=2"
4760 case `$CC -dumpversion` in
4762 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4766 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4767 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4773 if test "x$SUNCC" = "xyes"; then
4780 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4784 # Check whether --enable-strict-compilation was given.
4785 if test "${enable_strict_compilation+set}" = set; then :
4786 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4791 if test "x$STRICT_COMPILE" = "xyes"; then
4792 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4793 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
4799 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4800 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
4806 if test "x$GCC" = xyes ; then
4807 STRICT_CFLAGS="-pedantic -Werror"
4808 elif test "x$SUNCC" = "xyes"; then
4809 STRICT_CFLAGS="-errwarn"
4810 elif test "x$INTELCC" = "xyes"; then
4811 STRICT_CFLAGS="-Werror"
4814 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4819 cat >>confdefs.h <<_ACEOF
4820 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4823 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4824 if test "x$PVM" = "x"; then
4828 cat >>confdefs.h <<_ACEOF
4829 #define PACKAGE_VERSION_MINOR $PVM
4832 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4833 if test "x$PVP" = "x"; then
4837 cat >>confdefs.h <<_ACEOF
4838 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4843 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4844 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4845 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4846 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4851 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4852 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4853 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4854 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4855 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4862 if test x$APP_MAN_SUFFIX = x ; then
4865 if test x$APP_MAN_DIR = x ; then
4866 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4869 if test x$LIB_MAN_SUFFIX = x ; then
4872 if test x$LIB_MAN_DIR = x ; then
4873 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4876 if test x$FILE_MAN_SUFFIX = x ; then
4878 solaris*) FILE_MAN_SUFFIX=4 ;;
4879 *) FILE_MAN_SUFFIX=5 ;;
4882 if test x$FILE_MAN_DIR = x ; then
4883 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4886 if test x$MISC_MAN_SUFFIX = x ; then
4888 solaris*) MISC_MAN_SUFFIX=5 ;;
4889 *) MISC_MAN_SUFFIX=7 ;;
4892 if test x$MISC_MAN_DIR = x ; then
4893 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4896 if test x$DRIVER_MAN_SUFFIX = x ; then
4898 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4899 *) DRIVER_MAN_SUFFIX=4 ;;
4902 if test x$DRIVER_MAN_DIR = x ; then
4903 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4906 if test x$ADMIN_MAN_SUFFIX = x ; then
4908 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4909 *) ADMIN_MAN_SUFFIX=8 ;;
4912 if test x$ADMIN_MAN_DIR = x ; then
4913 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4930 XORG_MAN_PAGE="X Version 11"
4933 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4934 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4935 -e 's|__xservername__|Xorg|g' \
4936 -e 's|__xconfigfile__|xorg.conf|g' \
4937 -e 's|__projectroot__|\$(prefix)|g' \
4938 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4939 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4940 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4941 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4942 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4943 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4944 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4948 # Check whether --enable-silent-rules was given.
4949 if test "${enable_silent_rules+set}" = set; then :
4950 enableval=$enable_silent_rules;
4953 case $enable_silent_rules in
4954 yes) AM_DEFAULT_VERBOSITY=0;;
4955 no) AM_DEFAULT_VERBOSITY=1;;
4956 *) AM_DEFAULT_VERBOSITY=0;;
4962 # Require X.Org server macros (i.e. XORG_DRIVER_CHECK_EXT) to check for required modules
4965 # Initialize libtool
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4970 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4975 macro_version='2.2.6b'
4976 macro_revision='1.3017'
4990 ltmain="$ac_aux_dir/ltmain.sh"
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4993 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4994 if test "${ac_cv_path_SED+set}" = set; then :
4995 $as_echo_n "(cached) " >&6
4997 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4998 for ac_i in 1 2 3 4 5 6 7; do
4999 ac_script="$ac_script$as_nl$ac_script"
5001 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5002 { ac_script=; unset ac_script;}
5003 if test -z "$SED"; then
5004 ac_path_SED_found=false
5005 # Loop through the user's path and test for each of PROGNAME-LIST
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir=.
5011 for ac_prog in sed gsed; do
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5014 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5015 # Check for GNU ac_path_SED and select it if it is found.
5016 # Check for GNU $ac_path_SED
5017 case `"$ac_path_SED" --version 2>&1` in
5019 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5022 $as_echo_n 0123456789 >"conftest.in"
5025 cat "conftest.in" "conftest.in" >"conftest.tmp"
5026 mv "conftest.tmp" "conftest.in"
5027 cp "conftest.in" "conftest.nl"
5028 $as_echo '' >> "conftest.nl"
5029 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5030 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5031 as_fn_arith $ac_count + 1 && ac_count=$as_val
5032 if test $ac_count -gt ${ac_path_SED_max-0}; then
5033 # Best one so far, save it but keep looking for a better one
5034 ac_cv_path_SED="$ac_path_SED"
5035 ac_path_SED_max=$ac_count
5037 # 10*(2^10) chars as input seems more than enough
5038 test $ac_count -gt 10 && break
5040 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5043 $ac_path_SED_found && break 3
5048 if test -z "$ac_cv_path_SED"; then
5049 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5057 $as_echo "$ac_cv_path_SED" >&6; }
5058 SED="$ac_cv_path_SED"
5061 test -z "$SED" && SED=sed
5062 Xsed="$SED -e 1s/^X//"
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5075 $as_echo_n "checking for fgrep... " >&6; }
5076 if test "${ac_cv_path_FGREP+set}" = set; then :
5077 $as_echo_n "(cached) " >&6
5079 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5080 then ac_cv_path_FGREP="$GREP -F"
5082 if test -z "$FGREP"; then
5083 ac_path_FGREP_found=false
5084 # Loop through the user's path and test for each of PROGNAME-LIST
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5089 test -z "$as_dir" && as_dir=.
5090 for ac_prog in fgrep; do
5091 for ac_exec_ext in '' $ac_executable_extensions; do
5092 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5093 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5094 # Check for GNU ac_path_FGREP and select it if it is found.
5095 # Check for GNU $ac_path_FGREP
5096 case `"$ac_path_FGREP" --version 2>&1` in
5098 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5101 $as_echo_n 0123456789 >"conftest.in"
5104 cat "conftest.in" "conftest.in" >"conftest.tmp"
5105 mv "conftest.tmp" "conftest.in"
5106 cp "conftest.in" "conftest.nl"
5107 $as_echo 'FGREP' >> "conftest.nl"
5108 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5110 as_fn_arith $ac_count + 1 && ac_count=$as_val
5111 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5112 # Best one so far, save it but keep looking for a better one
5113 ac_cv_path_FGREP="$ac_path_FGREP"
5114 ac_path_FGREP_max=$ac_count
5116 # 10*(2^10) chars as input seems more than enough
5117 test $ac_count -gt 10 && break
5119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5122 $ac_path_FGREP_found && break 3
5127 if test -z "$ac_cv_path_FGREP"; then
5128 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5131 ac_cv_path_FGREP=$FGREP
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5137 $as_echo "$ac_cv_path_FGREP" >&6; }
5138 FGREP="$ac_cv_path_FGREP"
5141 test -z "$GREP" && GREP=grep
5161 # Check whether --with-gnu-ld was given.
5162 if test "${with_gnu_ld+set}" = set; then :
5163 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5169 if test "$GCC" = yes; then
5170 # Check if gcc -print-prog-name=ld gives a path.
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5172 $as_echo_n "checking for ld used by $CC... " >&6; }
5175 # gcc leaves a trailing carriage return which upsets mingw
5176 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5178 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5181 # Accept absolute paths.
5183 re_direlt='/[^/][^/]*/\.\./'
5184 # Canonicalize the pathname of ld
5185 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5186 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5187 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5189 test -z "$LD" && LD="$ac_prog"
5192 # If it fails, then pretend we aren't using GCC.
5196 # If it is relative, then search for the first ld in PATH.
5200 elif test "$with_gnu_ld" = yes; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5202 $as_echo_n "checking for GNU ld... " >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5205 $as_echo_n "checking for non-GNU ld... " >&6; }
5207 if test "${lt_cv_path_LD+set}" = set; then :
5208 $as_echo_n "(cached) " >&6
5210 if test -z "$LD"; then
5211 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5212 for ac_dir in $PATH; do
5214 test -z "$ac_dir" && ac_dir=.
5215 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5216 lt_cv_path_LD="$ac_dir/$ac_prog"
5217 # Check to see if the program is GNU ld. I'd rather use --version,
5218 # but apparently some variants of GNU ld only accept -v.
5219 # Break only if it was the GNU/non-GNU ld that we prefer.
5220 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5221 *GNU* | *'with BFD'*)
5222 test "$with_gnu_ld" != no && break
5225 test "$with_gnu_ld" != yes && break
5232 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5237 if test -n "$LD"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5239 $as_echo "$LD" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5244 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5246 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5247 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5248 $as_echo_n "(cached) " >&6
5250 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5251 case `$LD -v 2>&1 </dev/null` in
5252 *GNU* | *'with BFD'*)
5253 lt_cv_prog_gnu_ld=yes
5256 lt_cv_prog_gnu_ld=no
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5261 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5262 with_gnu_ld=$lt_cv_prog_gnu_ld
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5273 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5274 if test "${lt_cv_path_NM+set}" = set; then :
5275 $as_echo_n "(cached) " >&6
5277 if test -n "$NM"; then
5278 # Let the user override the test.
5281 lt_nm_to_check="${ac_tool_prefix}nm"
5282 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5283 lt_nm_to_check="$lt_nm_to_check nm"
5285 for lt_tmp_nm in $lt_nm_to_check; do
5286 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5287 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5289 test -z "$ac_dir" && ac_dir=.
5290 tmp_nm="$ac_dir/$lt_tmp_nm"
5291 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5292 # Check to see if the nm accepts a BSD-compat flag.
5293 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5294 # nm: unknown option "B" ignored
5295 # Tru64's nm complains that /dev/null is an invalid object file
5296 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5297 */dev/null* | *'Invalid file or object type'*)
5298 lt_cv_path_NM="$tmp_nm -B"
5302 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5304 lt_cv_path_NM="$tmp_nm -p"
5308 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5309 continue # so that we can try to find one that supports BSD flags
5318 : ${lt_cv_path_NM=no}
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5322 $as_echo "$lt_cv_path_NM" >&6; }
5323 if test "$lt_cv_path_NM" != "no"; then
5326 # Didn't find any BSD compatible name lister, look for dumpbin.
5327 if test -n "$ac_tool_prefix"; then
5328 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5333 $as_echo_n "checking for $ac_word... " >&6; }
5334 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5337 if test -n "$DUMPBIN"; then
5338 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5344 test -z "$as_dir" && as_dir=.
5345 for ac_exec_ext in '' $ac_executable_extensions; do
5346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5347 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 DUMPBIN=$ac_cv_prog_DUMPBIN
5358 if test -n "$DUMPBIN"; then
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5360 $as_echo "$DUMPBIN" >&6; }
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5363 $as_echo "no" >&6; }
5367 test -n "$DUMPBIN" && break
5370 if test -z "$DUMPBIN"; then
5371 ac_ct_DUMPBIN=$DUMPBIN
5372 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5374 # Extract the first word of "$ac_prog", so it can be a program name with args.
5375 set dummy $ac_prog; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$ac_ct_DUMPBIN"; then
5382 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5402 if test -n "$ac_ct_DUMPBIN"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5404 $as_echo "$ac_ct_DUMPBIN" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 test -n "$ac_ct_DUMPBIN" && break
5414 if test "x$ac_ct_DUMPBIN" = x; then
5417 case $cross_compiling:$ac_tool_warned in
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5421 ac_tool_warned=yes ;;
5423 DUMPBIN=$ac_ct_DUMPBIN
5428 if test "$DUMPBIN" != ":"; then
5432 test -z "$NM" && NM=nm
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5440 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5441 if test "${lt_cv_nm_interface+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 lt_cv_nm_interface="BSD nm"
5445 echo "int some_variable = 0;" > conftest.$ac_ext
5446 (eval echo "\"\$as_me:5446: $ac_compile\"" >&5)
5447 (eval "$ac_compile" 2>conftest.err)
5448 cat conftest.err >&5
5449 (eval echo "\"\$as_me:5449: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5450 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5451 cat conftest.err >&5
5452 (eval echo "\"\$as_me:5452: output\"" >&5)
5453 cat conftest.out >&5
5454 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5455 lt_cv_nm_interface="MS dumpbin"
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5460 $as_echo "$lt_cv_nm_interface" >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5463 $as_echo_n "checking whether ln -s works... " >&6; }
5465 if test "$LN_S" = "ln -s"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5467 $as_echo "yes" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5470 $as_echo "no, using $LN_S" >&6; }
5473 # find the maximum length of command line arguments
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5475 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5476 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5484 # On DJGPP, this test can blow up pretty badly due to problems in libc
5485 # (any single argument exceeding 2000 bytes causes a buffer overrun
5486 # during glob expansion). Even if it were fixed, the result of this
5487 # check would be larger than it should be.
5488 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5492 # Under GNU Hurd, this test is not required because there is
5493 # no limit to the length of command line arguments.
5494 # Libtool will interpret -1 as no limit whatsoever
5495 lt_cv_sys_max_cmd_len=-1;
5498 cygwin* | mingw* | cegcc*)
5499 # On Win9x/ME, this test blows up -- it succeeds, but takes
5500 # about 5 minutes as the teststring grows exponentially.
5501 # Worse, since 9x/ME are not pre-emptively multitasking,
5502 # you end up with a "frozen" computer, even though with patience
5503 # the test eventually succeeds (with a max line length of 256k).
5504 # Instead, let's just punt: use the minimum linelength reported by
5505 # all of the supported platforms: 8192 (on NT/2K/XP).
5506 lt_cv_sys_max_cmd_len=8192;
5510 # On AmigaOS with pdksh, this test takes hours, literally.
5511 # So we just punt and use a minimum line length of 8192.
5512 lt_cv_sys_max_cmd_len=8192;
5515 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5516 # This has been around since 386BSD, at least. Likely further.
5517 if test -x /sbin/sysctl; then
5518 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5519 elif test -x /usr/sbin/sysctl; then
5520 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5522 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5524 # And add a safety zone
5525 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5526 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5530 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5531 lt_cv_sys_max_cmd_len=196608
5535 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5536 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5537 # nice to cause kernel panics so lets avoid the loop below.
5538 # First set a reasonable default.
5539 lt_cv_sys_max_cmd_len=16384
5541 if test -x /sbin/sysconfig; then
5542 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5543 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5548 lt_cv_sys_max_cmd_len=102400
5550 sysv5* | sco5v6* | sysv4.2uw2*)
5551 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5552 if test -n "$kargmax"; then
5553 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5555 lt_cv_sys_max_cmd_len=32768
5559 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5560 if test -n "$lt_cv_sys_max_cmd_len"; then
5561 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5562 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5564 # Make teststring a little bigger before we do anything with it.
5565 # a 1K string should be a reasonable start.
5566 for i in 1 2 3 4 5 6 7 8 ; do
5567 teststring=$teststring$teststring
5569 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5570 # If test is not a shell built-in, we'll probably end up computing a
5571 # maximum length that is only half of the actual maximum length, but
5573 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5574 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5575 test $i != 17 # 1/2 MB should be enough
5578 teststring=$teststring$teststring
5580 # Only check the string length outside the loop.
5581 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5583 # Add a significant safety factor because C++ compilers can tack on
5584 # massive amounts of additional arguments before passing them to the
5585 # linker. It appears as though 1/2 is a usable value.
5586 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5593 if test -n $lt_cv_sys_max_cmd_len ; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5595 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5598 $as_echo "none" >&6; }
5600 max_cmd_len=$lt_cv_sys_max_cmd_len
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5612 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5613 # Try some XSI features
5616 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5618 && eval 'test $(( 1 + 1 )) -eq 2 \
5619 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5622 $as_echo "$xsi_shell" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5626 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5628 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5630 && lt_shell_append=yes
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5632 $as_echo "$lt_shell_append" >&6; }
5635 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5645 # test EBCDIC or ASCII
5646 case `echo X|tr X '\101'` in
5647 A) # ASCII based system
5648 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5649 lt_SP2NL='tr \040 \012'
5650 lt_NL2SP='tr \015\012 \040\040'
5652 *) # EBCDIC based system
5653 lt_SP2NL='tr \100 \n'
5654 lt_NL2SP='tr \r\n \100\100'
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5667 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5668 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5669 $as_echo_n "(cached) " >&6
5671 lt_cv_ld_reload_flag='-r'
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5674 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5675 reload_flag=$lt_cv_ld_reload_flag
5676 case $reload_flag in
5678 *) reload_flag=" $reload_flag" ;;
5680 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5683 if test "$GCC" = yes; then
5684 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5686 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5699 if test -n "$ac_tool_prefix"; then
5700 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5701 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$OBJDUMP"; then
5708 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5717 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 OBJDUMP=$ac_cv_prog_OBJDUMP
5728 if test -n "$OBJDUMP"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5730 $as_echo "$OBJDUMP" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5738 if test -z "$ac_cv_prog_OBJDUMP"; then
5739 ac_ct_OBJDUMP=$OBJDUMP
5740 # Extract the first word of "objdump", so it can be a program name with args.
5741 set dummy objdump; ac_word=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5745 $as_echo_n "(cached) " >&6
5747 if test -n "$ac_ct_OBJDUMP"; then
5748 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir=.
5755 for ac_exec_ext in '' $ac_executable_extensions; do
5756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5757 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5768 if test -n "$ac_ct_OBJDUMP"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5770 $as_echo "$ac_ct_OBJDUMP" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5776 if test "x$ac_ct_OBJDUMP" = x; then
5779 case $cross_compiling:$ac_tool_warned in
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5783 ac_tool_warned=yes ;;
5785 OBJDUMP=$ac_ct_OBJDUMP
5788 OBJDUMP="$ac_cv_prog_OBJDUMP"
5791 test -z "$OBJDUMP" && OBJDUMP=objdump
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5802 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5803 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5804 $as_echo_n "(cached) " >&6
5806 lt_cv_file_magic_cmd='$MAGIC_CMD'
5807 lt_cv_file_magic_test_file=
5808 lt_cv_deplibs_check_method='unknown'
5809 # Need to set the preceding variable on all platforms that support
5810 # interlibrary dependencies.
5811 # 'none' -- dependencies not supported.
5812 # `unknown' -- same as none, but documents that we really don't know.
5813 # 'pass_all' -- all dependencies passed with no checks.
5814 # 'test_compile' -- check by making test program.
5815 # 'file_magic [[regex]]' -- check by looking for files in library path
5816 # which responds to the $file_magic_cmd with a given extended regex.
5817 # If you have `file' or equivalent on your system and you're not sure
5818 # whether `pass_all' will *always* work, you probably want this one.
5822 lt_cv_deplibs_check_method=pass_all
5826 lt_cv_deplibs_check_method=pass_all
5830 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5831 lt_cv_file_magic_cmd='/usr/bin/file -L'
5832 lt_cv_file_magic_test_file=/shlib/libc.so
5836 # func_win32_libid is a shell function defined in ltmain.sh
5837 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5838 lt_cv_file_magic_cmd='func_win32_libid'
5842 # Base MSYS/MinGW do not provide the 'file' command needed by
5843 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5844 # unless we find 'file', for example because we are cross-compiling.
5845 if ( file / ) >/dev/null 2>&1; then
5846 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5847 lt_cv_file_magic_cmd='func_win32_libid'
5849 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5850 lt_cv_file_magic_cmd='$OBJDUMP -f'
5855 # use the weaker test based on 'objdump'. See mingw*.
5856 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5857 lt_cv_file_magic_cmd='$OBJDUMP -f'
5860 darwin* | rhapsody*)
5861 lt_cv_deplibs_check_method=pass_all
5864 freebsd* | dragonfly*)
5865 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5868 # Not sure whether the presence of OpenBSD here was a mistake.
5869 # Let's accept both of them until this is cleared up.
5870 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5871 lt_cv_file_magic_cmd=/usr/bin/file
5872 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5876 lt_cv_deplibs_check_method=pass_all
5881 lt_cv_deplibs_check_method=pass_all
5884 hpux10.20* | hpux11*)
5885 lt_cv_file_magic_cmd=/usr/bin/file
5888 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5889 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5892 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]'
5893 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5896 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5897 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5903 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5904 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5907 irix5* | irix6* | nonstopux*)
5909 *-32|*"-32 ") libmagic=32-bit;;
5910 *-n32|*"-n32 ") libmagic=N32;;
5911 *-64|*"-64 ") libmagic=64-bit;;
5912 *) libmagic=never-match;;
5914 lt_cv_deplibs_check_method=pass_all
5917 # This must be Linux ELF.
5918 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5919 lt_cv_deplibs_check_method=pass_all
5922 netbsd* | netbsdelf*-gnu)
5923 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5924 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5926 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5931 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5932 lt_cv_file_magic_cmd=/usr/bin/file
5933 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5937 lt_cv_deplibs_check_method=pass_all
5941 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5942 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5944 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5948 osf3* | osf4* | osf5*)
5949 lt_cv_deplibs_check_method=pass_all
5953 lt_cv_deplibs_check_method=pass_all
5957 lt_cv_deplibs_check_method=pass_all
5960 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5961 lt_cv_deplibs_check_method=pass_all
5965 case $host_vendor in
5967 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]'
5968 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5971 lt_cv_deplibs_check_method=pass_all
5974 lt_cv_file_magic_cmd='/bin/file'
5975 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5978 lt_cv_file_magic_cmd='/bin/file'
5979 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5980 lt_cv_file_magic_test_file=/lib/libc.so
5983 lt_cv_deplibs_check_method=pass_all
5986 lt_cv_deplibs_check_method=pass_all
5992 lt_cv_deplibs_check_method=pass_all
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5998 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5999 file_magic_cmd=$lt_cv_file_magic_cmd
6000 deplibs_check_method=$lt_cv_deplibs_check_method
6001 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6014 if test -n "$ac_tool_prefix"; then
6015 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6016 set dummy ${ac_tool_prefix}ar; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if test "${ac_cv_prog_AR+set}" = set; then :
6020 $as_echo_n "(cached) " >&6
6022 if test -n "$AR"; then
6023 ac_cv_prog_AR="$AR" # Let the user override the test.
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6032 ac_cv_prog_AR="${ac_tool_prefix}ar"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 if test -n "$AR"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6045 $as_echo "$AR" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6053 if test -z "$ac_cv_prog_AR"; then
6055 # Extract the first word of "ar", so it can be a program name with args.
6056 set dummy ar; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6060 $as_echo_n "(cached) " >&6
6062 if test -n "$ac_ct_AR"; then
6063 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6072 ac_cv_prog_ac_ct_AR="ar"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6083 if test -n "$ac_ct_AR"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6085 $as_echo "$ac_ct_AR" >&6; }
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6091 if test "x$ac_ct_AR" = x; then
6094 case $cross_compiling:$ac_tool_warned in
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6098 ac_tool_warned=yes ;;
6106 test -z "$AR" && AR=ar
6107 test -z "$AR_FLAGS" && AR_FLAGS=cru
6119 if test -n "$ac_tool_prefix"; then
6120 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6121 set dummy ${ac_tool_prefix}strip; ac_word=$2
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 $as_echo_n "checking for $ac_word... " >&6; }
6124 if test "${ac_cv_prog_STRIP+set}" = set; then :
6125 $as_echo_n "(cached) " >&6
6127 if test -n "$STRIP"; then
6128 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 test -z "$as_dir" && as_dir=.
6135 for ac_exec_ext in '' $ac_executable_extensions; do
6136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6137 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 STRIP=$ac_cv_prog_STRIP
6148 if test -n "$STRIP"; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6150 $as_echo "$STRIP" >&6; }
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6158 if test -z "$ac_cv_prog_STRIP"; then
6160 # Extract the first word of "strip", so it can be a program name with args.
6161 set dummy strip; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 $as_echo_n "checking for $ac_word... " >&6; }
6164 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6165 $as_echo_n "(cached) " >&6
6167 if test -n "$ac_ct_STRIP"; then
6168 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir=.
6175 for ac_exec_ext in '' $ac_executable_extensions; do
6176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6177 ac_cv_prog_ac_ct_STRIP="strip"
6178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6187 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6188 if test -n "$ac_ct_STRIP"; then
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6190 $as_echo "$ac_ct_STRIP" >&6; }
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6193 $as_echo "no" >&6; }
6196 if test "x$ac_ct_STRIP" = x; then
6199 case $cross_compiling:$ac_tool_warned in
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6203 ac_tool_warned=yes ;;
6208 STRIP="$ac_cv_prog_STRIP"
6211 test -z "$STRIP" && STRIP=:
6218 if test -n "$ac_tool_prefix"; then
6219 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6220 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6224 $as_echo_n "(cached) " >&6
6226 if test -n "$RANLIB"; then
6227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6236 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 RANLIB=$ac_cv_prog_RANLIB
6247 if test -n "$RANLIB"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6249 $as_echo "$RANLIB" >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6257 if test -z "$ac_cv_prog_RANLIB"; then
6258 ac_ct_RANLIB=$RANLIB
6259 # Extract the first word of "ranlib", so it can be a program name with args.
6260 set dummy ranlib; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 $as_echo_n "checking for $ac_word... " >&6; }
6263 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6264 $as_echo_n "(cached) " >&6
6266 if test -n "$ac_ct_RANLIB"; then
6267 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6276 ac_cv_prog_ac_ct_RANLIB="ranlib"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6287 if test -n "$ac_ct_RANLIB"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6289 $as_echo "$ac_ct_RANLIB" >&6; }
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292 $as_echo "no" >&6; }
6295 if test "x$ac_ct_RANLIB" = x; then
6298 case $cross_compiling:$ac_tool_warned in
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6302 ac_tool_warned=yes ;;
6304 RANLIB=$ac_ct_RANLIB
6307 RANLIB="$ac_cv_prog_RANLIB"
6310 test -z "$RANLIB" && RANLIB=:
6317 # Determine commands to create old-style static archives.
6318 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6319 old_postinstall_cmds='chmod 644 $oldlib'
6320 old_postuninstall_cmds=
6322 if test -n "$RANLIB"; then
6325 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6328 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6331 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6367 # If no C compiler was specified, use CC.
6370 # If no C compiler flags were specified, use CFLAGS.
6371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6373 # Allow CC to be a program name with arguments.
6377 # Check for command to grab the raw symbol name followed by C symbol from nm.
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6379 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6380 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6381 $as_echo_n "(cached) " >&6
6384 # These are sane defaults that work on at least a few old systems.
6385 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6387 # Character class describing NM global symbol codes.
6388 symcode='[BCDEGRST]'
6390 # Regexp to match symbols that can be accessed directly from C.
6391 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6393 # Define system-specific variables.
6398 cygwin* | mingw* | pw32* | cegcc*)
6399 symcode='[ABCDGISTW]'
6402 if test "$host_cpu" = ia64; then
6403 symcode='[ABCDEGRST]'
6407 symcode='[BCDEGRST]'
6410 symcode='[BCDEGQRST]'
6421 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6429 # If we're using GNU nm, then use its standard symbol codes.
6430 case `$NM -V 2>&1` in
6431 *GNU* | *'with BFD'*)
6432 symcode='[ABCDGIRSTW]' ;;
6435 # Transform an extracted symbol line into a proper C declaration.
6436 # Some systems (esp. on ia64) link data and code symbols differently,
6437 # so use this general approach.
6438 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6440 # Transform an extracted symbol line into symbol name and symbol address
6441 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6442 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6444 # Handle CRLF in mingw tool chain
6448 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6452 # Try without a prefix underscore, then with it.
6453 for ac_symprfx in "" "_"; do
6455 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6456 symxfrm="\\1 $ac_symprfx\\2 \\2"
6458 # Write the raw and C identifiers.
6459 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6460 # Fake it for dumpbin and say T for any non-static function
6461 # and D for any global variable.
6462 # Also find C++ and __fastcall symbols from MSVC++,
6463 # which start with @ or ?.
6464 lt_cv_sys_global_symbol_pipe="$AWK '"\
6465 " {last_section=section; section=\$ 3};"\
6466 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6467 " \$ 0!~/External *\|/{next};"\
6468 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6469 " {if(hide[section]) next};"\
6470 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6471 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6472 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6473 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6474 " ' prfx=^$ac_symprfx"
6476 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6479 # Check to see that the pipe works correctly.
6483 cat > conftest.$ac_ext <<_LT_EOF
6488 void nm_test_func(void);
6489 void nm_test_func(void){}
6493 int main(){nm_test_var='a';nm_test_func();return(0);}
6496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6497 (eval $ac_compile) 2>&5
6499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6500 test $ac_status = 0; }; then
6501 # Now try to grab the symbols.
6503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6504 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6507 test $ac_status = 0; } && test -s "$nlist"; then
6508 # Try sorting and uniquifying the output.
6509 if sort "$nlist" | uniq > "$nlist"T; then
6510 mv -f "$nlist"T "$nlist"
6515 # Make sure that we snagged all the symbols we need.
6516 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6517 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6518 cat <<_LT_EOF > conftest.$ac_ext
6524 # Now generate the symbol file.
6525 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6527 cat <<_LT_EOF >> conftest.$ac_ext
6529 /* The mapping between symbol names and symbols. */
6534 lt__PROGRAM__LTX_preloaded_symbols[] =
6536 { "@PROGRAM@", (void *) 0 },
6538 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6539 cat <<\_LT_EOF >> conftest.$ac_ext
6543 /* This works around a problem in FreeBSD linker */
6544 #ifdef FREEBSD_WORKAROUND
6545 static const void *lt_preloaded_setup() {
6546 return lt__PROGRAM__LTX_preloaded_symbols;
6554 # Now try linking the two files.
6555 mv conftest.$ac_objext conftstm.$ac_objext
6556 lt_save_LIBS="$LIBS"
6557 lt_save_CFLAGS="$CFLAGS"
6558 LIBS="conftstm.$ac_objext"
6559 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6561 (eval $ac_link) 2>&5
6563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6564 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6567 LIBS="$lt_save_LIBS"
6568 CFLAGS="$lt_save_CFLAGS"
6570 echo "cannot find nm_test_func in $nlist" >&5
6573 echo "cannot find nm_test_var in $nlist" >&5
6576 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6579 echo "$progname: failed program was:" >&5
6580 cat conftest.$ac_ext >&5
6582 rm -rf conftest* conftst*
6584 # Do not use the global_symbol_pipe unless it works.
6585 if test "$pipe_works" = yes; then
6588 lt_cv_sys_global_symbol_pipe=
6594 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6595 lt_cv_sys_global_symbol_to_cdecl=
6597 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6599 $as_echo "failed" >&6; }
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6602 $as_echo "ok" >&6; }
6626 # Check whether --enable-libtool-lock was given.
6627 if test "${enable_libtool_lock+set}" = set; then :
6628 enableval=$enable_libtool_lock;
6631 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6633 # Some flags need to be propagated to the compiler or linker for good
6637 # Find out which ABI we are using.
6638 echo 'int i;' > conftest.$ac_ext
6639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6640 (eval $ac_compile) 2>&5
6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6643 test $ac_status = 0; }; then
6644 case `/usr/bin/file conftest.$ac_objext` in
6656 # Find out which ABI we are using.
6657 echo '#line 6657 "configure"' > conftest.$ac_ext
6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6659 (eval $ac_compile) 2>&5
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662 test $ac_status = 0; }; then
6663 if test "$lt_cv_prog_gnu_ld" = yes; then
6664 case `/usr/bin/file conftest.$ac_objext` in
6666 LD="${LD-ld} -melf32bsmip"
6669 LD="${LD-ld} -melf32bmipn32"
6672 LD="${LD-ld} -melf64bmip"
6676 case `/usr/bin/file conftest.$ac_objext` in
6692 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6693 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6694 # Find out which ABI we are using.
6695 echo 'int i;' > conftest.$ac_ext
6696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6697 (eval $ac_compile) 2>&5
6699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6700 test $ac_status = 0; }; then
6701 case `/usr/bin/file conftest.o` in
6704 x86_64-*kfreebsd*-gnu)
6705 LD="${LD-ld} -m elf_i386_fbsd"
6708 LD="${LD-ld} -m elf_i386"
6710 ppc64-*linux*|powerpc64-*linux*)
6711 LD="${LD-ld} -m elf32ppclinux"
6714 LD="${LD-ld} -m elf_s390"
6717 LD="${LD-ld} -m elf32_sparc"
6723 x86_64-*kfreebsd*-gnu)
6724 LD="${LD-ld} -m elf_x86_64_fbsd"
6727 LD="${LD-ld} -m elf_x86_64"
6729 ppc*-*linux*|powerpc*-*linux*)
6730 LD="${LD-ld} -m elf64ppc"
6732 s390*-*linux*|s390*-*tpf*)
6733 LD="${LD-ld} -m elf64_s390"
6736 LD="${LD-ld} -m elf64_sparc"
6746 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6747 SAVE_CFLAGS="$CFLAGS"
6748 CFLAGS="$CFLAGS -belf"
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6750 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6751 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6752 $as_echo_n "(cached) " >&6
6755 ac_cpp='$CPP $CPPFLAGS'
6756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6771 if ac_fn_c_try_link "$LINENO"; then :
6772 lt_cv_cc_needs_belf=yes
6774 lt_cv_cc_needs_belf=no
6776 rm -f core conftest.err conftest.$ac_objext \
6777 conftest$ac_exeext conftest.$ac_ext
6779 ac_cpp='$CPP $CPPFLAGS'
6780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6786 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6787 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6788 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6789 CFLAGS="$SAVE_CFLAGS"
6793 # Find out which ABI we are using.
6794 echo 'int i;' > conftest.$ac_ext
6795 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6796 (eval $ac_compile) 2>&5
6798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6799 test $ac_status = 0; }; then
6800 case `/usr/bin/file conftest.o` in
6802 case $lt_cv_prog_gnu_ld in
6803 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6805 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6817 need_locks="$enable_libtool_lock"
6821 rhapsody* | darwin*)
6822 if test -n "$ac_tool_prefix"; then
6823 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6824 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$DSYMUTIL"; then
6831 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6851 if test -n "$DSYMUTIL"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6853 $as_echo "$DSYMUTIL" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6861 if test -z "$ac_cv_prog_DSYMUTIL"; then
6862 ac_ct_DSYMUTIL=$DSYMUTIL
6863 # Extract the first word of "dsymutil", so it can be a program name with args.
6864 set dummy dsymutil; ac_word=$2
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866 $as_echo_n "checking for $ac_word... " >&6; }
6867 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6868 $as_echo_n "(cached) " >&6
6870 if test -n "$ac_ct_DSYMUTIL"; then
6871 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877 test -z "$as_dir" && as_dir=.
6878 for ac_exec_ext in '' $ac_executable_extensions; do
6879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6891 if test -n "$ac_ct_DSYMUTIL"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6893 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896 $as_echo "no" >&6; }
6899 if test "x$ac_ct_DSYMUTIL" = x; then
6902 case $cross_compiling:$ac_tool_warned in
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906 ac_tool_warned=yes ;;
6908 DSYMUTIL=$ac_ct_DSYMUTIL
6911 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6914 if test -n "$ac_tool_prefix"; then
6915 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6916 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$NMEDIT"; then
6923 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir=.
6930 for ac_exec_ext in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 NMEDIT=$ac_cv_prog_NMEDIT
6943 if test -n "$NMEDIT"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6945 $as_echo "$NMEDIT" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6953 if test -z "$ac_cv_prog_NMEDIT"; then
6954 ac_ct_NMEDIT=$NMEDIT
6955 # Extract the first word of "nmedit", so it can be a program name with args.
6956 set dummy nmedit; ac_word=$2
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6958 $as_echo_n "checking for $ac_word... " >&6; }
6959 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6960 $as_echo_n "(cached) " >&6
6962 if test -n "$ac_ct_NMEDIT"; then
6963 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969 test -z "$as_dir" && as_dir=.
6970 for ac_exec_ext in '' $ac_executable_extensions; do
6971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6972 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6982 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6983 if test -n "$ac_ct_NMEDIT"; then
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6985 $as_echo "$ac_ct_NMEDIT" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6988 $as_echo "no" >&6; }
6991 if test "x$ac_ct_NMEDIT" = x; then
6994 case $cross_compiling:$ac_tool_warned in
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6998 ac_tool_warned=yes ;;
7000 NMEDIT=$ac_ct_NMEDIT
7003 NMEDIT="$ac_cv_prog_NMEDIT"
7006 if test -n "$ac_tool_prefix"; then
7007 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7008 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if test "${ac_cv_prog_LIPO+set}" = set; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$LIPO"; then
7015 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir=.
7022 for ac_exec_ext in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 LIPO=$ac_cv_prog_LIPO
7035 if test -n "$LIPO"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7037 $as_echo "$LIPO" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7045 if test -z "$ac_cv_prog_LIPO"; then
7047 # Extract the first word of "lipo", so it can be a program name with args.
7048 set dummy lipo; ac_word=$2
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7050 $as_echo_n "checking for $ac_word... " >&6; }
7051 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7052 $as_echo_n "(cached) " >&6
7054 if test -n "$ac_ct_LIPO"; then
7055 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061 test -z "$as_dir" && as_dir=.
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7064 ac_cv_prog_ac_ct_LIPO="lipo"
7065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7074 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7075 if test -n "$ac_ct_LIPO"; then
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7077 $as_echo "$ac_ct_LIPO" >&6; }
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7080 $as_echo "no" >&6; }
7083 if test "x$ac_ct_LIPO" = x; then
7086 case $cross_compiling:$ac_tool_warned in
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090 ac_tool_warned=yes ;;
7095 LIPO="$ac_cv_prog_LIPO"
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7100 set dummy ${ac_tool_prefix}otool; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$OTOOL"; then
7107 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir=.
7114 for ac_exec_ext in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 OTOOL=$ac_cv_prog_OTOOL
7127 if test -n "$OTOOL"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7129 $as_echo "$OTOOL" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7137 if test -z "$ac_cv_prog_OTOOL"; then
7139 # Extract the first word of "otool", so it can be a program name with args.
7140 set dummy otool; ac_word=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 $as_echo_n "checking for $ac_word... " >&6; }
7143 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7144 $as_echo_n "(cached) " >&6
7146 if test -n "$ac_ct_OTOOL"; then
7147 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir=.
7154 for ac_exec_ext in '' $ac_executable_extensions; do
7155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7156 ac_cv_prog_ac_ct_OTOOL="otool"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7167 if test -n "$ac_ct_OTOOL"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7169 $as_echo "$ac_ct_OTOOL" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7175 if test "x$ac_ct_OTOOL" = x; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned=yes ;;
7187 OTOOL="$ac_cv_prog_OTOOL"
7190 if test -n "$ac_tool_prefix"; then
7191 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7192 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7196 $as_echo_n "(cached) " >&6
7198 if test -n "$OTOOL64"; then
7199 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 test -z "$as_dir" && as_dir=.
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 OTOOL64=$ac_cv_prog_OTOOL64
7219 if test -n "$OTOOL64"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7221 $as_echo "$OTOOL64" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7229 if test -z "$ac_cv_prog_OTOOL64"; then
7230 ac_ct_OTOOL64=$OTOOL64
7231 # Extract the first word of "otool64", so it can be a program name with args.
7232 set dummy otool64; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7238 if test -n "$ac_ct_OTOOL64"; then
7239 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_ac_ct_OTOOL64="otool64"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7258 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7259 if test -n "$ac_ct_OTOOL64"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7261 $as_echo "$ac_ct_OTOOL64" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7267 if test "x$ac_ct_OTOOL64" = x; then
7270 case $cross_compiling:$ac_tool_warned in
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7274 ac_tool_warned=yes ;;
7276 OTOOL64=$ac_ct_OTOOL64
7279 OTOOL64="$ac_cv_prog_OTOOL64"
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7309 $as_echo_n "checking for -single_module linker flag... " >&6; }
7310 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7311 $as_echo_n "(cached) " >&6
7313 lt_cv_apple_cc_single_mod=no
7314 if test -z "${LT_MULTI_MODULE}"; then
7315 # By default we will add the -single_module flag. You can override
7316 # by either setting the environment variable LT_MULTI_MODULE
7317 # non-empty at configure time, or by adding -multi_module to the
7319 rm -rf libconftest.dylib*
7320 echo "int foo(void){return 1;}" > conftest.c
7321 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7322 -dynamiclib -Wl,-single_module conftest.c" >&5
7323 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7324 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7326 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7327 lt_cv_apple_cc_single_mod=yes
7329 cat conftest.err >&5
7331 rm -rf libconftest.dylib*
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7336 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7338 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7339 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7340 $as_echo_n "(cached) " >&6
7342 lt_cv_ld_exported_symbols_list=no
7343 save_LDFLAGS=$LDFLAGS
7344 echo "_main" > conftest.sym
7345 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7357 if ac_fn_c_try_link "$LINENO"; then :
7358 lt_cv_ld_exported_symbols_list=yes
7360 lt_cv_ld_exported_symbols_list=no
7362 rm -f core conftest.err conftest.$ac_objext \
7363 conftest$ac_exeext conftest.$ac_ext
7364 LDFLAGS="$save_LDFLAGS"
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7368 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7370 rhapsody* | darwin1.[012])
7371 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7373 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7374 darwin*) # darwin 5.x on
7375 # if running on 10.5 or later, the deployment target defaults
7376 # to the OS version, if on x86, and 10.4, the deployment
7377 # target defaults to 10.4. Don't you love it?
7378 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7379 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7380 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7382 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7384 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7388 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7389 _lt_dar_single_mod='$single_module'
7391 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7392 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7394 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7396 if test "$DSYMUTIL" != ":"; then
7397 _lt_dsymutil='~$DSYMUTIL $lib || :'
7404 for ac_header in dlfcn.h
7406 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7408 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7409 cat >>confdefs.h <<_ACEOF
7410 #define HAVE_DLFCN_H 1
7420 # Check whether --enable-static was given.
7421 if test "${enable_static+set}" = set; then :
7422 enableval=$enable_static; p=${PACKAGE-default}
7424 yes) enable_static=yes ;;
7425 no) enable_static=no ;;
7428 # Look at the argument we got. We use all the common list separators.
7429 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7430 for pkg in $enableval; do
7432 if test "X$pkg" = "X$p"; then
7458 # Check whether --enable-shared was given.
7459 if test "${enable_shared+set}" = set; then :
7460 enableval=$enable_shared; p=${PACKAGE-default}
7462 yes) enable_shared=yes ;;
7463 no) enable_shared=no ;;
7466 # Look at the argument we got. We use all the common list separators.
7467 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7468 for pkg in $enableval; do
7470 if test "X$pkg" = "X$p"; then
7491 # Check whether --with-pic was given.
7492 if test "${with_pic+set}" = set; then :
7493 withval=$with_pic; pic_mode="$withval"
7499 test -z "$pic_mode" && pic_mode=default
7507 # Check whether --enable-fast-install was given.
7508 if test "${enable_fast_install+set}" = set; then :
7509 enableval=$enable_fast_install; p=${PACKAGE-default}
7511 yes) enable_fast_install=yes ;;
7512 no) enable_fast_install=no ;;
7514 enable_fast_install=no
7515 # Look at the argument we got. We use all the common list separators.
7516 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7517 for pkg in $enableval; do
7519 if test "X$pkg" = "X$p"; then
7520 enable_fast_install=yes
7527 enable_fast_install=yes
7540 # This can be used to rebuild libtool when needed
7541 LIBTOOL_DEPS="$ltmain"
7543 # Always use our own libtool.
7544 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7570 test -z "$LN_S" && LN_S="ln -s"
7585 if test -n "${ZSH_VERSION+set}" ; then
7586 setopt NO_GLOB_SUBST
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7590 $as_echo_n "checking for objdir... " >&6; }
7591 if test "${lt_cv_objdir+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7594 rm -f .libs 2>/dev/null
7595 mkdir .libs 2>/dev/null
7596 if test -d .libs; then
7599 # MS-DOS does not allow filenames that begin with a dot.
7602 rmdir .libs 2>/dev/null
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7605 $as_echo "$lt_cv_objdir" >&6; }
7606 objdir=$lt_cv_objdir
7612 cat >>confdefs.h <<_ACEOF
7613 #define LT_OBJDIR "$lt_cv_objdir/"
7634 # AIX sometimes has problems with the GCC collect2 program. For some
7635 # reason, if we set the COLLECT_NAMES environment variable, the problems
7636 # vanish in a puff of smoke.
7637 if test "X${COLLECT_NAMES+set}" != Xset; then
7639 export COLLECT_NAMES
7644 # Sed substitution that helps us do robust quoting. It backslashifies
7645 # metacharacters that are still active within double-quoted strings.
7646 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7648 # Same as above, but do not quote variable references.
7649 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7651 # Sed substitution to delay expansion of an escaped shell variable in a
7652 # double_quote_subst'ed string.
7653 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7655 # Sed substitution to delay expansion of an escaped single quote.
7656 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7658 # Sed substitution to avoid accidental globbing in evaled expressions
7659 no_glob_subst='s/\*/\\\*/g'
7663 can_build_shared=yes
7665 # All known linkers require a `.a' archive for static linking (except MSVC,
7666 # which needs '.lib').
7669 with_gnu_ld="$lt_cv_prog_gnu_ld"
7672 old_CFLAGS="$CFLAGS"
7674 # Set sane defaults for various variables
7675 test -z "$CC" && CC=cc
7676 test -z "$LTCC" && LTCC=$CC
7677 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7678 test -z "$LD" && LD=ld
7679 test -z "$ac_objext" && ac_objext=o
7681 for cc_temp in $compiler""; do
7683 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7684 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7689 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7692 # Only perform the check for file, if the check method requires it
7693 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7694 case $deplibs_check_method in
7696 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7698 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7699 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7700 $as_echo_n "(cached) " >&6
7704 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7707 lt_save_MAGIC_CMD="$MAGIC_CMD"
7708 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7709 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7710 for ac_dir in $ac_dummy; do
7712 test -z "$ac_dir" && ac_dir=.
7713 if test -f $ac_dir/${ac_tool_prefix}file; then
7714 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7715 if test -n "$file_magic_test_file"; then
7716 case $deplibs_check_method in
7718 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7719 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7720 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7721 $EGREP "$file_magic_regex" > /dev/null; then
7726 *** Warning: the command libtool uses to detect shared libraries,
7727 *** $file_magic_cmd, produces output that libtool cannot recognize.
7728 *** The result is that libtool may fail to recognize shared libraries
7729 *** as such. This will affect the creation of libtool libraries that
7730 *** depend on shared libraries, but programs linked with such libtool
7731 *** libraries will work regardless of this problem. Nevertheless, you
7732 *** may want to report the problem to your system manager and/or to
7733 *** bug-libtool@gnu.org
7743 MAGIC_CMD="$lt_save_MAGIC_CMD"
7748 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7749 if test -n "$MAGIC_CMD"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7751 $as_echo "$MAGIC_CMD" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7761 if test -z "$lt_cv_path_MAGIC_CMD"; then
7762 if test -n "$ac_tool_prefix"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7764 $as_echo_n "checking for file... " >&6; }
7765 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7766 $as_echo_n "(cached) " >&6
7770 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7773 lt_save_MAGIC_CMD="$MAGIC_CMD"
7774 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7775 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7776 for ac_dir in $ac_dummy; do
7778 test -z "$ac_dir" && ac_dir=.
7779 if test -f $ac_dir/file; then
7780 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7781 if test -n "$file_magic_test_file"; then
7782 case $deplibs_check_method in
7784 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7785 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7786 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7787 $EGREP "$file_magic_regex" > /dev/null; then
7792 *** Warning: the command libtool uses to detect shared libraries,
7793 *** $file_magic_cmd, produces output that libtool cannot recognize.
7794 *** The result is that libtool may fail to recognize shared libraries
7795 *** as such. This will affect the creation of libtool libraries that
7796 *** depend on shared libraries, but programs linked with such libtool
7797 *** libraries will work regardless of this problem. Nevertheless, you
7798 *** may want to report the problem to your system manager and/or to
7799 *** bug-libtool@gnu.org
7809 MAGIC_CMD="$lt_save_MAGIC_CMD"
7814 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7815 if test -n "$MAGIC_CMD"; then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7817 $as_echo "$MAGIC_CMD" >&6; }
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7820 $as_echo "no" >&6; }
7833 # Use C for the default configuration in the libtool script
7837 ac_cpp='$CPP $CPPFLAGS'
7838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7843 # Source file extension for C test sources.
7846 # Object file extension for compiled C test sources.
7850 # Code to be used in simple compile tests
7851 lt_simple_compile_test_code="int some_variable = 0;"
7853 # Code to be used in simple link tests
7854 lt_simple_link_test_code='int main(){return(0);}'
7862 # If no C compiler was specified, use CC.
7865 # If no C compiler flags were specified, use CFLAGS.
7866 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7868 # Allow CC to be a program name with arguments.
7871 # Save the default compiler, since it gets overwritten when the other
7872 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7873 compiler_DEFAULT=$CC
7875 # save warnings/boilerplate of simple test code
7876 ac_outfile=conftest.$ac_objext
7877 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7878 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7879 _lt_compiler_boilerplate=`cat conftest.err`
7882 ac_outfile=conftest.$ac_objext
7883 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7884 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7885 _lt_linker_boilerplate=`cat conftest.err`
7890 ## There is no encapsulation within the following macros, do not change
7891 ## the running order or otherwise move them around unless you know exactly
7892 ## what you are doing...
7893 if test -n "$compiler"; then
7895 lt_prog_compiler_no_builtin_flag=
7897 if test "$GCC" = yes; then
7898 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7901 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7902 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7903 $as_echo_n "(cached) " >&6
7905 lt_cv_prog_compiler_rtti_exceptions=no
7906 ac_outfile=conftest.$ac_objext
7907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7908 lt_compiler_flag="-fno-rtti -fno-exceptions"
7909 # Insert the option either (1) after the last *FLAGS variable, or
7910 # (2) before a word containing "conftest.", or (3) at the end.
7911 # Note that $ac_compile itself does not contain backslashes and begins
7912 # with a dollar sign (not a hyphen), so the echo should work correctly.
7913 # The option is referenced via a variable to avoid confusing sed.
7914 lt_compile=`echo "$ac_compile" | $SED \
7915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7917 -e 's:$: $lt_compiler_flag:'`
7918 (eval echo "\"\$as_me:7918: $lt_compile\"" >&5)
7919 (eval "$lt_compile" 2>conftest.err)
7921 cat conftest.err >&5
7922 echo "$as_me:7922: \$? = $ac_status" >&5
7923 if (exit $ac_status) && test -s "$ac_outfile"; then
7924 # The compiler can only warn and ignore the option if not recognized
7925 # So say no if there are warnings other than the usual output.
7926 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7927 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7928 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7929 lt_cv_prog_compiler_rtti_exceptions=yes
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7936 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7938 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7939 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7951 lt_prog_compiler_wl=
7952 lt_prog_compiler_pic=
7953 lt_prog_compiler_static=
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7956 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7958 if test "$GCC" = yes; then
7959 lt_prog_compiler_wl='-Wl,'
7960 lt_prog_compiler_static='-static'
7964 # All AIX code is PIC.
7965 if test "$host_cpu" = ia64; then
7966 # AIX 5 now supports IA64 processor
7967 lt_prog_compiler_static='-Bstatic'
7974 # see comment about AmigaOS4 .so support
7975 lt_prog_compiler_pic='-fPIC'
7978 # FIXME: we need at least 68020 code to build shared libraries, but
7979 # adding the `-m68020' flag to GCC prevents building anything better,
7981 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7986 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7987 # PIC is the default for these OSes.
7990 mingw* | cygwin* | pw32* | os2* | cegcc*)
7991 # This hack is so that the source file can tell whether it is being
7992 # built for inclusion in a dll (and should export symbols for example).
7993 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7994 # (--disable-auto-import) libraries
7995 lt_prog_compiler_pic='-DDLL_EXPORT'
7998 darwin* | rhapsody*)
7999 # PIC is the default on this platform
8000 # Common symbols not allowed in MH_DYLIB files
8001 lt_prog_compiler_pic='-fno-common'
8005 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8006 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8007 # sets the default TLS model and affects inlining.
8013 lt_prog_compiler_pic='-fPIC'
8019 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8020 # Instead, we relocate shared libraries at runtime.
8024 # Just because we use GCC doesn't mean we suddenly get shared libraries
8025 # on systems that don't support them.
8026 lt_prog_compiler_can_build_shared=no
8031 # QNX uses GNU C++, but need to define -shared option too, otherwise
8033 lt_prog_compiler_pic='-fPIC -shared'
8037 if test -d /usr/nec; then
8038 lt_prog_compiler_pic=-Kconform_pic
8043 lt_prog_compiler_pic='-fPIC'
8047 # PORTME Check for flag to pass linker flags through the system compiler.
8050 lt_prog_compiler_wl='-Wl,'
8051 if test "$host_cpu" = ia64; then
8052 # AIX 5 now supports IA64 processor
8053 lt_prog_compiler_static='-Bstatic'
8055 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8059 mingw* | cygwin* | pw32* | os2* | cegcc*)
8060 # This hack is so that the source file can tell whether it is being
8061 # built for inclusion in a dll (and should export symbols for example).
8062 lt_prog_compiler_pic='-DDLL_EXPORT'
8065 hpux9* | hpux10* | hpux11*)
8066 lt_prog_compiler_wl='-Wl,'
8067 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8074 lt_prog_compiler_pic='+Z'
8077 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8078 lt_prog_compiler_static='${wl}-a ${wl}archive'
8081 irix5* | irix6* | nonstopux*)
8082 lt_prog_compiler_wl='-Wl,'
8083 # PIC (with -KPIC) is the default.
8084 lt_prog_compiler_static='-non_shared'
8087 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8088 case $cc_basename in
8089 # old Intel for x86_64 which still supported -KPIC.
8091 lt_prog_compiler_wl='-Wl,'
8092 lt_prog_compiler_pic='-KPIC'
8093 lt_prog_compiler_static='-static'
8095 # icc used to be incompatible with GCC.
8096 # ICC 10 doesn't accept -KPIC any more.
8098 lt_prog_compiler_wl='-Wl,'
8099 lt_prog_compiler_pic='-fPIC'
8100 lt_prog_compiler_static='-static'
8102 # Lahey Fortran 8.1.
8104 lt_prog_compiler_wl='-Wl,'
8105 lt_prog_compiler_pic='--shared'
8106 lt_prog_compiler_static='--static'
8108 pgcc* | pgf77* | pgf90* | pgf95*)
8109 # Portland Group compilers (*not* the Pentium gcc compiler,
8110 # which looks to be a dead project)
8111 lt_prog_compiler_wl='-Wl,'
8112 lt_prog_compiler_pic='-fpic'
8113 lt_prog_compiler_static='-Bstatic'
8116 lt_prog_compiler_wl='-Wl,'
8117 # All Alpha code is PIC.
8118 lt_prog_compiler_static='-non_shared'
8121 # IBM XL C 8.0/Fortran 10.1 on PPC
8122 lt_prog_compiler_wl='-Wl,'
8123 lt_prog_compiler_pic='-qpic'
8124 lt_prog_compiler_static='-qstaticlink'
8127 case `$CC -V 2>&1 | sed 5q` in
8130 lt_prog_compiler_pic='-KPIC'
8131 lt_prog_compiler_static='-Bstatic'
8132 lt_prog_compiler_wl='-Wl,'
8135 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8136 lt_prog_compiler_pic='-KPIC'
8137 lt_prog_compiler_static='-Bstatic'
8138 lt_prog_compiler_wl=''
8146 lt_prog_compiler_pic='-KPIC'
8147 lt_prog_compiler_static='-Bstatic'
8151 # QNX uses GNU C++, but need to define -shared option too, otherwise
8153 lt_prog_compiler_pic='-fPIC -shared'
8156 osf3* | osf4* | osf5*)
8157 lt_prog_compiler_wl='-Wl,'
8158 # All OSF/1 code is PIC.
8159 lt_prog_compiler_static='-non_shared'
8163 lt_prog_compiler_static='-non_shared'
8167 lt_prog_compiler_pic='-KPIC'
8168 lt_prog_compiler_static='-Bstatic'
8169 case $cc_basename in
8171 lt_prog_compiler_wl='-Qoption ld ';;
8173 lt_prog_compiler_wl='-Wl,';;
8178 lt_prog_compiler_wl='-Qoption ld '
8179 lt_prog_compiler_pic='-PIC'
8180 lt_prog_compiler_static='-Bstatic'
8183 sysv4 | sysv4.2uw2* | sysv4.3*)
8184 lt_prog_compiler_wl='-Wl,'
8185 lt_prog_compiler_pic='-KPIC'
8186 lt_prog_compiler_static='-Bstatic'
8190 if test -d /usr/nec ;then
8191 lt_prog_compiler_pic='-Kconform_pic'
8192 lt_prog_compiler_static='-Bstatic'
8196 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8197 lt_prog_compiler_wl='-Wl,'
8198 lt_prog_compiler_pic='-KPIC'
8199 lt_prog_compiler_static='-Bstatic'
8203 lt_prog_compiler_wl='-Wl,'
8204 lt_prog_compiler_can_build_shared=no
8208 lt_prog_compiler_pic='-pic'
8209 lt_prog_compiler_static='-Bstatic'
8213 lt_prog_compiler_can_build_shared=no
8219 # For platforms which do not support PIC, -DPIC is meaningless:
8221 lt_prog_compiler_pic=
8224 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8228 $as_echo "$lt_prog_compiler_pic" >&6; }
8236 # Check to make sure the PIC flag actually works.
8238 if test -n "$lt_prog_compiler_pic"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8240 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8241 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8242 $as_echo_n "(cached) " >&6
8244 lt_cv_prog_compiler_pic_works=no
8245 ac_outfile=conftest.$ac_objext
8246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8247 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8248 # Insert the option either (1) after the last *FLAGS variable, or
8249 # (2) before a word containing "conftest.", or (3) at the end.
8250 # Note that $ac_compile itself does not contain backslashes and begins
8251 # with a dollar sign (not a hyphen), so the echo should work correctly.
8252 # The option is referenced via a variable to avoid confusing sed.
8253 lt_compile=`echo "$ac_compile" | $SED \
8254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8256 -e 's:$: $lt_compiler_flag:'`
8257 (eval echo "\"\$as_me:8257: $lt_compile\"" >&5)
8258 (eval "$lt_compile" 2>conftest.err)
8260 cat conftest.err >&5
8261 echo "$as_me:8261: \$? = $ac_status" >&5
8262 if (exit $ac_status) && test -s "$ac_outfile"; then
8263 # The compiler can only warn and ignore the option if not recognized
8264 # So say no if there are warnings other than the usual output.
8265 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8266 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8267 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8268 lt_cv_prog_compiler_pic_works=yes
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8275 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8277 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8278 case $lt_prog_compiler_pic in
8280 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8283 lt_prog_compiler_pic=
8284 lt_prog_compiler_can_build_shared=no
8295 # Check to make sure the static flag actually works.
8297 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8299 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8300 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8301 $as_echo_n "(cached) " >&6
8303 lt_cv_prog_compiler_static_works=no
8304 save_LDFLAGS="$LDFLAGS"
8305 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8306 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8307 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8308 # The linker can only warn and ignore the option if not recognized
8309 # So say no if there are warnings
8310 if test -s conftest.err; then
8311 # Append any errors to the config.log.
8312 cat conftest.err 1>&5
8313 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8314 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8315 if diff conftest.exp conftest.er2 >/dev/null; then
8316 lt_cv_prog_compiler_static_works=yes
8319 lt_cv_prog_compiler_static_works=yes
8323 LDFLAGS="$save_LDFLAGS"
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8327 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8329 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8332 lt_prog_compiler_static=
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8342 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8343 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8344 $as_echo_n "(cached) " >&6
8346 lt_cv_prog_compiler_c_o=no
8347 $RM -r conftest 2>/dev/null
8351 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8353 lt_compiler_flag="-o out/conftest2.$ac_objext"
8354 # Insert the option either (1) after the last *FLAGS variable, or
8355 # (2) before a word containing "conftest.", or (3) at the end.
8356 # Note that $ac_compile itself does not contain backslashes and begins
8357 # with a dollar sign (not a hyphen), so the echo should work correctly.
8358 lt_compile=`echo "$ac_compile" | $SED \
8359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361 -e 's:$: $lt_compiler_flag:'`
8362 (eval echo "\"\$as_me:8362: $lt_compile\"" >&5)
8363 (eval "$lt_compile" 2>out/conftest.err)
8365 cat out/conftest.err >&5
8366 echo "$as_me:8366: \$? = $ac_status" >&5
8367 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8369 # The compiler can only warn and ignore the option if not recognized
8370 # So say no if there are warnings
8371 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8372 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8373 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8374 lt_cv_prog_compiler_c_o=yes
8379 # SGI C++ compiler will create directory out/ii_files/ for
8380 # template instantiation
8381 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8382 $RM out/* && rmdir out
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8389 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8397 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8398 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8399 $as_echo_n "(cached) " >&6
8401 lt_cv_prog_compiler_c_o=no
8402 $RM -r conftest 2>/dev/null
8406 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8408 lt_compiler_flag="-o out/conftest2.$ac_objext"
8409 # Insert the option either (1) after the last *FLAGS variable, or
8410 # (2) before a word containing "conftest.", or (3) at the end.
8411 # Note that $ac_compile itself does not contain backslashes and begins
8412 # with a dollar sign (not a hyphen), so the echo should work correctly.
8413 lt_compile=`echo "$ac_compile" | $SED \
8414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8416 -e 's:$: $lt_compiler_flag:'`
8417 (eval echo "\"\$as_me:8417: $lt_compile\"" >&5)
8418 (eval "$lt_compile" 2>out/conftest.err)
8420 cat out/conftest.err >&5
8421 echo "$as_me:8421: \$? = $ac_status" >&5
8422 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8424 # The compiler can only warn and ignore the option if not recognized
8425 # So say no if there are warnings
8426 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8427 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8428 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8429 lt_cv_prog_compiler_c_o=yes
8434 # SGI C++ compiler will create directory out/ii_files/ for
8435 # template instantiation
8436 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8437 $RM out/* && rmdir out
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8444 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8449 hard_links="nottested"
8450 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8451 # do not overwrite the value of need_locks provided by the user
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8453 $as_echo_n "checking if we can lock with hard links... " >&6; }
8456 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8458 ln conftest.a conftest.b 2>&5 || hard_links=no
8459 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8461 $as_echo "$hard_links" >&6; }
8462 if test "$hard_links" = no; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8464 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8477 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8480 allow_undefined_flag=
8481 always_export_symbols=no
8483 archive_expsym_cmds=
8484 compiler_needs_object=no
8485 enable_shared_with_static_runtimes=no
8486 export_dynamic_flag_spec=
8487 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8488 hardcode_automatic=no
8490 hardcode_direct_absolute=no
8491 hardcode_libdir_flag_spec=
8492 hardcode_libdir_flag_spec_ld=
8493 hardcode_libdir_separator=
8495 hardcode_shlibpath_var=unsupported
8497 link_all_deplibs=unknown
8500 old_archive_from_new_cmds=
8501 old_archive_from_expsyms_cmds=
8502 thread_safe_flag_spec=
8503 whole_archive_flag_spec=
8504 # include_expsyms should be a list of space-separated symbols to be *always*
8505 # included in the symbol list
8507 # exclude_expsyms can be an extended regexp of symbols to exclude
8508 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8509 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8510 # as well as any symbol that contains `d'.
8511 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8512 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8513 # platforms (ab)use it in PIC code, but their linkers get confused if
8514 # the symbol is explicitly referenced. Since portable code cannot
8515 # rely on this symbol name, it's probably fine to never include it in
8516 # preloaded symbol tables.
8517 # Exclude shared library initialization/finalization symbols.
8518 extract_expsyms_cmds=
8521 cygwin* | mingw* | pw32* | cegcc*)
8522 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8523 # When not using gcc, we currently assume that we are using
8524 # Microsoft Visual C++.
8525 if test "$GCC" != yes; then
8530 # we just hope/assume this is gcc and not c89 (= MSVC++)
8536 linux* | k*bsd*-gnu)
8542 if test "$with_gnu_ld" = yes; then
8543 # If archive_cmds runs LD, not CC, wlarc should be empty
8546 # Set some defaults for GNU ld with shared library support. These
8547 # are reset later if shared libraries are not supported. Putting them
8548 # here allows them to be overridden if necessary.
8549 runpath_var=LD_RUN_PATH
8550 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8551 export_dynamic_flag_spec='${wl}--export-dynamic'
8552 # ancient GNU ld didn't support --whole-archive et. al.
8553 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8554 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8556 whole_archive_flag_spec=
8558 supports_anon_versioning=no
8559 case `$LD -v 2>&1` in
8560 *GNU\ gold*) supports_anon_versioning=yes ;;
8561 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8562 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8563 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8564 *\ 2.11.*) ;; # other 2.11 versions
8565 *) supports_anon_versioning=yes ;;
8568 # See if GNU ld supports shared libraries.
8571 # On AIX/PPC, the GNU linker is very broken
8572 if test "$host_cpu" != ia64; then
8576 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8577 *** to be unable to reliably create shared libraries on AIX.
8578 *** Therefore, libtool is disabling shared libraries support. If you
8579 *** really care for shared libraries, you may want to modify your PATH
8580 *** so that a non-GNU linker is found, and then restart.
8589 # see comment about AmigaOS4 .so support
8590 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8591 archive_expsym_cmds=''
8594 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)'
8595 hardcode_libdir_flag_spec='-L$libdir'
8596 hardcode_minus_L=yes
8602 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8603 allow_undefined_flag=unsupported
8604 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8605 # support --undefined. This deserves some investigation. FIXME
8606 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8612 cygwin* | mingw* | pw32* | cegcc*)
8613 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8614 # as there is no search path for DLLs.
8615 hardcode_libdir_flag_spec='-L$libdir'
8616 allow_undefined_flag=unsupported
8617 always_export_symbols=no
8618 enable_shared_with_static_runtimes=yes
8619 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8621 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8622 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8623 # If the export-symbols file already is a .def file (1st line
8624 # is EXPORTS), use it as is; otherwise, prepend...
8625 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8626 cp $export_symbols $output_objdir/$soname.def;
8628 echo EXPORTS > $output_objdir/$soname.def;
8629 cat $export_symbols >> $output_objdir/$soname.def;
8631 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8639 hardcode_shlibpath_var=no
8640 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8641 export_dynamic_flag_spec='${wl}-E'
8642 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8643 # Instead, shared libraries are loaded at an image base (0x10000000 by
8644 # default) and relocated if they conflict, which is a slow very memory
8645 # consuming and fragmenting process. To avoid this, we pick a random,
8646 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8647 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8648 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8649 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'
8652 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8654 if test "$host_os" = linux-dietlibc; then
8655 case $cc_basename in
8656 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8659 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8660 && test "$tmp_diet" = no
8663 tmp_sharedflag='-shared'
8664 case $cc_basename,$host_cpu in
8665 pgcc*) # Portland Group C compiler
8666 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'
8667 tmp_addflag=' $pic_flag'
8669 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8670 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'
8671 tmp_addflag=' $pic_flag -Mnomain' ;;
8672 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8673 tmp_addflag=' -i_dynamic' ;;
8674 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8675 tmp_addflag=' -i_dynamic -nofor_main' ;;
8676 ifc* | ifort*) # Intel Fortran compiler
8677 tmp_addflag=' -nofor_main' ;;
8678 lf95*) # Lahey Fortran 8.1
8679 whole_archive_flag_spec=
8680 tmp_sharedflag='--shared' ;;
8681 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8682 tmp_sharedflag='-qmkshrobj'
8685 case `$CC -V 2>&1 | sed 5q` in
8686 *Sun\ C*) # Sun C 5.9
8687 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8688 compiler_needs_object=yes
8689 tmp_sharedflag='-G' ;;
8690 *Sun\ F*) # Sun Fortran 8.3
8691 tmp_sharedflag='-G' ;;
8693 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8695 if test "x$supports_anon_versioning" = xyes; then
8696 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8697 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8698 echo "local: *; };" >> $output_objdir/$libname.ver~
8699 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8702 case $cc_basename in
8704 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8705 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8706 hardcode_libdir_flag_spec=
8707 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8708 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8709 if test "x$supports_anon_versioning" = xyes; then
8710 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8711 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8712 echo "local: *; };" >> $output_objdir/$libname.ver~
8713 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8722 netbsd* | netbsdelf*-gnu)
8723 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8724 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8728 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8733 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8737 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8738 *** create shared libraries on Solaris systems. Therefore, libtool
8739 *** is disabling shared libraries support. We urge you to upgrade GNU
8740 *** binutils to release 2.9.1 or newer. Another option is to modify
8741 *** your PATH or compiler configuration so that the native linker is
8742 *** used, and then restart.
8745 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8747 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8753 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8754 case `$LD -v 2>&1` in
8755 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8759 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8760 *** reliably create shared libraries on SCO systems. Therefore, libtool
8761 *** is disabling shared libraries support. We urge you to upgrade GNU
8762 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8763 *** your PATH or compiler configuration so that the native linker is
8764 *** used, and then restart.
8769 # For security reasons, it is highly recommended that you always
8770 # use absolute paths for naming shared libraries, and exclude the
8771 # DT_RUNPATH tag from executables and libraries. But doing so
8772 # requires that you compile everything twice, which is a pain.
8773 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8775 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8776 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8785 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_shlibpath_var=no
8792 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8793 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8794 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8801 if test "$ld_shlibs" = no; then
8803 hardcode_libdir_flag_spec=
8804 export_dynamic_flag_spec=
8805 whole_archive_flag_spec=
8808 # PORTME fill in a description of your system's linker (not GNU ld)
8811 allow_undefined_flag=unsupported
8812 always_export_symbols=yes
8813 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'
8814 # Note: this linker hardcodes the directories in LIBPATH if there
8815 # are no directories specified by -L.
8816 hardcode_minus_L=yes
8817 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8818 # Neither direct hardcoding nor static linking is supported with a
8820 hardcode_direct=unsupported
8825 if test "$host_cpu" = ia64; then
8826 # On IA64, the linker does run time linking by default, so we don't
8827 # have to do anything special.
8828 aix_use_runtimelinking=no
8829 exp_sym_flag='-Bexport'
8832 # If we're using GNU nm, then we don't want the "-C" option.
8833 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8834 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8835 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'
8837 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'
8839 aix_use_runtimelinking=no
8841 # Test if we are trying to use run time linking or normal
8842 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8843 # need to do runtime linking.
8844 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8845 for ld_flag in $LDFLAGS; do
8846 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8847 aix_use_runtimelinking=yes
8854 exp_sym_flag='-bexport'
8855 no_entry_flag='-bnoentry'
8858 # When large executables or shared objects are built, AIX ld can
8859 # have problems creating the table of contents. If linking a library
8860 # or program results in "error TOC overflow" add -mminimal-toc to
8861 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8862 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8866 hardcode_direct_absolute=yes
8867 hardcode_libdir_separator=':'
8868 link_all_deplibs=yes
8869 file_list_spec='${wl}-f,'
8871 if test "$GCC" = yes; then
8872 case $host_os in aix4.[012]|aix4.[012].*)
8873 # We only want to do this on AIX 4.2 and lower, the check
8874 # below for broken collect2 doesn't work under 4.3+
8875 collect2name=`${CC} -print-prog-name=collect2`
8876 if test -f "$collect2name" &&
8877 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8879 # We have reworked collect2
8882 # We have old collect2
8883 hardcode_direct=unsupported
8884 # It fails to find uninstalled libraries when the uninstalled
8885 # path is not listed in the libpath. Setting hardcode_minus_L
8886 # to unsupported forces relinking
8887 hardcode_minus_L=yes
8888 hardcode_libdir_flag_spec='-L$libdir'
8889 hardcode_libdir_separator=
8893 shared_flag='-shared'
8894 if test "$aix_use_runtimelinking" = yes; then
8895 shared_flag="$shared_flag "'${wl}-G'
8900 if test "$host_cpu" = ia64; then
8901 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8902 # chokes on -Wl,-G. The following line is correct:
8905 if test "$aix_use_runtimelinking" = yes; then
8906 shared_flag='${wl}-G'
8908 shared_flag='${wl}-bM:SRE'
8913 export_dynamic_flag_spec='${wl}-bexpall'
8914 # It seems that -bexpall does not export symbols beginning with
8915 # underscore (_), so it is better to generate a list of symbols to export.
8916 always_export_symbols=yes
8917 if test "$aix_use_runtimelinking" = yes; then
8918 # Warning - without using the other runtime loading flags (-brtl),
8919 # -berok will link without error, but may produce a broken library.
8920 allow_undefined_flag='-berok'
8921 # Determine the default libpath from the value encoded in an
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8934 if ac_fn_c_try_link "$LINENO"; then :
8936 lt_aix_libpath_sed='
8937 /Import File Strings/,/^$/ {
8943 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8944 # Check for a 64-bit object if we didn't find anything.
8945 if test -z "$aix_libpath"; then
8946 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8949 rm -f core conftest.err conftest.$ac_objext \
8950 conftest$ac_exeext conftest.$ac_ext
8951 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8953 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8954 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8956 if test "$host_cpu" = ia64; then
8957 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8958 allow_undefined_flag="-z nodefs"
8959 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"
8961 # Determine the default libpath from the value encoded in an
8963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8974 if ac_fn_c_try_link "$LINENO"; then :
8976 lt_aix_libpath_sed='
8977 /Import File Strings/,/^$/ {
8983 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8984 # Check for a 64-bit object if we didn't find anything.
8985 if test -z "$aix_libpath"; then
8986 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8993 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8994 # Warning - without using the other run time loading flags,
8995 # -berok will link without error, but may produce a broken library.
8996 no_undefined_flag=' ${wl}-bernotok'
8997 allow_undefined_flag=' ${wl}-berok'
8998 # Exported symbols can be pulled into shared objects from archives
8999 whole_archive_flag_spec='$convenience'
9000 archive_cmds_need_lc=yes
9001 # This is similar to how AIX traditionally builds its shared libraries.
9002 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'
9010 # see comment about AmigaOS4 .so support
9011 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012 archive_expsym_cmds=''
9015 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)'
9016 hardcode_libdir_flag_spec='-L$libdir'
9017 hardcode_minus_L=yes
9023 export_dynamic_flag_spec=-rdynamic
9026 cygwin* | mingw* | pw32* | cegcc*)
9027 # When not using gcc, we currently assume that we are using
9028 # Microsoft Visual C++.
9029 # hardcode_libdir_flag_spec is actually meaningless, as there is
9030 # no search path for DLLs.
9031 hardcode_libdir_flag_spec=' '
9032 allow_undefined_flag=unsupported
9033 # Tell ltmain to make .lib files, not .a files.
9035 # Tell ltmain to make .dll files, not .so files.
9037 # FIXME: Setting linknames here is a bad hack.
9038 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9039 # The linker will automatically build a .lib file if we build a DLL.
9040 old_archive_from_new_cmds='true'
9041 # FIXME: Should let the user specify the lib program.
9042 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9043 fix_srcfile_path='`cygpath -w "$srcfile"`'
9044 enable_shared_with_static_runtimes=yes
9047 darwin* | rhapsody*)
9050 archive_cmds_need_lc=no
9052 hardcode_automatic=yes
9053 hardcode_shlibpath_var=unsupported
9054 whole_archive_flag_spec=''
9055 link_all_deplibs=yes
9056 allow_undefined_flag="$_lt_dar_allow_undefined"
9057 case $cc_basename in
9058 ifort*) _lt_dar_can_shared=yes ;;
9059 *) _lt_dar_can_shared=$GCC ;;
9061 if test "$_lt_dar_can_shared" = "yes"; then
9062 output_verbose_link_cmd=echo
9063 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9064 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9065 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9066 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9076 hardcode_libdir_flag_spec='-L$libdir'
9077 hardcode_shlibpath_var=no
9084 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9085 # support. Future versions do this automatically, but an explicit c++rt0.o
9086 # does not break anything, and helps significantly (at the cost of a little
9089 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9090 hardcode_libdir_flag_spec='-R$libdir'
9092 hardcode_shlibpath_var=no
9095 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9097 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9099 hardcode_minus_L=yes
9100 hardcode_shlibpath_var=no
9103 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9104 freebsd* | dragonfly*)
9105 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9106 hardcode_libdir_flag_spec='-R$libdir'
9108 hardcode_shlibpath_var=no
9112 if test "$GCC" = yes; then
9113 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'
9115 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'
9117 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9118 hardcode_libdir_separator=:
9121 # hardcode_minus_L: Not really in the search PATH,
9122 # but as the default location of the library.
9123 hardcode_minus_L=yes
9124 export_dynamic_flag_spec='${wl}-E'
9128 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9129 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9131 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9133 if test "$with_gnu_ld" = no; then
9134 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9135 hardcode_libdir_flag_spec_ld='+b $libdir'
9136 hardcode_libdir_separator=:
9138 hardcode_direct_absolute=yes
9139 export_dynamic_flag_spec='${wl}-E'
9140 # hardcode_minus_L: Not really in the search PATH,
9141 # but as the default location of the library.
9142 hardcode_minus_L=yes
9147 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9150 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9156 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9165 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9172 if test "$with_gnu_ld" = no; then
9173 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9174 hardcode_libdir_separator=:
9179 hardcode_shlibpath_var=no
9183 hardcode_direct_absolute=yes
9184 export_dynamic_flag_spec='${wl}-E'
9186 # hardcode_minus_L: Not really in the search PATH,
9187 # but as the default location of the library.
9188 hardcode_minus_L=yes
9194 irix5* | irix6* | nonstopux*)
9195 if test "$GCC" = yes; then
9196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9197 # Try to use the -exported_symbol ld option, if it does not
9198 # work, assume that -exports_file does not work either and
9199 # implicitly export all symbols.
9200 save_LDFLAGS="$LDFLAGS"
9201 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LDFLAGS="$save_LDFLAGS"
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9215 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9217 archive_cmds_need_lc='no'
9218 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9219 hardcode_libdir_separator=:
9221 link_all_deplibs=yes
9224 netbsd* | netbsdelf*-gnu)
9225 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9226 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9228 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9230 hardcode_libdir_flag_spec='-R$libdir'
9232 hardcode_shlibpath_var=no
9236 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9239 hardcode_libdir_separator=:
9240 hardcode_shlibpath_var=no
9247 if test -f /usr/libexec/ld.so; then
9249 hardcode_shlibpath_var=no
9250 hardcode_direct_absolute=yes
9251 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9252 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9253 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9254 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9255 export_dynamic_flag_spec='${wl}-E'
9258 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9259 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9260 hardcode_libdir_flag_spec='-R$libdir'
9263 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9264 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9274 hardcode_libdir_flag_spec='-L$libdir'
9275 hardcode_minus_L=yes
9276 allow_undefined_flag=unsupported
9277 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'
9278 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9282 if test "$GCC" = yes; then
9283 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9284 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9286 allow_undefined_flag=' -expect_unresolved \*'
9287 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9289 archive_cmds_need_lc='no'
9290 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9291 hardcode_libdir_separator=:
9294 osf4* | osf5*) # as osf3* with the addition of -msym flag
9295 if test "$GCC" = yes; then
9296 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9297 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9300 allow_undefined_flag=' -expect_unresolved \*'
9301 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9302 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9303 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9305 # Both c and cxx compiler support -rpath directly
9306 hardcode_libdir_flag_spec='-rpath $libdir'
9308 archive_cmds_need_lc='no'
9309 hardcode_libdir_separator=:
9313 no_undefined_flag=' -z defs'
9314 if test "$GCC" = yes; then
9316 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9318 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9320 case `$CC -V 2>&1` in
9323 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9324 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9325 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9329 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9330 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9331 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9335 hardcode_libdir_flag_spec='-R$libdir'
9336 hardcode_shlibpath_var=no
9338 solaris2.[0-5] | solaris2.[0-5].*) ;;
9340 # The compiler driver will combine and reorder linker options,
9341 # but understands `-z linker_flag'. GCC discards it without `$wl',
9342 # but is careful enough not to reorder.
9343 # Supported since Solaris 2.6 (maybe 2.5.1?)
9344 if test "$GCC" = yes; then
9345 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9347 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9351 link_all_deplibs=yes
9355 if test "x$host_vendor" = xsequent; then
9356 # Use $CC to link under sequent, because it throws in some extra .o
9357 # files that make .init and .fini sections work.
9358 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9362 hardcode_libdir_flag_spec='-L$libdir'
9364 hardcode_minus_L=yes
9365 hardcode_shlibpath_var=no
9369 case $host_vendor in
9371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9372 hardcode_direct=yes # is this really true???
9375 ## LD is ld it makes a PLAMLIB
9376 ## CC just makes a GrossModule.
9377 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9378 reload_cmds='$CC -r -o $output$reload_objs'
9382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9383 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9386 runpath_var='LD_RUN_PATH'
9387 hardcode_shlibpath_var=no
9391 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9392 hardcode_shlibpath_var=no
9393 export_dynamic_flag_spec='-Bexport'
9397 if test -d /usr/nec; then
9398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9399 hardcode_shlibpath_var=no
9400 runpath_var=LD_RUN_PATH
9401 hardcode_runpath_var=yes
9406 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9407 no_undefined_flag='${wl}-z,text'
9408 archive_cmds_need_lc=no
9409 hardcode_shlibpath_var=no
9410 runpath_var='LD_RUN_PATH'
9412 if test "$GCC" = yes; then
9413 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9414 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9416 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9417 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9421 sysv5* | sco3.2v5* | sco5v6*)
9422 # Note: We can NOT use -z defs as we might desire, because we do not
9423 # link with -lc, and that would cause any symbols used from libc to
9424 # always be unresolved, which means just about no library would
9425 # ever link correctly. If we're not using GNU ld we use -z text
9426 # though, which does catch some bad symbols but isn't as heavy-handed
9428 no_undefined_flag='${wl}-z,text'
9429 allow_undefined_flag='${wl}-z,nodefs'
9430 archive_cmds_need_lc=no
9431 hardcode_shlibpath_var=no
9432 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9433 hardcode_libdir_separator=':'
9434 link_all_deplibs=yes
9435 export_dynamic_flag_spec='${wl}-Bexport'
9436 runpath_var='LD_RUN_PATH'
9438 if test "$GCC" = yes; then
9439 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9449 hardcode_libdir_flag_spec='-L$libdir'
9450 hardcode_shlibpath_var=no
9458 if test x$host_vendor = xsni; then
9460 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9461 export_dynamic_flag_spec='${wl}-Blargedynsym'
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9468 $as_echo "$ld_shlibs" >&6; }
9469 test "$ld_shlibs" = no && can_build_shared=no
9471 with_gnu_ld=$with_gnu_ld
9488 # Do we need to explicitly link libc?
9490 case "x$archive_cmds_need_lc" in
9492 # Assume -lc should be added
9493 archive_cmds_need_lc=yes
9495 if test "$enable_shared" = yes && test "$GCC" = yes; then
9496 case $archive_cmds in
9498 # FIXME: we may have to deal with multi-command sequences.
9501 # Test whether the compiler implicitly links with -lc since on some
9502 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9503 # to ld, don't add -lc before -lgcc.
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9505 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9507 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9509 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9510 (eval $ac_compile) 2>&5
9512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9513 test $ac_status = 0; } 2>conftest.err; then
9516 libobjs=conftest.$ac_objext
9518 wl=$lt_prog_compiler_wl
9519 pic_flag=$lt_prog_compiler_pic
9525 lt_save_allow_undefined_flag=$allow_undefined_flag
9526 allow_undefined_flag=
9527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9528 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9531 test $ac_status = 0; }
9533 archive_cmds_need_lc=no
9535 archive_cmds_need_lc=yes
9537 allow_undefined_flag=$lt_save_allow_undefined_flag
9539 cat conftest.err 1>&5
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9543 $as_echo "$archive_cmds_need_lc" >&6; }
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9707 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9709 if test "$GCC" = yes; then
9711 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9712 *) lt_awk_arg="/^libraries:/" ;;
9714 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9715 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9716 # if the path contains ";" then we assume it to be the separator
9717 # otherwise default to the standard path separator (i.e. ":") - it is
9718 # assumed that no part of a normal pathname contains ";" but that should
9719 # okay in the real world where ";" in dirpaths is itself problematic.
9720 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9722 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9724 # Ok, now we have the path, separated by spaces, we can step through it
9725 # and add multilib dir if necessary.
9726 lt_tmp_lt_search_path_spec=
9727 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9728 for lt_sys_path in $lt_search_path_spec; do
9729 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9730 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9732 test -d "$lt_sys_path" && \
9733 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9736 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9737 BEGIN {RS=" "; FS="/|\n";} {
9740 for (lt_i = NF; lt_i > 0; lt_i--) {
9741 if ($lt_i != "" && $lt_i != ".") {
9742 if ($lt_i == "..") {
9745 if (lt_count == 0) {
9746 lt_foo="/" $lt_i lt_foo;
9753 if (lt_foo != "") { lt_freq[lt_foo]++; }
9754 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9756 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9758 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9761 libname_spec='lib$name'
9769 shlibpath_overrides_runpath=unknown
9771 dynamic_linker="$host_os ld.so"
9772 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9773 need_lib_prefix=unknown
9774 hardcode_into_libs=no
9776 # when you set need_version to no, make sure it does not cause -set_version
9777 # flags to be left without arguments
9778 need_version=unknown
9783 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9784 shlibpath_var=LIBPATH
9786 # AIX 3 has no versioning support, so we append a major version to the name.
9787 soname_spec='${libname}${release}${shared_ext}$major'
9794 hardcode_into_libs=yes
9795 if test "$host_cpu" = ia64; then
9796 # AIX 5 supports IA64
9797 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9798 shlibpath_var=LD_LIBRARY_PATH
9800 # With GCC up to 2.95.x, collect2 would create an import file
9801 # for dependence libraries. The import file would start with
9802 # the line `#! .'. This would cause the generated library to
9803 # depend on `.', always an invalid library. This was fixed in
9804 # development snapshots of GCC prior to 3.0.
9806 aix4 | aix4.[01] | aix4.[01].*)
9807 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9809 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9816 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9817 # soname into executable. Probably we can add versioning support to
9818 # collect2, so additional links can be useful in future.
9819 if test "$aix_use_runtimelinking" = yes; then
9820 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9821 # instead of lib<name>.a to let people know that these are not
9822 # typical AIX shared libraries.
9823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9825 # We preserve .a as extension for shared libraries through AIX4.2
9826 # and later when we are not doing run time linking.
9827 library_names_spec='${libname}${release}.a $libname.a'
9828 soname_spec='${libname}${release}${shared_ext}$major'
9830 shlibpath_var=LIBPATH
9837 # Since July 2007 AmigaOS4 officially supports .so libraries.
9838 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842 library_names_spec='$libname.ixlibrary $libname.a'
9843 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9844 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'
9850 library_names_spec='${libname}${shared_ext}'
9851 dynamic_linker="$host_os ld.so"
9852 shlibpath_var=LIBRARY_PATH
9858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9859 soname_spec='${libname}${release}${shared_ext}$major'
9860 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9861 shlibpath_var=LD_LIBRARY_PATH
9862 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9863 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9864 # the default ld.so.conf also contains /usr/contrib/lib and
9865 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9866 # libtool to hard-code these into programs
9869 cygwin* | mingw* | pw32* | cegcc*)
9870 version_type=windows
9875 case $GCC,$host_os in
9876 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9877 library_names_spec='$libname.dll.a'
9878 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9879 postinstall_cmds='base_file=`basename \${file}`~
9880 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9881 dldir=$destdir/`dirname \$dlpath`~
9882 test -d \$dldir || mkdir -p \$dldir~
9883 $install_prog $dir/$dlname \$dldir/$dlname~
9884 chmod a+x \$dldir/$dlname~
9885 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9886 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9888 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9889 dlpath=$dir/\$dldll~
9891 shlibpath_overrides_runpath=yes
9895 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9896 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9897 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9900 # MinGW DLLs use traditional 'lib' prefix
9901 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9902 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9903 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9904 # It is most probably a Windows format PATH printed by
9905 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9906 # path with ; separators, and with drive letters. We can handle the
9907 # drive letters (cygwin fileutils understands them), so leave them,
9908 # especially as we might pass files found there to a mingw objdump,
9909 # which wouldn't understand a cygwinified path. Ahh.
9910 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9912 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9916 # pw32 DLLs use 'pw' prefix rather than 'lib'
9917 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9923 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9926 dynamic_linker='Win32 ld.exe'
9927 # FIXME: first we should search . and the directory the executable is in
9931 darwin* | rhapsody*)
9932 dynamic_linker="$host_os dyld"
9936 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9937 soname_spec='${libname}${release}${major}$shared_ext'
9938 shlibpath_overrides_runpath=yes
9939 shlibpath_var=DYLD_LIBRARY_PATH
9940 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9942 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9943 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9951 soname_spec='${libname}${release}${shared_ext}$major'
9952 shlibpath_var=LD_LIBRARY_PATH
9959 freebsd* | dragonfly*)
9960 # DragonFly does not have aout. When/if they implement a new
9961 # versioning mechanism, adjust this.
9962 if test -x /usr/bin/objformat; then
9963 objformat=`/usr/bin/objformat`
9966 freebsd[123]*) objformat=aout ;;
9970 version_type=freebsd-$objformat
9971 case $version_type in
9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9978 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9982 shlibpath_var=LD_LIBRARY_PATH
9985 shlibpath_overrides_runpath=yes
9987 freebsd3.[01]* | freebsdelf3.[01]*)
9988 shlibpath_overrides_runpath=yes
9989 hardcode_into_libs=yes
9991 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9992 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9993 shlibpath_overrides_runpath=no
9994 hardcode_into_libs=yes
9996 *) # from 4.6 on, and DragonFly
9997 shlibpath_overrides_runpath=yes
9998 hardcode_into_libs=yes
10007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10008 soname_spec='${libname}${release}${shared_ext}$major'
10009 shlibpath_var=LD_LIBRARY_PATH
10010 hardcode_into_libs=yes
10013 hpux9* | hpux10* | hpux11*)
10014 # Give a soname corresponding to the major version so that dld.sl refuses to
10015 # link against other versions.
10022 hardcode_into_libs=yes
10023 dynamic_linker="$host_os dld.so"
10024 shlibpath_var=LD_LIBRARY_PATH
10025 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10027 soname_spec='${libname}${release}${shared_ext}$major'
10028 if test "X$HPUX_IA64_MODE" = X32; then
10029 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10031 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10033 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10037 hardcode_into_libs=yes
10038 dynamic_linker="$host_os dld.sl"
10039 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10040 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10042 soname_spec='${libname}${release}${shared_ext}$major'
10043 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10044 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10048 dynamic_linker="$host_os dld.sl"
10049 shlibpath_var=SHLIB_PATH
10050 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10052 soname_spec='${libname}${release}${shared_ext}$major'
10055 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10056 postinstall_cmds='chmod 555 $lib'
10063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10064 soname_spec='${libname}${release}${shared_ext}$major'
10065 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10066 shlibpath_var=LD_LIBRARY_PATH
10067 shlibpath_overrides_runpath=no
10068 hardcode_into_libs=yes
10071 irix5* | irix6* | nonstopux*)
10073 nonstopux*) version_type=nonstopux ;;
10075 if test "$lt_cv_prog_gnu_ld" = yes; then
10083 soname_spec='${libname}${release}${shared_ext}$major'
10084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10086 irix5* | nonstopux*)
10087 libsuff= shlibsuff=
10090 case $LD in # libtool.m4 will add one of these switches to LD
10091 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10092 libsuff= shlibsuff= libmagic=32-bit;;
10093 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10094 libsuff=32 shlibsuff=N32 libmagic=N32;;
10095 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10096 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10097 *) libsuff= shlibsuff= libmagic=never-match;;
10101 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10102 shlibpath_overrides_runpath=no
10103 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10104 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10105 hardcode_into_libs=yes
10108 # No shared lib support for Linux oldld, aout, or coff.
10109 linux*oldld* | linux*aout* | linux*coff*)
10113 # This must be Linux ELF.
10114 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 soname_spec='${libname}${release}${shared_ext}$major'
10120 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10121 shlibpath_var=LD_LIBRARY_PATH
10122 shlibpath_overrides_runpath=no
10123 # Some binutils ld are patched to set DT_RUNPATH
10124 save_LDFLAGS=$LDFLAGS
10125 save_libdir=$libdir
10126 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10127 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10141 shlibpath_overrides_runpath=yes
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LDFLAGS=$save_LDFLAGS
10147 libdir=$save_libdir
10149 # This implies no fast_install, which is unacceptable.
10150 # Some rework will be needed to allow for fast_install
10151 # before this can be enabled.
10152 hardcode_into_libs=yes
10154 # Append ld.so.conf contents to the search path
10155 if test -f /etc/ld.so.conf; then
10156 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10157 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10160 # We used to test for /lib/ld.so.1 and disable shared libraries on
10161 # powerpc, because MkLinux only supported shared libraries with the
10162 # GNU dynamic linker. Since this was broken with cross compilers,
10163 # most powerpc-linux boxes support dynamic linking these days and
10164 # people can always --disable-shared, the test was removed, and we
10165 # assume the GNU/Linux dynamic linker is in use.
10166 dynamic_linker='GNU/Linux ld.so'
10173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10174 soname_spec='${libname}${release}${shared_ext}$major'
10175 shlibpath_var=LD_LIBRARY_PATH
10176 shlibpath_overrides_runpath=no
10177 hardcode_into_libs=yes
10178 dynamic_linker='NetBSD ld.elf_so'
10185 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10187 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10188 dynamic_linker='NetBSD (a.out) ld.so'
10190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10191 soname_spec='${libname}${release}${shared_ext}$major'
10192 dynamic_linker='NetBSD ld.elf_so'
10194 shlibpath_var=LD_LIBRARY_PATH
10195 shlibpath_overrides_runpath=yes
10196 hardcode_into_libs=yes
10201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10202 shlibpath_var=LD_LIBRARY_PATH
10203 shlibpath_overrides_runpath=yes
10210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10211 soname_spec='${libname}${release}${shared_ext}$major'
10212 shlibpath_var=LD_LIBRARY_PATH
10213 shlibpath_overrides_runpath=no
10214 hardcode_into_libs=yes
10215 dynamic_linker='ldqnx.so'
10220 sys_lib_dlsearch_path_spec="/usr/lib"
10222 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10224 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10225 *) need_version=no ;;
10227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10228 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10229 shlibpath_var=LD_LIBRARY_PATH
10230 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10232 openbsd2.[89] | openbsd2.[89].*)
10233 shlibpath_overrides_runpath=no
10236 shlibpath_overrides_runpath=yes
10240 shlibpath_overrides_runpath=yes
10245 libname_spec='$name'
10248 library_names_spec='$libname${shared_ext} $libname.a'
10249 dynamic_linker='OS/2 ld.exe'
10250 shlibpath_var=LIBPATH
10253 osf3* | osf4* | osf5*)
10257 soname_spec='${libname}${release}${shared_ext}$major'
10258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10259 shlibpath_var=LD_LIBRARY_PATH
10260 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10261 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10273 soname_spec='${libname}${release}${shared_ext}$major'
10274 shlibpath_var=LD_LIBRARY_PATH
10275 shlibpath_overrides_runpath=yes
10276 hardcode_into_libs=yes
10277 # ldd complains unless libraries are executable
10278 postinstall_cmds='chmod +x $lib'
10283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10284 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10285 shlibpath_var=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10287 if test "$with_gnu_ld" = yes; then
10295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10296 soname_spec='${libname}${release}${shared_ext}$major'
10297 shlibpath_var=LD_LIBRARY_PATH
10298 case $host_vendor in
10300 shlibpath_overrides_runpath=no
10302 runpath_var=LD_RUN_PATH
10310 shlibpath_overrides_runpath=no
10311 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10317 if test -d /usr/nec ;then
10319 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10320 soname_spec='$libname${shared_ext}.$major'
10321 shlibpath_var=LD_LIBRARY_PATH
10325 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10326 version_type=freebsd-elf
10329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10330 soname_spec='${libname}${release}${shared_ext}$major'
10331 shlibpath_var=LD_LIBRARY_PATH
10332 shlibpath_overrides_runpath=yes
10333 hardcode_into_libs=yes
10334 if test "$with_gnu_ld" = yes; then
10335 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10337 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10340 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10344 sys_lib_dlsearch_path_spec='/usr/lib'
10348 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10353 shlibpath_var=LD_LIBRARY_PATH
10354 shlibpath_overrides_runpath=no
10355 hardcode_into_libs=yes
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec='${libname}${release}${shared_ext}$major'
10362 shlibpath_var=LD_LIBRARY_PATH
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10370 $as_echo "$dynamic_linker" >&6; }
10371 test "$dynamic_linker" = no && can_build_shared=no
10373 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10374 if test "$GCC" = yes; then
10375 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10378 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10379 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10381 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10382 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10472 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10474 if test -n "$hardcode_libdir_flag_spec" ||
10475 test -n "$runpath_var" ||
10476 test "X$hardcode_automatic" = "Xyes" ; then
10478 # We can hardcode non-existent directories.
10479 if test "$hardcode_direct" != no &&
10480 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10481 # have to relink, otherwise we might link with an installed library
10482 # when we should be linking with a yet-to-be-installed one
10483 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10484 test "$hardcode_minus_L" != no; then
10485 # Linking always hardcodes the temporary library directory.
10486 hardcode_action=relink
10488 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10489 hardcode_action=immediate
10492 # We cannot hardcode anything, or else we can only hardcode existing
10494 hardcode_action=unsupported
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10497 $as_echo "$hardcode_action" >&6; }
10499 if test "$hardcode_action" = relink ||
10500 test "$inherit_rpath" = yes; then
10501 # Fast installation is not supported
10502 enable_fast_install=no
10503 elif test "$shlibpath_overrides_runpath" = yes ||
10504 test "$enable_shared" = no; then
10505 # Fast installation is not necessary
10506 enable_fast_install=needless
10514 if test "x$enable_dlopen" != xyes; then
10515 enable_dlopen=unknown
10516 enable_dlopen_self=unknown
10517 enable_dlopen_self_static=unknown
10524 lt_cv_dlopen="load_add_on"
10526 lt_cv_dlopen_self=yes
10529 mingw* | pw32* | cegcc*)
10530 lt_cv_dlopen="LoadLibrary"
10535 lt_cv_dlopen="dlopen"
10540 # if libdl is installed we need to link against it
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10542 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10543 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10544 $as_echo_n "(cached) " >&6
10546 ac_check_lib_save_LIBS=$LIBS
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 ac_cv_lib_dl_dlopen=yes
10569 ac_cv_lib_dl_dlopen=no
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_lib_save_LIBS
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10576 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10577 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10578 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10581 lt_cv_dlopen="dyld"
10583 lt_cv_dlopen_self=yes
10590 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10591 if test "x$ac_cv_func_shl_load" = x""yes; then :
10592 lt_cv_dlopen="shl_load"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10595 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10596 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10597 $as_echo_n "(cached) " >&6
10599 ac_check_lib_save_LIBS=$LIBS
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10604 /* Override any GCC internal prototype to avoid an error.
10605 Use char because int might match the return type of a GCC
10606 builtin and then its argument prototype would still apply. */
10614 return shl_load ();
10619 if ac_fn_c_try_link "$LINENO"; then :
10620 ac_cv_lib_dld_shl_load=yes
10622 ac_cv_lib_dld_shl_load=no
10624 rm -f core conftest.err conftest.$ac_objext \
10625 conftest$ac_exeext conftest.$ac_ext
10626 LIBS=$ac_check_lib_save_LIBS
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10629 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10630 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10631 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10633 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10634 if test "x$ac_cv_func_dlopen" = x""yes; then :
10635 lt_cv_dlopen="dlopen"
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10638 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10639 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10640 $as_echo_n "(cached) " >&6
10642 ac_check_lib_save_LIBS=$LIBS
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10647 /* Override any GCC internal prototype to avoid an error.
10648 Use char because int might match the return type of a GCC
10649 builtin and then its argument prototype would still apply. */
10662 if ac_fn_c_try_link "$LINENO"; then :
10663 ac_cv_lib_dl_dlopen=yes
10665 ac_cv_lib_dl_dlopen=no
10667 rm -f core conftest.err conftest.$ac_objext \
10668 conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_lib_save_LIBS
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10672 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10673 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10674 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10677 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10678 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10679 $as_echo_n "(cached) " >&6
10681 ac_check_lib_save_LIBS=$LIBS
10682 LIBS="-lsvld $LIBS"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 ac_cv_lib_svld_dlopen=yes
10704 ac_cv_lib_svld_dlopen=no
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10711 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10712 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10713 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10716 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10717 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10718 $as_echo_n "(cached) " >&6
10720 ac_check_lib_save_LIBS=$LIBS
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10735 return dld_link ();
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 ac_cv_lib_dld_dld_link=yes
10743 ac_cv_lib_dld_dld_link=no
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_lib_save_LIBS
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10750 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10751 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10752 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10773 if test "x$lt_cv_dlopen" != xno; then
10779 case $lt_cv_dlopen in
10781 save_CPPFLAGS="$CPPFLAGS"
10782 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10784 save_LDFLAGS="$LDFLAGS"
10785 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10788 LIBS="$lt_cv_dlopen_libs $LIBS"
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10791 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10792 if test "${lt_cv_dlopen_self+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10795 if test "$cross_compiling" = yes; then :
10796 lt_cv_dlopen_self=cross
10798 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10799 lt_status=$lt_dlunknown
10800 cat > conftest.$ac_ext <<_LT_EOF
10801 #line 10801 "configure"
10802 #include "confdefs.h"
10811 # define LT_DLGLOBAL RTLD_GLOBAL
10814 # define LT_DLGLOBAL DL_GLOBAL
10816 # define LT_DLGLOBAL 0
10820 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10821 find out it does not work in some platform. */
10822 #ifndef LT_DLLAZY_OR_NOW
10824 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10827 # define LT_DLLAZY_OR_NOW DL_LAZY
10830 # define LT_DLLAZY_OR_NOW RTLD_NOW
10833 # define LT_DLLAZY_OR_NOW DL_NOW
10835 # define LT_DLLAZY_OR_NOW 0
10842 void fnord() { int i=42;}
10845 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10846 int status = $lt_dlunknown;
10850 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10851 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10852 /* dlclose (self); */
10860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10861 (eval $ac_link) 2>&5
10863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10864 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10865 (./conftest; exit; ) >&5 2>/dev/null
10867 case x$lt_status in
10868 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10869 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10870 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10873 # compilation failed
10874 lt_cv_dlopen_self=no
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10882 $as_echo "$lt_cv_dlopen_self" >&6; }
10884 if test "x$lt_cv_dlopen_self" = xyes; then
10885 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10887 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10888 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10889 $as_echo_n "(cached) " >&6
10891 if test "$cross_compiling" = yes; then :
10892 lt_cv_dlopen_self_static=cross
10894 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10895 lt_status=$lt_dlunknown
10896 cat > conftest.$ac_ext <<_LT_EOF
10897 #line 10897 "configure"
10898 #include "confdefs.h"
10907 # define LT_DLGLOBAL RTLD_GLOBAL
10910 # define LT_DLGLOBAL DL_GLOBAL
10912 # define LT_DLGLOBAL 0
10916 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10917 find out it does not work in some platform. */
10918 #ifndef LT_DLLAZY_OR_NOW
10920 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10923 # define LT_DLLAZY_OR_NOW DL_LAZY
10926 # define LT_DLLAZY_OR_NOW RTLD_NOW
10929 # define LT_DLLAZY_OR_NOW DL_NOW
10931 # define LT_DLLAZY_OR_NOW 0
10938 void fnord() { int i=42;}
10941 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10942 int status = $lt_dlunknown;
10946 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10947 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10948 /* dlclose (self); */
10956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10957 (eval $ac_link) 2>&5
10959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10960 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10961 (./conftest; exit; ) >&5 2>/dev/null
10963 case x$lt_status in
10964 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10965 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10966 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10969 # compilation failed
10970 lt_cv_dlopen_self_static=no
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10978 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10981 CPPFLAGS="$save_CPPFLAGS"
10982 LDFLAGS="$save_LDFLAGS"
10987 case $lt_cv_dlopen_self in
10988 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10989 *) enable_dlopen_self=unknown ;;
10992 case $lt_cv_dlopen_self_static in
10993 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10994 *) enable_dlopen_self_static=unknown ;;
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11017 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11018 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11019 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11020 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11022 $as_echo "yes" >&6; }
11024 # FIXME - insert some real tests, host_os isn't really good enough
11027 if test -n "$STRIP" ; then
11028 striplib="$STRIP -x"
11029 old_striplib="$STRIP -S"
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11031 $as_echo "yes" >&6; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11039 $as_echo "no" >&6; }
11055 # Report which library types will actually be built
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11057 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11059 $as_echo "$can_build_shared" >&6; }
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11062 $as_echo_n "checking whether to build shared libraries... " >&6; }
11063 test "$can_build_shared" = "no" && enable_shared=no
11065 # On AIX, shared libraries and static libraries use the same namespace, and
11066 # are all built from PIC.
11069 test "$enable_shared" = yes && enable_static=no
11070 if test -n "$RANLIB"; then
11071 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11072 postinstall_cmds='$RANLIB $lib'
11077 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11078 test "$enable_shared" = yes && enable_static=no
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11083 $as_echo "$enable_shared" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11086 $as_echo_n "checking whether to build static libraries... " >&6; }
11087 # Make sure either enable_shared or enable_static is yes.
11088 test "$enable_shared" = yes || enable_static=yes
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11090 $as_echo "$enable_static" >&6; }
11097 ac_cpp='$CPP $CPPFLAGS'
11098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11116 ac_config_commands="$ac_config_commands libtool"
11121 # Only expand once:
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEN4ASM" >&5
11128 $as_echo_n "checking for GEN4ASM... " >&6; }
11130 if test -n "$GEN4ASM_CFLAGS"; then
11131 pkg_cv_GEN4ASM_CFLAGS="$GEN4ASM_CFLAGS"
11132 elif test -n "$PKG_CONFIG"; then
11133 if test -n "$PKG_CONFIG" && \
11134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"intel-gen4asm >= 1.1\""; } >&5
11135 ($PKG_CONFIG --exists --print-errors "intel-gen4asm >= 1.1") 2>&5
11137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11138 test $ac_status = 0; }; then
11139 pkg_cv_GEN4ASM_CFLAGS=`$PKG_CONFIG --cflags "intel-gen4asm >= 1.1" 2>/dev/null`
11146 if test -n "$GEN4ASM_LIBS"; then
11147 pkg_cv_GEN4ASM_LIBS="$GEN4ASM_LIBS"
11148 elif test -n "$PKG_CONFIG"; then
11149 if test -n "$PKG_CONFIG" && \
11150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"intel-gen4asm >= 1.1\""; } >&5
11151 ($PKG_CONFIG --exists --print-errors "intel-gen4asm >= 1.1") 2>&5
11153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11154 test $ac_status = 0; }; then
11155 pkg_cv_GEN4ASM_LIBS=`$PKG_CONFIG --libs "intel-gen4asm >= 1.1" 2>/dev/null`
11165 if test $pkg_failed = yes; then
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11170 _pkg_short_errors_supported=yes
11172 _pkg_short_errors_supported=no
11174 if test $_pkg_short_errors_supported = yes; then
11175 GEN4ASM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "intel-gen4asm >= 1.1" 2>&1`
11177 GEN4ASM_PKG_ERRORS=`$PKG_CONFIG --print-errors "intel-gen4asm >= 1.1" 2>&1`
11179 # Put the nasty error message in config.log where it belongs
11180 echo "$GEN4ASM_PKG_ERRORS" >&5
11183 elif test $pkg_failed = untried; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11185 $as_echo "no" >&6; }
11188 GEN4ASM_CFLAGS=$pkg_cv_GEN4ASM_CFLAGS
11189 GEN4ASM_LIBS=$pkg_cv_GEN4ASM_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11191 $as_echo "yes" >&6; }
11194 if test x$gen4asm = xyes; then
11196 HAVE_GEN4ASM_FALSE='#'
11198 HAVE_GEN4ASM_TRUE='#'
11199 HAVE_GEN4ASM_FALSE=
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
11206 $as_echo_n "checking for UDEV... " >&6; }
11208 if test -n "$UDEV_CFLAGS"; then
11209 pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
11210 elif test -n "$PKG_CONFIG"; then
11211 if test -n "$PKG_CONFIG" && \
11212 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
11213 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
11215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11216 test $ac_status = 0; }; then
11217 pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
11224 if test -n "$UDEV_LIBS"; then
11225 pkg_cv_UDEV_LIBS="$UDEV_LIBS"
11226 elif test -n "$PKG_CONFIG"; then
11227 if test -n "$PKG_CONFIG" && \
11228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
11229 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
11231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11232 test $ac_status = 0; }; then
11233 pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
11243 if test $pkg_failed = yes; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11245 $as_echo "no" >&6; }
11247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11248 _pkg_short_errors_supported=yes
11250 _pkg_short_errors_supported=no
11252 if test $_pkg_short_errors_supported = yes; then
11253 UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudev" 2>&1`
11255 UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudev" 2>&1`
11257 # Put the nasty error message in config.log where it belongs
11258 echo "$UDEV_PKG_ERRORS" >&5
11261 elif test $pkg_failed = untried; then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11263 $as_echo "no" >&6; }
11266 UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
11267 UDEV_LIBS=$pkg_cv_UDEV_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11269 $as_echo "yes" >&6; }
11272 if test x"$udev" = xyes; then
11274 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
11280 # Define a configure option for an alternate module directory
11282 # Check whether --with-xorg-module-dir was given.
11283 if test "${with_xorg_module_dir+set}" = set; then :
11284 withval=$with_xorg_module_dir; moduledir="$withval"
11286 moduledir="$libdir/xorg/modules"
11290 # Check whether --enable-dri was given.
11291 if test "${enable_dri+set}" = set; then :
11292 enableval=$enable_dri; DRI="$enableval"
11298 # Check whether --enable-xvmc was given.
11299 if test "${enable_xvmc+set}" = set; then :
11300 enableval=$enable_xvmc; XVMC="$enableval"
11306 # Check whether --enable-kms-only was given.
11307 if test "${enable_kms_only+set}" = set; then :
11308 enableval=$enable_kms_only; KMS_ONLY="$enableval"
11314 # Check whether --enable-debug was given.
11315 if test "${enable_debug+set}" = set; then :
11316 enableval=$enable_debug; DEBUG="$enableval"
11322 # Store the list of server defined optional extensions in REQUIRED_MODULES
11325 SAVE_CFLAGS="$CFLAGS"
11326 CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 #include "xorg-server.h"
11332 #error RANDR not defined
11343 if ac_fn_c_try_compile "$LINENO"; then :
11348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11349 CFLAGS="$SAVE_CFLAGS"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
11351 $as_echo_n "checking if RANDR is defined... " >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
11353 $as_echo "$_EXT_CHECK" >&6; }
11354 if test "$_EXT_CHECK" != no; then
11355 REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
11360 SAVE_CFLAGS="$CFLAGS"
11361 CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 #include "xorg-server.h"
11366 #if !defined RENDER
11367 #error RENDER not defined
11378 if ac_fn_c_try_compile "$LINENO"; then :
11383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11384 CFLAGS="$SAVE_CFLAGS"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
11386 $as_echo_n "checking if RENDER is defined... " >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
11388 $as_echo "$_EXT_CHECK" >&6; }
11389 if test "$_EXT_CHECK" != no; then
11390 REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
11395 SAVE_CFLAGS="$CFLAGS"
11396 CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 #include "xorg-server.h"
11401 #if !defined XF86DRI
11402 #error XF86DRI not defined
11413 if ac_fn_c_try_compile "$LINENO"; then :
11418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11419 CFLAGS="$SAVE_CFLAGS"
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XF86DRI is defined" >&5
11421 $as_echo_n "checking if XF86DRI is defined... " >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
11423 $as_echo "$_EXT_CHECK" >&6; }
11424 if test "$_EXT_CHECK" != no; then
11425 REQUIRED_MODULES="$REQUIRED_MODULES xextproto x11"
11430 SAVE_CFLAGS="$CFLAGS"
11431 CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 #include "xorg-server.h"
11436 #if !defined DPMSExtension
11437 #error DPMSExtension not defined
11448 if ac_fn_c_try_compile "$LINENO"; then :
11453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11454 CFLAGS="$SAVE_CFLAGS"
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
11456 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
11458 $as_echo "$_EXT_CHECK" >&6; }
11459 if test "$_EXT_CHECK" != no; then
11460 REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
11464 # Obtain compiler/linker options for the driver dependencies
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
11468 $as_echo_n "checking for XORG... " >&6; }
11470 if test -n "$XORG_CFLAGS"; then
11471 pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
11472 elif test -n "$PKG_CONFIG"; then
11473 if test -n "$PKG_CONFIG" && \
11474 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
11475 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES") 2>&5
11477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11478 test $ac_status = 0; }; then
11479 pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
11486 if test -n "$XORG_LIBS"; then
11487 pkg_cv_XORG_LIBS="$XORG_LIBS"
11488 elif test -n "$PKG_CONFIG"; then
11489 if test -n "$PKG_CONFIG" && \
11490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
11491 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES") 2>&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11494 test $ac_status = 0; }; then
11495 pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
11505 if test $pkg_failed = yes; then
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11507 $as_echo "no" >&6; }
11509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11510 _pkg_short_errors_supported=yes
11512 _pkg_short_errors_supported=no
11514 if test $_pkg_short_errors_supported = yes; then
11515 XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>&1`
11517 XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES" 2>&1`
11519 # Put the nasty error message in config.log where it belongs
11520 echo "$XORG_PKG_ERRORS" >&5
11522 as_fn_error $? "Package requirements (xorg-server >= 1.6 xproto fontsproto $REQUIRED_MODULES) were not met:
11526 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11527 installed software in a non-standard prefix.
11529 Alternatively, you may set the environment variables XORG_CFLAGS
11530 and XORG_LIBS to avoid the need to call pkg-config.
11531 See the pkg-config man page for more details." "$LINENO" 5
11532 elif test $pkg_failed = untried; then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11534 $as_echo "no" >&6; }
11535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11537 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11538 is in your PATH or set the PKG_CONFIG environment variable to the full
11539 path to pkg-config.
11541 Alternatively, you may set the environment variables XORG_CFLAGS
11542 and XORG_LIBS to avoid the need to call pkg-config.
11543 See the pkg-config man page for more details.
11545 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11546 See \`config.log' for more details" "$LINENO" 5 ; }
11548 XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
11549 XORG_LIBS=$pkg_cv_XORG_LIBS
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11551 $as_echo "yes" >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRM" >&5
11557 $as_echo_n "checking for DRM... " >&6; }
11559 if test -n "$DRM_CFLAGS"; then
11560 pkg_cv_DRM_CFLAGS="$DRM_CFLAGS"
11561 elif test -n "$PKG_CONFIG"; then
11562 if test -n "$PKG_CONFIG" && \
11563 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.23\""; } >&5
11564 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.23") 2>&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11567 test $ac_status = 0; }; then
11568 pkg_cv_DRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.23" 2>/dev/null`
11575 if test -n "$DRM_LIBS"; then
11576 pkg_cv_DRM_LIBS="$DRM_LIBS"
11577 elif test -n "$PKG_CONFIG"; then
11578 if test -n "$PKG_CONFIG" && \
11579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.23\""; } >&5
11580 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.23") 2>&5
11582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11583 test $ac_status = 0; }; then
11584 pkg_cv_DRM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.23" 2>/dev/null`
11594 if test $pkg_failed = yes; then
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11596 $as_echo "no" >&6; }
11598 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11599 _pkg_short_errors_supported=yes
11601 _pkg_short_errors_supported=no
11603 if test $_pkg_short_errors_supported = yes; then
11604 DRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.4.23" 2>&1`
11606 DRM_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.4.23" 2>&1`
11608 # Put the nasty error message in config.log where it belongs
11609 echo "$DRM_PKG_ERRORS" >&5
11611 as_fn_error $? "Package requirements (libdrm >= 2.4.23) were not met:
11615 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11616 installed software in a non-standard prefix.
11618 Alternatively, you may set the environment variables DRM_CFLAGS
11619 and DRM_LIBS to avoid the need to call pkg-config.
11620 See the pkg-config man page for more details." "$LINENO" 5
11621 elif test $pkg_failed = untried; then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11623 $as_echo "no" >&6; }
11624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11626 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11627 is in your PATH or set the PKG_CONFIG environment variable to the full
11628 path to pkg-config.
11630 Alternatively, you may set the environment variables DRM_CFLAGS
11631 and DRM_LIBS to avoid the need to call pkg-config.
11632 See the pkg-config man page for more details.
11634 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11635 See \`config.log' for more details" "$LINENO" 5 ; }
11637 DRM_CFLAGS=$pkg_cv_DRM_CFLAGS
11638 DRM_LIBS=$pkg_cv_DRM_LIBS
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11640 $as_echo "yes" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
11646 $as_echo_n "checking for PCIACCESS... " >&6; }
11648 if test -n "$PCIACCESS_CFLAGS"; then
11649 pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
11650 elif test -n "$PKG_CONFIG"; then
11651 if test -n "$PKG_CONFIG" && \
11652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
11653 ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
11655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11656 test $ac_status = 0; }; then
11657 pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
11664 if test -n "$PCIACCESS_LIBS"; then
11665 pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
11666 elif test -n "$PKG_CONFIG"; then
11667 if test -n "$PKG_CONFIG" && \
11668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
11669 ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; }; then
11673 pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
11683 if test $pkg_failed = yes; then
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11685 $as_echo "no" >&6; }
11687 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11688 _pkg_short_errors_supported=yes
11690 _pkg_short_errors_supported=no
11692 if test $_pkg_short_errors_supported = yes; then
11693 PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
11695 PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
11697 # Put the nasty error message in config.log where it belongs
11698 echo "$PCIACCESS_PKG_ERRORS" >&5
11700 as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
11702 $PCIACCESS_PKG_ERRORS
11704 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11705 installed software in a non-standard prefix.
11707 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
11708 and PCIACCESS_LIBS to avoid the need to call pkg-config.
11709 See the pkg-config man page for more details." "$LINENO" 5
11710 elif test $pkg_failed = untried; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712 $as_echo "no" >&6; }
11713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11715 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11716 is in your PATH or set the PKG_CONFIG environment variable to the full
11717 path to pkg-config.
11719 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
11720 and PCIACCESS_LIBS to avoid the need to call pkg-config.
11721 See the pkg-config man page for more details.
11723 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11724 See \`config.log' for more details" "$LINENO" 5 ; }
11726 PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
11727 PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11729 $as_echo "yes" >&6; }
11733 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
11735 save_CFLAGS="$CFLAGS"
11736 CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS"
11737 CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
11739 $as_echo_n "checking whether to include DRI support... " >&6; }
11740 if test x$DRI != xno; then
11741 as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
11743 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
11744 if eval "test \"\${$as_ac_File+set}\"" = set; then :
11745 $as_echo_n "(cached) " >&6
11747 test "$cross_compiling" = yes &&
11748 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
11749 if test -r "${sdkdir}/dri.h"; then
11750 eval "$as_ac_File=yes"
11752 eval "$as_ac_File=no"
11755 eval ac_res=\$$as_ac_File
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11757 $as_echo "$ac_res" >&6; }
11758 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
11764 as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
11766 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
11767 if eval "test \"\${$as_ac_File+set}\"" = set; then :
11768 $as_echo_n "(cached) " >&6
11770 test "$cross_compiling" = yes &&
11771 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
11772 if test -r "${sdkdir}/sarea.h"; then
11773 eval "$as_ac_File=yes"
11775 eval "$as_ac_File=no"
11778 eval ac_res=\$$as_ac_File
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11780 $as_echo "$ac_res" >&6; }
11781 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
11787 as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
11789 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
11790 if eval "test \"\${$as_ac_File+set}\"" = set; then :
11791 $as_echo_n "(cached) " >&6
11793 test "$cross_compiling" = yes &&
11794 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
11795 if test -r "${sdkdir}/dristruct.h"; then
11796 eval "$as_ac_File=yes"
11798 eval "$as_ac_File=no"
11801 eval ac_res=\$$as_ac_File
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11803 $as_echo "$ac_res" >&6; }
11804 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
11805 have_dristruct_h="yes"
11807 have_dristruct_h="no"
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
11812 $as_echo_n "checking whether to include DRI support... " >&6; }
11813 if test x$DRI = xauto; then
11814 if test "$have_dri_h" = yes -a \
11815 "$have_sarea_h" = yes -a \
11816 "$have_dristruct_h" = yes; then
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
11823 $as_echo "$DRI" >&6; }
11824 CFLAGS="$save_CFLAGS $DEBUGFLAGS"
11826 if test x$DRI = xyes; then
11834 if test "$DRI" = yes; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
11838 $as_echo_n "checking for DRI... " >&6; }
11840 if test -n "$DRI_CFLAGS"; then
11841 pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
11842 elif test -n "$PKG_CONFIG"; then
11843 if test -n "$PKG_CONFIG" && \
11844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86driproto\""; } >&5
11845 ($PKG_CONFIG --exists --print-errors "xf86driproto") 2>&5
11847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11848 test $ac_status = 0; }; then
11849 pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "xf86driproto" 2>/dev/null`
11856 if test -n "$DRI_LIBS"; then
11857 pkg_cv_DRI_LIBS="$DRI_LIBS"
11858 elif test -n "$PKG_CONFIG"; then
11859 if test -n "$PKG_CONFIG" && \
11860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86driproto\""; } >&5
11861 ($PKG_CONFIG --exists --print-errors "xf86driproto") 2>&5
11863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11864 test $ac_status = 0; }; then
11865 pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "xf86driproto" 2>/dev/null`
11875 if test $pkg_failed = yes; then
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11877 $as_echo "no" >&6; }
11879 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11880 _pkg_short_errors_supported=yes
11882 _pkg_short_errors_supported=no
11884 if test $_pkg_short_errors_supported = yes; then
11885 DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xf86driproto" 2>&1`
11887 DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "xf86driproto" 2>&1`
11889 # Put the nasty error message in config.log where it belongs
11890 echo "$DRI_PKG_ERRORS" >&5
11892 as_fn_error $? "Package requirements (xf86driproto) were not met:
11896 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11897 installed software in a non-standard prefix.
11899 Alternatively, you may set the environment variables DRI_CFLAGS
11900 and DRI_LIBS to avoid the need to call pkg-config.
11901 See the pkg-config man page for more details." "$LINENO" 5
11902 elif test $pkg_failed = untried; then
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904 $as_echo "no" >&6; }
11905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11907 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11908 is in your PATH or set the PKG_CONFIG environment variable to the full
11909 path to pkg-config.
11911 Alternatively, you may set the environment variables DRI_CFLAGS
11912 and DRI_LIBS to avoid the need to call pkg-config.
11913 See the pkg-config man page for more details.
11915 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11916 See \`config.log' for more details" "$LINENO" 5 ; }
11918 DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
11919 DRI_LIBS=$pkg_cv_DRI_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11921 $as_echo "yes" >&6; }
11925 $as_echo "#define XF86DRI 1" >>confdefs.h
11928 $as_echo "#define XF86DRI_DEVEL 1" >>confdefs.h
11932 if test "$XVMC" = yes; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVMCLIB" >&5
11936 $as_echo_n "checking for XVMCLIB... " >&6; }
11938 if test -n "$XVMCLIB_CFLAGS"; then
11939 pkg_cv_XVMCLIB_CFLAGS="$XVMCLIB_CFLAGS"
11940 elif test -n "$PKG_CONFIG"; then
11941 if test -n "$PKG_CONFIG" && \
11942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux\""; } >&5
11943 ($PKG_CONFIG --exists --print-errors "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux") 2>&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11946 test $ac_status = 0; }; then
11947 pkg_cv_XVMCLIB_CFLAGS=`$PKG_CONFIG --cflags "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux" 2>/dev/null`
11954 if test -n "$XVMCLIB_LIBS"; then
11955 pkg_cv_XVMCLIB_LIBS="$XVMCLIB_LIBS"
11956 elif test -n "$PKG_CONFIG"; then
11957 if test -n "$PKG_CONFIG" && \
11958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux\""; } >&5
11959 ($PKG_CONFIG --exists --print-errors "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux") 2>&5
11961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11962 test $ac_status = 0; }; then
11963 pkg_cv_XVMCLIB_LIBS=`$PKG_CONFIG --libs "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux" 2>/dev/null`
11973 if test $pkg_failed = yes; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11978 _pkg_short_errors_supported=yes
11980 _pkg_short_errors_supported=no
11982 if test $_pkg_short_errors_supported = yes; then
11983 XVMCLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux" 2>&1`
11985 XVMCLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xvmc xext xfixes dri2proto x11-xcb xcb-dri2 xcb-aux" 2>&1`
11987 # Put the nasty error message in config.log where it belongs
11988 echo "$XVMCLIB_PKG_ERRORS" >&5
11991 elif test $pkg_failed = untried; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11993 $as_echo "no" >&6; }
11996 XVMCLIB_CFLAGS=$pkg_cv_XVMCLIB_CFLAGS
11997 XVMCLIB_LIBS=$pkg_cv_XVMCLIB_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11999 $as_echo "yes" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XvMC support" >&5
12004 $as_echo_n "checking whether to include XvMC support... " >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XVMC" >&5
12006 $as_echo "$XVMC" >&6; }
12007 if test x$XVMC = xyes; then
12015 if test "x$XVMC" = xyes; then
12017 $as_echo "#define ENABLE_XVMC 1" >>confdefs.h
12021 if test x$KMS_ONLY = xyes; then
12029 if test "x$KMS_ONLY" = xyes; then
12031 $as_echo "#define KMS_ONLY 1" >>confdefs.h
12035 if test "x$DEBUG" = xno; then
12037 $as_echo "#define NDEBUG 1" >>confdefs.h
12045 ac_config_files="$ac_config_files Makefile uxa/Makefile src/Makefile src/xvmc/Makefile src/xvmc/shader/Makefile src/xvmc/shader/mc/Makefile src/xvmc/shader/vld/Makefile src/legacy/Makefile src/legacy/i810/Makefile src/legacy/i810/xvmc/Makefile man/Makefile src/render_program/Makefile"
12047 cat >confcache <<\_ACEOF
12048 # This file is a shell script that caches the results of configure
12049 # tests run on this system so they can be shared between configure
12050 # scripts and configure runs, see configure's option --config-cache.
12051 # It is not useful on other systems. If it contains results you don't
12052 # want to keep, you may remove or edit it.
12054 # config.status only pays attention to the cache file if you give it
12055 # the --recheck option to rerun configure.
12057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12059 # following values.
12063 # The following way of writing the cache mishandles newlines in values,
12064 # but we know of no workaround that is simple, portable, and efficient.
12065 # So, we kill variables containing newlines.
12066 # Ultrix sh set writes to stderr and can't be redirected directly,
12067 # and sets the high bit in the cache file unless we assign to the vars.
12069 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12070 eval ac_val=\$$ac_var
12074 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12075 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12078 _ | IFS | as_nl) ;; #(
12079 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12080 *) { eval $ac_var=; unset $ac_var;} ;;
12086 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12087 *${as_nl}ac_space=\ *)
12088 # `set' does not quote correctly, so add quotes: double-quote
12089 # substitution turns \\\\ into \\, and sed turns \\ into \.
12092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12095 # `set' quotes correctly as required by POSIX, so do not add quotes.
12096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12107 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12109 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12110 if test -w "$cache_file"; then
12111 test "x$cache_file" != "x/dev/null" &&
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12113 $as_echo "$as_me: updating cache $cache_file" >&6;}
12114 cat confcache >$cache_file
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12117 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12122 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12123 # Let make expand exec_prefix.
12124 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12126 DEFS=-DHAVE_CONFIG_H
12131 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12132 # 1. Remove the extension, and $U if already installed.
12133 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12134 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12136 # will be set to the directory where LIBOBJS objects are built.
12137 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12138 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12140 LIBOBJS=$ac_libobjs
12142 LTLIBOBJS=$ac_ltlibobjs
12145 if test -n "$EXEEXT"; then
12147 am__EXEEXT_FALSE='#'
12149 am__EXEEXT_TRUE='#'
12153 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12154 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12157 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12158 as_fn_error $? "conditional \"AMDEP\" was never defined.
12159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12161 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12162 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12165 if test -z "${HAVE_GEN4ASM_TRUE}" && test -z "${HAVE_GEN4ASM_FALSE}"; then
12166 as_fn_error $? "conditional \"HAVE_GEN4ASM\" was never defined.
12167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12169 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
12170 as_fn_error $? "conditional \"DRI\" was never defined.
12171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12173 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
12174 as_fn_error $? "conditional \"XVMC\" was never defined.
12175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12177 if test -z "${KMS_ONLY_TRUE}" && test -z "${KMS_ONLY_FALSE}"; then
12178 as_fn_error $? "conditional \"KMS_ONLY\" was never defined.
12179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12182 : ${CONFIG_STATUS=./config.status}
12184 ac_clean_files_save=$ac_clean_files
12185 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12187 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12189 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12191 # Generated by $as_me.
12192 # Run this file to recreate the current configuration.
12193 # Compiler output produced by configure, useful for debugging
12194 # configure, is in config.log if it exists.
12197 ac_cs_recheck=false
12200 SHELL=\${CONFIG_SHELL-$SHELL}
12203 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12204 ## -------------------- ##
12205 ## M4sh Initialization. ##
12206 ## -------------------- ##
12208 # Be more Bourne compatible
12209 DUALCASE=1; export DUALCASE # for MKS sh
12210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12213 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12214 # is contrary to our usage. Disable this feature.
12215 alias -g '${1+"$@"}'='"$@"'
12216 setopt NO_GLOB_SUBST
12218 case `(set -o) 2>/dev/null` in #(
12230 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12231 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12232 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12234 # Prefer a ksh shell builtin over an external printf program on Solaris,
12235 # but without wasting forks for bash or zsh.
12236 if test -z "$BASH_VERSION$ZSH_VERSION" \
12237 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12238 as_echo='print -r --'
12239 as_echo_n='print -rn --'
12240 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12241 as_echo='printf %s\n'
12242 as_echo_n='printf %s'
12244 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12245 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12246 as_echo_n='/usr/ucb/echo -n'
12248 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12249 as_echo_n_body='eval
12253 expr "X$arg" : "X\\(.*\\)$as_nl";
12254 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12256 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12258 export as_echo_n_body
12259 as_echo_n='sh -c $as_echo_n_body as_echo'
12261 export as_echo_body
12262 as_echo='sh -c $as_echo_body as_echo'
12265 # The user is always right.
12266 if test "${PATH_SEPARATOR+set}" != set; then
12268 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12269 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12276 # We need space, tab and new line, in precisely that order. Quoting is
12277 # there to prevent editors from complaining about space-tab.
12278 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12279 # splitting by setting IFS to empty value.)
12282 # Find who we are. Look in the path if we contain no directory separator.
12284 *[\\/]* ) as_myself=$0 ;;
12285 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12289 test -z "$as_dir" && as_dir=.
12290 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12296 # We did not find ourselves, most probably we were run as `sh COMMAND'
12297 # in which case we are not to be found in the path.
12298 if test "x$as_myself" = x; then
12301 if test ! -f "$as_myself"; then
12302 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12306 # Unset variables that we do not need and which cause bugs (e.g. in
12307 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12308 # suppresses any "Segmentation fault" message there. '((' could
12309 # trigger a bug in pdksh 5.2.14.
12310 for as_var in BASH_ENV ENV MAIL MAILPATH
12311 do eval test x\${$as_var+set} = xset \
12312 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12325 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12328 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12329 # ----------------------------------------
12330 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12331 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12332 # script with STATUS, using 1 if that was 0.
12335 as_status=$1; test $as_status -eq 0 && as_status=1
12337 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12338 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12340 $as_echo "$as_me: error: $2" >&2
12341 as_fn_exit $as_status
12345 # as_fn_set_status STATUS
12346 # -----------------------
12347 # Set $? to STATUS, without forking.
12348 as_fn_set_status ()
12351 } # as_fn_set_status
12353 # as_fn_exit STATUS
12354 # -----------------
12355 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12359 as_fn_set_status $1
12365 # Portably unset VAR.
12368 { eval $1=; unset $1;}
12370 as_unset=as_fn_unset
12371 # as_fn_append VAR VALUE
12372 # ----------------------
12373 # Append the text in VALUE to the end of the definition contained in VAR. Take
12374 # advantage of any shell optimizations that allow amortized linear growth over
12375 # repeated appends, instead of the typical quadratic growth present in naive
12377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12378 eval 'as_fn_append ()
12389 # as_fn_arith ARG...
12390 # ------------------
12391 # Perform arithmetic evaluation on the ARGs, and store the result in the
12392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12393 # must be portable across $(()) and expr.
12394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12395 eval 'as_fn_arith ()
12402 as_val=`expr "$@" || test $? -eq 1`
12407 if expr a : '\(a\)' >/dev/null 2>&1 &&
12408 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12414 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12415 as_basename=basename
12420 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12426 as_me=`$as_basename -- "$0" ||
12427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12428 X"$0" : 'X\(//\)$' \| \
12429 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12431 sed '/^.*\/\([^/][^/]*\)\/*$/{
12445 # Avoid depending upon Character Ranges.
12446 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12447 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12448 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12449 as_cr_digits='0123456789'
12450 as_cr_alnum=$as_cr_Letters$as_cr_digits
12452 ECHO_C= ECHO_N= ECHO_T=
12453 case `echo -n x` in #(((((
12455 case `echo 'xy\c'` in
12456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12465 rm -f conf$$ conf$$.exe conf$$.file
12466 if test -d conf$$.dir; then
12467 rm -f conf$$.dir/conf$$.file
12470 mkdir conf$$.dir 2>/dev/null
12472 if (echo >conf$$.file) 2>/dev/null; then
12473 if ln -s conf$$.file conf$$ 2>/dev/null; then
12475 # ... but there are two gotchas:
12476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12478 # In both cases, we have to default to `cp -p'.
12479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12481 elif ln conf$$.file conf$$ 2>/dev/null; then
12489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12490 rmdir conf$$.dir 2>/dev/null
12495 # Create "$as_dir" as a directory, including parents if necessary.
12500 -*) as_dir=./$as_dir;;
12502 test -d "$as_dir" || eval $as_mkdir_p || {
12506 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12507 *) as_qdir=$as_dir;;
12509 as_dirs="'$as_qdir' $as_dirs"
12510 as_dir=`$as_dirname -- "$as_dir" ||
12511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12512 X"$as_dir" : 'X\(//\)[^/]' \| \
12513 X"$as_dir" : 'X\(//\)$' \| \
12514 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12515 $as_echo X"$as_dir" |
12516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12520 /^X\(\/\/\)[^/].*/{
12533 test -d "$as_dir" && break
12535 test -z "$as_dirs" || eval "mkdir $as_dirs"
12536 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12540 if mkdir -p . 2>/dev/null; then
12541 as_mkdir_p='mkdir -p "$as_dir"'
12543 test -d ./-p && rmdir ./-p
12547 if test -x / >/dev/null 2>&1; then
12548 as_test_x='test -x'
12550 if ls -dL / >/dev/null 2>&1; then
12557 if test -d "$1"; then
12563 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12564 ???[sx]*):;;*)false;;esac;fi
12568 as_executable_p=$as_test_x
12570 # Sed expression to map a string onto a valid CPP name.
12571 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12573 # Sed expression to map a string onto a valid variable name.
12574 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12578 ## ----------------------------------- ##
12579 ## Main body of $CONFIG_STATUS script. ##
12580 ## ----------------------------------- ##
12582 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12585 # Save the log message, to keep $0 and so on meaningful, and to
12586 # report actual input values of CONFIG_FILES etc. instead of their
12587 # values after options handling.
12589 This file was extended by xf86-video-intel $as_me 2.15.0, which was
12590 generated by GNU Autoconf 2.67. Invocation command line was
12592 CONFIG_FILES = $CONFIG_FILES
12593 CONFIG_HEADERS = $CONFIG_HEADERS
12594 CONFIG_LINKS = $CONFIG_LINKS
12595 CONFIG_COMMANDS = $CONFIG_COMMANDS
12598 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12603 case $ac_config_files in *"
12604 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12607 case $ac_config_headers in *"
12608 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12613 # Files that config.status was made for.
12614 config_files="$ac_config_files"
12615 config_headers="$ac_config_headers"
12616 config_commands="$ac_config_commands"
12620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12622 \`$as_me' instantiates files and other configuration actions
12623 from templates according to the current configuration. Unless the files
12624 and actions are specified as TAGs, all are instantiated by default.
12626 Usage: $0 [OPTION]... [TAG]...
12628 -h, --help print this help, then exit
12629 -V, --version print version number and configuration settings, then exit
12630 --config print configuration, then exit
12631 -q, --quiet, --silent
12632 do not print progress messages
12633 -d, --debug don't remove temporary files
12634 --recheck update $as_me by reconfiguring in the same conditions
12635 --file=FILE[:TEMPLATE]
12636 instantiate the configuration file FILE
12637 --header=FILE[:TEMPLATE]
12638 instantiate the configuration header FILE
12640 Configuration files:
12643 Configuration headers:
12646 Configuration commands:
12649 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
12652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12653 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12655 xf86-video-intel config.status 2.15.0
12656 configured by $0, generated by GNU Autoconf 2.67,
12657 with options \\"\$ac_cs_config\\"
12659 Copyright (C) 2010 Free Software Foundation, Inc.
12660 This config.status script is free software; the Free Software Foundation
12661 gives unlimited permission to copy, distribute and modify it."
12668 test -n "\$AWK" || AWK=awk
12671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12672 # The default lists apply if the user does not specify any file.
12678 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12679 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12683 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12695 # Handling of the options.
12696 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12698 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12699 $as_echo "$ac_cs_version"; exit ;;
12700 --config | --confi | --conf | --con | --co | --c )
12701 $as_echo "$ac_cs_config"; exit ;;
12702 --debug | --debu | --deb | --de | --d | -d )
12704 --file | --fil | --fi | --f )
12707 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12708 '') as_fn_error $? "missing file argument" ;;
12710 as_fn_append CONFIG_FILES " '$ac_optarg'"
12711 ac_need_defaults=false;;
12712 --header | --heade | --head | --hea )
12715 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12717 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12718 ac_need_defaults=false;;
12720 # Conflict between --help and --header
12721 as_fn_error $? "ambiguous option: \`$1'
12722 Try \`$0 --help' for more information.";;
12723 --help | --hel | -h )
12724 $as_echo "$ac_cs_usage"; exit ;;
12725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12726 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12729 # This is an error.
12730 -*) as_fn_error $? "unrecognized option: \`$1'
12731 Try \`$0 --help' for more information." ;;
12733 *) as_fn_append ac_config_targets " $1"
12734 ac_need_defaults=false ;;
12740 ac_configure_extra_args=
12742 if $ac_cs_silent; then
12744 ac_configure_extra_args="$ac_configure_extra_args --silent"
12748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12749 if \$ac_cs_recheck; then
12750 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12752 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12753 CONFIG_SHELL='$SHELL'
12754 export CONFIG_SHELL
12759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12763 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12764 ## Running $as_me. ##
12770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12774 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12777 # The HP-UX ksh and POSIX shell print the target directory to stdout
12778 # if CDPATH is set.
12779 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12781 sed_quote_subst='$sed_quote_subst'
12782 double_quote_subst='$double_quote_subst'
12783 delay_variable_subst='$delay_variable_subst'
12784 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12785 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12786 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12787 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12788 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12789 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12790 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12791 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12792 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12793 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12794 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12795 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12796 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12797 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12798 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12799 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12800 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12801 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12802 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12803 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12804 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12805 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12806 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12807 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12808 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12809 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12810 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12811 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12812 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12813 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12814 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12815 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12816 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12817 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12818 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12819 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12820 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12821 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12822 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12823 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12824 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12825 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12826 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12827 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12828 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12829 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12830 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12831 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12832 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12833 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12834 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12835 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12836 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12837 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12838 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12839 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12840 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12841 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12842 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12843 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12844 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12845 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12846 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12847 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12848 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12849 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12850 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12851 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12852 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12853 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12854 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12855 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12856 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12857 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12858 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12859 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12860 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12861 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12862 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12863 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12864 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12865 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12866 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12867 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12868 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12869 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12870 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12871 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12872 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12873 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12874 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12875 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12876 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12877 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12878 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12879 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12880 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12881 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12882 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12883 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12884 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12885 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12886 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12887 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12888 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12889 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12890 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12891 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12892 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12893 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12894 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12895 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12896 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12897 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12898 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12899 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12900 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12901 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12904 LTCFLAGS='$LTCFLAGS'
12905 compiler='$compiler_DEFAULT'
12907 # Quote evaled strings.
12919 deplibs_check_method \
12928 lt_cv_sys_global_symbol_pipe \
12929 lt_cv_sys_global_symbol_to_cdecl \
12930 lt_cv_sys_global_symbol_to_c_name_address \
12931 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12934 lt_prog_compiler_no_builtin_flag \
12935 lt_prog_compiler_wl \
12936 lt_prog_compiler_pic \
12937 lt_prog_compiler_static \
12938 lt_cv_prog_compiler_c_o \
12946 export_dynamic_flag_spec \
12947 whole_archive_flag_spec \
12948 compiler_needs_object \
12950 allow_undefined_flag \
12951 no_undefined_flag \
12952 hardcode_libdir_flag_spec \
12953 hardcode_libdir_flag_spec_ld \
12954 hardcode_libdir_separator \
12959 variables_saved_for_relink \
12961 library_names_spec \
12966 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12967 *[\\\\\\\`\\"\\\$]*)
12968 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12971 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12976 # Double-quote double-evaled strings.
12977 for var in reload_cmds \
12978 old_postinstall_cmds \
12979 old_postuninstall_cmds \
12981 extract_expsyms_cmds \
12982 old_archive_from_new_cmds \
12983 old_archive_from_expsyms_cmds \
12985 archive_expsym_cmds \
12987 module_expsym_cmds \
12988 export_symbols_cmds \
12991 postuninstall_cmds \
12993 sys_lib_search_path_spec \
12994 sys_lib_dlsearch_path_spec; do
12995 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12996 *[\\\\\\\`\\"\\\$]*)
12997 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13000 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13005 # Fix-up fallback echo if it was mangled by the above quoting rules.
13007 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13011 ac_aux_dir='$ac_aux_dir'
13012 xsi_shell='$xsi_shell'
13013 lt_shell_append='$lt_shell_append'
13015 # See if we are running on zsh, and set the options which allow our
13016 # commands through without removal of \ escapes INIT.
13017 if test -n "\${ZSH_VERSION+set}" ; then
13018 setopt NO_GLOB_SUBST
13024 TIMESTAMP='$TIMESTAMP'
13033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13035 # Handling of arguments.
13036 for ac_config_target in $ac_config_targets
13038 case $ac_config_target in
13039 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13040 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13041 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13042 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13043 "uxa/Makefile") CONFIG_FILES="$CONFIG_FILES uxa/Makefile" ;;
13044 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13045 "src/xvmc/Makefile") CONFIG_FILES="$CONFIG_FILES src/xvmc/Makefile" ;;
13046 "src/xvmc/shader/Makefile") CONFIG_FILES="$CONFIG_FILES src/xvmc/shader/Makefile" ;;
13047 "src/xvmc/shader/mc/Makefile") CONFIG_FILES="$CONFIG_FILES src/xvmc/shader/mc/Makefile" ;;
13048 "src/xvmc/shader/vld/Makefile") CONFIG_FILES="$CONFIG_FILES src/xvmc/shader/vld/Makefile" ;;
13049 "src/legacy/Makefile") CONFIG_FILES="$CONFIG_FILES src/legacy/Makefile" ;;
13050 "src/legacy/i810/Makefile") CONFIG_FILES="$CONFIG_FILES src/legacy/i810/Makefile" ;;
13051 "src/legacy/i810/xvmc/Makefile") CONFIG_FILES="$CONFIG_FILES src/legacy/i810/xvmc/Makefile" ;;
13052 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13053 "src/render_program/Makefile") CONFIG_FILES="$CONFIG_FILES src/render_program/Makefile" ;;
13055 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13060 # If the user did not use the arguments to specify the items to instantiate,
13061 # then the envvar interface is used. Set only those that are not.
13062 # We use the long form for the default assignment because of an extremely
13063 # bizarre bug on SunOS 4.1.3.
13064 if $ac_need_defaults; then
13065 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13066 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13067 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13070 # Have a temporary directory for convenience. Make it in the build tree
13071 # simply because there is no reason against having it here, and in addition,
13072 # creating and moving files from /tmp can sometimes cause problems.
13073 # Hook for its removal unless debugging.
13074 # Note that there is a small window in which the directory will not be cleaned:
13075 # after its creation but before its name has been assigned to `$tmp'.
13079 trap 'exit_status=$?
13080 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13082 trap 'as_fn_exit 1' 1 2 13 15
13084 # Create a (secure) tmp directory for tmp files.
13087 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13088 test -n "$tmp" && test -d "$tmp"
13091 tmp=./conf$$-$RANDOM
13092 (umask 077 && mkdir "$tmp")
13093 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13095 # Set up the scripts for CONFIG_FILES section.
13096 # No need to generate them if there are no CONFIG_FILES.
13097 # This happens for instance with `./config.status config.h'.
13098 if test -n "$CONFIG_FILES"; then
13101 ac_cr=`echo X | tr X '\015'`
13102 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13103 # But we know of no other shell where ac_cr would be empty at this
13104 # point, so we can use a bashism as a fallback.
13105 if test "x$ac_cr" = x; then
13106 eval ac_cr=\$\'\\r\'
13108 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13109 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13112 ac_cs_awk_cr=$ac_cr
13115 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13120 echo "cat >conf$$subs.awk <<_ACEOF" &&
13121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13123 } >conf$$subs.sh ||
13124 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13125 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13127 for ac_last_try in false false false false false :; do
13128 . ./conf$$subs.sh ||
13129 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13131 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13132 if test $ac_delim_n = $ac_delim_num; then
13134 elif $ac_last_try; then
13135 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13140 rm -f conf$$subs.sh
13142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13143 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13147 s/^/S["/; s/!.*/"]=/
13157 s/\(.\{148\}\)..*/\1/
13159 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13164 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13171 s/\(.\{148\}\)..*/\1/
13173 s/["\\]/\\&/g; s/^/"/; s/$/"/
13177 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13182 ' <conf$$subs.awk | sed '
13187 ' >>$CONFIG_STATUS || ac_write_fail=1
13188 rm -f conf$$subs.awk
13189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13191 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13192 for (key in S) S_is_set[key] = 1
13198 nfields = split(line, field, "@")
13200 len = length(field[1])
13201 for (i = 2; i < nfields; i++) {
13203 keylen = length(key)
13204 if (S_is_set[key]) {
13206 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13207 len += length(value) + length(field[++i])
13218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13219 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13220 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13223 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13224 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13227 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13228 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13229 # trailing colons and then remove the whole line if VPATH becomes empty
13230 # (actually we leave an empty line to preserve line numbers).
13231 if test "x$srcdir" = x.; then
13232 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13251 fi # test -n "$CONFIG_FILES"
13253 # Set up the scripts for CONFIG_HEADERS section.
13254 # No need to generate them if there are no CONFIG_HEADERS.
13255 # This happens for instance with `./config.status Makefile'.
13256 if test -n "$CONFIG_HEADERS"; then
13257 cat >"$tmp/defines.awk" <<\_ACAWK ||
13261 # Transform confdefs.h into an awk script `defines.awk', embedded as
13262 # here-document in config.status, that substitutes the proper values into
13263 # config.h.in to produce config.h.
13265 # Create a delimiter string that does not exist in confdefs.h, to ease
13266 # handling of long lines.
13268 for ac_last_try in false false :; do
13269 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13270 if test -z "$ac_t"; then
13272 elif $ac_last_try; then
13273 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13275 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13279 # For the awk script, D is an array of macro values keyed by name,
13280 # likewise P contains macro parameters if any. Preserve backslash
13281 # newline sequences.
13283 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13285 s/.\{148\}/&'"$ac_delim"'/g
13288 s/^[ ]*#[ ]*define[ ][ ]*/ /
13295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13301 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13302 D["\1"]=" \3\\\\\\n"\\/p
13304 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13309 s/.\{148\}/&'"$ac_delim"'/g
13314 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13317 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13319 ' <confdefs.h | sed '
13320 s/'"$ac_delim"'/"\\\
13321 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13324 for (key in D) D_is_set[key] = 1
13327 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13329 split(line, arg, " ")
13330 if (arg[1] == "#") {
13334 defundef = substr(arg[1], 2)
13337 split(mac1, mac2, "(") #)
13339 prefix = substr(line, 1, index(line, defundef) - 1)
13340 if (D_is_set[macro]) {
13341 # Preserve the white space surrounding the "#".
13342 print prefix "define", macro P[macro] D[macro]
13345 # Replace #undef with comments. This is necessary, for example,
13346 # in the case of _POSIX_SOURCE, which is predefined and required
13347 # on some systems where configure will not decide to define it.
13348 if (defundef == "undef") {
13349 print "/*", prefix defundef, macro, "*/"
13357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13358 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13359 fi # test -n "$CONFIG_HEADERS"
13362 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13367 :[FHLC]) ac_mode=$ac_tag; continue;;
13369 case $ac_mode$ac_tag in
13371 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13372 :[FH]-) ac_tag=-:-;;
13373 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13390 -) ac_f="$tmp/stdin";;
13391 *) # Look for the file first in the build tree, then in the source tree
13392 # (if the path is not absolute). The absolute path cannot be DOS-style,
13393 # because $ac_f cannot contain `:'.
13397 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13399 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13401 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13402 as_fn_append ac_file_inputs " '$ac_f'"
13405 # Let's still pretend it is `configure' which instantiates (i.e., don't
13406 # use $as_me), people would be surprised to read:
13407 # /* config.h. Generated by config.status. */
13408 configure_input='Generated from '`
13409 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13411 if test x"$ac_file" != x-; then
13412 configure_input="$ac_file. $configure_input"
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13414 $as_echo "$as_me: creating $ac_file" >&6;}
13416 # Neutralize special characters interpreted by sed in replacement strings.
13417 case $configure_input in #(
13418 *\&* | *\|* | *\\* )
13419 ac_sed_conf_input=`$as_echo "$configure_input" |
13420 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13421 *) ac_sed_conf_input=$configure_input;;
13425 *:-:* | *:-) cat >"$tmp/stdin" \
13426 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13431 ac_dir=`$as_dirname -- "$ac_file" ||
13432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13433 X"$ac_file" : 'X\(//\)[^/]' \| \
13434 X"$ac_file" : 'X\(//\)$' \| \
13435 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13436 $as_echo X"$ac_file" |
13437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13441 /^X\(\/\/\)[^/].*/{
13454 as_dir="$ac_dir"; as_fn_mkdir_p
13458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13460 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13461 # A ".." for each directory in $ac_dir_suffix.
13462 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13463 case $ac_top_builddir_sub in
13464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13468 ac_abs_top_builddir=$ac_pwd
13469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13470 # for backward compatibility:
13471 ac_top_builddir=$ac_top_build_prefix
13474 .) # We are building in place.
13476 ac_top_srcdir=$ac_top_builddir_sub
13477 ac_abs_top_srcdir=$ac_pwd ;;
13478 [\\/]* | ?:[\\/]* ) # Absolute name.
13479 ac_srcdir=$srcdir$ac_dir_suffix;
13480 ac_top_srcdir=$srcdir
13481 ac_abs_top_srcdir=$srcdir ;;
13482 *) # Relative name.
13483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13484 ac_top_srcdir=$ac_top_build_prefix$srcdir
13485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13497 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13498 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13500 ac_MKDIR_P=$MKDIR_P
13502 [\\/$]* | ?:[\\/]* ) ;;
13503 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13508 # If the template does not know about datarootdir, expand it.
13509 # FIXME: This hack should be removed a few years after 2.60.
13510 ac_datarootdir_hack=; ac_datarootdir_seen=
13521 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13522 *datarootdir*) ac_datarootdir_seen=yes;;
13523 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13525 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13528 ac_datarootdir_hack='
13529 s&@datadir@&$datadir&g
13530 s&@docdir@&$docdir&g
13531 s&@infodir@&$infodir&g
13532 s&@localedir@&$localedir&g
13533 s&@mandir@&$mandir&g
13534 s&\\\${datarootdir}&$datarootdir&g' ;;
13538 # Neutralize VPATH when `$srcdir' = `.'.
13539 # Shell code in configure.ac might set extrasub.
13540 # FIXME: do we really want to maintain this feature?
13541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13542 ac_sed_extra="$ac_vpsub
13545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13547 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13548 s|@configure_input@|$ac_sed_conf_input|;t t
13549 s&@top_builddir@&$ac_top_builddir_sub&;t t
13550 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13551 s&@srcdir@&$ac_srcdir&;t t
13552 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13553 s&@top_srcdir@&$ac_top_srcdir&;t t
13554 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13555 s&@builddir@&$ac_builddir&;t t
13556 s&@abs_builddir@&$ac_abs_builddir&;t t
13557 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13558 s&@INSTALL@&$ac_INSTALL&;t t
13559 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13560 $ac_datarootdir_hack
13562 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13563 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13565 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13566 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13567 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13569 which seems to be undefined. Please make sure it is defined" >&5
13570 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13571 which seems to be undefined. Please make sure it is defined" >&2;}
13575 -) cat "$tmp/out" && rm -f "$tmp/out";;
13576 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13584 if test x"$ac_file" != x-; then
13586 $as_echo "/* $configure_input */" \
13587 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13588 } >"$tmp/config.h" \
13589 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13590 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13592 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13595 mv "$tmp/config.h" "$ac_file" \
13596 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13599 $as_echo "/* $configure_input */" \
13600 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13601 || as_fn_error $? "could not create -" "$LINENO" 5
13603 # Compute "$ac_file"'s index in $config_headers.
13606 for _am_header in $config_headers :; do
13607 case $_am_header in
13608 $_am_arg | $_am_arg:* )
13611 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13614 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13615 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13616 X"$_am_arg" : 'X\(//\)[^/]' \| \
13617 X"$_am_arg" : 'X\(//\)$' \| \
13618 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13619 $as_echo X"$_am_arg" |
13620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13624 /^X\(\/\/\)[^/].*/{
13636 s/.*/./; q'`/stamp-h$_am_stamp_count
13639 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13640 $as_echo "$as_me: executing $ac_file commands" >&6;}
13645 case $ac_file$ac_mode in
13646 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13647 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13648 # are listed without --file. Let's play safe and only enable the eval
13649 # if we detect the quoting.
13650 case $CONFIG_FILES in
13651 *\'*) eval set x "$CONFIG_FILES" ;;
13652 *) set x $CONFIG_FILES ;;
13657 # Strip MF so we end up with the name of the file.
13658 mf=`echo "$mf" | sed -e 's/:.*$//'`
13659 # Check whether this is an Automake generated Makefile or not.
13660 # We used to match only the files named `Makefile.in', but
13661 # some people rename them; so instead we look at the file content.
13662 # Grep'ing the first line is not enough: some people post-process
13663 # each Makefile.in and add a new line on top of each file to say so.
13664 # Grep'ing the whole file is not good either: AIX grep has a line
13665 # limit of 2048, but all sed's we know have understand at least 4000.
13666 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13667 dirpart=`$as_dirname -- "$mf" ||
13668 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13669 X"$mf" : 'X\(//\)[^/]' \| \
13670 X"$mf" : 'X\(//\)$' \| \
13671 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13677 /^X\(\/\/\)[^/].*/{
13693 # Extract the definition of DEPDIR, am__include, and am__quote
13694 # from the Makefile without running `make'.
13695 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13696 test -z "$DEPDIR" && continue
13697 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13698 test -z "am__include" && continue
13699 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13700 # When using ansi2knr, U may be empty or an underscore; expand it
13701 U=`sed -n 's/^U = //p' < "$mf"`
13702 # Find all dependency output files, they are included files with
13703 # $(DEPDIR) in their names. We invoke sed twice because it is the
13704 # simplest approach to changing $(DEPDIR) to its actual value in the
13706 for file in `sed -n "
13707 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13708 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13709 # Make sure the directory exists.
13710 test -f "$dirpart/$file" && continue
13711 fdir=`$as_dirname -- "$file" ||
13712 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13713 X"$file" : 'X\(//\)[^/]' \| \
13714 X"$file" : 'X\(//\)$' \| \
13715 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13716 $as_echo X"$file" |
13717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13721 /^X\(\/\/\)[^/].*/{
13734 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13735 # echo "creating $dirpart/$file"
13736 echo '# dummy' > "$dirpart/$file"
13743 # See if we are running on zsh, and set the options which allow our
13744 # commands through without removal of \ escapes.
13745 if test -n "${ZSH_VERSION+set}" ; then
13746 setopt NO_GLOB_SUBST
13749 cfgfile="${ofile}T"
13750 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13753 cat <<_LT_EOF >> "$cfgfile"
13756 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13757 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13758 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13759 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13761 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13762 # 2006, 2007, 2008 Free Software Foundation, Inc.
13763 # Written by Gordon Matzigkeit, 1996
13765 # This file is part of GNU Libtool.
13767 # GNU Libtool is free software; you can redistribute it and/or
13768 # modify it under the terms of the GNU General Public License as
13769 # published by the Free Software Foundation; either version 2 of
13770 # the License, or (at your option) any later version.
13772 # As a special exception to the GNU General Public License,
13773 # if you distribute this file as part of a program or library that
13774 # is built using GNU Libtool, you may include this file under the
13775 # same distribution terms that you use for the rest of that program.
13777 # GNU Libtool is distributed in the hope that it will be useful,
13778 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13779 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13780 # GNU General Public License for more details.
13782 # You should have received a copy of the GNU General Public License
13783 # along with GNU Libtool; see the file COPYING. If not, a copy
13784 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13785 # obtained by writing to the Free Software Foundation, Inc.,
13786 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13789 # The names of the tagged configurations supported by this script.
13792 # ### BEGIN LIBTOOL CONFIG
13794 # Which release of libtool.m4 was used?
13795 macro_version=$macro_version
13796 macro_revision=$macro_revision
13798 # Whether or not to build static libraries.
13799 build_old_libs=$enable_static
13801 # Whether or not to build shared libraries.
13802 build_libtool_libs=$enable_shared
13804 # What type of objects to build.
13807 # Whether or not to optimize for fast installation.
13808 fast_install=$enable_fast_install
13811 host_alias=$host_alias
13815 # The build system.
13816 build_alias=$build_alias
13820 # A sed program that does not truncate output.
13823 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13824 Xsed="\$SED -e 1s/^X//"
13826 # A grep program that handles long lines.
13832 # A literal string matcher.
13835 # A BSD- or MS-compatible name lister.
13838 # Whether we need soft or hard links.
13841 # What is the maximum length of a command?
13842 max_cmd_len=$max_cmd_len
13844 # Object file suffix (normally "o").
13847 # Executable file suffix (normally "").
13850 # whether the shell understands "unset".
13853 # turn spaces into newlines.
13856 # turn newlines into spaces.
13859 # How to create reloadable object files.
13860 reload_flag=$lt_reload_flag
13861 reload_cmds=$lt_reload_cmds
13863 # An object symbol dumper.
13864 OBJDUMP=$lt_OBJDUMP
13866 # Method to check whether dependent libraries are shared objects.
13867 deplibs_check_method=$lt_deplibs_check_method
13869 # Command to use when deplibs_check_method == "file_magic".
13870 file_magic_cmd=$lt_file_magic_cmd
13874 AR_FLAGS=$lt_AR_FLAGS
13876 # A symbol stripping program.
13879 # Commands used to install an old-style archive.
13881 old_postinstall_cmds=$lt_old_postinstall_cmds
13882 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13887 # LTCC compiler flags.
13888 LTCFLAGS=$lt_CFLAGS
13890 # Take the output of nm and produce a listing of raw symbols and C names.
13891 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13893 # Transform the output of nm in a proper C declaration.
13894 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13896 # Transform the output of nm in a C name address pair.
13897 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13899 # Transform the output of nm in a C name address pair when lib prefix is needed.
13900 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13902 # The name of the directory that contains temporary libtool files.
13905 # Shell to use when invoking shell scripts.
13908 # An echo program that does not interpret backslashes.
13911 # Used to examine libraries when file_magic_cmd begins with "file".
13912 MAGIC_CMD=$MAGIC_CMD
13914 # Must we lock files when doing compilation?
13915 need_locks=$lt_need_locks
13917 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13918 DSYMUTIL=$lt_DSYMUTIL
13920 # Tool to change global to local symbols on Mac OS X.
13923 # Tool to manipulate fat objects and archives on Mac OS X.
13926 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13929 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13930 OTOOL64=$lt_OTOOL64
13932 # Old archive suffix (normally "a").
13935 # Shared library suffix (normally ".so").
13936 shrext_cmds=$lt_shrext_cmds
13938 # The commands to extract the exported symbol list from a shared archive.
13939 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13941 # Variables whose values should be saved in libtool wrapper scripts and
13942 # restored at link time.
13943 variables_saved_for_relink=$lt_variables_saved_for_relink
13945 # Do we need the "lib" prefix for modules?
13946 need_lib_prefix=$need_lib_prefix
13948 # Do we need a version for libraries?
13949 need_version=$need_version
13951 # Library versioning type.
13952 version_type=$version_type
13954 # Shared library runtime path variable.
13955 runpath_var=$runpath_var
13957 # Shared library path variable.
13958 shlibpath_var=$shlibpath_var
13960 # Is shlibpath searched before the hard-coded library search path?
13961 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13963 # Format of library name prefix.
13964 libname_spec=$lt_libname_spec
13966 # List of archive names. First name is the real one, the rest are links.
13967 # The last name is the one that the linker finds with -lNAME
13968 library_names_spec=$lt_library_names_spec
13970 # The coded name of the library, if different from the real name.
13971 soname_spec=$lt_soname_spec
13973 # Command to use after installation of a shared archive.
13974 postinstall_cmds=$lt_postinstall_cmds
13976 # Command to use after uninstallation of a shared archive.
13977 postuninstall_cmds=$lt_postuninstall_cmds
13979 # Commands used to finish a libtool library installation in a directory.
13980 finish_cmds=$lt_finish_cmds
13982 # As "finish_cmds", except a single script fragment to be evaled but
13984 finish_eval=$lt_finish_eval
13986 # Whether we should hardcode library paths into libraries.
13987 hardcode_into_libs=$hardcode_into_libs
13989 # Compile-time system search path for libraries.
13990 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13992 # Run-time system search path for libraries.
13993 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13995 # Whether dlopen is supported.
13996 dlopen_support=$enable_dlopen
13998 # Whether dlopen of programs is supported.
13999 dlopen_self=$enable_dlopen_self
14001 # Whether dlopen of statically linked programs is supported.
14002 dlopen_self_static=$enable_dlopen_self_static
14004 # Commands to strip libraries.
14005 old_striplib=$lt_old_striplib
14006 striplib=$lt_striplib
14009 # The linker used to build libraries.
14012 # Commands used to build an old-style archive.
14013 old_archive_cmds=$lt_old_archive_cmds
14015 # A language specific compiler.
14018 # Is the compiler the GNU compiler?
14021 # Compiler flag to turn off builtin functions.
14022 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14024 # How to pass a linker flag through the compiler.
14025 wl=$lt_lt_prog_compiler_wl
14027 # Additional compiler flags for building library objects.
14028 pic_flag=$lt_lt_prog_compiler_pic
14030 # Compiler flag to prevent dynamic linking.
14031 link_static_flag=$lt_lt_prog_compiler_static
14033 # Does compiler simultaneously support -c and -o options?
14034 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14036 # Whether or not to add -lc for building shared libraries.
14037 build_libtool_need_lc=$archive_cmds_need_lc
14039 # Whether or not to disallow shared libs when runtime libs are static.
14040 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14042 # Compiler flag to allow reflexive dlopens.
14043 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14045 # Compiler flag to generate shared objects directly from archives.
14046 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14048 # Whether the compiler copes with passing no objects directly.
14049 compiler_needs_object=$lt_compiler_needs_object
14051 # Create an old-style archive from a shared archive.
14052 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14054 # Create a temporary old-style archive to link instead of a shared archive.
14055 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14057 # Commands used to build a shared archive.
14058 archive_cmds=$lt_archive_cmds
14059 archive_expsym_cmds=$lt_archive_expsym_cmds
14061 # Commands used to build a loadable module if different from building
14062 # a shared archive.
14063 module_cmds=$lt_module_cmds
14064 module_expsym_cmds=$lt_module_expsym_cmds
14066 # Whether we are building with GNU ld or not.
14067 with_gnu_ld=$lt_with_gnu_ld
14069 # Flag that allows shared libraries with undefined symbols to be built.
14070 allow_undefined_flag=$lt_allow_undefined_flag
14072 # Flag that enforces no undefined symbols.
14073 no_undefined_flag=$lt_no_undefined_flag
14075 # Flag to hardcode \$libdir into a binary during linking.
14076 # This must work even if \$libdir does not exist
14077 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14079 # If ld is used when linking, flag to hardcode \$libdir into a binary
14080 # during linking. This must work even if \$libdir does not exist.
14081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14083 # Whether we need a single "-rpath" flag with a separated argument.
14084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14087 # DIR into the resulting binary.
14088 hardcode_direct=$hardcode_direct
14090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14091 # DIR into the resulting binary and the resulting library dependency is
14092 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14093 # library is relocated.
14094 hardcode_direct_absolute=$hardcode_direct_absolute
14096 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14097 # into the resulting binary.
14098 hardcode_minus_L=$hardcode_minus_L
14100 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14101 # into the resulting binary.
14102 hardcode_shlibpath_var=$hardcode_shlibpath_var
14104 # Set to "yes" if building a shared library automatically hardcodes DIR
14105 # into the library and all subsequent libraries and executables linked
14107 hardcode_automatic=$hardcode_automatic
14109 # Set to yes if linker adds runtime paths of dependent libraries
14110 # to runtime path list.
14111 inherit_rpath=$inherit_rpath
14113 # Whether libtool must link a program against all its dependency libraries.
14114 link_all_deplibs=$link_all_deplibs
14116 # Fix the shell variable \$srcfile for the compiler.
14117 fix_srcfile_path=$lt_fix_srcfile_path
14119 # Set to "yes" if exported symbols are required.
14120 always_export_symbols=$always_export_symbols
14122 # The commands to list exported symbols.
14123 export_symbols_cmds=$lt_export_symbols_cmds
14125 # Symbols that should not be listed in the preloaded symbols.
14126 exclude_expsyms=$lt_exclude_expsyms
14128 # Symbols that must always be exported.
14129 include_expsyms=$lt_include_expsyms
14131 # Commands necessary for linking programs (against libraries) with templates.
14132 prelink_cmds=$lt_prelink_cmds
14134 # Specify filename containing input files.
14135 file_list_spec=$lt_file_list_spec
14137 # How to hardcode a shared library path into an executable.
14138 hardcode_action=$hardcode_action
14140 # ### END LIBTOOL CONFIG
14146 cat <<\_LT_EOF >> "$cfgfile"
14147 # AIX sometimes has problems with the GCC collect2 program. For some
14148 # reason, if we set the COLLECT_NAMES environment variable, the problems
14149 # vanish in a puff of smoke.
14150 if test "X${COLLECT_NAMES+set}" != Xset; then
14152 export COLLECT_NAMES
14159 ltmain="$ac_aux_dir/ltmain.sh"
14162 # We use sed instead of cat because bash on DJGPP gets confused if
14163 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14164 # text mode, it properly converts lines to CR/LF. This bash problem
14165 # is reportedly fixed, but why not run on old versions too?
14166 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14167 || (rm -f "$cfgfile"; exit 1)
14171 cat << \_LT_EOF >> "$cfgfile"
14173 # func_dirname file append nondir_replacement
14174 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14175 # otherwise set result to NONDIR_REPLACEMENT.
14179 */*) func_dirname_result="${1%/*}${2}" ;;
14180 * ) func_dirname_result="${3}" ;;
14184 # func_basename file
14187 func_basename_result="${1##*/}"
14190 # func_dirname_and_basename file append nondir_replacement
14191 # perform func_basename and func_dirname in a single function
14193 # dirname: Compute the dirname of FILE. If nonempty,
14194 # add APPEND to the result, otherwise set result
14195 # to NONDIR_REPLACEMENT.
14196 # value returned in "$func_dirname_result"
14197 # basename: Compute filename of FILE.
14198 # value retuned in "$func_basename_result"
14199 # Implementation must be kept synchronized with func_dirname
14200 # and func_basename. For efficiency, we do not delegate to
14201 # those functions but instead duplicate the functionality here.
14202 func_dirname_and_basename ()
14205 */*) func_dirname_result="${1%/*}${2}" ;;
14206 * ) func_dirname_result="${3}" ;;
14208 func_basename_result="${1##*/}"
14211 # func_stripname prefix suffix name
14212 # strip PREFIX and SUFFIX off of NAME.
14213 # PREFIX and SUFFIX must not contain globbing or regex special
14214 # characters, hashes, percent signs, but SUFFIX may contain a leading
14215 # dot (in which case that matches only a dot).
14218 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14219 # positional parameters, so assign one to ordinary parameter first.
14220 func_stripname_result=${3}
14221 func_stripname_result=${func_stripname_result#"${1}"}
14222 func_stripname_result=${func_stripname_result%"${2}"}
14228 func_opt_split_opt=${1%%=*}
14229 func_opt_split_arg=${1#*=}
14236 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14237 *) func_lo2o_result=${1} ;;
14241 # func_xform libobj-or-source
14244 func_xform_result=${1%.*}.lo
14247 # func_arith arithmetic-term...
14250 func_arith_result=$(( $* ))
14254 # STRING may not start with a hyphen.
14257 func_len_result=${#1}
14262 *) # Bourne compatible functions.
14263 cat << \_LT_EOF >> "$cfgfile"
14265 # func_dirname file append nondir_replacement
14266 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14267 # otherwise set result to NONDIR_REPLACEMENT.
14270 # Extract subdirectory from the argument.
14271 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14272 if test "X$func_dirname_result" = "X${1}"; then
14273 func_dirname_result="${3}"
14275 func_dirname_result="$func_dirname_result${2}"
14279 # func_basename file
14282 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14286 # func_stripname prefix suffix name
14287 # strip PREFIX and SUFFIX off of NAME.
14288 # PREFIX and SUFFIX must not contain globbing or regex special
14289 # characters, hashes, percent signs, but SUFFIX may contain a leading
14290 # dot (in which case that matches only a dot).
14291 # func_strip_suffix prefix name
14295 .*) func_stripname_result=`$ECHO "X${3}" \
14296 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14297 *) func_stripname_result=`$ECHO "X${3}" \
14298 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14303 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14304 my_sed_long_arg='1s/^-[^=]*=//'
14309 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14310 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14316 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14319 # func_xform libobj-or-source
14322 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14325 # func_arith arithmetic-term...
14328 func_arith_result=`expr "$@"`
14332 # STRING may not start with a hyphen.
14335 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14341 case $lt_shell_append in
14343 cat << \_LT_EOF >> "$cfgfile"
14345 # func_append var value
14346 # Append VALUE to the end of shell variable VAR.
14354 cat << \_LT_EOF >> "$cfgfile"
14356 # func_append var value
14357 # Append VALUE to the end of shell variable VAR.
14368 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14369 || (rm -f "$cfgfile"; exit 1)
14371 mv -f "$cfgfile" "$ofile" ||
14372 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14383 ac_clean_files=$ac_clean_files_save
14385 test $ac_write_fail = 0 ||
14386 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14389 # configure is writing to config.log, and then calls config.status.
14390 # config.status does its own redirection, appending to config.log.
14391 # Unfortunately, on DOS this fails, as config.log is still kept open
14392 # by configure, so config.status won't be able to write to it; its
14393 # output is simply discarded. So we exec the FD to /dev/null,
14394 # effectively closing config.log, so it can be properly (re)opened and
14395 # appended to by config.status. When coming back to configure, we
14396 # need to make the FD available again.
14397 if test "$no_create" != yes; then
14399 ac_config_status_args=
14400 test "$silent" = yes &&
14401 ac_config_status_args="$ac_config_status_args --quiet"
14403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14406 # would make configure fail if this is the last instruction.
14407 $ac_cs_success || as_fn_exit 1
14409 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14411 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}